diff --git a/chart-sdk/Release-Notes/v34.2.5.md b/chart-sdk/Release-Notes/v34.2.5.md deleted file mode 100644 index ca263ab14..000000000 --- a/chart-sdk/Release-Notes/v34.2.5.md +++ /dev/null @@ -1,81 +0,0 @@ ---- -title: Essential Studio® for Chart SDK Release Notes -description: Learn here about the controls in the Essential Studio® for Chart SDK Weekly Nuget Release - Release Notes -platform: Chart-sdk -documentation: ug ---- - -# Essential Studio® for Chart SDK - v34.2.5 Release Notes - -{% include release-info.html date="August 25, 2026" version="v34.2.5" passed="49385" failed="0" %} - -{% directory path: _includes/release-notes/Chart-sdk/Release-Notes/v34.2.5 %} - -{% include {{file.url}} %} - -{% enddirectory %} - -## Test Results - -| Component Name | Platform | Test Cases | Passed | Failed | Remarks | -|----------------|----------|------------|--------|--------|---------| -| Charts | Blazor | 6888 | 6888 | 0 | All Passed | -| Chart | Web(Javascript, Angular, React, Vue, ASP.NET Core & MVC) | 8557 | 8557 | 0 | All Passed | -| Charts | WPF | 1530 | 1530 | 0 | All Passed | -| Chart | Windows Forms | 964 | 964 | 0 | All Passed | -| 3DChart | Blazor | 376 | 376 | 0 | All Passed | -| 3D Chart | Web(Javascript, Angular, React, Vue, ASP.NET Core & MVC) | 326 | 326 | 0 | All Passed | -| 3D Circular Chart | Web(Javascript, Angular, React, Vue, ASP.NET Core & MVC) | 466 | 466 | 0 | All Passed | -| Circular Charts | .NET MAUI | 35 | 35 | 0 | All Passed | -| Circular Chart | Flutter | 544 | 544 | 0 | All Passed | -| StockChart | Blazor | 359 | 359 | 0 | All Passed | -| Stock Chart | Web(Javascript, Angular, React, Vue, ASP.NET Core & MVC) | 580 | 580 | 0 | All Passed | -| Sunburst Chart | WPF | 185 | 185 | 0 | All Passed | -| Sunburst Charts | .NET MAUI | 858 | 858 | 0 | All Passed | -| Pivot Chart | Windows Forms | 124 | 124 | 0 | All Passed | -| CircularGauge | Blazor | 1025 | 1025 | 0 | All Passed | -| CircularGauge | Web(Javascript, Angular, React, Vue, ASP.NET Core & MVC) | 532 | 532 | 0 | All Passed | -| Circular Gauge | WPF | 305 | 305 | 0 | All Passed | -| LinearGauge | Blazor | 802 | 802 | 0 | All Passed | -| LinearGauge | Web(Javascript, Angular, React, Vue, ASP.NET Core & MVC) | 428 | 428 | 0 | All Passed | -| Linear Gauge | WPF | 27 | 27 | 0 | All Passed | -| Linear Gauge | WinUI | 1184 | 1184 | 0 | All Passed | -| Linear Gauge | Windows Forms | 58 | 58 | 0 | All Passed | -| Lineaar Gauge | .NET MAUI | 668 | 668 | 0 | All Passed | -| Linear gauge | Flutter | 1293 | 1293 | 0 | All Passed | -| Radial Gauge | WinUI | 397 | 397 | 0 | All Passed | -| Radial Gauge | Windows Forms | 89 | 89 | 0 | All Passed | -| Radial Gauge | .NET MAUI | 583 | 583 | 0 | All Passed | -| Radial Gauge | Flutter | 3124 | 3124 | 0 | All Passed | -| Digital Gauge | Windows Forms | 7 | 7 | 0 | All Passed | -| Digital Gauge | .NET MAUI | 108 | 108 | 0 | All Passed | -| HeatMap | Blazor | 423 | 423 | 0 | All Passed | -| HeatMap Chart | Web(Javascript, Angular, React, Vue, ASP.NET Core & MVC) | 678 | 678 | 0 | All Passed | -| Maps | Blazor | 1796 | 1796 | 0 | All Passed | -| Maps | Web(Javascript, Angular, React, Vue, ASP.NET Core & MVC) | 1394 | 1394 | 0 | All Passed | -| Maps | WPF | 1679 | 1679 | 0 | All Passed | -| Maps | .NET MAUI | 1835 | 1835 | 0 | All Passed | -| Maps | Flutter | 427 | 427 | 0 | All Passed | -| RangeNavigator | Blazor | 220 | 220 | 0 | All Passed | -| RangeNavigator | Web(Javascript, Angular, React, Vue, ASP.NET Core & MVC) | 140 | 140 | 0 | All Passed | -| Range selector | .NET MAUI | 15 | 15 | 0 | All Passed | -| Range selector | Flutter | 331 | 331 | 0 | All Passed | -| SmithChart | Blazor | 260 | 260 | 0 | All Passed | -| SmithChart | Web(Javascript, Angular, React, Vue, ASP.NET Core & MVC) | 49 | 49 | 0 | All Passed | -| Smith Chart | WPF | 976 | 976 | 0 | All Passed | -| Sparkline | Blazor | 229 | 229 | 0 | All Passed | -| Sparkline | Web(Javascript, Angular, React, Vue, ASP.NET Core & MVC) | 58 | 58 | 0 | All Passed | -| Spark Line Chart | Flutter | 128 | 128 | 0 | All Passed | -| BarcodeGenerator | Blazor | 533 | 533 | 0 | All Passed | -| Barcode | WinUI | 293 | 293 | 0 | All Passed | -| Barcode Generator | .NET MAUI | 1763 | 1763 | 0 | All Passed | -| Barcode Generator | Flutter | 522 | 522 | 0 | All Passed | -| TreeMap | Blazor | 776 | 776 | 0 | All Passed | -| Treemap | Web(Javascript, Angular, React, Vue, ASP.NET Core & MVC) | 332 | 332 | 0 | All Passed | -| TreeMap | WPF | 744 | 744 | 0 | All Passed | -| TreeMap | .NET MAUI | 457 | 457 | 0 | All Passed | -| Treemap | Flutter | 198 | 198 | 0 | All Passed | -| Bulletchart | Blazor | 241 | 241 | 0 | All Passed | -| Bullet Chart | Web(Javascript, Angular, React, Vue, ASP.NET Core & MVC) | 169 | 169 | 0 | All Passed | -| DashboardLayout | Blazor | 266 | 266 | 0 | All Passed | -| Dashboard layout | Web(Javascript, Angular, React, Vue, ASP.NET Core & MVC) | 31 | 31 | 0 | All Passed | \ No newline at end of file diff --git a/chart-sdk/angular/3d-charts/accessibility.md b/chart-sdk/angular/3d-charts/accessibility.md index 6422d2449..894294404 100644 --- a/chart-sdk/angular/3d-charts/accessibility.md +++ b/chart-sdk/angular/3d-charts/accessibility.md @@ -1,6 +1,6 @@ --- layout: post -title: Accessibility in Angular 3D Chart | Syncfusion +title: Accessibility in Angular 3D Chart control | Syncfusion description: Learn here all about accessibility in Syncfusion Angular 3D Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: 3D Chart @@ -8,7 +8,7 @@ documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Accessibility in Angular 3D Chart +# Accessibility in Angular 3D Chart control Accessibility is achieved in the 3D chart control through WAI-ARIA standard and keyboard navigation. The 3D chart features can be effectively accessed through assistive technologies such as screen readers. diff --git a/chart-sdk/angular/3d-charts/appearance.md b/chart-sdk/angular/3d-charts/appearance.md index 01c562e6c..0c83f7971 100644 --- a/chart-sdk/angular/3d-charts/appearance.md +++ b/chart-sdk/angular/3d-charts/appearance.md @@ -8,11 +8,11 @@ documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Appearance in Angular 3D Chart +# Appearance in Angular 3D Chart control ## Custom color palette -The default color of series or points can be customized by providing a custom color palette of your choice by using the [`palettes`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/chart3DModel#palettes) property. +The default color of series or points can be customized by providing a custom color palette of your choice by using the [`palettes`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/chart3DModel/#palettes) property. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -32,7 +32,7 @@ The color of an individual data point can be customized using the below options. ### Point color mapping -The color for the points can be bound from the [`dataSource`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel#datasource) for the series by utilizing the [`pointColorMapping`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel#pointcolormapping) property. +The color for the points can be bound from the [`dataSource`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel/#datasource) for the series by utilizing the [`pointColorMapping`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel/#pointcolormapping) property. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -48,7 +48,7 @@ The color for the points can be bound from the [`dataSource`](https://ej2.syncfu ## Point level customization -The data label and fill color of each data point can be customized using the [`pointRender`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/i3DPointRenderEventArgs) and [`textRender`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/i3DTextRenderEventArgs) events. +The data label and fill color of each data point can be customized using the [`pointRender`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/i3DPointRenderEventArgs/) and [`textRender`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/i3DTextRenderEventArgs/) events. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -70,7 +70,7 @@ The data label and fill color of each data point can be customized using the [`p **Customize the chart background** -The background color and border of the 3D chart can be customized using the [`background`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/chart3DModel#background) and [`border`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/chart3DModel#border) properties. +The background color and border of the 3D chart can be customized using the [`background`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/chart3DModel/#background) and [`border`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/chart3DModel/#border) properties. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -86,7 +86,7 @@ The background color and border of the 3D chart can be customized using the [`ba **Chart margin** -The 3D chart's margin can be set from its container using the [`margin`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/chart3DModel#margin) property. +The 3D chart's margin can be set from its container using the [`margin`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/chart3DModel/#margin) property. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -102,7 +102,7 @@ The 3D chart's margin can be set from its container using the [`margin`](https:/ ## Animation -To customize the animation for a particular series, the [`animation`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel#animation) property can be used. It can be enabled or disabled by using the [`enable`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/animationModel#enable) property. The [`duration`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/animationModel#duration) property specifies the duration of an animation and the [`delay`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/animationModel#delay) property allows us to start the animation at desire time. +To customize the animation for a particular series, the [`animation`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel/#animation) property can be used. It can be enabled or disabled by using the [`enable`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/animationModel/#enable) property. The [`duration`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/animationModel/#duration) property specifies the duration of an animation and the [`delay`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/animationModel/#delay) property allows us to start the animation at desire time. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -118,7 +118,7 @@ To customize the animation for a particular series, the [`animation`](https://ej ## Chart rotation -The 3D chart can be rotated by using the [`enableRotation`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/chart3DModel#enablerotation) property. +The 3D chart can be rotated by using the [`enableRotation`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/chart3DModel/#enablerotation) property. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -134,7 +134,7 @@ The 3D chart can be rotated by using the [`enableRotation`](https://ej2.syncfusi ## Title -The 3D chart can be given a title by using [`title`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/chart3DModel#title) property, to show the information about the data plotted. +The 3D chart can be given a title by using [`title`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/chart3DModel/#title) property, to show the information about the data plotted. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -150,7 +150,7 @@ The 3D chart can be given a title by using [`title`](https://ej2.syncfusion.com/ ### Title position -By using the [`position`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/titleSettingsModel#position) property in [`titleStyle`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/chart3DModel#titlestyle), the [`title`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/chart3DModel#title) can be positioned at left, right, top or bottom of the 3D chart. The title is positioned at the top of the 3D chart, by default. +By using the [`position`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/titleSettingsModel/#position) property in [`titleStyle`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/chart3DModel/#titlestyle), the [`title`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/chart3DModel/#title) can be positioned at left, right, top or bottom of the 3D chart. The title is positioned at the top of the 3D chart, by default. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -164,7 +164,7 @@ By using the [`position`](https://ej2.syncfusion.com/angular/documentation/api/ {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/3d-charts/appearance/appearance-cs8" %} -The custom option is used to position the title anywhere in the 3D chart using [`x`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/titleSettingsModel#x) and [`y`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/titleSettingsModel#y) coordinates. +The custom option is used to position the title anywhere in the 3D chart using [`x`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/titleSettingsModel/#x) and [`y`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/titleSettingsModel/#y) coordinates. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -180,7 +180,7 @@ The custom option is used to position the title anywhere in the 3D chart using [ ### Title alignment -The title can be aligned to the near, far, or center of the 3D chart by using the [`textAlignment`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/titleSettingsModel#textalignment) property. +The title can be aligned to the near, far, or center of the 3D chart by using the [`textAlignment`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/titleSettingsModel/#textalignment) property. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -196,16 +196,16 @@ The title can be aligned to the near, far, or center of the 3D chart by using th ### Title customization -The [`titleStyle`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/chart3DModel#titlestyle) property of the 3D chart provides options to customize the title by using the following properties. +The [`titleStyle`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/chart3DModel/#titlestyle) property of the 3D chart provides options to customize the title by using the following properties. -* [`size`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/titleSettingsModel#size) - Specifies the size of the title. -* [`color`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/titleSettingsModel#color) - Specifies the color for the title. -* [`fontFamily`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/titleSettingsModel#fontfamily) - Specifies the font family for the title. -* [`fontWeight`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/titleSettingsModel#fontweight) - Specifies the font weight of the title. -* [`fontStyle`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/titleSettingsModel#fontstyle) - Specifies the font style for the title. -* [`opacity`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/titleSettingsModel#opacity) - Specifies the opacity for the color of the title. -* [`textAlignment`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/titleSettingsModel#textalignment) - Specifies the alignment of the title. -* [`textOverflow`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/titleSettingsModel#textoverflow) - Specifies the overflow of the title. +* [`size`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/titleSettingsModel/#size) - Specifies the size of the title. +* [`color`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/titleSettingsModel/#color) - Specifies the color for the title. +* [`fontFamily`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/titleSettingsModel/#fontfamily) - Specifies the font family for the title. +* [`fontWeight`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/titleSettingsModel/#fontweight) - Specifies the font weight of the title. +* [`fontStyle`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/titleSettingsModel/#fontstyle) - Specifies the font style for the title. +* [`opacity`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/titleSettingsModel/#opacity) - Specifies the opacity for the color of the title. +* [`textAlignment`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/titleSettingsModel/#textalignment) - Specifies the alignment of the title. +* [`textOverflow`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/titleSettingsModel/#textoverflow) - Specifies the overflow of the title. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} diff --git a/chart-sdk/angular/3d-charts/axis-customization.md b/chart-sdk/angular/3d-charts/axis-customization.md index 3b34b0810..0abd48397 100644 --- a/chart-sdk/angular/3d-charts/axis-customization.md +++ b/chart-sdk/angular/3d-charts/axis-customization.md @@ -1,6 +1,6 @@ --- layout: post -title: Axis Customization in Angular 3D Chart | Syncfusion +title: Axis customization in Angular 3D Chart control | Syncfusion description: Learn here all about axis customization in Syncfusion Angular 3D Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: 3D Chart @@ -8,11 +8,11 @@ documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Axis Customization in Angular 3D Chart control +# Axis customization in Angular 3D Chart control ## Title -The title for the axis can be added by using the [`title`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel#title) property. It helps to provide quick information to the user about the data plotted in the axis. Title style can be customized using [`titleStyle`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel#titlestyle) property of the axis. +The title for the axis can be added by using the [`title`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel/#title) property. It helps to provide quick information to the user about the data plotted in the axis. Title style can be customized using [`titleStyle`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel/#titlestyle) property of the axis. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -28,7 +28,7 @@ The title for the axis can be added by using the [`title`](https://ej2.syncfusio ## Title rotation -The title can be rotated from 0 to 360 degree by using the [`titleRotation`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel#titlerotation) property. +The title can be rotated from 0 to 360 degree by using the [`titleRotation`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel/#titlerotation) property. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -44,7 +44,7 @@ The title can be rotated from 0 to 360 degree by using the [`titleRotation`](htt ## Tick lines customization -The [`width`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/minorTickModel#width), [`color`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/minorTickModel#color) and [`height`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/minorTickModel#height) of the minor and major tick lines can be customized by using the [`majorTickLines`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel#majorticklines) and [`minorTickLines`](../api/chart3d/axis3D#https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel#minorticklines) properties in the axis. +The [`width`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/minorTickModel/#width), [`color`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/minorTickModel/#color) and [`height`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/minorTickModel/#height) of the minor and major tick lines can be customized by using the [`majorTickLines`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel/#majorticklines) and [`minorTickLines`](../api/chart3d/axis3D/#https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel/#minorticklines) properties in the axis. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -60,7 +60,7 @@ The [`width`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/minor ## Grid lines customization -The [`width`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/majorGridModel#width) and [`color`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/majorGridModel#color) of the minor and major grid lines can be customized by using the [`majorGridLines`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel#majorgridlines) and [`minorGridLines`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel#minorgridlines) properties in the axis. +The [`width`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/majorGridModel/#width) and [`color`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/majorGridModel/#color) of the minor and major grid lines can be customized by using the [`majorGridLines`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel/#majorgridlines) and [`minorGridLines`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel/#minorgridlines) properties in the axis. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -94,7 +94,7 @@ In addition to primary X and Y axis, n number of axis can be added to the chart. -When an axis is inversed, highest value of the axis comes closer to origin and vice versa. To place an axis in inversed manner, set the [`isInversed`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel#isinversed) property to **true**. +When an axis is inversed, highest value of the axis comes closer to origin and vice versa. To place an axis in inversed manner, set the [`isInversed`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel/#isinversed) property to **true**. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -110,7 +110,7 @@ When an axis is inversed, highest value of the axis comes closer to origin and v ## Opposed position -To place an axis opposite from its original position, set the [`opposedPosition`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel#opposedposition) property to **true**. +To place an axis opposite from its original position, set the [`opposedPosition`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel/#opposedposition) property to **true**. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} diff --git a/chart-sdk/angular/3d-charts/axis-labels.md b/chart-sdk/angular/3d-charts/axis-labels.md index c58b44f28..bbf4b3b1b 100644 --- a/chart-sdk/angular/3d-charts/axis-labels.md +++ b/chart-sdk/angular/3d-charts/axis-labels.md @@ -1,6 +1,6 @@ --- layout: post -title: Axis Labels in Angular 3D Chart | Syncfusion +title: Axis labels in Angular 3D Chart control | Syncfusion description: Learn here all about axis labels in Syncfusion Angular 3D Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: 3D Chart @@ -8,13 +8,13 @@ documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Axis Labels in Angular 3D Chart +# Axis labels in Angular 3D Chart control Axis labels are the labels that are positioned adjacent to the y-axis and beneath the x-axis. It provides descriptive information about the axis. ## Smart axis labels -When the axis labels overlap with each other, [`labelIntersectAction`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel#labelintersectaction) property in the axis can be used to place them smartly. +When the axis labels overlap with each other, [`labelIntersectAction`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel/#labelintersectaction) property in the axis can be used to place them smartly. **Case 1:** When setting `labelIntersectAction` as `Hide`. @@ -61,7 +61,7 @@ When the axis labels overlap with each other, [`labelIntersectAction`](https:// ## Edge label placement Labels with long text at the edges of an axis may appear partially in the 3D chart. To avoid this, -use the [`edgeLabelPlacement`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel#edgelabelplacement) property in axis, which moves the label inside the chart area for better appearance or hides it. +use the [`edgeLabelPlacement`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel/#edgelabelplacement) property in axis, which moves the label inside the chart area for better appearance or hides it. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -77,7 +77,7 @@ use the [`edgeLabelPlacement`](https://ej2.syncfusion.com/angular/documentation ## Maximum labels -The labels will be rendered based on the count in the [`maximumLabels`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel#maximumlabels) property per 100 pixel. If the range (minimum, maximum, interval) and `maximumLabels` are set, then the priority goes to range. If the range is not set, then the priority goes to `maximumLabels` property. +The labels will be rendered based on the count in the [`maximumLabels`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel/#maximumlabels) property per 100 pixel. If the range (minimum, maximum, interval) and `maximumLabels` are set, then the priority goes to range. If the range is not set, then the priority goes to `maximumLabels` property. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} diff --git a/chart-sdk/angular/3d-charts/category-axis.md b/chart-sdk/angular/3d-charts/category-axis.md index a3e3e23c0..00f27e569 100644 --- a/chart-sdk/angular/3d-charts/category-axis.md +++ b/chart-sdk/angular/3d-charts/category-axis.md @@ -1,6 +1,6 @@ --- layout: post -title: Category Axis in Angular 3D Chart control | Syncfusion +title: Category axis in Angular 3D Chart control | Syncfusion description: Learn here all about category axis in Syncfusion Angular 3D Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: 3D Chart @@ -8,7 +8,7 @@ documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Category Axis in Angular 3D Chart control +# Category axis in Angular 3D Chart control The category axis is the horizontal axis of a 3D chart that shows text values rather than numerical values. Compared to the vertical axis, this axis has fewer labels. The following sample shows to render the 3D chart using category axis. @@ -24,11 +24,11 @@ The category axis is the horizontal axis of a 3D chart that shows text values ra {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/3d-charts/category-axis/category-axis-cs1" %} ->Note: To use category axis, we need to inject `Category3DService` module into the `@NgModule.providers` and set the [`valueType`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel#valuetype) of axis to **Category**. +>Note: To use category axis, we need to inject `Category3DService` module into the `@NgModule.providers` and set the [`valueType`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel/#valuetype) of axis to **Category**. ## Range -The range of the category axis can be customized using [`minimum`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel#minimum), [`maximum`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel#maximum) and [`interval`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel#interval) properties of the axis. +The range of the category axis can be customized using [`minimum`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel/#minimum), [`maximum`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel/#maximum) and [`interval`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel/#interval) properties of the axis. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -44,7 +44,7 @@ The range of the category axis can be customized using [`minimum`](https://ej2.s ## Indexed category axis -The category axis can also be rendered based on the index values of the data source. This can be achieved by defining the [`isIndexed`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel#isindexed) property to **true** in the axis. +The category axis can also be rendered based on the index values of the data source. This can be achieved by defining the [`isIndexed`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel/#isindexed) property to **true** in the axis. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} diff --git a/chart-sdk/angular/3d-charts/chart-types/bar.md b/chart-sdk/angular/3d-charts/chart-types/bar.md index b98d9384f..6da19a537 100644 --- a/chart-sdk/angular/3d-charts/chart-types/bar.md +++ b/chart-sdk/angular/3d-charts/chart-types/bar.md @@ -1,6 +1,6 @@ --- layout: post -title: Bar Chart in Angular 3D Chart | Syncfusion +title: Bar Chart in Angular 3D Chart control | Syncfusion description: Learn here all about bar chart in Syncfusion Angular 3D Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: 3D Chart @@ -8,11 +8,11 @@ documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Bar Chart in Angular 3D Chart +# Bar Chart in Angular 3D Chart control ## Bar chart -To render a bar series, use series [`type`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel#type) as `Bar` and inject `BarSeries3DService` module into the `@NgModule.providers`. +To render a bar series, use series [`type`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel/#type) as `Bar` and inject `BarSeries3DService` module into the `@NgModule.providers`. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -28,7 +28,7 @@ To render a bar series, use series [`type`](https://ej2.syncfusion.com/angular/d ## Bar space and width -The [`columnSpacing`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel#columnspacing) and [`columnWidth`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel#columnwidth) properties are used to customize the space between bars. +The [`columnSpacing`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel/#columnspacing) and [`columnWidth`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel/#columnwidth) properties are used to customize the space between bars. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -44,7 +44,7 @@ The [`columnSpacing`](https://ej2.syncfusion.com/angular/documentation/api/chart ## Grouped bar -The data points can be grouped in the bar type charts by using the [`groupName`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel#groupname) property. Data points with same group name are grouped together. +The data points can be grouped in the bar type charts by using the [`groupName`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel/#groupname) property. Data points with same group name are grouped together. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -60,7 +60,7 @@ The data points can be grouped in the bar type charts by using the [`groupName`] ## Cylindrical bar chart -To render a cylindrical bar chart, set the [`columnFacet`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel#columnfacet) property to `Cylinder` in the chart series. +To render a cylindrical bar chart, set the [`columnFacet`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel/#columnfacet) property to `Cylinder` in the chart series. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -78,8 +78,8 @@ To render a cylindrical bar chart, set the [`columnFacet`](https://ej2.syncfusio The following properties can be used to customize the `bar` series. -* [fill](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel#fill) – Specifies the color of the series. -* [opacity](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel#opacity) – Specifies the opacity of the [fill](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel#fill) color. +* [fill](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel/#fill) – Specifies the color of the series. +* [opacity](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel/#opacity) – Specifies the opacity of the [fill](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel/#fill) color. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} diff --git a/chart-sdk/angular/3d-charts/chart-types/column.md b/chart-sdk/angular/3d-charts/chart-types/column.md index f6c9fec52..3e6cab7f6 100644 --- a/chart-sdk/angular/3d-charts/chart-types/column.md +++ b/chart-sdk/angular/3d-charts/chart-types/column.md @@ -1,6 +1,6 @@ --- layout: post -title: Column Chart in Angular 3D Chart | Syncfusion +title: Column Chart in Angular 3D Chart control | Syncfusion description: Learn here all about column chart in Syncfusion Angular 3D Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: 3D Chart @@ -8,11 +8,11 @@ documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Column Chart in Angular 3D Chart +# Column Chart in Angular 3D Chart control ## Column chart -To render a column series, use series [`type`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel#type) as `Column` and inject `ColumnSeries3DService` module into the `@NgModule.providers`. +To render a column series, use series [`type`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel/#type) as `Column` and inject `ColumnSeries3DService` module into the `@NgModule.providers`. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -28,7 +28,7 @@ To render a column series, use series [`type`](https://ej2.syncfusion.com/angula ## Column space and width -The [`columnSpacing`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel#columnspacing) and [`columnWidth`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel#columnwidth) properties are used to customize the space between columns. +The [`columnSpacing`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel/#columnspacing) and [`columnWidth`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel/#columnwidth) properties are used to customize the space between columns. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -44,7 +44,7 @@ The [`columnSpacing`](https://ej2.syncfusion.com/angular/documentation/api/chart ## Grouped column -The data points can be grouped in the column type charts by using the [`groupName`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel#groupname) property. Data points with same group name are grouped together. +The data points can be grouped in the column type charts by using the [`groupName`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel/#groupname) property. Data points with same group name are grouped together. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -60,7 +60,7 @@ The data points can be grouped in the column type charts by using the [`groupNam ## Cylindrical column chart -To render a cylindrical column chart, set the [`columnFacet`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel#columnfacet) property to `Cylinder` in the chart series. +To render a cylindrical column chart, set the [`columnFacet`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel/#columnfacet) property to `Cylinder` in the chart series. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -78,8 +78,8 @@ To render a cylindrical column chart, set the [`columnFacet`](https://ej2.syncfu The following properties can be used to customize the `column` series. -* [fill](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel#fill) – Specifies the color of the series. -* [opacity](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel#opacity) – Specifies the opacity of the [fill](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel#fill) color. +* [fill](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel/#fill) – Specifies the color of the series. +* [opacity](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel/#opacity) – Specifies the opacity of the [fill](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel/#fill) color. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} diff --git a/chart-sdk/angular/3d-charts/chart-types/stack-bar.md b/chart-sdk/angular/3d-charts/chart-types/stack-bar.md index d4032a2ac..d40919433 100644 --- a/chart-sdk/angular/3d-charts/chart-types/stack-bar.md +++ b/chart-sdk/angular/3d-charts/chart-types/stack-bar.md @@ -1,6 +1,6 @@ --- layout: post -title: Stacked Bar Chart in Angular 3D Chart | Syncfusion +title: Stacked Bar Chart in Angular 3D Chart control | Syncfusion description: Learn here all about stacked bar chart in Syncfusion Angular 3D Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: 3D Chart @@ -8,11 +8,11 @@ documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Stacked Bar Chart in Angular 3D Chart +# Stacked bar chart in Angular 3D Chart control ## Stacked bar chart -To render a stacked bar series, use series [`type`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel#type) as `StackingBar` and inject `StackingBarSeries3DService` module into the `@NgModule.providers`. +To render a stacked bar series, use series [`type`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel/#type) as `StackingBar` and inject `StackingBarSeries3DService` module into the `@NgModule.providers`. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -28,7 +28,7 @@ To render a stacked bar series, use series [`type`](https://ej2.syncfusion.com/a ## Stacking group -To group the stacked bar, the [`stackingGroup`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel#stackinggroup) property can be used. The columns with same group name are stacked on top of each other. +To group the stacked bar, the [`stackingGroup`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel/#stackinggroup) property can be used. The columns with same group name are stacked on top of each other. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -44,7 +44,7 @@ To group the stacked bar, the [`stackingGroup`](https://ej2.syncfusion.com/angul ## Cylindrical stacked bar chart -To render a cylindrical stacked bar chart, set the [`columnFacet`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel#columnfacet) property to `Cylinder` in the chart series. +To render a cylindrical stacked bar chart, set the [`columnFacet`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel/#columnfacet) property to `Cylinder` in the chart series. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -62,8 +62,8 @@ To render a cylindrical stacked bar chart, set the [`columnFacet`](https://ej2.s The following properties can be used to customize the `stacked bar` series. -* [fill](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel#fill) – Specifies the color of the series. -* [opacity](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel#opacity) – Specifies the opacity of the [fill](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel#fill) color. +* [fill](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel/#fill) – Specifies the color of the series. +* [opacity](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel/#opacity) – Specifies the opacity of the [fill](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel/#fill) color. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} diff --git a/chart-sdk/angular/3d-charts/chart-types/stack-column.md b/chart-sdk/angular/3d-charts/chart-types/stack-column.md index c649ffa1e..6445a9d28 100644 --- a/chart-sdk/angular/3d-charts/chart-types/stack-column.md +++ b/chart-sdk/angular/3d-charts/chart-types/stack-column.md @@ -1,6 +1,6 @@ --- layout: post -title: Stacked Column Chart in Angular 3D Chart | Syncfusion +title: Stacked Column Chart in Angular 3D Chart control | Syncfusion description: Learn here all about stacked column chart in Syncfusion Angular 3D Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: 3D Chart @@ -8,11 +8,11 @@ documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Stacked Column Chart in Angular 3D Chart +# Stacked column chart in Angular 3D Chart control ## Stacked column chart -To render a stacked column series, use series [`type`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel#type) as `StackingColumn` and inject `StackingColumnSeries3DService` module into the `@NgModule.providers`. +To render a stacked column series, use series [`type`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel/#type) as `StackingColumn` and inject `StackingColumnSeries3DService` module into the `@NgModule.providers`. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -28,7 +28,7 @@ To render a stacked column series, use series [`type`](https://ej2.syncfusion.co ## Stacking group -To group the stacked column, the [`stackingGroup`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel#stackinggroup) property can be used. The columns with same group name are stacked on top of each other. +To group the stacked column, the [`stackingGroup`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel/#stackinggroup) property can be used. The columns with same group name are stacked on top of each other. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -44,7 +44,7 @@ To group the stacked column, the [`stackingGroup`](https://ej2.syncfusion.com/an ## Cylindrical stacked column chart -To render a cylindrical stacked column chart, set the [`columnFacet`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel#columnfacet) property to `Cylinder` in the chart series. +To render a cylindrical stacked column chart, set the [`columnFacet`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel/#columnfacet) property to `Cylinder` in the chart series. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -62,8 +62,8 @@ To render a cylindrical stacked column chart, set the [`columnFacet`](https://ej The following properties can be used to customize the `stacked column` series. -* [fill](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel#fill) – Specifies the color of the series. -* [opacity](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel#opacity) – Specifies the opacity of the [fill](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel#fill) color. +* [fill](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel/#fill) – Specifies the color of the series. +* [opacity](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel/#opacity) – Specifies the opacity of the [fill](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel/#fill) color. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} diff --git a/chart-sdk/angular/3d-charts/chart-types/stacked-bar.md b/chart-sdk/angular/3d-charts/chart-types/stacked-bar.md index 56cde84ac..1ea715791 100644 --- a/chart-sdk/angular/3d-charts/chart-types/stacked-bar.md +++ b/chart-sdk/angular/3d-charts/chart-types/stacked-bar.md @@ -1,6 +1,6 @@ --- layout: post -title: 100% Stacked Bar Chart in Angular 3D Chart | Syncfusion +title: 100% Stacked Bar Chart in Angular 3D Chart control | Syncfusion description: Learn here all about 100% stacked bar chart in Syncfusion Angular 3D Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: 3D Chart @@ -8,11 +8,11 @@ documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# 100% Stacked Bar Chart in Angular 3D Chart +# 100% Stacked bar chart in Angular 3D Chart control ## 100% Stacked bar chart -To render a 100% stacked bar series, use series [`type`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel#type) as `StackingBar100` and inject `StackingBarSeries3DService` module into the `@NgModule.providers`. +To render a 100% stacked bar series, use series [`type`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel/#type) as `StackingBar100` and inject `StackingBarSeries3DService` module into the `@NgModule.providers`. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -28,7 +28,7 @@ To render a 100% stacked bar series, use series [`type`](https://ej2.syncfusion. ## 100% Cylindrical stacked bar chart -To render a cylindrical 100% stacked bar chart, set the [`columnFacet`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel#columnfacet) property to `Cylinder` in the chart series. +To render a cylindrical 100% stacked bar chart, set the [`columnFacet`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel/#columnfacet) property to `Cylinder` in the chart series. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -46,8 +46,8 @@ To render a cylindrical 100% stacked bar chart, set the [`columnFacet`](https:// The following properties can be used to customize the `100% stacked bar` series. -* [fill](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel#fill) – Specifies the color of the series. -* [opacity](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel#opacity) – Specifies the opacity of the [fill](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel#fill) color. +* [fill](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel/#fill) – Specifies the color of the series. +* [opacity](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel/#opacity) – Specifies the opacity of the [fill](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel/#fill) color. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} diff --git a/chart-sdk/angular/3d-charts/chart-types/stacked-column.md b/chart-sdk/angular/3d-charts/chart-types/stacked-column.md index 00f9316c8..699df0a6f 100644 --- a/chart-sdk/angular/3d-charts/chart-types/stacked-column.md +++ b/chart-sdk/angular/3d-charts/chart-types/stacked-column.md @@ -1,6 +1,6 @@ --- layout: post -title: 100% Stacked Column Chart in Angular 3D Chart | Syncfusion +title: 100% Stacked Column Chart in Angular 3D Chart control | Syncfusion description: Learn here all about 100% stacked column chart in Syncfusion Angular 3D Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: 3D Chart @@ -8,11 +8,11 @@ documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# 100% Stacked column chart in Angular 3D Chart +# 100% Stacked column chart in Angular 3D Chart control -## 100% Stacked Column Chart +## 100% Stacked column chart -To render a 100% stacked column series, use series [`type`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel#type) as `StackingColumn100` and inject `StackingColumnSeries3DService` module into the `@NgModule.providers`. +To render a 100% stacked column series, use series [`type`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel/#type) as `StackingColumn100` and inject `StackingColumnSeries3DService` module into the `@NgModule.providers`. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -28,7 +28,7 @@ To render a 100% stacked column series, use series [`type`](https://ej2.syncfusi ## 100% Cylindrical stacked column chart -To render a 100% cylindrical stacked column chart, set the [`columnFacet`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel#columnfacet) property to `Cylinder` in the chart series. +To render a 100% cylindrical stacked column chart, set the [`columnFacet`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel/#columnfacet) property to `Cylinder` in the chart series. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -46,8 +46,8 @@ To render a 100% cylindrical stacked column chart, set the [`columnFacet`](https The following properties can be used to customize the `100% stacked column` series. -* [fill](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel#fill) – Specifies the color of the series. -* [opacity](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel#opacity) – Specifies the opacity of the [fill](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel#fill) color. +* [fill](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel/#fill) – Specifies the color of the series. +* [opacity](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel/#opacity) – Specifies the opacity of the [fill](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel/#fill) color. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} diff --git a/chart-sdk/angular/3d-charts/data-labels.md b/chart-sdk/angular/3d-charts/data-labels.md index 9b0c422d0..46d3c8c4c 100644 --- a/chart-sdk/angular/3d-charts/data-labels.md +++ b/chart-sdk/angular/3d-charts/data-labels.md @@ -1,6 +1,6 @@ --- layout: post -title: Data Labels in Angular 3D Chart | Syncfusion +title: Data labels in Angular 3D Chart control | Syncfusion description: Learn here all about data labels in Syncfusion Angular 3D Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: 3D Chart @@ -8,9 +8,9 @@ documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Data labels in Angular 3D Chart +# Data labels in Angular 3D Chart control -Data labels are fields that includes information about the sample point connected to an output. It can be added to a chart series by enabling the [`visible`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/dataLabelStyleModel#visible) property in the [`dataLabel`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel#datalabel). By default, the labels will arrange smartly without overlapping. +Data labels are fields that includes information about the sample point connected to an output. It can be added to a chart series by enabling the [`visible`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/dataLabelStyleModel/#visible) property in the [`dataLabel`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel/#datalabel). By default, the labels will arrange smartly without overlapping. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -28,7 +28,7 @@ Data labels are fields that includes information about the sample point connecte ## Position -The [`position`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/dataLabelStyleModel#position) property is used to place the label either on `Top`, `Middle`, or `Bottom`. +The [`position`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/dataLabelStyleModel/#position) property is used to place the label either on `Top`, `Middle`, or `Bottom`. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -44,7 +44,7 @@ The [`position`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/da ## Template -Label content can be formatted by using the template option. Inside the template, the placeholder text `${point.x}` and `${point.y}` can be added to display corresponding data points x & y value. Using [`template`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/dataLabelStyleModel#template) property, the data label template can be set. +Label content can be formatted by using the template option. Inside the template, the placeholder text `${point.x}` and `${point.y}` can be added to display corresponding data points x & y value. Using [`template`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/dataLabelStyleModel/#template) property, the data label template can be set. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -60,7 +60,7 @@ Label content can be formatted by using the template option. Inside the template ## Text mapping -Text from the data source can be mapped using the [`name`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/dataLabelStyleModel#name) property. +Text from the data source can be mapped using the [`name`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/dataLabelStyleModel/#name) property. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -76,7 +76,7 @@ Text from the data source can be mapped using the [`name`](https://ej2.syncfusio ## Format -Data label for the chart can be formatted using the [`format`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/dataLabelStyleModel#format) property. The global formatting options can be used as 'n', 'p', and 'c'. +Data label for the chart can be formatted using the [`format`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/dataLabelStyleModel/#format) property. The global formatting options can be used as 'n', 'p', and 'c'. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -149,7 +149,7 @@ Data label for the chart can be formatted using the [`format`](https://ej2.syncf ## Margin -The [`margin`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/dataLabelStyleModel#margin) for data label can be applied by using [`left`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/marginModel#left), [`right`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/marginModel#right), [`bottom`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/marginModel#bottom) and [`top`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/marginModel#top) properties. +The [`margin`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/dataLabelStyleModel/#margin) for data label can be applied by using [`left`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/marginModel/#left), [`right`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/marginModel/#right), [`bottom`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/marginModel/#bottom) and [`top`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/marginModel/#top) properties. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -165,7 +165,7 @@ The [`margin`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/data ## Customization -The `stroke` and `border` of data label can be customized using [`fill`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/dataLabelStyleModel#fill) and [`border`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/dataLabelStyleModel#border) properties. +The `stroke` and `border` of data label can be customized using [`fill`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/dataLabelStyleModel/#fill) and [`border`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/dataLabelStyleModel/#border) properties. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -181,7 +181,7 @@ The `stroke` and `border` of data label can be customized using [`fill`](https:/ ## Customizing specific label -A specific label can be customized by using the [`textRender`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/i3DTextRenderEventArgs) event. The `textRender` event allows you to change the label text for the point. +A specific label can be customized by using the [`textRender`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/i3DTextRenderEventArgs/) event. The `textRender` event allows you to change the label text for the point. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} diff --git a/chart-sdk/angular/3d-charts/datetime-axis.md b/chart-sdk/angular/3d-charts/datetime-axis.md index 1a931afac..6a84196ff 100644 --- a/chart-sdk/angular/3d-charts/datetime-axis.md +++ b/chart-sdk/angular/3d-charts/datetime-axis.md @@ -1,6 +1,6 @@ --- layout: post -title: DateTime Axis in Angular 3D Chart | Syncfusion +title: DateTime axis in Angular 3D Chart control | Syncfusion description: Learn here all about DateTime axis in Syncfusion Angular 3D Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: 3D Chart @@ -9,7 +9,7 @@ domainurl: https://help.syncfusion.com/chart-sdk --- -# DateTime axis in Angular 3D Chart +# DateTime axis in Angular 3D Chart control ## DateTime axis @@ -27,7 +27,7 @@ DateTime axis uses date time scale and displays the date time values as axis lab {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/3d-charts/date-time-axis/date-time-cs1" %} ->Note: To use datetime axis, we need to inject `DateTime3DService` module into the `@NgModule.providers` and set the [`valueType`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel#valuetype) of axis to **DateTime**. +>Note: To use datetime axis, we need to inject `DateTime3DService` module into the `@NgModule.providers` and set the [`valueType`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel/#valuetype) of axis to **DateTime**. ## DateTime category axis @@ -45,11 +45,11 @@ DateTime category axis is used to display the date time values with non-linear i {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/3d-charts/date-time-axis/date-time-cs2" %} ->Note: To use datetime category axis, we need to inject `DateTimeCategory3DService` module into the `@NgModule.providers` and set the [`valueType`](../api/chart3d/axis3D#valuetype) of axis to **DateTimeCategory**. +>Note: To use datetime category axis, we need to inject `DateTimeCategory3DService` module into the `@NgModule.providers` and set the [`valueType`](../api/chart3d/axis3D/#valuetype) of axis to **DateTimeCategory**. ### Range -Range of an axis will be calculated automatically based on the provided data. You can also customize the range of an axis using [`minimum`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel#minimum), [`maximum`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel#maximum) and [`interval`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel#interval) properties. +Range of an axis will be calculated automatically based on the provided data. You can also customize the range of an axis using [`minimum`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel/#minimum), [`maximum`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel/#maximum) and [`interval`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel/#interval) properties. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -65,7 +65,7 @@ Range of an axis will be calculated automatically based on the provided data. Yo ### Interval customization -Date time intervals can be customized by using the [`interval`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel#interval) and [`intervalType`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel#intervaltype) properties of the axis. For example, when you set `interval` as **2** and `intervalType` as **Years**, it considers 2 years as interval. DateTime axis supports following interval types, +Date time intervals can be customized by using the [`interval`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel/#interval) and [`intervalType`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel/#intervaltype) properties of the axis. For example, when you set `interval` as **2** and `intervalType` as **Years**, it considers 2 years as interval. DateTime axis supports following interval types, * Auto * Years @@ -89,7 +89,7 @@ Date time intervals can be customized by using the [`interval`](https://ej2.sync **Applying padding to the range** -Padding can be applied to the minimum and maximum extremes of the range by using the [`rangePadding`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel#rangepadding) property. DateTime axis supports the following types of padding, +Padding can be applied to the minimum and maximum extremes of the range by using the [`rangePadding`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel/#rangepadding) property. DateTime axis supports the following types of padding, * None * Round @@ -97,7 +97,7 @@ Padding can be applied to the minimum and maximum extremes of the range by using **DateTime - None** -When the [`rangePadding`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel#rangepadding) is set to `None`, minimum and maximum of an axis is based on the data. +When the [`rangePadding`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel/#rangepadding) is set to `None`, minimum and maximum of an axis is based on the data. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -113,7 +113,7 @@ When the [`rangePadding`](https://ej2.syncfusion.com/angular/documentation/api/c **DateTime - Round** -When the [`rangePadding`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel#rangepadding) is set to `Round`, minimum and maximum will be rounded to the nearest possible value, which is divisible by interval. For example, when the minimum is **15th Jan**, interval is **1** and interval type is **Month**, then the axis minimum will be **Jan 1st**. +When the [`rangePadding`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel/#rangepadding) is set to `Round`, minimum and maximum will be rounded to the nearest possible value, which is divisible by interval. For example, when the minimum is **15th Jan**, interval is **1** and interval type is **Month**, then the axis minimum will be **Jan 1st**. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -129,7 +129,7 @@ When the [`rangePadding`](https://ej2.syncfusion.com/angular/documentation/api/c **DateTime - Additional** -When the [`rangePadding`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel#rangepadding) is set to `Additional`, interval of an axis will be padded to the minimum and maximum of the axis. +When the [`rangePadding`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel/#rangepadding) is set to `Additional`, interval of an axis will be padded to the minimum and maximum of the axis. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -145,7 +145,7 @@ When the [`rangePadding`](https://ej2.syncfusion.com/angular/documentation/api/c ## Label format -The date can be formatted and parsed to all globalize format using the [`labelFormat`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel#labelformat) property in an axis. +The date can be formatted and parsed to all globalize format using the [`labelFormat`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel/#labelformat) property in an axis. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} diff --git a/chart-sdk/angular/3d-charts/dimensions.md b/chart-sdk/angular/3d-charts/dimensions.md index 7e2991e3f..a68c25ea8 100644 --- a/chart-sdk/angular/3d-charts/dimensions.md +++ b/chart-sdk/angular/3d-charts/dimensions.md @@ -1,6 +1,6 @@ --- layout: post -title: Dimensions in Angular 3D Chart | Syncfusion +title: Dimensions in Angular 3D Chart control | Syncfusion description: Learn here all about dimensions in Syncfusion Angular 3D Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: 3D Chart @@ -8,7 +8,7 @@ documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Dimensions in Angular 3D Chart +# Dimensions in Angular 3D Chart control ## Size for container @@ -38,7 +38,7 @@ The 3D chart can be rendered to its container size and it can be set via inline -The size of the 3D chart can be set directly through [`width`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/chart3DModel#width) and [`height`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/chart3DModel#height) properties. +The size of the 3D chart can be set directly through [`width`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/chart3DModel/#width) and [`height`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/chart3DModel/#height) properties. **In Pixel** diff --git a/chart-sdk/angular/3d-charts/getting-started.md b/chart-sdk/angular/3d-charts/getting-started.md index bd7517afd..cc793f3e3 100644 --- a/chart-sdk/angular/3d-charts/getting-started.md +++ b/chart-sdk/angular/3d-charts/getting-started.md @@ -1,6 +1,6 @@ --- layout: post -title: Getting Started with Angular 3D Chart | Syncfusion +title: Getting Started with Angular 3D Chart component | Syncfusion description: Check out and learn about Getting Started with Angular 3D Chart component of Syncfusion Essential JS 2 and more details. platform: chart-sdk control: Getting Started @@ -8,7 +8,7 @@ documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Getting Started with Angular 3D Chart +# Getting Started with Angular 3D Chart Component This section explains the steps required to create a simple [Angular 3D Chart](https://www.syncfusion.com/angular-components/angular-3d-chart) and demonstrates the basic usage of the Angular 3D Chart component. diff --git a/chart-sdk/angular/3d-charts/legend.md b/chart-sdk/angular/3d-charts/legend.md index 6fb245a17..4635d117a 100644 --- a/chart-sdk/angular/3d-charts/legend.md +++ b/chart-sdk/angular/3d-charts/legend.md @@ -1,6 +1,6 @@ --- layout: post -title: Legend in Angular 3D Chart | Syncfusion +title: Legend in Angular 3D Chart control | Syncfusion description: Learn here all about legend in Syncfusion Angular 3D Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: 3D Chart @@ -10,7 +10,7 @@ domainurl: https://help.syncfusion.com/chart-sdk -# Legend in Angular 3D Chart +# Legend in Angular 3D Chart control @@ -35,7 +35,7 @@ You can use legend for the 3D Chart by setting the [`visible`](https://ej2.syncf ## Position and alignment -By using the [`position`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/threeDimensionalLegendSettingsModel#position) property, the legend can be positioned at left, right, top or bottom of the 3D chart. The legend is positioned at the bottom of the 3D chart, by default. +By using the [`position`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/threeDimensionalLegendSettingsModel/#position) property, the legend can be positioned at left, right, top or bottom of the 3D chart. The legend is positioned at the bottom of the 3D chart, by default. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -65,7 +65,7 @@ The custom position helps you to position the legend anywhere in the 3D chart us ### Legend reverse -The order of the legend items can be reversed by using the [`reverse`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/threeDimensionalLegendSettingsModel#reverse) property. By default, legend for the first series in the collection will be placed first. +The order of the legend items can be reversed by using the [`reverse`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/threeDimensionalLegendSettingsModel/#reverse) property. By default, legend for the first series in the collection will be placed first. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -81,7 +81,7 @@ The order of the legend items can be reversed by using the [`reverse`](https://e ### Legend alignment -The legend can be aligned at near, far or center to the 3D chart using the [`alignment`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/threeDimensionalLegendSettingsModel#alignment) property. +The legend can be aligned at near, far or center to the 3D chart using the [`alignment`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/threeDimensionalLegendSettingsModel/#alignment) property. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -97,7 +97,7 @@ The legend can be aligned at near, far or center to the 3D chart using the [`ali ## Legend customization -To change the legend icon shape, [`legendShape`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel#legendshape) property in the [`series`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel) can be used. By default, the legend icon shape is `seriesType`. +To change the legend icon shape, [`legendShape`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel/#legendshape) property in the [`series`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel) can be used. By default, the legend icon shape is `seriesType`. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -113,7 +113,7 @@ To change the legend icon shape, [`legendShape`](https://ej2.syncfusion.com/angu ### Legend size -By default, legend takes 20% - 25% of the 3D chart's height horizontally, when it is placed on top or bottom position and 20% - 25% of the 3D chart's width vertically, when it is placed on left or right position. You can change this default legend size by using the [`height`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/threeDimensionalLegendSettingsModel#height) and [`width`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/threeDimensionalLegendSettingsModel#width) properties of the `legendSettings`. +By default, legend takes 20% - 25% of the 3D chart's height horizontally, when it is placed on top or bottom position and 20% - 25% of the 3D chart's width vertically, when it is placed on left or right position. You can change this default legend size by using the [`height`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/threeDimensionalLegendSettingsModel/#height) and [`width`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/threeDimensionalLegendSettingsModel/#width) properties of the `legendSettings`. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -129,7 +129,7 @@ By default, legend takes 20% - 25% of the 3D chart's height horizontally, when i ### Legend item size -The size of the legend items can be customized by using the [`shapeHeight`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/threeDimensionalLegendSettingsModel#shapeheight) and [`shapeWidth`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/threeDimensionalLegendSettingsModel#shapewidth) properties. +The size of the legend items can be customised by using the [`shapeHeight`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/threeDimensionalLegendSettingsModel/#shapeheight) and [`shapeWidth`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/threeDimensionalLegendSettingsModel/#shapewidth) properties.\ {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -161,7 +161,7 @@ Paging will be enabled by default, when the legend items exceeds the legend boun ### Legend text wrap -When the legend text exceeds the container, the text can be wrapped by using the [`textWrap`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/threeDimensionalLegendSettingsModel#textwrap) property. End user can also wrap the legend text based on the [`maximumLabelWidth`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/threeDimensionalLegendSettingsModel#maximumlabelwidth) property. +When the legend text exceeds the container, the text can be wrapped by using the [`textWrap`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/threeDimensionalLegendSettingsModel/#textwrap) property. End user can also wrap the legend text based on the [`maximumLabelWidth`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/threeDimensionalLegendSettingsModel/#maximumlabelwidth) property. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -177,7 +177,7 @@ When the legend text exceeds the container, the text can be wrapped by using the ## Series selection through legend -By default, you can collapse the series visibility by clicking the legend. On the other hand, turn off the [`toggleVisibility`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/threeDimensionalLegendSettingsModel#togglevisibility) property if you must use a legend click to choose a series. +By default, you can collapse the series visibility by clicking the legend. On the other hand, turn off the [`toggleVisibility`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/threeDimensionalLegendSettingsModel/#togglevisibility) property if you must use a legend click to choose a series. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -209,7 +209,7 @@ By default, series name will be displayed as legend. To skip the legend for a pa ## Legend title -You can set title for legend using [`title`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/threeDimensionalLegendSettingsModel#title) property in [`legendSettings`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/chart3DModel#legendsettings). The [`size`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/titleSettingsModel#size), [`color`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/titleSettingsModel#color), [`opacity`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/titleSettingsModel#opacity),[`fontStyle`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/titleSettingsModel#fontstyle), [`fontWeight`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/titleSettingsModel#fontweight), [`fontFamily`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/titleSettingsModel#fontfamily), [`textAlignment`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/titleSettingsModel#textalignment), and [`textOverflow`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/titleSettingsModel#textoverflow) of legend title can be customized by using the [`titleStyle`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/threeDimensionalLegendSettingsModel#titlestyle) property in [`legendSettings`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/chart3DModel#legendsettings). The [`titlePosition`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/threeDimensionalLegendSettingsModel#titleposition) is used to set the legend position in `Top`, `Left` and `Right` position. The [`maximumTitleWidth`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/threeDimensionalLegendSettingsModel#maximumlabelwidth) is used to set the width of the legend title. By default, it will be `100px`. +You can set title for legend using [`title`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/threeDimensionalLegendSettingsModel/#title) property in [`legendSettings`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/chart3DModel/#legendsettings). The [`size`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/titleSettingsModel/#size), [`color`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/titleSettingsModel/#color), [`opacity`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/titleSettingsModel/#opacity),[`fontStyle`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/titleSettingsModel/#fontstyle), [`fontWeight`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/titleSettingsModel/#fontweight), [`fontFamily`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/titleSettingsModel/#fontfamily), [`textAlignment`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/titleSettingsModel/#textalignment), and [`textOverflow`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/titleSettingsModel/#textoverflow) of legend title can be customized by using the [`titleStyle`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/threeDimensionalLegendSettingsModel/#titlestyle) property in [`legendSettings`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/chart3DModel/#legendsettings). The [`titlePosition`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/threeDimensionalLegendSettingsModel/#titleposition) is used to set the legend position in `Top`, `Left` and `Right` position. The [`maximumTitleWidth`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/threeDimensionalLegendSettingsModel/#maximumlabelwidth) is used to set the width of the legend title. By default, it will be `100px`. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -225,7 +225,7 @@ You can set title for legend using [`title`](https://ej2.syncfusion.com/angular/ ## Arrow page navigation -The page number will always be visible while using legend paging. It is now possible to disable the page number and enable page navigation with the left and right arrows. The [`enablePages`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/threeDimensionalLegendSettingsModel#enablepages) property needs to be set to **false** in order to render the arrow page navigation. +The page number will always be visible while using legend paging. It is now possible to disable the page number and enable page navigation with the left and right arrows. The [`enablePages`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/threeDimensionalLegendSettingsModel/#enablepages) property needs to be set to **false** in order to render the arrow page navigation. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -241,7 +241,7 @@ The page number will always be visible while using legend paging. It is now poss ## Legend item padding -The [`itemPadding`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/threeDimensionalLegendSettingsModel#itempadding) property can be used to adjust the space between the legend items. +The [`itemPadding`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/threeDimensionalLegendSettingsModel/#itempadding) property can be used to adjust the space between the legend items. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} diff --git a/chart-sdk/angular/3d-charts/logarithmic-axis.md b/chart-sdk/angular/3d-charts/logarithmic-axis.md index 2f0eb5826..e269602d2 100644 --- a/chart-sdk/angular/3d-charts/logarithmic-axis.md +++ b/chart-sdk/angular/3d-charts/logarithmic-axis.md @@ -1,6 +1,6 @@ --- layout: post -title: Logarithmic Axis in Angular 3D Chart | Syncfusion +title: Logarithmic axis in Angular 3D Chart control | Syncfusion description: Learn here all about logarithmic axis in Syncfusion Angular 3D Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: 3D Chart @@ -8,7 +8,7 @@ documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Logarithmic axis in Angular 3D Chart +# Logarithmic axis in Angular 3D Chart control Logarithmic axis uses logarithmic scale and it is very useful in visualizing data, when it has numerical values in both lower order of magnitude (eg: 10-6) and higher order of magnitude (eg: 106). @@ -24,11 +24,11 @@ Logarithmic axis uses logarithmic scale and it is very useful in visualizing dat {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/3d-charts/logarithmic-axis/logatithmic-axis-cs1" %} ->Note: To use logarithmic axis, we need to inject `Logarithmic3DService` module into the `@NgModule.providers` and set the [`valueType`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel#valuetype) of the axis to **Logarithmic**. +>Note: To use logarithmic axis, we need to inject `Logarithmic3DService` module into the `@NgModule.providers` and set the [`valueType`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel/#valuetype) of the axis to **Logarithmic**. ## Range -The range of an axis will be calculated automatically based on the provided data and it can also be customized by using the [`minimum`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel#minimum), [`maximum`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel#maximum) and [`interval`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel#interval) properties of the axis. +The range of an axis will be calculated automatically based on the provided data and it can also be customized by using the [`minimum`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel/#minimum), [`maximum`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel/#maximum) and [`interval`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel/#interval) properties of the axis. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -44,7 +44,7 @@ The range of an axis will be calculated automatically based on the provided data ## Logarithmic base -Logarithmic base can be customized by using the [`logBase`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel#logbase) property of the axis. For example when the `logBase` is **5**, the axis values follows 5-2, 5-1, 50, 51, 52 etc. +Logarithmic base can be customized by using the [`logBase`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel/#logbase) property of the axis. For example when the `logBase` is **5**, the axis values follows 5-2, 5-1, 50, 51, 52 etc. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -60,7 +60,7 @@ Logarithmic base can be customized by using the [`logBase`](https://ej2.syncfus ## Logarithmic interval -The interval of the logarithmic axis can be customized by using the [`interval`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel#interval) property in the axis. When the logarithmic base is 10 and logarithmic **interval** is 2, then the axis labels are placed at an interval of 102. The default value of the [`interval`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel#interval) is **1**. +The interval of the logarithmic axis can be customized by using the [`interval`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel/#interval) property in the axis. When the logarithmic base is 10 and logarithmic **interval** is 2, then the axis labels are placed at an interval of 102. The default value of the [`interval`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel/#interval) is **1**. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} diff --git a/chart-sdk/angular/3d-charts/multi-panes.md b/chart-sdk/angular/3d-charts/multi-panes.md index 6f8ceb850..ae1d01a4f 100644 --- a/chart-sdk/angular/3d-charts/multi-panes.md +++ b/chart-sdk/angular/3d-charts/multi-panes.md @@ -1,6 +1,6 @@ --- layout: post -title: Multiple Panes in Angular 3D Chart | Syncfusion +title: Multiple panes in Angular 3D Chart control | Syncfusion description: Learn here all about multiple panes in Syncfusion Angular 3D Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: 3D Chart @@ -8,16 +8,16 @@ documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Multiple panes in Angular 3D Chart +# Multiple panes in Angular 3D Chart control -The chart area can be divided into multiple panes using [`rows`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/chart3DModel#rows) and [`columns`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/chart3DModel#columns). +The chart area can be divided into multiple panes using [`rows`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/chart3DModel/#rows) and [`columns`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/chart3DModel/#columns). ## Rows -To split the chart area vertically into number of rows, use [`rows`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/chart3DModel#rows) property of the 3D chart. +To split the chart area vertically into number of rows, use [`rows`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/chart3DModel/#rows) property of the 3D chart. -* The space for each row can be allocated by using the [`height`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/threeDimensionRowModel#height) property. The value can be either in percentage or in pixel. -* To associate a vertical axis to a particular row, specify its index to [`rowIndex`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel#rowindex) property of the axis. +* The space for each row can be allocated by using the [`height`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/threeDimensionRowModel/#height) property. The value can be either in percentage or in pixel. +* To associate a vertical axis to a particular row, specify its index to [`rowIndex`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel/#rowindex) property of the axis. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -31,7 +31,7 @@ To split the chart area vertically into number of rows, use [`rows`](https://ej2 {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/3d-charts/multi-pane/multi-pane-cs1" %} -For spanning the vertical axis along multiple rows, use [`span`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel#span) property of an axis. +For spanning the vertical axis along multiple rows, use [`span`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel/#span) property of an axis. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -47,10 +47,10 @@ For spanning the vertical axis along multiple rows, use [`span`](https://ej2.sy ## Columns -To split the chart area horizontally into number of columns, use [`columns`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/chart3DModel#columns) property of the 3D chart. +To split the chart area horizontally into number of columns, use [`columns`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/chart3DModel/#columns) property of the 3D chart. -* The space for each column can be allocated by using the [`width`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/threeDimensionColumnModel#width) property. The given width can be either in percentage or in pixel. -* To associate a horizontal axis to a particular column, specify its index to [`columnIndex`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel#columnindex) property of the axis. +* The space for each column can be allocated by using the [`width`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/threeDimensionColumnModel/#width) property. The given width can be either in percentage or in pixel. +* To associate a horizontal axis to a particular column, specify its index to [`columnIndex`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel/#columnindex) property of the axis. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -64,7 +64,7 @@ To split the chart area horizontally into number of columns, use [`columns`](htt {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/3d-charts/multi-pane/multi-pane-cs3" %} -For spanning the vertical axis along multiple column, you can use [`span`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel#span) property of an axis. +For spanning the vertical axis along multiple column, you can use [`span`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel/#span) property of an axis. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} diff --git a/chart-sdk/angular/3d-charts/numeric-axis.md b/chart-sdk/angular/3d-charts/numeric-axis.md index 1edc90cfd..4fb10bc43 100644 --- a/chart-sdk/angular/3d-charts/numeric-axis.md +++ b/chart-sdk/angular/3d-charts/numeric-axis.md @@ -1,6 +1,6 @@ --- layout: post -title: Numeric Axis in Angular 3D Chart | Syncfusion +title: Numeric axis in Angular 3D Chart control | Syncfusion description: Learn here all about numeric axis in Syncfusion Angular 3D Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: 3D Chart @@ -10,7 +10,7 @@ domainurl: https://help.syncfusion.com/chart-sdk -# Numeric Axis in Angular 3D Chart +# Numeric axis in Angular 3D Chart control The numeric axis can be used to represent the numeric values of data in 3D chart. By default, the `valueType` of an axis is **Double**. @@ -28,7 +28,7 @@ The numeric axis can be used to represent the numeric values of data in 3D chart ## Range -The range of an axis will be calculated automatically based on the provided data, and it can also be customized by using the [`minimum`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel#minimum), [`maximum`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel#maximum) and [`interval`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel#interval) properties of the axis. +The range of an axis will be calculated automatically based on the provided data, and it can also be customized by using the [`minimum`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel/#minimum), [`maximum`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel/#maximum) and [`interval`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel/#interval) properties of the axis. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -44,7 +44,7 @@ The range of an axis will be calculated automatically based on the provided data ## Range padding -Padding can be applied to the minimum and maximum extremes of an axis range by using the [`rangePadding`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel#rangepadding) property. Numeric axis supports the following types of padding. +Padding can be applied to the minimum and maximum extremes of an axis range by using the [`rangePadding`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel/#rangepadding) property. Numeric axis supports the following types of padding. * None * Round @@ -54,7 +54,7 @@ Padding can be applied to the minimum and maximum extremes of an axis range by u **Numeric - None** -When the [`rangePadding`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel#rangepadding) is set to `None`, minimum and maximum of the axis is based on the data. +When the [`rangePadding`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel/#rangepadding) is set to `None`, minimum and maximum of the axis is based on the data. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -70,7 +70,7 @@ When the [`rangePadding`](https://ej2.syncfusion.com/angular/documentation/api/c **Numeric - Round** -When the [`rangePadding`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel#rangepadding) is set to **Round**, minimum and maximum will be rounded to the nearest possible value, which is divisible by interval. For example, when the [`minimum`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel#minimum) is **3.5** and the [`interval`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel#interval) is **1**, then the minimum will be rounded to **3**. +When the [`rangePadding`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel/#rangepadding) is set to **Round**, minimum and maximum will be rounded to the nearest possible value, which is divisible by interval. For example, when the [`minimum`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel/#minimum) is **3.5** and the [`interval`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel/#interval) is **1**, then the minimum will be rounded to **3**. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -86,7 +86,7 @@ When the [`rangePadding`](https://ej2.syncfusion.com/angular/documentation/api/c **Numeric - Additional** -When the [`rangePadding`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel#rangepadding) is set to **Additional**, interval of an axis will be added to the minimum and maximum of the axis. +When the [`rangePadding`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel/#rangepadding) is set to **Additional**, interval of an axis will be added to the minimum and maximum of the axis. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -102,7 +102,7 @@ When the [`rangePadding`](https://ej2.syncfusion.com/angular/documentation/api/c **Numeric - Normal** -When the [`rangePadding`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel#rangepadding) is set to **Normal**, padding is applied to the axis based on default range calculation. +When the [`rangePadding`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel/#rangepadding) is set to **Normal**, padding is applied to the axis based on default range calculation. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -118,7 +118,7 @@ When the [`rangePadding`](https://ej2.syncfusion.com/angular/documentation/api/c **Numeric - Auto** -When the [`rangePadding`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel#rangepadding) is set to **Auto**, horizontal numeric axis takes **None** as padding calculation, while the vertical numeric axis takes **Normal** as padding calculation. +When the [`rangePadding`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel/#rangepadding) is set to **Auto**, horizontal numeric axis takes **None** as padding calculation, while the vertical numeric axis takes **Normal** as padding calculation. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -136,7 +136,7 @@ When the [`rangePadding`](https://ej2.syncfusion.com/angular/documentation/api/c **Numeric label format** -Numeric labels can be formatted by using the [`labelFormat`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel#labelformat) property. Also, it supports all globalize format. +Numeric labels can be formatted by using the [`labelFormat`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/axis3DModel/#labelformat) property. Also, it supports all globalize format. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -212,7 +212,7 @@ The following table describes the result of applying some commonly used label fo ## Grouping separator -To separate the y-axis labels to groups of thousands, set the [`useGroupingSeparator`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/chart3DModel#usegroupingseparator) property to **true** in the 3D chart. +To separate the y-axis labels to groups of thousands, set the [`useGroupingSeparator`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/chart3DModel/#usegroupingseparator) property to **true** in the 3D chart. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} diff --git a/chart-sdk/angular/3d-charts/print-export.md b/chart-sdk/angular/3d-charts/print-export.md index 365ecc763..83e570572 100644 --- a/chart-sdk/angular/3d-charts/print-export.md +++ b/chart-sdk/angular/3d-charts/print-export.md @@ -1,6 +1,6 @@ --- layout: post -title: Print and Export in Angular 3D Chart | Syncfusion +title: Print and Export in Angular 3D Chart control | Syncfusion description: Learn here all about print and export in Syncfusion Angular 3D Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: 3D Chart @@ -8,11 +8,11 @@ documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Print and Export in Angular 3D Chart +# Print and Export in Angular 3D Chart control ## Print -The rendered 3D chart can be printed directly from the browser by calling the public method [`print`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/printUtils#print). The ID of the 3D chart's div element must be passed as the input parameter to that method. +The rendered 3D chart can be printed directly from the browser by calling the public method [`print`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/printUtils/#print). The ID of the 3D chart's div element must be passed as the input parameter to that method. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -28,7 +28,7 @@ The rendered 3D chart can be printed directly from the browser by calling the pu ## Export -The rendered 3D chart can be exported to `JPEG`, `PNG`, `SVG`, or `PDF` format using the [`export`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/exportUtils#export) method. The input parameters for this method are: `type` for format and `fileName` for result. +The rendered 3D chart can be exported to `JPEG`, `PNG`, `SVG`, or `PDF` format using the [`export`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/exportUtils/#export) method. The input parameters for this method are: `type` for format and `fileName` for result. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} diff --git a/chart-sdk/angular/3d-charts/selection.md b/chart-sdk/angular/3d-charts/selection.md index cb5dcaffc..4b5e7ce87 100644 --- a/chart-sdk/angular/3d-charts/selection.md +++ b/chart-sdk/angular/3d-charts/selection.md @@ -1,6 +1,6 @@ --- layout: post -title: Selection in Angular 3D Chart | Syncfusion +title: Selection in Angular 3D Chart control | Syncfusion description: Learn here all about selection in Syncfusion Angular 3D Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: 3D Chart @@ -10,7 +10,7 @@ domainurl: https://help.syncfusion.com/chart-sdk -# Selection in Angular 3D Chart +# Selection in Angular 3D Chart control The 3D chart provides selection support for the series and its data points on mouse click. @@ -25,7 +25,7 @@ We have different types of selection mode for selecting a data. ## Point -To select a point, set the [`selectionMode`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/chart3DModel#selectionmode) property to **Point**. +To select a point, set the [`selectionMode`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/chart3DModel/#selectionmode) property to **Point**. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -41,7 +41,7 @@ To select a point, set the [`selectionMode`](https://ej2.syncfusion.com/angular/ ## Series -To select a series, set the [`selectionMode`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/chart3DModel#selectionmode) property to **Series**. +To select a series, set the [`selectionMode`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/chart3DModel/#selectionmode) property to **Series**. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -57,7 +57,7 @@ To select a series, set the [`selectionMode`](https://ej2.syncfusion.com/angular ## Cluster -To select the points that corresponds to the same index in all the series, set the [`selectionMode`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/chart3DModel#selectionmode) property to **Cluster**. +To select the points that corresponds to the same index in all the series, set the [`selectionMode`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/chart3DModel/#selectionmode) property to **Cluster**. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -73,7 +73,7 @@ To select the points that corresponds to the same index in all the series, set t ## Selection type -To select multiple points or series, enable the [`isMultiSelect`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/chart3DModel#ismultiselect) property. +To select multiple points or series, enable the [`isMultiSelect`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/chart3DModel/#ismultiselect) property. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -89,7 +89,7 @@ To select multiple points or series, enable the [`isMultiSelect`](https://ej2.sy ## Selection during initial loading -In a 3D chart, selecting a point or series during initial loading can only be done programmatically. The [`selectedDataIndexes`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/chart3DModel#selecteddataindexes) property can be used for this. +In a 3D chart, selecting a point or series during initial loading can only be done programmatically. The [`selectedDataIndexes`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/chart3DModel/#selecteddataindexes) property can be used for this. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -105,7 +105,7 @@ In a 3D chart, selecting a point or series during initial loading can only be do ## Selection through legend -To select a point or series through legend use the [`toggleVisibility`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/threeDimensionalLegendSettingsModel#togglevisibility) property. Also, use [`enableHighlight`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/threeDimensionalLegendSettingsModel#enablehighlight) property for highlighting the series through legend. +To select a point or series through legend use the [`toggleVisibility`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/threeDimensionalLegendSettingsModel/#togglevisibility) property. Also, use [`enableHighlight`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/threeDimensionalLegendSettingsModel/#enablehighlight) property for highlighting the series through legend. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} diff --git a/chart-sdk/angular/3d-charts/tool-tip.md b/chart-sdk/angular/3d-charts/tool-tip.md index e135af382..bae70b834 100644 --- a/chart-sdk/angular/3d-charts/tool-tip.md +++ b/chart-sdk/angular/3d-charts/tool-tip.md @@ -1,6 +1,6 @@ --- layout: post -title: Tooltip in Angular 3D Chart | Syncfusion +title: Tooltip in Angular 3D Chart control | Syncfusion description: Learn here all about tooltip in Syncfusion Angular 3D Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: 3D Chart @@ -8,7 +8,7 @@ documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Tooltip in Angular 3D Chart +# Tooltip in Angular 3D Chart control diff --git a/chart-sdk/angular/3d-charts/working-with-data.md b/chart-sdk/angular/3d-charts/working-with-data.md index 6655f6150..2ff819ba2 100644 --- a/chart-sdk/angular/3d-charts/working-with-data.md +++ b/chart-sdk/angular/3d-charts/working-with-data.md @@ -1,6 +1,6 @@ --- layout: post -title: Working with Data in Angular 3D Chart | Syncfusion +title: Working with data source in Angular 3D Chart control | Syncfusion description: Learn here all about working with data source in Syncfusion Angular 3D Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: 3D Chart @@ -9,11 +9,11 @@ domainurl: https://help.syncfusion.com/chart-sdk --- -# Working with Data in Angular 3D Chart +# Working with data in Angular 3D Chart control ## Local data -A simple JSON data can be bound to the 3D chart using [`dataSource`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel#datasource) property in series. Now map the fields in JSON to [`xName`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel#xname) and [`yName`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel#yname) properties. +A simple JSON data can be bound to the 3D chart using [`dataSource`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel/#datasource) property in series. Now map the fields in JSON to [`xName`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel/#xname) and [`yName`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel/#yname) properties. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -29,7 +29,7 @@ A simple JSON data can be bound to the 3D chart using [`dataSource`](https://ej2 ## Remote data -The remote data can be bound to the 3D chart using the [`DataManager`](https://ej2.syncfusion.com/documentation/api/data/dataManager). The `DataManager` requires minimal information like web service URL, adaptor and cross domain to interact with service endpoint properly. Assign the instance of the `DataManager` to the [`dataSource`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel#datasource) property in series and map the fields of data to [`xName`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel#xname) and [`yName`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel#yname) properties. You can also use the [`query`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel#query) property of the series to filter the data. +The remote data can be bound to the 3D chart using the [`DataManager`](https://ej2.syncfusion.com/documentation/api/data/dataManager/). The `DataManager` requires minimal information like web service URL, adaptor and cross domain to interact with service endpoint properly. Assign the instance of the `DataManager` to the [`dataSource`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel/#datasource) property in series and map the fields of data to [`xName`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel/#xname) and [`yName`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel/#yname) properties. You can also use the [`query`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel/#query) property of the series to filter the data. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -61,7 +61,7 @@ The remote data can be bound to the 3D chart using the [`DataManager`](https://e ## Empty points -The data points that uses the `null` or `undefined` as value are considered as empty points. The empty data points are ignored and is not plotted in the chart. When the data is provided by using the points property, by using [`emptyPointSettings`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel#emptypointsettings) property in series, the empty can be customized. The default [`mode`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/threeDimensionalEmptyPointSettingsModel#mode) of the empty point is **Gap**. +The data points that uses the `null` or `undefined` as value are considered as empty points. The empty data points are ignored and is not plotted in the chart. When the data is provided by using the points property, by using [`emptyPointSettings`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel/#emptypointsettings) property in series, the empty can be customized. The default [`mode`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/threeDimensionalEmptyPointSettingsModel/#mode) of the empty point is **Gap**. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -77,7 +77,7 @@ The data points that uses the `null` or `undefined` as value are considered as e **Customizing empty point** -The specific color for empty point can be set by the [`fill`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/threeDimensionalEmptyPointSettingsModel#fill) property in [`emptyPointSettings`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel#emptypointsettings). +The specific color for empty point can be set by the [`fill`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/threeDimensionalEmptyPointSettingsModel/#fill) property in [`emptyPointSettings`](https://ej2.syncfusion.com/angular/documentation/api/chart3d/series3DModel/#emptypointsettings). {% tabs %} {% highlight ts tabtitle="app.component.ts" %} diff --git a/chart-sdk/angular/3d-circular-charts/data-label.md b/chart-sdk/angular/3d-circular-charts/data-label.md index b0e4506ba..8bf0339a8 100644 --- a/chart-sdk/angular/3d-circular-charts/data-label.md +++ b/chart-sdk/angular/3d-circular-charts/data-label.md @@ -1,6 +1,6 @@ --- layout: post -title: Data Label in Angular 3D Circular Chart | Syncfusion +title: Data Label in Angular 3D Circular Chart component | Syncfusion description: Learn here all about data label in Syncfusion Angular 3D Circular Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Data Label @@ -8,7 +8,7 @@ documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Data Label in Angular 3D Circular Chart +# Data Label in Angular 3D Circular Chart component A data label refers to a label associated with specific data points. It can be added to a 3D Circular Chart series by enabling the `visible` option in the `dataLabel` property. By default, the labels will arrange themselves smartly to avoid overlapping. diff --git a/chart-sdk/angular/3d-circular-charts/empty-points.md b/chart-sdk/angular/3d-circular-charts/empty-points.md index b454aa7f4..12f449b25 100644 --- a/chart-sdk/angular/3d-circular-charts/empty-points.md +++ b/chart-sdk/angular/3d-circular-charts/empty-points.md @@ -1,6 +1,6 @@ --- layout: post -title: Empty Points in Angular 3D Circular Chart | Syncfusion +title: Empty points in Angular 3D Circular Chart component | Syncfusion description: Learn here all about empty points in Syncfusion Angular 3D Circular Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Empty points @@ -8,7 +8,7 @@ documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Empty Points in Angular 3D Circular Chart +# Empty points in Angular 3D Circular Chart component Data points containing `null` or `undefined` values are considered empty points. These empty data points are ignored and not plotted in the 3D Circular Chart. You can customize the handling of empty points using the `emptyPointSettings` property in the series. The default mode for empty points is `Gap`. Other supported modes include `Average`, `Drop`, and `Zero`. @@ -38,4 +38,4 @@ A specific color for an empty point can be set by using the `fill` property in ` {% endhighlight %} {% endtabs %} -{% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/3d-circular-charts/pie-donut/empty-point-custom" %} +{% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/3d-circular-charts/pie-donut/empty-point-custom" %} \ No newline at end of file diff --git a/chart-sdk/angular/3d-circular-charts/getting-started.md b/chart-sdk/angular/3d-circular-charts/getting-started.md index 43ffa7d12..d1e0e5c3e 100644 --- a/chart-sdk/angular/3d-circular-charts/getting-started.md +++ b/chart-sdk/angular/3d-circular-charts/getting-started.md @@ -1,6 +1,6 @@ --- layout: post -title: Getting Started with Angular 3D Circular Chart | Syncfusion +title: Getting Started with Angular 3D Circular Chart component | Syncfusion description: Check out and learn about Getting Started with Angular 3D Circular Chart component of Syncfusion Essential JS 2 and more details. platform: chart-sdk control: Getting Started @@ -8,7 +8,7 @@ documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Getting Started with Angular 3D Circular Chart +# Getting Started with Angular 3D Circular Chart Component This section explains the steps required to create a simple [Angular 3D Circular Chart](https://www.syncfusion.com/angular-components/angular-3d-circular-chart) and demonstrates the basic usage of the Angular 3D Circular Chart component. diff --git a/chart-sdk/angular/3d-circular-charts/legend.md b/chart-sdk/angular/3d-circular-charts/legend.md index 038b150a9..6ef09c6fd 100644 --- a/chart-sdk/angular/3d-circular-charts/legend.md +++ b/chart-sdk/angular/3d-circular-charts/legend.md @@ -1,6 +1,6 @@ --- layout: post -title: Legend in Angular 3D Circular Chart | Syncfusion +title: Legend in Angular 3D Circular Chart component | Syncfusion description: Learn here all about legend in Syncfusion Angular 3D Circular Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Legend @@ -8,7 +8,7 @@ documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Legend in Angular 3D Circular Chart +# Legend in Angular 3D Circular Chart component The legend provides information about the data points rendered in the 3D Circular Chart. It can be added by enabling the `visible` option in the `legendSettings` property. @@ -184,4 +184,4 @@ The `itemPadding` property can be used to adjust the space between the legend it {% endhighlight %} {% endtabs %} -{% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/3d-circular-charts/user-interaction/item-padding" %} +{% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/3d-circular-charts/user-interaction/item-padding" %} \ No newline at end of file diff --git a/chart-sdk/angular/3d-circular-charts/pie-donut-chart.md b/chart-sdk/angular/3d-circular-charts/pie-donut-chart.md index f14093def..472f51f22 100644 --- a/chart-sdk/angular/3d-circular-charts/pie-donut-chart.md +++ b/chart-sdk/angular/3d-circular-charts/pie-donut-chart.md @@ -1,6 +1,6 @@ --- layout: post -title: Pie and Donut in Angular 3D Circular Chart | Syncfusion +title: Pie and donut in Angular 3D Circular Chart component | Syncfusion description: Learn here all about Pie and donut in Syncfusion Angular 3D Circular Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Pie and donut @@ -8,7 +8,7 @@ documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Pie and Donut in Angular 3D Circular Chart +# Pie and donut in Angular 3D Circular Chart component ## Pie chart diff --git a/chart-sdk/angular/3d-circular-charts/print-and-export.md b/chart-sdk/angular/3d-circular-charts/print-and-export.md index 66b912a55..63247bfbe 100644 --- a/chart-sdk/angular/3d-circular-charts/print-and-export.md +++ b/chart-sdk/angular/3d-circular-charts/print-and-export.md @@ -8,7 +8,7 @@ documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Print and Export in Angular 3D Circular Chart +# Print and Export in Angular 3D Circular Chart component ## Print @@ -41,4 +41,4 @@ Input parameters for this method are `Export` Type for `format` and `fileName {% endhighlight %} {% endtabs %} -{% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/3d-circular-charts/user-interaction/export" %} +{% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/3d-circular-charts/user-interaction/export" %} \ No newline at end of file diff --git a/chart-sdk/angular/3d-circular-charts/title-and-subtitle.md b/chart-sdk/angular/3d-circular-charts/title-and-subtitle.md index e6d1711ce..5c1ccbc58 100644 --- a/chart-sdk/angular/3d-circular-charts/title-and-subtitle.md +++ b/chart-sdk/angular/3d-circular-charts/title-and-subtitle.md @@ -1,6 +1,6 @@ --- layout: post -title: Title and Subtitle in Angular 3D Circular Chart | Syncfusion +title: Title and subtitle in Angular 3D Circular Chart | Syncfusion description: Learn here all about title and subtitle in Syncfusion Angular 3D Circular Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Title and subtitle @@ -8,7 +8,7 @@ documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Title and Subtitle in Angular 3D Circular Chart +# Title and subtitle in Angular 3D Circular Chart component ## Title @@ -72,4 +72,4 @@ The subtitle of the 3D Circular Chart can be customized using the `subTitleStyle {% endhighlight %} {% endtabs %} -{% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/3d-circular-charts/user-interaction/subtitle-custom" %} +{% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/3d-circular-charts/user-interaction/subtitle-custom" %} \ No newline at end of file diff --git a/chart-sdk/angular/3d-circular-charts/tooltip.md b/chart-sdk/angular/3d-circular-charts/tooltip.md index a93b2ee05..3d0ee3c05 100644 --- a/chart-sdk/angular/3d-circular-charts/tooltip.md +++ b/chart-sdk/angular/3d-circular-charts/tooltip.md @@ -8,7 +8,7 @@ documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Tooltip in Angular 3D Circular Chart +# Tooltip in Angular 3D Circular Chart component The 3D Circular Chart will display details about the points through a tooltip, when the mouse is moved over a specific point. By default, the tooltip is not visible. It can be enabled by using the `enable` property in `tooltip` to **true**. @@ -177,4 +177,4 @@ Using the `tooltipRender` event, you can customize tooltip values for a particul {% endhighlight %} {% endtabs %} -{% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/3d-circular-charts/user-interaction/tooltip-event" %} +{% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/3d-circular-charts/user-interaction/tooltip-event" %} \ No newline at end of file diff --git a/chart-sdk/angular/accumulation-charts/accessibility.md b/chart-sdk/angular/accumulation-charts/accessibility.md index 359dd4f4e..ff425c3de 100644 --- a/chart-sdk/angular/accumulation-charts/accessibility.md +++ b/chart-sdk/angular/accumulation-charts/accessibility.md @@ -1,6 +1,6 @@ --- layout: post -title: Accessibility in Angular Accumulation Chart | Syncfusion +title: Accessibility in Angular Accumulation chart component | Syncfusion description: Learn here all about Accessibility in Syncfusion Angular Accumulation chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Accessibility @@ -8,7 +8,7 @@ documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Accessibility in Angular Accumulation Chart +# Accessibility in Angular Accumulation chart component The Accumulation chart component followed the accessibility guidelines and standards, including [ADA](https://www.ada.gov/), [Section 508](https://www.section508.gov/), [WCAG 2.2](https://www.w3.org/TR/WCAG22/) standards, and [WCAG roles](https://www.w3.org/TR/wai-aria/#roles) that are commonly used to evaluate accessibility. diff --git a/chart-sdk/angular/accumulation-charts/advanced-accessibility-configuration.md b/chart-sdk/angular/accumulation-charts/advanced-accessibility-configuration.md index d6503e9f3..ce624204e 100644 --- a/chart-sdk/angular/accumulation-charts/advanced-accessibility-configuration.md +++ b/chart-sdk/angular/accumulation-charts/advanced-accessibility-configuration.md @@ -1,6 +1,6 @@ --- layout: post -title: Advanced Accessibility in Angular Accumulation Chart | Syncfusion +title: Accessibility customization | Syncfusion description: Learn here all about Accessibility customization in Syncfusion Angular Accumulation chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Accessibility customization @@ -8,19 +8,19 @@ documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Advanced Accessibility Configuration in Angular Accumulation Chart +# Accessibility customization The Syncfusion® Angular Accumulation Chart component is structured to visualize data in a graphical manner. It provides robust customization options for accessibility, allowing you to enhance the user experience for those with disabilities. The main attributes of the Angular Accumulation Chart component's accessibility customization are briefly explained in this section. The accumulation chart component has a number of characteristics that enable accessibility features to be customized, including: -* [`accessibilityDescription`](https://ej2.syncfusion.com/angular/documentation/api/accumulation-chart/accessibilityModel#accessibilitydescription) - Provides a text description for the accumulation chart, improving support for screen readers. -* [`accessibilityRole`](https://ej2.syncfusion.com/angular/documentation/api/accumulation-chart/accessibilityModel#accessibilityrole) - Specifies the role of the accumulation chart, helping screen readers to identify the element appropriately. -* [`focusable`](https://ej2.syncfusion.com/angular/documentation/api/accumulation-chart/accessibilityModel#focusable) - Allows the accumulation chart to receive focus, making it accessible via keyboard navigation. +* [`accessibilityDescription`](https://ej2.syncfusion.com/angular/documentation/api/accumulation-chart/accessibilityModel/#accessibilitydescription) - Provides a text description for the accumulation chart, improving support for screen readers. +* [`accessibilityRole`](https://ej2.syncfusion.com/angular/documentation/api/accumulation-chart/accessibilityModel/#accessibilityrole) - Specifies the role of the accumulation chart, helping screen readers to identify the element appropriately. +* [`focusable`](https://ej2.syncfusion.com/angular/documentation/api/accumulation-chart/accessibilityModel/#focusable) - Allows the accumulation chart to receive focus, making it accessible via keyboard navigation. * [`focusBorderColor`](https://ej2.syncfusion.com/angular/documentation/api/accumulation-chart#focusbordercolor) - Sets the color of the focus border, enhancing visibility when the accumulation chart is focused. * [`focusBorderMargin`](https://ej2.syncfusion.com/angular/documentation/api/accumulation-chart#focusbordermargin) - Defines the margin around the focus border. * [`focusBorderWidth`](https://ej2.syncfusion.com/angular/documentation/api/accumulation-chart#focusborderwidth) - Specifies the width of the focus border. -* [`tabIndex`](https://ej2.syncfusion.com/angular/documentation/api/accumulation-chart/accessibilityModel#tabindex) - Specifies the tab order for the accumulation chart element, enabling efficient keyboard navigation. +* [`tabIndex`](https://ej2.syncfusion.com/angular/documentation/api/accumulation-chart/accessibilityModel/#tabindex) - Specifies the tab order for the accumulation chart element, enabling efficient keyboard navigation. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -38,10 +38,10 @@ The accumulation chart component has a number of characteristics that enable acc The [`series`](https://ej2.syncfusion.com/angular/documentation/api/accumulation-chart#series) supports the customization of accessibility for data points, allowing key characteristics to be adjusted for enhanced accessibility, such as: -* [`accessibilityDescription`](https://ej2.syncfusion.com/angular/documentation/api/accumulation-chart/accessibilityModel#accessibilitydescription) - Provides a text description for the series root element, enhancing support for screen readers. -* [`accessibilityRole`](https://ej2.syncfusion.com/angular/documentation/api/accumulation-chart/accessibilityModel#accessibilityrole) - Specifies the role of the series, helping screen readers to identify the element appropriately. -* [`focusable`](https://ej2.syncfusion.com/angular/documentation/api/accumulation-chart/accessibilityModel#focusable) - Allows the series to receive focus, making it accessible via keyboard navigation. -* [`tabIndex`](https://ej2.syncfusion.com/angular/documentation/api/accumulation-chart/accessibilityModel#tabindex) - Specifies the tab order of the series element, enabling efficient keyboard navigation. +* [`accessibilityDescription`](https://ej2.syncfusion.com/angular/documentation/api/accumulation-chart/accessibilityModel/#accessibilitydescription) - Provides a text description for the series root element, enhancing support for screen readers. +* [`accessibilityRole`](https://ej2.syncfusion.com/angular/documentation/api/accumulation-chart/accessibilityModel/#accessibilityrole) - Specifies the role of the series, helping screen readers to identify the element appropriately. +* [`focusable`](https://ej2.syncfusion.com/angular/documentation/api/accumulation-chart/accessibilityModel/#focusable) - Allows the series to receive focus, making it accessible via keyboard navigation. +* [`tabIndex`](https://ej2.syncfusion.com/angular/documentation/api/accumulation-chart/accessibilityModel/#tabindex) - Specifies the tab order of the series element, enabling efficient keyboard navigation. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -57,12 +57,12 @@ The [`series`](https://ej2.syncfusion.com/angular/documentation/api/accumulation ## Legend -The [`legendSettings`](https://ej2.syncfusion.com/angular/documentation/api/accumulation-chart#legendsettings) provide information about the series shown in the accumulation chart. The following [`accessibility`](https://ej2.syncfusion.com/angular/documentation/api/accumulation-chart/legendSettingsModel#accessibility) properties in [`legendSettings`](https://ej2.syncfusion.com/angular/documentation/api/accumulation-chart#legendsettings) can be used to alter the accessibility of the accumulation chart's legend: +The [`legendSettings`](https://ej2.syncfusion.com/angular/documentation/api/accumulation-chart#legendsettings) provide information about the series shown in the accumulation chart. The following [`accessibility`](https://ej2.syncfusion.com/angular/documentation/api/accumulation-chart/legendSettingsModel/#accessibility) properties in [`legendSettings`](https://ej2.syncfusion.com/angular/documentation/api/accumulation-chart#legendsettings) can be used to alter the accessibility of the accumulation chart's legend: -* [`accessibilityDescription`](https://ej2.syncfusion.com/angular/documentation/api/accumulation-chart/accessibilityModel#accessibilitydescription) - Provides a text description for the legend root element, enhancing support for screen readers.. -* [`accessibilityRole`](https://ej2.syncfusion.com/angular/documentation/api/accumulation-chart/accessibilityModel#accessibilityrole) - Specifies the role of the legend items to screen readers, providing appropriate context. -* [`focusable`](https://ej2.syncfusion.com/angular/documentation/api/accumulation-chart/accessibilityModel#focusable) - Specifies whether legend items are focusable via keyboard navigation. -* [`tabIndex`](https://ej2.syncfusion.com/angular/documentation/api/accumulation-chart/accessibilityModel#tabindex) - Specifies the tab order of the legend element, enabling efficient keyboard navigation. +* [`accessibilityDescription`](https://ej2.syncfusion.com/angular/documentation/api/accumulation-chart/accessibilityModel/#accessibilitydescription) - Provides a text description for the legend root element, enhancing support for screen readers.. +* [`accessibilityRole`](https://ej2.syncfusion.com/angular/documentation/api/accumulation-chart/accessibilityModel/#accessibilityrole) - Specifies the role of the legend items to screen readers, providing appropriate context. +* [`focusable`](https://ej2.syncfusion.com/angular/documentation/api/accumulation-chart/accessibilityModel/#focusable) - Specifies whether legend items are focusable via keyboard navigation. +* [`tabIndex`](https://ej2.syncfusion.com/angular/documentation/api/accumulation-chart/accessibilityModel/#tabindex) - Specifies the tab order of the legend element, enabling efficient keyboard navigation. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -74,4 +74,4 @@ The [`legendSettings`](https://ej2.syncfusion.com/angular/documentation/api/accu {% endhighlight %} {% endtabs %} -{% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/accumulation-chart/series/pie-cs43" %} +{% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/accumulation-chart/series/pie-cs43" %} \ No newline at end of file diff --git a/chart-sdk/angular/accumulation-charts/annotation.md b/chart-sdk/angular/accumulation-charts/annotation.md index 3c6c27fc8..e0e521b7d 100644 --- a/chart-sdk/angular/accumulation-charts/annotation.md +++ b/chart-sdk/angular/accumulation-charts/annotation.md @@ -1,6 +1,6 @@ --- layout: post -title: Annotation in Angular Accumulation Chart | Syncfusion +title: Annotation in Angular Accumulation chart component | Syncfusion description: Learn here all about Annotation in Syncfusion Angular Accumulation chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Annotation @@ -8,7 +8,7 @@ documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Annotation in Angular Accumulation Chart +# Annotation in Angular Accumulation chart component The annotations are used to mark the specific area of interest in the chart area with texts, shapes or images. diff --git a/chart-sdk/angular/accumulation-charts/appearance.md b/chart-sdk/angular/accumulation-charts/appearance.md index ee1228f16..f94d864bd 100644 --- a/chart-sdk/angular/accumulation-charts/appearance.md +++ b/chart-sdk/angular/accumulation-charts/appearance.md @@ -1,6 +1,6 @@ --- layout: post -title: Appearance in Angular Accumulation Chart | Syncfusion +title: Appearance in Angular Accumulation chart component | Syncfusion description: Learn here all about Appearance in Syncfusion Angular Accumulation chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Appearance @@ -8,11 +8,11 @@ documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Appearance in Angular Accumulation Chart +# Appearance in Angular Accumulation chart component ## Custom Color Palette -You can customize the default color of series or points by providing a custom color palette of your choice by using the [`palettes`](https://ej2.syncfusion.com/angular/documentation/api/accumulation-chart/accumulationSeries#palettes) property. +You can customize the default color of series or points by providing a custom color palette of your choice by using the [`palettes`](https://ej2.syncfusion.com/angular/documentation/api/accumulation-chart/accumulationSeries/#palettes) property. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} diff --git a/chart-sdk/angular/accumulation-charts/center-label.md b/chart-sdk/angular/accumulation-charts/center-label.md index 14009ab30..8aebb6c9d 100644 --- a/chart-sdk/angular/accumulation-charts/center-label.md +++ b/chart-sdk/angular/accumulation-charts/center-label.md @@ -1,16 +1,16 @@ --- layout: post -title: Center Label in Angular Accumulation Chart | Syncfusion -description: Learn here all about configuring and customizing the center label in Syncfusion Angular Accumulation chart component of Syncfusion Essential JS 2 and more. +title: Center label in Angular Accumulation chart component | Syncfusion +description: The center label displays the important orhighlighted text to inform users about what it is. platform: chart-sdk control: Center label documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Center Label in Angular Accumulation Chart +# Centerlabel -Using [`centerLabel`](https://ej2.syncfusion.com/angular/documentation/api/accumulation-chart/centerLabel) it is now possible to place a label at the center of a pie or donut chart. To configure the default text rendered on the center label for the pie and doughnut charts, use the [`text`](https://ej2.syncfusion.com/angular/documentation/api/accumulation-chart/centerLabel#text) property in the [`centerLabel`](https://ej2.syncfusion.com/angular/documentation/api/accumulation-chart/centerLabel). +Using [`centerLabel`](https://ej2.syncfusion.com/angular/documentation/api/accumulation-chart/centerLabel) it is now possible to place a label at the center of a pie or donut chart. To configure the default text rendered on the center label for the pie and doughnut charts, use the [`text`](https://ej2.syncfusion.com/angular/documentation/api/accumulation-chart/centerLabel/#text) property in the [`centerLabel`](https://ej2.syncfusion.com/angular/documentation/api/accumulation-chart/centerLabel). {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -26,7 +26,7 @@ Using [`centerLabel`](https://ej2.syncfusion.com/angular/documentation/api/accum ## Hover text -The default text in the center label can be changed when the mouse pointer hovers over the pie and doughnut charts slice using the [`hoverTextFormat`](https://ej2.syncfusion.com/angular/documentation/api/accumulation-chart/centerLabel#hovertextformat) property. +The default text in the center label can be changed when the mouse pointer hovers over the pie and doughnut charts slice using the [`hoverTextFormat`](https://ej2.syncfusion.com/angular/documentation/api/accumulation-chart/centerLabel/#hovertextformat) property. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -42,7 +42,7 @@ The default text in the center label can be changed when the mouse pointer hover ## Customization -Customize the center label text using the [`textStyle`](https://ej2.syncfusion.com/angular/documentation/api/accumulation-chart/centerLabel#textstyle) property. +Customize the center label text using the [`textStyle`](https://ej2.syncfusion.com/angular/documentation/api/accumulation-chart/centerLabel/#textstyle) property. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} diff --git a/chart-sdk/angular/accumulation-charts/chart-print.md b/chart-sdk/angular/accumulation-charts/chart-print.md index 1e3bfb9ec..368f1a727 100644 --- a/chart-sdk/angular/accumulation-charts/chart-print.md +++ b/chart-sdk/angular/accumulation-charts/chart-print.md @@ -1,6 +1,6 @@ --- layout: post -title: Print and Export in Angular Accumulation Chart | Syncfusion +title: Chart print in Angular Accumulation chart component | Syncfusion description: Learn here all about Chart print in Syncfusion Angular Accumulation chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Chart print @@ -8,7 +8,7 @@ documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Print and Export in Angular Accumulation Chart +# Chart print in Angular Accumulation chart component ## Print diff --git a/chart-sdk/angular/accumulation-charts/data-label.md b/chart-sdk/angular/accumulation-charts/data-label.md index b08ec4045..710f4597b 100644 --- a/chart-sdk/angular/accumulation-charts/data-label.md +++ b/chart-sdk/angular/accumulation-charts/data-label.md @@ -1,6 +1,6 @@ --- layout: post -title: Data Label in Angular Accumulation Chart | Syncfusion +title: Data label in Angular Accumulation chart component | Syncfusion description: Learn here all about Data label in Syncfusion Angular Accumulation chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Data label @@ -8,9 +8,9 @@ documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Data Label in Angular Accumulation Chart +# Data label in Angular Accumulation chart component -Data label can be added to a chart series by enabling the [`visible`](https://ej2.syncfusion.com/angular/documentation/api/accumulation-chart/accumulationDataLabelSettings#visible) option in the dataLabel property. +Data label can be added to a chart series by enabling the [`visible`](https://ej2.syncfusion.com/angular/documentation/api/accumulation-chart/accumulationDataLabelSettings/#visible) option in the dataLabel property. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -62,7 +62,7 @@ Using `angle` property, you can rotate the data label by its given angle. ## Smart labels -Data labels will be arranged smartly without overlapping with each other. You can enable or disable this feature using the [`enableSmartLabels`](https://ej2.syncfusion.com/angular/documentation/api/accumulation-chart/accumulationChartModel#enablesmartlabels) property. +Data labels will be arranged smartly without overlapping with each other. You can enable or disable this feature using the [`enableSmartLabels`](https://ej2.syncfusion.com/angular/documentation/api/accumulation-chart/accumulationChartModel/#enablesmartlabels) property. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -78,7 +78,7 @@ Data labels will be arranged smartly without overlapping with each other. You ca ## Format -Data label for the accumulation chart can be formatted using [`format`](https://ej2.syncfusion.com/angular/documentation/api/accumulation-chart/accumulationChartModel#format) property. You can use the global formatting options, such as 'n', 'p', and 'c'. +Data label for the accumulation chart can be formatted using [`format`](https://ej2.syncfusion.com/angular/documentation/api/accumulation-chart/accumulationChartModel/#format) property. You can use the global formatting options, such as 'n', 'p', and 'c'. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -151,7 +151,7 @@ Data label for the accumulation chart can be formatted using [`format`](https:// ## DataLabel template Label content can be formatted by using the template option. Inside the template, you can add the placeholder text `${point.x}` and `${point.y}` to display corresponding data points x & y value. Using -[`template`](https://ej2.syncfusion.com/angular/documentation/api/accumulation-chart/accumulationDataLabelSettings#template)property, you can set data label template in chart. +[`template`](https://ej2.syncfusion.com/angular/documentation/api/accumulation-chart/accumulationDataLabelSettings/#template)property, you can set data label template in chart. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -216,7 +216,7 @@ Individual text can be customized using the `textRender` event. ## Text wrap -When the data label text exceeds the container, the text can be wrapped by using [`textWrap`](https://ej2.syncfusion.com/angular/documentation/api/accumulation-chart/accumulationDataLabelSettings#textwrap) property. End user can also wrap the data label text based on [`maxWidth`](https://ej2.syncfusion.com/angular/documentation/api/accumulation-chart/accumulationDataLabelSettings#maxwidth) property. +When the data label text exceeds the container, the text can be wrapped by using [`textWrap`](https://ej2.syncfusion.com/angular/documentation/api/accumulation-chart/accumulationDataLabelSettings/#textwrap) property. End user can also wrap the data label text based on [`maxWidth`](https://ej2.syncfusion.com/angular/documentation/api/accumulation-chart/accumulationDataLabelSettings/#maxwidth) property. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -236,7 +236,7 @@ You can show the percentages in data labels of pie chart using `textRender` even ### Using textRender event -You can customize the data label of pie chart using [textRender](https://ej2.syncfusion.com/angular/documentation/api/accumulation-chart#textrender) event as follows to show percentage. +You can customize the data label of pie chart using [textRender](https://ej2.syncfusion.com/angular/documentation/api/accumulation-chart/#textrender) event as follows to show percentage. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} diff --git a/chart-sdk/angular/accumulation-charts/dynamic-data-update.md b/chart-sdk/angular/accumulation-charts/dynamic-data-update.md index 5555857f3..2e3de5427 100644 --- a/chart-sdk/angular/accumulation-charts/dynamic-data-update.md +++ b/chart-sdk/angular/accumulation-charts/dynamic-data-update.md @@ -1,6 +1,6 @@ --- layout: post -title: Dynamic Data Update in Angular Accumulation Chart | Syncfusion +title: Dynamic data update in Accumulation Chart component | Syncfusion description: Learn here all about dynamic data update in Syncfusion Accumulation Chart component in Syncfusion Essential JS 2 and more. platform: chart-sdk control: Dynamic Data Update @@ -8,11 +8,11 @@ documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Dynamic Data Update in Angular Accumulation Chart +# Dynamic data update in Angular Accumulation Chart component ## Adding a new data point -The [`addPoint`](https://ej2.syncfusion.com/angular/documentation/api/accumulation-chart/accumulationSeriesModel#addpoint) method is used to dynamically add a new data point to the accumulation 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 accumulation chart. This method takes two parameters: +The [`addPoint`](https://ej2.syncfusion.com/angular/documentation/api/accumulation-chart/accumulationSeriesModel/#addpoint) method is used to dynamically add a new data point to the accumulation 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 accumulation 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. @@ -31,7 +31,7 @@ The [`addPoint`](https://ej2.syncfusion.com/angular/documentation/api/accumulati ## Removing an existing data point -The [`removePoint`](https://ej2.syncfusion.com/angular/documentation/api/accumulation-chart/accumulationSeriesModel#removepoint) method is used to dynamically remove a data point from the accumulation chart series. This method is particularly useful when you want to update the accumulation chart by removing an existing data point without having to refresh the entire accumulation chart. This method takes two parameters: +The [`removePoint`](https://ej2.syncfusion.com/angular/documentation/api/accumulation-chart/accumulationSeriesModel/#removepoint) method is used to dynamically remove a data point from the accumulation chart series. This method is particularly useful when you want to update the accumulation chart by removing an existing data point without having to refresh the entire accumulation 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. @@ -50,7 +50,7 @@ The [`removePoint`](https://ej2.syncfusion.com/angular/documentation/api/accumul ## Replacing entire data points -To replace the existing data source in the accumulation chart with a new data source, you can simply use the [`setData`](https://ej2.syncfusion.com/angular/documentation/api/accumulation-chart/accumulationSeriesModel#setdata) method. This method allows you to replace the existing data points in the accumulation chart series with a new set of data points, enabling you to easily update the accumulation chart with new information. This method takes two parameters: +To replace the existing data source in the accumulation chart with a new data source, you can simply use the [`setData`](https://ej2.syncfusion.com/angular/documentation/api/accumulation-chart/accumulationSeriesModel/#setdata) method. This method allows you to replace the existing data points in the accumulation chart series with a new set of data points, enabling you to easily update the accumulation 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. diff --git a/chart-sdk/angular/accumulation-charts/ej1-api-migration.md b/chart-sdk/angular/accumulation-charts/ej1-api-migration.md index 6c0c71a7f..dc2d0ef89 100644 --- a/chart-sdk/angular/accumulation-charts/ej1-api-migration.md +++ b/chart-sdk/angular/accumulation-charts/ej1-api-migration.md @@ -1,6 +1,6 @@ --- layout: post -title: Migration from EJS1 in Angular Accumulation Chart | Syncfusion +title: Ej1 api migration in Angular Accumulation chart component | Syncfusion description: Learn here all about Ej1 api migration in Syncfusion Angular Accumulation chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Ej1 api migration @@ -10,7 +10,7 @@ domainurl: https://help.syncfusion.com/chart-sdk -# Migration from Essential JS 1 in Angular Accumulation Chart +# Ej1 api migration in Angular Accumulation chart component This article describes the API migration process of {Component Name} component from Essential® JS 1 to Essential® JS 2. diff --git a/chart-sdk/angular/accumulation-charts/empty-points.md b/chart-sdk/angular/accumulation-charts/empty-points.md index 9b707b8e5..a5603a211 100644 --- a/chart-sdk/angular/accumulation-charts/empty-points.md +++ b/chart-sdk/angular/accumulation-charts/empty-points.md @@ -1,6 +1,6 @@ --- layout: post -title: Empty Points in Angular Accumulation Chart | Syncfusion +title: Empty points in Angular Accumulation chart component | Syncfusion description: Learn here all about Empty points in Syncfusion Angular Accumulation chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Empty points @@ -8,7 +8,7 @@ documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Empty Points in Angular Accumulation Chart +# Empty points in Angular Accumulation chart component The data points those uses the `null` or `undefined` as value are considered as empty points. The empty data points are ignored and not plotted in the chart. You can customize those points, using the `emptyPointSettings` property in series. The default mode of the empty point is `Gap`. Other supported modes are `Average` and `Zero`. diff --git a/chart-sdk/angular/accumulation-charts/funnel.md b/chart-sdk/angular/accumulation-charts/funnel.md index fed08fc91..afecdaad5 100644 --- a/chart-sdk/angular/accumulation-charts/funnel.md +++ b/chart-sdk/angular/accumulation-charts/funnel.md @@ -1,6 +1,6 @@ --- layout: post -title: Funnel in Angular Accumulation Chart | Syncfusion +title: Funnel in Angular Accumulation chart component | Syncfusion description: Learn here all about Funnel in Syncfusion Angular Accumulation chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Funnel @@ -8,9 +8,9 @@ documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Funnel in Angular Accumulation Chart +# Funnel in Angular Accumulation chart component -To render a funnel series, use the series [`type`](https://ej2.syncfusion.com/angular/documentation/api/accumulation-chart/accumulationSeries#type) as `Funnel` and inject, the `FunnelSeries` module into the `@NgModule.providers`. +To render a funnel series, use the series [`type`](https://ej2.syncfusion.com/angular/documentation/api/accumulation-chart/accumulationSeries/#type) as `Funnel` and inject, the `FunnelSeries` module into the `@NgModule.providers`. To known about funnel charts, you can check on this video: @@ -126,7 +126,7 @@ Individual points can be customized using the `pointRender` event. ## Modes -The Funnel chart supports both Standard and Trapezoidal modes of rendering. The default value of the [`funnelMode`](https://helpej2.syncfusion.com/angular/documentation/api/accumulation-chart/funnelModes) is `Standard`. +The Funnel chart supports both Standard and Trapezoidal modes of rendering. The default value of the [`funnelMode`](https://helpej2.syncfusion.com/angular/documentation/api/accumulation-chart/funnelModes/) is `Standard`. ### Standard @@ -162,5 +162,5 @@ The `Trapezoidal` mode is a modified funnel shape where the width narrows, but f ## See Also -* [Data label](./data-label) -* [Grouping](./grouping) \ No newline at end of file +* [Data label](./data-label/) +* [Grouping](./grouping/) \ No newline at end of file diff --git a/chart-sdk/angular/accumulation-charts/getting-started.md b/chart-sdk/angular/accumulation-charts/getting-started.md index 404dc41d3..e4ea6884d 100644 --- a/chart-sdk/angular/accumulation-charts/getting-started.md +++ b/chart-sdk/angular/accumulation-charts/getting-started.md @@ -1,14 +1,14 @@ --- layout: post -title: Getting Started with Angular Accumulation Chart | Syncfusion -description: Check out and learn about Getting Started with Angular Accumulation Chart component of Syncfusion Essential JS 2 and more details. +title: Getting Started with Angular Accumulation Chart component | Syncfusion +description: Check out and learn about Getting Started with Angular Accumulation Chart component of Syncfusion Essential JS 2 and more details. platform: chart-sdk control: Getting Started documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Getting Started with Angular Accumulation Chart +# Getting Started with Angular Accumulation Chart Component This section explains the steps required to create a simple accumulation chart and demonstrates the basic usage of the [Angular Accumulation Chart](https://www.syncfusion.com/angular-components/angular-charts) component. diff --git a/chart-sdk/angular/accumulation-charts/gradient.md b/chart-sdk/angular/accumulation-charts/gradient.md index 03ac28060..63a7611c3 100644 --- a/chart-sdk/angular/accumulation-charts/gradient.md +++ b/chart-sdk/angular/accumulation-charts/gradient.md @@ -1,14 +1,14 @@ --- layout: post -title: Gradient in Angular Accumulation Chart | Syncfusion -description: Learn here all about Gradient in Syncfusion Angular Accumulation chart component of Syncfusion Essential JS 2 and more. +title: Gradient in Angular Accumulation chart component | Syncfusion +description: Learn here all abount Gradient in Syncfusion Angular Accumulation chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Gradient +control: Gradient documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Gradient in Angular Accumulation Chart +# Gradient in Angular Accumulation chart component Gradients add depth and modern styling to charts by smoothly blending multiple colors. The Charts component supports two gradient types: diff --git a/chart-sdk/angular/accumulation-charts/grouping.md b/chart-sdk/angular/accumulation-charts/grouping.md index 9e6e50338..41da24906 100644 --- a/chart-sdk/angular/accumulation-charts/grouping.md +++ b/chart-sdk/angular/accumulation-charts/grouping.md @@ -1,6 +1,6 @@ --- layout: post -title: Grouping in Angular Accumulation Chart | Syncfusion +title: Grouping in Angular Accumulation chart component | Syncfusion description: Learn here all about Grouping in Syncfusion Angular Accumulation chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Grouping @@ -8,9 +8,9 @@ documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Grouping in Angular Accumulation Chart +# Grouping in Angular Accumulation chart component -You can club/group few points of the series based on [`groupTo`](https://ej2.syncfusion.com/angular/documentation/api/accumulation-chart/accumulationSeries#groupto) property. For example, if the club value is 11, then the points with value less than 11 is grouped together and will be showed as a single point with label `others`. The property also takes value in percentage (percentage of total data points value). +You can club/group few points of the series based on [`groupTo`](https://ej2.syncfusion.com/angular/documentation/api/accumulation-chart/accumulationSeries/#groupto) property. For example, if the club value is 11, then the points with value less than 11 is grouped together and will be showed as a single point with label `others`. The property also takes value in percentage (percentage of total data points value). {% tabs %} {% highlight ts tabtitle="app.component.ts" %} diff --git a/chart-sdk/angular/accumulation-charts/legend.md b/chart-sdk/angular/accumulation-charts/legend.md index 3612884af..c259535f3 100644 --- a/chart-sdk/angular/accumulation-charts/legend.md +++ b/chart-sdk/angular/accumulation-charts/legend.md @@ -1,6 +1,6 @@ --- layout: post -title: Legend in Angular Accumulation Chart | Syncfusion +title: Legend in Angular Accumulation chart component | Syncfusion description: Learn here all about Legend in Syncfusion Angular Accumulation chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Legend @@ -8,7 +8,7 @@ documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Legend in Angular Accumulation Chart +# Legend in Angular Accumulation chart component As like a chart, the legend is also available for accumulation charts, which gives information about the points. By default, the legend will be placed on the right, if the width of the chart is high or will be placed on the bottom, if the height of the chart is high. Other customization features regarding the legend element are same as the [`chart legend`](http://ej2.syncfusion.com/documentation/chart/legend.html#position-and-alignment). diff --git a/chart-sdk/angular/accumulation-charts/pie-dough-nut.md b/chart-sdk/angular/accumulation-charts/pie-dough-nut.md index 401f7d8bf..267fa4359 100644 --- a/chart-sdk/angular/accumulation-charts/pie-dough-nut.md +++ b/chart-sdk/angular/accumulation-charts/pie-dough-nut.md @@ -1,14 +1,14 @@ --- layout: post -title: Pie and Doughnut in Angular Accumulation Chart | Syncfusion -description: Learn here all about Pie and Doughnut in Syncfusion Angular Accumulation chart component of Syncfusion Essential JS 2 and more. +title: Pie dough nut in Angular Accumulation chart component | Syncfusion +description: Learn here all about Pie dough nut in Syncfusion Angular Accumulation chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Pie and Doughnut +control: Pie dough nut documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Pie and Doughnut in Angular Accumulation Chart +# Pie dough nut in Angular Accumulation chart component ## Pie Chart diff --git a/chart-sdk/angular/accumulation-charts/pyramid.md b/chart-sdk/angular/accumulation-charts/pyramid.md index ba9d42b87..49c0bb1aa 100644 --- a/chart-sdk/angular/accumulation-charts/pyramid.md +++ b/chart-sdk/angular/accumulation-charts/pyramid.md @@ -1,6 +1,6 @@ --- layout: post -title: Pyramid in Angular Accumulation Chart | Syncfusion +title: Pyramid in Angular Accumulation chart component | Syncfusion description: Learn here all about Pyramid in Syncfusion Angular Accumulation chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Pyramid @@ -8,9 +8,9 @@ documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Pyramid in Angular Accumulation Chart +# Pyramid in Angular Accumulation chart component -To render a pyramid series, use the series [`type`](https://ej2.syncfusion.com/angular/documentation/api/accumulation-chart/accumulationSeriesModel#type) as `Pyramid` and inject `PyramidSeries` module into the `@NgModule.providers`. +To render a pyramid series, use the series [`type`](https://ej2.syncfusion.com/angular/documentation/api/accumulation-chart/accumulationSeriesModel/#type) as `Pyramid` and inject `PyramidSeries` module into the `@NgModule.providers`. To known about pyramid, you can check on this video: diff --git a/chart-sdk/angular/accumulation-charts/title-and-sub-title.md b/chart-sdk/angular/accumulation-charts/title-and-sub-title.md index 129b7d38f..6012f1080 100644 --- a/chart-sdk/angular/accumulation-charts/title-and-sub-title.md +++ b/chart-sdk/angular/accumulation-charts/title-and-sub-title.md @@ -8,9 +8,9 @@ documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Title and Subtitle in Angular Accumulation Chart +# Title and sub title in Angular Accumulation chart component -Accumulation Chart can be given a title using [`title`](https://ej2.syncfusion.com/angular/documentation/api/accumulation-chart#title) property, to show the information about the data plotted. +Accumulation Chart can be given a title using [`title`](https://ej2.syncfusion.com/angular/documentation/api/accumulation-chart/#title) property, to show the information about the data plotted. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -26,7 +26,7 @@ Accumulation Chart can be given a title using [`title`](https://ej2.syncfusion.c ## Title customization -Accumulation Chart can be customizing a title using [`titleStyle`](https://ej2.syncfusion.com/angular/documentation/api/accumulation-chart/accumulationChartModel#titlestyle) property. +Accumulation Chart can be customizing a title using [`titleStyle`](https://ej2.syncfusion.com/angular/documentation/api/accumulation-chart/accumulationChartModel/#titlestyle) property. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -42,7 +42,7 @@ Accumulation Chart can be customizing a title using [`titleStyle`](https://ej2.s ### Position -The [`position`](https://helpej2.syncfusion.com/angular/documentation/api/accumulation-chart/titlePosition) property customizes the placement of the accumulation chart title. It supports the following options: `Right`, `Left`, `Bottom`, `Top`, and `Custom`. The custom option allows you to position the title anywhere on the chart using x and y coordinates, providing flexible title alignment based on layout requirements. +The [`position`](https://helpej2.syncfusion.com/angular/documentation/api/accumulation-chart/titlePosition/) property customizes the placement of the accumulation chart title. It supports the following options: `Right`, `Left`, `Bottom`, `Top`, and `Custom`. The custom option allows you to position the title anywhere on the chart using x and y coordinates, providing flexible title alignment based on layout requirements. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -58,7 +58,7 @@ The [`position`](https://helpej2.syncfusion.com/angular/documentation/api/accumu ## SubTitle -Accumulation Chart can be given a subtitle using [`subTitle`](https://ej2.syncfusion.com/angular/documentation/api/accumulation-chart/accumulationChartModel#subtitle) property, to show the information +Accumulation Chart can be given a subtitle using [`subTitle`](https://ej2.syncfusion.com/angular/documentation/api/accumulation-chart/accumulationChartModel/#subtitle) property, to show the information about the data plotted. {% tabs %} @@ -75,7 +75,7 @@ about the data plotted. ## SubTitle customization -Accumulation Chart can be customizing a subtitle using [`subTitleStyle`](https://ej2.syncfusion.com/angular/documentation/api/accumulation-chart/accumulationChartModel#subtitlestyle) property. +Accumulation Chart can be customizing a subtitle using [`subTitleStyle`](https://ej2.syncfusion.com/angular/documentation/api/accumulation-chart/accumulationChartModel/#subtitlestyle) property. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -91,7 +91,7 @@ Accumulation Chart can be customizing a subtitle using [`subTitleStyle`](https:/ ### Position -The [`position`](https://helpej2.syncfusion.com/angular/documentation/api/accumulation-chart/titlePosition) property customizes the placement of the accumulation chart subtitle. It supports the following options: `Right`, `Left`, `Bottom`, `Top`, and `Custom`. The custom option allows you to position the subtitle anywhere on the chart using x and y coordinates, providing flexible subtitle alignment based on layout requirements. +The [`position`](https://helpej2.syncfusion.com/angular/documentation/api/accumulation-chart/titlePosition/) property customizes the placement of the accumulation chart subtitle. It supports the following options: `Right`, `Left`, `Bottom`, `Top`, and `Custom`. The custom option allows you to position the subtitle anywhere on the chart using x and y coordinates, providing flexible subtitle alignment based on layout requirements. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} diff --git a/chart-sdk/angular/accumulation-charts/tool-tip.md b/chart-sdk/angular/accumulation-charts/tool-tip.md index e301a0cbd..ca4150960 100644 --- a/chart-sdk/angular/accumulation-charts/tool-tip.md +++ b/chart-sdk/angular/accumulation-charts/tool-tip.md @@ -1,6 +1,6 @@ --- layout: post -title: Tooltip in Angular Accumulation Chart | Syncfusion +title: Tooltip in Angular Accumulation chart component | Syncfusion description: Learn here all about Tooltip in Syncfusion Angular Accumulation chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Tooltip @@ -8,7 +8,7 @@ documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Tooltip in Angular Accumulation Chart +# Tooltip in Angular Accumulation chart component Tooltip for the accumulation chart can be enabled by using the [`enable`](https://ej2.syncfusion.com/angular/documentation/api/accumulation-chart/tooltipSettings#enable) property. diff --git a/chart-sdk/angular/bullet-chart/accessibility.md b/chart-sdk/angular/bullet-chart/accessibility.md index 884283928..5a4f2130f 100644 --- a/chart-sdk/angular/bullet-chart/accessibility.md +++ b/chart-sdk/angular/bullet-chart/accessibility.md @@ -1,6 +1,6 @@ --- layout: post -title: Accessibility in Angular Bullet Chart | Syncfusion +title: Accessibility in Angular Bullet chart component | Syncfusion description: Learn here all about Accessibility in Syncfusion Angular Bullet chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Accessibility diff --git a/chart-sdk/angular/bullet-chart/axis-customization.md b/chart-sdk/angular/bullet-chart/axis-customization.md index 769279636..a443478f0 100644 --- a/chart-sdk/angular/bullet-chart/axis-customization.md +++ b/chart-sdk/angular/bullet-chart/axis-customization.md @@ -1,6 +1,6 @@ --- layout: post -title: Axis Customization in Angular Bullet Chart | Syncfusion +title: Axis customization in Angular Bullet chart component | Syncfusion description: Learn here all about Axis customization in Syncfusion Angular Bullet chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Axis customization @@ -8,11 +8,11 @@ documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Axis Customization in Angular Bullet Chart +# Axis customization in Angular Bullet chart component ## MajorTickLines and MinorTickLines Customization -The following properties can be used to customize [`majorTicklines`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart#majorticklines) and [`minorTicklines`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart#minorticklines). +The following properties can be used to customize [`majorTicklines`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart/#majorticklines) and [`minorTicklines`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart/#minorticklines). * **width** - Specifies the width of ticklines. * **height** - Specifies the height of ticklines. @@ -33,7 +33,7 @@ The following properties can be used to customize [`majorTicklines`](https://ej2 ## Tick Placement -The major and the minor ticks can be placed **inside** or **outside** the ranges using the [`tickPosition`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart#tickposition) property. +The major and the minor ticks can be placed **inside** or **outside** the ranges using the [`tickPosition`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart/#tickposition) property. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -49,7 +49,7 @@ The major and the minor ticks can be placed **inside** or **outside** the ranges ## Label Format -Axis numeric labels can be formatted by using the [`labelFormat`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart#labelformat) property. Axis labels support all globalize formats. +Axis numeric labels can be formatted by using the [`labelFormat`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart/#labelformat) property. Axis labels support all globalize formats. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -125,7 +125,7 @@ The following table describes the result of applying some commonly used formats ## GroupingSeparator -To separate the groups of thousands, set the [`enableGroupSeparator`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart#enablegroupseparator) property to **true**. +To separate the groups of thousands, set the [`enableGroupSeparator`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart/#enablegroupseparator) property to **true**. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -141,7 +141,7 @@ To separate the groups of thousands, set the [`enableGroupSeparator`](https://ej ## Custom Label Format -Using the [`labelFormat`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart#labelformat) property, axis labels can be specified with a custom defined format in addition to the axis value. The label format uses a placeholder such as **${value}K**, which represents the axis label. +Using the [`labelFormat`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart/#labelformat) property, axis labels can be specified with a custom defined format in addition to the axis value. The label format uses a placeholder such as **${value}K**, which represents the axis label. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -157,7 +157,7 @@ Using the [`labelFormat`](https://ej2.syncfusion.com/angular/documentation/api/b ## Label Placement -Label can be placed **Inside** or **Outside** of the ranges using the [`labelPosition`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart#labelposition) property. +Label can be placed **Inside** or **Outside** of the ranges using the [`labelPosition`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart/#labelposition) property. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -173,7 +173,7 @@ Label can be placed **Inside** or **Outside** of the ranges using the [`labelPos ## Opposed Position -To place an axis opposite to its original position, set the [`opposedPosition`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart#opposedposition) property to **true**. +To place an axis opposite to its original position, set the [`opposedPosition`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart/#opposedposition) property to **true**. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -189,7 +189,7 @@ To place an axis opposite to its original position, set the [`opposedPosition`]( ## Category Label -The Bullet Chart supports X-axis label by specifying the property from the data source to the [`categoryField`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart#categoryfield). It helps to understand the input data in a more efficient way. +The Bullet Chart supports X-axis label by specifying the property from the data source to the [`categoryField`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart/#categoryfield). It helps to understand the input data in a more efficient way. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -205,7 +205,7 @@ The Bullet Chart supports X-axis label by specifying the property from the data ## Category Label Customization -The label color, opacity, font size, font family, font weight, and font style can be customized by using the [`categoryLabelStyle`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart#categorylabelstyle) setting for category and the [`labelStyle`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart#labelstyle) setting for axis label. The [`useRangeColor`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart/bulletLabelStyleModel#userangecolor) property specifies the color of the axis label and represents the color from the corresponding range colors. +The label color, opacity, font size, font family, font weight, and font style can be customized by using the [`categoryLabelStyle`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart/#categorylabelstyle) setting for category and the [`labelStyle`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart/#labelstyle) setting for axis label. The [`useRangeColor`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart/bulletLabelStyleModel/#userangecolor) property specifies the color of the axis label and represents the color from the corresponding range colors. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} diff --git a/chart-sdk/angular/bullet-chart/bullet-chart-dimensions.md b/chart-sdk/angular/bullet-chart/bullet-chart-dimensions.md index 38bc79f51..a7dd2b10e 100644 --- a/chart-sdk/angular/bullet-chart/bullet-chart-dimensions.md +++ b/chart-sdk/angular/bullet-chart/bullet-chart-dimensions.md @@ -1,6 +1,6 @@ --- layout: post -title: Dimensions in Angular Bullet Chart | Syncfusion +title: Bullet chart dimensions in Angular Bullet chart component | Syncfusion description: Learn here all about Bullet chart dimensions in Syncfusion Angular Bullet chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Bullet chart dimensions @@ -8,7 +8,7 @@ documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Dimensions in Angular Bullet Chart +# Bullet chart dimensions in Angular Bullet chart component ## Size for Container @@ -55,7 +55,7 @@ export class AppComponent { -The [`width`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart#width) and [`height`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart#height) properties are used to adjust the size of the Bullet Chart. +The [`width`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart/#width) and [`height`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart/#height) properties are used to adjust the size of the Bullet Chart. ### Pixel diff --git a/chart-sdk/angular/bullet-chart/comparative-bar.md b/chart-sdk/angular/bullet-chart/comparative-bar.md index 100338a47..ec0bfae04 100644 --- a/chart-sdk/angular/bullet-chart/comparative-bar.md +++ b/chart-sdk/angular/bullet-chart/comparative-bar.md @@ -1,6 +1,6 @@ --- layout: post -title: Target Bar in Angular Bullet Chart | Syncfusion +title: Comparative bar in Angular Bullet chart component | Syncfusion description: Learn here all about Comparative bar in Syncfusion Angular Bullet chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Comparative bar @@ -9,9 +9,9 @@ domainurl: https://help.syncfusion.com/chart-sdk --- -# Target Bar in Angular Bullet Chart +# Comparative bar in Angular Bullet chart component -The line marker that runs perpendicular to the orientation of the graph is known as the **Comparative Measure** and it is used as a target marker to compare against the feature measure value. This is also called as the **Target Bar** in the Bullet Chart. To display the target bar, the [`targetField`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart#targetfield) should be mapped to the appropriate field from the datasource. +The line marker that runs perpendicular to the orientation of the graph is known as the **Comparative Measure** and it is used as a target marker to compare against the feature measure value. This is also called as the **Target Bar** in the Bullet Chart. To display the target bar, the [`targetField`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart/#targetfield) should be mapped to the appropriate field from the datasource. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -27,7 +27,7 @@ The line marker that runs perpendicular to the orientation of the graph is known ## Types of target bar -The shape of the target bar can be customized using the [`targetTypes`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart#targettypes) property and it supports **Circle**, **Cross**, and **Rect** shapes. The default type of the target bar is **Rect**. +The shape of the target bar can be customized using the [`targetTypes`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart/#targettypes) property and it supports **Circle**, **Cross**, and **Rect** shapes. The default type of the target bar is **Rect**. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -43,10 +43,10 @@ The shape of the target bar can be customized using the [`targetTypes`](https:// ## Target bar customization -The following properties can be used to customize the target bar. Also, you can bind the color for the target bar from [`dataSource`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart#datasource) for the bullet chart. +The following properties can be used to customize the target bar. Also, you can bind the color for the target bar from [`dataSource`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart/#datasource) for the bullet chart. -* [`targetColor`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart#targetcolor) - Specifies the fill color of Target Bar. -* [`targetWidth`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart#targetwidth) - Specifies the width of Target Bar. +* [`targetColor`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart/#targetcolor) - Specifies the fill color of Target Bar. +* [`targetWidth`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart/#targetwidth) - Specifies the width of Target Bar. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} diff --git a/chart-sdk/angular/bullet-chart/customization.md b/chart-sdk/angular/bullet-chart/customization.md index e1d1e8297..40ecf7d7d 100644 --- a/chart-sdk/angular/bullet-chart/customization.md +++ b/chart-sdk/angular/bullet-chart/customization.md @@ -1,6 +1,6 @@ --- layout: post -title: Customization in Angular Bullet Chart | Syncfusion +title: Customization in Angular Bullet chart component | Syncfusion description: Learn here all about Customization in Syncfusion Angular Bullet chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Customization @@ -9,11 +9,11 @@ domainurl: https://help.syncfusion.com/chart-sdk --- -# Customization in Angular Bullet Chart +# Customization in Angular Bullet chart component ## Orientation -The Bullet Chart can be rendered in different orientations such as **Horizontal** or **Vertical** via the [`orientation`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart#orientation) property. By default, the Bullet Chart is rendered in the **Horizontal** orientation. +The Bullet Chart can be rendered in different orientations such as **Horizontal** or **Vertical** via the [`orientation`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart/#orientation) property. By default, the Bullet Chart is rendered in the **Horizontal** orientation. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -29,7 +29,7 @@ The Bullet Chart can be rendered in different orientations such as **Horizontal* ## Right-to-left (RTL) -The Bullet Chart supports the right-to-left rendering that can be enabled by setting the [`enableRtl`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart#enablertl) property to **true**. +The Bullet Chart supports the right-to-left rendering that can be enabled by setting the [`enableRtl`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart/#enablertl) property to **true**. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -45,7 +45,7 @@ The Bullet Chart supports the right-to-left rendering that can be enabled by set ## Animation -The actual and the target bar supports the linear animation via the [`animation`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart#animation) setting. The speed and the delay are controlled using the `duration` and `delay` properties respectively. +The actual and the target bar supports the linear animation via the [`animation`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart/#animation) setting. The speed and the delay are controlled using the `duration` and `delay` properties respectively. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -61,7 +61,7 @@ The actual and the target bar supports the linear animation via the [`animation` ## Theme -The Bullet Chart supports different type of themes via the [`theme`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart#theme) property. +The Bullet Chart supports different type of themes via the [`theme`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart/#theme) property. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} diff --git a/chart-sdk/angular/bullet-chart/data-binding.md b/chart-sdk/angular/bullet-chart/data-binding.md index ecae80eb5..b0c74f8d0 100644 --- a/chart-sdk/angular/bullet-chart/data-binding.md +++ b/chart-sdk/angular/bullet-chart/data-binding.md @@ -1,6 +1,6 @@ --- layout: post -title: Working with Data in Angular Bullet Chart | Syncfusion +title: Data binding in Angular Bullet chart component | Syncfusion description: Learn here all about Data binding in Syncfusion Angular Bullet chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Data binding @@ -9,13 +9,13 @@ domainurl: https://help.syncfusion.com/chart-sdk --- -# Working with Data in Angular Bullet Chart +# Data binding in Angular Bullet chart component -Bullet Chart can visualize data bound from local or remote data. +Bullet Chart can visualise data bound from local or remote data. ## Local Data -The [`dataSource`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart#datasource) property accepts a collection of values as input that helps to display measures, and compares them to a target bar. To display the actual and target bar, specify the property from the datasource into the [`valueField`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart#valuefield) and [`targetField`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart#targetfield) respectively. +The [`dataSource`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart/#datasource) property accepts a collection of values as input that helps to display measures, and compares them to a target bar. To display the actual and target bar, specify the property from the datasource into the [`valueField`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart/#valuefield) and [`targetField`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart/#targetfield) respectively. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} diff --git a/chart-sdk/angular/bullet-chart/data-label.md b/chart-sdk/angular/bullet-chart/data-label.md index 4ca5ce248..c6f6d247c 100644 --- a/chart-sdk/angular/bullet-chart/data-label.md +++ b/chart-sdk/angular/bullet-chart/data-label.md @@ -1,6 +1,6 @@ --- layout: post -title: Data Labels in Angular Bullet Chart | Syncfusion +title: Data label in Angular Bullet chart component | Syncfusion description: Learn here all about Data label in Syncfusion Angular Bullet chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Data label @@ -9,9 +9,9 @@ domainurl: https://help.syncfusion.com/chart-sdk --- -# Data Labels in Angular Bullet Chart +# Data label in Angular Bullet chart component -Data Labels are used to identify the value of actual bar in the Bullet Chart component. The Data Labels will be shown by specifying the [`dataLabel`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart#datalabel) setting's [`enable`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart/bulletDataLabelModel#enable) property to **true**. +Data Labels are used to identify the value of actual bar in the Bullet Chart component. The Data Labels will be shown by specifying the [`dataLabel`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart/#datalabel) setting's [`enable`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart/bulletDataLabelModel/#enable) property to **true**. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -27,7 +27,7 @@ Data Labels are used to identify the value of actual bar in the Bullet Chart com ## Data Label Customization -Data Labels color, opacity, font size, font family, font weight, and font style can be customized using the [`labelStyle`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart/bulletDataLabelModel#labelstyle). +Data Labels color, opacity, font size, font family, font weight, and font style can be customized using the [`labelStyle`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart/bulletDataLabelModel/#labelstyle). {% tabs %} {% highlight ts tabtitle="app.component.ts" %} diff --git a/chart-sdk/angular/bullet-chart/getting-started.md b/chart-sdk/angular/bullet-chart/getting-started.md index d35c5e685..7850da5e7 100644 --- a/chart-sdk/angular/bullet-chart/getting-started.md +++ b/chart-sdk/angular/bullet-chart/getting-started.md @@ -1,6 +1,6 @@ --- layout: post -title: Getting Started with Angular Bullet Chart | Syncfusion +title: Getting Started with Angular Bullet Chart component | Syncfusion description: Check out and learn about Getting Started with Angular Bullet Chart component of Syncfusion Essential JS 2 and more details. platform: chart-sdk control: Getting Started @@ -8,7 +8,7 @@ documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Getting Started with Angular Bullet Chart +# Getting Started with Angular Bullet Chart Component This section explains the steps required to create a simple [Angular Bullet Chart](https://www.syncfusion.com/angular-components/angular-bullet-chart) and demonstrates the basic usage of the Angular Bullet Chart component. diff --git a/chart-sdk/angular/bullet-chart/ranges.md b/chart-sdk/angular/bullet-chart/ranges.md index ae436a036..00a9b96fc 100644 --- a/chart-sdk/angular/bullet-chart/ranges.md +++ b/chart-sdk/angular/bullet-chart/ranges.md @@ -1,6 +1,6 @@ --- layout: post -title: Ranges in Angular Bullet Chart | Syncfusion +title: Ranges in Angular Bullet chart component | Syncfusion description: Learn here all about Ranges in Syncfusion Angular Bullet chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Ranges @@ -9,9 +9,9 @@ domainurl: https://help.syncfusion.com/chart-sdk --- -# Ranges in Angular Bullet Chart +# Ranges in Angular Bullet chart component -Ranges represent the quality of a specific range such as **Good**, **Bad** and **Satisfactory** in the Bullet Chart scale. The ending point of a qualitative range is specified in the [`end`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart/rangeModel#end) property in [`ranges`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart#ranges). The [`minimum`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart#minimum) value of a quantitative scale is considered the starting point of the first range or the previous range end point. +Ranges represent the quality of a specific range such as **Good**, **Bad** and **Satisfactory** in the Bullet Chart scale. The ending point of a qualitative range is specified in the [`end`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart/rangeModel/#end) property in [`ranges`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart/#ranges). The [`minimum`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart/#minimum) value of a quantitative scale is considered the starting point of the first range or the previous range end point. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -27,7 +27,7 @@ Ranges represent the quality of a specific range such as **Good**, **Bad** and * ## Color Customization -Enhance the readability of ranges with color and opacity. It can be applied using the [`color`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart/rangeModel#color) and [`opacity`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart/rangeModel#opacity) properties in [`ranges`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart#ranges). +Enhance the readability of ranges with color and opacity. It can be applied using the [`color`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart/rangeModel/#color) and [`opacity`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart/rangeModel/#opacity) properties in [`ranges`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart/#ranges). {% tabs %} {% highlight ts tabtitle="app.component.ts" %} diff --git a/chart-sdk/angular/bullet-chart/title.md b/chart-sdk/angular/bullet-chart/title.md index 8d046bf90..e53bd30a0 100644 --- a/chart-sdk/angular/bullet-chart/title.md +++ b/chart-sdk/angular/bullet-chart/title.md @@ -1,6 +1,6 @@ --- layout: post -title: Title and Subtitle in Angular Bullet Chart | Syncfusion +title: Title in Angular Bullet chart component | Syncfusion description: Learn here all about Title in Syncfusion Angular Bullet chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Title @@ -9,7 +9,7 @@ domainurl: https://help.syncfusion.com/chart-sdk --- -# Title and Subtitle in Angular Bullet Chart +# Title in Angular Bullet chart component ## Title diff --git a/chart-sdk/angular/bullet-chart/tool-tip.md b/chart-sdk/angular/bullet-chart/tool-tip.md index 9088c3920..7d00a934a 100644 --- a/chart-sdk/angular/bullet-chart/tool-tip.md +++ b/chart-sdk/angular/bullet-chart/tool-tip.md @@ -1,6 +1,6 @@ --- layout: post -title: Tooltip in Angular Bullet Chart | Syncfusion +title: Tool tip in Angular Bullet chart component | Syncfusion description: Learn here all about Tool tip in Syncfusion Angular Bullet chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Tool tip @@ -8,7 +8,7 @@ documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Tooltip in Angular Bullet Chart +# Tool tip in Angular Bullet chart component When the mouse is hovered over a bar in the Bullet Chart, the tooltip displays important summary about the actual and the target bar values. @@ -30,7 +30,7 @@ You can enable the tooltip for the Bullet Chart by setting the [`enable`](https: ## Tooltip Template -Any HTML elements can be displayed in the tooltip by using the [`template`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart/bulletTooltipSettingsModel#template) property of the [`tooltip`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart#tooltip). You can use the **${target}** and **${value}** as place holders in the HTML element to display the value and target values from the data source of corresponding data point. +Any HTML elements can be displayed in the tooltip by using the [`template`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart/bulletTooltipSettingsModel/#template) property of the [`tooltip`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart/#tooltip). You can use the **${target}** and **${value}** as place holders in the HTML element to display the value and target values from the data source of corresponding data point. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -48,9 +48,9 @@ Any HTML elements can be displayed in the tooltip by using the [`template`](http The following properties can be used to customize the Bullet Chart tooltip. -* [`fill`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart/bulletTooltipSettingsModel#fill) - Specifies the color of tooltip. -* [`border`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart/bulletTooltipSettingsModel#border) - Specifies the tooltip border color and width. -* [`textStyle`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart/bulletTooltipSettingsModel#textstyle) - Specifies the tooltip font family, font style, font weight, color and size. +* [`fill`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart/bulletTooltipSettingsModel/#fill) - Specifies the color of tooltip. +* [`border`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart/bulletTooltipSettingsModel/#border) - Specifies the tooltip border color and width. +* [`textStyle`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart/bulletTooltipSettingsModel/#textstyle) - Specifies the tooltip font family, font style, font weight, color and size. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} diff --git a/chart-sdk/angular/bullet-chart/value-bar.md b/chart-sdk/angular/bullet-chart/value-bar.md index 3cbc1a03a..ea7abe077 100644 --- a/chart-sdk/angular/bullet-chart/value-bar.md +++ b/chart-sdk/angular/bullet-chart/value-bar.md @@ -1,6 +1,6 @@ --- layout: post -title: Actual Bar in Angular Bullet Chart | Syncfusion +title: Value bar in Angular Bullet chart component | Syncfusion description: Learn here all about Value bar in Syncfusion Angular Bullet chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Value bar @@ -9,9 +9,9 @@ domainurl: https://help.syncfusion.com/chart-sdk --- -# Actual Bar in Angular Bullet Chart +# Value bar in Angular Bullet chart component -To display the primary data or the current value of the data being measured known as the **Feature Measure** that should be encoded as a bar. This is called as the **Actual Bar** or the **Feature Bar** in the Bullet Chart, and to display the actual bar the [`valueField`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart#valuefield) should be mapped to the appropriate field from the data source. +To display the primary data or the current value of the data being measured known as the **Feature Measure** that should be encoded as a bar. This is called as the **Actual Bar** or the **Feature Bar** in the Bullet Chart, and to display the actual bar the [`valueField`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart/#valuefield) should be mapped to the appropriate field from the data source. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -27,7 +27,7 @@ To display the primary data or the current value of the data being measured know ## Types of actual bar -The shape of the actual bar can be customized using the [`type`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart#type) property of the Bullet Chart. The actual bar contains **Rect** and **Dot** shapes. By default, the actual bar shape is Rect. +The shape of the actual bar can be customized using the [`type`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart/#type) property of the Bullet Chart. The actual bar contains **Rect** and **Dot** shapes. By default, the actual bar shape is Rect. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -45,7 +45,7 @@ The shape of the actual bar can be customized using the [`type`](https://ej2.syn ### Border customization -Using the [`valueBorder`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart#valueborder) property of the bullet chart, you can customize the border [`color`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart/border#color) and [`width`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart/border#width) of the actual bar. +Using the [`valueBorder`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart/#valueborder) property of the bullet chart, you can customize the border [`color`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart/border/#color) and [`width`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart/border/#width) of the actual bar. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -61,7 +61,7 @@ Using the [`valueBorder`](https://ej2.syncfusion.com/angular/documentation/api/b ### Fill color and height Customization -Customize the fill color and height of the actual bar using the [`valueFill`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart#valuefill) and [`valueHeight`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart#valueheight) properties of the bullet chart. Also, you can bind the color for the actual bar from [`dataSource`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart#datasource) for the bullet chart using [`valueFill`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart#valuefill) property. +Customize the fill color and height of the actual bar using the [`valueFill`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart/#valuefill) and [`valueHeight`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart/#valueheight) properties of the bullet chart. Also, you can bind the color for the actual bar from [`dataSource`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart#datasource) for the bullet chart using [`valueFill`](https://ej2.syncfusion.com/angular/documentation/api/bullet-chart#valuefill) property. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} diff --git a/chart-sdk/angular/charts/accessibility.md b/chart-sdk/angular/charts/accessibility.md index 8e81e31c4..a5ebaabec 100644 --- a/chart-sdk/angular/charts/accessibility.md +++ b/chart-sdk/angular/charts/accessibility.md @@ -1,6 +1,6 @@ --- layout: post -title: Accessibility in Angular Chart | Syncfusion +title: Accessibility in Angular Charts | Syncfusion description: Learn here all about Accessibility in Syncfusion Angular Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Accessibility @@ -8,9 +8,27 @@ documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Accessibility in Angular Chart +# Accessibility in Angular Charts -The Chart component follows the accessibility guidelines and standards, including [ADA](https://www.ada.gov), [Section 508](https://www.section508.gov), [WCAG 2.2](https://www.w3.org/TR/WCAG22), and relevant [WAI-ARIA](https://www.w3.org/TR/wai-aria/#roles) roles. +The Chart component follows the accessibility guidelines and standards, including [ADA](https://www.ada.gov), [Section 508](https://www.section508.gov), [WCAG 2.2](https://www.w3.org/TR/WCAG22), and relevant [WAI-ARIA](https://www.w3.org/TR/wai-aria#roles) roles. + +Accessibility features (keyboard navigation, ARIA wiring, and high-contrast support) are enabled by default. You can customize the accessible name and ARIA role of the chart using the [`accessibility`](https://ej2.syncfusion.com/angular/documentation/api/chart/accessibilitymodel) property (`accessibilityDescription` and `accessibilityRole`), and adjust the visible focus indicator with [`focusBorderColor`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartmodel#focusbordercolor), [`focusBorderWidth`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartmodel#focusborderwidth), and [`focusBorderMargin`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartmodel#focusbordermargin). Refer to the [Getting Started](../chart/getting-started) page for Angular and `@syncfusion/ej2-angular-charts` version requirements. + +## Configuring accessibility + +The following example shows how to provide an accessible description, set the ARIA role, and customize the focus border for the Chart. + +{% tabs %} +{% highlight ts tabtitle="app.component.ts" %} +{% include code-snippet/chart-sdk/angular/charts/series/accessibility-cs9/src/app.component.ts %} +{% endhighlight %} + +{% highlight ts tabtitle="main.ts" %} +{% include code-snippet/chart-sdk/angular/charts/series/accessibility-cs9/src/main.ts %} +{% endhighlight %} +{% endtabs %} + +{% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/series/accessibility-cs9" %} The Chart component's accessibility compliance is outlined below. @@ -41,18 +59,23 @@ The Chart component's accessibility compliance is outlined below. ## WAI-ARIA attributes -The Chart component follows the [WAI-ARIA](https://www.w3.org/WAI/ARIA/apg/patterns/alert) patterns to meet accessibility requirements. The following ARIA roles and attributes are used by the Chart component: +The Chart component follows the [WAI-ARIA](https://www.w3.org/WAI/ARIA) patterns to meet accessibility requirements. The following ARIA roles and attributes are used by the Chart component. + +**Roles** + +* `role="img"` - Applied to the chart container. +* `role="button"` - Applied to interactive elements such as legend items and selectable data points. +* `role="region"` - Applied to logical groupings within the chart (for example, the legend or plot area) so they are announced as named regions. + +**Attributes** -* `role="img"` -* `role="button"` -* `role="region"` -* `aria-label` -* `aria-hidden` -* `aria-pressed` +* `aria-label` - Provides an accessible name for the chart or for individual elements that have no visible text. +* `aria-hidden` - Hides purely decorative elements from assistive technologies. +* `aria-pressed` - Communicates the toggled state of interactive elements such as legend items. ## Keyboard interaction -The Chart component follows keyboard interaction guidelines to improve accessibility for assistive-technology and keyboard-only users. Below the shortcuts are grouped by context (mode) so it's clear which keys apply where. +The Chart component follows keyboard interaction guidelines to improve accessibility for users of assistive technology and for keyboard-only users. Shortcuts are grouped below by context (mode) so it is clear which keys apply where. **General navigation** @@ -70,8 +93,8 @@ The Chart component follows keyboard interaction guidelines to improve accessibi | --- | --- | | Left Arrow | Moves focus to the previous data point in the active series. | | Right Arrow | Moves focus to the next data point in the active series. | -| Up Arrow | Moves focus to the data point above (previous in vertical order) when applicable. | -| Down Arrow | Moves focus to the data point below (next in vertical order) when applicable. | +| Up Arrow | Moves focus to the data point above when applicable. | +| Down Arrow | Moves focus to the data point below when applicable. | | Enter / Space | Selects the focused data point. | **Legend focus mode** @@ -80,15 +103,15 @@ The Chart component follows keyboard interaction guidelines to improve accessibi | **Press** | **Action** | | --- | --- | -| Left Arrow | Move legend focus to the previous legend item. | -| Right Arrow | Move legend focus to the next legend item. | -| Up Arrow | Move legend focus up one item (if legend is vertical). | -| Down Arrow | Move legend focus down one item (if legend is vertical). | +| Left Arrow | Moves legend focus to the previous legend item. | +| Right Arrow | Moves legend focus to the next legend item. | +| Up Arrow | Moves legend focus up one item (if legend is vertical). | +| Down Arrow | Moves legend focus down one item (if legend is vertical). | | Enter / Space | Toggles visibility of the focused series (show/hide). | **Zoom / Pan mode** -(Enable zooming/panning in the chart configuration to use these shortcuts.) +(Enable zooming/panning in the chart's configuration to use these shortcuts.) | **Press** | **Action** | | --- | --- | @@ -101,8 +124,8 @@ The Chart component follows keyboard interaction guidelines to improve accessibi **Notes and clarifications** - The meaning of arrow keys depends on the current focus and mode: when the legend is focused, arrow keys move between legend items; when a data point or series is focused, arrow keys move between points/series; when pan/zoom is enabled and active, arrow keys pan the chart. -- Use Alt + J to quickly focus the chart container — from there use Tab or arrow keys to reach legend or data points. -- The table below shows the keys commonly supported; behavior can vary slightly depending on chart configuration (for example, stacked vs. grouped series) and platform. +- When more than one mode is active at the same time (for example, a data point has focus while pan is enabled), focus-based navigation takes precedence over panning. Press Esc to leave the data point and return pan control to the chart area. +- The table above shows the keys commonly supported; behavior can vary slightly depending on chart configuration (for example, stacked vs. grouped series) and platform. ## Ensuring accessibility @@ -114,4 +137,7 @@ The accessibility compliance of the Chart component is shown in the following sa ## See also -* [Accessibility in Angular components](../common/accessibility) \ No newline at end of file +* [Accessibility in Angular components](../common/accessibility) +* [Getting Started with Angular Chart](../chart/getting-started) +* [Legend in Angular Charts](../chart/legend) +* [Chart Events in Angular Charts](../chart/chart-events) \ No newline at end of file diff --git a/chart-sdk/angular/charts/advanced-accessibility-configuration.md b/chart-sdk/angular/charts/advanced-accessibility-configuration.md index 7d6c136ea..b41f58193 100644 --- a/chart-sdk/angular/charts/advanced-accessibility-configuration.md +++ b/chart-sdk/angular/charts/advanced-accessibility-configuration.md @@ -1,6 +1,6 @@ --- layout: post -title: Advanced Accessibility Configuration in Angular Chart | Syncfusion +title: Accessibility customization in Angular Charts | Syncfusion description: Learn here all about Accessibility customization in Syncfusion Angular Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Accessibility customization @@ -8,19 +8,37 @@ documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Advanced Accessibility Configuration in Angular Chart +# Accessibility customization in Angular Charts -The [Angular Charts](https://www.syncfusion.com/angular-components/angular-charts) component visualizes data graphically and provides accessibility customization options to improve usability for people with disabilities. The primary accessibility attributes are described in this section. +The [Angular Chart](https://www.syncfusion.com/angular-components/angular-charts) component visualizes data graphically and provides accessibility customization options to improve usability for people with disabilities. This section describes the accessibility attributes available for the Chart component. -The chart component provides properties that enable accessibility customization, including: +For setup steps (installing `@syncfusion/ej2-angular-charts`, registering modules, and applying theme CSS), see the [Getting Started with Angular Chart](../chart/getting-started) page. + +The Chart component exposes the following chart-level accessibility properties: + +**Accessibility model properties** + +* [`accessibilityDescription`](https://ej2.syncfusion.com/angular/documentation/api/chart/accessibilitymodel#accessibilitydescription) - Provides a text description for the chart, improving support for screen readers. +* [`accessibilityRole`](https://ej2.syncfusion.com/angular/documentation/api/chart/accessibilitymodel#accessibilityrole) - Specifies the role of the chart, helping screen readers to identify the element appropriately. +* [`focusable`](https://ej2.syncfusion.com/angular/documentation/api/chart/accessibilitymodel#focusable) - Allows the chart to receive focus, making it accessible via keyboard navigation. +* [`tabIndex`](https://ej2.syncfusion.com/angular/documentation/api/chart/accessibilitymodel#tabindex) - Tab order of the accessibility element within the chart. + +**Chart component properties** -* [`accessibilityDescription`](https://ej2.syncfusion.com/angular/documentation/api/chart/accessibilityModel#accessibilitydescription) - Provides a text description for the chart, improving support for screen readers. -* [`accessibilityRole`](https://ej2.syncfusion.com/angular/documentation/api/chart/accessibilityModel#accessibilityrole) - Specifies the role of the chart, helping screen readers to identify the element appropriately. -* [`focusable`](https://ej2.syncfusion.com/angular/documentation/api/chart/accessibilityModel#focusable) - Allows the chart to receive focus, making it accessible via keyboard navigation. * [`focusBorderColor`](https://ej2.syncfusion.com/angular/documentation/api/chart#focusbordercolor) - Sets the color of the focus border, enhancing visibility when the chart is focused. * [`focusBorderMargin`](https://ej2.syncfusion.com/angular/documentation/api/chart#focusbordermargin) - Defines the margin around the focus border. * [`focusBorderWidth`](https://ej2.syncfusion.com/angular/documentation/api/chart#focusborderwidth) - Specifies the width of the focus border. -* [`tabIndex`](https://ej2.syncfusion.com/angular/documentation/api/chart/accessibilityModel#tabindex) - Specifies the tab order of the chart element, enabling efficient keyboard navigation. +* [`tabIndex`](https://ej2.syncfusion.com/angular/documentation/api/chart#tabindex) - Top-level tab order of the Chart container (distinct from `accessibility.tabIndex`, which applies to the accessibility model). + +The same `accessibility` model is exposed on `series`, `titleStyle`, `subTitleStyle`, `annotations`, `trendlines`, `zoomSettings`, `indicators`, and `legendSettings`. Use the table below to see where each property applies. + +| Property | Chart | Series | Title / Subtitle | Annotations | Trendlines | Zoom | Indicators | Legend | +| --- | --- | --- | --- | --- | --- | --- | --- | --- | +| `accessibilityDescription` | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | +| `accessibilityRole` | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | +| `accessibilityDescriptionFormat` | – | ✓ | – | – | – | – | – | – | +| `focusable` | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | +| `tabIndex` | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -36,13 +54,13 @@ The chart component provides properties that enable accessibility customization, ## Series -The [`series`](https://ej2.syncfusion.com/angular/documentation/api/chart#series) supports the customization of accessibility for data points, allowing key characteristics to be adjusted for enhanced accessibility, such as: +The [`series`](https://ej2.syncfusion.com/angular/documentation/api/chart#series) property supports the customization of accessibility for data points. The following accessibility properties in the `series` model can be customized: -* [`accessibilityDescription`](https://ej2.syncfusion.com/angular/documentation/api/chart/seriesAccessibilityModel#accessibilitydescription) - Provides a text description for the series root element, enhancing support for screen readers. -* [`accessibilityDescriptionFormat`](https://ej2.syncfusion.com/angular/documentation/api/chart/seriesAccessibilityModel#accessibilitydescriptionformat) - Specifies a format for the accessibility description of each point in the series, allowing dynamic content. The format string can include the placeholders such as ${series.name}, ${point.x}, ${point.y}, ${point.high}, etc. For example, the format "${series.name} : ${point.x}" displays the series name and x-value of the point in the accessibility description. Data point's values like high, low, open, and close are applicable based on the series types. -* [`accessibilityRole`](https://ej2.syncfusion.com/angular/documentation/api/chart/seriesAccessibilityModel#accessibilityrole) - Specifies the role of the series, helping screen readers to identify the element appropriately. -* [`focusable`](https://ej2.syncfusion.com/angular/documentation/api/chart/seriesAccessibilityModel#focusable) - Allows the series to receive focus, making it accessible via keyboard navigation. -* [`tabIndex`](https://ej2.syncfusion.com/angular/documentation/api/chart/seriesAccessibilityModel#tabindex) - Specifies the tab order of the series element, enabling efficient keyboard navigation. +* [`accessibilityDescription`](https://ej2.syncfusion.com/angular/documentation/api/chart/seriesaccessibilitymodel#accessibilitydescription) - Provides a text description for the series root element, enhancing support for screen readers. +* [`accessibilityDescriptionFormat`](https://ej2.syncfusion.com/angular/documentation/api/chart/seriesaccessibilitymodel#accessibilitydescriptionformat) - Specifies a format for the accessibility description of each point in the series, allowing dynamic content. The format string can include the placeholders such as `${series.name}`, `${point.x}`, `${point.y}`, `${point.high}`, `${point.low}`, `${point.open}`, and `${point.close}`. For example, the format `"${series.name} : ${point.x}"` displays the series name and x-value of the point in the accessibility description. Data point values such as high, low, open, and close apply based on the series type. +* [`accessibilityRole`](https://ej2.syncfusion.com/angular/documentation/api/chart/seriesaccessibilitymodel#accessibilityrole) - Specifies the role of the series, helping screen readers to identify the element appropriately. +* [`focusable`](https://ej2.syncfusion.com/angular/documentation/api/chart/seriesaccessibilitymodel#focusable) - Allows the series to receive focus, making it accessible via keyboard navigation. +* [`tabIndex`](https://ej2.syncfusion.com/angular/documentation/api/chart/seriesaccessibilitymodel#tabindex) - Specifies the tab order of the series element, enabling efficient keyboard navigation. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -58,12 +76,12 @@ The [`series`](https://ej2.syncfusion.com/angular/documentation/api/chart#series ## Title and subtitle -In the Angular chart component, the [`title`](https://ej2.syncfusion.com/angular/documentation/api/chart#title) and [`subTitle`](https://ej2.syncfusion.com/angular/documentation/api/chart#subtitle) properties allow you to customize the accessibility of the chart's title and subtitle. The following [`accessibility`](https://ej2.syncfusion.com/angular/documentation/api/chart/titleSettingsModel#accessibility) properties in [`title`](https://ej2.syncfusion.com/angular/documentation/api/chart#title) and [`subTitle`](https://ej2.syncfusion.com/angular/documentation/api/chart#subtitle) can be customized for accessibility: +In the Angular Chart component, the [`title`](https://ej2.syncfusion.com/angular/documentation/api/chart#title) and [`subTitle`](https://ej2.syncfusion.com/angular/documentation/api/chart#subtitle) properties allow you to customize the accessibility of the chart's title and subtitle. Use the [`accessibility`](https://ej2.syncfusion.com/angular/documentation/api/chart/titleSettingsModel#accessibility) property of the [`titleStyle`](https://ej2.syncfusion.com/angular/documentation/api/chart#titlestyle) or [`subTitleStyle`](https://ej2.syncfusion.com/angular/documentation/api/chart#subtitlestyle) (typed as `titleSettingsModel`) to expose the following accessibility properties: -* [`accessibilityDescription`](https://ej2.syncfusion.com/angular/documentation/api/chart/accessibilityModel#accessibilitydescription) - Provides a text description for the chart title and subtitle, enhancing support for screen readers. -* [`accessibilityRole`](https://ej2.syncfusion.com/angular/documentation/api/chart/accessibilityModel#accessibilityrole) - Specifies the role of the chart title and subtitle, helping screen readers to identify the element appropriately. -* [`focusable`](https://ej2.syncfusion.com/angular/documentation/api/chart/accessibilityModel#focusable) - Enables or disables the keyboard navigation focus for the title and subtitle. -* [`tabIndex`](https://ej2.syncfusion.com/angular/documentation/api/chart/accessibilityModel#tabindex) - Specifies the tab order of the title and subtitle element, enabling efficient keyboard navigation. +* [`accessibilityDescription`](https://ej2.syncfusion.com/angular/documentation/api/chart/accessibilitymodel#accessibilitydescription) - Provides a text description for the chart title and subtitle, enhancing support for screen readers. +* [`accessibilityRole`](https://ej2.syncfusion.com/angular/documentation/api/chart/accessibilitymodel#accessibilityrole) - Specifies the role of the chart title and subtitle, helping screen readers to identify the element appropriately. +* [`focusable`](https://ej2.syncfusion.com/angular/documentation/api/chart/accessibilitymodel#focusable) - Enables or disables keyboard navigation focus for the title and subtitle. +* [`tabIndex`](https://ej2.syncfusion.com/angular/documentation/api/chart/accessibilitymodel#tabindex) - Specifies the tab order of the title and subtitle element, enabling efficient keyboard navigation. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -79,12 +97,14 @@ In the Angular chart component, the [`title`](https://ej2.syncfusion.com/angular ## Annotations -The [`annotations`](https://ej2.syncfusion.com/angular/documentation/api/chart#annotations) property allows you to add annotations to the chart in specific regions. The following [`accessibility`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartAnnotationSettingsModel#accessibility) properties in [`annotations`](https://ej2.syncfusion.com/angular/documentation/api/chart#annotations) can be customized for accessibility: +The [`annotations`](https://ej2.syncfusion.com/angular/documentation/api/chart#annotations) property allows you to add annotations to the chart in specific regions. The following [`accessibility`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartannotationsettingsmodel#accessibility) properties in [`annotations`](https://ej2.syncfusion.com/angular/documentation/api/chart#annotations) can be customized for accessibility: -* [`accessibilityDescription`](https://ej2.syncfusion.com/angular/documentation/api/chart/accessibilityModel#accessibilitydescription) - Provides a text description for the annotation, enhancing support for screen readers. -* [`accessibilityRole`](https://ej2.syncfusion.com/angular/documentation/api/chart/accessibilityModel#accessibilityrole) - Specifies the role of the annotation, helping screen readers to identify the element appropriately. -* [`focusable`](https://ej2.syncfusion.com/angular/documentation/api/chart/accessibilityModel#focusable) - Specifies whether annotations are focusable via keyboard navigation. -* [`tabIndex`](https://ej2.syncfusion.com/angular/documentation/api/chart/accessibilityModel#tabindex) - Specifies the tab order of the annotation element, enabling efficient keyboard navigation. +* [`accessibilityDescription`](https://ej2.syncfusion.com/angular/documentation/api/chart/accessibilitymodel#accessibilitydescription) - Provides a text description for the annotation, enhancing support for screen readers. +* [`accessibilityRole`](https://ej2.syncfusion.com/angular/documentation/api/chart/accessibilitymodel#accessibilityrole) - Specifies the role of the annotation, helping screen readers to identify the element appropriately. +* [`focusable`](https://ej2.syncfusion.com/angular/documentation/api/chart/accessibilitymodel#focusable) - Specifies whether annotations are focusable via keyboard navigation. +* [`tabIndex`](https://ej2.syncfusion.com/angular/documentation/api/chart/accessibilitymodel#tabindex) - Specifies the tab order of the annotation element, enabling efficient keyboard navigation. + +> Note: When binding `accessibility` to an annotation, ensure the required [`coordinateUnits`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartannotationsettingsmodel#coordinateunits), `x`, and `y` properties are set so the annotation is reachable by assistive technology. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -98,14 +118,14 @@ The [`annotations`](https://ej2.syncfusion.com/angular/documentation/api/chart#a {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/series/accessibility-cs4" %} -## Trendline +## Trendlines -The [`trendlines`](https://ej2.syncfusion.com/angular/documentation/api/chart#trendlinemodule) property allows you to display trends in the data. The following [`accessibility`](https://ej2.syncfusion.com/angular/documentation/api/chart/trendlineModel#accessibility) properties in [`trendlines`](https://ej2.syncfusion.com/angular/documentation/api/chart#trendlinemodule) can be customized for accessibility: +The [`trendlines`](https://ej2.syncfusion.com/angular/documentation/api/chart#trendlines) property allows you to display trends in the data. For more information on configuring trendlines, see the [Trendlines in Angular Charts](../chart/chart-elements/trend-lines) feature page. The following [`accessibility`](https://ej2.syncfusion.com/angular/documentation/api/chart/trendlineModel#accessibility) properties in [`trendlines`](https://ej2.syncfusion.com/angular/documentation/api/chart#trendlines) can be customized for accessibility: -* [`accessibilityDescription`](https://ej2.syncfusion.com/angular/documentation/api/chart/accessibilityModel#accessibilitydescription) - Provides a text description for the trendline, enhancing support for screen readers. -* [`accessibilityRole`](https://ej2.syncfusion.com/angular/documentation/api/chart/accessibilityModel#accessibilityrole) - Specifies the role of the trendline, helping screen readers to identify the element appropriately. -* [`focusable`](https://ej2.syncfusion.com/angular/documentation/api/chart/accessibilityModel#focusable) - Specifies whether trendlines are focusable via keyboard navigation. -* [`tabIndex`](https://ej2.syncfusion.com/angular/documentation/api/chart/accessibilityModel#tabindex) - Specifies the tab order of the trendline element, enabling efficient keyboard navigation. +* [`accessibilityDescription`](https://ej2.syncfusion.com/angular/documentation/api/chart/accessibilitymodel#accessibilitydescription) - Provides a text description for the trendline, enhancing support for screen readers. +* [`accessibilityRole`](https://ej2.syncfusion.com/angular/documentation/api/chart/accessibilitymodel#accessibilityrole) - Specifies the role of the trendline, helping screen readers to identify the element appropriately. +* [`focusable`](https://ej2.syncfusion.com/angular/documentation/api/chart/accessibilitymodel#focusable) - Specifies whether trendlines are focusable via keyboard navigation. +* [`tabIndex`](https://ej2.syncfusion.com/angular/documentation/api/chart/accessibilitymodel#tabindex) - Specifies the tab order of the trendline element, enabling efficient keyboard navigation. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -121,12 +141,12 @@ The [`trendlines`](https://ej2.syncfusion.com/angular/documentation/api/chart#tr ## Zooming -The [`zoomSettings`](https://ej2.syncfusion.com/angular/documentation/api/chart#zoomsettings) property allows you to adjust the chart's zooming capability. The following [`accessibility`](https://ej2.syncfusion.com/angular/documentation/api/chart/zoomSettingsModel#accessibility) properties in [`zoomSettings`](https://ej2.syncfusion.com/angular/documentation/api/chart#zoomsettings) offer the parameters for accessibility customization: +The [`zoomSettings`](https://ej2.syncfusion.com/angular/documentation/api/chart#zoomsettings) property allows you to adjust the chart's zooming capability. For complete setup, see the [Zooming in Angular Charts](../chart/chart-interactive/zooming) feature page. The following [`accessibility`](https://ej2.syncfusion.com/angular/documentation/api/chart/zoomsettingsmodel#accessibility) properties in [`zoomSettings`](https://ej2.syncfusion.com/angular/documentation/api/chart#zoomsettings) can be customized for accessibility: -* [`accessibilityDescription`](https://ej2.syncfusion.com/angular/documentation/api/chart/accessibilityModel#accessibilitydescription) - Provides a text description for the zoom toolkit items, enhancing support for screen readers. -* [`accessibilityRole`](https://ej2.syncfusion.com/angular/documentation/api/chart/accessibilityModel#accessibilityrole) - Specifies the role of the zoom toolkit items, helping screen readers to identify the element appropriately. -* [`focusable`](https://ej2.syncfusion.com/angular/documentation/api/chart/accessibilityModel#focusable) - Specifies whether zoom toolkit items are focusable via keyboard navigation. -* [`tabIndex`](https://ej2.syncfusion.com/angular/documentation/api/chart/accessibilityModel#tabindex) - Specifies the tab order of the zooming element, enabling efficient keyboard navigation. +* [`accessibilityDescription`](https://ej2.syncfusion.com/angular/documentation/api/chart/accessibilitymodel#accessibilitydescription) - Provides a text description for the zoom toolkit items, enhancing support for screen readers. +* [`accessibilityRole`](https://ej2.syncfusion.com/angular/documentation/api/chart/accessibilitymodel#accessibilityrole) - Specifies the role of the zoom toolkit items, helping screen readers to identify the element appropriately. +* [`focusable`](https://ej2.syncfusion.com/angular/documentation/api/chart/accessibilitymodel#focusable) - Specifies whether zoom toolkit items are focusable via keyboard navigation. +* [`tabIndex`](https://ej2.syncfusion.com/angular/documentation/api/chart/accessibilitymodel#tabindex) - Specifies the tab order of the zooming element, enabling efficient keyboard navigation. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -142,12 +162,12 @@ The [`zoomSettings`](https://ej2.syncfusion.com/angular/documentation/api/chart# ## Technical indicators -The [`indicators`](https://ej2.syncfusion.com/angular/documentation/api/chart#indicators) property allows you to analyze the trends and patterns in the data. The following [`accessibility`](https://ej2.syncfusion.com/angular/documentation/api/chart/technicalIndicatorModel#accessibility) properties in [`indicators`](https://ej2.syncfusion.com/angular/documentation/api/chart#indicators) can be customized for accessibility: +The [`indicators`](https://ej2.syncfusion.com/angular/documentation/api/chart#indicators) property allows you to analyze the trends and patterns in the data. The following [`accessibility`](https://ej2.syncfusion.com/angular/documentation/api/chart/technicalindicatormodel#accessibility) properties in [`indicators`](https://ej2.syncfusion.com/angular/documentation/api/chart#indicators) can be customized for accessibility. If `accessibility` is omitted, the indicator inherits the chart-level accessibility defaults. -* [`accessibilityDescription`](https://ej2.syncfusion.com/angular/documentation/api/chart/accessibilityModel#accessibilitydescription) - Provides a text description for the indicators, enhancing support for screen readers. -* [`accessibilityRole`](https://ej2.syncfusion.com/angular/documentation/api/chart/accessibilityModel#accessibilityrole) - Specifies the role of the indicators, helping screen readers to identify the element appropriately. -* [`focusable`](https://ej2.syncfusion.com/angular/documentation/api/chart/accessibilityModel#focusable) - Specifies whether indicators are focusable via keyboard navigation. -* [`tabIndex`](https://ej2.syncfusion.com/angular/documentation/api/chart/accessibilityModel#tabindex) - Specifies the tab order of the indicators element, enabling efficient keyboard navigation. +* [`accessibilityDescription`](https://ej2.syncfusion.com/angular/documentation/api/chart/accessibilitymodel#accessibilitydescription) - Provides a text description for the indicators, enhancing support for screen readers. +* [`accessibilityRole`](https://ej2.syncfusion.com/angular/documentation/api/chart/accessibilitymodel#accessibilityrole) - Specifies the role of the indicators, helping screen readers to identify the element appropriately. +* [`focusable`](https://ej2.syncfusion.com/angular/documentation/api/chart/accessibilitymodel#focusable) - Specifies whether indicators are focusable via keyboard navigation. +* [`tabIndex`](https://ej2.syncfusion.com/angular/documentation/api/chart/accessibilitymodel#tabindex) - Specifies the tab order of the indicators element, enabling efficient keyboard navigation. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -163,12 +183,14 @@ The [`indicators`](https://ej2.syncfusion.com/angular/documentation/api/chart#in ## Legend -The [`legendSettings`](https://ej2.syncfusion.com/angular/documentation/api/chart#legendsettings) provide information about the series shown in the chart. The following [`accessibility`](https://ej2.syncfusion.com/angular/documentation/api/chart/legendSettingsModel#accessibility) properties in [`legendSettings`](https://ej2.syncfusion.com/angular/documentation/api/chart#legendsettings) can be used to alter the accessibility of the chart's legend: +The [`legendSettings`](https://ej2.syncfusion.com/angular/documentation/api/chart#legendsettings) property provides information about the series shown in the chart. The following [`accessibility`](https://ej2.syncfusion.com/angular/documentation/api/chart/legendSettingsModel#accessibility) properties in [`legendSettings`](https://ej2.syncfusion.com/angular/documentation/api/chart#legendsettings) can be used to alter the accessibility of the chart's legend: + +* [`accessibilityDescription`](https://ej2.syncfusion.com/angular/documentation/api/chart/accessibilitymodel#accessibilitydescription) - Provides a text description for the legend root element, enhancing support for screen readers. +* [`accessibilityRole`](https://ej2.syncfusion.com/angular/documentation/api/chart/accessibilitymodel#accessibilityrole) - Specifies the role of the legend items to screen readers, providing appropriate context. +* [`focusable`](https://ej2.syncfusion.com/angular/documentation/api/chart/accessibilitymodel#focusable) - Specifies whether legend items are focusable via keyboard navigation. +* [`tabIndex`](https://ej2.syncfusion.com/angular/documentation/api/chart/accessibilitymodel#tabindex) - Specifies the tab order of the legend element, enabling efficient keyboard navigation. -* [`accessibilityDescription`](https://ej2.syncfusion.com/angular/documentation/api/chart/accessibilityModel#accessibilitydescription) - Provides a text description for the legend root element, enhancing support for screen readers. -* [`accessibilityRole`](https://ej2.syncfusion.com/angular/documentation/api/chart/accessibilityModel#accessibilityrole) - Specifies the role of the legend items to screen readers, providing appropriate context. -* [`focusable`](https://ej2.syncfusion.com/angular/documentation/api/chart/accessibilityModel#focusable) - Specifies whether legend items are focusable via keyboard navigation. -* [`tabIndex`](https://ej2.syncfusion.com/angular/documentation/api/chart/accessibilityModel#tabindex) - Specifies the tab order of the legend element, enabling efficient keyboard navigation. +> Note: Use only valid WAI-ARIA role values for `accessibilityRole` (for example, `img`, `button`, `presentation`, `heading`). Setting an unknown role (such as `note`, `line`, `zoom`, or `indicator`) is ignored by assistive technologies. Negative or non-numeric values for `tabIndex` are ignored by the browser. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -180,4 +202,17 @@ The [`legendSettings`](https://ej2.syncfusion.com/angular/documentation/api/char {% endhighlight %} {% endtabs %} -{% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/series/accessibility-cs8" %} \ No newline at end of file +{% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/series/accessibility-cs8" %} + +## Precedence and troubleshooting + +* The `accessibility` model on a child element (for example, `series.accessibility`, `indicators.accessibility`, `legendSettings.accessibility`) overrides the chart-level `accessibility` values for that element. +* The `tabIndex` at the chart root and the `tabIndex` inside the `accessibility` model are independent: the root `tabIndex` controls when the Chart container receives focus; `accessibility.tabIndex` controls the inner accessibility element. +* If screen readers do not announce the chart, verify that `accessibilityDescription` is set to a non-empty string and that `accessibilityRole` is a valid WAI-ARIA role. +* If you are using an Angular version older than the one listed in the [Getting Started](../chart/getting-started) page, the `accessibility` model and its child properties may not be available; upgrade `@syncfusion/ej2-angular-charts` to the latest version. + +## See also + +* [Accessibility in Angular Charts](../chart/accessibility) +* [Getting Started with Angular Chart](../chart/getting-started) +* [Chart Events in Angular Charts](../chart/chart-events) \ No newline at end of file diff --git a/chart-sdk/angular/charts/appearance.md b/chart-sdk/angular/charts/appearance.md index 136e0c48d..3c92d1895 100644 --- a/chart-sdk/angular/charts/appearance.md +++ b/chart-sdk/angular/charts/appearance.md @@ -1,6 +1,6 @@ --- layout: post -title: Appearance in Angular Chart | Syncfusion +title: Appearance in Angular Charts | Syncfusion description: Learn here all about Appearance in Syncfusion Angular Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Appearance @@ -8,11 +8,11 @@ documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Appearance in Angular Chart +# Appearance in Angular Charts ## Custom Color Palette -Customize the default color of series or points by providing a custom color palette using the [`palettes`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartModel#palettes) property. +Customize the default color of series or points by providing a custom color palette using the [`palettes`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartmodel#palettes) property. {% tabs %} @@ -29,26 +29,22 @@ Customize the default color of series or points by providing a custom color pale ## Point and Text Customization -Individual data point elements such as markers, fill colors, and data labels can be customized dynamically using the [`pointRender`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartModel#pointrender) and [`textRender`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartModel#textrender) events. +Use the [`pointRender`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartmodel#pointrender) and [`textRender`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartmodel#textrender) events to customize data point elements such as markers, fill colors, and data labels. * **pointRender**: Triggered before each point is rendered. Use this to change point-level properties like `fill`, `border`, or `marker` shape and size based on data values. * **textRender**: Triggered before each data label is rendered. Use this to customize label `text`, `color`, `border`, or `font` styles. -Example — dynamic fill and marker customization via `pointRender`: +The following handler methods can be bound to the chart's `(pointRender)` and `(textRender)` outputs: ```typescript -public onPointRender(args: IPointRenderEventArgs): void { +public pointRender(args: IPointRenderEventArgs): void { if (args.point.y > 50) { args.fill = '#ff4081'; // Change fill color args.shape = 'Triangle'; // Change marker shape } }; -``` - -Example — custom label text via `textRender`: -```typescript -public onTextRender(args: ITextRenderEventArgs): void { +public textRender(args: ITextRenderEventArgs): void { args.text = args.text + ' units'; // Append suffix to labels args.color = 'blue'; // Customize label color }; @@ -66,16 +62,11 @@ public onTextRender(args: ITextRenderEventArgs): void { {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/series/column-cs1" %} - - ## Chart Area Customization - - -**Customize the Chart Background and Border** +### Customize the Chart Background and Border - -Use the [`background`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartModel#background) and [`border`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartModel#border) properties on the chart to change its background color and border. +Use the [`background`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartmodel#background) and [`border`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartmodel#border) properties on the chart to change its background color and border. {% tabs %} @@ -92,7 +83,7 @@ Use the [`background`](https://ej2.syncfusion.com/angular/documentation/api/char **Chart Margin** -Set the chart margin relative to its container using the [`margin`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartModel#margin) property. +Set the chart margin relative to its container using the [`margin`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartmodel#margin) property. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -106,9 +97,9 @@ Set the chart margin relative to its container using the [`margin`](https://ej2. {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/series/column-cs3" %} -**Chart Area Customization** +**Customize the Plot Area** -To customize the plotting region (chart area), use the [`chartArea`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartarea) properties: [`background`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartAreaModel#background) and [`border`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartAreaModel#border) change the chart area's appearance, and [`width`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartAreaModel#width) and [`height`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartAreaModel#height) adjust its size. +To customize the plot area, use the [`chartArea`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartarea) properties. The [`background`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartareamodel#background) and [`border`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartareamodel#border) properties change the plot area's appearance. The [`width`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartareamodel#width) and [`height`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartareamodel#height) properties adjust its size. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -124,7 +115,7 @@ To customize the plotting region (chart area), use the [`chartArea`](https://ej2 ## Series Animation -Control how data series appear on load using the [`animation`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartModel#animation) property. +Control how data series appear on load using the [`animation`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartmodel#animation) property. * `enable`: Set to `true` (default) or `false` to toggle animation. * `duration`: Specifies the animation length in milliseconds (e.g., `2000` for 2 seconds). diff --git a/chart-sdk/angular/charts/axis/axis-customization.md b/chart-sdk/angular/charts/axis/axis-customization.md index c6d0c4fdd..9816a985f 100644 --- a/chart-sdk/angular/charts/axis/axis-customization.md +++ b/chart-sdk/angular/charts/axis/axis-customization.md @@ -1,6 +1,6 @@ --- layout: post -title: Axis Customization in Angular Chart | Syncfusion +title: Axis Customization in Angular Charts | Syncfusion description: Learn here all about Axis customization in Syncfusion Angular Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Axis customization @@ -8,7 +8,7 @@ documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Axis Customization in Angular Chart +# Axis Customization in Angular Charts To know about axis customization, you can check on this video: @@ -16,7 +16,7 @@ To know about axis customization, you can check on this video: ## Axis Crossing -An axis can be positioned in the chart area using [`crossesAt`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisModel#crossesat) and [`crossesInAxis`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisModel#crossesinaxis) properties. The [`crossesAt`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisModel#crossesat) property specifies the values (datetime, numeric, or logarithmic) at which the axis line has to be intersected with the vertical axis or vice-versa, and the [`crossesInAxis`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisModel#crossesinaxis) property specifies the axis name with which the axis line has to be crossed. +An axis can be positioned in the chart area using [`crossesAt`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisModel#crossesat) and [`crossesInAxis`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisModel#crossesinaxis) properties. The [`crossesAt`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisModel#crossesat) property specifies the values (datetime, numeric, or logarithmic) at which the axis line has to be intersected with the other axis (vertical for a horizontal axis or vice versa), and the [`crossesInAxis`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisModel#crossesinaxis) property specifies the axis name with which the axis line has to be crossed. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -32,7 +32,7 @@ An axis can be positioned in the chart area using [`crossesAt`](https://ej2.sync ## Title -You can add a title to the axis using [`title`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective#title) property to provide quick information to the user about the data plotted in the axis. +You can add a title to the axis using [`title`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective#title) property to provide quick information to the user about the data plotted along the axis. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -48,15 +48,15 @@ You can add a title to the axis using [`title`](https://ej2.syncfusion.com/angul ## Title Rotation -By using the [`titleRotation`](https://ej2.syncfusion.com/angular/documentation/api/chart/axis#titlerotation) property, you can rotate the axis title from 0 to 360 degrees. +After setting a title as shown in the previous section, you can use the [`titleRotation`](https://ej2.syncfusion.com/angular/documentation/api/chart/axis#titlerotation) property to rotate the axis title from 0 to 360 degrees. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} -{% include code-snippet/chart-sdk/angular/charts/axis/category-cs3/src/app.component.ts %} +{% include code-snippet/chart-sdk/angular/charts/axis/category-cs3.1/src/app.component.ts %} {% endhighlight %} {% highlight ts tabtitle="main.ts" %} -{% include code-snippet/chart-sdk/angular/charts/axis/category-cs3/src/main.ts %} +{% include code-snippet/chart-sdk/angular/charts/axis/category-cs3.1/src/main.ts %} {% endhighlight %} {% endtabs %} @@ -64,7 +64,7 @@ By using the [`titleRotation`](https://ej2.syncfusion.com/angular/documentation/ ## Tick Lines Customization -You can customize the `width`, `color` and `size` of the minor and major tick lines, using [`majorTickLines`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisModel#majorticklines) and [`minorTickLines`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisModel#minorticklines) properties in the axis. +You can customize the `width` and `color` of the major and minor tick lines using [`majorTickLines`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisModel#majorticklines) and [`minorTickLines`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisModel#minorticklines) properties in the axis. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -96,7 +96,7 @@ You can customize the `width`, `color` and `dashArray` of the minor and major gr ## Multiple Axis -In addition to primary X and Y axis, we can add n number of axes to the chart. Series can be associated with this axis, by mapping with axis's unique name. +In addition to the primary X and Y axes, you can add any number of axes to the chart. Additional axes are declared inside an `` collection using the `` element. Each additional axis must have a unique `name`, and a series is associated with that axis by setting its `yAxisName` (or `xAxisName`) to the same value. The `rowIndex` property controls the row placement of the axis in the chart. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -112,9 +112,7 @@ In addition to primary X and Y axis, we can add n number of axes to the chart. S ## Inversed Axis - - -When an axis is inversed, highest value of the axis comes closer to origin and vice versa. To place an axis in inversed manner set this property [`isInversed`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisModel#isinversed) to true. +When an axis is inverted, the highest value of the axis comes closer to the origin and vice versa. To place an axis in inverted manner, set the [`isInversed`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisModel#isinversed) property to true. The example below inverts the primary Y axis. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -130,9 +128,7 @@ When an axis is inversed, highest value of the axis comes closer to origin and v ## Opposed Position - - -To place an axis opposite from its original position, set [`opposedPosition`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisModel#opposedposition) property of the axis to true. +To place an axis opposite from its original position, set the [`opposedPosition`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisModel#opposedposition) property of the axis to true. Both the primary X axis and the primary Y axis support this property. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} diff --git a/chart-sdk/angular/charts/axis/axis-labels.md b/chart-sdk/angular/charts/axis/axis-labels.md index 4bc3a8eb3..2b0eae63e 100644 --- a/chart-sdk/angular/charts/axis/axis-labels.md +++ b/chart-sdk/angular/charts/axis/axis-labels.md @@ -1,6 +1,6 @@ --- layout: post -title: Axis Labels in Angular Chart | Syncfusion +title: Axis Labels in Angular Charts | Syncfusion description: Learn here all about Axis labels in Syncfusion Angular Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Axis labels @@ -8,13 +8,15 @@ documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Axis Labels in Angular Chart +# Axis Labels in Angular Charts ## Smart axis labels -When axis labels overlap due to limited space or dense data points, the [`labelIntersectAction`](https://ej2.syncfusion.com/angular/documentation/api/chart/axis#labelintersectaction) property can be used to control how the labels are rendered. This helps improve readability by automatically adjusting label visibility or orientation. +When axis labels overlap due to limited space or dense data points, the [`labelIntersectAction`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisModel#labelintersectaction) property can be used to control how the labels are rendered. This helps improve readability by automatically adjusting label visibility or orientation. -When setting `labelIntersectAction` as `Hide`, overlapping labels are hidden to avoid visual clutter. +The supported values are `Hide`, `Rotate45`, `Rotate90`, `MultipleRows`, `Wrap`, `Trim`, and `None`. The most common scenarios are demonstrated below. + +When `labelIntersectAction` is set to `Hide`, overlapping labels are hidden to avoid visual clutter. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -28,7 +30,7 @@ When setting `labelIntersectAction` as `Hide`, overlapping labels are hidden to {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/axis/multiple-cs1" %} -When setting `labelIntersectAction` as `Rotate45`, the labels are rotated by 45 degrees to reduce overlap. +When `labelIntersectAction` is set to `Rotate45`, the labels are rotated by 45 degrees to reduce overlap. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -42,7 +44,7 @@ When setting `labelIntersectAction` as `Rotate45`, the labels are rotated by 45 {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/axis/multiple-cs2" %} -When setting `labelIntersectAction` as `Rotate90`, the labels are rotated vertically to maximize space utilization. +When `labelIntersectAction` is set to `Rotate90`, the labels are rotated vertically to maximize space utilization. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -58,7 +60,7 @@ When setting `labelIntersectAction` as `Rotate90`, the labels are rotated vertic ## Axis labels positioning -By default, axis labels are positioned `outside` the axis line. Labels can also be placed `inside` the axis line using the [`labelPosition`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisModel#labelposition) property, which is useful when optimizing space within the chart area. +By default, axis labels are positioned `Outside` the axis line. Labels can also be placed `Inside` the axis line using the [`labelPosition`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisModel#labelposition) property, which is useful when optimizing space within the chart area. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -76,17 +78,17 @@ By default, axis labels are positioned `outside` the axis line. Labels can also Multiple levels of labels can be displayed on an axis using the [`multiLevelLabels`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisModel#multilevellabels) property. This feature is useful for grouping related categories and improving data interpretation. The following configuration options are available: -• Categories -• Overflow -• Alignment -• Text style -• Border +- Categories +- Overflow +- Alignment +- Text customization +- Border -> **Note:** To use multilevel label feature, inject `MultiLevelLabel` into the `@NgModule.providers`. +> **Note:** To use the multilevel labels feature, register `MultiLevelLabelService` in the component's `providers` array (or inject `MultiLevelLabel` into `@NgModule.providers` when using module-based components). ### Categories -Using the [`categories`](https://ej2.syncfusion.com/angular/documentation/api/chart/multiLevelLabelsModel#categories) property, the [`start`](https://ej2.syncfusion.com/angular/documentation/api/chart/multiLevelCategoriesModel#start), [`end`](https://ej2.syncfusion.com/angular/documentation/api/chart/multiLevelCategoriesModel#end), [`text`](https://ej2.syncfusion.com/angular/documentation/api/chart/multiLevelCategoriesModel#text), and [`maximumTextWidth`](https://ej2.syncfusion.com/angular/documentation/api/chart/multiLevelCategoriesModel#maximumtextwidth) values of multilevel labels can be configured to define the label range and content. +Using the [`categories`](https://ej2.syncfusion.com/angular/documentation/api/chart/multiLevelLabelsModel#categories) property, the [`start`](https://ej2.syncfusion.com/angular/documentation/api/chart/multiLevelCategoriesModel#start), [`end`](https://ej2.syncfusion.com/angular/documentation/api/chart/multiLevelCategoriesModel#end), [`text`](https://ej2.syncfusion.com/angular/documentation/api/chart/multiLevelCategoriesModel#text), and [`maximumTextWidth`](https://ej2.syncfusion.com/angular/documentation/api/chart/multiLevelCategoriesModel#maximumtextwidth) values of multilevel labels can be configured to define the label range and content. The `start` and `end` values are category indices (or numeric positions) that include half-step margins (for example, `-0.5` and `3.5`) to group categories under a parent label. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -102,7 +104,7 @@ Using the [`categories`](https://ej2.syncfusion.com/angular/documentation/api/ch ### Overflow -Using the [`overflow`](https://ej2.syncfusion.com/angular/documentation/api/chart/multiLevelLabelsModel#overflow) property, multilevel labels can be configured to either `trim` or `wrap` when the text exceeds the available space. +Using the [`overflow`](https://ej2.syncfusion.com/angular/documentation/api/chart/multiLevelLabelsModel#overflow) property, multilevel labels can be configured when the text exceeds the available space. The supported values are `Trim` (cuts off text at the boundary) and `Wrap` (wraps text to the next line). {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -118,7 +120,11 @@ Using the [`overflow`](https://ej2.syncfusion.com/angular/documentation/api/char ### Alignment -The [`alignment`](https://ej2.syncfusion.com/angular/documentation/api/chart/multiLevelLabelsModel#alignment) property provides options to position multilevel labels at `far`, `center`, or `near` relative to the axis. +The [`alignment`](https://ej2.syncfusion.com/angular/documentation/api/chart/multiLevelLabelsModel#alignment) property provides options to position multilevel labels relative to the axis: + +- `Far` - aligns labels to the far edge of the axis. +- `Center` - centers the labels on the axis. +- `Near` - aligns labels to the near edge of the axis. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -150,7 +156,7 @@ The [`textStyle`](https://ej2.syncfusion.com/angular/documentation/api/chart/mul ### Border customization -Using the [`border`](https://ej2.syncfusion.com/angular/documentation/api/chart/multiLevelLabelsModel#border) property, the [`width`](https://ej2.syncfusion.com/angular/documentation/api/chart/borderModel#width), [`color`](https://ej2.syncfusion.com/angular/documentation/api/chart/borderModel#color), and [`type`](https://ej2.syncfusion.com/angular/documentation/api/chart/multiLevelLabelsModel#border) of the multilevel label border can be customized. The supported border types are `Rectangle`, `Brace`, `WithoutBorder`, `WithoutTopBorder`, `WithoutTopandBottomBorder`, and `CurlyBrace`. +Using the [`border`](https://ej2.syncfusion.com/angular/documentation/api/chart/multiLevelLabelsModel#border) property, the [`width`](https://ej2.syncfusion.com/angular/documentation/api/chart/borderModel#width), [`color`](https://ej2.syncfusion.com/angular/documentation/api/chart/borderModel#color), and `type` of the multilevel label border can be customized. The supported border `type` values are `Rectangle`, `Brace`, `WithoutBorder`, `WithoutTopBorder`, `WithoutTopandBottomBorder`, and `CurlyBrace`. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -166,7 +172,13 @@ Using the [`border`](https://ej2.syncfusion.com/angular/documentation/api/chart/ ## Edge label placement -Labels with long text at the edges of an axis may appear partially outside the chart area. To avoid this, use the [`edgeLabelPlacement`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisModel#edgelabelplacement) property in the axis. This property moves the label inside the chart area or hides it for better appearance. By default, the [`edgeLabelPlacement`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisModel#edgelabelplacement) property is set to **Shift**, ensuring that labels are repositioned inside the chart area to prevent overlap. +Labels with long text at the edges of an axis may appear partially outside the chart area. To avoid this, use the [`edgeLabelPlacement`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisModel#edgelabelplacement) property in the axis. This property moves labels inside the chart area or hides them for a better appearance. + +The supported values are: + +- `None` - no repositioning; long labels may render outside the chart area. +- `Shift` (default) - reposition labels inside the chart area to prevent overlap. +- `Hide` - hide labels that would otherwise overflow. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -182,7 +194,7 @@ Labels with long text at the edges of an axis may appear partially outside the c ## Trim using maximum label width -You can trim the label using [`enableTrim`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisModel#enabletrim) property and width of the labels can also be customized using [`maximumLabelWidth`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisModel#maximumlabelwidth) property in the axis, the default value of maximum label width is `34`. +You can trim axis labels that exceed a specified width by setting the [`enableTrim`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisModel#enabletrim) property to `true` in the axis. The trimming width can be configured using the [`maximumLabelWidth`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisModel#maximumlabelwidth) property; the default value of `maximumLabelWidth` is `34` pixels. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -200,7 +212,7 @@ You can trim the label using [`enableTrim`](https://ej2.syncfusion.com/angular/d The [`labelStyle`](https://ej2.syncfusion.com/angular/documentation/api/chart/axis#labelstyle) property of an axis provides options to customize the `color`, `font-family`, `font-size`, and `font-weight` of axis labels. -To know more about labels customization, you can check on this video: +To know more about label customization, you can watch this video: {% youtube "https://www.youtube.com/watch?v=gjO67nmQIwY" %} @@ -232,9 +244,9 @@ The axis labels can be rotated based on the [`labelRotation`](https://ej2.syncfu {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/axis/category-cs17" %} -## Customizing specific point +## Customizing specific labels -Specific axis label text can be customized using the [`axisLabelRender`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartModel#axislabelrender) event, which allows conditional formatting or dynamic text updates during label rendering. +Specific axis labels can be customized using the [`axisLabelRender`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartModel#axislabelrender) event. The event arguments expose properties such as `text`, `value`, and `labelStyle`, which allow conditional formatting or dynamic text updates during label rendering. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -266,7 +278,10 @@ The line break feature is used to display long axis label text across multiple l ## Maximum labels -The [`maximumLabels`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisModel#maximumlabels) property is set, then the labels will be rendered based on the count in the property per 100 pixel. If you have set range (minimum, maximum, interval) and [`maximumLabels`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisModel#maximumlabels), then the priority goes to range only. If you haven't set the range, then priority is given to the [`maximumLabels`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisModel#maximumlabels) property. +When the [`maximumLabels`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisModel#maximumlabels) property is set, the chart renders labels based on the configured count per 100 pixels. + +- If the axis range (`minimum`, `maximum`, `interval`) and `maximumLabels` are both configured, the explicit range takes priority and `maximumLabels` is ignored. +- If the range is not configured, `maximumLabels` is used to determine the label density. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} diff --git a/chart-sdk/angular/charts/axis/axis-overview.md b/chart-sdk/angular/charts/axis/axis-overview.md index 8870333be..449c02caa 100644 --- a/chart-sdk/angular/charts/axis/axis-overview.md +++ b/chart-sdk/angular/charts/axis/axis-overview.md @@ -1,6 +1,6 @@ --- layout: post -title: Axis Overview in Angular Chart | Syncfusion +title: Axis Overview in Angular Charts | Syncfusion description: Learn about chart axes, axis elements, types of axes, and customization options in the Syncfusion Angular Chart component. platform: chart-sdk control: Axis Overview @@ -8,19 +8,24 @@ documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Axis Overview in Angular Chart +# Axis Overview in Angular Charts -In a chart, an axis refers to the lines that define the boundaries of the chart and provide a scale for measuring data. Charts have two axes: the horizontal axis (x-axis) and the vertical axis (y-axis). Here is the quick overview of axis elements. +In a chart, an axis refers to the line that defines the boundary of the chart and provides a scale for measuring data. Charts have two axes: the horizontal axis (x-axis) and the vertical axis (y-axis). The following is a quick overview of the axis elements. -Axis illustration +* **Axis Types**: The [`valueType`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisModel#valuetype) property determines how axis values are interpreted and rendered. For most types (such as `Logarithmic` or `DateTime`), you must inject the matching feature service, for example `LogarithmicService` or `DateTimeService`. For more details see [Category Axis](./axis-types/category-axis), [Numeric Axis](./axis-types/numeric-axis), [DateTime Axis](./axis-types/date-time-axis), [Logarithmic Axis](./axis-types/logarithmic-axis). +* **Grid Lines**: Grid lines in charts are horizontal and vertical lines that extend from the axis across the plot area. For more details see [Grid Line Customization](./axis-customization#grid-lines-customization). +* **Tick Lines**: Tick marks are short lines placed along an axis at regular intervals to indicate the scale. For more details see [Tick Line Customization](./axis-customization#tick-lines-customization). +* **Multiple Axes**: Charts can include multiple axes to display different scales or units, often shown as a primary and secondary axis. For more details see [Multiple Axis](./axis-customization#multiple-axis). -* **Grid Lines** : Gridlines in charts are horizontal and vertical lines that extend from the axes across the plot area. For more details see [Grid Line Customization](./axis-customization#grid-lines-customization). -* **Tick Lines** : Tick marks are the lines placed along an axis to show the units of measurement. For more details see [Tick Line Customization](./axis-customization#tick-lines-customization). +A chart with primary and secondary axes illustrating the multiple-axis feature -* **Secondary Axis**: Charts can have multiple axes to show different scales or units. For more details see [Secondary Axis](./axis-customization#multiple-axis). +* **Axis Label**: Axis labels are descriptive texts that appear along the axes of a chart and provide context about the data being presented. For more details see [Labels Customization](./axis-labels#labels-customization). +* **Axis Title**: An axis title is a descriptive label that indicates the purpose of the chart's axis, helping viewers understand what each axis represents. For more details see [Title](./axis-customization#title). -* **Axis Label**: Axis labels are descriptive texts that appear along the axes of a chart, providing essential context about the data being presented. For more details see [Axis Label](./axis-labels). +## See Also -* **Axis Title**: An axis title in a chart is a descriptive label that indicates the purpose of the chart's axis. It helps to quickly understand what each axis represents and provides context to the data points. For more details see [Title](./axis-customization#title). +For setup and installation, see [Getting Started with Angular Chart](../getting-started). -* **Axis Types**: The [`valueType`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisModel#valuetype) (or equivalent) determines how axis values are interpreted and rendered. For more details see [Category Axis](https://ej2.syncfusion.com/angular/documentation/chart/axis/axis-types/category-axis), [Numeric Axis](https://ej2.syncfusion.com/angular/documentation/chart/axis/axis-types/numeric-axis), [DateTime Axis](https://ej2.syncfusion.com/angular/documentation/chart/axis/axis-types/date-time-axis), [Logarithmic Axis](https://ej2.syncfusion.com/angular/documentation/chart/axis/axis-types/logarithmic-axis). \ No newline at end of file +* [Axis Customization](./axis-customization) +* [Multiple Panes](./multiple-panes) +* [Chart Accessibility](../accessibility) diff --git a/chart-sdk/angular/charts/axis/axis-types/category-axis.md b/chart-sdk/angular/charts/axis/axis-types/category-axis.md index 33472c4c4..b0ba496ad 100644 --- a/chart-sdk/angular/charts/axis/axis-types/category-axis.md +++ b/chart-sdk/angular/charts/axis/axis-types/category-axis.md @@ -1,6 +1,6 @@ --- layout: post -title: Category Axis in Angular Chart | Syncfusion +title: Category axis in Angular Charts | Syncfusion description: Learn here all about Category axis in Syncfusion Angular Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Category axis @@ -8,12 +8,14 @@ documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Category Axis in Angular Chart +# Category Axis in Angular Charts The category axis is used to represent string-based values instead of numeric values. It is commonly used for displaying discrete categories such as names, labels, or textual groupings along an axis. -To know about category axis, you can check on this video: +The following snippet renders a column chart with a category-based x-axis. + +To learn more about the category axis, watch this video: {% youtube "https://www.youtube.com/watch?v=7U7X1m_fBrA" %} @@ -33,43 +35,47 @@ To know about category axis, you can check on this video: -## Label Placement +## Range - +The visible range of the category axis can be customized by using the [`minimum`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisModel#minimum), [`maximum`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisModel#maximum) and [`interval`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisModel#interval) properties of the axis. These properties control the start value, end value, and spacing between category labels. -By default, category labels are positioned between the axis tick marks. They can also be aligned directly on the ticks by using the [`labelPlacement`](https://ej2.syncfusion.com/angular/documentation/api/chart/axis#labelplacement) property. +> For a category axis, `minimum`, `maximum`, and `interval` operate on index positions of the categories rather than on the category labels themselves. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} -{% include code-snippet/chart-sdk/angular/charts/axis/category-cs22/src/app.component.ts %} +{% include code-snippet/chart-sdk/angular/charts/axis/category-cs23/src/app.component.ts %} {% endhighlight %} {% highlight ts tabtitle="main.ts" %} -{% include code-snippet/chart-sdk/angular/charts/axis/category-cs22/src/main.ts %} +{% include code-snippet/chart-sdk/angular/charts/axis/category-cs23/src/main.ts %} {% endhighlight %} {% endtabs %} -{% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/axis/category-cs22" %} +{% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/axis/category-cs23" %} -## Range + -The visible range of the category axis can be customized by using the [`minimum`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisModel#minimum), [`maximum`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisModel#maximum) and [`interval`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisModel#interval) properties of the axis. These properties control the start value, end value, and spacing between category labels. +## Label Placement + + + +By default, category labels are positioned between the axis tick marks (`BetweenTicks`). They can also be aligned directly on the ticks (`OnTicks`) by using the [`labelPlacement`](https://ej2.syncfusion.com/angular/documentation/api/chart/axis#labelplacement) property. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} -{% include code-snippet/chart-sdk/angular/charts/axis/category-cs23/src/app.component.ts %} +{% include code-snippet/chart-sdk/angular/charts/axis/category-cs22/src/app.component.ts %} {% endhighlight %} {% highlight ts tabtitle="main.ts" %} -{% include code-snippet/chart-sdk/angular/charts/axis/category-cs23/src/main.ts %} +{% include code-snippet/chart-sdk/angular/charts/axis/category-cs22/src/main.ts %} {% endhighlight %} {% endtabs %} -{% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/axis/category-cs23" %} +{% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/axis/category-cs22" %} ## Indexed category axis -The category axis can also be rendered based on the index values of the data source. This behavior can be enabled by setting the [`isIndexed`](https://ej2.syncfusion.com/angular/documentation/api/chart/axis#isindexed) property of the axis to **true**, which positions data points according to their index instead of their actual category values. +The category axis can also be rendered based on the index values of the data source. This behavior can be enabled by setting the [`isIndexed`](https://ej2.syncfusion.com/angular/documentation/api/chart/axis#isindexed) property of the axis to **true**, which positions data points by their index while reusing the shared category label set. This is useful when multiple series need to be aligned at the same x positions. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -81,4 +87,10 @@ The category axis can also be rendered based on the index values of the data sou {% endhighlight %} {% endtabs %} -{% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/axis/category-cs24" %} \ No newline at end of file +{% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/axis/category-cs24" %} + +## See Also + +* [Numeric Axis](./numeric-axis) +* [DateTime Axis](./date-time-axis) +* [Logarithmic Axis](./logarithmic-axis) \ No newline at end of file diff --git a/chart-sdk/angular/charts/axis/axis-types/date-time-axis.md b/chart-sdk/angular/charts/axis/axis-types/date-time-axis.md index 4c1e072c2..763951ca9 100644 --- a/chart-sdk/angular/charts/axis/axis-types/date-time-axis.md +++ b/chart-sdk/angular/charts/axis/axis-types/date-time-axis.md @@ -1,6 +1,6 @@ --- layout: post -title: DateTime Axis in Angular Chart | Syncfusion +title: DateTime Axis in Angular Charts | Syncfusion description: Learn here all about Date time axis in Syncfusion Angular Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Date time axis @@ -10,11 +10,11 @@ domainurl: https://help.syncfusion.com/chart-sdk -# DateTime Axis in Angular Chart +# DateTime Axis in Angular Charts -## DateTime Axis +The DateTime axis uses a date-time scale and displays date-time values as axis labels based on the specified format. This axis type is ideal for visualizing time-based data such as trends, timelines, and time-series data. Use `DateTime` for continuous time-series data and `DateTimeCategory` (covered in a later section) when certain time ranges such as weekends or holidays need to be excluded. -The DateTime axis uses a date-time scale and displays date-time values as axis labels based on the specified format. This axis type is ideal for visualizing time-based data such as trends, timelines, and time-series data. +## DateTime Axis To know about the DateTime axis, you can watch this video: @@ -32,11 +32,11 @@ To know about the DateTime axis, you can watch this video: {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/axis/datetime-cs10" %} ->**Note:** To use the DateTime axis, inject `DateTimeService` into the `@NgModule.providers` and set the [`valueType`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective#valuetype) property of the axis to `DateTime`. +>**Note:** To use the DateTime axis, register `DateTimeService` in the standalone component's `providers` (legacy: inject `DateTimeService` into `@NgModule.providers`) and set the [`valueType`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective#valuetype) property of the axis to `DateTime`. ## DateTimeCategory Axis -The DateTimeCategory axis is used to render date-time values with non-linear intervals. This axis type is especially useful when certain time ranges, such as weekends or holidays, need to be excluded. In the following example, only business days are displayed within a week. +The DateTimeCategory axis is used to render date-time values with irregular intervals. This axis type is especially useful when certain time ranges, such as weekends or holidays, need to be excluded. The following example demonstrates a DateTimeCategory axis rendering only business days. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -50,11 +50,11 @@ The DateTimeCategory axis is used to render date-time values with non-linear int {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/axis/datetime-cs11" %} ->**Note:** To use the DateTimeCategory axis, inject `DateTimeCategoryService` into the `@NgModule.providers` and set the [`valueType`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective#valuetype) of axis to `DateTimeCategory`. +>**Note:** To use the DateTimeCategory axis, register `DateTimeCategoryService` in the standalone component's `providers` (legacy: inject `DateTimeCategoryService` into `@NgModule.providers`) and set the [`valueType`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective#valuetype) of axis to `DateTimeCategory`. -### Range +## Range -Range for an axis will be calculated automatically based on the provided data, you can also customize the range of the axis using [`minimum`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective#minimum), [`maximum`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective#maximum) and [`interval`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective#interval) property of the axis. +The range for an axis is calculated automatically based on the provided data. You can also customize the range of the axis using the [`minimum`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective#minimum), [`maximum`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective#maximum) and [`interval`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective#interval) properties of the axis. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -68,12 +68,12 @@ Range for an axis will be calculated automatically based on the provided data, y {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/axis/datetime-cs12" %} -### Interval Customization +## Interval Customization -Date-time intervals can be customized using the [`interval`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective#interval) and [`intervalType`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective#intervaltype) properties of the axis. For example, when the interval is set to `2` and the interval type is set to `Years`, the axis displays labels at two-year intervals. +Date-time intervals can be customized using the [`interval`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective#interval) and [`intervalType`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective#intervaltype) properties of the axis. For example, when `interval` is `2` and `intervalType` is `Years`, the axis displays labels every two years. The DateTime axis supports the following interval types: -* Auto +* Auto - Lets the chart choose the most appropriate interval based on data * Years * Months * Days @@ -93,7 +93,7 @@ The DateTime axis supports the following interval types: {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/axis/datetime-cs13" %} -**Applying padding to the range** +## Range Padding Padding can be applied to the minimum and maximum values of the axis range using the [`rangePadding`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective#rangepadding) property. The DateTime axis supports the following range padding types: @@ -180,7 +180,7 @@ The following table illustrates the output produced by applying commonly used da new Date(2000, 03, 10) EEEE Monday -The Date is displayed in day format +Displays the date in day format new Date(2000, 03, 10) @@ -192,20 +192,29 @@ The following table illustrates the output produced by applying commonly used da new Date(2000, 03, 10) MMM Apr -The Shorthand month for the date is displayed +Displays the shorthand month for the date new Date(2000, 03, 10) hm 12:00 AM -Time of the date value is displayed as label +Displays the time of the date value as the label new Date(2000, 03, 10) hms 12:00:00 AM -The Label is displayed in hours:minutes:seconds format +Displays the label in hours:minutes:seconds format - \ No newline at end of file +> **Note:** Time values shown in the result column depend on the application's locale and may render differently than the local time of `new Date(2000, 03, 10)`. + + + +## See Also + +* [Numeric Axis](./numeric-axis) +* [Category Axis](./category-axis) +* [Logarithmic Axis](./logarithmic-axis) +* [API Reference - Axis](https://ej2.syncfusion.com/angular/documentation/api/chart/axis): Complete API documentation for axis properties and methods \ No newline at end of file diff --git a/chart-sdk/angular/charts/axis/axis-types/logarithmic-axis.md b/chart-sdk/angular/charts/axis/axis-types/logarithmic-axis.md index 0f60da918..fb1eae979 100644 --- a/chart-sdk/angular/charts/axis/axis-types/logarithmic-axis.md +++ b/chart-sdk/angular/charts/axis/axis-types/logarithmic-axis.md @@ -1,6 +1,6 @@ --- layout: post -title: Logarithmic Axis in Angular Chart | Syncfusion +title: Logarithmic Axis in Angular Charts | Syncfusion description: Learn here all about Logarithmic axis in Syncfusion Angular Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Logarithmic axis @@ -8,7 +8,7 @@ documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Logarithmic Axis in Angular Chart +# Logarithmic Axis in Angular Charts @@ -18,6 +18,8 @@ To know about logarithmic axis, you can check on this video: {% youtube "https://www.youtube.com/watch?v=t8HoJ8yxIdc" %} +To use a logarithmic axis, inject the `LogarithmicService` into your component and set the [`valueType`](https://ej2.syncfusion.com/angular/documentation/api/chart/axis#valuetype) property of the axis to `Logarithmic`. The following example shows a line chart with a logarithmic y-axis. + {% tabs %} {% highlight ts tabtitle="app.component.ts" %} {% include code-snippet/chart-sdk/angular/charts/axis/log-cs5/src/app.component.ts %} @@ -30,11 +32,13 @@ To know about logarithmic axis, you can check on this video: {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/axis/log-cs5" %} -> **Note:** To use the logarithmic axis, inject `LogarithmicService` into the `@NgModule.providers` and set the [`valueType`](https://ej2.syncfusion.com/angular/documentation/api/chart/axis#valuetype) property of the axis to `Logarithmic`. +> **Note:** To use the logarithmic axis, register `LogarithmicService` in the standalone component's `providers` (legacy: inject `LogarithmicService` into `@NgModule.providers`) and set the [`valueType`](https://ej2.syncfusion.com/angular/documentation/api/chart/axis#valuetype) property of the axis to `Logarithmic`. ## Range -The range of the logarithmic axis is calculated automatically based on the provided data. This automatic calculation ensures that all data points are visible within the chart area. The axis range can also be customized explicitly using the [`minimum`](https://ej2.syncfusion.com/angular/documentation/api/chart/axis#minimum), [`maximum`](https://ej2.syncfusion.com/angular/documentation/api/chart/axis#maximum), and [`interval`](https://ej2.syncfusion.com/angular/documentation/api/chart/axis#interval) properties. +The range of the logarithmic axis is calculated automatically based on the provided data, ensuring that all data points are visible within the chart area. The axis range can also be customized explicitly using the [`minimum`](https://ej2.syncfusion.com/angular/documentation/api/chart/axis#minimum), [`maximum`](https://ej2.syncfusion.com/angular/documentation/api/chart/axis#maximum), and [`interval`](https://ej2.syncfusion.com/angular/documentation/api/chart/axis#interval) properties. + +> **Note:** The `minimum` value for a logarithmic axis must be greater than zero and should be a power of the [`logBase`](https://ej2.syncfusion.com/angular/documentation/api/chart/axis#logbase). Setting `minimum` to zero or a negative value results in an empty chart because the logarithm of non-positive numbers is undefined. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -80,4 +84,51 @@ For example, when the logarithmic base is `10` and the interval is set to `2`, t {% endhighlight %} {% endtabs %} -{% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/axis/log-cs8" %} \ No newline at end of file +{% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/axis/log-cs8" %} + +## Edge Label Placement + +When the first or last label on a logarithmic axis is partially hidden by the chart edge, you can use the [`edgeLabelPlacement`](https://ej2.syncfusion.com/angular/documentation/api/chart/axis#edgelabelplacement) property to control its position. The supported values are `None`, `Shift`, and `Hide`. The default value is `None`. + +## Label Format + +Numeric labels on the logarithmic axis can be customized using the [`labelFormat`](https://ej2.syncfusion.com/angular/documentation/api/chart/axis#labelformat) property. This property supports all Globalize numeric formats as well as placeholders such as `{value}K` to append custom units. + +For example, with `labelFormat` set to `{value}K`, the axis label `2000` is rendered as `2000K`. + +{% tabs %} +{% highlight ts tabtitle="app.component.ts" %} +{% include code-snippet/chart-sdk/angular/charts/axis/log-cs9/src/app.component.ts %} +{% endhighlight %} + +{% highlight ts tabtitle="main.ts" %} +{% include code-snippet/chart-sdk/angular/charts/axis/log-cs9/src/main.ts %} +{% endhighlight %} +{% endtabs %} + +{% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/axis/log-cs9" %} + +## Range Padding + +Padding can be applied to the minimum and maximum values of the logarithmic axis range using the [`rangePadding`](https://ej2.syncfusion.com/angular/documentation/api/chart/axis#rangepadding) property. The logarithmic axis supports the following options: `None`, `Round`, `Additional`, `Normal`, and `Auto`. + +For example, when `rangePadding` is set to `Round`, the axis minimum and maximum are rounded to the nearest power of the [`logBase`](https://ej2.syncfusion.com/angular/documentation/api/chart/axis#logbase), producing clean axis boundaries. + +{% tabs %} +{% highlight ts tabtitle="app.component.ts" %} +{% include code-snippet/chart-sdk/angular/charts/axis/log-cs10/src/app.component.ts %} +{% endhighlight %} + +{% highlight ts tabtitle="main.ts" %} +{% include code-snippet/chart-sdk/angular/charts/axis/log-cs10/src/main.ts %} +{% endhighlight %} +{% endtabs %} + +{% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/axis/log-cs10" %} + +## See Also + +* [Numeric Axis](./numeric-axis): Use numeric axis for continuous numerical data such as measurements or sales figures. +* [Category Axis](./category-axis): Use category axis for discrete text-based categories. +* [DateTime Axis](./date-time-axis): Use datetime axis for time-series data. +* [API Reference - Axis](https://ej2.syncfusion.com/angular/documentation/api/chart/axis): Complete API documentation for axis properties and methods. \ No newline at end of file diff --git a/chart-sdk/angular/charts/axis/axis-types/numeric-axis.md b/chart-sdk/angular/charts/axis/axis-types/numeric-axis.md index eb8742385..01b42dcf7 100644 --- a/chart-sdk/angular/charts/axis/axis-types/numeric-axis.md +++ b/chart-sdk/angular/charts/axis/axis-types/numeric-axis.md @@ -1,6 +1,6 @@ --- layout: post -title: Numeric Axis in Angular Chart | Syncfusion +title: Numeric Axis in Angular Charts | Syncfusion description: Learn here all about Numeric axis in Syncfusion Angular Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Numeric axis @@ -10,7 +10,7 @@ domainurl: https://help.syncfusion.com/chart-sdk -# Numeric Axis in Angular Chart +# Numeric Axis in Angular Charts The numeric axis displays numerical values along the chart's x-axis or y-axis. By default, the `valueType` of an axis is set to `Double`, which is suitable for displaying continuous numerical data such as temperatures, measurements, sales figures, or any decimal values. @@ -86,7 +86,7 @@ When the [`rangePadding`](https://ej2.syncfusion.com/angular/documentation/api/c **Numeric - Round** -When the [`rangePadding`](https://ej2.syncfusion.com/angular/documentation/api/chart/axis#rangepadding) property is set to `Round`, the minimum and maximum values are rounded to the nearest values divisible by the interval, creating cleaner axis boundaries. For example, if the minimum value is 3.5 and the interval is 1, the minimum value is rounded down to 3. Similarly, if the maximum is 48.7, it would be rounded up to 49. +When the [`rangePadding`](https://ej2.syncfusion.com/angular/documentation/api/chart/axis#rangepadding) property is set to `Round`, the minimum and maximum values are rounded to the nearest multiples of the interval, creating cleaner axis boundaries. For example, with an interval of `1`, a minimum of `3.5` rounds down to `3` and a maximum of `48.7` rounds up to `49`. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -102,7 +102,7 @@ When the [`rangePadding`](https://ej2.syncfusion.com/angular/documentation/api/c **Numeric - Additional** -When the [`rangePadding`](https://ej2.syncfusion.com/angular/documentation/api/chart/axis#rangepadding) property is set to `Additional`, one interval is added to both the minimum and maximum values of the axis range. This ensures extra space around your data, preventing data points from appearing too close to the axis edges, which improves visual clarity. +When the [`rangePadding`](https://ej2.syncfusion.com/angular/documentation/api/chart/axis#rangepadding) property is set to `Additional`, one interval is added to both the minimum and maximum values of the axis range. This adds extra space around your data and prevents data points from appearing too close to the axis edges, improving visual clarity. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -136,8 +136,8 @@ When the [`rangePadding`](https://ej2.syncfusion.com/angular/documentation/api/c When the [`rangePadding`](https://ej2.syncfusion.com/angular/documentation/api/chart/axis#rangepadding) property is set to `Auto`, the chart applies different padding strategies based on axis orientation for optimal visualization: -* **Horizontal axis (X-axis)**: Uses `None` padding to maximize data display width -* **Vertical axis (Y-axis)**: Uses `Normal` padding to prevent data points from touching chart edges +* **Horizontal axis (X-axis)**: Uses `None` padding to maximize data display width. +* **Vertical axis (Y-axis)**: Uses `Normal` padding to prevent data points from touching chart edges. This is the recommended default setting for most scenarios as it provides optimal spacing for each axis type. @@ -234,7 +234,7 @@ The following table shows examples of commonly used numeric label formats and th 0.5 p0 50% -Percentage without decimal places +Displays percentage without decimal places 1000 @@ -264,7 +264,7 @@ To improve readability of large numbers, you can enable thousand separators by s ## Custom Label Format -The numeric axis also supports custom label formats by using placeholders such as `{value}°C`, where `{value}` represents the numeric axis label. For example, the value `20` is displayed as `20°C`. This is useful for adding units of measurement or other custom text to your axis labels. +The numeric axis also supports custom label formats by using the `{value}` placeholder, where `{value}` represents the numeric axis label. The example below uses `{value}k`, so the value `20` is displayed as `20k`. This is useful for adding units (such as `°C`, `k`, or `%`) or other custom text to your axis labels. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -278,11 +278,18 @@ The numeric axis also supports custom label formats by using placeholders such a {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/axis/double-cs18" %} +## Troubleshooting + +* **No chart or series rendered**: Ensure the matching series service (for example, `AreaSeriesService`, `LineSeriesService`, `ColumnSeriesService`) is registered in the component's `providers` array. +* **Non-finite or null data points**: Numeric axis calculations assume finite numeric values. `NaN`, `null`, or `undefined` entries may produce unexpected axis ranges. Filter or replace invalid values before assigning to the data source. +* **Range or interval appears off**: Set explicit `minimum`, `maximum`, and `interval` values, or apply `rangePadding` (such as `Round` or `Additional`) to control axis boundaries. +* **Grouping separator not visible**: `useGroupingSeparator` only applies when a numeric `labelFormat` is configured. Pair it with a format such as `n0` or `c2` to render separators. + ## See Also -* [Axis Customization](../axis-customization): Learn about additional axis customization options such as title, label style, and positioning -* [Category Axis](./category-axis): Use category axis for discrete text-based categories -* [DateTime Axis](./datetime-axis): Use datetime axis for time-series data -* [Logarithmic Axis](./logarithmic-axis): Use logarithmic axis for data that spans multiple orders of magnitude -* [Multiple Axes](../multiple-axes): Learn how to add and configure multiple axes in a single chart -* [API Reference - Axis](https://ej2.syncfusion.com/angular/documentation/api/chart/axis): Complete API documentation for axis properties and methods \ No newline at end of file +* [Axis Customization](../axis-customization): Learn about additional axis customization options such as title, label style, and positioning. +* [Category Axis](./category-axis): Use category axis for discrete text-based categories. +* [DateTime Axis](./date-time-axis): Use datetime axis for time-series data. +* [Logarithmic Axis](./logarithmic-axis): Use logarithmic axis for data that spans multiple orders of magnitude. +* [Multiple Panes](../multiple-panes): Learn how to add and configure multiple axes across rows and columns. +* [API Reference - Axis](https://ej2.syncfusion.com/angular/documentation/api/chart/axis): Complete API documentation for axis properties and methods. \ No newline at end of file diff --git a/chart-sdk/angular/charts/axis/multiple-panes.md b/chart-sdk/angular/charts/axis/multiple-panes.md index b11bf9fc4..6e48bd591 100644 --- a/chart-sdk/angular/charts/axis/multiple-panes.md +++ b/chart-sdk/angular/charts/axis/multiple-panes.md @@ -1,6 +1,6 @@ --- layout: post -title: Multiple Panes in Angular Chart | Syncfusion +title: Multiple Panes in Angular Charts | Syncfusion description: Learn here all about Multiple panes in Syncfusion Angular Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Multiple panes @@ -8,17 +8,19 @@ documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Multiple Panes in Angular Chart +# Multiple Panes in Angular Charts The chart area can be divided into multiple panes by defining rows and columns using the [`rows`](https://ej2.syncfusion.com/angular/documentation/api/chart/row) and [`columns`](https://ej2.syncfusion.com/angular/documentation/api/chart/column) collections. This feature is useful for displaying multiple related datasets within the same chart container while maintaining clear visual separation. +> Vertical (Y) axes are mapped to rows, and horizontal (X) axes are mapped to columns. By default, the primary Y axis is rendered against row 0 and the primary X axis against column 0. + ## Rows To split the chart area vertically into multiple rows, use the [`rows`](https://ej2.syncfusion.com/angular/documentation/api/chart/row) property of the chart. -- Space for each row can be allocated by using the [`height`](https://ej2.syncfusion.com/angular/documentation/api/chart/row#height) property. The value can be specified either in pixels or as a percentage. +- Space for each row can be allocated by using the [`height`](https://ej2.syncfusion.com/angular/documentation/api/chart/row#height) property. The value can be specified either in pixels or as a percentage. The combined heights should match the chart area (e.g., `50%` + `50%`). - To associate a vertical axis with a specific row, assign the corresponding index using the [`rowIndex`](https://ej2.syncfusion.com/angular/documentation/api/chart/axis#rowindex) property of the axis. -- To customize the bottom line of each row, use the [`border`](https://ej2.syncfusion.com/angular/documentation/api/chart/row#border) property. +- To customize the border of each row, use the [`border`](https://ej2.syncfusion.com/angular/documentation/api/chart/row#border) property. Configure it as a `{ color, width }` object, for example `{ color: '#1976d2', width: 1 }`. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -50,9 +52,9 @@ To span a vertical axis across multiple rows, use the [`span`](https://ej2.syncf To split the chart area horizontally into multiple columns, use the [`columns`](https://ej2.syncfusion.com/angular/documentation/api/chart/column) property of the chart. -- Space for each column can be allocated using the [`width`](https://ej2.syncfusion.com/angular/documentation/api/chart/column#width) property. The width can be specified either in pixels or as a percentage. +- Space for each column can be allocated using the [`width`](https://ej2.syncfusion.com/angular/documentation/api/chart/column#width) property. The width can be specified either in pixels or as a percentage. The combined widths should match the chart area (e.g., `50%` + `50%`). - To associate a horizontal axis with a specific column, assign the corresponding index using the [`columnIndex`](https://ej2.syncfusion.com/angular/documentation/api/chart/axis#columnindex) property of the axis. -- To customize the bottom line of each column, use the [`border`](https://ej2.syncfusion.com/angular/documentation/api/chart/column#border) property. +- To customize the border of each column, use the [`border`](https://ej2.syncfusion.com/angular/documentation/api/chart/column#border) property. Configure it as a `{ color, width }` object, for example `{ color: '#1976d2', width: 1 }`. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -79,3 +81,11 @@ To span a horizontal axis across multiple columns, use the [`span`](https://ej2. {% endtabs %} {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/axis/multiple-panes-cs5" %} + +## See Also + +- [Axis Overview](axis/axis-overview) +- [Axis Customization](axis/axis-customization) +- [Chart Overview](chart-overview) +- [API Reference: Row](https://ej2.syncfusion.com/angular/documentation/api/chart/row) +- [API Reference: Column](https://ej2.syncfusion.com/angular/documentation/api/chart/column) diff --git a/chart-sdk/angular/charts/chart-axis.md b/chart-sdk/angular/charts/chart-axis.md index 14074618d..28af4f816 100644 --- a/chart-sdk/angular/charts/chart-axis.md +++ b/chart-sdk/angular/charts/chart-axis.md @@ -1,6 +1,6 @@ --- layout: post -title: Chart axis in Angular Chart component | Syncfusion +title: Chart axis in Angular Charts | Syncfusion description: Learn here all about Chart axis in Syncfusion Angular Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Chart axis @@ -8,8 +8,7 @@ documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- - -# Chart axis in Angular Chart component +# Chart axis in Angular Charts Chart typically has two axis, which are used to measure and categorize data: a horizontal or primary x axis and a vertical or primary y axis. @@ -43,7 +42,7 @@ Category axis are used to represent, the string values instead of numbers. By default, category labels are placed between the ticks in an axis, this can also be placed on ticks -using [`labelPlacement`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective/#labelplacement) property. +using [`labelPlacement`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective#labelplacement) property. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -57,7 +56,7 @@ using [`labelPlacement`](https://ej2.syncfusion.com/angular/documentation/api/c {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/axis/category-cs29" %} ->Note: To use category axis, we need to inject `CategoryService` into the `@NgModule.providers` and set the [`valueType`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective/#valuetype) of axis to `Category`. +>Note: To use category axis, we need to inject `CategoryService` into the `@NgModule.providers` and set the [`valueType`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective#valuetype) of axis to `Category`. @@ -81,7 +80,7 @@ You can use the numeric axis to represent numeric values of data in chart. By de **Customize Numeric Range** -Range for an axis, will be calculated automatically based on the provided data, you can also customize the range of the axis using [`minimum`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective/#minimum), [`maximum`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective/#maximum) and [`interval`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective/#interval) property of the axis. +Range for an axis, will be calculated automatically based on the provided data, you can also customize the range of the axis using [`minimum`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective#minimum), [`maximum`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective#maximum) and [`interval`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective#interval) property of the axis. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -97,7 +96,7 @@ Range for an axis, will be calculated automatically based on the provided data, **Apply Padding to the Range** -Padding can be applied to the minimum and maximum extremes of the axis range by using the [`rangePadding`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective/#rangepadding) property. Numeric axis supports following types of padding. +Padding can be applied to the minimum and maximum extremes of the axis range by using the [`rangePadding`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective#rangepadding) property. Numeric axis supports following types of padding. * None * Round @@ -107,7 +106,7 @@ Padding can be applied to the minimum and maximum extremes of the axis range by **Numeric - None** -When the [`rangePadding`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective/#rangepadding) is set to `None`, minimum and maximum of an axis is based on the data. +When the [`rangePadding`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective#rangepadding) is set to `None`, minimum and maximum of an axis is based on the data. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -123,7 +122,7 @@ When the [`rangePadding`](https://ej2.syncfusion.com/angular/documentation/api/ **Numeric - Round** -When the [`rangePadding`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective/#rangepadding) is set to `Round`, minimum and maximum will be rounded to the nearest possible value divisible by interval. For example, when the minimum is 3.5 and the interval is 1, then the minimum will be rounded to 3. +When the [`rangePadding`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective#rangepadding) is set to `Round`, minimum and maximum will be rounded to the nearest possible value divisible by interval. For example, when the minimum is 3.5 and the interval is 1, then the minimum will be rounded to 3. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -139,7 +138,7 @@ When the [`rangePadding`](https://ej2.syncfusion.com/angular/documentation/api/ **Numeric - Additional** -When the [`rangePadding`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective/#rangepadding) is set to `Additional`, interval of an axis will be padded to the minimum and maximum of the axis. +When the [`rangePadding`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective#rangepadding) is set to `Additional`, interval of an axis will be padded to the minimum and maximum of the axis. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -155,7 +154,7 @@ When the [`rangePadding`](https://ej2.syncfusion.com/angular/documentation/api/ **Numeric - Normal** -When the [`rangePadding`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective/#rangepadding) is set to `Normal`, padding is applied to the axis based on default range calculation. +When the [`rangePadding`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective#rangepadding) is set to `Normal`, padding is applied to the axis based on default range calculation. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -171,7 +170,7 @@ When the [`rangePadding`](https://ej2.syncfusion.com/angular/documentation/api/ **Numeric - Auto** -When the [`rangePadding`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective/#rangepadding) is set to `Auto`,horizontal numeric axis takes None as padding calculation, while the vertical numeric axis takes Normal as padding calculation. +When the [`rangePadding`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective#rangepadding) is set to `Auto`,horizontal numeric axis takes None as padding calculation, while the vertical numeric axis takes Normal as padding calculation. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -203,7 +202,7 @@ When the [`rangePadding`](https://ej2.syncfusion.com/angular/documentation/api/ **Customizing Date Time Range** -Range for an axis, will be calculated automatically based on the provided data, you can also customize the range of the axis using [`minimum`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective/#minimum), [`maximum`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective/#maximum) and [`interval`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective/#interval) property of the axis. +Range for an axis, will be calculated automatically based on the provided data, you can also customize the range of the axis using [`minimum`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective#minimum), [`maximum`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective#maximum) and [`interval`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective#interval) property of the axis. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -219,7 +218,7 @@ Range for an axis, will be calculated automatically based on the provided data, **Date Time Intervals** -Date time intervals can be customized by using the [`interval`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective/#interval) and [`intervalType`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective/#intervaltype) properties of the axis. +Date time intervals can be customized by using the [`interval`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective#interval) and [`intervalType`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective#intervaltype) properties of the axis. For example, when you set interval as 2 and intervalType as years, it considers 2 years as interval. DateTime axis supports following interval types, @@ -245,7 +244,7 @@ DateTime axis supports following interval types, **Applying Padding to the Range** -Padding can be applied to the minimum and maximum extremes of the range by using the [`rangePadding`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective/#rangepadding) property. Date time axis supports the following types of padding, +Padding can be applied to the minimum and maximum extremes of the range by using the [`rangePadding`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective#rangepadding) property. Date time axis supports the following types of padding, * None * Round @@ -253,7 +252,7 @@ Padding can be applied to the minimum and maximum extremes of the range by using **DateTime - None** -When the [`rangePadding`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective/#rangepadding) is set to `None`, minimum and maximum of the axis is based on the data. +When the [`rangePadding`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective#rangepadding) is set to `None`, minimum and maximum of the axis is based on the data. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -269,7 +268,7 @@ When the [`rangePadding`](https://ej2.syncfusion.com/angular/documentation/api/ **DateTime - Round** -When the [`rangePadding`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective/#rangepadding) is set to `Round`, minimum and maximum will be rounded to the nearest possible value divisible by interval. For example, when the minimum is 15th Jan, interval is 1 and the interval type is ‘month’, then the axis minimum will be Jan 1st. +When the [`rangePadding`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective#rangepadding) is set to `Round`, minimum and maximum will be rounded to the nearest possible value divisible by interval. For example, when the minimum is 15th Jan, interval is 1 and the interval type is ‘month’, then the axis minimum will be Jan 1st. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -285,7 +284,7 @@ When the [`rangePadding`](https://ej2.syncfusion.com/angular/documentation/api/ **DateTime - Additional** -When the [`rangePadding`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective/#rangepadding) is set to `Additional`, interval of an axis will be padded to the minimum and maximum of the axis. +When the [`rangePadding`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective#rangepadding) is set to `Additional`, interval of an axis will be padded to the minimum and maximum of the axis. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -299,7 +298,7 @@ When the [`rangePadding`](https://ej2.syncfusion.com/angular/documentation/api/ {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/axis/datetime-cs7" %} ->Note: To use datetime axis, we need to inject `DateTimeService` into the `@NgModule.providers` and set the [`valueType`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective/#valuetype) of axis to `DateTime`. +>Note: To use datetime axis, we need to inject `DateTimeService` into the `@NgModule.providers` and set the [`valueType`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective#valuetype) of axis to `DateTime`. @@ -322,7 +321,7 @@ Logarithmic axis uses logarithmic scale and it is very useful in visualizing dat **Customize Logarithmic Range** -Range of an axis, will be calculated automatically based on the provided data, you can also customize the range of the axis using [`minimum`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective/#minimum), [`maximum`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective/#maximum) and [`interval`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective/#interval) property of the axis. +Range of an axis, will be calculated automatically based on the provided data, you can also customize the range of the axis using [`minimum`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective#minimum), [`maximum`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective#maximum) and [`interval`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective#interval) property of the axis. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -338,7 +337,7 @@ Range of an axis, will be calculated automatically based on the provided data, y **Logarithmic Base** -Logarithmic base can be customized by using the [`logBase`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective/#logbase) property of the axis. For example when the logBase is 5, the axis values follows 5-2, 5-1, 50, 51, 52 etc. +Logarithmic base can be customized by using the [`logBase`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective#logbase) property of the axis. For example when the logBase is 5, the axis values follows 5-2, 5-1, 50, 51, 52 etc. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -354,7 +353,7 @@ Logarithmic base can be customized by using the [`logBase`](https://ej2.syncfus **Logarithmic Interval** -Logarithmic axis interval can be customized by using the [`interval`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective/#interval) property of the axis. When the logarithmic base is 10 and logarithmic interval is 2, then the axis labels are placed at an interval of 102. The default value of the interval is 1. +Logarithmic axis interval can be customized by using the [`interval`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective#interval) property of the axis. When the logarithmic base is 10 and logarithmic interval is 2, then the axis labels are placed at an interval of 102. The default value of the interval is 1. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -368,13 +367,13 @@ Logarithmic axis interval can be customized by using the [`interval`](https://ej {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/axis/log-cs4" %} ->Note: To use log axis, we need to inject `LogarithmicService` into the `@NgModule.providers` and set the [`valueType`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective/#valuetype) of axis to `Logarithmic`. +>Note: To use log axis, we need to inject `LogarithmicService` into the `@NgModule.providers` and set the [`valueType`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective#valuetype) of axis to `Logarithmic`. ## Inversed Axis -When an axis is inversed, highest value of the axis comes closer to origin and vice versa. To place an axis in inversed manner set this property [`isInversed`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective/#isInversed) to true. +When an axis is inversed, highest value of the axis comes closer to origin and vice versa. To place an axis in inversed manner set this property [`isInversed`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective#isInversed) to true. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -392,7 +391,7 @@ When an axis is inversed, highest value of the axis comes closer to origin and v **Numeric Label Format** -Numeric labels can be formatted by using the [`labelFormat`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective/#labelformat) property. Numeric labels supports all globalize format. +Numeric labels can be formatted by using the [`labelFormat`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective#labelformat) property. Numeric labels supports all globalize format. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -467,7 +466,7 @@ The following table describes the result of applying some commonly used label fo **Datetime Label Format** -You can format and parse the date to all globalize format using [`labelFormat`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective/#labelformat) property in an axis. +You can format and parse the date to all globalize format using [`labelFormat`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective#labelformat) property in an axis. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -546,7 +545,7 @@ Axis also supports custom label format using placeholder like {value}°C, in w **Axis Title** -You can add a title to the axis using [`title`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective/#title) property to provide quick information to the user about the data plotted in the axis. +You can add a title to the axis using [`title`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective#title) property to provide quick information to the user about the data plotted in the axis. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -562,7 +561,7 @@ You can add a title to the axis using [`title`](https://ej2.syncfusion.com/angul **Label Customization** -The [`labelStyle`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective/#labelstyle) property of an axis provides options to customize the `color`, `font-family`, `font-size` and `font-weight` of the axis labels. +The [`labelStyle`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective#labelstyle) property of an axis provides options to customize the `color`, `font-family`, `font-size` and `font-weight` of the axis labels. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -578,7 +577,7 @@ The [`labelStyle`](https://ej2.syncfusion.com/angular/documentation/api/chart/a **Edge Label Placement** -Labels with long text at the edges of an axis may appear partially in the chart. To avoid this, use [`edgeLabelPlacement`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective/#edgelabelplacement) property in axis, which moves the label inside the chart area for better appearance or hides it. +Labels with long text at the edges of an axis may appear partially in the chart. To avoid this, use [`edgeLabelPlacement`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective#edgelabelplacement) property in axis, which moves the label inside the chart area for better appearance or hides it. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -594,7 +593,7 @@ Labels with long text at the edges of an axis may appear partially in the chart. **Grid Lines Customization** -You can customize the `width`, `color` and `dashArray` of the minor and major grid lines, using [`majorGridLines`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective/#majorgridlines) and [`minorGridLines`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective/#minorgridlines) properties in the axis. +You can customize the `width`, `color` and `dashArray` of the minor and major grid lines, using [`majorGridLines`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective#majorgridlines) and [`minorGridLines`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective#minorgridlines) properties in the axis. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -610,7 +609,7 @@ You can customize the `width`, `color` and `dashArray` of the minor and maj **Tick Lines Customization** -You can customize the  `width`, `color` and `size` of the minor and major tick lines, using [`majorTickLines`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective/#majorgridlines) and [`minorTickLines`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective/#minorgridlines) properties in the axis. +You can customize the  `width`, `color` and `size` of the minor and major tick lines, using [`majorTickLines`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective#majorgridlines) and [`minorTickLines`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective#minorgridlines) properties in the axis. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -627,7 +626,7 @@ You can customize the  `width`, `color` and `size` of the minor and major **Place Axes at the Opposite Side** -To place an axis opposite from its original position, set [`opposedPosition`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective/#opposedposition) property of the axis to true. +To place an axis opposite from its original position, set [`opposedPosition`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective#opposedposition) property of the axis to true. {% tabs %} @@ -660,7 +659,7 @@ In addition to primary X and Y axis, we can add n number of axis to the chart. S ## Smart Axis Labels -When the axis labels overlap with each other, you can use [`labelIntersectAction`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective/#labelintersectaction) property in the axis, to place them smartly. +When the axis labels overlap with each other, you can use [`labelIntersectAction`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisDirective#labelintersectaction) property in the axis, to place them smartly. When setting `labelIntersectAction` as `Hide` diff --git a/chart-sdk/angular/charts/chart-dimensions.md b/chart-sdk/angular/charts/chart-dimensions.md index 86b8e7020..cd61ab7d2 100644 --- a/chart-sdk/angular/charts/chart-dimensions.md +++ b/chart-sdk/angular/charts/chart-dimensions.md @@ -1,6 +1,6 @@ --- layout: post -title: Chart Dimensions in Angular Chart | Syncfusion +title: Chart Dimensions in Angular Charts Component | Syncfusion description: Learn here all about Chart dimensions in Syncfusion Angular Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Chart dimensions @@ -8,33 +8,11 @@ documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Chart Dimensions in Angular Chart +# Chart Dimensions in Angular Charts Component -## Container Size +## Size for Container -Charts render to the size of their parent container. You can control sizing via the parent container (CSS or inline style) or by using the chart's `width` and `height` properties directly. - -Chart can render to its container size. You can set the size via inline or CSS as demonstrated below. - -```html -
- -
-``` - -```ts -import { Component, OnInit } from '@angular/core'; - -@Component({ - selector: 'app-container', - template: - `
- -
` -}) -export class AppComponent { -} -``` +The Chart renders to the size of its parent container. You can set the container size inline or via CSS as shown below. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -45,18 +23,18 @@ export class AppComponent { {% include code-snippet/chart-sdk/angular/charts/getting-started/datasource-cs1/src/main.ts %} {% endhighlight %} {% endtabs %} - + {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/getting-started/datasource-cs1" %} -## Chart Size +> **Note:** When using percentage-based sizes for the chart, ensure the parent container has an explicit size; otherwise the chart may not render with the expected dimensions. -You can also set size for chart directly through [`width`](https://ej2.syncfusion.com/angular/documentation/api/chart#width) and [`height`](https://ej2.syncfusion.com/angular/documentation/api/chart#height) properties. +## Size for Chart - -**In Pixel** - +You can also set the size of the chart directly through the [`width`](https://ej2.syncfusion.com/angular/documentation/api/chart/index-default#width) and [`height`](https://ej2.syncfusion.com/angular/documentation/api/chart/index-default#height) properties. These accept numeric (in pixels) or string (e.g., `'650'`, `'650px'`, `'50%'`) values. -You can set the size of chart in pixel as demonstrated below. +### Pixel + +The size of the chart can be set in pixels as demonstrated below. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -67,13 +45,12 @@ You can set the size of chart in pixel as demonstrated below. {% include code-snippet/chart-sdk/angular/charts/getting-started/datasource-cs2/src/main.ts %} {% endhighlight %} {% endtabs %} - + {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/getting-started/datasource-cs2" %} -**In Percentage** +### Percentage -By setting value in percentage, chart gets its dimension with respect to its container. For example, -when the height is ‘50%’, chart renders to half of the container height. +By setting a value in percentage, the chart gets its dimensions with respect to its container. For example, when the height is **50%**, the chart renders to half of the container's height. Percentage values require the parent container to have an explicit size. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -84,7 +61,9 @@ when the height is ‘50%’, chart renders to half of the container height. {% include code-snippet/chart-sdk/angular/charts/getting-started/datasource-cs3/src/main.ts %} {% endhighlight %} {% endtabs %} - + {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/getting-started/datasource-cs3" %} -> **Note:** When you do not specify the size, the chart uses `450px` as the default height and the window size as its width. \ No newline at end of file +## Default Size + +> If the size is not specified, the Chart will be rendered with a height of **450px** and a width equal to the size of the window. When only one dimension is specified, the other dimension is computed automatically. diff --git a/chart-sdk/angular/charts/chart-elements/chart-annotations.md b/chart-sdk/angular/charts/chart-elements/chart-annotations.md index 3c2baf2fb..c5a85097a 100644 --- a/chart-sdk/angular/charts/chart-elements/chart-annotations.md +++ b/chart-sdk/angular/charts/chart-elements/chart-annotations.md @@ -1,20 +1,32 @@ --- layout: post -title: Annotations in Angular Chart | Syncfusion +title: Annotations in Angular Charts | Syncfusion description: Learn here all about Chart annotations in Syncfusion Angular Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Chart annotations +control: Chart annotations documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Annotations in Angular Chart +# Annotations in Angular Charts -Chart annotations allow highlighting specific areas of the chart using text, shapes, images, or custom HTML elements. Annotations can be used to emphasize trends, mark thresholds, show custom notes, or display additional information directly inside the chart area. +In this guide, you'll learn how to add, position, and customize annotations in the Syncfusion Angular Chart component to highlight trends, thresholds, and other details directly inside the chart area. -Chart displaying annotation example +Chart annotations allow highlighting specific areas of the chart using text, shapes, images, or custom HTML elements. Annotations can be used to emphasize trends, mark thresholds, show custom notes, or surface extra details inline within the chart area. -Annotations are added using the [`annotations`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartModel#annotations) option. Set the [`content`](https://ej2.syncfusion.com/angular/documentation/api/chart/annotationDirective#content) property to reference the element that should be rendered within the chart. +Chart annotation highlighting a category on the x-axis with custom text + +## Prerequisites + +Before adding annotations, make sure the package below is installed: + +* [`@syncfusion/ej2-angular-charts`](https://www.npmjs.com/package/@syncfusion/ej2-angular-charts) — see the [Syncfusion Angular compatibility matrix](https://ej2.syncfusion.com/angular/documentation/system-requirement) for the supported Angular version range. + +For a step-by-step setup, see [Getting Started with Angular Chart](../getting-started). + +>**Note**: To use the annotation feature in Chart, add `ChartAnnotationService` to the standalone component's `providers` (or to `@NgModule.providers` for non-standalone apps). See the snippet below for an example. + +Annotations are added using the [`annotations`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartModel#annotations) option. Set the [`content`](https://ej2.syncfusion.com/angular/documentation/api/chart/annotationDirective#content) property to specify the HTML or template string that should be rendered within the chart. To know more about annotations, you can check on this video: @@ -29,14 +41,12 @@ To know more about annotations, you can check on this video: {% include code-snippet/chart-sdk/angular/charts/series/column-cs7/src/main.ts %} {% endhighlight %} {% endtabs %} - -{% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/series/column-cs7" %} ->**Note**: To use annotation feature in chart, we need to inject `ChartAnnotationService` into the `@NgModule.providers`. +{% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/series/column-cs7" %} ## Region -Annotations can be positioned relative to either the overall `Chart` area or a specific `Series` using the [`region`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartAnnotationSettingsModel#region) property. When placed relative to the chart, the annotation uses the chart's coordinate system. When placed relative to a series, the annotation aligns with that series' data points. By default, annotations are placed with respect to the chart. +Annotations can be positioned relative to either the overall `Chart` area or a specific `Series` using the [`region`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartAnnotationSettingsModel#region) property. When placed relative to the chart, the annotation uses the chart's coordinate system. When placed relative to a series, the annotation aligns with that series' data points, so the annotation's `x` value must match the category/name defined by the series' `xName`. By default, annotations are placed with respect to the `Chart`. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -52,9 +62,11 @@ Annotations can be positioned relative to either the overall `Chart` area or a s ## Coordinate Units -Use the [`coordinateUnits`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartAnnotationSettingsModel#coordinateunits) property to define how annotation coordinates are interpreted. Choose between: -- **Pixel** – The annotation is positioned using fixed pixel values within the chart area. -- **Point** – The annotation is positioned based on chart data points ([`x`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartAnnotationSettingsModel#x) and [`y`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartAnnotationSettingsModel#y) values). +Use the [`coordinateUnits`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartAnnotationSettingsModel#coordinateunits) property to define how annotation coordinates are interpreted. The default value is `Pixel`. Choose between: +- `Pixel` – The annotation is positioned using fixed pixel values within the chart area. +- `Point` – The annotation is positioned based on chart data points ([`x`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartAnnotationSettingsModel#x) and [`y`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartAnnotationSettingsModel#y) values). + +When using `Point`, the `x` value must match a value your x-axis can resolve: a category label (e.g. `'Japan'`) for `valueType: 'Category'`; a `Date` or `DateOffset` value for `valueType: 'DateTime'`; or a numeric value for `valueType: 'Double'`. For `region='Chart'`, `x` must still resolve against the primary x-axis and `y` against the primary y-axis; for `region='Series'`, `x` must match the series' `xName` value. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -70,7 +82,7 @@ Use the [`coordinateUnits`](https://ej2.syncfusion.com/angular/documentation/api ## Alignment -Annotation provides [`verticalAlignment`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartAnnotationSettingsModel#verticalalignment) and [`horizontalAlignment`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartAnnotationSettingsModel#horizontalalignment). The [`verticalAlignment`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartAnnotationSettingsModel#verticalalignment) can be customized via `Top`, `Bottom` or `Middle` and the [`horizontalAlignment`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartAnnotationSettingsModel#horizontalalignment) can be customized via `Near`, `Far` or `Center`. +Annotation provides [`verticalAlignment`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartAnnotationSettingsModel#verticalalignment) and [`horizontalAlignment`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartAnnotationSettingsModel#horizontalalignment). The [`verticalAlignment`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartAnnotationSettingsModel#verticalalignment) can be customized via `Top`, `Bottom`, or `Middle` (default: `Middle`); the [`horizontalAlignment`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartAnnotationSettingsModel#horizontalalignment) can be customized via `Near`, `Far`, or `Center` (default: `Center`). {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -84,9 +96,13 @@ Annotation provides [`verticalAlignment`](https://ej2.syncfusion.com/angular/doc {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/series/column-cs10" %} -## Adding y-axis subtitle through annotation +## Annotation Customization + +Use annotations to enrich the chart with custom visuals such as dashed reference lines, watermarks, footers, y-axis subtitles, and stacked-column totals. The samples in this section cover each scenario. + +### Y-Axis Subtitle -By setting text div in the [`content`](https://ej2.syncfusion.com/angular/documentation/api/chart/annotationDirective#content) option of annotation object, you can add a subtitle to the chart y-axis. Specify the [`coordinateUnits`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartAnnotationSettingsModel#coordinateunits) value as `Pixel` and customize the [`x`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartAnnotationSettingsModel#x) and [`y`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartAnnotationSettingsModel#y) location of the text. +By setting a text `
` in the [`content`](https://ej2.syncfusion.com/angular/documentation/api/chart/annotationDirective#content) option of an annotation object, you can add a subtitle to the chart y-axis. Set [`coordinateUnits`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartAnnotationSettingsModel#coordinateunits) to `Pixel`, adjust the [`x`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartAnnotationSettingsModel#x) and [`y`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartAnnotationSettingsModel#y) location of the text (the sample below positions the subtitle near the top-left of the y-axis), and apply `transform: rotate(-90deg)` to a `
` wrapper inside `content` so the subtitle orients vertically alongside the y-axis. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -97,14 +113,12 @@ By setting text div in the [`content`](https://ej2.syncfusion.com/angular/docume {% include code-snippet/chart-sdk/angular/charts/series/column-cs11/src/main.ts %} {% endhighlight %} {% endtabs %} - -{% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/series/column-cs11" %} -## Annotation customization +{% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/series/column-cs11" %} -### Dotted line +### Dotted Line -Set the annotation [`coordinateUnits`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartAnnotationSettingsModel#coordinateunits) to `Point` to place dotted lines at specific data point positions using their [`x`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartAnnotationSettingsModel#x) and [`y`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartAnnotationSettingsModel#y) values. +Set the annotation [`coordinateUnits`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartAnnotationSettingsModel#coordinateunits) to `Point` to draw a horizontal dashed line anchored at a specific data point. Although the line is anchored at one `(x, y)` position, the wrapper `
` inside [`content`](https://ej2.syncfusion.com/angular/documentation/api/chart/annotationDirective#content) uses `width: 10000px` with `border-top: 3px dashed` so the dashed bar visually spans across the plot area from that data point. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -118,12 +132,12 @@ Set the annotation [`coordinateUnits`](https://ej2.syncfusion.com/angular/docume {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/how-to-cs6" %} -### Footer +### Watermark -Use annotations to add both a watermark and a footer to the chart. Initialize custom elements with the [`annotation`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartAnnotationSettingsModel) property and provide the HTML to render via the [`content`](https://ej2.syncfusion.com/angular/documentation/api/chart/annotationDirective#content) option. For a watermark, supply the text "syncfusion" and position it using the desired [`coordinateUnits`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartAnnotationSettingsModel#coordinateunits). +Use an annotation to add a watermark to the chart. Initialize the element with the [`annotation`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartAnnotationSettingsModel) property and provide the HTML for the watermark via the [`content`](https://ej2.syncfusion.com/angular/documentation/api/chart/annotationDirective#content) option. In the example below the watermark text is "syncfusion", positioned with `coordinateUnits='Point'` so it aligns with a category on the x-axis (matching a category label such as `'Wed'`). -```bash - # watermark for chart +```html + @@ -131,11 +145,13 @@ Use annotations to add both a watermark and a footer to the chart. Initialize cu ``` -Use the [`x`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartAnnotationSettingsModel#x) and [`y`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartAnnotationSettingsModel#y) option of the annotation object to create a footer for the chart. +### Footer + +Use the [`x`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartAnnotationSettingsModel#x) and [`y`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartAnnotationSettingsModel#y) options of the annotation object to place a footer at the bottom of the chart. Use `coordinateUnits='Pixel'` with absolute coordinates (the values shown assume a chart of approximately 800 × 480 pixels; adjust `x` and `y` based on your chart's actual size, and note that pixel offsets may shift on responsive resize because Pixel units are tied to the chart's outer dimensions). -```bash +```html + - # footer for chart @@ -151,12 +167,12 @@ Use the [`x`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartAn {% include code-snippet/chart-sdk/angular/charts/how-to-cs8/src/main.ts %} {% endhighlight %} {% endtabs %} - + {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/how-to-cs8" %} -### Stacking total +### Stacking Total -To show the total at each stacked data point, handle the [`annotationRender`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartModel#annotationrender) event to compute the series' stacked value and update the annotation content before it renders. +To show the total at each stacked data point, handle the [`annotationRender`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartModel#annotationrender) event (the binding `(annotationRender)='annotationRender($event)'` is shown in the snippet below) to compute the series' stacked value (`visibleSeries[lastIndex].stackedValues.endValues[index]` — see [`Series.stackedValues`](https://ej2.syncfusion.com/angular/documentation/api/chart/series#stackedvalues)) and update the annotation content's nested `` (`args.content.children[0].children[0].innerHTML`) before each annotation is rendered. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -167,11 +183,38 @@ To show the total at each stacked data point, handle the [`annotationRender`](ht {% include code-snippet/chart-sdk/angular/charts/how-to-cs19/src/main.ts %} {% endhighlight %} {% endtabs %} - + {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/how-to-cs19" %} +### Binding to Multiple Axes + +When the chart has more than one x-axis or y-axis, target a specific axis by setting the annotation's [`xAxisName`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartAnnotationSettingsModel#xaxisname) and [`yAxisName`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartAnnotationSettingsModel#yaxisname) properties to the corresponding axis names declared on the chart. + +```html + + + + +``` + +The full multi-axis chart setup (including `axes` array and axis naming) is documented under [Multi-Panes](../multi-panes). + +## Troubleshooting + +If the annotation does not render or behaves unexpectedly, check the following: + +* **Service not provided** – Console shows `ChartAnnotationService` errors when an annotation is added without registering the service. Confirm `ChartAnnotationService` is listed in the component `providers` (or in `@NgModule.providers` for module-based apps). +* **Annotation not appearing** – When using `coordinateUnits='Point'`, verify that the `x`/`y` values resolve against the axis. With `region='Series'`, `x` must match the series' `xName` value; with `region='Chart'`, `x` must match the primary x-axis value. +* **Pixel offset mismatch** – Pixel units depend on the chart's outer width and height. If the chart is rendered inside a responsive container, recompute `x`/`y` after resize or switch to `Point` units. +* **Empty or broken HTML** – The `content` is parsed as HTML; quotes and entities must be escaped correctly inside the template. + ## See Also -* [Dynamically Update X-Axis Annotation Content](https://support.syncfusion.com/kb/article/21478/how-to-dynamically-update-x-axis-annotation-content-on-point-click-in-angular-chart) -* [Add Clickable Annotation Text](https://support.syncfusion.com/kb/article/21318/how-to-add-clickable-annotation-text-in-angular-accumulation-chart) \ No newline at end of file +* [Dynamically Update Annotation Content on Point Click in Angular Charts](https://support.syncfusion.com/kb/article/21478/how-to-dynamically-update-x-axis-annotation-content-on-point-click-in-angular-chart) +* [Chart Events](../chart-events) — for a list of supported chart events, including `annotationRender`. \ No newline at end of file diff --git a/chart-sdk/angular/charts/chart-elements/data-labels.md b/chart-sdk/angular/charts/chart-elements/data-labels.md index 2de1d90ba..a8a76decc 100644 --- a/chart-sdk/angular/charts/chart-elements/data-labels.md +++ b/chart-sdk/angular/charts/chart-elements/data-labels.md @@ -1,6 +1,6 @@ --- layout: post -title: Data Labels in Angular Chart | Syncfusion +title: Data Labels in Angular Charts | Syncfusion description: Learn here all about Data labels in Syncfusion Angular Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Data labels @@ -8,13 +8,13 @@ documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Data Labels in Angular Chart +# Data Labels in Angular Charts -Data labels display the values of data points directly on the chart, reducing the need to reference axes for exact values. Enable data labels by setting the [`visible`](https://ej2.syncfusion.com/angular/documentation/api/chart/dataLabelSettings#visible) option to `true` in the `dataLabel` configuration. Labels automatically adjust to avoid overlapping and maintain readability. +Data labels display the values of data points directly on the chart, reducing the need to reference axes for exact values. Labels automatically adjust to avoid overlapping and maintain readability. Chart with data labels displayed -Data labels can be added to a chart series by enabling the [`visible`](https://ej2.syncfusion.com/angular/documentation/api/chart/dataLabelSettings#visible) option in the [`dataLabel`](https://ej2.syncfusion.com/angular/documentation/api/chart/markersettingsmodel#datalabel). By default, the labels will arrange smartly without overlapping. +Data labels can be added to a chart series by setting the [`visible`](https://ej2.syncfusion.com/angular/documentation/api/chart/dataLabelSettings#visible) option to `true` in the [`dataLabel`](https://ej2.syncfusion.com/angular/documentation/api/chart/markerSettingsModel#datalabel) property of the series [`marker`](https://ej2.syncfusion.com/angular/documentation/api/chart/seriesModel#marker). By default, the labels arrange smartly without overlapping. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -28,7 +28,7 @@ Data labels can be added to a chart series by enabling the [`visible`](https://e {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/data-marker/datalabel-cs1" %} ->**Note**: To use datalabel feature, inject `DataLabelService` into the `@NgModule.providers`. +>**Note**: To use the DataLabel feature, inject `DataLabelService` into the `@NgModule.providers`. ## Position @@ -52,46 +52,49 @@ Use the [`position`](https://ej2.syncfusion.com/angular/documentation/api/chart/ Customize label content using templates. Use placeholders such as `${point.x}` and `${point.y}` to display data point values. The [`template`](https://ej2.syncfusion.com/angular/documentation/api/chart/dataLabelSettingsModel#template) property enables fully customizable and visually rich labels. -**Change color for the background in the datalabel template** +**Define a template via a `script` element** -Initialize the datalabel template div as shown in the following html page, +Add a `script` element with a unique `id` in the page's `index.html`. In this example, the `color` field from the data source is mapped to the template's background: -``` +```html ``` +Then reference that `id` from the [`template`](https://ej2.syncfusion.com/angular/documentation/api/chart/dataLabelSettingsModel#template) property in the `dataLabel` configuration: {% tabs %} {% highlight ts tabtitle="app.component.ts" %} -{% include code-snippet/chart-sdk/angular/charts/data-marker/datalabel-cs3/src/app.component.ts %} +{% include code-snippet/chart-sdk/angular/charts/datalabel-cs1/src/app.component.ts %} {% endhighlight %} {% highlight ts tabtitle="main.ts" %} -{% include code-snippet/chart-sdk/angular/charts/data-marker/datalabel-cs3/src/main.ts %} +{% include code-snippet/chart-sdk/angular/charts/datalabel-cs1/src/main.ts %} {% endhighlight %} {% endtabs %} -{% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/data-marker/datalabel-cs3" %} +{% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/datalabel-cs1" %} + +**Define a template inline** -**To show that datalabel template, set the element id to the [template](https://ej2.syncfusion.com/angular/documentation/api/chart/dataLabelSettingsModel#template) property in datalabel.** +You can also define the template HTML inline as a string in `app.component.ts`, using the same placeholders: {% tabs %} {% highlight ts tabtitle="app.component.ts" %} -{% include code-snippet/chart-sdk/angular/charts/datalabel-cs1/src/app.component.ts %} +{% include code-snippet/chart-sdk/angular/charts/data-marker/datalabel-cs3/src/app.component.ts %} {% endhighlight %} {% highlight ts tabtitle="main.ts" %} -{% include code-snippet/chart-sdk/angular/charts/datalabel-cs1/src/main.ts %} +{% include code-snippet/chart-sdk/angular/charts/data-marker/datalabel-cs3/src/main.ts %} {% endhighlight %} {% endtabs %} -{% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/datalabel-cs1" %} +{% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/data-marker/datalabel-cs3" %} ## Format -Apply number or date formatting using the [`format`](https://ej2.syncfusion.com/angular/documentation/api/chart/dataLabelSettings#format) property. Global formatting symbols include: +Apply number or date formatting using the [`format`](https://ej2.syncfusion.com/angular/documentation/api/chart/dataLabelSettings#format) property. Global formatting symbols include: - `n` – number format - `p` – percentage format - `c` – currency format @@ -131,7 +134,7 @@ Apply number or date formatting using the [`format`](https://ej2.syncfusion.com 1000 n3 1000.000 - The number is rounded to 3 decimal place. + The number is rounded to 3 decimal places. 0.01 @@ -143,25 +146,25 @@ Apply number or date formatting using the [`format`](https://ej2.syncfusion.com 0.01 p2 1.00% - The number is converted to percentage with 2 decimal place. + The number is converted to percentage with 2 decimal places. 0.01 p3 1.000% - The number is converted to percentage with 3 decimal place. + The number is converted to percentage with 3 decimal places. 1000 c1 $1000.0 - The currency symbol is appended to number and number is rounded to 1 decimal place. + The currency symbol is appended to the number and the number is rounded to 1 decimal place. 1000 c2 $1000.00 - The currency symbol is appended to number and number is rounded to 2 decimal place. + The currency symbol is appended to the number and the number is rounded to 2 decimal places. @@ -197,7 +200,7 @@ Adjust spacing around labels using the [`margin`](https://ej2.syncfusion.com/ang {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/data-marker/datalabel-cs6" %} -## Data label rotation +## Data Label Rotation Rotate data labels using the [`angle`](https://ej2.syncfusion.com/angular/documentation/api/chart/dataLabelSettings#angle) property. Rotation improves readability when labels are long or when space is limited. @@ -231,12 +234,14 @@ Enhance label appearance using properties such as [`fill`](https://ej2.syncfusio >Note: The [`rx`](https://ej2.syncfusion.com/angular/documentation/api/chart/dataLabelSettings#rx) and [`ry`](https://ej2.syncfusion.com/angular/documentation/api/chart/dataLabelSettings#ry) properties require non‑null [`border`](https://ej2.syncfusion.com/angular/documentation/api/chart/dataLabelSettings#border) values. -## Customizing specific point +## Customizing Specific Point -Customize individual markers or labels using the [`pointRender`](https://ej2.syncfusion.com/angular/documentation/api/chart/iPointRenderEventArgs)and [`textRender`](https://ej2.syncfusion.com/angular/documentation/api/chart/iTextRenderEventArgs) events. -- [`pointRender`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartModel#pointrender) modifies shape, color, or border of a point. +Customize individual markers or labels using the [`pointRender`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartModel#pointrender) and [`textRender`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartModel#textrender) events of the chart. +- [`pointRender`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartModel#pointrender) modifies the shape, color, or border of a point. - [`textRender`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartModel#textrender) customizes the label text for specific points. +>Note: The event arguments for `pointRender` and `textRender` are typed as [`IPointRenderEventArgs`](https://ej2.syncfusion.com/angular/documentation/api/chart/iPointRenderEventArgs) and [`ITextRenderEventArgs`](https://ej2.syncfusion.com/angular/documentation/api/chart/iTextRenderEventArgs) respectively. + {% tabs %} {% highlight ts tabtitle="app.component.ts" %} {% include code-snippet/chart-sdk/angular/charts/data-marker/datalabel-cs9/src/app.component.ts %} @@ -249,10 +254,10 @@ Customize individual markers or labels using the [`pointRender`](https://ej2.syn {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/data-marker/datalabel-cs9" %} -## Show percentage based on each series points +## Show Percentage Based on Each Series Points -Calculate and display percentage values based on each series' total using the [`seriesRender`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartModel#seriesrender) and [`textRender`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartModel#textrender) events. -- In [`seriesRender`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartModel#seriesrender), compute the total of `y` values. +Calculate and display percentage values based on each series' total using the [`seriesRender`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartModel#seriesrender) and [`textRender`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartModel#textrender) events. +- In [`seriesRender`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartModel#seriesrender), compute the total of `y` values. - In [`textRender`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartModel#textrender), calculate the percentage for each point and update the label text. {% tabs %} @@ -267,11 +272,11 @@ Calculate and display percentage values based on each series' total using the [` {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/data-marker/datalabel-cs10" %} -## Last value label +## Last Value Label The [`lastValueLabel`](https://ej2.syncfusion.com/angular/documentation/api/chart/seriesModel#lastvaluelabel) in a chart allows you to easily display the value of the last data point in a series. This feature provides an intuitive way to highlight the most recent or last data value in a series on your chart. -### Enable last value label +### Enable Last Value Label To show the last value label, make sure the [`enable`](https://ej2.syncfusion.com/angular/documentation/api/chart/lastValueLabelSettingsModel#enable) property inside the [`lastValueLabel`](https://ej2.syncfusion.com/angular/documentation/api/chart/seriesModel#lastvaluelabel) settings is set to `true` within the series configuration. @@ -287,9 +292,9 @@ To show the last value label, make sure the [`enable`](https://ej2.syncfusion.co {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/last-value-label" %} ->Note: To use last value label feature, we need to inject `LastValueLabelService` into the `@NgModule.providers`. +>Note: To use the Last Value Label feature, inject `LastValueLabelService` into the `@NgModule.providers`. -### Customization in last label +### Customization The appearance of the last value label can be customized using style properties such as [`font`](https://ej2.syncfusion.com/angular/documentation/api/chart/lastValueLabelSettingsModel#font), [`background`](https://ej2.syncfusion.com/angular/documentation/api/chart/lastValueLabelSettingsModel#background), [`border`](https://ej2.syncfusion.com/angular/documentation/api/chart/lastValueLabelSettingsModel#border), [`dashArray`](https://ej2.syncfusion.com/angular/documentation/api/chart/lastValueLabelSettingsModel#dasharray), [`lineWidth`](https://ej2.syncfusion.com/angular/documentation/api/chart/lastValueLabelSettingsModel#linewidth), [`lineColor`](https://ej2.syncfusion.com/angular/documentation/api/chart/lastValueLabelSettingsModel#linecolor), [`rx`](https://ej2.syncfusion.com/angular/documentation/api/chart/lastValueLabelSettingsModel#rx), and [`ry`](https://ej2.syncfusion.com/angular/documentation/api/chart/lastValueLabelSettingsModel#ry) in the [`lastValueLabel`](https://ej2.syncfusion.com/angular/documentation/api/chart/seriesModel#lastvaluelabel) property of the chart series. These settings allow you to tailor the label's look to align with your desired visual presentation. @@ -305,7 +310,7 @@ The appearance of the last value label can be customized using style properties {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/last-value-label-customization" %} -## Prevent data label +## Prevent Data Label Hide data labels for points whose value is 0 using the [`textRender`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartModel#textrender) event. In the handler, check `args.point.y` and set `args.cancel` to `true` when it equals 0. @@ -323,5 +328,5 @@ Hide data labels for points whose value is 0 using the [`textRender`](https://ej ## See Also -* [Show total stacking values in data label](./how-to/stacking-total#show-the-total-value-for-stacking-series-in-data-label) +* [Show the total value for stacking series in data label](https://ej2.syncfusion.com/angular/documentation/chart/how-to/stacking-total#show-the-total-value-for-stacking-series-in-data-label) * [Add Images to Each Data Point](https://support.syncfusion.com/kb/article/21529/how-to-add-images-to-each-data-point-in-angular-chart-component) \ No newline at end of file diff --git a/chart-sdk/angular/charts/chart-elements/data-markers.md b/chart-sdk/angular/charts/chart-elements/data-markers.md index ab6f6d722..e6fb287db 100644 --- a/chart-sdk/angular/charts/chart-elements/data-markers.md +++ b/chart-sdk/angular/charts/chart-elements/data-markers.md @@ -1,6 +1,6 @@ --- layout: post -title: Markers in Angular Chart | Syncfusion +title: Markers in Angular Charts | Syncfusion description: Learn here all about Data markers in Syncfusion Angular Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Data markers @@ -8,15 +8,15 @@ documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Markers in Angular Chart +# Markers in Angular Charts -Data markers are visual indicators placed at each data point on a series, helping to clearly identify and highlight individual values in your chart. Markers improve readability and accessibility, especially in line and area charts where data points may otherwise be unclear. Customize marker shape, color, size, and appearance to match your design requirements. +Data markers are visual indicators placed at each data point on a series, helping you to clearly identify and highlight individual values in your chart. Markers improve readability and accessibility, especially in line and area charts where data points may otherwise be unclear. You can customize the marker shape, color, size, and appearance to match your design requirements. Chart markers highlighting data points ## Marker -Enable markers for data points by setting the [`visible`](https://ej2.syncfusion.com/angular/documentation/api/chart/markerSettingsModel#visible) option to `true` in the [`marker`](https://ej2.syncfusion.com/angular/documentation/api/chart/seriesModel#marker) property. Each series receives distinct markers by default, improving visual differentiation. +Enable markers for data points by setting the [`visible`](https://ej2.syncfusion.com/angular/documentation/api/chart/markerSettingsModel#visible) option to `true` in the [`marker`](https://ej2.syncfusion.com/angular/documentation/api/chart/seriesModel#marker) property. Each series receives a distinct marker shape by default, improving visual differentiation across series. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -32,7 +32,7 @@ Enable markers for data points by setting the [`visible`](https://ej2.syncfusion ## Shape -Assign different shapes to markers such as Rectangle, Circle, Diamond, Triangle, and others using the [`shape`](https://ej2.syncfusion.com/angular/documentation/api/chart/markerSettings#shape) property. Shape selection helps distinguish between multiple series and improves visual clarity. +Assign different shapes to markers — such as Rectangle, Circle, Diamond, Triangle, Pentagon, Star, HorizontalLine, VerticalLine, and Cross — using the [`shape`](https://ej2.syncfusion.com/angular/documentation/api/chart/markerSettingsModel#shape) property. Shape selection helps distinguish between multiple series and improves visual clarity. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -46,11 +46,11 @@ Assign different shapes to markers such as Rectangle, Circle, Diamond, Triangle, {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/data-marker/marker-cs2" %} ->**Note** : To know more about the marker shape type refer the [`shape`](https://ej2.syncfusion.com/angular/documentation/api/chart/markerSettings#shape). +>**Note** : To know more about the marker shape types, refer to the [`shape`](https://ej2.syncfusion.com/angular/documentation/api/chart/markerSettingsModel#shape) property and its supported values. ## Images -Apart from the shapes, you can also add custom images to mark the data point using the [`imageUrl`](https://ej2.syncfusion.com/angular/documentation/api/chart/markerSettingsModel#imageurl) property. +In addition to built-in shapes, you can also mark each data point with a custom image using the [`imageUrl`](https://ej2.syncfusion.com/angular/documentation/api/chart/markerSettingsModel#imageurl) property. Provide a URL or relative asset path that resolves to a PNG, JPG, or SVG file. For best results, set `width` and `height` on the marker to match the image's natural dimensions. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -66,7 +66,7 @@ Apart from the shapes, you can also add custom images to mark the data point usi ## Customization -Marker's color and border can be customized using [`fill`](https://ej2.syncfusion.com/angular/documentation/api/chart/markerSettingsModel#fill) and [`border`](https://ej2.syncfusion.com/angular/documentation/api/chart/markerSettingsModel#border) properties. +Marker color, size, and border can be customized using the [`fill`](https://ej2.syncfusion.com/angular/documentation/api/chart/markerSettingsModel#fill), [`width`](https://ej2.syncfusion.com/angular/documentation/api/chart/markerSettingsModel#width), [`height`](https://ej2.syncfusion.com/angular/documentation/api/chart/markerSettingsModel#height), and [`border`](https://ej2.syncfusion.com/angular/documentation/api/chart/markerSettingsModel#border) properties. The `width` and `height` set the **marker** size (not the series line width). The `border` object accepts `width` and `color` keys. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -80,9 +80,11 @@ Marker's color and border can be customized using [`fill`](https://ej2.syncfusio {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/data-marker/marker-cs4" %} -## Customizing specific point +## Customizing specific markers -You can also customize the specific marker and label using [`pointRender`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartModel#pointrender) event. The [`pointRender`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartModel#pointrender) event allows you to change the shape, color and border for a point. +You can customize individual markers using the [`pointRender`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartModel#pointrender) event. Inside the event handler, assign values to `args.fill`, `args.shape`, and `args.border` to override defaults for any data point based on its index or value. + +The following example changes the fill, shape, and border for the marker at index `3`: {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -96,34 +98,34 @@ You can also customize the specific marker and label using [`pointRender`](https {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/data-marker/marker-cs5" %} -## Fill marker with series color +### Assigning different shapes per point -Marker can be filled with the series color by setting the [`isFilled`](https://ej2.syncfusion.com/angular/documentation/api/chart/markerSettingsModel#isfilled) property to **true**. +You can also use the [`pointRender`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartModel#pointrender) event to dynamically assign a different `shape` to each data point — useful when you want to vary marker shapes across the series based on the point index or value. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} -{% include code-snippet/chart-sdk/angular/charts/data-marker/marker-cs6/src/app.component.ts %} +{% include code-snippet/chart-sdk/angular/charts/how-to-cs13/src/app.component.ts %} {% endhighlight %} {% highlight ts tabtitle="main.ts" %} -{% include code-snippet/chart-sdk/angular/charts/data-marker/marker-cs6/src/main.ts %} +{% include code-snippet/chart-sdk/angular/charts/how-to-cs13/src/main.ts %} {% endhighlight %} {% endtabs %} -{% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/data-marker/marker-cs6" %} +{% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/how-to-cs13" %} -## Customize marker shape using events +## Fill marker with series color -Use the [`pointRender`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartModel#pointrender) event to customize marker shapes. In the handler, set the `shape` for each data point as needed. +The marker can be filled with the series color by setting the [`isFilled`](https://ej2.syncfusion.com/angular/documentation/api/chart/markerSettingsModel#isfilled) property to **true**. When `isFilled` is enabled, any explicitly set `fill` is overridden by the series color. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} -{% include code-snippet/chart-sdk/angular/charts/how-to-cs13/src/app.component.ts %} +{% include code-snippet/chart-sdk/angular/charts/data-marker/marker-cs6/src/app.component.ts %} {% endhighlight %} {% highlight ts tabtitle="main.ts" %} -{% include code-snippet/chart-sdk/angular/charts/how-to-cs13/src/main.ts %} +{% include code-snippet/chart-sdk/angular/charts/data-marker/marker-cs6/src/main.ts %} {% endhighlight %} {% endtabs %} -{% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/how-to-cs13" %} +{% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/data-marker/marker-cs6" %} diff --git a/chart-sdk/angular/charts/chart-elements/gradient.md b/chart-sdk/angular/charts/chart-elements/gradient.md index 1c6039d57..b69e7ea11 100644 --- a/chart-sdk/angular/charts/chart-elements/gradient.md +++ b/chart-sdk/angular/charts/chart-elements/gradient.md @@ -1,6 +1,6 @@ --- layout: post -title: Gradient in Angular Chart | Syncfusion +title: Gradient in Angular Charts | Syncfusion description: Learn here all about Gradient in Syncfusion Angular Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Gradient @@ -9,9 +9,7 @@ domainurl: https://help.syncfusion.com/chart-sdk --- -# Gradient in Angular Chart - - +# Gradient in Angular Charts Gradients add depth and modern styling to charts by smoothly blending multiple colors. The Charts component supports two gradient types: - Linear gradient @@ -24,7 +22,7 @@ Gradients can be applied to: ## Linear gradient -A linear gradient blends color along side a straight path from a defined start point to an end point. Configure it by adding `linearGradient` inside the target element (Series, Trendlines or Indicators) and define one or more color stops that control how colors transition across the gradient. Set the start and end positions of the gradient using `x1`, `y1`, `x2` and `y2` properties. The gradient color stop values such as `offset`, `color`, `opacity`, `lighten` and `brighten` are set using the `gradientColorStop` property. +A linear gradient blends color alongside a straight path from a defined start point to an end point. Configure it by adding `linearGradient` inside the target element (Series, Trendlines or Indicators). The gradient properties control the start and end positions, while `gradientColorStop` defines one or more color stops that determine how colors transition across the gradient. In the `linearGradient`: - `x1` - Sets the horizontal start position of the gradient (0 to 1). @@ -32,12 +30,16 @@ In the `linearGradient`: - `x2` - Sets the horizontal end position of the gradient (0 to 1). - `y2` - Sets the vertical end position of the gradient (0 to 1). +## Gradient color stops + +The `gradientColorStop` property defines the color transitions along both linear and radial gradients. Configure one or more color stops within the `gradientColorStop` collection. + In the `gradientColorStop`: - `offset` - Specifies the position of the color stop along the gradient (0 to 100). -- `color` - Sets the color at the stop. +- `color` - Sets the color at the stop. Accepts any valid CSS color value (hex, RGB, RGBA, or named color). - `opacity` - Defines the transparency of the stop (0 to 1). - `lighten` - Adjusts lightness at the stop. Positive values lighten the color. Range: 0 to 1. -- `brighten` - Adjusts brightness at the stop. Positive values increase brightness; negative values decrease it. Ranges: -1 to 1. +- `brighten` - Adjusts brightness at the stop. Positive values increase brightness; negative values decrease it. Range: -1 to 1. ### Series @@ -89,7 +91,7 @@ Apply a linear gradient to a technical indicator by adding `linearGradient` insi ## Radial gradient -A radial gradient blends colors outward from a central point, creating a circular or elliptical color progression. Configure it by adding `radialGradient` inside the target element (Series, Trendline, or Indicator) and define one or more color stops to control how colors transition from the center to the outer edge. Set the gradient’s center, optional focal point, and radius using `radialGradient` properties. The color stop values such as `offset`, `color`, `opacity`, `lighten`, and `brighten` are set using the `gradientColorStop` property. +A radial gradient blends colors outward from a central point, creating a circular or elliptical color progression. Configure it by adding `radialGradient` inside the target element (Series, Trendline, or Indicator). The gradient properties control the center, focal point, and radius, while `gradientColorStop` defines one or more color stops to control how colors transition from the center to the outer edge. In the `radialGradient`: @@ -99,13 +101,7 @@ In the `radialGradient`: - `fy` - Sets the normalized vertical focal point (0 to 1). - `r` - Sets the normalized radius of the gradient circle (0 to 1). -In the `gradientColorStop`: - -- `offset` - Specifies the position of the color stop along the gradient (0 to 100). -- `color` - Sets the color at the stop. -- `opacity` - Defines the transparency of the stop (0 to 1). -- `lighten` - Adjusts lightness at the stop. Positive values lighten the color. Range: 0 to 1. -- `brighten` - Adjusts brightness at the stop. Positive values increase brightness; negative values decrease it. Ranges: -1 to 1. +> Color stop properties (`offset`, `color`, `opacity`, `lighten`, and `brighten`) are shared with the linear gradient and are documented in the [Gradient color stops](#gradient-color-stops) section. ### Series @@ -125,7 +121,7 @@ Apply a radial gradient to a series by adding `radialGradient` inside the target ### Trendlines -Apply a linear gradient to a trendline by adding `linearGradient` inside the target Trendline. +Apply a radial gradient to a trendline by adding `radialGradient` inside the target Trendline. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -136,12 +132,12 @@ Apply a linear gradient to a trendline by adding `linearGradient` inside the tar {% include code-snippet/chart-sdk/angular/charts/gradient/chart-gradient-cs9/src/main.ts %} {% endhighlight %} {% endtabs %} - + {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/gradient/chart-gradient-cs9" %} ### Technical Indicators -Apply a linear gradient to a technical indicator by adding `linearGradient` inside the target Indicator. +Apply a radial gradient to a technical indicator by adding `radialGradient` inside the target Indicator. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -152,5 +148,17 @@ Apply a linear gradient to a technical indicator by adding `linearGradient` insi {% include code-snippet/chart-sdk/angular/charts/gradient/chart-gradient-cs10/src/main.ts %} {% endhighlight %} {% endtabs %} - + {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/gradient/chart-gradient-cs10" %} + +## Troubleshooting + +- **Gradient not visible on markers or legend**: Ensure the gradient is applied directly on the series (and not only via a parent theme); the marker/legend/tooltip colors are inherited from the series gradient. +- **Colors transition abruptly**: Verify that `offset` values on `gradientColorStop` are monotonically increasing and span 0 to 100. +- **Radial gradient off-center**: Adjust `cx`, `cy`, and `r` (normalized 0 to 1) to fit the series shape. + +## See also + +- [Series](https://ej2.syncfusion.com/angular/documentation/api/chart/series) +- [Trendline API](https://ej2.syncfusion.com/angular/documentation/api/chart/trendline) +- [Getting Started with Angular Chart](./getting-started) diff --git a/chart-sdk/angular/charts/chart-elements/legend.md b/chart-sdk/angular/charts/chart-elements/legend.md index 14c560c30..9d44fabbe 100644 --- a/chart-sdk/angular/charts/chart-elements/legend.md +++ b/chart-sdk/angular/charts/chart-elements/legend.md @@ -1,6 +1,6 @@ --- layout: post -title: Legend in Angular Chart | Syncfusion +title: Legend in Angular Charts | Syncfusion description: Learn here all about Legend in Syncfusion Angular Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Legend @@ -8,7 +8,7 @@ documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Legend in Angular Chart +# Legend in Angular Charts The legend provides information about the series rendered in the chart and helps users identify each series by its color, shape, or style. @@ -18,6 +18,8 @@ To get started quickly with legends in Angular Charts, refer to the following vi {% youtube "https://www.youtube.com/watch?v=jfQ-7ftHodI" %} +>**Note**: To use the legend feature, inject `LegendService` into the `providers` array of your `@NgModule`. + ## Position and alignment By using the [`position`](https://ej2.syncfusion.com/angular/documentation/api/chart/legendSettings#position) property, the legend can be positioned at the left, right, top, or bottom of the chart. By default, the legend is positioned at the bottom of the chart. @@ -34,7 +36,7 @@ By using the [`position`](https://ej2.syncfusion.com/angular/documentation/api/c {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/axis/category-cs38" %} -Custom positioning allows the legend to be placed anywhere in the chart using [`x`](https://ej2.syncfusion.com/angular/documentation/api/chart/location#x) and [`y`](https://ej2.syncfusion.com/angular/documentation/api/chart/location#y) coordinates. +Custom positioning allows the legend to be placed anywhere in the chart using [`x`](https://ej2.syncfusion.com/angular/documentation/api/chart/location#x) and [`y`](https://ej2.syncfusion.com/angular/documentation/api/chart/location#y) coordinates. The values are in pixels, measured from the top-left of the chart area. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -54,7 +56,7 @@ Custom positioning allows the legend to be placed anywhere in the chart using [` -Use the [`reverse`](https://ej2.syncfusion.com/angular/documentation/api/chart/legendSettings#reverse) property to reverse the order of legend items. By default, the legend item for the first series is placed first. +Use the [`reverse`](https://ej2.syncfusion.com/angular/documentation/api/chart/legendSettings#reverse) property to reverse the order of legend items. By default, the first series appears first in the legend. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -104,7 +106,7 @@ To change the legend icon shape, use the [`legendShape`](https://ej2.syncfusion. ### Legend size -By default, the legend occupies approximately 20%–25% of the chart height when positioned at the top or bottom, and 20%–25% of the chart width when positioned at the left or right. Change the default size using the [`width`](https://ej2.syncfusion.com/angular/documentation/api/chart/legendSettings#width) and [`height`](https://ej2.syncfusion.com/angular/documentation/api/chart/legendSettings#height) properties of [`legendSettings`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartModel#legendsettings). +By default, the legend occupies approximately 20%–25% of the chart height when positioned at the top or bottom, and 20%–25% of the chart width when positioned at the left or right. Change the default size, in pixels, using the [`width`](https://ej2.syncfusion.com/angular/documentation/api/chart/legendSettings#width) and [`height`](https://ej2.syncfusion.com/angular/documentation/api/chart/legendSettings#height) properties of [`legendSettings`](https://ej2.syncfusion.com/angular/documentation/api/chartModel#legendsettings). {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -120,7 +122,7 @@ By default, the legend occupies approximately 20%–25% of the chart height when ### Legend item size -Customize the size of legend items using the [`shapeHeight`](https://ej2.syncfusion.com/angular/documentation/api/chart/legendSettings#shapeheight) and [`shapeWidth`](https://ej2.syncfusion.com/angular/documentation/api/chart/legendSettings#shapewidth) properties. +Customize the size of legend items, in pixels, using the [`shapeHeight`](https://ej2.syncfusion.com/angular/documentation/api/chart/legendSettings#shapeheight) and [`shapeWidth`](https://ej2.syncfusion.com/angular/documentation/api/chart/legendSettings#shapewidth) properties. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -152,7 +154,7 @@ Paging is enabled automatically when legend items exceed the legend bounds. Navi ### Legend text wrap -When legend text exceeds the container, enable wrapping using the [`textWrap`](https://ej2.syncfusion.com/angular/documentation/api/chart/legendSettings#textwrap) property. Wrapping can also be controlled using the [`maximumLabelWidth`](https://ej2.syncfusion.com/angular/documentation/api/chart/legendSettings#maximumlabelwidth) property. +When legend text exceeds the container, enable wrapping using the [`textWrap`](https://ej2.syncfusion.com/angular/documentation/api/chart/legendSettings#textwrap) property. Wrapping can also be controlled using the [`maximumLabelWidth`](https://ej2.syncfusion.com/angular/documentation/api/chart/legendSettings#maximumlabelwidth) property; the default value is `61` pixels. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -200,7 +202,7 @@ By default, clicking a legend item toggles the visibility of its series. To sele ## Enable animation -You can customize the animation while clicking legend by setting [`enableAnimation`](https://ej2.syncfusion.com/angular/documentation/api/chart/legendSettings#enableanimation) as true or false using the [`enableAnimation`](https://ej2.syncfusion.com/angular/documentation/api/chart/legendSettings#enableanimation) property in chart. +Show or hide the series with animation when clicking a legend item by setting the [`enableAnimation`](https://ej2.syncfusion.com/angular/documentation/api/chart/legendSettings#enableanimation) property to `true` or `false`. This property only applies when [`toggleVisibility`](https://ej2.syncfusion.com/angular/documentation/api/chart/legendSettings#togglevisibility) is enabled. The default value is `true`. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -216,7 +218,7 @@ You can customize the animation while clicking legend by setting [`enableAnimati ## Collapse legend item -By default, series name will be displayed as legend. To skip the legend for a particular series, you can give empty string to the series name. +By default, the series name is displayed as its legend text. To hide the legend entry for a particular series while the series itself remains visible in the chart, set that series' `name` to an empty string. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -248,7 +250,7 @@ You can set title for legend using [`title`](https://ej2.syncfusion.com/angular/ ## Arrow page navigation -By default, the page number will be enabled while legend paging. Now, you can disable that page number and also you can get left and right arrows for page navigation. You have to set `false` value to [`enablePages`](https://ej2.syncfusion.com/angular/documentation/api/chart/legendSettings#enablepages) to get this support. +By default, page numbers are visible during legend paging. Set [`enablePages`](https://ej2.syncfusion.com/angular/documentation/api/chart/legendSettings#enablepages) to `false` to hide the page numbers and display left and right arrow navigation instead. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -280,7 +282,7 @@ The [`itemPadding`](https://ej2.syncfusion.com/angular/documentation/api/chart/l ## Legend layout -The [`layout`](https://ej2.syncfusion.com/angular/documentation/api/chart/legendSettingsModel#layout) property in [`legendSettings`](https://ej2.syncfusion.com/angular/documentation/api/chart#legendsettings) allows you to display the legend either horizontally or vertically. By default, the [`layout`](https://ej2.syncfusion.com/angular/documentation/api/chart/legendSettingsModel#layout) is set to **Auto**. The [`maximumColumns`](https://ej2.syncfusion.com/angular/documentation/api/chart/legendSettingsModel#maximumcolumns) property in [`legendSettings`](https://ej2.syncfusion.com/angular/documentation/api/chart#legendsettings) defines the maximum number of columns that can be displayed within the available space when using the auto layout. Additionally, enabling the [`fixedWidth`](https://ej2.syncfusion.com/angular/documentation/api/chart/legendSettingsModel#fixedwidth) property in [`legendSettings`](https://ej2.syncfusion.com/angular/documentation/api/chart#legendsettings) ensures that all legend items are displayed with equal widths. The width of each item is determined by the maximum width among the legend items. +The [`layout`](https://ej2.syncfusion.com/angular/documentation/api/chart/legendSettingsModel#layout) property in [`legendSettings`](https://ej2.syncfusion.com/angular/documentation/api/chart#legendsettings) allows you to display the legend either horizontally or vertically. Available values are `"Auto"`, `"Horizontal"`, and `"Vertical"`; the default is **Auto**. The [`maximumColumns`](https://ej2.syncfusion.com/angular/documentation/api/chart/legendSettingsModel#maximumcolumns) property defines the maximum number of columns that can be displayed within the available space when using the auto layout. Additionally, enabling the [`fixedWidth`](https://ej2.syncfusion.com/angular/documentation/api/chart/legendSettingsModel#fixedwidth) property ensures that all legend items are displayed with equal widths. The width of each item is determined by the maximum width among the legend items. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -296,9 +298,9 @@ The [`layout`](https://ej2.syncfusion.com/angular/documentation/api/chart/legend ## Legend template -Legend templates allow you to replace default legend icons and text with custom HTML for each series. This enables branded styles, richer content (icons, multi-line text, badges), improved readability, and localization. +Legend templates allow you to replace the default legend icons and text with custom HTML for each series. This enables branded styles, richer content (icons, multi-line text, badges), improved readability, and localization. -You can customize the legend items by using the [`template`](https://ej2.syncfusion.com/angular/documentation/api/chart/legendSettingsModel) property of [`legendSettings`](https://ej2.syncfusion.com/angular/documentation/api/chart/legendSettingsModel). Legend interactions (click to toggle series) remain unless [`ToggleVisibility`](https://ej2.syncfusion.com/angular/documentation/api/chart/legendsettings#togglevisibility) is set to false. Templates work with all legend positions, alignments, and paging. +You can customize the legend items by using the [`template`](https://ej2.syncfusion.com/angular/documentation/api/chart/legendSettingsModel#template) property of [`legendSettings`](https://ej2.syncfusion.com/angular/documentation/api/chart/legendSettingsModel). Legend interactions (click to toggle series) remain unless [`toggleVisibility`](https://ej2.syncfusion.com/angular/documentation/api/chart/legendSettings#togglevisibility) is set to `false`. Templates work with all legend positions, alignments, and paging. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -311,8 +313,6 @@ You can customize the legend items by using the [`template`](https://ej2.syncfus {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/axis/category-cs55" %} ->**Note**: To use legend feature, inject `LegendService` into the `@NgModule.Providers`. - ## Customize each shape in legend Use the [`legendRender`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartModel#legendrender) event to customize legend item shapes. In the handler, set `args.shape` to the desired shape for each item. diff --git a/chart-sdk/angular/charts/chart-elements/series-label.md b/chart-sdk/angular/charts/chart-elements/series-label.md index 607863b26..70ed144c1 100644 --- a/chart-sdk/angular/charts/chart-elements/series-label.md +++ b/chart-sdk/angular/charts/chart-elements/series-label.md @@ -1,6 +1,6 @@ --- layout: post -title: Series Labels in Angular Chart | Syncfusion +title: Series Labels in Angular Charts | Syncfusion description: Learn here all about Series label in Syncfusion Angular Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Series label @@ -8,13 +8,15 @@ documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Series Labels in Angular Chart +# Series Labels in Angular Charts Series labels display the name of each series directly on the chart, positioned near the end of the series path or at the last visible data point. This helps identify series without relying on the legend. ## Overview -Enable series labels using the [`labelSettings`](https://ej2.syncfusion.com/angular/documentation/api/chart/seriesModel#datalabel) property within the series configuration. Set the [`visible`](https://ej2.syncfusion.com/angular/documentation/api/chart/datalabelSettingsModel#visible) property to **true** to display the label. +Enable series labels using the [`labelSettings`](https://ej2.syncfusion.com/angular/documentation/api/chart/seriesModel#labelsettings) property within the series configuration. Set the [`visible`](https://ej2.syncfusion.com/angular/documentation/api/chart/seriesLabelSettingsModel#visible) property to **true** to display the label. + +> **Note**: To use the series label feature, inject the `SeriesLabelService` into the `providers`. Markers must also be enabled (`marker.visible: true`) for the series label to render. Series labels render best on line, area, and spline series; other series types may not display the label. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -32,17 +34,15 @@ Enable series labels using the [`labelSettings`](https://ej2.syncfusion.com/angu {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/user-interaction/series-label" %} -> **Note**: To use the series label feature, inject the `DataLabelService` into the `providers`. - ## Customization -You can customize the appearance and behavior of series labels using the following properties: -- [`text`](https://ej2.syncfusion.com/angular/documentation/api/chart/datalabelSettingsModel#text) – Custom text for the series label. If not specified, the series name is used by default. -- [`font`](https://ej2.syncfusion.com/angular/documentation/api/chart/datalabelSettingsModel#font) – Font customization options including color, size, family, and weight. -- [`background`](https://ej2.syncfusion.com/angular/documentation/api/chart/datalabelSettingsModel#background) – Background color of the label. -- [`border`](https://ej2.syncfusion.com/angular/documentation/api/chart/datalabelSettingsModel#border) – Border width and color. -- [`opacity`](https://ej2.syncfusion.com/angular/documentation/api/chart/datalabelSettingsModel#opacity) – Label transparency (default: 1). -- [`showOverlapLabel`](https://ej2.syncfusion.com/angular/documentation/api/chart/datalabelSettingsModel#showOverlapLabel) – When **false**, overlapping labels are hidden. +Apply these options through each series' [`labelSettings`](https://ej2.syncfusion.com/angular/documentation/api/chart/seriesModel#labelsettings) property to customize the appearance and behavior of series labels: +- [`text`](https://ej2.syncfusion.com/angular/documentation/api/chart/seriesLabelSettingsModel#text) – Custom text shown as the label (for example, `"Sales"`). If not specified, the series `name` is used by default. +- [`font`](https://ej2.syncfusion.com/angular/documentation/api/chart/seriesLabelSettingsModel#font) – Font customization options including color, size, family, and weight. +- [`background`](https://ej2.syncfusion.com/angular/documentation/api/chart/seriesLabelSettingsModel#background) – Background color of the label. +- [`border`](https://ej2.syncfusion.com/angular/documentation/api/chart/seriesLabelSettingsModel#border) – Border width and color. +- [`opacity`](https://ej2.syncfusion.com/angular/documentation/api/chart/seriesLabelSettingsModel#opacity) – Label transparency (default: 1). +- [`showOverlapText`](https://ej2.syncfusion.com/angular/documentation/api/chart/seriesLabelSettingsModel#showOverlapText) – When **false**, overlapping labels are hidden. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} diff --git a/chart-sdk/angular/charts/chart-elements/strip-line.md b/chart-sdk/angular/charts/chart-elements/strip-line.md index 355299919..5a8919a81 100644 --- a/chart-sdk/angular/charts/chart-elements/strip-line.md +++ b/chart-sdk/angular/charts/chart-elements/strip-line.md @@ -1,6 +1,6 @@ --- layout: post -title: Stripline in Angular Chart | Syncfusion +title: Stripline in Angular Charts | Syncfusion description: Learn here all about strip line in Syncfusion Essential Angular Chart component, it's elements and more. platform: chart-sdk control: Strip line @@ -8,19 +8,15 @@ documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- - +# Stripline in Angular Charts -# Stripline in Angular Chart - - - -The Angular Chart component supports both horizontal and vertical strip lines, which act as visual guides to highlight specific ranges within the chart area. Strip lines can be added to both axes and fully customized based on visual and functional requirements. To use strip line features, inject `StriplineService` into the `@NgModule.providers`. +The Angular Chart component supports both horizontal and vertical strip lines, which act as visual guides to highlight specific ranges within the chart area. Strip lines can be added to either axis and customized to suit your visualization needs. Chart with striplines emphasizing ranges ## Horizontal striplines -Horizontal strip lines are created by adding the [`stripline`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisModel#striplines) configuration to the vertical axis and setting the [`visible`](https://ej2.syncfusion.com/angular/documentation/api/chart/stripLineSettingsModel#visible) property to `true`. They highlight horizontal ranges in the chart, and multiple strip lines can be added to the same axis. +Horizontal strip lines are created by adding the [`stripLines`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisModel#striplines) configuration to the primary value (Y) axis and setting the [`visible`](https://ej2.syncfusion.com/angular/documentation/api/chart/stripLineSettingsModel#visible) property to `true`. They highlight horizontal ranges in the chart, and multiple strip lines can be added to the same axis. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -34,9 +30,9 @@ Horizontal strip lines are created by adding the [`stripline`](https://ej2.syncf {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/axis/strip-line-cs5" %} -## Vertical Striplines +## Vertical striplines -Vertical strip lines are created by adding the [`stripline`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisModel#striplines) configuration to the horizontal axis and enabling the [`visible`](https://ej2.syncfusion.com/angular/documentation/api/chart/stripLineSettingsModel#visible) property. They highlight vertical regions in the chart and support multiple entries for an axis. +Vertical strip lines are created by adding the [`stripLines`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisModel#striplines) configuration to the primary category (X) axis and enabling the [`visible`](https://ej2.syncfusion.com/angular/documentation/api/chart/stripLineSettingsModel#visible) property. They highlight vertical regions in the chart and support multiple entries for an axis. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -52,7 +48,7 @@ Vertical strip lines are created by adding the [`stripline`](https://ej2.syncfus ## Stripline as band and line -You can utilize the stripline to visualize both the frequency band and transmission line characteristics by specifying its [`start`](https://ej2.syncfusion.com/angular/documentation/api/chart/stripLineSettingsModel#start) and [`end`](https://ej2.syncfusion.com/angular/documentation/api/chart/stripLineSettingsModel#end) properties in [`StripLineSettingsModel`](https://ej2.syncfusion.com/angular/documentation/api/chart/stripLineSettingsModel). +A stripline can render as either a filled **band** (a region spanning from `start` to `end`) or a thin **line** (when `start` and `end` are very close). Specify the [`start`](https://ej2.syncfusion.com/angular/documentation/api/chart/stripLineSettingsModel#start) and [`end`](https://ej2.syncfusion.com/angular/documentation/api/chart/stripLineSettingsModel#end) values, along with any desired styling properties, within the [`StripLineSettingsModel`](https://ej2.syncfusion.com/angular/documentation/api/chart/stripLineSettingsModel) to switch between these visual forms. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -71,8 +67,11 @@ You can utilize the stripline to visualize both the frequency band and transmiss Strip lines can be customized to highlight specific regions more effectively: - Use [`start`](https://ej2.syncfusion.com/angular/documentation/api/chart/stripLineSettingsModel#start) to set the beginning value of the strip line. - Use [`end`](https://ej2.syncfusion.com/angular/documentation/api/chart/stripLineSettingsModel#end) to define the ending value. -- Use [`startFromOrigin`](https://ej2.syncfusion.com/angular/documentation/api/chart/stripLineSettingsModel#startfromorigin) to begin the strip line from the axis origin. +- Use [`startFromOrigin`](https://ej2.syncfusion.com/angular/documentation/api/chart/stripLineSettingsModel#startfromorigin) to begin the strip line from the axis origin. When `startFromOrigin` is enabled, the start position defaults to the axis minimum and `size` defines the strip line's length. - Use [`size`](https://ej2.syncfusion.com/angular/documentation/api/chart/stripLineSettingsModel#size) to specify the strip line height or width (based on orientation). +- Use [`color`](https://ej2.syncfusion.com/angular/documentation/api/chart/stripLineSettingsModel#color) to set the fill or stroke color of the strip line. +- Use [`opacity`](https://ej2.syncfusion.com/angular/documentation/api/chart/stripLineSettingsModel#opacity) to control the transparency of the strip line (values between 0 and 1). +- Use [`text`](https://ej2.syncfusion.com/angular/documentation/api/chart/stripLineSettingsModel#text) to display a label inside the strip line. - Use [`border`](https://ej2.syncfusion.com/angular/documentation/api/chart/stripLineSettingsModel#border) to customize border appearance. - Use [`zIndex`](https://ej2.syncfusion.com/angular/documentation/api/chart/stripLineSettingsModel#zindex) to control whether the strip line appears behind or above chart series. @@ -91,7 +90,8 @@ Strip lines can be customized to highlight specific regions more effectively: ## Customize the stripline text Strip line text labels can be customized for readability and visual presentation: -- Use [`textStyle`](https://ej2.syncfusion.com/angular/documentation/api/chart/stripLineSettingsModel#textstyle) to set text appearance. +- Use [`text`](https://ej2.syncfusion.com/angular/documentation/api/chart/stripLineSettingsModel#text) to define the label content. +- Use [`textStyle`](https://ej2.syncfusion.com/angular/documentation/api/chart/stripLineSettingsModel#textstyle) to set text appearance (size, color, font). - Use [`rotation`](https://ej2.syncfusion.com/angular/documentation/api/chart/stripLineSettingsModel#rotation) to rotate the strip line text. - Use [`horizontalAlignment`](https://ej2.syncfusion.com/angular/documentation/api/chart/stripLineSettingsModel#horizontalalignment) and [`verticalAlignment`](https://ej2.syncfusion.com/angular/documentation/api/chart/stripLineSettingsModel#verticalalignment) to adjust label placement. @@ -107,9 +107,9 @@ Strip line text labels can be customized for readability and visual presentation {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/axis/strip-line-cs8" %} -## Dash Array +## Dash array -Dashed strip lines can be rendered using the [`dashArray`](https://ej2.syncfusion.com/angular/documentation/api/chart/stripLineSettingsModel#dasharray) property. The dash pattern is defined using a series of numbers representing dash and gap lengths. +Dashed strip lines can be rendered using the [`dashArray`](https://ej2.syncfusion.com/angular/documentation/api/chart/stripLineSettingsModel#dasharray) property. The value is a comma-separated list of numbers, where odd entries define the dash length and even entries define the gap length (in pixels). For example, `"5,5"` produces a 5-pixel dash followed by a 5-pixel gap. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -123,13 +123,13 @@ Dashed strip lines can be rendered using the [`dashArray`](https://ej2.syncfusio {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/axis/strip-line-cs9" %} -## Recurrence Stripline +## Recurrence stripline -Strip lines can be drawn repeatedly at regular intervals – this will be useful when you want to mark an event that occurs recursively along the timeline of the chart. Following properties are used to configure this feature. +Strip lines can be drawn repeatedly at regular intervals — useful when you want to mark an event that occurs recursively along the timeline of the chart. The following properties configure this feature. -* [`isRepeat`](https://ej2.syncfusion.com/angular/documentation/api/chart/stripLineSettingsModel#isrepeat) - It is used to enable / disable the recurrence strip line. -* [`repeatEvery`](https://ej2.syncfusion.com/angular/documentation/api/chart/stripLineSettingsModel#repeatevery) - It is used to mention the stripline interval. -* [`repeatUntil`](https://ej2.syncfusion.com/angular/documentation/api/chart/stripLineSettingsModel#repeatuntil) - It specifies the end value at which point strip line has to stop repeating. +* [`isRepeat`](https://ej2.syncfusion.com/angular/documentation/api/chart/stripLineSettingsModel#isrepeat) - Enables or disables the recurrence strip line. +* [`repeatEvery`](https://ej2.syncfusion.com/angular/documentation/api/chart/stripLineSettingsModel#repeatevery) - Specifies the stripline interval. The units must match the associated axis value type (for example, use years with a `DateTime` axis). +* [`repeatUntil`](https://ej2.syncfusion.com/angular/documentation/api/chart/stripLineSettingsModel#repeatuntil) - Specifies the end value at which the strip line stops repeating. If omitted, the strip line repeats until the axis maximum. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -143,9 +143,11 @@ Strip lines can be drawn repeatedly at regular intervals – this will be useful {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/axis/strip-line-cs10" %} -## Size Type +## Size type -The [`sizeType`](https://ej2.syncfusion.com/angular/documentation/api/chart/stripLineSettingsModel#sizetype) property determines how strip line size is interpreted. Supported units include: +The [`sizeType`](https://ej2.syncfusion.com/angular/documentation/api/chart/stripLineSettingsModel#sizetype) property determines how the strip line `size` value is interpreted. Use `Pixel` for a fixed pixel width, or use `Years`, `Months`, `Days`, `Hours`, `Minutes`, or `Seconds` when the associated axis is a `DateTime` axis and the size should be measured in those units. `Auto` lets the chart choose based on the axis context. + +Supported units include: * `Auto` * `Pixel` @@ -156,6 +158,8 @@ The [`sizeType`](https://ej2.syncfusion.com/angular/documentation/api/chart/stri * `Minutes` * `Seconds` +For more details on working with date-time axes, see [DateTime Axis](../axis/axis-types/date-time-axis). + {% tabs %} {% highlight ts tabtitle="app.component.ts" %} {% include code-snippet/chart-sdk/angular/charts/axis/datetime-cs18/src/app.component.ts %} @@ -170,12 +174,12 @@ The [`sizeType`](https://ej2.syncfusion.com/angular/documentation/api/chart/stri ## Segment stripline -You can create stripline in a particular region with respect to segment. You can enable the segment stripline using [`isSegmented`](https://ej2.syncfusion.com/angular/documentation/api/chart/stripLineSettingsModel#issegmented) property. The start and end value of this type of stripline can be defined using [`segmentStart`](https://ej2.syncfusion.com/angular/documentation/api/chart/stripLineSettingsModel#segmentstart) and [`segmentEnd`](https://ej2.syncfusion.com/angular/documentation/api/chart/stripLineSettingsModel#segmentend) properties. +You can restrict a stripline to a particular region of the chart with respect to a segment defined on a different axis. Use [`isSegmented`](https://ej2.syncfusion.com/angular/documentation/api/chart/stripLineSettingsModel#issegmented) to enable this feature, and [`segmentStart`](https://ej2.syncfusion.com/angular/documentation/api/chart/stripLineSettingsModel#segmentstart) and [`segmentEnd`](https://ej2.syncfusion.com/angular/documentation/api/chart/stripLineSettingsModel#segmentend) to define the range. -* [`isSegmented`](https://ej2.syncfusion.com/angular/documentation/api/chart/stripLineSettingsModel#issegmented) - It is used to enable the segment stripline. -* [`segmentStart`](https://ej2.syncfusion.com/angular/documentation/api/chart/stripLineSettingsModel#segmentstart) - Used to change the segment start value. Value correspond to associated axis. -* [`segmentEnd`](https://ej2.syncfusion.com/angular/documentation/api/chart/stripLineSettingsModel#segmentend) - Used to change the segment end value. Value correspond to associated axis. -* [`segmentAxisName`](https://ej2.syncfusion.com/angular/documentation/api/chart/stripLineSettingsModel#segmentaxisname) - Used to specify the name of the associated axis. +* [`isSegmented`](https://ej2.syncfusion.com/angular/documentation/api/chart/stripLineSettingsModel#issegmented) - Enables the segment stripline. +* [`segmentStart`](https://ej2.syncfusion.com/angular/documentation/api/chart/stripLineSettingsModel#segmentstart) - Sets the segment start value. The value corresponds to the associated axis. +* [`segmentEnd`](https://ej2.syncfusion.com/angular/documentation/api/chart/stripLineSettingsModel#segmentend) - Sets the segment end value. The value corresponds to the associated axis. +* [`segmentAxisName`](https://ej2.syncfusion.com/angular/documentation/api/chart/stripLineSettingsModel#segmentaxisname) - Specifies the name of the associated axis. Required when the chart contains multiple axes and the default axis cannot be unambiguously resolved. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -191,4 +195,14 @@ You can create stripline in a particular region with respect to segment. You can ## See Also -* [Mark the threshold in chart](../how-to/threshold#mark-a-threshold-in-chart) \ No newline at end of file +* [Mark the threshold in chart](../how-to/threshold) + +## Troubleshooting + +If your strip lines do not appear in the chart: + +* Ensure `StriplineService` is registered in the component's `providers` array. +* Confirm you use the property name `stripLines` (plural) on the axis, not `stripline` (singular). +* Ensure the host workspace's `package.json` includes `@syncfusion/ej2-angular-charts`. + +For compatibility information and version-specific notes, refer to the Syncfusion Angular Charts release notes. \ No newline at end of file diff --git a/chart-sdk/angular/charts/chart-elements/technical-indicators.md b/chart-sdk/angular/charts/chart-elements/technical-indicators.md index ac7f6c835..13e9daabf 100644 --- a/chart-sdk/angular/charts/chart-elements/technical-indicators.md +++ b/chart-sdk/angular/charts/chart-elements/technical-indicators.md @@ -1,6 +1,6 @@ --- layout: post -title: Technical Indicators in Angular Chart | Syncfusion +title: Technical Indicators in Angular Charts | Syncfusion description: Learn here all about Technical indicators in Syncfusion Angular Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Technical indicators @@ -10,7 +10,7 @@ domainurl: https://help.syncfusion.com/chart-sdk -# Technical Indicators in Angular Chart +# Technical Indicators in Angular Charts A [technical indicator](https://www.syncfusion.com/angular-components/angular-charts) is a mathematical calculation based on historic price, volume or open interest information that aims to forecast financial market direction. @@ -18,12 +18,45 @@ A [technical indicator](https://www.syncfusion.com/angular-components/angular-ch The chart component supports 10 different types of technical indicators. +## Indicator Reference + +| Indicator | `type` value | Default `period` | Required series service | +|---|---|---|---| +| Accumulation Distribution | `AccumulationDistribution` | n/a | `LineSeriesService` + `volume` data | +| Average True Range (ATR) | `Atr` | 14 | `LineSeriesService` | +| BollingerBand | `BollingerBand` | 14 | `RangeAreaSeriesService` | +| Exponential Moving Average (EMA) | `Ema` | 14 | `LineSeriesService` | +| Momentum | `Momentum` | 14 | `LineSeriesService` | +| MACD | `MACD` | 9 (signal); fastPeriod 12, slowPeriod 26 | `LineSeriesService`, `ColumnSeriesService` | +| Relative Strength Index (RSI) | `Rsi` | 14 | `LineSeriesService` | +| Simple Moving Average (SMA) | `Sma` | 14 | `LineSeriesService` | +| Stochastic | `Stochastic` | 14 (kPeriod); dPeriod 3 | `LineSeriesService` | +| Triangular Moving Average (TMA) | `TMA` | 14 | `LineSeriesService` | + +## Getting Started + +The example below renders a stock chart with a Simple Moving Average (SMA) indicator. Use it as a template for the other indicators by swapping the `type` and the corresponding service. + +{% tabs %} +{% highlight ts tabtitle="app.component.ts" %} +{% include code-snippet/chart-sdk/angular/charts/technical-indicators/sma-cs1/src/app.component.ts %} +{% endhighlight %} + +{% highlight ts tabtitle="main.ts" %} +{% include code-snippet/chart-sdk/angular/charts/technical-indicators/sma-cs1/src/main.ts %} +{% endhighlight %} +{% endtabs %} + +{% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/technical-indicators/sma-cs1" %} + ## Accumulation Distribution The Accumulation Distribution combines price and volume to show how money may be flowing into or out of a stock. To render an Accumulation Distribution Indicator, use indicator [`type`](https://ej2.syncfusion.com/angular/documentation/api/chart/technicalIndicatorModel#type) as `AccumulationDistribution` and inject `AccumulationDistributionIndicatorService` into the `@NgModule.providers`. To calculate the signal line, the [`volume`](https://ej2.syncfusion.com/angular/documentation/api/chart/technicalIndicatorModel#volume) field is additionally added with [`dataSource`](https://ej2.syncfusion.com/angular/documentation/api/chart/technicalIndicatorModel#datasource). +Required data fields: `high`, `low`, `close`, and `volume`. + {% tabs %} {% highlight ts tabtitle="app.component.ts" %} {% include code-snippet/chart-sdk/angular/charts/technical-indicators/ad-cs1/src/app.component.ts %} @@ -38,7 +71,7 @@ To calculate the signal line, the [`volume`](https://ej2.syncfusion.com/angular/ ## Average True Range (ATR) -ATR measures the stock volatility by comparing the current value with the previous value. To render an Average True Range (ATR) Indicator, use indicator [`type`](https://ej2.syncfusion.com/angular/documentation/api/chart/technicalIndicatorModel#type) as `Atr` and inject `AtrIndicatorService` into the `@NgModule.providers`. +ATR measures the stock volatility by comparing the current value with the previous value. To render an Average True Range (ATR) Indicator, use indicator [`type`](https://ej2.syncfusion.com/angular/documentation/api/chart/technicalIndicatorModel#type) as `Atr` and inject `AtrIndicatorService` into the `@NgModule.providers`. Default `period` is 14. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -56,7 +89,7 @@ ATR measures the stock volatility by comparing the current value with the previo A chart overlay that shows the upper and lower limits of normal price movements based on the standard deviation of prices. To render a BollingerBand, use indicator [`type`](https://ej2.syncfusion.com/angular/documentation/api/chart/technicalIndicatorModel#type) as `BollingerBand` and inject `BollingerBandsService` into the `@NgModule.providers`. -The BollingerBand indicator is represented by three lines: upperLine, lowerLine, and signalLine. Bollinger Band default values of the [`period`](https://ej2.syncfusion.com/angular/documentation/api/chart/technicalIndicatorModel#period) is 14 and [`standardDeviations`](https://ej2.syncfusion.com/angular/documentation/api/chart/technicalIndicatorModel#standarddeviation) is 2. +The BollingerBand indicator is represented by three lines: upperLine, lowerLine, and signalLine. Bollinger Band default values of the [`period`](https://ej2.syncfusion.com/angular/documentation/api/chart/technicalIndicatorModel#period) is 14 and [`standardDeviation`](https://ej2.syncfusion.com/angular/documentation/api/chart/technicalIndicatorModel#standarddeviation) is 2. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -88,7 +121,7 @@ The BollingerBand indicator is represented by three lines: upperLine, lowerLine, ## Exponential Moving Average (EMA) -Moving average indicators are used to define the direction of the trend. To render an EMA Indicator, use indicator [`type`](https://ej2.syncfusion.com/angular/documentation/api/chart/technicalIndicatorModel#type) as `Ema` and inject `EMAIndicatorService` into the `@NgModule.providers`. +Moving averages smooth price data to define the direction of the trend. To render an EMA Indicator, use indicator [`type`](https://ej2.syncfusion.com/angular/documentation/api/chart/technicalIndicatorModel#type) as `Ema` and inject `EMAIndicatorService` into the `@NgModule.providers`. Default `period` is 14. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -104,7 +137,7 @@ Moving average indicators are used to define the direction of the trend. To rend ## Momentum -Momentum shows the speed at which the price of the stock is changing. To render a Momentum indicator, use indicator [`type`](https://ej2.syncfusion.com/angular/documentation/api/chart/technicalIndicatorModel#type) as `Momentum` and inject `MomentumIndicatorService` into the `@NgModule.providers`. Momentum indicator will be represented by two lines (upperLine, signalLine). In the Momentum indicator, the upper band is always rendered at the value 100. +Momentum shows the speed at which the price of the stock is changing. To render a Momentum indicator, use indicator [`type`](https://ej2.syncfusion.com/angular/documentation/api/chart/technicalIndicatorModel#type) as `Momentum` and inject `MomentumIndicatorService` into the `@NgModule.providers`. Momentum will be represented by two lines (upperLine, signalLine). In the Momentum indicator, the upperLine is always rendered at the value 100. Default `period` is 14. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -118,7 +151,7 @@ Momentum shows the speed at which the price of the stock is changing. To render {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/technical-indicators/momentum-cs1" %} -**Customization of MomentumIndicator** +**Customization of Momentum** `stroke`, `stroke-width`, and `color` of upperLine can be customized by using [`upperLine`](https://ej2.syncfusion.com/angular/documentation/api/chart/technicalIndicatorModel#upperline) property of indicator. @@ -136,7 +169,7 @@ Momentum shows the speed at which the price of the stock is changing. To render ## Moving Average Convergence Divergence (MACD) -MACD is based on the difference between two EMA's. To render a MACD Indicator, use indicator [`type`](https://ej2.syncfusion.com/angular/documentation/api/chart/technicalIndicatorModel#type) as `MACD` and inject `MACDIndicatorService` into the `@NgModule.providers`. MACD indicator will be represented by MACD line, signal line, and MACD histogram. MACD histogram is used to differentiate MACD line and signal line. +MACD is based on the difference between two EMAs. To render a MACD Indicator, use indicator [`type`](https://ej2.syncfusion.com/angular/documentation/api/chart/technicalIndicatorModel#type) as `MACD` and inject `MACDIndicatorService` into the `@NgModule.providers`. MACD indicator will be represented by MACD line, signal line, and MACD histogram. MACD histogram is used to differentiate MACD line and signal line. Default values: `fastPeriod` is 12, `slowPeriod` is 26, and `period` is 9. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -152,7 +185,7 @@ MACD is based on the difference between two EMA's. To render a MACD Indicator, u **Customization of MACD** -`stroke`, `stroke-width`, and `color` of macdLine can be customized by using [`macdLine`](https://ej2.syncfusion.com/angular/documentation/api/chart/technicalIndicatorModel#macdline) property of indicator. The positive and negative changes of histogram can be customized by [`macdPositiveColor`](https://ej2.syncfusion.com/angular/documentation/api/chart/technicalIndicatorModel#macdpositivecolor) and [`macdNegativeColor`](https://ej2.syncfusion.com/angular/documentation/api/chart/technicalIndicatorModel#macdnegativecolor) properties. The [`macdType`](https://ej2.syncfusion.com/angular/documentation/api/chart/technicalIndicatorModel#macdtype) is used to define the type of MACD indicator. To customize the MACD period using [`slowPeriod`](https://ej2.syncfusion.com/angular/documentation/api/chart/technicalIndicatorModel#slowperiod) and [`fastPeriod`](https://ej2.syncfusion.com/angular/documentation/api/chart/technicalIndicatorModel#fastperiod) properties. +`stroke`, `stroke-width`, and `color` of macdLine can be customized by using [`macdLine`](https://ej2.syncfusion.com/angular/documentation/api/chart/technicalIndicatorModel#macdline) property of indicator. The positive and negative changes of histogram can be customized by [`macdPositiveColor`](https://ej2.syncfusion.com/angular/documentation/api/chart/technicalIndicatorModel#macdpositivecolor) and [`macdNegativeColor`](https://ej2.syncfusion.com/angular/documentation/api/chart/technicalIndicatorModel#macdnegativecolor) properties. The [`macdType`](https://ej2.syncfusion.com/angular/documentation/api/chart/technicalIndicatorModel#macdtype) is used to define the type of MACD indicator. Accepted values are `Line`, `Histogram`, and `Both`. To customize the MACD period using [`slowPeriod`](https://ej2.syncfusion.com/angular/documentation/api/chart/technicalIndicatorModel#slowperiod), [`fastPeriod`](https://ej2.syncfusion.com/angular/documentation/api/chart/technicalIndicatorModel#fastperiod), and [`period`](https://ej2.syncfusion.com/angular/documentation/api/chart/technicalIndicatorModel#period) properties. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -168,7 +201,7 @@ MACD is based on the difference between two EMA's. To render a MACD Indicator, u ## Relative Strength Index (RSI) -RSI shows how strongly a stock is moving in its current direction. To render a RSI Indicator, use indicator [`type`](https://ej2.syncfusion.com/angular/documentation/api/chart/technicalIndicatorModel#type) as `Rsi` and inject `RsiIndicatorService` into the `@NgModule.providers`. RSI indicator will be represented by three lines (upperBand, lowerBand, signalLine). The upperBand and lowerBand values are customized by [`overBought`](https://ej2.syncfusion.com/angular/documentation/api/chart/technicalIndicatorModel#overbought) and [`overSold`](https://ej2.syncfusion.com/angular/documentation/api/chart/technicalIndicatorModel#oversold) properties of indicator and the signalLine is calculated by RSI formula. +RSI shows how strongly a stock is moving in its current direction. To render a RSI Indicator, use indicator [`type`](https://ej2.syncfusion.com/angular/documentation/api/chart/technicalIndicatorModel#type) as `Rsi` and inject `RsiIndicatorService` into the `@NgModule.providers`. RSI indicator will be represented by three lines (upperLine, lowerLine, signalLine). The upperLine and lowerLine values are customized by [`overBought`](https://ej2.syncfusion.com/angular/documentation/api/chart/technicalIndicatorModel#overbought) and [`overSold`](https://ej2.syncfusion.com/angular/documentation/api/chart/technicalIndicatorModel#oversold) properties of indicator and the signalLine is calculated by RSI formula. Default `period` is 14. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -184,7 +217,7 @@ RSI shows how strongly a stock is moving in its current direction. To render a R ## Simple Moving Average (SMA) -Moving average Indicators are used to define the direction of the trend. To render a SMA Indicator, use indicator [`type`](https://ej2.syncfusion.com/angular/documentation/api/chart/technicalIndicatorModel#type) as `Sma` and inject `SmaIndicatorService` module using `@NgModule.providers`. +Moving averages smooth price data to define the direction of the trend. To render a SMA Indicator, use indicator [`type`](https://ej2.syncfusion.com/angular/documentation/api/chart/technicalIndicatorModel#type) as `Sma` and inject `SmaIndicatorService` module using `@NgModule.providers`. Default `period` is 14. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -202,7 +235,7 @@ Moving average Indicators are used to define the direction of the trend. To rend It shows how a stock is performing when compared to its previous state. To render a Stochastic indicator, use indicator [`type`](https://ej2.syncfusion.com/angular/documentation/api/chart/technicalIndicatorModel#type) as `Stochastic` and inject `StochasticIndicatorService` module using `@NgModule.providers` method. Stochastic indicator will be represented by four lines (upperLine, lowerLine, periodLine, signalLine). -In stochastic indicator the upperBand value and lowerBand value are customized by [`overBought`](https://ej2.syncfusion.com/angular/documentation/api/chart/technicalIndicatorModel#overbought) and [`overSold`](https://ej2.syncfusion.com/angular/documentation/api/chart/technicalIndicatorModel#oversold) properties of indicators and the periodLine and signalLine are rendered based on stochastic formula. +In stochastic indicator the upperLine and lowerLine values are customized by [`overBought`](https://ej2.syncfusion.com/angular/documentation/api/chart/technicalIndicatorModel#overbought) and [`overSold`](https://ej2.syncfusion.com/angular/documentation/api/chart/technicalIndicatorModel#oversold) properties of indicators. The periodLine and signalLine are rendered based on stochastic formula. Default values: `kPeriod` is 14, `dPeriod` is 3, and `period` is 14. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -216,7 +249,7 @@ In stochastic indicator the upperBand value and lowerBand value are customized b {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/technical-indicators/stochastic-cs1" %} -**Customization of StochasticIndicator** +**Customization of Stochastic** `stroke`, `stroke-width`, and `color` of upperLine can be customized by using [`upperLine`](https://ej2.syncfusion.com/angular/documentation/api/chart/technicalIndicatorModel#upperline), the lowerLine can be customized by using [`lowerLine`](https://ej2.syncfusion.com/angular/documentation/api/chart/technicalIndicatorModel#lowerline) and the periodLine can be customized by using [`periodLine`](https://ej2.syncfusion.com/angular/documentation/api/chart/technicalIndicatorModel#periodline) properties of indicator. To customize the period to find the average price using [`kPeriod`](https://ej2.syncfusion.com/angular/documentation/api/chart/technicalIndicatorModel#kperiod) and [`dPeriod`](https://ej2.syncfusion.com/angular/documentation/api/chart/technicalIndicatorModel#dperiod) properties. @@ -234,7 +267,7 @@ In stochastic indicator the upperBand value and lowerBand value are customized b ## Triangular Moving Average (TMA) -Moving average indicators are used to define the direction of the trend. To render a TMA Indicator, use indicator [`type`](https://ej2.syncfusion.com/angular/documentation/api/chart/technicalIndicatorModel#type) as `TMA` and inject `TmaIndicatorService` module using `@NgModule.providers`. +Triangular moving averages smooth price data twice to reduce noise and better define the direction of the trend. To render a TMA Indicator, use indicator [`type`](https://ej2.syncfusion.com/angular/documentation/api/chart/technicalIndicatorModel#type) as `TMA` and inject `TmaIndicatorService` module using `@NgModule.providers`. Default `period` is 14. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -250,7 +283,7 @@ Moving average indicators are used to define the direction of the trend. To rend **Customization of Technical Indicators** -`stroke`, `stroke-width`, and `color` of signalLine can be customized by using [`fill`](https://ej2.syncfusion.com/angular/documentation/api/chart/technicalIndicatorModel#fill), [`width`](https://ej2.syncfusion.com/angular/documentation/api/chart/technicalIndicatorModel#width) and [`dashArray`](https://ej2.syncfusion.com/angular/documentation/api/chart/technicalIndicatorModel#dasharray) properties. The [`period`](https://ej2.syncfusion.com/angular/documentation/api/chart/technicalIndicatorModel#period) property is used to predict the data forecast calculations. The [`field`](https://ej2.syncfusion.com/angular/documentation/api/chart/technicalIndicatorModel#field) value is used to compare the current price with previous price. It is applicable to BollingerBands and moving averages. The [`showZones`](https://ej2.syncfusion.com/angular/documentation/api/chart/technicalIndicatorModel#showzones) property is used to show/hide the overBought and overSold regions. It is applicable for RSI and stochastic indicators. +`stroke`, `stroke-width`, and `color` of signalLine can be customized by using [`fill`](https://ej2.syncfusion.com/angular/documentation/api/chart/technicalIndicatorModel#fill), [`width`](https://ej2.syncfusion.com/angular/documentation/api/chart/technicalIndicatorModel#width) and [`dashArray`](https://ej2.syncfusion.com/angular/documentation/api/chart/technicalIndicatorModel#dasharray) properties. The [`period`](https://ej2.syncfusion.com/angular/documentation/api/chart/technicalIndicatorModel#period) property is used to predict the data forecast calculations. The [`field`](https://ej2.syncfusion.com/angular/documentation/api/chart/technicalIndicatorModel#field) value is used to compare the current price with previous price. Accepted values are `Close` (default), `Open`, `High`, and `Low`. It is applicable to Bollingerbands and moving averages. The [`showZones`](https://ej2.syncfusion.com/angular/documentation/api/chart/technicalIndicatorModel#showzones) property is used to show/hide the overBought and overSold regions. It is applicable for RSI and stochastic indicators. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -264,11 +297,16 @@ Moving average indicators are used to define the direction of the trend. To rend {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/technical-indicators/sma-cs2" %} +**Module Dependencies** + +To render an Indicator, it is mandatory to inject `LineSeriesService` module. +In addition to that, MACD Indicator requires `ColumnSeriesService` and BollingerBands requires `RangeAreaSeriesService`. + **Data Source** Technical indicators are usually associated with a financial series. The [`seriesName`](https://ej2.syncfusion.com/angular/documentation/api/chart/technicalIndicatorModel#seriesname) represents the series, the data of which has to be analyzed through indicators. -Technical indicators can also be added without series using [`dataSource`](https://ej2.syncfusion.com/angular/documentation/api/chart/technicalIndicatorModel#datasource) property of indicator. +Technical indicators can also be added without series using [`dataSource`](https://ej2.syncfusion.com/angular/documentation/api/chart/technicalIndicatorModel#datasource) property of indicator. When supplying data without a series, the data records must include the price fields expected by the indicator (e.g., `date`, `open`, `high`, `low`, `close`, and `volume` for Accumulation Distribution). {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -282,8 +320,19 @@ Technical indicators can also be added without series using [`dataSource`](https {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/technical-indicators/sma-cs3" %} -**Module Dependencies** +## Troubleshooting -To render an Indicator, it is mandatory to inject `LineSeriesService` module. -In addition to that, MACD Indicator requires `ColumnSeriesService` and BollingerBands requires `RangeAreaSeriesService`. +The issues below are the most common problems encountered when working with technical indicators. + +| Symptom | Likely cause | Fix | +|---|---|---| +| Indicator line is not rendered | The matching `*IndicatorService` (for example, `MomentumIndicatorService`) is not registered | Add the service to your `NgModule.providers` (or to the standalone component's `providers` array) | +| MACD histogram is missing | `ColumnSeriesService` is not registered | Inject `ColumnSeriesService` into `NgModule.providers` | +| BollingerBand shows only the signal line | `RangeAreaSeriesService` is not registered | Inject `RangeAreaSeriesService` into `NgModule.providers` | +| Accumulation Distribution renders empty | The `volume` field is missing from the series or `dataSource` | Include `volume` in every data record mapped via `volume` in the indicator | +| `macdType` change has no effect | An invalid value is supplied | Use one of `Line`, `Histogram`, or `Both` | +| Indicator "flickers" or re-renders inconsistently | `period` is larger than the available data length | Reduce `period` or supply more historical data points | +| No data on the X axis | `primaryXAxis.valueType` is not set to `DateTime` | Set the X axis `valueType` to `DateTime` and use date values in the data | + +For additional help, see the Syncfusion Angular Charts [documentation](https://ej2.syncfusion.com/angular/documentation/chart/getting-started) and [API reference](https://ej2.syncfusion.com/angular/documentation/api/chart/technicalIndicatorModel). diff --git a/chart-sdk/angular/charts/chart-elements/trend-lines.md b/chart-sdk/angular/charts/chart-elements/trend-lines.md index 6e2377128..3930a1ae2 100644 --- a/chart-sdk/angular/charts/chart-elements/trend-lines.md +++ b/chart-sdk/angular/charts/chart-elements/trend-lines.md @@ -1,6 +1,6 @@ --- layout: post -title: Trendlines in Angular Chart | Syncfusion +title: Trendlines in Angular Charts | Syncfusion description: Learn here all about Trend lines in Syncfusion Angular Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Trend lines @@ -10,18 +10,19 @@ domainurl: https://help.syncfusion.com/chart-sdk -# Trendlines in Angular Chart +# Trendlines in Angular Charts Trendlines help identify patterns, direction, and overall trends in numerical data. They project the general movement of data values and are widely used in analytics, forecasting, and financial charts. Trendlines can be added to Cartesian series types such as Line, Column, Scatter, Area, Candle, and Hilo (excluding bar series). Multiple trendlines can be added to a single series based on the analysis needs. - Chart showing trendlines for forecasting -Charts support six types of trendlines: **Linear**, **Exponential**, **Logarithmic**, **Polynomial**, **Power**, and **Moving Average**. +Import `ChartModule` and add `TrendlinesService` (with the required series services such as `LineSeriesService`) to the component's `providers` array (Angular standalone components) or to `@NgModule.providers` for module-based components. + +Charts support the following six types of trendlines: **Linear**, **Exponential**, **Logarithmic**, **Polynomial**, **Power**, and **Moving Average**. ## Linear -A linear trendline is a straight, best‑fit line used to describe data with a constant rate of increase or decrease. Set the trendline [`type`](https://ej2.syncfusion.com/angular/documentation/api/chart/trendlineModel#type) to `Linear` and inject the `TrendlinesService` into the `@NgModule.providers`. +A linear trendline is a straight, best‑fit line used to describe data with a constant rate of increase or decrease. Set the trendline [`type`](https://ej2.syncfusion.com/angular/documentation/api/chart/trendlineModel#type) to `Linear` and add the `TrendlinesService` to the component's `providers` array. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -37,9 +38,9 @@ A linear trendline is a straight, best‑fit line used to describe data with a c ## Exponential -An exponential trendline displays a curved pattern useful when data rises or falls at increasing rates. Exponential trendlines cannot be generated if the dataset includes zero or negative values. +An exponential trendline displays a curved pattern useful when data rises, or falls, at increasing rates. Exponential trendlines cannot be generated if the dataset includes zero or negative values. -Set the trendline [`type`](https://ej2.syncfusion.com/angular/documentation/api/chart/trendlineModel#type) to `Exponential` and inject the `TrendlinesService` into the `@NgModule.providers`. +Set the trendline [`type`](https://ej2.syncfusion.com/angular/documentation/api/chart/trendlineModel#type) to `Exponential` and add the `TrendlinesService` to the component's `providers` array. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -55,9 +56,9 @@ Set the trendline [`type`](https://ej2.syncfusion.com/angular/documentation/api/ ## Logarithmic -A logarithmic trendline is a best‑fit curved line suitable when the data increases or decreases quickly and then stabilizes. It supports both positive and negative values. +A logarithmic trendline is a best‑fit curved line suitable when the data increases or decreases quickly and then stabilizes. It supports both positive and negative y-values. -Set [`type`](https://ej2.syncfusion.com/angular/documentation/api/chart/trendlineModel#type) to `Logarithmic` and inject the `TrendlinesService` into the `@NgModule.providers`. +Set [`type`](https://ej2.syncfusion.com/angular/documentation/api/chart/trendlineModel#type) to `Logarithmic` and add the `TrendlinesService` to the component's `providers` array. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -75,7 +76,7 @@ Set [`type`](https://ej2.syncfusion.com/angular/documentation/api/chart/trendlin A polynomial trendline is useful when data fluctuates. It uses a curved line that can model more complex datasets. -Set [`type`](https://ej2.syncfusion.com/angular/documentation/api/chart/trendlineModel#type) to `Polynomial` and inject the `TrendlinesService` into the `@NgModule.providers`. Use [`polynomialOrder`](https://ej2.syncfusion.com/angular/documentation/api/chart/trendlineModel#polynomialorder) to define the degree of the polynomial. +Set [`type`](https://ej2.syncfusion.com/angular/documentation/api/chart/trendlineModel#type) to `Polynomial` and add the `TrendlinesService` to the component's `providers` array. Use [`polynomialOrder`](https://ej2.syncfusion.com/angular/documentation/api/chart/trendlineModel#polynomialorder) to define the degree of the polynomial. Valid `polynomialOrder` values are between 2 and 6; the default is 2. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -91,9 +92,9 @@ Set [`type`](https://ej2.syncfusion.com/angular/documentation/api/chart/trendlin ## Power -A power trendline is ideal for datasets where measurements increase at a constant rate. It displays a curved line that best fits exponential growth or decay patterns. +A power trendline is ideal for datasets where measurements increase at a constant rate. It displays a curved line that best fits growth or decay patterns. Power trendlines cannot be generated if the dataset contains zero or negative x-values. -Set [`type`](https://ej2.syncfusion.com/angular/documentation/api/chart/trendlineModel#type) to `Power` and inject the `TrendlinesService` into the `@NgModule.providers`. +Set [`type`](https://ej2.syncfusion.com/angular/documentation/api/chart/trendlineModel#type) to `Power` and add the `TrendlinesService` to the component's `providers` array. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -109,9 +110,9 @@ Set [`type`](https://ej2.syncfusion.com/angular/documentation/api/chart/trendlin ## Moving Average -A moving average trendline smooths fluctuations to reveal overall trends more clearly. The [`period`](https://ej2.syncfusion.com/angular/documentation/api/chart/trendlineModel#period) property specifies the number of data points used to calculate each average. +A moving average trendline smooths fluctuations to reveal overall trends more clearly. The [`period`](https://ej2.syncfusion.com/angular/documentation/api/chart/trendlineModel#period) property specifies the number of data points used to calculate each average (default `2`). -Set [`type`](https://ej2.syncfusion.com/angular/documentation/api/chart/trendlineModel#type) to `MovingAverage` and inject the `TrendlinesService` into the `@NgModule.providers`. +Set [`type`](https://ej2.syncfusion.com/angular/documentation/api/chart/trendlineModel#type) to `MovingAverage` and add the `TrendlinesService` to the component's `providers` array. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -125,7 +126,7 @@ Set [`type`](https://ej2.syncfusion.com/angular/documentation/api/chart/trendlin {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/trendlines/movingaverage-cs1" %} -**Customization of Trendlines** +## Customization of Trendlines Customize trendline appearance using the [`fill`](https://ej2.syncfusion.com/angular/documentation/api/chart/trendlineModel#fill) property for color and the [`width`](https://ej2.syncfusion.com/angular/documentation/api/chart/trendlineModel#width) property for line thickness. @@ -142,7 +143,7 @@ Customize trendline appearance using the [`fill`](https://ej2.syncfusion.com/ang {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/trendlines/movingaverage-cs2" %} -## Forecasting +**Forecasting** Trendline forecasting extends the existing trendline to estimate future and past values. @@ -164,7 +165,7 @@ Use the [`forwardForecast`](https://ej2.syncfusion.com/angular/documentation/api **Backward Forecasting** -Use the [`backwardForecast`](https://ej2.syncfusion.com/angular/documentation/api/chart/trendlineModel#backwardforecast) property to extend the trendline into past data points. +Use the [`backwardForecast`](https://ej2.syncfusion.com/angular/documentation/api/chart/trendlineModel#backwardforecast) property to extend the trendline backward in time. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} diff --git a/chart-sdk/angular/charts/chart-events.md b/chart-sdk/angular/charts/chart-events.md index 600810400..79451677e 100644 --- a/chart-sdk/angular/charts/chart-events.md +++ b/chart-sdk/angular/charts/chart-events.md @@ -1,6 +1,6 @@ --- layout: post -title: Chart Events in Angular Chart | Syncfusion +title: Chart events in Angular Charts | Syncfusion description: Learn here all about Chart events in Syncfusion Angular Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Chart events @@ -8,15 +8,33 @@ documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Chart Events in Angular Chart +# Chart Event in Angular Charts Component -Chart events are callback functions that the Syncfusion EJ2 Chart component triggers at different stages of its life cycle. They allow developers to respond to user interactions, customize rendering, control behavior, and extend chart functionality without modifying the core control. These events enable developers to implement custom logic, enhance interactivity, and tailor the chart's behavior to specific requirements, thereby providing a more dynamic and responsive user experience. +Chart events are callback functions that the Syncfusion EJ2 Chart component triggers at different stages of its life cycle. They allow developers to respond to user interactions, customize rendering, control behavior, and extend chart functionality without modifying the core component. These events enable developers to implement custom logic, enhance interactivity, and tailor the chart's behavior to specific requirements, thereby providing a more dynamic and responsive user experience. + +For a full list of supported Angular and Syncfusion package versions, see the [Getting Started](./getting-started) page. Every event documented here requires the relevant service to be added to the component's `providers` array (for example, `CategoryService`, `LineSeriesService`, `TooltipService`, `SelectionService`, `DataEditingService`, `ZoomService`, `ScrollBarService`, `ExportService`). + +**Available events** + +| Group | Events | +| --- | --- | +| Animation | `animationComplete` | +| Labels and Axes | `axisLabelRender`, `axisLabelClick`, `axisRangeCalculated`, `axisMultiLabelRender`, `multiLevelLabelClick` | +| Series and Points | `seriesRender`, `pointClick`, `pointDoubleClick`, `pointMove`, `pointRender`, `textRender` | +| Data Editing (Drag) | `dragStart`, `drag`, `dragEnd` | +| Tooltip | `tooltipRender`, `sharedTooltipRender` | +| Legend | `legendRender`, `legendClick` | +| Annotations | `annotationRender` | +| Zooming and Scrolling | `zooming`, `zoomComplete`, `scrollChanged`, `scrollStart`, `scrollEnd` | +| Selection and Drag | `dragComplete`, `selectionComplete` | +| Mouse Events | `chartMouseDown`, `chartMouseMove`, `chartMouseUp`, `chartMouseLeave`, `chartMouseClick`, `chartDoubleClick` | +| Life cycle and Layout | `load`, `loaded`, `beforeResize`, `resized`, `beforePrint`, `beforeExport`, `afterExport` | ## Animation ### animationComplete -After a series animation has completed, the animationComplete event will be triggered. To know more about the arguments of this event, refer [`here`](https://ej2.syncfusion.com/angular/documentation/api/chart/ianimationcompleteeventargs). +Triggered after a series animation completes. Use this event to chain additional UI work, run custom transitions, or release a loading indicator. The series must have `animation.enable = true` for this event to fire. To know more about the arguments of this event, refer [`here`](https://ej2.syncfusion.com/angular/documentation/api/chart/ianimationcompleteeventargs). {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -34,7 +52,7 @@ After a series animation has completed, the animationComplete event will be trig ## Labels and Axes ### axisLabelRender -Before an axis label is rendered, the axisLabelRender event will be triggered to customize label text and style. To know more about the arguments of this event, refer [`here`](https://ej2.syncfusion.com/angular/documentation/api/chart/iaxislabelrendereventargs). +Triggered before an axis label is rendered so you can customize its text and style. Set `args.cancel = true` to hide an individual label. To know more about the arguments of this event, refer [`here`](https://ej2.syncfusion.com/angular/documentation/api/chart/iaxislabelrendereventargs). {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -49,7 +67,7 @@ Before an axis label is rendered, the axisLabelRender event will be triggered to {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/chart-events/axisLabelRender" %} ### axisLabelClick -The axisLabelClick event will be triggered when an axis label is clicked. To know more about the arguments of this event, refer [`here`](https://ej2.syncfusion.com/angular/documentation/api/chart/iaxislabelclickeventargs). +Triggered when an axis label is clicked. Use it to drill into a category, toggle an axis-level filter, or open a side panel for the clicked label. To know more about the arguments of this event, refer [`here`](https://ej2.syncfusion.com/angular/documentation/api/chart/iaxislabelclickeventargs). {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -64,7 +82,7 @@ The axisLabelClick event will be triggered when an axis label is clicked. To kno {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/chart-events/axisLabelClick" %} ### axisRangeCalculated -After an axis range (minimum, maximum, interval) is calculated, the axisRangeCalculated event will be triggered, allowing you to override the values. To know more about the arguments of this event, refer [`here`](https://ej2.syncfusion.com/angular/documentation/api/chart/iaxisrangecalculatedeventargs). +Triggered after the axis range (minimum, maximum, and interval) is calculated, allowing you to override the values. For category axes, `minimum` and `maximum` apply to category index positions rather than labels. To know more about the arguments of this event, refer [`here`](https://ej2.syncfusion.com/angular/documentation/api/chart/iaxisrangecalculatedeventargs). {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -79,7 +97,7 @@ After an axis range (minimum, maximum, interval) is calculated, the axisRangeCal {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/chart-events/axisRangeCalculated" %} ### axisMultiLabelRender -Before multi-level axis labels are rendered, the axisMultiLabelRender event will be triggered to customize label text and style. To know more about the arguments of this event, refer [`here`](https://ej2.syncfusion.com/angular/documentation/api/chart/iaxismultilabelrendereventargs). +Triggered before multi-level axis labels are rendered so you can customize their text and style. Multi-level labels must be configured on the axis via the `multiLevelLabels` property; the `MultiLevelLabelService` provider is also required. To know more about the arguments of this event, refer [`here`](https://ej2.syncfusion.com/angular/documentation/api/chart/iaxismultilabelrendereventargs). {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -94,7 +112,7 @@ Before multi-level axis labels are rendered, the axisMultiLabelRender event will {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/chart-events/axisMultiLabelRender" %} ### multiLevelLabelClick -The multiLevelLabelClick event will be triggered when a multi-level axis label segment is clicked. To know more about the arguments of this event, refer [`here`](https://ej2.syncfusion.com/angular/documentation/api/chart/imultilevellabelclickeventargs). +Triggered when a multi-level axis label segment is clicked. Requires the `MultiLevelLabelService` provider and `multiLevelLabels` to be configured on the axis. To know more about the arguments of this event, refer [`here`](https://ej2.syncfusion.com/angular/documentation/api/chart/imultilevellabelclickeventargs). {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -111,7 +129,7 @@ The multiLevelLabelClick event will be triggered when a multi-level axis label s ## Series and Points ### seriesRender -Before a series is rendered, the seriesRender event will be triggered to customize series appearance and properties. To know more about the arguments of this event, refer [`here`](https://ej2.syncfusion.com/angular/documentation/api/chart/iseriesrendereventargs). +Triggered before a series is rendered so you can customize its appearance and properties (for example, fill, opacity, border, width, or `columnWidth`). To know more about the arguments of this event, refer [`here`](https://ej2.syncfusion.com/angular/documentation/api/chart/iseriesrendereventargs). {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -126,7 +144,7 @@ Before a series is rendered, the seriesRender event will be triggered to customi {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/chart-events/seriesRender" %} ### pointClick -The pointClick event will be triggered when a data point or its symbol is clicked. Use this event to perform actions such as highlighting, drilling down, or showing custom details for the selected point. To know more about the arguments of this event, refer [`here`](https://ej2.syncfusion.com/angular/documentation/api/chart/ipointeventargs). +Triggered when a data point or its symbol is clicked. Use this event to perform actions such as highlighting, drilling down, or showing custom details for the selected point. Inspect `args.point`, `args.series`, `args.pointIndex`, and `args.seriesIndex` for details. To know more about the arguments of this event, refer [`here`](https://ej2.syncfusion.com/angular/documentation/api/chart/ipointeventargs). {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -141,7 +159,7 @@ The pointClick event will be triggered when a data point or its symbol is clicke {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/chart-events/pointClick" %} ### pointDoubleClick -The pointDoubleClick event will be triggered when a data point or its symbol is double-clicked. Use this event for quick-edit workflows, navigation, or toggling detailed views for the target point. To know more about the arguments of this event, refer [`here`](https://ej2.syncfusion.com/angular/documentation/api/chart/ipointeventargs). +Triggered when a data point or its symbol is double-clicked. Use this event for quick-edit workflows, navigation, or toggling detailed views for the target point. To know more about the arguments of this event, refer [`here`](https://ej2.syncfusion.com/angular/documentation/api/chart/ipointeventargs). {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -156,7 +174,7 @@ The pointDoubleClick event will be triggered when a data point or its symbol is {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/chart-events/pointDoubleClick" %} ### pointMove -The pointMove event will be triggered when the pointer moves over a data point. Use this event to show contextual UI, update external indicators, or track the hovered point dynamically. To know more about the arguments of this event, refer [`here`](https://ej2.syncfusion.com/angular/documentation/api/chart/ipointeventargs). +Triggered when the pointer moves over a data point. Use this event to show contextual UI, update external indicators, or track the hovered point dynamically. To know more about the arguments of this event, refer [`here`](https://ej2.syncfusion.com/angular/documentation/api/chart/ipointeventargs). {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -171,7 +189,7 @@ The pointMove event will be triggered when the pointer moves over a data point. {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/chart-events/pointMove" %} ### pointRender -Before an individual data point is rendered, the pointRender event will be triggered to customize its visual (color, border, shape, size, corner radius). To know more about the arguments of this event, refer [`here`](https://ej2.syncfusion.com/angular/documentation/api/chart/ipointrendereventargs). +Triggered before an individual data point is rendered so you can customize its visual properties such as `fill`, `border`, `shape`, size, and corner radius. To know more about the arguments of this event, refer [`here`](https://ej2.syncfusion.com/angular/documentation/api/chart/ipointrendereventargs). {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -186,7 +204,7 @@ Before an individual data point is rendered, the pointRender event will be trigg {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/chart-events/pointRender" %} ### textRender (Data Labels) -Before a data label is rendered, the textRender event will be triggered to customize label text, style, template, or position. To know more about the arguments of this event, refer [`here`](https://ej2.syncfusion.com/angular/documentation/api/chart/itextrendereventargs). +Triggered before a data label is rendered so you can customize label text, style, template, or position. You can also set `args.font` and `args.color` to format the label. To know more about the arguments of this event, refer [`here`](https://ej2.syncfusion.com/angular/documentation/api/chart/itextrendereventargs). {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -200,9 +218,11 @@ Before a data label is rendered, the textRender event will be triggered to custo {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/chart-events/textRender" %} +## Data Editing (Drag) + ### dragStart -Triggered when a data point drag operation begins on a series with dragging enabled (via dragSettings). Use this event to validate the drag action, apply constraints, or cancel the drag before it proceeds. To know more about the arguments of this event, refer [`here`](https://ej2.syncfusion.com/angular/documentation/api/chart/idataeditingeventargs). +Triggered when a data point drag operation begins on a series with dragging enabled (via `dragSettings`). Requires the `DataEditingService` provider and the series to have `dragSettings.enable = true`. Use this event to validate the drag action, apply constraints, or cancel the drag before it proceeds. To know more about the arguments of this event, refer [`here`](https://ej2.syncfusion.com/angular/documentation/api/chart/idataeditingeventargs). {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -218,7 +238,7 @@ Triggered when a data point drag operation begins on a series with dragging enab ### drag -Triggered continuously while a data point is being dragged. Use this event to provide live feedback, enforce boundaries, or update UI as the point’s position changes. To know more about the arguments of this event, refer [`here`](https://ej2.syncfusion.com/angular/documentation/api/chart/idataeditingeventargs). +Triggered continuously while a data point is being dragged. Use this event to provide live feedback, enforce boundaries, or update the UI as the point’s position changes. Requires the `DataEditingService` provider. To know more about the arguments of this event, refer [`here`](https://ej2.syncfusion.com/angular/documentation/api/chart/idataeditingeventargs). {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -234,7 +254,7 @@ Triggered continuously while a data point is being dragged. Use this event to pr ### dragEnd -Triggered when a data point drag operation is completed (pointer released) and the new value is committed. Use this event to persist changes, refresh related UI, or perform post-edit actions. To know more about the arguments of this event, refer [`here`](https://ej2.syncfusion.com/angular/documentation/api/chart/idataeditingeventargs). +Triggered when a data point drag operation completes (pointer released) and the new value is committed. Use this event to persist changes, refresh related UI, or perform post-edit actions. Requires the `DataEditingService` provider. To know more about the arguments of this event, refer [`here`](https://ej2.syncfusion.com/angular/documentation/api/chart/idataeditingeventargs). {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -251,7 +271,7 @@ Triggered when a data point drag operation is completed (pointer released) and t ## Tooltip ### tooltipRender -Before a tooltip for a single series point is shown, the tooltipRender event will be triggered to customize content and style. To know more about the arguments of this event, refer [`here`](https://ej2.syncfusion.com/angular/documentation/api/chart/itooltiprendereventargs). +Triggered before a tooltip for a point in a single-series tooltip is shown so you can customize content and style. Requires the `TooltipService` provider and `tooltip.enable = true`. To know more about the arguments of this event, refer [`here`](https://ej2.syncfusion.com/angular/documentation/api/chart/itooltiprendereventargs). {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -266,7 +286,7 @@ Before a tooltip for a single series point is shown, the tooltipRender event wil {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/chart-events/tooltipRender" %} ### sharedTooltipRender -Before a shared tooltip is shown (multiple series at the same x-value), the sharedTooltipRender event will be triggered to customize aggregated content. To know more about the arguments of this event, refer [`here`](https://ej2.syncfusion.com/angular/documentation/api/chart/isharedtooltiprendereventargs). +Triggered before a shared tooltip is shown (aggregating multiple series at the same x-value) so you can customize the aggregated content. Requires the `TooltipService` provider and `tooltip.shared = true`. To know more about the arguments of this event, refer [`here`](https://ej2.syncfusion.com/angular/documentation/api/chart/isharedtooltiprendereventargs). {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -283,7 +303,7 @@ Before a shared tooltip is shown (multiple series at the same x-value), the shar ## Legend ### legendRender -Before a legend item is rendered, the legendRender event will be triggered to customize the legend text, shape, and fill. To know more about the arguments of this event, refer [`here`](https://ej2.syncfusion.com/angular/documentation/api/chart/ilegendrendereventargs). +Triggered before a legend item is rendered so you can customize the legend text, shape, and fill. The `shape` value must be a valid `LegendShape` enum value (for example, `Circle`, `Rectangle`, `Diamond`). To know more about the arguments of this event, refer [`here`](https://ej2.syncfusion.com/angular/documentation/api/chart/ilegendrendereventargs). {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -298,7 +318,7 @@ Before a legend item is rendered, the legendRender event will be triggered to cu {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/chart-events/legendRender" %} ### legendClick -The legendClick event will be triggered when a legend item is clicked. To know more about the arguments of this event, refer [`here`](https://ej2.syncfusion.com/angular/documentation/api/chart/ilegendclickeventargs). +Triggered when a legend item is clicked. Use this event to filter, isolate, or highlight related data in response to the selection. To know more about the arguments of this event, refer [`here`](https://ej2.syncfusion.com/angular/documentation/api/chart/ilegendclickeventargs). {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -315,7 +335,7 @@ The legendClick event will be triggered when a legend item is clicked. To know m ## Annotations ### annotationRender -Before the chart annotation is rendered, the annotationRender event will be triggered. To know more about the arguments of this event, refer [`here`](https://ej2.syncfusion.com/angular/documentation/api/chart/iannotationrendereventargs). +Triggered before each chart annotation is rendered so you can customize or cancel it. Requires the `ChartAnnotationService` provider and an `annotations` configuration on the chart. To know more about the arguments of this event, refer [`here`](https://ej2.syncfusion.com/angular/documentation/api/chart/iannotationrendereventargs). {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -332,7 +352,7 @@ Before the chart annotation is rendered, the annotationRender event will be trig ## Zooming and Scrolling ### zooming -During zoom or pan interactions, the zooming event will be triggered, providing per-axis zoom information that can be modified or canceled. To know more about the arguments of this event, refer [`here`](https://ej2.syncfusion.com/angular/documentation/api/chart/izoomingeventargs). +Triggered during zoom or pan interactions, providing per-axis zoom information that can be modified or canceled. Requires the `ZoomService` provider and `zoomSettings` to be configured on the chart. To know more about the arguments of this event, refer [`here`](https://ej2.syncfusion.com/angular/documentation/api/chart/izoomingeventargs). {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -347,7 +367,7 @@ During zoom or pan interactions, the zooming event will be triggered, providing {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/chart-events/zooming" %} ### zoomComplete -After a zoom or pan action completes for an axis, the zoomComplete event will be triggered. To know more about the arguments of this event, refer [`here`](https://ej2.syncfusion.com/angular/documentation/api/chart/izoomcompleteeventargs). +Triggered after a zoom or pan action completes for an axis. Requires the `ZoomService` provider and `zoomSettings` to be configured on the chart. To know more about the arguments of this event, refer [`here`](https://ej2.syncfusion.com/angular/documentation/api/chart/izoomcompleteeventargs). {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -362,7 +382,7 @@ After a zoom or pan action completes for an axis, the zoomComplete event will be {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/chart-events/zoomComplete" %} ### scrollChanged -During scrollbar interactions, the scrollChanged event will be triggered to indicate visible range or zoom changes. To know more about the arguments of this event, refer [`here`](https://ej2.syncfusion.com/angular/documentation/api/chart/iscrolleventargs). +Triggered during scrollbar interactions to indicate visible range or zoom changes. Requires the `ScrollBarService` provider and `scrollbarSettings.enable = true` on the axis. To know more about the arguments of this event, refer [`here`](https://ej2.syncfusion.com/angular/documentation/api/chart/iscrolleventargs). {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -376,10 +396,40 @@ During scrollbar interactions, the scrollChanged event will be triggered to indi {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/chart-events/scrollChanged" %} +### scrollStart +Triggered when a scrollbar interaction begins. Use this event to capture the previous range before the user changes the viewport, or to apply initial constraints when scrolling starts. Requires the `ScrollBarService` provider and `scrollbarSettings.enable = true` on the axis. To know more about the arguments of this event, refer [`here`](https://ej2.syncfusion.com/angular/documentation/api/chart/iscrolleventargs). + +{% tabs %} +{% highlight ts tabtitle="app.component.ts" %} +{% include code-snippet/chart-sdk/angular/charts/chart-events/scrollStart/src/app.component.ts %} +{% endhighlight %} + +{% highlight ts tabtitle="main.ts" %} +{% include code-snippet/chart-sdk/angular/charts/chart-events/scrollStart/src/main.ts %} +{% endhighlight %} +{% endtabs %} + +{% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/chart-events/scrollStart" %} + +### scrollEnd +Triggered when a scrollbar interaction ends and the new viewport range is committed. Use this event to persist the visible range or to refresh related UI. Requires the `ScrollBarService` provider and `scrollbarSettings.enable = true` on the axis. To know more about the arguments of this event, refer [`here`](https://ej2.syncfusion.com/angular/documentation/api/chart/iscrolleventargs). + +{% tabs %} +{% highlight ts tabtitle="app.component.ts" %} +{% include code-snippet/chart-sdk/angular/charts/chart-events/scrollEnd/src/app.component.ts %} +{% endhighlight %} + +{% highlight ts tabtitle="main.ts" %} +{% include code-snippet/chart-sdk/angular/charts/chart-events/scrollEnd/src/main.ts %} +{% endhighlight %} +{% endtabs %} + +{% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/chart-events/scrollEnd" %} + ## Selection and Drag ### dragComplete -After a drag-selection area or zoom region is completed, the dragComplete event will be triggered. To know more about the arguments of this event, refer [`here`](https://ej2.syncfusion.com/angular/documentation/api/chart/idragcompleteeventargs). +Triggered after a drag-selection area or zoom region is completed. Requires the `SelectionService` provider and `selectionMode` to be set to a drag-based value (for example, `DragXY`, `DragX`, or `DragY`). To know more about the arguments of this event, refer [`here`](https://ej2.syncfusion.com/angular/documentation/api/chart/idragcompleteeventargs). {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -394,7 +444,7 @@ After a drag-selection area or zoom region is completed, the dragComplete event {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/chart-events/dragComplete" %} ### selectionComplete -After a selection action (by click or drag) completes, the selectionComplete event will be triggered. To know more about the arguments of this event, refer [`here`](https://ej2.syncfusion.com/angular/documentation/api/chart/iselectioncompleteeventargs). +Triggered after a selection action (by click or drag) completes. Requires the `SelectionService` provider and `selectionMode` to be set to a value that enables selection (for example, `Point`, `Series`, `Cluster`, `DragXY`). To know more about the arguments of this event, refer [`here`](https://ej2.syncfusion.com/angular/documentation/api/chart/iselectioncompleteeventargs). {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -411,7 +461,7 @@ After a selection action (by click or drag) completes, the selectionComplete eve ## Mouse Events ### chartMouseDown -The chartMouseDown event will be triggered when a mouse down action occurs over the chart area. To know more about the arguments of this event, refer [`here`](https://ej2.syncfusion.com/angular/documentation/api/chart/imouseeventargs). +Triggered when a mouse down action occurs over the chart area. To know more about the arguments of this event, refer [`here`](https://ej2.syncfusion.com/angular/documentation/api/chart/imouseeventargs). {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -426,7 +476,7 @@ The chartMouseDown event will be triggered when a mouse down action occurs over {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/chart-events/chartMouseDown" %} ### chartMouseMove -The chartMouseMove event will be triggered when the mouse moves over the chart area. To know more about the arguments of this event, refer [`here`](https://ej2.syncfusion.com/angular/documentation/api/chart/imouseeventargs). +Triggered when the mouse moves over the chart area. To know more about the arguments of this event, refer [`here`](https://ej2.syncfusion.com/angular/documentation/api/chart/imouseeventargs). {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -441,7 +491,7 @@ The chartMouseMove event will be triggered when the mouse moves over the chart a {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/chart-events/chartMouseMove" %} ### chartMouseUp -The chartMouseUp event will be triggered when a mouse up action occurs over the chart area. To know more about the arguments of this event, refer [`here`](https://ej2.syncfusion.com/angular/documentation/api/chart/imouseeventargs). +Triggered when a mouse up action occurs over the chart area. To know more about the arguments of this event, refer [`here`](https://ej2.syncfusion.com/angular/documentation/api/chart/imouseeventargs). {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -456,7 +506,7 @@ The chartMouseUp event will be triggered when a mouse up action occurs over the {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/chart-events/chartMouseUp" %} ### chartMouseLeave -The chartMouseLeave event will be triggered when the mouse leaves the chart area. To know more about the arguments of this event, refer [`here`](https://ej2.syncfusion.com/angular/documentation/api/chart/imouseeventargs). +Triggered when the mouse leaves the chart area. To know more about the arguments of this event, refer [`here`](https://ej2.syncfusion.com/angular/documentation/api/chart/imouseeventargs). {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -471,7 +521,7 @@ The chartMouseLeave event will be triggered when the mouse leaves the chart area {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/chart-events/chartMouseLeave" %} ### chartMouseClick -The chartMouseClick event will be triggered when a mouse click occurs within the chart area. To know more about the arguments of this event, refer [`here`](https://ej2.syncfusion.com/angular/documentation/api/chart/imouseeventargs). +Triggered when a mouse click occurs within the chart area (axes, series, legend, tooltip, etc.). To know more about the arguments of this event, refer [`here`](https://ej2.syncfusion.com/angular/documentation/api/chart/imouseeventargs). {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -486,7 +536,7 @@ The chartMouseClick event will be triggered when a mouse click occurs within the {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/chart-events/chartMouseClick" %} ### chartDoubleClick -The chartDoubleClick event will be triggered when a double-click occurs within the chart area. Use this event to reset zoom, toggle modes, or open detailed panels based on the double-click location. To know more about the arguments of this event, refer [`here`](https://ej2.syncfusion.com/angular/documentation/api/chart/imouseeventargs). +Triggered when a double-click occurs within the chart area. Use this event to reset zoom, toggle modes, or open detailed panels based on the double-click location. To know more about the arguments of this event, refer [`here`](https://ej2.syncfusion.com/angular/documentation/api/chart/imouseeventargs). {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -503,7 +553,7 @@ The chartDoubleClick event will be triggered when a double-click occurs within t ## Life cycle and Layout ### load -Before the chart starts initial rendering, the load event will be triggered. Use this event to set themes, localization, palettes, or modify chart/series properties programmatically prior to rendering. To know more about the arguments of this event, refer [`here`](https://ej2.syncfusion.com/angular/documentation/api/chart/iloadedeventargs). +Triggered before the chart starts initial rendering. Use this event to set themes, localization, palettes, or modify chart/series properties programmatically prior to rendering. To know more about the arguments of this event, refer [`here`](https://ej2.syncfusion.com/angular/documentation/api/chart/iloadedeventargs). {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -518,7 +568,7 @@ Before the chart starts initial rendering, the load event will be triggered. Use {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/chart-events/load" %} ### loaded -After the chart is fully loaded and initial rendering is completed, the loaded event will be triggered. To know more about the arguments of this event, refer [`here`](https://ej2.syncfusion.com/angular/documentation/api/chart/iloadedeventargs). +Triggered after the chart is fully loaded and initial rendering is complete. To know more about the arguments of this event, refer [`here`](https://ej2.syncfusion.com/angular/documentation/api/chart/iloadedeventargs). {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -533,7 +583,7 @@ After the chart is fully loaded and initial rendering is completed, the loaded e {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/chart-events/loaded" %} ### beforeResize -Before a resize is performed, the beforeResize event will be triggered, and you can cancel the subsequent resizing. To know more about the arguments of this event, refer [`here`](https://ej2.syncfusion.com/angular/documentation/api/chart/ibeforeresizeeventargs). +Triggered before a resize is performed; you can cancel the subsequent resize by setting `args.cancel = true`. To know more about the arguments of this event, refer [`here`](https://ej2.syncfusion.com/angular/documentation/api/chart/ibeforeresizeeventargs). {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -548,7 +598,7 @@ Before a resize is performed, the beforeResize event will be triggered, and you {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/chart-events/beforeResize" %} ### resized -After the chart has been resized, the resized event will be triggered. To know more about the arguments of this event, refer [`here`](https://ej2.syncfusion.com/angular/documentation/api/chart/iresizeeventargs). +Triggered after the chart has been resized. To know more about the arguments of this event, refer [`here`](https://ej2.syncfusion.com/angular/documentation/api/chart/iresizeeventargs). {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -563,7 +613,7 @@ After the chart has been resized, the resized event will be triggered. To know m {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/chart-events/resized" %} ### beforePrint -The beforePrint event will be triggered before the chart is printed, providing access to the HTML content being printed. To know more about the arguments of this event, refer [`here`](https://ej2.syncfusion.com/angular/documentation/api/chart/iprinteventargs). +Triggered before the chart is printed, providing access to the HTML content being printed via `args.htmlContent`. Use this to add watermarks, headers/footers, or to modify the cloned chart element before printing. To know more about the arguments of this event, refer [`here`](https://ej2.syncfusion.com/angular/documentation/api/chart/iprinteventargs). {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -578,7 +628,7 @@ The beforePrint event will be triggered before the chart is printed, providing a {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/chart-events/beforePrint" %} ### beforeExport -Before a chart export operation begins (such as exporting to PNG, JPEG, SVG, or PDF), the beforeExport event will be triggered, allowing you to customize file name, export type, page settings, or cancel the export. To know more about the arguments of this event, refer [`here`](https://ej2.syncfusion.com/angular/documentation/api/chart/iexporteventargs). +Triggered before a chart export operation begins (such as exporting to PNG, JPEG, SVG, or PDF), allowing you to customize `fileName`, export type, page settings, theme, or cancel the export. Requires the `ExportService` provider. To know more about the arguments of this event, refer [`here`](https://ej2.syncfusion.com/angular/documentation/api/chart/iexporteventargs). {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -593,7 +643,7 @@ Before a chart export operation begins (such as exporting to PNG, JPEG, SVG, or {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/chart-events/beforeExport" %} ### afterExport -After a chart export operation completes, the afterExport event will be triggered. Use this event to perform post-export actions such as notifications, logging, or initiating downloads in custom flows. To know more about the arguments of this event, refer [`here`](https://ej2.syncfusion.com/angular/documentation/api/chart/index-default). +Triggered after a chart export operation completes. Use this event to perform post-export actions such as notifications, logging, or initiating downloads in custom flows. Requires the `ExportService` provider. To know more about the arguments of this event, refer [`here`](https://ej2.syncfusion.com/angular/documentation/api/chart#afterexport). {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -607,3 +657,29 @@ After a chart export operation completes, the afterExport event will be triggere {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/chart-events/afterExport" %} +## Common event arguments + +Most event argument objects share a common shape. The table below lists the properties you are most likely to use. + +| Property | Type | Description | +| --- | --- | --- | +| `args.chart` | `Chart` | The chart instance that raised the event. | +| `args.series` | `Series` | The series associated with the event (point, render, and selection events). | +| `args.point` | `Points` | The data point associated with the event (point, text render, and tooltip events). | +| `args.pointIndex` | `number` | Index of the data point in its series. | +| `args.seriesIndex` | `number` | Index of the series in the series collection. | +| `args.cancel` | `boolean` | Set to `true` to cancel the default action of the event. | +| `args.x`, `args.y` | `number` | Mouse coordinates in the chart's local coordinate system (mouse events). | +| `args.target` | `HTMLElement` | The DOM element under the pointer (mouse events). | + +For complete properties of a specific event, follow the API link in each section above. + +## Troubleshooting + +- **Event does not fire** — Make sure the relevant service is registered in the component's `providers` array (for example, `TooltipService` for tooltip events, `ZoomService` for zoom events, `SelectionService` for selection events, `DataEditingService` for drag-to-edit events). +- **`args.cancel` has no effect** — Only events that explicitly mention cancellation in the API reference support `args.cancel`. For example, `beforeResize` supports cancellation, but `loaded` does not. +- **`tooltipRender` does not fire** — Tooltip events only fire when `tooltip.enable = true`. `sharedTooltipRender` additionally requires `tooltip.shared = true`. +- **`zooming` / `zoomComplete` do not fire** — Configure `zoomSettings` and ensure `enableSelectionZooming`, `enableMouseWheelZooming`, or `enablePinchZooming` is set to `true`. +- **`selectionComplete` / `dragComplete` do not fire** — Set `selectionMode` to a value other than `None` (for example, `Point`, `Series`, `Cluster`, `DragXY`). +- **`dragStart` / `drag` / `dragEnd` do not fire** — The series must have `dragSettings.enable = true` and the `DataEditingService` provider must be registered. +- **`scrollChanged` / `scrollStart` / `scrollEnd` do not fire** — Enable the scrollbar on the axis (`scrollbarSettings.enable = true`) and register the `ScrollBarService` provider. diff --git a/chart-sdk/angular/charts/chart-interactive/cross-hair-and-track-ball.md b/chart-sdk/angular/charts/chart-interactive/cross-hair-and-track-ball.md index 85527c8a5..d519158cc 100644 --- a/chart-sdk/angular/charts/chart-interactive/cross-hair-and-track-ball.md +++ b/chart-sdk/angular/charts/chart-interactive/cross-hair-and-track-ball.md @@ -1,6 +1,6 @@ --- layout: post -title: Crosshair and Trackball in Angular Chart | Syncfusion +title: Crosshair and Trackball in Angular Charts | Syncfusion description: Learn here all about Crosshair and trackball in Syncfusion Angular Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Crosshair and trackball @@ -8,64 +8,75 @@ documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Crosshair and Trackball in Angular Chart +# Crosshair and Trackball in Angular Charts -Crosshair has a vertical and horizontal line to view the value of the axis at mouse or touch position. +The crosshair displays a vertical and/or horizontal line that shows the axis value at the mouse or touch position. ![Crosshair](../../images/crosshair.gif) -Crosshair lines can be enabled by using [`enable`](https://ej2.syncfusion.com/angular/documentation/api/chart/crosshairSettings#enable) property in the [`crosshair`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartModel#crosshair). +>**Note**: To use the crosshair feature, inject `CrosshairService` into the component's `providers` array (or `@NgModule.providers` for module-based apps). + +Crosshair lines can be enabled by using the [`enable`](https://ej2.syncfusion.com/angular/documentation/api/chart/crosshairSettings#enable) property in the [`crosshair`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartModel#crosshair). {% tabs %} {% highlight ts tabtitle="app.component.ts" %} {% include code-snippet/chart-sdk/angular/charts/user-interaction/crosshair-cs1/src/app.component.ts %} {% endhighlight %} +{% highlight ts tabtitle="chartdata.ts" %} +{% include code-snippet/chart-sdk/angular/charts/user-interaction/crosshair-cs1/src/chartdata.ts %} +{% endhighlight %} + {% highlight ts tabtitle="main.ts" %} {% include code-snippet/chart-sdk/angular/charts/user-interaction/crosshair-cs1/src/main.ts %} {% endhighlight %} {% endtabs %} - + {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/user-interaction/crosshair-cs1" %} ## Axis tooltip -Tooltip label for an axis can be enabled by using [`enable`](https://ej2.syncfusion.com/angular/documentation/api/chart/crosshairTooltipModel#enable) -property of [`crosshairTooltip`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisModel#crosshairtooltip) in the corresponding axis. +Tooltip label for an axis can be enabled by using the [`enable`](https://ej2.syncfusion.com/angular/documentation/api/chart/crosshairTooltipModel#enable) property of the [`crosshairTooltip`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisModel#crosshairtooltip) in the corresponding axis. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} {% include code-snippet/chart-sdk/angular/charts/user-interaction/crosshair-cs2/src/app.component.ts %} {% endhighlight %} +{% highlight ts tabtitle="chartdata.ts" %} +{% include code-snippet/chart-sdk/angular/charts/user-interaction/crosshair-cs2/src/chartdata.ts %} +{% endhighlight %} + {% highlight ts tabtitle="main.ts" %} {% include code-snippet/chart-sdk/angular/charts/user-interaction/crosshair-cs2/src/main.ts %} {% endhighlight %} {% endtabs %} - + {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/user-interaction/crosshair-cs2" %} ## Customization -The [`fill`](https://ej2.syncfusion.com/angular/documentation/api/chart/crosshairTooltip#fill) and [`textStyle`](https://ej2.syncfusion.com/angular/documentation/api/chart/crosshairTooltip#textstyle) property of the [`crosshairTooltip`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisModel#crosshairtooltip) is used to customize the background color and font style of the crosshair label respectively. Color and width of the crosshair line can be customized by using the [`line`](https://ej2.syncfusion.com/angular/documentation/api/chart/crosshairSettings#line) property in the [`crosshair`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartModel#crosshair). +The [`fill`](https://ej2.syncfusion.com/angular/documentation/api/chart/crosshairTooltip#fill) and [`textStyle`](https://ej2.syncfusion.com/angular/documentation/api/chart/fontModel) properties of the [`crosshairTooltip`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisModel#crosshairtooltip) are used to customize the background color and font style of the crosshair label, respectively. The color and width of the crosshair line can be customized by using the [`line`](https://ej2.syncfusion.com/angular/documentation/api/chart/crosshairSettings#line) property in the [`crosshair`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartModel#crosshair). {% tabs %} {% highlight ts tabtitle="app.component.ts" %} {% include code-snippet/chart-sdk/angular/charts/user-interaction/crosshair-cs3/src/app.component.ts %} {% endhighlight %} +{% highlight ts tabtitle="chartdata.ts" %} +{% include code-snippet/chart-sdk/angular/charts/user-interaction/crosshair-cs3/src/chartdata.ts %} +{% endhighlight %} + {% highlight ts tabtitle="main.ts" %} {% include code-snippet/chart-sdk/angular/charts/user-interaction/crosshair-cs3/src/main.ts %} {% endhighlight %} {% endtabs %} - -{% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/user-interaction/crosshair-cs3" %} ->**Note**: To use crosshair feature, inject `CrosshairService` into the `@NgModule.providers`. +{% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/user-interaction/crosshair-cs3" %} ## Snap to data -Enabling the [`snapToData`](https://ej2.syncfusion.com/angular/documentation/api/chart/crosshairSettingsModel#snaptodata) property in the [`crosshair`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartModel#crosshair) aligns it with the nearest data point instead of following the exact mouse position. +Enabling the [`snapToData`](https://ej2.syncfusion.com/angular/documentation/api/chart/crosshairSettings#snaptodata) property in the [`crosshair`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartModel#crosshair) aligns the line with the nearest data point on both axes instead of following the exact mouse position. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -76,14 +87,18 @@ Enabling the [`snapToData`](https://ej2.syncfusion.com/angular/documentation/api {% include code-snippet/chart-sdk/angular/charts/user-interaction/crosshair-cs9/src/main.ts %} {% endhighlight %} {% endtabs %} - + {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/user-interaction/crosshair-cs9" %} ## Trackball -Trackball is used to track a data point closest to the mouse or touch position. Trackball marker indicates the closest point and trackball tooltip displays the information about the point. To use trackball feature, inject `CrosshairService` and `TooltipService` into the `@NgModule.providers`. +Trackball is used to track the data point closest to the mouse or touch position. The trackball marker indicates the closest point and the trackball tooltip displays the information about that point. To use the trackball feature, inject `CrosshairService` and `TooltipService` into the component's `providers` array (or `@NgModule.providers` for module-based apps). -Trackball can be enabled by setting the [`enable`](https://ej2.syncfusion.com/angular/documentation/api/chart/crosshairSettings#enable) property of the [`crosshair`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartModel#crosshair) to true and [`shared`](https://ej2.syncfusion.com/angular/documentation/api/chart/tooltipSettingsModel#shared) property in [`tooltip`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartModel#tooltip) to true in chart. +The trackball can be enabled by: + +* Setting the [`enable`](https://ej2.syncfusion.com/angular/documentation/api/chart/crosshairSettings#enable) property of the [`crosshair`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartModel#crosshair) to **true**. +* Setting the [`lineType`](https://ej2.syncfusion.com/angular/documentation/api/chart/crosshairSettings#linetype) property of the [`crosshair`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartModel#crosshair) to **Vertical** (recommended so the line snaps to a single x-coordinate across all series). +* Setting the [`shared`](https://ej2.syncfusion.com/angular/documentation/api/chart/tooltipSettings#shared) property in [`tooltip`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartModel#tooltip) to **true**. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -94,7 +109,7 @@ Trackball can be enabled by setting the [`enable`](https://ej2.syncfusion.com/an {% include code-snippet/chart-sdk/angular/charts/user-interaction/trackball-cs1/src/main.ts %} {% endhighlight %} {% endtabs %} - + {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/user-interaction/trackball-cs1" %} To know more about Crosshair and Trackball, you can check on this video: @@ -103,7 +118,7 @@ To know more about Crosshair and Trackball, you can check on this video: ## Crosshair highlight -The [`highlightCategory`](https://ej2.syncfusion.com/angular/documentation/api/chart/crosshairSettings#highlightcategory) property in the [`crosshair`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartModel#crosshair) highlights the background of the entire category when hovered over. The crosshair color can be customized using the [`color`](https://ej2.syncfusion.com/angular/documentation/api/chart/borderModel#color) property within the [`line`](https://ej2.syncfusion.com/angular/documentation/api/chart/crosshairSettings#line) configuration. +The [`highlightCategory`](https://ej2.syncfusion.com/angular/documentation/api/chart/crosshairSettings#highlightcategory) property in the [`crosshair`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartModel#crosshair) highlights the background of the entire category when the user hovers over the chart. The crosshair color can be customized using the [`color`](https://ej2.syncfusion.com/angular/documentation/api/chart/borderModel#color) property within the [`line`](https://ej2.syncfusion.com/angular/documentation/api/chart/crosshairSettings#line) configuration. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -114,21 +129,20 @@ The [`highlightCategory`](https://ej2.syncfusion.com/angular/documentation/api/c {% include code-snippet/chart-sdk/angular/charts/user-interaction/crosshair-cs10/src/main.ts %} {% endhighlight %} {% endtabs %} - + {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/user-interaction/crosshair-cs10" %} ## Crosshair Label Customization -The [`crosshairLabelRender`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartModel#crosshairlabelrender) event fires before each crosshair axis label is rendered, allowing you to customize the label's appearance or content, or to prevent it from being displayed. +The [`crosshairLabelRender`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartModel#crosshairlabelrender) event fires before each crosshair axis label is rendered, allowing you to customize the label's appearance or content, or to prevent it from being displayed. The event handler argument is typed as [`ICrosshairLabelRenderEventArgs`](https://ej2.syncfusion.com/angular/documentation/api/chart/iCrosshairLabelRenderEventArgs) and exposes the following properties: -Event arguments: -- `text` – The label text that can be modified. -- `value` – The data value at the crosshair position. -- `axisName` – The axis identifier (e.g., `primaryXAxis`). -- `axisOrientation` – Either `Horizontal` or `Vertical`. -- `textStyle` – Font properties for customization. -- `fill` – Background color of the label. -- `cancel` – Set to **true** to skip rendering the label. +- `text` - The label text that can be modified. +- `value` - The data value at the crosshair position. +- `axisName` - The axis identifier (for example, `primaryXAxis` or `primaryYAxis`). +- `axisOrientation` - Either `Horizontal` or `Vertical` (see [`AxisOrientation`](https://ej2.syncfusion.com/angular/documentation/api/chart/axisOrientation)). +- `textStyle` - A nested [`FontModel`](https://ej2.syncfusion.com/angular/documentation/api/chart/fontModel) object whose properties (such as `color`, `size`, `fontWeight`) can be modified to customize the label font. +- `fill` - Background color of the label. +- `cancel` - Set to **true** to skip rendering the label. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} diff --git a/chart-sdk/angular/charts/chart-interactive/data-editing.md b/chart-sdk/angular/charts/chart-interactive/data-editing.md index e70f1e512..17d7d2533 100644 --- a/chart-sdk/angular/charts/chart-interactive/data-editing.md +++ b/chart-sdk/angular/charts/chart-interactive/data-editing.md @@ -1,6 +1,6 @@ --- layout: post -title: Data Editing in Angular Chart | Syncfusion +title: Data Editing in Angular Charts | Syncfusion description: Learn here all about Data editing in Syncfusion Angular Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Data editing @@ -10,21 +10,17 @@ domainurl: https://help.syncfusion.com/chart-sdk -# Data Editing in Angular Chart +# Data Editing in Angular Charts -Data editing allows users to modify chart data points interactively by dragging and dropping the rendered points. This functionality is enabled by injecting the [`DataEditing`](https://ej2.syncfusion.com/angular/documentation/api/chart/dataEditing) module into the chart provider, which adds drag-and-drop support for data points. +>**Note**: To use the data editing feature, inject `DataEditingService` from `@syncfusion/ej2-angular-charts` into the component's `providers` (for standalone components) or `@NgModule.providers` (for module-based components). -![DataEditing](../../images/data-edit.gif) +Data editing allows users to modify chart data points interactively by dragging the rendered points to new positions. This functionality adds drag-and-drop support for data points. -## Enable data editing - -To activate data editing, set the [enable](https://ej2.syncfusion.com/angular/documentation/api/chart/dragsettingsmodel#enable) property to **true** in the [dragSettings](https://ej2.syncfusion.com/angular/documentation/api/chart/seriesModel#dragsettings) of the corresponding series. +![Animated demo of dragging chart data points in Angular Charts](../../images/data-edit.gif) -Additionally, the following properties can be used to customize the data editing behavior and appearance: -- Use the [`fill`](https://ej2.syncfusion.com/angular/documentation/api/chart/dragsettingsmodel#fill) property to set the color of the editable data points. -- Use the [`minY`](https://ej2.syncfusion.com/angular/documentation/api/chart/dragsettingsmodel#miny) and [`maxY`](https://ej2.syncfusion.com/angular/documentation/api/chart/dragsettingsmodel#maxy) properties to define the minimum and maximum allowable range for editing the data points. +## Enable data editing -These options help control both the visual feedback and the valid value range while editing data directly on the chart. +To activate data editing, set the `enable` property of `dragSettings` to **true** on the corresponding series. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -38,4 +34,50 @@ These options help control both the visual feedback and the valid value range wh {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/user-interaction/data-editing-cs1" %} ->**Note**: To use data editing feature, inject `DataEditingService` into the `@NgModule.providers`. \ No newline at end of file +## Customization + +The following `dragSettings` properties can be used to customize the data editing behavior and appearance: + +- `fill` — Sets the color of the editable data points. +- `minY` and `maxY` — Define the minimum and maximum allowable range for editing the data points on the Y axis. + +These options control both the visual feedback and the valid value range when editing data directly on the chart. + +{% tabs %} +{% highlight ts tabtitle="app.component.ts" %} +{% include code-snippet/chart-sdk/angular/charts/user-interaction/data-editing-cs2/src/app.component.ts %} +{% endhighlight %} + +{% highlight ts tabtitle="main.ts" %} +{% include code-snippet/chart-sdk/angular/charts/user-interaction/data-editing-cs2/src/main.ts %} +{% endhighlight %} +{% endtabs %} + +{% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/user-interaction/data-editing-cs2" %} + +## Events + +The data editing feature raises the `dragComplete` event after the user drops a data point. Use this event to persist changes, validate the new value, or update related UI. + +{% tabs %} +{% highlight ts tabtitle="app.component.ts" %} +```ts +public dragComplete(args: any): void { + // args.currentValue contains the new Y value + // args.point.index and args.series.index identify the edited point + console.log(`Series ${args.series.index}, Point ${args.point.index} moved to ${args.currentValue}`); +} +``` + +Bind it on the `` element: + +```html + + +``` +{% endhighlight %} +{% endtabs %} + +## Supported series types + +Data editing is supported for the following series types: `Line`, `Column`, and `Scatter`. diff --git a/chart-sdk/angular/charts/chart-interactive/selection.md b/chart-sdk/angular/charts/chart-interactive/selection.md index e0d0b1240..1e92349ac 100644 --- a/chart-sdk/angular/charts/chart-interactive/selection.md +++ b/chart-sdk/angular/charts/chart-interactive/selection.md @@ -1,6 +1,6 @@ --- layout: post -title: Selection in Angular Chart | Syncfusion +title: Selection in Angular Charts | Syncfusion description: Learn here all about Selection in Syncfusion Angular Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Selection @@ -10,7 +10,7 @@ domainurl: https://help.syncfusion.com/chart-sdk -# Selection in Angular Chart +# Selection in Angular Charts The chart provides selection support for both series and individual data points when users interact with the chart using mouse clicks. @@ -18,7 +18,9 @@ The chart provides selection support for both series and individual data points > **Note:** When the mouse is clicked on the data points, the corresponding series legend will also be selected. -We have different types of selection modes for selecting the data. They are, +> **Note:** To use the selection feature, inject `SelectionService` into `NgModule.providers` (or add it to the component `providers` array for standalone components). + +The chart supports the following selection modes: * None * Point @@ -27,10 +29,11 @@ We have different types of selection modes for selecting the data. They are, * DragXY * DragX * DragY +* Lasso ## Point - You can select a point, by setting [`selectionMode`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartModel#selectionmode) to point. +You can select a point by setting [`selectionMode`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartModel#selectionmode) to `Point`. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -41,14 +44,12 @@ We have different types of selection modes for selecting the data. They are, {% include code-snippet/chart-sdk/angular/charts/user-interaction/selection-cs1/index.css %} {% endhighlight %} {% endtabs %} - -{% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/user-interaction/selection-cs1" %} ->**Note**: To use select feature, we need to Inject `SelectionService` into the `NgModule.providers`. +{% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/user-interaction/selection-cs1" %} ## Series - You can select a series, by setting [`selectionMode`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartModel#selectionmode) to series. +You can select a series by setting [`selectionMode`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartModel#selectionmode) to `Series`. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -59,12 +60,12 @@ We have different types of selection modes for selecting the data. They are, {% include code-snippet/chart-sdk/angular/charts/user-interaction/selection-cs2/index.css %} {% endhighlight %} {% endtabs %} - + {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/user-interaction/selection-cs2" %} ## Cluster -You can select the points that corresponds to the same index in all the series, by setting [`selectionMode`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartModel#selectionmode) to cluster. +You can select the points that correspond to the same index in all the series by setting [`selectionMode`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartModel#selectionmode) to `Cluster`. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -82,11 +83,11 @@ You can select the points that corresponds to the same index in all the series, **DragXY, DragX and DragY** -To fetch the collection of data under a particular region, you have to set [`selectionMode`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartModel#selectionmode) as `DragXY`. +To fetch the collection of data under a particular region, set [`selectionMode`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartModel#selectionmode) to `DragXY`. These modes require Cartesian (XY-value) series. -* DragXY - Allows us to select data with respect to horizontal and vertical axis. -* DragX - Allows us to select data with respect to horizontal axis. -* DragY - Allows us to select data with respect to vertical axis. +* DragXY - Allows data to be selected with respect to both the horizontal and vertical axes. +* DragX - Allows data to be selected with respect to the horizontal axis. +* DragY - Allows data to be selected with respect to the vertical axis. The selected data is returned as an array collection in the [`dragComplete`](https://ej2.syncfusion.com/angular/documentation/api/chart/iDragCompleteEventArgs) event. @@ -99,12 +100,12 @@ The selected data is returned as an array collection in the [`dragComplete`](htt {% include code-snippet/chart-sdk/angular/charts/user-interaction/drag-cs1/index.css %} {% endhighlight %} {% endtabs %} - + {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/user-interaction/drag-cs1" %} -## Lasso selection +### Lasso selection -To select a region by drawing freehand shapes to fetch a collection of data use [`selectionMode`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartModel#selectionmode) as `Lasso`. You can also select multiple regions on the chart through this mode. +To select a region by drawing freehand shapes to fetch a collection of data, set [`selectionMode`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartModel#selectionmode) to `Lasso`. You can also select multiple regions on the chart through this mode. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -115,12 +116,12 @@ To select a region by drawing freehand shapes to fetch a collection of data use {% include code-snippet/chart-sdk/angular/charts/user-interaction/drag-cs2/index.css %} {% endhighlight %} {% endtabs %} - + {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/user-interaction/drag-cs2" %} -## Multi-region selection +### Multi-region selection -To select multiple region on the chart, set the [`allowMultiSelection`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartModel#allowmultiselection) property to true. +To select multiple regions on the chart with `DragXY`, `DragX`, `DragY`, or `Lasso`, set the [`allowMultiSelection`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartModel#allowmultiselection) property to `true`. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -131,12 +132,12 @@ To select multiple region on the chart, set the [`allowMultiSelection`](https:// {% include code-snippet/chart-sdk/angular/charts/user-interaction/drag-cs3/index.css %} {% endhighlight %} {% endtabs %} - + {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/user-interaction/drag-cs3" %} ## Selection type -You can select multiple points or series, by enabling the [`isMultiSelect`](https://ej2.syncfusion.com/angular/documentation/api/chart#ismultiselect) property. +You can select multiple points or series by enabling the [`isMultiSelect`](https://ej2.syncfusion.com/angular/documentation/api/chart#ismultiselect) property. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -147,12 +148,19 @@ You can select multiple points or series, by enabling the [`isMultiSelect`](http {% include code-snippet/chart-sdk/angular/charts/user-interaction/selection-cs4/index.css %} {% endhighlight %} {% endtabs %} - + {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/user-interaction/selection-cs4" %} ## Selection on load -You can select a point or series programmatically on a chart using [`selectedDataIndexes`](https://ej2.syncfusion.com/angular/documentation/api/chart#selecteddataindexes) property. +You can select a point or series programmatically on a chart using the [`selectedDataIndexes`](https://ej2.syncfusion.com/angular/documentation/api/chart#selecteddataindexes) property. The property accepts an array of objects with the following shape: + +| Field | Type | Description | +|---------|----------|--------------------------------------------| +| series | `number` | Zero-based index of the series to select. | +| point | `number` | Zero-based index of the point in the series. | + +The selection is applied after the chart is rendered, so set this property in `ngOnInit` (or before the chart is rendered) for the selection to appear on initial load. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -163,43 +171,49 @@ You can select a point or series programmatically on a chart using [`selectedDat {% include code-snippet/chart-sdk/angular/charts/user-interaction/selection-cs5/index.css %} {% endhighlight %} {% endtabs %} - + {% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/user-interaction/selection-cs5" %} -## Selection through legend +## Customization for selection -You can select a point or series through the legend using [`toggleVisibility`](https://ej2.syncfusion.com/angular/documentation/api/chart/legendSettingsModel#toggleVisibility) property. Also, use [`enableHighlight`](https://ej2.syncfusion.com/angular/documentation/api/chart/legendSettings#enableHighlight) property for highlighting the series through legend. +You can apply a custom style to selected points or series with the [`selectionStyle`](https://ej2.syncfusion.com/angular/documentation/api/chart/series#selectionstyle) property. The value is a CSS class name, so the corresponding class must be defined in your stylesheet. For example: ->When [`highlightMode`](https://ej2.syncfusion.com/angular/documentation/api/chart/highlightmode) is set to 'Series', 'Cluster' or 'Point', legend highlighting will still occur even when [`enableHighlight`](https://ej2.syncfusion.com/angular/documentation/api/chart/legendSettings#enableHighlight) is set to false. This is because, the [`highlightMode`](https://ej2.syncfusion.com/angular/documentation/api/chart/highlightmode) takes precedence, so hovering over legend items will trigger highlighting of the corresponding series regardless of the legend [`enableHighlight`](https://ej2.syncfusion.com/angular/documentation/api/chart/legendSettings#enableHighlight) setting. +```css +.chartSelection1 { fill: #1e90ff; } +.chartSelection2 { fill: #2ca02c; } +.chartSelection3 { fill: #d62728; } +``` {% tabs %} {% highlight ts tabtitle="app.component.ts" %} -{% include code-snippet/chart-sdk/angular/charts/user-interaction/selection-cs6/src/app.component.ts %} +{% include code-snippet/chart-sdk/angular/charts/user-interaction/selection-cs7/src/app.component.ts %} {% endhighlight %} {% highlight ts tabtitle="app.component.css" %} -{% include code-snippet/chart-sdk/angular/charts/user-interaction/selection-cs6/index.css %} +{% include code-snippet/chart-sdk/angular/charts/user-interaction/selection-cs7/index.css %} {% endhighlight %} {% endtabs %} - -{% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/user-interaction/selection-cs6" %} -## Customization for selection +{% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/user-interaction/selection-cs7" %} + +## Selection through legend -You can apply custom style to selected points or series with [`selectionStyle`](https://ej2.syncfusion.com/angular/documentation/api/chart/series#selectionstyle) property. +You can show or hide a series by clicking its legend item using the [`toggleVisibility`](https://ej2.syncfusion.com/angular/documentation/api/chart/legendSettingsModel#toggleVisibility) property of `legendSettings`. To highlight the corresponding series when the user hovers over a legend item, use the [`enableHighlight`](https://ej2.syncfusion.com/angular/documentation/api/chart/legendSettings#enableHighlight) property. Legend highlighting requires the `HighlightService` to be injected alongside `SelectionService`. + +> When [`highlightMode`](https://ej2.syncfusion.com/angular/documentation/api/chart/highlightmode) is set to `Series`, `Cluster`, or `Point`, legend highlighting will still occur even when [`enableHighlight`](https://ej2.syncfusion.com/angular/documentation/api/chart/legendSettings#enableHighlight) is set to `false`. This is because the [`highlightMode`](https://ej2.syncfusion.com/angular/documentation/api/chart/highlightmode) takes precedence, so hovering over legend items will trigger highlighting of the corresponding series regardless of the legend [`enableHighlight`](https://ej2.syncfusion.com/angular/documentation/api/chart/legendSettings#enableHighlight) setting. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} -{% include code-snippet/chart-sdk/angular/charts/user-interaction/selection-cs7/src/app.component.ts %} +{% include code-snippet/chart-sdk/angular/charts/user-interaction/selection-cs6/src/app.component.ts %} {% endhighlight %} {% highlight ts tabtitle="app.component.css" %} -{% include code-snippet/chart-sdk/angular/charts/user-interaction/selection-cs7/index.css %} +{% include code-snippet/chart-sdk/angular/charts/user-interaction/selection-cs6/index.css %} {% endhighlight %} {% endtabs %} - -{% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/user-interaction/selection-cs7" %} + +{% previewsample "https://help.syncfusion.com/samples/chart-sdk/angular/charts/user-interaction/selection-cs6" %} ## See Also -* [Display selected data for range selection](../how-to/selected-data-grid#display-selected-data-for-range-selection) \ No newline at end of file +* [Display selected data for range selection](../how-to/selected-data-grid) \ No newline at end of file diff --git a/chart-sdk/angular/charts/chart-interactive/synchronized-chart.md b/chart-sdk/angular/charts/chart-interactive/synchronized-chart.md index c387a894b..2ced7a22f 100644 --- a/chart-sdk/angular/charts/chart-interactive/synchronized-chart.md +++ b/chart-sdk/angular/charts/chart-interactive/synchronized-chart.md @@ -1,6 +1,6 @@ --- layout: post -title: Synchronized Charts in Angular Chart | Syncfusion +title: Synchronized Charts in Angular Charts | Syncfusion description: Learn here all about Synchronized Charts in Syncfusion Angular Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Synchronized charts @@ -8,22 +8,24 @@ documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Synchronized Charts in Angular Chart +# Synchronized Charts in Angular Charts -Synchronized charts allow multiple chart instances to share common interactions so that actions performed on one chart are reflected across the others. This approach is useful for comparing related datasets and analyzing trends consistently across multiple visualizations. +Synchronized charts allow multiple chart instances to share common interactions so that actions in one chart are mirrored in the others. This is useful for comparing related datasets and analyzing trends consistently across multiple visualizations. The following sections describe how to synchronize tooltip, crosshair, zooming, and selection interactions across charts. -![Synchronized Tooltip](../../images/TooltipSync.gif) +![Synchronized charts preview](../../images/TooltipSync.gif) + +> **Note:** Inject the corresponding service (`TooltipService`, `CrosshairService`, `ZoomService`, or `SelectionService`) into the component `providers` for the feature you want to enable. ## Tooltip synchronization -The tooltip can be synchronized across multiple charts using the [`showTooltip`](https://ej2.syncfusion.com/angular/documentation/api/chart#showtooltip) and [`hideTooltip`](https://ej2.syncfusion.com/angular/documentation/api/chart#hidetooltip) methods. When you hover over a data point in one chart, the `showTooltip` method can be called for the other charts to display related information in other connected charts simultaneously. +The tooltip can be synchronized across multiple charts using the [`showTooltip`](https://ej2.syncfusion.com/angular/documentation/api/chart#showtooltip) and [`hideTooltip`](https://ej2.syncfusion.com/angular/documentation/api/chart#hidetooltip) methods. When you hover over a data point in one chart, call `showTooltip` on the other charts to display related information simultaneously. -> **Note:** To use tooltip synchronization, inject `TooltipService` into `@NgModule.providers`. +> **Note:** To use tooltip synchronization, inject `TooltipService` into the component `providers`. In the `showTooltip` method, specify the following parameters programmatically to enable the tooltip for a particular chart: -* `x` - Specifies the data point x-value or x-coordinate value. -* `y` - Specifies the data point y-value or y-coordinate value. +* `x` – Specifies the pointer x-coordinate. +* `y` – Specifies the pointer y-coordinate. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -40,14 +42,14 @@ In the `showTooltip` method, specify the following parameters programmatically t ## Crosshair synchronization -The crosshair can be synchronized across multiple charts using the [`showCrosshair`](https://ej2.syncfusion.com/angular/documentation/api/chart#showcrosshair) and [`hideCrosshair`](https://ej2.syncfusion.com/angular/documentation/api/chart#hidecrosshair) methods. When you hover over one chart, the `showCrosshair` method can be called for the other charts to align with data points in other connected charts, simplifying data comparison and analysis. +The crosshair can be synchronized across multiple charts using the [`showCrosshair`](https://ej2.syncfusion.com/angular/documentation/api/chart#showcrosshair) and [`hideCrosshair`](https://ej2.syncfusion.com/angular/documentation/api/chart#hidecrosshair) methods. When you hover over one chart, call `showCrosshair` on the other charts to align them with the active data point. This makes it easier to compare values at the same x-position across charts. -> **Note:** To use crosshair synchronization, inject the `CrosshairService` into the `@NgModule.providers`. +> **Note:** To use crosshair synchronization, inject `CrosshairService` into the component `providers`. In the `showCrosshair` method, specify the following parameters programmatically to enable the crosshair for a particular chart: -* `x` - Specifies the x-value of the point or x-coordinate. -* `y` - Specifies the y-value of the point or y-coordinate. +* `x` – Specifies the pointer x-coordinate. +* `y` – Specifies the pointer y-coordinate. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -63,9 +65,9 @@ In the `showCrosshair` method, specify the following parameters programmatically ## Zooming synchronization -Zoom levels can be synchronized across multiple charts using the [`zoomComplete`](https://ej2.syncfusion.com/angular/documentation/api/chart/iZoomCompleteEventArgs) event. In the `zoomComplete` event, retrieve the [`currentZoomFactor`](https://ej2.syncfusion.com/angular/documentation/api/chart/iZoomCompleteEventArgs#currentzoomfactor) and [`currentZoomPosition`](https://ej2.syncfusion.com/angular/documentation/api/chart/iZoomCompleteEventArgs#currentzoomposition) values from the zoomed chart. These values can then be applied to the other charts using the [`zoomSettings`](https://ej2.syncfusion.com/angular/documentation/api/chart/zoomSettings) property to ensure that all synchronized charts maintain the same zoom state during user interaction. +Zoom levels can be synchronized across multiple charts using the [`zoomComplete`](https://ej2.syncfusion.com/angular/documentation/api/chart/iZoomCompleteEventArgs) event. In the `zoomComplete` event, retrieve the [`currentZoomFactor`](https://ej2.syncfusion.com/angular/documentation/api/chart/iZoomCompleteEventArgs#currentzoomfactor) and [`currentZoomPosition`](https://ej2.syncfusion.com/angular/documentation/api/chart/iZoomCompleteEventArgs#currentzoomposition) values from the zoomed chart. Apply these values to the other charts by setting `primaryXAxis.zoomFactor` and `primaryXAxis.zoomPosition` so that all synchronized charts maintain the same zoom state during user interaction. You can configure the available zoom operations through the [`zoomSettings`](https://ej2.syncfusion.com/angular/documentation/api/chart/zoomSettings) property (for example, `enableSelectionZooming` and `enablePan`). -> **Note:** To use zooming synchronization, inject the `ZoomService` into the `@NgModule.providers`. +> **Note:** To use zooming synchronization, inject `ZoomService` into the component `providers`. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -81,9 +83,9 @@ Zoom levels can be synchronized across multiple charts using the [`zoomComplete` ## Selection synchronization -Selection can be synchronized across multiple charts using the [`selectionComplete`](https://ej2.syncfusion.com/angular/documentation/api/chart/iSelectionCompleteEventArgs) event. In the `selectionComplete` event, retrieve the selected data values or region from the active chart and apply the same selection state to the other charts. This ensures consistent selection behavior across all connected charts and helps maintain a unified analysis experience. +Selection can be synchronized across multiple charts using the [`selectionComplete`](https://ej2.syncfusion.com/angular/documentation/api/chart/iSelectionCompleteEventArgs) event. In the `selectionComplete` event, retrieve the selected data points from the active chart's `selectedDataValues` (each item exposes `pointIndex` and `seriesIndex`) and apply the same selection to the other charts by assigning the array to their `selectedDataIndexes` property, then calling `dataBind()`. This keeps selection behavior consistent across all connected charts. -> **Note:** To use selection synchronization, inject the `SelectionService` into the `@NgModule.providers`. Additionally, enable selection by setting the [`selectionMode`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartModel#selectionmode) property in the chart. +> **Note:** To use selection synchronization, inject `SelectionService` into the component `providers`. Additionally, enable selection on each chart by setting the [`selectionMode`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartModel#selectionmode) property (for example, `Point`, `DragX`, or `DragY`) and, optionally, [`selectionPattern`](https://ej2.syncfusion.com/angular/documentation/api/chart/chartModel#selectionpattern) (for example, `Box` or `None`). {% tabs %} {% highlight ts tabtitle="app.component.ts" %} diff --git a/chart-sdk/angular/charts/chart-interactive/tool-tip.md b/chart-sdk/angular/charts/chart-interactive/tool-tip.md index a181fc0d8..36717b971 100644 --- a/chart-sdk/angular/charts/chart-interactive/tool-tip.md +++ b/chart-sdk/angular/charts/chart-interactive/tool-tip.md @@ -1,25 +1,51 @@ --- layout: post -title: Tooltip in Angular Chart | Syncfusion +title: Tooltip in Angular Charts | Syncfusion description: Learn here all about Tooltip in Syncfusion Angular Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Tooltip documentation: ug domainurl: https://help.syncfusion.com/chart-sdk - --- -# Tooltip in Angular Chart +# Tooltip in Angular Charts -The chart displays detailed information about a data point through a tooltip when the mouse pointer moves over the point. +The tooltip displays detailed information about a data point when the mouse pointer hovers over it. This guide covers enabling, formatting, templating, customizing, and interacting with the tooltip in the Syncfusion Angular Chart component. + +**Available tooltip features:** + +- Enable and configure the default tooltip +- Position the tooltip at a fixed location +- Format tooltip content (global, per-series, and inline) +- Render custom HTML and table layouts using templates +- Map additional data fields with `tooltipMappingName` +- Customize appearance (fill, border, text style, highlight color) +- Switch interaction modes (nearest, split, follow pointer, distance) +- Hide or transform tooltips with the `tooltipRender` event (date format, percentage) ![Tooltip](../../images/tooltip.gif) ## Default tooltip -By default, tooltip is not visible. You can enable the tooltip by setting the [`enable`](https://ej2.syncfusion.com/angular/documentation/api/chart/tooltipSettingsModel#enable) property to **true** and by injecting `TooltipService` into the `@NgModule.providers`. +By default, the tooltip is not visible. You can enable it by setting the [`enable`](https://ej2.syncfusion.com/angular/documentation/api/chart/tooltipSettingsModel#enable) property to **true** and injecting `TooltipService` into `@NgModule.providers`. + +In addition to the service, import `ChartModule` (or `ChartAllModule`) into `@NgModule.imports`. For Angular 17+ standalone components, import `ChartComponent` directly. + +```ts +import { NgModule } from '@angular/core'; +import { BrowserModule } from '@angular/platform-browser'; +import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; +import { ChartModule, ChartAllModule } from '@syncfusion/ej2-angular-charts'; + +@NgModule({ + imports: [BrowserModule, BrowserAnimationsModule, ChartModule], + providers: [TooltipService], + bootstrap: [AppComponent] +}) +export class AppModule { } +``` To know about tooltip, you can check out this video: @@ -41,7 +67,14 @@ To know about tooltip, you can check out this video: ## Fixed tooltip -By default, the tooltip tracks the mouse movement, but you can set a fixed position for the tooltip by using the [`location`](https://ej2.syncfusion.com/angular/documentation/api/chart/tooltipSettingsModel#location) property. +By default, the tooltip follows the mouse movement. To anchor the tooltip at a fixed position instead, set the [`location`](https://ej2.syncfusion.com/angular/documentation/api/chart/tooltipSettingsModel#location) property to an `{ x: number, y: number }` object measured in pixels from the top-left corner of the chart. + +```ts +public tooltip: Object = { + enable: true, + location: { x: 120, y: 20 } +}; +``` {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -59,7 +92,9 @@ By default, the tooltip tracks the mouse movement, but you can set a fixed posit -By default, the tooltip displays the x- and y-values of a data point. Additional information can be shown by specifying a custom format. For example, the format `${series.name} ${point.x}` displays the series name along with the x-value of the data point. +By default, the tooltip displays the x- and y-values of a data point. To display additional information, specify a custom format using the [`format`](https://ej2.syncfusion.com/angular/documentation/api/chart/tooltipSettingsModel#format) property. For example, the format `${series.name} ${point.x}` displays the series name along with the x-value of the data point. + +Common tokens include `${point.x}`, `${point.y}`, `${point.high}`, `${point.low}`, `${point.open}`, `${point.close}`, `${point.volume}`, `${series.name}`, and `${series.type}`. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -99,7 +134,9 @@ You can format each series tooltip separately using the series [`tooltipFormat`] ## Inline tooltip formatting -The tooltip content can be formatted directly within the [`format`](https://ej2.syncfusion.com/angular/documentation/api/chart/tooltipsettings#format) property by adding DateTime or number format specifiers to supported tooltip tokens. This allows you to control how point and series values are displayed without using additional events. +The tooltip content can be formatted directly within the [`format`](https://ej2.syncfusion.com/angular/documentation/api/chart/tooltipSettingsModel#format) property by adding DateTime or number format specifiers to supported tooltip tokens. This allows you to control how point and series values are displayed without using additional events. + +> The colon (`:`) syntax is implemented by the Syncfusion tooltip formatter, not the standard .NET / ICU formatter. Use only the format specifiers listed below. A format specifier can be applied to a tooltip token by adding a colon (`:`) followed by the required format. @@ -127,6 +164,7 @@ Inline formatting can be applied to the following tooltip tokens: - `point.lowerQuartile` – Specifies the lower quartile value, commonly used in box and whisker series. - `point.upperQuartile` – Specifies the upper quartile value, commonly used in box and whisker series. - `point.outliers` – Specifies the outlier values, commonly used in box and whisker series. +- `point.percentage` – Specifies the percentage value of a data point, commonly used in pie, doughnut, funnel, and pyramid series. - `series.name` – Specifies the name assigned to the series. - `series.type` – Specifies the rendering type of the series, such as `Line`, `Spline`, or `Column`. - `series.opacity` – Specifies the opacity value applied to the series. This value controls the visual transparency of the series and can be customized in the series configuration. @@ -161,6 +199,8 @@ If the specified format does not match the resolved value type, the original val Custom HTML content can be rendered in the tooltip using the [`template`](https://ej2.syncfusion.com/angular/documentation/api/chart/tooltipSettingsModel#template) property. You can use placeholders like `${x}` and `${y}` within the template to display the x- and y-values of the corresponding data point. +To register a template, add the ` + + + + + + + + + Welcome to Syncfusion Essential + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+ + +
+ +
+
+
+
    +
    +
    + + +
    + + + +
    + + +
    + # Appearance + +The appearance of the sparkline can be customized using margin, container Area border, and container Area background. + +## Sparkline border + +The [`containerArea border`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2~Syncfusion.EJ2.Charts.SparklineContainerArea~Border.html) of the sparkline is used to render border to cover sparkline area. + +The following code example shows the sparkline with overall border. + + + + + +## Sparkline padding + +Padding is used to specify padding value between container and sparkline. By default, padding value of the sparkline is 5. Sparkline [`padding`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2~Syncfusion.EJ2.Charts.SparklinePadding.html) values are specified by the left, right, top, and bottom. + +The following code example shows the sparkline with overall padding is set to 20. + + + + + +## Sparkline area customization + +The background color of the sparkline area can be customized using the [`containerArea background`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2~Syncfusion.EJ2.Charts.SparklineContainerArea~BackGround.html) color. By default, the sparkline background color is `transparent`. + + + + + +## Sparkline theme + +Datalabel and track line colors of the sparkline will be changed based on theme. For example, for dark theme, the color of datalabel and track line should be white; for light theme, their value should be black. The possible values for sparkline theme are [`Material`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2~Syncfusion.EJ2.Charts.Sparkline~Theme.html), [`Fabric`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2~Syncfusion.EJ2.Charts.Sparkline~Theme.html), [`Bootstrap`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2~Syncfusion.EJ2.Charts.Sparkline~Theme.html), and [`Highcontrast`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2~Syncfusion.EJ2.Charts.Sparkline~Theme.html). + +The following code example shows the color for datalabel and track line is set to white for dark theme. + + + + +
    + + + +
    + + +
    + +
    + + +
    +
    + + + + + + + + + + + diff --git a/chart-sdk/asp-net-core/sparkline-charts/axis-customization.md b/chart-sdk/asp-net-core/sparkline-charts/axis-customization.md index 812419510..27d5f4f7c 100644 --- a/chart-sdk/asp-net-core/sparkline-charts/axis-customization.md +++ b/chart-sdk/asp-net-core/sparkline-charts/axis-customization.md @@ -1,14 +1,15 @@ --- layout: post -title: Axis Customization in ASP.NET Core Sparkline Charts | Syncfusion -description: Learn here all about Axis Customization in Syncfusion ASP.NET Core Sparkline Charts component of Syncfusion Essential JS 2 and more. +title: Axis Customization in ASP.NET Core Sparkline Component +description: Learn here all about Axis Customization in Syncfusion ASP.NET Core Sparkline component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Axis Customization +publishingplatform: chart-sdk documentation: ug --- -# Axis Customization in ASP.NET Core Sparkline Charts +# Axis Customization You can customize axis value types and min and max values of the sparkline. diff --git a/chart-sdk/asp-net-core/sparkline-charts/data-labels.md b/chart-sdk/asp-net-core/sparkline-charts/data-labels.md index f846bc7b9..92af4de26 100644 --- a/chart-sdk/asp-net-core/sparkline-charts/data-labels.md +++ b/chart-sdk/asp-net-core/sparkline-charts/data-labels.md @@ -1,14 +1,15 @@ --- layout: post -title: Data Labels in ASP.NET Core Sparkline Charts | Syncfusion -description: Learn here all about Data Labels in Syncfusion ASP.NET Core Sparkline Charts component of Syncfusion Essential JS 2 and more. +title: Data Labels in ASP.NET Core Sparkline Component +description: Learn here all about Data Labels in Syncfusion ASP.NET Core Sparkline component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Data Labels +publishingplatform: chart-sdk documentation: ug --- -# Data Labels in ASP.NET Core Sparkline Charts +# Data Labels Data labels are used to display values of data points to improve the readability. diff --git a/chart-sdk/asp-net-core/sparkline-charts/ej1-api-migration.md b/chart-sdk/asp-net-core/sparkline-charts/ej1-api-migration.md index 90e837823..fbc0a8ec5 100644 --- a/chart-sdk/asp-net-core/sparkline-charts/ej1-api-migration.md +++ b/chart-sdk/asp-net-core/sparkline-charts/ej1-api-migration.md @@ -1,14 +1,15 @@ --- layout: post -title: EJ1 Api Migration in ASP.NET Core Sparkline Charts | Syncfusion -description: Learn here all about Ej1 Api Migration in Syncfusion ASP.NET Core Sparkline Charts component of Syncfusion Essential JS 2 and more. +title: Ej1 Api Migration in ASP.NET Core Sparkline Component +description: Learn here all about Ej1 Api Migration in Syncfusion ASP.NET Core Sparkline component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Ej1 Api Migration +publishingplatform: chart-sdk documentation: ug --- -# EJ1 API Migration in ASP.NET Core Sparkline Charts +# Migration from Essential® JS 1 This article describes the API migration process of Accordion component from Essential® JS 1 to Essential® JS 2. diff --git a/chart-sdk/asp-net-core/sparkline-charts/getting-started.md b/chart-sdk/asp-net-core/sparkline-charts/getting-started.md index d9b8f0d58..a5a37edf8 100644 --- a/chart-sdk/asp-net-core/sparkline-charts/getting-started.md +++ b/chart-sdk/asp-net-core/sparkline-charts/getting-started.md @@ -1,13 +1,14 @@ --- layout: post -title: Getting Started with ASP.NET Core Sparkline Charts | Syncfusion +title: Get Started with ASP.NET Core Sparkline Charts Control | Syncfusion description: Check out and learn about getting started with ASP.NET Core Sparkline Charts control of Essential JS 2 and more details. platform: chart-sdk control: Sparkline Charts +publishingplatform: chart-sdk documentation: ug --- -# Getting Started with ASP.NET Core Sparkline Charts +# Getting Started with ASP.NET Core Sparkline Charts Control This section briefly explains how to include the [ASP.NET Core Sparkline Charts](https://www.syncfusion.com/aspnet-core-ui-controls/sparkline) control in your ASP.NET Core application using [Visual Studio](https://visualstudio.microsoft.com/vs/). diff --git a/chart-sdk/asp-net-core/sparkline-charts/localization.md b/chart-sdk/asp-net-core/sparkline-charts/localization.md index 91f68bb93..f6bddd37f 100644 --- a/chart-sdk/asp-net-core/sparkline-charts/localization.md +++ b/chart-sdk/asp-net-core/sparkline-charts/localization.md @@ -1,14 +1,15 @@ --- layout: post -title: Localization in ASP.NET Core Sparkline Charts | Syncfusion -description: Learn here all about Localization in Syncfusion ASP.NET Core Sparkline Charts component of Syncfusion Essential JS 2 and more. +title: Localization in ASP.NET Core Sparkline Component +description: Learn here all about Localization in Syncfusion ASP.NET Core Sparkline component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Localization +publishingplatform: chart-sdk documentation: ug --- -# Localization in ASP.NET Core Sparkline Charts +# Localization The sparkline control supports localization. The default culture for localization is `en-US`. You can change the culture using the `setCulture` method. diff --git a/chart-sdk/asp-net-core/sparkline-charts/marker.md b/chart-sdk/asp-net-core/sparkline-charts/marker.md index e9dc2b0f3..c597b71e6 100644 --- a/chart-sdk/asp-net-core/sparkline-charts/marker.md +++ b/chart-sdk/asp-net-core/sparkline-charts/marker.md @@ -1,14 +1,15 @@ --- layout: post -title: Marker in ASP.NET Core Sparkline Charts | Syncfusion -description: Learn here all about Marker in Syncfusion ASP.NET Core Sparkline Charts component of Syncfusion Essential JS 2 and more. +title: Marker in ASP.NET Core Sparkline Component +description: Learn here all about Marker in Syncfusion ASP.NET Core Sparkline component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Marker +publishingplatform: chart-sdk documentation: ug --- -# Marker in ASP.NET Core Sparkline Charts +# Markers This section explains how to add markers to the sparklines. diff --git a/chart-sdk/asp-net-core/sparkline-charts/range-band.md b/chart-sdk/asp-net-core/sparkline-charts/range-band.md index e9d7a8e7c..7ae77e3df 100644 --- a/chart-sdk/asp-net-core/sparkline-charts/range-band.md +++ b/chart-sdk/asp-net-core/sparkline-charts/range-band.md @@ -1,14 +1,15 @@ --- layout: post -title: Range Band in ASP.NET Core Sparkline Charts | Syncfusion -description: Learn here all about Range Band in Syncfusion ASP.NET Core Sparkline Charts component of Syncfusion Essential JS 2 and more. +title: Range Band in ASP.NET Core Sparkline Component +description: Learn here all about Range Band in Syncfusion ASP.NET Core Sparkline component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Range Band +publishingplatform: chart-sdk documentation: ug --- -# Range Band in ASP.NET Core Sparkline Charts +# Range Band This section explains how to customize the sparkline with multiple range bands. diff --git a/chart-sdk/asp-net-core/sparkline-charts/sparkline-dimensions.md b/chart-sdk/asp-net-core/sparkline-charts/sparkline-dimensions.md index fc60e0d91..bb2c3c004 100644 --- a/chart-sdk/asp-net-core/sparkline-charts/sparkline-dimensions.md +++ b/chart-sdk/asp-net-core/sparkline-charts/sparkline-dimensions.md @@ -1,14 +1,15 @@ --- layout: post -title: Dimensions in ASP.NET Core Sparkline Charts | Syncfusion -description: Learn here all about Dimensions in Syncfusion ASP.NET Core Sparkline Charts component of Syncfusion Essential JS 2 and more. +title: Sparkline Dimensions in ASP.NET Core Sparkline Component +description: Learn here all about Sparkline Dimensions in Syncfusion ASP.NET Core Sparkline component of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Sparkline Charts Dimensions +control: Sparkline Dimensions +publishingplatform: chart-sdk documentation: ug --- -# Dimensions in ASP.NET Core Sparkline Charts +# Sparkline Dimensions ## Size for container diff --git a/chart-sdk/asp-net-core/sparkline-charts/sparkline-types.md b/chart-sdk/asp-net-core/sparkline-charts/sparkline-types.md index 2d2fe7d5b..ac3f10109 100644 --- a/chart-sdk/asp-net-core/sparkline-charts/sparkline-types.md +++ b/chart-sdk/asp-net-core/sparkline-charts/sparkline-types.md @@ -1,14 +1,15 @@ --- layout: post -title: Types in ASP.NET Core Sparkline Charts | Syncfusion -description: Learn here all about Types in Syncfusion ASP.NET Core Sparkline Charts component of Syncfusion Essential JS 2 and more. +title: Sparkline Types in ASP.NET Core Sparkline Component +description: Learn here all about Sparkline Types in Syncfusion ASP.NET Core Sparkline component of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Sparkline Charts Types +control: Sparkline Types +publishingplatform: chart-sdk documentation: ug --- -# Types in ASP.NET Core Sparkline Charts +# Sparkline Types Different types of shapes can be used to represent the sparkline. You can change the sparkline type by setting the type property. Sparkline supports the following types: diff --git a/chart-sdk/asp-net-core/sparkline-charts/special-points-customization.md b/chart-sdk/asp-net-core/sparkline-charts/special-points-customization.md index 878c8d9b0..6bea68cb2 100644 --- a/chart-sdk/asp-net-core/sparkline-charts/special-points-customization.md +++ b/chart-sdk/asp-net-core/sparkline-charts/special-points-customization.md @@ -1,14 +1,15 @@ --- layout: post -title: Special Points in ASP.NET Core Sparkline Charts | Syncfusion -description: Learn here all about Special Points Customization in Syncfusion ASP.NET Core Sparkline Charts component of Syncfusion Essential JS 2 and more. +title: Special Points Customization in ASP.NET Core Sparkline Component +description: Learn here all about Special Points Customization in Syncfusion ASP.NET Core Sparkline component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Special Points Customization +publishingplatform: chart-sdk documentation: ug --- -# Special Points Customization in ASP.NET Core Sparkline Charts +# Special points customization You can customize the points by initializing the point colors. The customization options allows to differentiate the [`start`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2~Syncfusion.EJ2.Charts.Sparkline~StartPointColor.html), [`end`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2~Syncfusion.EJ2.Charts.Sparkline~EndPointColor.html), [`positive`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2~Syncfusion.EJ2.Charts.Sparkline~HighPointColor.html), [`negative`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2~Syncfusion.EJ2.Charts.Sparkline~NegativePointColor.html), and [`low`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2~Syncfusion.EJ2.Charts.Sparkline~LowPointColor.html) points. This customization is only applicable for line, column, and area type sparklines. diff --git a/chart-sdk/asp-net-core/sparkline-charts/user-interaction.md b/chart-sdk/asp-net-core/sparkline-charts/user-interaction.md index 7f8be5323..695739d0a 100644 --- a/chart-sdk/asp-net-core/sparkline-charts/user-interaction.md +++ b/chart-sdk/asp-net-core/sparkline-charts/user-interaction.md @@ -1,14 +1,15 @@ --- layout: post -title: User Interaction in ASP.NET Core Sparkline Charts | Syncfusion -description: Learn here all about User Interaction in Syncfusion ASP.NET Core Sparkline Charts component of Syncfusion Essential JS 2 and more. +title: User Interaction in ASP.NET Core Syncfusion Sparkline Component +description: Learn here all about User Interaction in Syncfusion ASP.NET Core Sparkline component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: User Interaction +publishingplatform: chart-sdk documentation: ug --- -# User Interaction in ASP.NET Core Sparkline Charts +# User interactions in Sparkline Sparkline has two user interaction features: tooltip and tracker line. diff --git a/chart-sdk/asp-net-core/stock-charts/accessibility.md b/chart-sdk/asp-net-core/stock-charts/accessibility.md index 82bd6b954..c7226f95a 100644 --- a/chart-sdk/asp-net-core/stock-charts/accessibility.md +++ b/chart-sdk/asp-net-core/stock-charts/accessibility.md @@ -1,14 +1,15 @@ --- layout: post -title: Accessibility in ASP.NET Core Stock Chart | Syncfusion +title: Accessibility in Syncfusion Stock Chart Component description: Learn here all about Accessibility in Syncfusion ASP Core Stock Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Accessibility +publishingplatform: chart-sdk documentation: ug --- -# Accessibility in ASP.NET Core Stock Chart +# Accessibility in ASP.NET Core Stock chart component The Stock chart component followed the accessibility guidelines and standards, including [ADA](https://www.ada.gov/), [Section 508](https://www.section508.gov/), [WCAG 2.2](https://www.w3.org/TR/WCAG22/) standards, and [WCAG roles](https://www.w3.org/TR/wai-aria/#roles) that are commonly used to evaluate accessibility. diff --git a/chart-sdk/asp-net-core/stock-charts/appearance.md b/chart-sdk/asp-net-core/stock-charts/appearance.md index a28d27df0..02485d8bd 100644 --- a/chart-sdk/asp-net-core/stock-charts/appearance.md +++ b/chart-sdk/asp-net-core/stock-charts/appearance.md @@ -1,14 +1,15 @@ --- layout: post -title: Appearance in ASP.NET Core Stock Chart | Syncfusion +title: Appearance in ASP.NET Core Stock Chart Component description: Learn here all about Appearance in Syncfusion ASP.NET Core Stock Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Appearance +publishingplatform: chart-sdk documentation: ug --- -# Appearance in ASP.NET Core Stock Chart +# Appearance ## Stock Chart Title @@ -61,4 +62,4 @@ Changing theme will affect background color,gridlines,tooltip colors and appeara ## See Also -* [Axis Customization](./axis-customization) +* [Axis Customization](./axis-customization/) diff --git a/chart-sdk/asp-net-core/stock-charts/axis-customization.md b/chart-sdk/asp-net-core/stock-charts/axis-customization.md index 96fe43b73..f858ca9d6 100644 --- a/chart-sdk/asp-net-core/stock-charts/axis-customization.md +++ b/chart-sdk/asp-net-core/stock-charts/axis-customization.md @@ -1,14 +1,15 @@ --- layout: post -title: Axis Customization in ASP.NET Core Stock Chart | Syncfusion +title: Axis Customization in ASP.NET Core Stock Chart Component description: Learn here all about Axis Customization in Syncfusion ASP.NET Core Stock Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Axis Customization +publishingplatform: chart-sdk documentation: ug --- -# Axis Customization in ASP.NET Core Stock Chart +# Axis Customization diff --git a/chart-sdk/asp-net-core/stock-charts/axis-types.md b/chart-sdk/asp-net-core/stock-charts/axis-types.md index 8daeb1318..fa00be7dc 100644 --- a/chart-sdk/asp-net-core/stock-charts/axis-types.md +++ b/chart-sdk/asp-net-core/stock-charts/axis-types.md @@ -1,14 +1,15 @@ --- layout: post -title: Axis Types in ASP.NET Core Stock Chart | Syncfusion +title: Axis Types in ASP.NET Core Stock Chart Component description: Learn here all about Axis Types in Syncfusion ASP.NET Core Stock Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Axis Types +control: Axis types +publishingplatform: chart-sdk documentation: ug --- -# Axis Types in ASP.NET Core Stock Chart +# Axis types ## DateTime axis @@ -59,4 +60,4 @@ Logarithmic axis uses logarithmic scale and it is very useful in visualizing dat ## See also -* [Axis Customization](./axis-customization) \ No newline at end of file +* [Axis Customization](./axis-customization/) \ No newline at end of file diff --git a/chart-sdk/asp-net-core/stock-charts/chart-dimensions.md b/chart-sdk/asp-net-core/stock-charts/chart-dimensions.md index fcfa23af6..9cf463b56 100644 --- a/chart-sdk/asp-net-core/stock-charts/chart-dimensions.md +++ b/chart-sdk/asp-net-core/stock-charts/chart-dimensions.md @@ -1,14 +1,15 @@ --- layout: post -title: Chart Dimensions in ASP.NET Core Stock Chart | Syncfusion +title: Chart Dimensions in ASP.NET Core Stock Chart Component description: Learn here all about Chart Dimensions in Syncfusion ASP.NET Core Stock Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Chart Dimensions +publishingplatform: chart-sdk documentation: ug --- -# Chart Dimensions in ASP.NET Core Stock Chart +# Stock Chart Dimensions ## Size for Container diff --git a/chart-sdk/asp-net-core/stock-charts/cross-hair.md b/chart-sdk/asp-net-core/stock-charts/cross-hair.md index 7e6a41a6a..199195f00 100644 --- a/chart-sdk/asp-net-core/stock-charts/cross-hair.md +++ b/chart-sdk/asp-net-core/stock-charts/cross-hair.md @@ -1,14 +1,15 @@ --- layout: post -title: Cross Hair in ASP.NET Core Stock Chart | Syncfusion +title: Cross Hair in ASP.NET Core Syncfusion Stock Chart Component description: Learn here all about Cross Hair in Syncfusion ASP.NET Core Stock Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Cross Hair +publishingplatform: chart-sdk documentation: ug --- -# Cross Hair in ASP.NET Core Stock Chart +# Add Crosshair Crosshair has a vertical and horizontal line to view the value of the axis at mouse or touch position. diff --git a/chart-sdk/asp-net-core/stock-charts/export-print.md b/chart-sdk/asp-net-core/stock-charts/export-print.md index 8f13962e8..5e7342795 100644 --- a/chart-sdk/asp-net-core/stock-charts/export-print.md +++ b/chart-sdk/asp-net-core/stock-charts/export-print.md @@ -1,14 +1,15 @@ --- layout: post -title: Export and Print in ASP.NET Core Stock Chart | Syncfusion +title: Export Print in ASP.NET Core Stock Chart Component description: Learn here all about Export Print in Syncfusion ASP.NET Core Stock Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Export Print +publishingplatform: chart-sdk documentation: ug --- -# Export and Print in ASP.NET Core Stock Chart +# Print and Export The rendered stock chart can be exported to `JPEG`, `PNG`, `SVG`, or `PDF` format using the export dropdown button in the period selector toolbar. You can choose the required format using the export dropdown button in stock-chart. diff --git a/chart-sdk/asp-net-core/stock-charts/getting-started.md b/chart-sdk/asp-net-core/stock-charts/getting-started.md index 0c1972c59..24fbb3086 100644 --- a/chart-sdk/asp-net-core/stock-charts/getting-started.md +++ b/chart-sdk/asp-net-core/stock-charts/getting-started.md @@ -1,13 +1,14 @@ --- layout: post -title: Getting Started with ASP.NET Core Stock Chart | Syncfusion +title: Getting Started with ASP.NET Core Stock Chart Control | Syncfusion description: Check out and learn about getting started with ASP.NET Core Stock Chart control of Essential JS 2 and more details. platform: chart-sdk control: Stock Chart +publishingplatform: chart-sdk documentation: ug --- -# Getting Started with ASP.NET Core Stock Chart +# Getting Started with ASP.NET Core Stock Chart Control This section briefly explains how to include the [ASP.NET Core Stock Chart](https://www.syncfusion.com/aspnet-core-ui-controls/stock-chart) control in your ASP.NET Core application using [Visual Studio](https://visualstudio.microsoft.com/vs/), and [Visual Studio Code](https://code.visualstudio.com/). diff --git a/chart-sdk/asp-net-core/stock-charts/gradient.md b/chart-sdk/asp-net-core/stock-charts/gradient.md index 9feddd5e5..fe85d6ec6 100644 --- a/chart-sdk/asp-net-core/stock-charts/gradient.md +++ b/chart-sdk/asp-net-core/stock-charts/gradient.md @@ -1,13 +1,14 @@ --- layout: post -title: Gradient in ASP.NET Core Stock Chart | Syncfusion +title: Gradient in ASP.NET Core Stock Chart Component description: Learn here all about Gradient in Syncfusion ASP.NET Core Stock Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Gradient +publishingplatform: chart-sdk documentation: ug --- -# Gradient in ASP.NET Core Stock Chart +# Gradient in ASP.NET Core Stock chart control Gradients add depth and modern styling to charts by smoothly blending multiple colors. The Charts component supports two gradient types: @@ -22,9 +23,6 @@ Gradients can be applied to: The gradient can be defined in the `@{ }` Razor code block or dynamically configured in the `load` event of the chart. - -## Linear gradient - A linear gradient blends color along a straight path from a defined start point to an end point. Configure it by adding `LinearGradient` inside the target element (Series, Trendlines or Indicators) and define one or more color stops that control how colors transition across the gradient. Set the start and end positions of the gradient using `X1`, `Y1`, `X2` and `Y2` properties. The gradient color stop values such as `Offset`, `Color`, `Opacity`, `Lighten` and `Brighten` are set using the `ChartGradientColorStop` property. The linear gradient properties are: diff --git a/chart-sdk/asp-net-core/stock-charts/images/nodatatemplate-stockchart.png b/chart-sdk/asp-net-core/stock-charts/images/nodatatemplate-stockchart.png index be2ed590b..f38a9de7a 100644 Binary files a/chart-sdk/asp-net-core/stock-charts/images/nodatatemplate-stockchart.png and b/chart-sdk/asp-net-core/stock-charts/images/nodatatemplate-stockchart.png differ diff --git a/chart-sdk/asp-net-core/stock-charts/legend.md b/chart-sdk/asp-net-core/stock-charts/legend.md index 02e53dc70..b95d5c4fc 100644 --- a/chart-sdk/asp-net-core/stock-charts/legend.md +++ b/chart-sdk/asp-net-core/stock-charts/legend.md @@ -1,14 +1,15 @@ --- layout: post -title: Legend in ASP.NET Core Stock Chart | Syncfusion +title: Syncfusion ASP.NET Core Stock Chart Legend Component description: Learn here all about Legend in Syncfusion ASP.NET Core Stock Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Legend +publishingplatform: chart-sdk documentation: ug --- -# Legend in ASP.NET Core Stock Chart +# Stock Chart Legend in Syncfusion ASP.NET Core Legend provides information about the series rendered in the Stock Chart. Legend can be added to a Stock Chart by enabling the [`visible`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.Charts.StockChartStockChartLegendSettings.html#Syncfusion_EJ2_Charts_StockChartStockChartLegendSettings_Visible) option in the [`legendSettings`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.Charts.StockChartStockChartLegendSettings.html#Syncfusion_EJ2_Charts_StockChartStockChartLegendSettings). diff --git a/chart-sdk/asp-net-core/stock-charts/period-selector.md b/chart-sdk/asp-net-core/stock-charts/period-selector.md index 3b75ceae3..699c70131 100644 --- a/chart-sdk/asp-net-core/stock-charts/period-selector.md +++ b/chart-sdk/asp-net-core/stock-charts/period-selector.md @@ -1,14 +1,15 @@ --- layout: post -title: Period Selector in ASP.NET Core Stock Chart | Syncfusion +title: Period Selector in ASP.NET Core Stock Chart Control | Syncfusion description: Learn here all about Period Selector in Syncfusion ASP.NET Core Stock Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Period Selector +publishingplatform: chart-sdk documentation: ug --- -# Period Selector in ASP.NET Core Stock Chart +# Period selector in Stock Chart Control The period selector allows to select a range with specified periods. By default the period selector is enabled in stock chart. diff --git a/chart-sdk/asp-net-core/stock-charts/range-selector.md b/chart-sdk/asp-net-core/stock-charts/range-selector.md index cd7c9d7af..cdc73c5e6 100644 --- a/chart-sdk/asp-net-core/stock-charts/range-selector.md +++ b/chart-sdk/asp-net-core/stock-charts/range-selector.md @@ -1,18 +1,19 @@ --- layout: post -title: Range Selector in ASP.NET Core Stock Chart | Syncfusion +title: Range Selector in ASP.NET Core Stock Chart Component description: Learn here all about Range Selector in Syncfusion ASP.NET Core Stock Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Range Selector +publishingplatform: chart-sdk documentation: ug --- -# Range Selector in ASP.NET Core Stock Chart +# Range selector The period selector allows to select a range with specified periods. By default the period selector is enabled in stock chart. -## Selecting Range +# Selecting Range The left and right thumb of RangeNavigator are used to indicate the selected range in the large collection of data. Following are the ways you can select a range. diff --git a/chart-sdk/asp-net-core/stock-charts/series-types.md b/chart-sdk/asp-net-core/stock-charts/series-types.md index 663763c27..fc0ce0d02 100644 --- a/chart-sdk/asp-net-core/stock-charts/series-types.md +++ b/chart-sdk/asp-net-core/stock-charts/series-types.md @@ -1,14 +1,15 @@ --- layout: post -title: Series Types in ASP.NET Core Stock Chart | Syncfusion +title: Series Types in ASP.NET Core Stock Chart Component description: Learn here all about Series Types in Syncfusion ASP.NET Core Stock Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Series Types +publishingplatform: chart-sdk documentation: ug --- -# Series Types in ASP.NET Core Stock Chart +# Stock Chart Series Types Essential® JS 2 StockChart Stock Chart supports 6 major types of series namely `Line`, `Spline`, `Hilo`, `HiloOpenClose`, `Hollow Candle` and `Candle` . By using the series dropdown button you can navigate between the above listed series types. diff --git a/chart-sdk/asp-net-core/stock-charts/stock-events.md b/chart-sdk/asp-net-core/stock-charts/stock-events.md index f287deea0..fd7ecebc6 100644 --- a/chart-sdk/asp-net-core/stock-charts/stock-events.md +++ b/chart-sdk/asp-net-core/stock-charts/stock-events.md @@ -1,15 +1,16 @@ --- layout: post -title: Stock Events in ASP.NET Core Stock Chart | Syncfusion +title: Stock Events in ASP.NET Core Stock Chart Component description: Learn here all about Stock Events in Syncfusion ASP.NET Core Stock Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Stock Events +publishingplatform: chart-sdk documentation: ug --- -# Stock Events in ASP.NET Core Stock Chart +# Stock Events Stock Events visualizes stockevents in stockchart. 'SplineSeries' is used to represent selected data value. You can customize the specific data value using `stockEvents` event. diff --git a/chart-sdk/asp-net-core/stock-charts/technical-indicators.md b/chart-sdk/asp-net-core/stock-charts/technical-indicators.md index 6da59d5f1..bc674c536 100644 --- a/chart-sdk/asp-net-core/stock-charts/technical-indicators.md +++ b/chart-sdk/asp-net-core/stock-charts/technical-indicators.md @@ -1,16 +1,17 @@ --- layout: post -title: Technical Indicators in ASP.NET Core Stock Chart | Syncfusion +title: Technical Indicators in ASP.NET Core Stock Chart Control | Syncfusion description: Learn here all about Technical Indicators in Syncfusion ASP.NET Core Stock Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Technical Indicators +publishingplatform: chart-sdk documentation: ug --- -# Technical Indicators in ASP.NET Core Stock Chart +# Technical Indicators in ASP.NET Core Stock Chart component A technical indicator is a mathematical calculation based on historic price, volume or open interest information that aims to forecast financial market direction. diff --git a/chart-sdk/asp-net-core/stock-charts/tool-tip.md b/chart-sdk/asp-net-core/stock-charts/tool-tip.md index b6291b050..b92cbbc5c 100644 --- a/chart-sdk/asp-net-core/stock-charts/tool-tip.md +++ b/chart-sdk/asp-net-core/stock-charts/tool-tip.md @@ -1,14 +1,15 @@ --- layout: post -title: Tooltip in ASP.NET Core Stock Chart | Syncfusion -description: Learn here all about Tooltip in Syncfusion ASP.NET Core Stock Chart component of Syncfusion Essential JS 2 and more. +title: Tool Tip in ASP.NET Core Stock Chart Component +description: Learn here all about Tool Tip in Syncfusion ASP.NET Core Stock Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Tooltip +control: Tool Tip +publishingplatform: chart-sdk documentation: ug --- -# Tooltip in ASP.NET Core Stock Chart +# Tooltip diff --git a/chart-sdk/asp-net-core/stock-charts/trend-lines.md b/chart-sdk/asp-net-core/stock-charts/trend-lines.md index d58d0be66..64bd51ddf 100644 --- a/chart-sdk/asp-net-core/stock-charts/trend-lines.md +++ b/chart-sdk/asp-net-core/stock-charts/trend-lines.md @@ -1,14 +1,15 @@ --- layout: post -title: Trendlines in ASP.NET Core Stock Chart | Syncfusion -description: Learn here all about Trendlines in Syncfusion ASP.NET Core Stock Chart component of Syncfusion Essential JS 2 and more. +title: Trend Lines in ASP.NET Core Stock Chart Control | Syncfusion +description: Learn here all about Trend Lines in Syncfusion ASP.NET Core Stock Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Trend Lines +publishingplatform: chart-sdk documentation: ug --- -# Trendlines in ASP.NET Core Stock Chart +# Trendlines in Stock Chart Control Trendlines are used to show the direction and speed of price. diff --git a/chart-sdk/asp-net-core/stock-charts/working-with-data.md b/chart-sdk/asp-net-core/stock-charts/working-with-data.md index c8efa25f8..8d7e5f58b 100644 --- a/chart-sdk/asp-net-core/stock-charts/working-with-data.md +++ b/chart-sdk/asp-net-core/stock-charts/working-with-data.md @@ -1,16 +1,17 @@ --- layout: post -title: Working with Data in ASP.NET Core Stock Chart | Syncfusion +title: Working With Data in ASP.NET Core Stock Chart Component description: Learn here all about Working With Data in Syncfusion ASP.NET Core Stock Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Working With Data +publishingplatform: chart-sdk documentation: ug --- -# Working with Data in ASP.NET Core Stock Chart +# Working with Data Chart can visualise data bound from local or remote data. @@ -45,4 +46,4 @@ When no data is available to render in the stock chart, the `noDataTemplate` pro ## See Also -* [Series Types](./series-types) +* [Series Types](./series-types/) diff --git a/chart-sdk/asp-net-core/treemap/accessibility.md b/chart-sdk/asp-net-core/treemap/accessibility.md index 814715656..c6f547927 100644 --- a/chart-sdk/asp-net-core/treemap/accessibility.md +++ b/chart-sdk/asp-net-core/treemap/accessibility.md @@ -1,14 +1,15 @@ --- layout: post -title: Accessibility in ASP.NET Core TreeMap | Syncfusion +title: Accessibility in Syncfusion ASP.NET Core TreeMap component description: Learn here all about Accessibility in Syncfusion ASP.NET Core TreeMap component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Accessibility +publishingplatform: chart-sdk documentation: ug --- -# Accessibility in ASP.NET Core TreeMap +# Accessibility in ASP.NET Core TreeMap component The TreeMap component follows commonly used accessibility guidelines and standards, such as [ADA](https://www.ada.gov/), [Section 508](https://www.section508.gov/), [WCAG 2.2](https://www.w3.org/TR/WCAG22/) standards, and [WCAG roles](https://www.w3.org/TR/wai-aria/#roles). diff --git a/chart-sdk/asp-net-core/treemap/color-mapping.md b/chart-sdk/asp-net-core/treemap/color-mapping.md index c37a9ccd2..0154183ac 100644 --- a/chart-sdk/asp-net-core/treemap/color-mapping.md +++ b/chart-sdk/asp-net-core/treemap/color-mapping.md @@ -1,13 +1,14 @@ --- layout: post -title: Color Mapping in ASP.NET Core TreeMap | Syncfusion -description: Learn here all about Color Mapping in Syncfusion ASP.NET Core TreeMap control of Syncfusion Essential JS 2 and more. +title: Color Mapping in ASP.NET Core Treemap Control +description: Learn here all about Color Mapping in Syncfusion ASP.NET Core Treemap control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Color Mapping +publishingplatform: chart-sdk documentation: ug --- -# Color Mapping in ASP.NET Core TreeMap +# Color Mapping in ASP.NET Core TreeMap Control Color mapping is used to customize the color for each group or item based on the specified types. The following options are available to customize the group and leaf items in the TreeMap. diff --git a/chart-sdk/asp-net-core/treemap/data-binding.md b/chart-sdk/asp-net-core/treemap/data-binding.md index ae2fef38b..ad98ae4a4 100644 --- a/chart-sdk/asp-net-core/treemap/data-binding.md +++ b/chart-sdk/asp-net-core/treemap/data-binding.md @@ -1,13 +1,14 @@ --- layout: post -title: Data Binding in ASP.NET Core TreeMap | Syncfusion -description: Learn here all about Data Binding in Syncfusion ASP.NET Core TreeMap component of Syncfusion Essential JS 2 and more. +title: Data Binding in ASP.NET Core Treemap Component +description: Learn here all about Data Binding in Syncfusion ASP.NET Core Treemap component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Data Binding +publishingplatform: chart-sdk documentation: ug --- -# Data Binding in ASP.NET Core TreeMap +# Data Binding The TreeMap control supports data binding using the dataSource property. diff --git a/chart-sdk/asp-net-core/treemap/data-label.md b/chart-sdk/asp-net-core/treemap/data-label.md index e8ff7840c..7f770d8b0 100644 --- a/chart-sdk/asp-net-core/treemap/data-label.md +++ b/chart-sdk/asp-net-core/treemap/data-label.md @@ -1,13 +1,14 @@ --- layout: post -title: Data Label in ASP.NET Core TreeMap | Syncfusion -description: Learn here all about Data Label in Syncfusion ASP.NET Core TreeMap component of Syncfusion Essential JS 2 and more. +title: Data Label in ASP.NET Core Treemap Control | Syncfusion +description: Learn here all about Data Label in Syncfusion ASP.NET Core Treemap component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Data Label +publishingplatform: chart-sdk documentation: ug --- -# Data Label in ASP.NET Core TreeMap +# Data Label in ASP.NET Core TreeMap Control Data Labels are used to identify the name of items or groups in the TreeMap component. Data Labels will be shown by specifying the data source properties in the `labelPath` of the `leafItemSettings`. diff --git a/chart-sdk/asp-net-core/treemap/drilldown.md b/chart-sdk/asp-net-core/treemap/drilldown.md index a3799b68b..ff92ea19f 100644 --- a/chart-sdk/asp-net-core/treemap/drilldown.md +++ b/chart-sdk/asp-net-core/treemap/drilldown.md @@ -1,13 +1,14 @@ --- layout: post -title: Drilldown in ASP.NET Core TreeMap | Syncfusion -description: Learn here all about Drilldown in Syncfusion ASP.NET Core TreeMap component of Syncfusion Essential JS 2 and more. +title: Drilldown in ASP.NET Core Treemap Component +description: Learn here all about Drilldown in Syncfusion ASP.NET Core Treemap component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Drilldown +publishingplatform: chart-sdk documentation: ug --- -# Drilldown in ASP.NET Core TreeMap +# Drill-down The TreeMap supports drill-down to expose the hierarchy, achieved by clicking a node. If an item is clicked in the TreeMap, it will be moved to the next level or sub level hierarchy and returned back to the previous level by clicking the node. diff --git a/chart-sdk/asp-net-core/treemap/ej1-api-migration.md b/chart-sdk/asp-net-core/treemap/ej1-api-migration.md index b13ddba5d..5a45aa30f 100644 --- a/chart-sdk/asp-net-core/treemap/ej1-api-migration.md +++ b/chart-sdk/asp-net-core/treemap/ej1-api-migration.md @@ -1,14 +1,15 @@ --- layout: post -title: EJ1 API Migration in ASP.NET Core TreeMap Component | Syncfusion -description: Learn here all about EJ1 API Migration in Syncfusion ASP.NET Core TreeMap component of Syncfusion Essential JS 2 and more. +title: Ej1 Api Migration in ASP.NET Core Treemap Component +description: Learn here all about Ej1 Api Migration in Syncfusion ASP.NET Core Treemap component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Ej1 Api Migration +publishingplatform: chart-sdk documentation: ug --- -# EJ1 API Migration in ASP.NET Core TreeMap +# Migration from Essential® JS 1 This article describes the API migration process of Accordion component from Essential® JS 1 to Essential® JS 2. diff --git a/chart-sdk/asp-net-core/treemap/getting-started.md b/chart-sdk/asp-net-core/treemap/getting-started.md index 2c1790bba..1e50f287a 100644 --- a/chart-sdk/asp-net-core/treemap/getting-started.md +++ b/chart-sdk/asp-net-core/treemap/getting-started.md @@ -1,13 +1,14 @@ --- layout: post -title: Getting Started with ASP.NET Core TreeMap | Syncfusion +title: Getting Started with ASP.NET Core TreeMap Control | Syncfusion description: Check out and learn about getting started with ASP.NET Core TreeMap control of Essential JS 2 and more details. platform: chart-sdk control: TreeMap +publishingplatform: chart-sdk documentation: ug --- -# Getting Started with ASP.NET Core TreeMap +# Getting Started with ASP.NET Core TreeMap Control This section briefly explains how to include the [ASP.NET Core TreeMap](https://www.syncfusion.com/aspnet-core-ui-controls/treemap) control in your ASP.NET Core application using [Visual Studio](https://visualstudio.microsoft.com/vs/). diff --git a/chart-sdk/asp-net-core/treemap/how-to.md b/chart-sdk/asp-net-core/treemap/how-to.md index 7d0188469..968754819 100644 --- a/chart-sdk/asp-net-core/treemap/how-to.md +++ b/chart-sdk/asp-net-core/treemap/how-to.md @@ -1,13 +1,14 @@ --- layout: post -title: Customize the Drilldown Header in ASP.NET Core TreeMap | Syncfusion -description: Learn here all about how to customize the header for treemap drilldown in Syncfusion ASP.NET Core TreeMap component of Syncfusion Essential JS 2 and more. +title: How To in ASP.NET Core Treemap Component +description: Learn here all about How To in Syncfusion ASP.NET Core Treemap component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: How To +publishingplatform: chart-sdk documentation: ug --- -# How to Customize the Drilldown Header in ASP.NET Core TreeMap +# How To @@ -75,7 +76,7 @@ Customize the population for drilled countries or states in the header element w **Screenshot** -![Customized header shown during TreeMap drilldown](./images/header-template.png) +![Screenshot for your reference](./images/header-template.png) ## Add label template with drill down @@ -118,4 +119,4 @@ Add the label template in the `leafItemSettings` options, and then set the `show **Screenshot** -![TreeMap displaying label templates with drilldown](./images/label-template.png) \ No newline at end of file +![Screenshot for your reference](./images/label-template.png) \ No newline at end of file diff --git a/chart-sdk/asp-net-core/treemap/internationalization.md b/chart-sdk/asp-net-core/treemap/internationalization.md index d9a02cf38..e9fa35fdf 100644 --- a/chart-sdk/asp-net-core/treemap/internationalization.md +++ b/chart-sdk/asp-net-core/treemap/internationalization.md @@ -1,13 +1,14 @@ --- layout: post -title: Internationalization in ASP.NET Core TreeMap | Syncfusion -description: Learn here all about Internationalization in Syncfusion ASP.NET Core TreeMap component of Syncfusion Essential JS 2 and more. +title: Internationalization in ASP.NET Core Treemap Component +description: Learn here all about Internationalization in Syncfusion ASP.NET Core Treemap component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Internationalization +publishingplatform: chart-sdk documentation: ug --- -# Internationalization in ASP.NET Core TreeMap +# Internationalization The TreeMap control supports internationalization for the following elements: diff --git a/chart-sdk/asp-net-core/treemap/layout.md b/chart-sdk/asp-net-core/treemap/layout.md index d23135bab..5abb2951f 100644 --- a/chart-sdk/asp-net-core/treemap/layout.md +++ b/chart-sdk/asp-net-core/treemap/layout.md @@ -1,13 +1,14 @@ --- layout: post -title: Layout in ASP.NET Core TreeMap | Syncfusion -description: Learn here all about Layout in Syncfusion ASP.NET Core TreeMap component of Syncfusion Essential JS 2 and more. +title: Layout in ASP.NET Core Treemap Component +description: Learn here all about Layout in Syncfusion ASP.NET Core Treemap component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Layout +publishingplatform: chart-sdk documentation: ug --- -# Layout in ASP.NET Core TreeMap +# Layout Determine the visual representation of nodes belonging to all the TreeMap levels using the `layoutType` property. diff --git a/chart-sdk/asp-net-core/treemap/leaf-item.md b/chart-sdk/asp-net-core/treemap/leaf-item.md index add5b9020..23e538992 100644 --- a/chart-sdk/asp-net-core/treemap/leaf-item.md +++ b/chart-sdk/asp-net-core/treemap/leaf-item.md @@ -1,13 +1,14 @@ --- layout: post -title: Leaf Item in ASP.NET Core TreeMap | Syncfusion -description: Learn here all about Leaf Item in Syncfusion ASP.NET Core TreeMap component of Syncfusion Essential JS 2 and more. +title: Leaf Item in ASP.NET Core Treemap Component +description: Learn here all about Leaf Item in Syncfusion ASP.NET Core Treemap component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Leaf Item +publishingplatform: chart-sdk documentation: ug --- -# Leaf Item in ASP.NET Core TreeMap +# Leaf Item A leaf item defines a visualized data element and does not contain child nodes but contains parent node if the levels are specified in the TreeMap. diff --git a/chart-sdk/asp-net-core/treemap/legend.md b/chart-sdk/asp-net-core/treemap/legend.md index 745317cdc..9cbc2820f 100644 --- a/chart-sdk/asp-net-core/treemap/legend.md +++ b/chart-sdk/asp-net-core/treemap/legend.md @@ -1,13 +1,14 @@ --- layout: post -title: Legend in ASP.NET Core TreeMap | Syncfusion -description: Learn here all about Legend in Syncfusion ASP.NET Core TreeMap control of Syncfusion Essential JS 2 and more. +title: Legend in ASP.NET Core Treemap Control | Syncfusion +description: Learn here all about Legend in Syncfusion ASP.NET Core Treemap control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Legend +publishingplatform: chart-sdk documentation: ug --- -# Legend in ASP.NET Core TreeMap +# Legend in ASP.NET Core TreeMap Control Legend is used to provide valuable information for interpreting what the TreeMap displays. The legends can be represented in various colors, shapes or other identifiers based on the data. diff --git a/chart-sdk/asp-net-core/treemap/levels.md b/chart-sdk/asp-net-core/treemap/levels.md index da794283e..322b64203 100644 --- a/chart-sdk/asp-net-core/treemap/levels.md +++ b/chart-sdk/asp-net-core/treemap/levels.md @@ -1,13 +1,14 @@ --- layout: post -title: Levels in ASP.NET Core TreeMap | Syncfusion -description: Learn here all about Levels in Syncfusion ASP.NET Core TreeMap component of Syncfusion Essential JS 2 and more. +title: Levels in ASP.NET Core Treemap Component +description: Learn here all about Levels in Syncfusion ASP.NET Core Treemap component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Levels +publishingplatform: chart-sdk documentation: ug --- -# Levels in ASP.NET Core TreeMap +# Levels TreeMap supports **n** number of levels and each level is separated by using the `groupPath` property. diff --git a/chart-sdk/asp-net-core/treemap/print-and-export.md b/chart-sdk/asp-net-core/treemap/print-and-export.md index 8c2d5e997..5bd7fe5f6 100644 --- a/chart-sdk/asp-net-core/treemap/print-and-export.md +++ b/chart-sdk/asp-net-core/treemap/print-and-export.md @@ -1,17 +1,18 @@ --- layout: post -title: Print and Export in ASP.NET Core TreeMap | Syncfusion -description: Learn here all about Print and Export in Syncfusion ASP.NET Core TreeMap component of Syncfusion Essential JS 2 and more. +title: Print And Export in ASP.NET Core Treemap Component +description: Learn here all about Print And Export in Syncfusion ASP.NET Core Treemap component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Print And Export +publishingplatform: chart-sdk documentation: ug --- -# Print and Export in ASP.NET Core TreeMap +# Print and Export ## Print -To use the print functionality, we should set the [`allowPrint`](https://ej2.syncfusion.com/documentation/api/treemap#allowprint) property to **true**. The rendered treemap can be printed directly from the browser by calling the method [`print`](https://ej2.syncfusion.com/documentation/api/treemap#print). +To use the print functionality, we should set the [`allowPrint`](https://ej2.syncfusion.com/documentation/api/treemap/#allowprint) property to **true**. The rendered treemap can be printed directly from the browser by calling the method [`print`](https://ej2.syncfusion.com/documentation/api/treemap/#print). {% tabs %} {% highlight cshtml tabtitle="CSHTML" %} @@ -28,7 +29,7 @@ To use the print functionality, we should set the [`allowPrint`](https://ej2.syn ### Image Export -To use the image export functionality, we should set the [`allowImageExport`](https://ej2.syncfusion.com/documentation/api/treemap#allowimageexport) property to **true**. The rendered treemap can be exported as an image using the [`export`](https://ej2.syncfusion.com/documentation/api/treemap#export) method. The method requires two parameters: image type and file name. The treemap can be exported as an image in the following formats. +To use the image export functionality, we should set the [`allowImageExport`](https://ej2.syncfusion.com/documentation/api/treemap/#allowimageexport) property to **true**. The rendered treemap can be exported as an image using the [`export`](https://ej2.syncfusion.com/documentation/api/treemap/#export) method. The method requires two parameters: image type and file name. The treemap can be exported as an image in the following formats. * JPEG * PNG @@ -45,7 +46,7 @@ To use the image export functionality, we should set the [`allowImageExport`](ht -We can get the image file as base64 string for the JPEG and PNG formats. The treemap can be exported to image as a base64 string using the [`export`](https://ej2.syncfusion.com/documentation/api/treemap#export) method. There are four parameters required: image type, file name, orientation of the exported PDF document which must be set as **null** for image export and finally **allowDownload** which should be set as **false** to return base64 string. +We can get the image file as base64 string for the JPEG and PNG formats. The treemap can be exported to image as a base64 string using the [`export`](https://ej2.syncfusion.com/documentation/api/treemap/#export) method. There are four parameters required: image type, file name, orientation of the exported PDF document which must be set as **null** for image export and finally **allowDownload** which should be set as **false** to return base64 string. {% tabs %} {% highlight cshtml tabtitle="CSHTML" %} @@ -60,7 +61,7 @@ We can get the image file as base64 string for the JPEG and PNG formats. The tre ### PDF Export -To use the PDF export functionality, we should set the [`allowPdfExport`](https://ej2.syncfusion.com/documentation/api/treemap#allowpdfexport) property to **true**. The rendered treemap can be exported as PDF using the [`export`](https://ej2.syncfusion.com/documentation/api/treemap#export) method. The [`export`](https://ej2.syncfusion.com/documentation/api/treemap#export) method requires three parameters: file type, file name and orientation of the PDF document. The orientation setting is optional and **0** indicates portrait and **1** indicates landscape. +To use the PDF export functionality, we should set the [`allowPdfExport`](https://ej2.syncfusion.com/documentation/api/treemap/#allowpdfexport) property to **true**. The rendered treemap can be exported as PDF using the [`export`](https://ej2.syncfusion.com/documentation/api/treemap/#export) method. The [`export`](https://ej2.syncfusion.com/documentation/api/treemap/#export) method requires three parameters: file type, file name and orientation of the PDF document. The orientation setting is optional and **0** indicates portrait and **1** indicates landscape. {% tabs %} {% highlight cshtml tabtitle="CSHTML" %} diff --git a/chart-sdk/asp-net-core/treemap/selection-and-highlight.md b/chart-sdk/asp-net-core/treemap/selection-and-highlight.md index 85592c316..43c222a2f 100644 --- a/chart-sdk/asp-net-core/treemap/selection-and-highlight.md +++ b/chart-sdk/asp-net-core/treemap/selection-and-highlight.md @@ -1,13 +1,14 @@ --- layout: post -title: Selection and Highlight in ASP.NET Core TreeMap | Syncfusion -description: Learn here all about Selection and Highlight in Syncfusion ASP.NET Core Treemap component of Syncfusion Essential JS 2 and more. +title: Selection And Highlight in ASP.NET Core Treemap Component +description: Learn here all about Selection And Highlight in Syncfusion ASP.NET Core Treemap component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Selection And Highlight +publishingplatform: chart-sdk documentation: ug --- -# Selection and Highlight in ASP.NET Core TreeMap +# Selection and Highlight ## Selection diff --git a/chart-sdk/asp-net-core/treemap/tooltip.md b/chart-sdk/asp-net-core/treemap/tooltip.md index 69057f574..a0f635eca 100644 --- a/chart-sdk/asp-net-core/treemap/tooltip.md +++ b/chart-sdk/asp-net-core/treemap/tooltip.md @@ -1,13 +1,14 @@ --- layout: post -title: Tooltip in ASP.NET Core TreeMap | Syncfusion -description: Learn here all about Tooltip in Syncfusion ASP.NET Core TreeMap component of Syncfusion Essential JS 2 and more. +title: Tooltip in ASP.NET Core Treemap Component +description: Learn here all about Tooltip in Syncfusion ASP.NET Core Treemap component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Tooltip +publishingplatform: chart-sdk documentation: ug --- -# Tooltip in ASP.NET Core TreeMap +# Tooltip Tooltip is used to display details about the items in the TreeMap. When space constraints prevent us from displaying the information using Data Labels, the tooltip comes in handy. diff --git a/chart-sdk/asp-net-mvc/3d-charts/accessibility.md b/chart-sdk/asp-net-mvc/3d-charts/accessibility.md index 1d7defc7b..866c244a7 100644 --- a/chart-sdk/asp-net-mvc/3d-charts/accessibility.md +++ b/chart-sdk/asp-net-mvc/3d-charts/accessibility.md @@ -1,14 +1,15 @@ --- layout: post -title: Accessibility in ASP.NET MVC 3D Charts | Syncfusion -description: Learn here all about accessibility in Syncfusion ASP.NET MVC 3D Charts component of Syncfusion Essential JS 2 and more. +title: Accessibility in ASP.NET MVC Syncfusion 3D Chart Component +description: Learn here all about accessibility in Syncfusion ASP.NET MVC 3D Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Accessibility +publishingplatform: chart-sdk documentation: ug --- -# Accessibility in ASP.NET MVC 3D Charts +# Accessibility in ASP.NET MVC 3D Chart Component Accessibility is achieved in the 3D chart component through WAI-ARIA standard and keyboard navigation. The 3D chart features can be effectively accessed through assistive technologies such as screen readers. diff --git a/chart-sdk/asp-net-mvc/3d-charts/appearance.md b/chart-sdk/asp-net-mvc/3d-charts/appearance.md index 73d146455..c1887dfe8 100644 --- a/chart-sdk/asp-net-mvc/3d-charts/appearance.md +++ b/chart-sdk/asp-net-mvc/3d-charts/appearance.md @@ -1,14 +1,15 @@ --- layout: post -title: Appearance in ASP.NET MVC 3D Charts | Syncfusion -description: Learn here all about appearance in Syncfusion ASP.NET MVC 3D Charts component of Syncfusion Essential JS 2 and more. +title: Appearance in ASP.NET MVC Syncfusion 3D Chart Component +description: Learn here all about appearance in Syncfusion ASP.NET MVC 3D Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Appearance +publishingplatform: chart-sdk documentation: ug --- -# Appearance in ASP.NET MVC 3D Charts +# Appearance in ASP.NET MVC 3D Chart Component ## Custom color palette diff --git a/chart-sdk/asp-net-mvc/3d-charts/axis-customization.md b/chart-sdk/asp-net-mvc/3d-charts/axis-customization.md index 870c47196..e4273436b 100644 --- a/chart-sdk/asp-net-mvc/3d-charts/axis-customization.md +++ b/chart-sdk/asp-net-mvc/3d-charts/axis-customization.md @@ -1,14 +1,15 @@ --- layout: post -title: Axis Customization in ASP.NET MVC 3D Charts | Syncfusion -description: Learn here all about axis customization in Syncfusion ASP.NET MVC 3D Charts component of Syncfusion Essential JS 2 and more. +title: Axis customization in ASP.NET MVC Syncfusion 3D Chart Component +description: Learn here all about axis customization in Syncfusion ASP.NET MVC 3D Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Axis Customization +publishingplatform: chart-sdk documentation: ug --- -# Axis Customization in ASP.NET MVC 3D Charts +# Axis customization in ASP.NET MVC 3D Chart Component ## Title diff --git a/chart-sdk/asp-net-mvc/3d-charts/axis-labels.md b/chart-sdk/asp-net-mvc/3d-charts/axis-labels.md index 4ada44076..af4e3a5ee 100644 --- a/chart-sdk/asp-net-mvc/3d-charts/axis-labels.md +++ b/chart-sdk/asp-net-mvc/3d-charts/axis-labels.md @@ -1,14 +1,15 @@ --- layout: post -title: Axis Labels in ASP.NET MVC 3D Charts | Syncfusion -description: Learn here all about axis labels in Syncfusion ASP.NET MVC 3D Charts component of Syncfusion Essential JS 2 and more. +title: Axis labels in ASP.NET MVC 3D Chart Component +description: Learn here all about axis labels in Syncfusion ASP.NET MVC 3D Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Axis Labels +publishingplatform: chart-sdk documentation: ug --- -# Axis Labels in ASP.NET MVC 3D Charts +# Axis labels in ASP.NET MVC 3D Chart Component Axis labels are the labels that are positioned adjacent to the y-axis and beneath the x-axis. It provides descriptive information about the axis. diff --git a/chart-sdk/asp-net-mvc/3d-charts/category-axis.md b/chart-sdk/asp-net-mvc/3d-charts/category-axis.md index 62c6d00c9..e3adebd66 100644 --- a/chart-sdk/asp-net-mvc/3d-charts/category-axis.md +++ b/chart-sdk/asp-net-mvc/3d-charts/category-axis.md @@ -1,14 +1,15 @@ --- layout: post -title: Category Axis in ASP.NET MVC 3D Charts | Syncfusion -description: Learn here all about category axis in Syncfusion ASP.NET MVC 3D Charts component of Syncfusion Essential JS 2 and more. +title: Category axis in ASP.NET MVC 3D Chart Component +description: Learn here all about category axis in Syncfusion ASP.NET MVC 3D Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Category Axis +publishingplatform: chart-sdk documentation: ug --- -# Category Axis in ASP.NET MVC 3D Charts +# Category axis in ASP.NET MVC 3D Chart Component The category axis is the horizontal axis of a 3D chart that shows text values rather than numerical values. Compared to the vertical axis, this axis has fewer labels. The following sample shows to render the 3D chart using category axis. diff --git a/chart-sdk/asp-net-mvc/3d-charts/chart-dimensions.md b/chart-sdk/asp-net-mvc/3d-charts/chart-dimensions.md index 1e72a3233..c1263ae61 100644 --- a/chart-sdk/asp-net-mvc/3d-charts/chart-dimensions.md +++ b/chart-sdk/asp-net-mvc/3d-charts/chart-dimensions.md @@ -1,13 +1,14 @@ --- layout: post -title: Dimensions in ASP.NET MVC 3D Charts | Syncfusion -description: Learn here all about dimensions in Syncfusion ASP.NET MVC 3D Charts component of Syncfusion Essential JS 2 and more. +title: Dimensions in ASP.NET MVC 3D Chart Component +description: Learn here all about dimensions in Syncfusion ASP.NET MVC 3D Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Dimensions +publishingplatform: chart-sdk documentation: ug --- -# Dimensions in ASP.NET MVC 3D Charts +# Dimensions in ASP.NET MVC 3D Chart Component ## Size for container diff --git a/chart-sdk/asp-net-mvc/3d-charts/chart-types/bar.md b/chart-sdk/asp-net-mvc/3d-charts/chart-types/bar.md index c3a4b90de..47feb96a7 100644 --- a/chart-sdk/asp-net-mvc/3d-charts/chart-types/bar.md +++ b/chart-sdk/asp-net-mvc/3d-charts/chart-types/bar.md @@ -1,14 +1,15 @@ --- layout: post -title: Bar in ASP.NET MVC 3D Charts | Syncfusion -description: Learn here all about bar chart in Syncfusion ASP.NET MVC 3D Charts component of Syncfusion Essential JS 2 and more. +title: Bar chart in ASP.NET MVC Syncfusion 3D Chart Component +description: Learn here all about bar chart in Syncfusion ASP.NET MVC 3D Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Bar chart +publishingplatform: chart-sdk documentation: ug --- -# Bar in ASP.NET MVC 3D Charts +# Bar chart in ASP.NET MVC 3D Chart Component ## Bar chart diff --git a/chart-sdk/asp-net-mvc/3d-charts/chart-types/column.md b/chart-sdk/asp-net-mvc/3d-charts/chart-types/column.md index 814c2f9b0..8c789d744 100644 --- a/chart-sdk/asp-net-mvc/3d-charts/chart-types/column.md +++ b/chart-sdk/asp-net-mvc/3d-charts/chart-types/column.md @@ -1,14 +1,15 @@ --- layout: post -title: Column in ASP.NET MVC 3D Charts | Syncfusion -description: Learn here all about column chart in Syncfusion ASP.NET MVC 3D Charts component of Syncfusion Essential JS 2 and more. +title: Column chart in ASP.NET MVC Syncfusion 3D Chart Component +description: Learn here all about column chart in Syncfusion ASP.NET MVC 3D Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Column chart +publishingplatform: chart-sdk documentation: ug --- -# Column in ASP.NET MVC 3D Charts +# Column chart in ASP.NET MVC 3D Chart Component ## Column chart @@ -80,8 +81,8 @@ The following properties can be used to customize the [`Column`](https://help.sy The following properties can be used to customize the `column` series. -* [fill](../../api/chart3d/series3DModel#fill) – Specifies the color of the series. -* [opacity](../../api/chart3d/series3DModel#opacity) – Specifies the opacity of the [fill](../../api/chart3d/series3DModel#fill) color. +* [fill](../../api/chart3d/series3DModel/#fill) – Specifies the color of the series. +* [opacity](../../api/chart3d/series3DModel/#opacity) – Specifies the opacity of the [fill](../../api/chart3d/series3DModel/#fill) color. {% tabs %} {% highlight razor tabtitle="CSHTML" %} diff --git a/chart-sdk/asp-net-mvc/3d-charts/chart-types/stack-bar100.md b/chart-sdk/asp-net-mvc/3d-charts/chart-types/stack-bar100.md index 7c458adb2..9c677883e 100644 --- a/chart-sdk/asp-net-mvc/3d-charts/chart-types/stack-bar100.md +++ b/chart-sdk/asp-net-mvc/3d-charts/chart-types/stack-bar100.md @@ -1,14 +1,15 @@ --- layout: post -title: 100% Stacked Bar in ASP.NET MVC 3D Charts | Syncfusion -description: Learn here all about 100% stacked bar chart in Syncfusion ASP.NET MVC 3D Charts component of Syncfusion Essential JS 2 and more. +title: 100% Stacked bar chart in ASP.NET MVC Syncfusion 3D Chart Component +description: Learn here all about 100% stacked bar chart in Syncfusion ASP.NET MVC 3D Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: 100% Stacked bar chart +publishingplatform: chart-sdk documentation: ug --- -# 100% Stacked Bar in ASP.NET MVC 3D Charts +# 100% Stacked bar chart in ASP.NET MVC 3D Chart Component ## 100% Stacked bar chart diff --git a/chart-sdk/asp-net-mvc/3d-charts/chart-types/stack-column100.md b/chart-sdk/asp-net-mvc/3d-charts/chart-types/stack-column100.md index c3f633e0b..81eaa66e1 100644 --- a/chart-sdk/asp-net-mvc/3d-charts/chart-types/stack-column100.md +++ b/chart-sdk/asp-net-mvc/3d-charts/chart-types/stack-column100.md @@ -1,14 +1,15 @@ --- layout: post -title: 100% Stacked Column in ASP.NET MVC 3D Charts | Syncfusion -description: Learn here all about 100% stacked column chart in Syncfusion ASP.NET MVC 3D Charts component of Syncfusion Essential JS 2 and more. +title: 100% Stacked column chart in ASP.NET MVC Syncfusion 3D Chart Component +description: Learn here all about 100% stacked column chart in Syncfusion ASP.NET MVC 3D Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: 100% Stacked column chart +publishingplatform: chart-sdk documentation: ug --- -# 100% Stacked Column in ASP.NET MVC 3D Charts +# 100% Stacked column chart in ASP.NET MVC 3D Chart Component ## 100% Stacked column chart diff --git a/chart-sdk/asp-net-mvc/3d-charts/chart-types/stacked-bar.md b/chart-sdk/asp-net-mvc/3d-charts/chart-types/stacked-bar.md index 12c36b8fb..6a3b89772 100644 --- a/chart-sdk/asp-net-mvc/3d-charts/chart-types/stacked-bar.md +++ b/chart-sdk/asp-net-mvc/3d-charts/chart-types/stacked-bar.md @@ -1,14 +1,15 @@ --- layout: post -title: Stacked Bar in ASP.NET MVC 3D Charts | Syncfusion -description: Learn here all about stacked bar chart in Syncfusion ASP.NET MVC 3D Charts component of Syncfusion Essential JS 2 and more. +title: Stacked bar chart in ASP.NET MVC Syncfusion 3D Chart Component +description: Learn here all about stacked bar chart in Syncfusion ASP.NET MVC 3D Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Stacked bar chart +publishingplatform: chart-sdk documentation: ug --- -# Stacked Bar in ASP.NET MVC 3D Charts +# Stacked bar chart in ASP.NET MVC 3D Chart Component ## Stacked bar chart diff --git a/chart-sdk/asp-net-mvc/3d-charts/chart-types/stacked-column.md b/chart-sdk/asp-net-mvc/3d-charts/chart-types/stacked-column.md index 098dd41c3..1d99cba2b 100644 --- a/chart-sdk/asp-net-mvc/3d-charts/chart-types/stacked-column.md +++ b/chart-sdk/asp-net-mvc/3d-charts/chart-types/stacked-column.md @@ -1,14 +1,15 @@ --- layout: post -title: Stacked Column in ASP.NET MVC 3D Charts | Syncfusion -description: Learn here all about stacked column chart in Syncfusion ASP.NET MVC 3D Charts component of Syncfusion Essential JS 2 and more. +title: Stacked column chart in ASP.NET MVC Syncfusion 3D Chart Component +description: Learn here all about stacked column chart in Syncfusion ASP.NET MVC 3D Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Stacked column chart +publishingplatform: chart-sdk documentation: ug --- -# Stacked Column in ASP.NET MVC 3D Charts +# Stacked column chart in ASP.NET MVC 3D Chart Component ## Stacked column chart diff --git a/chart-sdk/asp-net-mvc/3d-charts/data-labels.md b/chart-sdk/asp-net-mvc/3d-charts/data-labels.md index 4c7abe442..f5eb2c5ee 100644 --- a/chart-sdk/asp-net-mvc/3d-charts/data-labels.md +++ b/chart-sdk/asp-net-mvc/3d-charts/data-labels.md @@ -1,14 +1,15 @@ --- layout: post -title: Data Labels in ASP.NET MVC 3D Charts | Syncfusion -description: Learn here all about data labels in Syncfusion ASP.NET MVC 3D Charts component of Syncfusion Essential JS 2 and more. +title: Data labels in ASP.NET MVC Syncfusion 3D Chart Component +description: Learn here all about data labels in Syncfusion ASP.NET MVC 3D Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Data Labels +publishingplatform: chart-sdk documentation: ug --- -# Data Labels in ASP.NET MVC 3D Charts +# Data labels in ASP.NET MVC 3D Chart Component Data labels are fields that includes information about the sample point connected to an output. It can be added to a chart series by enabling the [`Visible`](https://help.syncfusion.com/cr/aspnetmvc-js2/Syncfusion.EJ2.Charts.Chart3DDataLabelSettings.html#Syncfusion_EJ2_Charts_Chart3DDataLabelSettings_Visible) property in the [`DataLabel`](https://help.syncfusion.com/cr/aspnetmvc-js2/Syncfusion.EJ2.Charts.Chart3DSeries.html#Syncfusion_EJ2_Charts_Chart3DSeries_DataLabel). By default, the labels will arrange smartly without overlapping. diff --git a/chart-sdk/asp-net-mvc/3d-charts/date-time-axis.md b/chart-sdk/asp-net-mvc/3d-charts/date-time-axis.md index 297ab74a5..8c9f18f7e 100644 --- a/chart-sdk/asp-net-mvc/3d-charts/date-time-axis.md +++ b/chart-sdk/asp-net-mvc/3d-charts/date-time-axis.md @@ -1,13 +1,14 @@ --- layout: post -title: DateTime Axis in ASP.NET MVC 3D Charts | Syncfusion -description: Learn here all about datetime axis in Syncfusion ASP.NET MVC 3D Charts component of Syncfusion Essential JS 2 and more. +title: DateTime axis in ASP.NET MVC 3D Chart Component +description: Learn here all about datetime axis in Syncfusion ASP.NET MVC 3D Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: DateTime Axis +publishingplatform: chart-sdk documentation: ug --- -# DateTime Axis in ASP.NET MVC 3D Charts +# DateTime axis in ASP.NET MVC 3D Chart Component ## DateTime axis diff --git a/chart-sdk/asp-net-mvc/3d-charts/getting-started.md b/chart-sdk/asp-net-mvc/3d-charts/getting-started.md index b2cc14833..bd7d72f0c 100644 --- a/chart-sdk/asp-net-mvc/3d-charts/getting-started.md +++ b/chart-sdk/asp-net-mvc/3d-charts/getting-started.md @@ -1,13 +1,14 @@ --- layout: post -title: Getting Started with ASP.NET MVC 3D Charts Control | Syncfusion -description: Checkout and learn about getting started with ASP.NET MVC 3D Charts control of Syncfusion Essential JS 2 and more details. +title: Getting Started with ASP.NET MVC 3D Chart Control | Syncfusion +description: Check out and learn about getting started with ASP.NET MVC 3D Chart control of Syncfusion Essential JS 2 and more details. platform: chart-sdk control: Getting Started +publishingplatform: chart-sdk documentation: ug --- -# Getting Started with ASP.NET MVC 3D Charts +# Getting Started with the ASP.NET MVC 3D Chart Control This section briefly explains how to add the Syncfusion® [ASP.NET MVC 3D Chart](https://www.syncfusion.com/aspnet-mvc-ui-controls/charts) control to an ASP.NET MVC 5 (.NET Framework) application using Visual Studio. diff --git a/chart-sdk/asp-net-mvc/3d-charts/legend.md b/chart-sdk/asp-net-mvc/3d-charts/legend.md index 3546e35e9..cb5e5554b 100644 --- a/chart-sdk/asp-net-mvc/3d-charts/legend.md +++ b/chart-sdk/asp-net-mvc/3d-charts/legend.md @@ -1,14 +1,15 @@ --- layout: post -title: Legend in ASP.NET MVC 3D Charts | Syncfusion -description: Learn here all about legend in Syncfusion ASP.NET MVC 3D Charts component of Syncfusion Essential JS 2 and more. +title: Legend in ASP.NET MVC Syncfusion 3D Chart Component +description: Learn here all about legend in Syncfusion ASP.NET MVC 3D Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Legend +publishingplatform: chart-sdk documentation: ug --- -# Legend in ASP.NET MVC 3D Charts +# Legend in ASP.NET MVC 3D Chart Component Legend provides information about the series rendered in the 3D chart. diff --git a/chart-sdk/asp-net-mvc/3d-charts/logarithmic-axis.md b/chart-sdk/asp-net-mvc/3d-charts/logarithmic-axis.md index 727577ce4..0d83a4f14 100644 --- a/chart-sdk/asp-net-mvc/3d-charts/logarithmic-axis.md +++ b/chart-sdk/asp-net-mvc/3d-charts/logarithmic-axis.md @@ -1,14 +1,15 @@ --- layout: post -title: Logarithmic Axis in ASP.NET MVC 3D Charts | Syncfusion -description: Learn here all about logarithmic axis in Syncfusion ASP.NET MVC 3D Charts component of Syncfusion Essential JS 2 and more. +title: Logarithmic axis in ASP.NET MVC 3D Chart Component +description: Learn here all about logarithmic axis in Syncfusion ASP.NET MVC 3D Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Logarithmic Axis +publishingplatform: chart-sdk documentation: ug --- -# Logarithmic Axis in ASP.NET MVC 3D Charts +# Logarithmic axis in ASP.NET MVC 3D Chart Component Logarithmic axis uses logarithmic scale and it is very useful in visualizing data, when it has numerical values in both lower order of magnitude (eg: 10-6) and higher order of magnitude (eg: 106). diff --git a/chart-sdk/asp-net-mvc/3d-charts/multiple-panes.md b/chart-sdk/asp-net-mvc/3d-charts/multiple-panes.md index a80f4a674..3cbd9e8c0 100644 --- a/chart-sdk/asp-net-mvc/3d-charts/multiple-panes.md +++ b/chart-sdk/asp-net-mvc/3d-charts/multiple-panes.md @@ -1,14 +1,15 @@ --- layout: post -title: Multiple Panes in ASP.NET MVC 3D Charts | Syncfusion -description: Learn here all about multiple panes in Syncfusion ASP.NET MVC 3D Charts component of Syncfusion Essential JS 2 and more. +title: Multiple panes in ASP.NET MVC 3D Chart Component +description: Learn here all about multiple panes in Syncfusion ASP.NET MVC 3D Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Multiple Panes +publishingplatform: chart-sdk documentation: ug --- -# Multiple Panes in ASP.NET MVC 3D Charts +# Multiple panes in ASP.NET MVC 3D Chart Component The chart area can be divided into multiple panes using [`Rows`](https://help.syncfusion.com/cr/aspnetmvc-js2/Syncfusion.EJ2.Charts.Chart3D.html#Syncfusion_EJ2_Charts_Chart3D_Rows) and [`Columns`](https://help.syncfusion.com/cr/aspnetmvc-js2/Syncfusion.EJ2.Charts.Chart3D.html#Syncfusion_EJ2_Charts_Chart3D_Columns). diff --git a/chart-sdk/asp-net-mvc/3d-charts/numeric-axis.md b/chart-sdk/asp-net-mvc/3d-charts/numeric-axis.md index fc7d6c062..3ac7b4801 100644 --- a/chart-sdk/asp-net-mvc/3d-charts/numeric-axis.md +++ b/chart-sdk/asp-net-mvc/3d-charts/numeric-axis.md @@ -1,13 +1,14 @@ --- layout: post -title: Numeric Axis in ASP.NET MVC 3D Charts | Syncfusion -description: Learn here all about numeric axis in Syncfusion ASP.NET MVC 3D Charts component of Syncfusion Essential JS 2 and more. +title: Numeric axis in ASP.NET MVC 3D Chart Component +description: Learn here all about numeric axis in Syncfusion ASP.NET MVC 3D Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Numeric Axis +publishingplatform: chart-sdk documentation: ug --- -# Numeric Axis in ASP.NET MVC 3D Charts +# Numeric axis in ASP.NET MVC 3D Chart Component The `Numeric Axis` can be used to represent the numeric values of data in 3D chart. By default, the [`ValueType`](https://help.syncfusion.com/cr/aspnetmvc-js2/Syncfusion.EJ2.Charts.Chart3DAxis.html#Syncfusion_EJ2_Charts_Chart3DAxis_ValueType) of an axis is **Double**. diff --git a/chart-sdk/asp-net-mvc/3d-charts/print-export.md b/chart-sdk/asp-net-mvc/3d-charts/print-export.md index d977ae03a..89e64d278 100644 --- a/chart-sdk/asp-net-mvc/3d-charts/print-export.md +++ b/chart-sdk/asp-net-mvc/3d-charts/print-export.md @@ -1,13 +1,14 @@ --- layout: post -title: Print and Export in ASP.NET MVC 3D Charts | Syncfusion -description: Learn here all about print and export in Syncfusion ASP.NET MVC 3D Charts component of Syncfusion Essential JS 2 and more. +title: Print and Export in ASP.NET MVC 3D Chart Component +description: Learn here all about print and export in Syncfusion ASP.NET MVC 3D Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Print and Export +publishingplatform: chart-sdk documentation: ug --- -# Print and Export in ASP.NET MVC 3D Charts +# Print and Export in ASP.NET MVC 3D Chart Component ## Print diff --git a/chart-sdk/asp-net-mvc/3d-charts/selection.md b/chart-sdk/asp-net-mvc/3d-charts/selection.md index 88b4a5e3c..e0b64457a 100644 --- a/chart-sdk/asp-net-mvc/3d-charts/selection.md +++ b/chart-sdk/asp-net-mvc/3d-charts/selection.md @@ -1,13 +1,14 @@ --- layout: post -title: Selection in ASP.NET MVC 3D Charts | Syncfusion -description: Learn here all about selection in Syncfusion ASP.NET MVC 3D Charts component of Syncfusion Essential JS 2 and more. +title: Selection in ASP.NET MVC Syncfusion 3D Chart Component +description: Learn here all about selection in Syncfusion ASP.NET MVC 3D Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Selection +publishingplatform: chart-sdk documentation: ug --- -# Selection in ASP.NET MVC 3D Charts +# Selection in ASP.NET MVC 3D Chart Component The 3D chart provides selection support for the series and its data points on mouse click. diff --git a/chart-sdk/asp-net-mvc/3d-charts/tool-tip.md b/chart-sdk/asp-net-mvc/3d-charts/tool-tip.md index 55acfbecf..b393834d5 100644 --- a/chart-sdk/asp-net-mvc/3d-charts/tool-tip.md +++ b/chart-sdk/asp-net-mvc/3d-charts/tool-tip.md @@ -1,13 +1,14 @@ --- layout: post -title: Tooltip in ASP.NET MVC 3D Charts | Syncfusion -description: Learn here all about tooltip in Syncfusion ASP.NET MVC 3D Charts component of Syncfusion Essential JS 2 and more. +title: Tooltip in ASP.NET MVC Syncfusion 3D Chart Component +description: Learn here all about tooltip in Syncfusion ASP.NET MVC 3D Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Tooltip +publishingplatform: chart-sdk documentation: ug --- -# Tooltip in ASP.NET MVC 3D Charts +# Tooltip in ASP.NET MVC 3D Chart Component The 3D Chart will display details about the points through tooltip, when the mouse is moved over the specific point. diff --git a/chart-sdk/asp-net-mvc/3d-charts/working-with-data.md b/chart-sdk/asp-net-mvc/3d-charts/working-with-data.md index 50ef6b682..c270a4140 100644 --- a/chart-sdk/asp-net-mvc/3d-charts/working-with-data.md +++ b/chart-sdk/asp-net-mvc/3d-charts/working-with-data.md @@ -1,13 +1,14 @@ --- layout: post -title: Working with Data in ASP.NET MVC 3D Charts | Syncfusion -description: Learn here all about working with data source in Syncfusion ASP.NET MVC 3D Charts component of Syncfusion Essential JS 2 and more. +title: Working with data source in ASP.NET MVC 3D Chart Component +description: Learn here all about working with data source in Syncfusion ASP.NET MVC 3D Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Working With Data +publishingplatform: chart-sdk documentation: ug --- -# Working with Data in ASP.NET MVC 3D Charts +# Working with data in ASP.NET MVC 3D Chart Component ## Local data diff --git a/chart-sdk/asp-net-mvc/3d-circular-charts/data-label.md b/chart-sdk/asp-net-mvc/3d-circular-charts/data-label.md index 2de582fa6..767c986f4 100644 --- a/chart-sdk/asp-net-mvc/3d-circular-charts/data-label.md +++ b/chart-sdk/asp-net-mvc/3d-circular-charts/data-label.md @@ -1,14 +1,15 @@ --- layout: post -title: Data Label in ASP.NET MVC 3D Circular Charts | Syncfusion -description: Learn here all about data label in Syncfusion ASP.NET MVC 3D Circular Charts component of Syncfusion Essential JS 2 and more. +title: Data Label in Syncfusion ASP.NET MVC 3D Circular Chart Component +description: Learn here all about data label in Syncfusion ASP.NET MVC 3D Circular Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Data Label +publishingplatform: chart-sdk documentation: ug --- -# Data Label in ASP.NET MVC 3D Circular Charts +# Data Label in ASP.NET MVC 3D Circular Chart Component A data label refers to a label associated with specific data points. It can be added to a 3D Circular Chart series by enabling the `Visible` option in the `DataLabel` property. By default, the labels will arrange themselves smartly to avoid overlapping. diff --git a/chart-sdk/asp-net-mvc/3d-circular-charts/empty-points.md b/chart-sdk/asp-net-mvc/3d-circular-charts/empty-points.md index a901cd812..b7343f5d3 100644 --- a/chart-sdk/asp-net-mvc/3d-circular-charts/empty-points.md +++ b/chart-sdk/asp-net-mvc/3d-circular-charts/empty-points.md @@ -1,14 +1,15 @@ --- layout: post -title: Empty Points in ASP.NET MVC 3D Circular Charts | Syncfusion -description: Learn here all about empty points in Syncfusion ASP.NET MVC 3D Circular Charts component of Syncfusion Essential JS 2 and more. +title: Empty points in ASP.NET MVC Syncfusion 3D Circular Chart Component +description: Learn here all about empty points in Syncfusion ASP.NET MVC 3D Circular Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Empty points +publishingplatform: chart-sdk documentation: ug --- -# Empty Points in ASP.NET MVC 3D Circular Charts +# Empty points in ASP.NET MVC 3D Circular Chart Component Data points containing `null` or `undefined` values are considered empty points. These empty data points are ignored and not plotted in the 3D Circular Chart. You can customize the handling of empty points using the `EmptyPointSettings` property in the series. The default mode for empty points is `Gap`. Other supported modes include `Average`, `Drop`, and `Zero`. diff --git a/chart-sdk/asp-net-mvc/3d-circular-charts/getting-started.md b/chart-sdk/asp-net-mvc/3d-circular-charts/getting-started.md index 1fcba4e44..7cbeafb92 100644 --- a/chart-sdk/asp-net-mvc/3d-circular-charts/getting-started.md +++ b/chart-sdk/asp-net-mvc/3d-circular-charts/getting-started.md @@ -1,54 +1,62 @@ --- layout: post -title: Getting Started with ASP.NET MVC 3D Circular Charts | Syncfusion -description: Checkout and learn about getting started with Syncfusion ASP.NET MVC 3D Circular Charts control of Syncfusion Essential JS 2 and more details. +title: Getting Started with ASP.NET MVC Circular Gauge | Syncfusion +description: Check out and learn about getting started with the ASP.NET MVC Circular Gauge control of Syncfusion Essential JS 2 and more details. platform: chart-sdk control: Getting Started +publishingplatform: chart-sdk documentation: ug --- -# Getting started with ASP.NET MVC 3D Circular Charts +# Getting Started with the ASP.NET MVC Circular Gauge Control -This section briefly explains about how to include [ASP.NET MVC 3D Circular Chart](https://www.syncfusion.com/aspnet-mvc-ui-controls/charts) control in your ASP.NET MVC application using Visual Studio. +This section briefly explains how to add the Syncfusion® [ASP.NET MVC Circular Gauge](https://www.syncfusion.com/aspnet-mvc-ui-controls/circular-gauge) control to an ASP.NET MVC 5 (.NET Framework) application using Visual Studio. ## Prerequisites -[System requirements for ASP.NET MVC controls](https://ej2.syncfusion.com/aspnetmvc/documentation/system-requirements) +Refer to the [System requirements for ASP.NET MVC controls](https://ej2.syncfusion.com/aspnetmvc/documentation/system-requirements) before creating the application. -## Create ASP.NET MVC application with HTML helper +## Create an ASP.NET MVC application with HTML helper -* [Create a Project using Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/mvc/overview/getting-started/introduction/getting-started#create-your-first-app) +You can create an ASP.NET MVC application using either of the following options: -* [Create a Project using Syncfusion® ASP.NET MVC Extension](https://ej2.syncfusion.com/aspnetmvc/documentation/visual-studio-integration/create-project) +* [Create a project using Microsoft templates](https://learn.microsoft.com/en-us/aspnet/mvc/overview/getting-started/introduction/getting-started#create-your-first-app) +* [Create a project using Syncfusion® ASP.NET MVC Extension](https://ej2.syncfusion.com/aspnetmvc/documentation/visual-studio-integration/create-project) -## Install ASP.NET MVC package in the application +## Install the ASP.NET MVC NuGet package -To add `ASP.NET MVC` controls in the application, open the NuGet package manager in Visual Studio (Tools → NuGet Package Manager → Manage NuGet Packages for Solution), search for [Syncfusion.EJ2.MVC5](https://www.nuget.org/packages/Syncfusion.EJ2.MVC5) and then install it. +To add Syncfusion® **ASP.NET MVC** controls in the application, open the NuGet Package Manager in Visual Studio by selecting **Tools → NuGet Package Manager → Manage NuGet Packages for Solution**. Search for [Syncfusion.EJ2.MVC5](https://www.nuget.org/packages/Syncfusion.EJ2.MVC5) and install it. + +Alternatively, you can use the Package Manager Console by navigating to **Tools → NuGet Package Manager → Package Manager Console**, and then run the following command: {% tabs %} -{% highlight C# tabtitle="Package Manager" %} +{% highlight bash tabtitle="Package Manager Console" %} Install-Package Syncfusion.EJ2.MVC5 -Version {{ site.ej2version }} {% endhighlight %} {% endtabs %} -N> Syncfusion® ASP.NET MVC controls are available in [nuget.org.](https://www.nuget.org/packages?q=syncfusion.EJ2) Refer to [NuGet packages topic](https://ej2.syncfusion.com/aspnetmvc/documentation/nuget-packages) to learn more about installing NuGet packages in various OS environments. The Syncfusion.EJ2.MVC5 NuGet package has dependencies, [Newtonsoft.Json](https://www.nuget.org/packages/Newtonsoft.Json/) for JSON serialization and [Syncfusion.Licensing](https://www.nuget.org/packages/Syncfusion.Licensing/) for validating Syncfusion® license key. +N> Syncfusion® ASP.NET MVC controls are available on [nuget.org](https://www.nuget.org/packages?q=syncfusion.EJ2). Refer to the [NuGet packages](https://ej2.syncfusion.com/aspnetmvc/documentation/nuget-packages) topic to learn more about installing NuGet packages in various operating system environments. The `Syncfusion.EJ2.MVC5` NuGet package depends on [Newtonsoft.Json](https://www.nuget.org/packages/Newtonsoft.Json/) (≥ 12.0.2) for JSON serialization and [Syncfusion.Licensing](https://www.nuget.org/packages/Syncfusion.Licensing/) for validating the Syncfusion® license key. + +## Add the namespace -## Add namespace +Add the **Syncfusion.EJ2** namespace reference inside the `` → `` → `` element of the `~/Views/Web.config` file. -Add **Syncfusion.EJ2** namespace reference in `Web.config` under `Views` folder. +{% tabs %} +{% highlight xml tabtitle="~/Views/Web.config" %} -``` - + -``` + +{% endhighlight %} +{% endtabs %} ## Add script resources -Here, the script is referred using CDN inside the `` of `~/Views/Shared/_Layout.cshtml` file as follows, +Add the script reference inside the `` element of the `~/Views/Shared/_Layout.cshtml` file as follows. The reference loads the base `ej2.min.js` bundle, which contains the Syncfusion® ASP.NET MVC helper scripts. {% tabs %} {% highlight cshtml tabtitle="~/_Layout.cshtml" %} @@ -62,17 +70,17 @@ Here, the script is referred using CDN inside the `` of `~/Views/Shared/_L {% endhighlight %} {% endtabs %} -N> Checkout the [Adding Script Reference](https://ej2.syncfusion.com/aspnetmvc/documentation/common/adding-script-references) topic to learn different approaches for adding script references in your ASP.NET MVC application. +N> Refer to the [Adding Script Reference](https://ej2.syncfusion.com/aspnetmvc/documentation/common/adding-script-references) topic to learn different approaches for adding script references in an ASP.NET MVC application. -## Register Syncfusion® script manager +## Register the Syncfusion® Script Manager -Also, register the script manager `EJS().ScriptManager()` at the end of `` in the `~/Views/Shared/_Layout.cshtml` file as follows. +Register the script manager `EJS().ScriptManager()` at the end of the `` element in the `~/Views/Shared/_Layout.cshtml` file as follows. The Script Manager resolves and loads control-specific scripts automatically. {% tabs %} {% highlight cshtml tabtitle="~/_Layout.cshtml" %} -... + ... @Html.EJS().ScriptManager() @@ -80,50 +88,68 @@ Also, register the script manager `EJS().ScriptManager()` at the end of `` {% endhighlight %} {% endtabs %} -## Add ASP.NET MVC 3D Circular Chart control +## Build the Circular Gauge + +This section walks through adding the Circular Gauge control to `~/Views/Home/Index.cshtml` and configuring its title and axis. -Now, add the Syncfusion® ASP.NET MVC 3D Circular Chart control in `~/Home/Index.cshtml` page. +### Step 1: Add the Circular Gauge control + +Add the Syncfusion® ASP.NET MVC Circular Gauge control to the `~/Views/Home/Index.cshtml` page. {% tabs %} {% highlight cshtml tabtitle="CSHTML" %} -@(Html.EJS().CircularChart3D("container").Render()) +@Html.EJS().CircularGauge("container").Render() {% endhighlight %} {% endtabs %} -**Pie Series** +Press Ctrl + F5 on Windows or + F5 on macOS to run the application. The Circular Gauge control will be rendered as an empty placeholder in the default web browser. + +![ASP.NET MVC Circular Gauge Control](images/circulargauge-control.png) -By default, the pie series will be rendered when assigning the JSON data to the series using the `dataSource` property. Map the field names in the JSON data to the `xName` and `yName` properties of the series. +### Step 2: Add a title + +Use the [Title](https://help.syncfusion.com/cr/aspnetmvc-js2/Syncfusion.EJ2.CircularGauge.CircularGauge.html#Syncfusion_EJ2_CircularGauge_CircularGauge_Title) property to add a heading that provides quick information to the user. {% tabs %} -{% highlight razor tabtitle="CSHTML" %} -{% include code-snippet/chart-sdk/asp-net-mvc/3d-circular-charts/getting-started/razor %} +{% highlight cshtml tabtitle="CSHTML" %} + +@Html.EJS().CircularGauge("container").Title("Speed").Render() + {% endhighlight %} -{% highlight c# tabtitle="HomeController.cs" %} -public ActionResult Index() -{ - List circularData = new List - { - new CircularChartData { X = "Chrome", Y = 62.92 }, - new CircularChartData { X = "Internet Explorer", Y = 6.12 }, - new CircularChartData { X = "Opera", Y = 3.15 }, - new CircularChartData { X = "Edge", Y = 5.5 }, - new CircularChartData { X = "Safari", Y = 19.97 }, - new CircularChartData { X = "Others", Y = 2.34 } - }; - return View(circularData); -} -public class CircularChartData -{ - public string X; - public double Y; -} +{% endtabs %} + +### Step 3: Configure the axis + +Use the [Minimum](https://help.syncfusion.com/cr/aspnetmvc-js2/Syncfusion.EJ2.CircularGauge.CircularGaugeAxis.html#Syncfusion_EJ2_CircularGauge_CircularGaugeAxis_Minimum) and [Maximum](https://help.syncfusion.com/cr/aspnetmvc-js2/Syncfusion.EJ2.CircularGauge.CircularGaugeAxis.html#Syncfusion_EJ2_CircularGauge_CircularGaugeAxis_Maximum) properties of the axis to set the value range. The [StartAngle](https://help.syncfusion.com/cr/aspnetmvc-js2/Syncfusion.EJ2.CircularGauge.CircularGaugeAxis.html#Syncfusion_EJ2_CircularGauge_CircularGaugeAxis_StartAngle) and [EndAngle](https://help.syncfusion.com/cr/aspnetmvc-js2/Syncfusion.EJ2.CircularGauge.CircularGaugeAxis.html#Syncfusion_EJ2_CircularGauge_CircularGaugeAxis_EndAngle) properties (in degrees) define the arc, and [Radius](https://help.syncfusion.com/cr/aspnetmvc-js2/Syncfusion.EJ2.CircularGauge.CircularGaugeAxis.html#Syncfusion_EJ2_CircularGauge_CircularGaugeAxis_Radius) (as a percentage) controls the gauge size. + +{% tabs %} +{% highlight cshtml tabtitle="CSHTML" %} + +@Html.EJS().CircularGauge("container").Title("Speed").Axes(axes => +axes.EndAngle(120).StartAngle(240).Radius("90%").Minimum(0).Maximum(120).Add()).Render(); + {% endhighlight %} {% endtabs %} -Press Ctrl+F5 (Windows) or +F5 (macOS) to run the app. Then, the Syncfusion® ASP.NET MVC 3D Circular Chart control will be rendered in the default web browser. +![ASP.NET MVC CircularGauge with Title and Axis](images/circulargauge-with-axis.png) + +N> Explore the [ASP.NET MVC Circular Gauge sample on GitHub](https://github.com/SyncfusionExamples/ASP-NET-MVC-Getting-Started-Examples/tree/main/CircularGauge/ASP.NET%20MVC%20Razor%20Examples) to understand how this getting started example works. + + +## Troubleshooting + +If the Circular Gauge control does not render as expected, review the following common issues and their resolutions. + +* **"Script Manager is not defined" or scripts run twice** — `@Html.EJS().ScriptManager()` was not added, or was added more than once. Ensure `ScriptManager` is registered exactly once at the end of `` in `_Layout.cshtml`. + +* **Gauge is empty (no value indicator visible)** — A `Pointers(...)` block was not added. The axis range alone only draws the arc; add a pointer with `.Value()` to show the value. + +* **`Newtonsoft.Json` reference error after upgrade** — `Syncfusion.EJ2.MVC5` requires `Newtonsoft.Json` ≥ 12.0.2. Install a compatible version via NuGet. -![ASP.NET MVC CircularChart3D Control](images/circular-chart-3d.png) +## See also -N> `View Sample in GitHub`. \ No newline at end of file +* [Pointers in ASP.NET MVC Circular Gauge](https://ej2.syncfusion.com/aspnetmvc/documentation/circular-gauge/gauge-pointers) +* [Ranges in ASP.NET MVC Circular Gauge](https://ej2.syncfusion.com/aspnetmvc/documentation/circular-gauge/gauge-ranges) +* [Getting Started with Syncfusion® ASP.NET Core MVC using Tag Helper](https://ej2.syncfusion.com/aspnetmvc/documentation/getting-started/aspnet-core-mvc-taghelper) \ No newline at end of file diff --git a/chart-sdk/asp-net-mvc/3d-circular-charts/legend.md b/chart-sdk/asp-net-mvc/3d-circular-charts/legend.md index ad0282a39..cf32ea5da 100644 --- a/chart-sdk/asp-net-mvc/3d-circular-charts/legend.md +++ b/chart-sdk/asp-net-mvc/3d-circular-charts/legend.md @@ -1,14 +1,15 @@ --- layout: post -title: Legend in ASP.NET MVC 3D Circular Charts | Syncfusion -description: Learn here all about legend in Syncfusion ASP.NET MVC 3D Circular Charts component of Syncfusion Essential JS 2 and more. +title: Legend in ASP.NET MVC Syncfusion 3D Circular Chart Component +description: Learn here all about legend in Syncfusion ASP.NET MVC 3D Circular Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Legend +publishingplatform: chart-sdk documentation: ug --- -# Legend in ASP.NET MVC 3D Circular Charts +# Legend in ASP.NET MVC 3D Circular Chart Component The legend provides information about the data points rendered in the 3D Circular Chart. It can be added by enabling the `Visible` option in the `LegendSettings` property. diff --git a/chart-sdk/asp-net-mvc/3d-circular-charts/pie-donut-chart.md b/chart-sdk/asp-net-mvc/3d-circular-charts/pie-donut-chart.md index 5f1b2a118..413e75312 100644 --- a/chart-sdk/asp-net-mvc/3d-circular-charts/pie-donut-chart.md +++ b/chart-sdk/asp-net-mvc/3d-circular-charts/pie-donut-chart.md @@ -1,14 +1,15 @@ --- layout: post -title: Pie and Donut in ASP.NET MVC 3D Circular Charts | Syncfusion -description: Learn here all about Pie and Donut in Syncfusion ASP.NET MVC 3D Circular Charts component of Syncfusion Essential JS 2 and more. +title: Pie and Donut in ASP.NET MVC 3D Circular Chart Component | Syncfusion +description: Learn here all about Pie and Donut in Syncfusion ASP.NET MVC 3D Circular Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Pie and Donut +publishingplatform: chart-sdk documentation: ug --- -# Pie and Donut in ASP.NET MVC 3D Circular Charts +# Pie and Donut in ASP.NET MVC 3D Circular Chart Component ## Pie chart diff --git a/chart-sdk/asp-net-mvc/3d-circular-charts/print-and-export.md b/chart-sdk/asp-net-mvc/3d-circular-charts/print-and-export.md index a91a65069..2b1e09c6b 100644 --- a/chart-sdk/asp-net-mvc/3d-circular-charts/print-and-export.md +++ b/chart-sdk/asp-net-mvc/3d-circular-charts/print-and-export.md @@ -1,14 +1,15 @@ --- layout: post -title: Print and Export in ASP.NET MVC 3D Circular Charts | Syncfusion -description: Learn here all about print and export in Syncfusion ASP.NET MVC 3D Circular Charts component of Syncfusion Essential JS 2 and more. +title: Print and Export in ASP.NET MVC Syncfusion 3D Circular Chart Component +description: Learn here all about print and export in Syncfusion ASP.NET MVC 3D Circular Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Print and Export +publishingplatform: chart-sdk documentation: ug --- -# Print and Export in ASP.NET MVC 3D Circular Charts +# Print and Export in ASP.NET MVC 3D Circular Chart Component ## Print diff --git a/chart-sdk/asp-net-mvc/3d-circular-charts/title-and-subtitle.md b/chart-sdk/asp-net-mvc/3d-circular-charts/title-and-subtitle.md index 809bc484c..f1269dd14 100644 --- a/chart-sdk/asp-net-mvc/3d-circular-charts/title-and-subtitle.md +++ b/chart-sdk/asp-net-mvc/3d-circular-charts/title-and-subtitle.md @@ -1,13 +1,14 @@ --- layout: post -title: Title and Subtitle in ASP.NET MVC 3D Circular Charts | Syncfusion -description: Learn here all about title and subtitle in Syncfusion ASP.NET MVC 3D Circular Charts component of Syncfusion Essential JS 2 and more. +title: Title and subtitle in ASP.NET MVC Syncfusion 3D Circular Chart Component +description: Learn here all about title and subtitle in Syncfusion ASP.NET MVC 3D Circular Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Title and subtitle +publishingplatform: chart-sdk documentation: ug --- -# Title and Subtitle in ASP.NET MVC 3D Circular Charts +# Title and subtitle in ASP.NET MVC 3D Circular Chart Component ## Title diff --git a/chart-sdk/asp-net-mvc/3d-circular-charts/tooltip.md b/chart-sdk/asp-net-mvc/3d-circular-charts/tooltip.md index a73d84a66..8d9d4ecc6 100644 --- a/chart-sdk/asp-net-mvc/3d-circular-charts/tooltip.md +++ b/chart-sdk/asp-net-mvc/3d-circular-charts/tooltip.md @@ -1,14 +1,15 @@ --- layout: post -title: Tooltip in ASP.NET MVC 3D Circular Charts | Syncfusion -description: Learn here all about tooltip in Syncfusion ASP.NET MVC 3D Circular Charts component of Syncfusion Essential JS 2 and more. +title: Tooltip in ASP.NET MVC Syncfusion 3D Circular Chart Component +description: Learn here all about tooltip in Syncfusion ASP.NET MVC 3D Circular Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Tooltip +publishingplatform: chart-sdk documentation: ug --- -# Tooltip in ASP.NET MVC 3D Circular Charts +# Tooltip in ASP.NET MVC 3D Circular Chart component The 3D Circular Chart will display details about the points through a tooltip, when the mouse is moved over a specific point. By default, the tooltip is not visible. It can be enabled by using the `Enable` property in `Tooltip` to **true**. diff --git a/chart-sdk/asp-net-mvc/accumulation-charts/accessibility.md b/chart-sdk/asp-net-mvc/accumulation-charts/accessibility.md index 58c188465..5c3a806c9 100644 --- a/chart-sdk/asp-net-mvc/accumulation-charts/accessibility.md +++ b/chart-sdk/asp-net-mvc/accumulation-charts/accessibility.md @@ -1,14 +1,15 @@ --- layout: post -title: Accessibility in ASP.NET MVC Accumulation Charts | Syncfusion -description: Learn here all about Accessibility in Syncfusion ASP.NET MVC Accumulation Charts component of Syncfusion Essential JS 2 and more. +title: Accessibility in Syncfusion Accumulation chart Component +description: Learn here all about Accessibility in Syncfusion ASP MVC Accumulation Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Accessibility +publishingplatform: chart-sdk documentation: ug --- -# Accessibility in ASP.NET MVC Accumulation Charts +# Accessibility in ASP.NET MVC Accumulation chart component The Accumulation chart component followed the accessibility guidelines and standards, including [ADA](https://www.ada.gov/), [Section 508](https://www.section508.gov/), [WCAG 2.2](https://www.w3.org/TR/WCAG22/) standards, and [WCAG roles](https://www.w3.org/TR/wai-aria/#roles) that are commonly used to evaluate accessibility. diff --git a/chart-sdk/asp-net-mvc/accumulation-charts/advanced-accessibility-configuration.md b/chart-sdk/asp-net-mvc/accumulation-charts/advanced-accessibility-configuration.md index 1c6f63a00..c18d66a7e 100644 --- a/chart-sdk/asp-net-mvc/accumulation-charts/advanced-accessibility-configuration.md +++ b/chart-sdk/asp-net-mvc/accumulation-charts/advanced-accessibility-configuration.md @@ -1,14 +1,15 @@ --- layout: post -title: Advanced Accessibility in ASP.NET MVC Accumulation Charts | Syncfusion -description: Learn here all about Accessibility customization in Syncfusion ASP.NET MVC Accumulation Charts component of Syncfusion Essential JS 2 and more. +title: Accessibility customization in Syncfusion Accumulation chart Component +description: Learn here all about Accessibility customization in Syncfusion ASP MVC Accumulation Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Accessibility customization +publishingplatform: chart-sdk documentation: ug --- -# Advanced Accessibility Configuration in ASP.NET MVC Accumulation Chart +# Accessibility customization The Syncfusion® ASP.NET MVC Accumulation Chart component is structured to visualize data in a graphical manner. It provides robust customization options for accessibility, allowing you to enhance the user experience for those with disabilities. The main attributes of the ASP.NET MVC Accumulation Chart component's accessibility customization are briefly explained in this section. diff --git a/chart-sdk/asp-net-mvc/accumulation-charts/annotation.md b/chart-sdk/asp-net-mvc/accumulation-charts/annotation.md index e1ea9dffb..6c4a6ccd6 100644 --- a/chart-sdk/asp-net-mvc/accumulation-charts/annotation.md +++ b/chart-sdk/asp-net-mvc/accumulation-charts/annotation.md @@ -1,14 +1,15 @@ --- layout: post -title: Annotation in ASP.NET MVC Accumulation Charts | Syncfusion -description: Learn here all about Annotation in Syncfusion ASP.NET MVC Accumulation Charts component of Syncfusion Essential JS 2 and more. +title: Annotation in ASP.NET MVC Accumulation Chart Component +description: Learn here all about Annotation in Syncfusion ASP.NET MVC Accumulation Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Annotation +publishingplatform: chart-sdk documentation: ug --- -# Annotation in ASP.NET MVC Accumulation Charts +# Annotation The annotations are used to mark the specific area of interest in the chart area with texts, shapes or images. diff --git a/chart-sdk/asp-net-mvc/accumulation-charts/center-label.md b/chart-sdk/asp-net-mvc/accumulation-charts/center-label.md index 492a87095..1a2aab3a4 100644 --- a/chart-sdk/asp-net-mvc/accumulation-charts/center-label.md +++ b/chart-sdk/asp-net-mvc/accumulation-charts/center-label.md @@ -1,14 +1,15 @@ --- layout: post -title: Center Label in ASP.NET MVC Accumulation Charts | Syncfusion -description: Learn here all about Center Label in Syncfusion ASP.NET MVC Accumulation Charts component of Syncfusion Essential JS 2 and more. +title: Center Label in Syncfusion ASP.NET MVC Accumulation Chart +description: Learn here all about Center Label in Syncfusion ASP.NET MVC Accumulation Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Center Label +publishingplatform: chart-sdk documentation: ug --- -# Center Label in ASP.NET MVC Accumulation Charts +# Center label in ASP.NET MVC Accumulation Chart Component ## Center label diff --git a/chart-sdk/asp-net-mvc/accumulation-charts/chart-print.md b/chart-sdk/asp-net-mvc/accumulation-charts/chart-print.md index 7902a03d3..032b1e695 100644 --- a/chart-sdk/asp-net-mvc/accumulation-charts/chart-print.md +++ b/chart-sdk/asp-net-mvc/accumulation-charts/chart-print.md @@ -1,14 +1,15 @@ --- layout: post -title: Chart Print in ASP.NET MVC Accumulation Charts | Syncfusion -description: Learn here all about Chart Print in Syncfusion ASP.NET MVC Accumulation Charts component of Syncfusion Essential JS 2 and more. +title: Chart Print in ASP.NET MVC Accumulation Chart Component +description: Learn here all about Chart Print in Syncfusion ASP.NET MVC Accumulation Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Chart Print +publishingplatform: chart-sdk documentation: ug --- -# Print and Export in ASP.NET MVC Accumulation Charts +# Print and Export ## Print diff --git a/chart-sdk/asp-net-mvc/accumulation-charts/data-label.md b/chart-sdk/asp-net-mvc/accumulation-charts/data-label.md index be49abc7a..94d6f6dc2 100644 --- a/chart-sdk/asp-net-mvc/accumulation-charts/data-label.md +++ b/chart-sdk/asp-net-mvc/accumulation-charts/data-label.md @@ -1,14 +1,15 @@ --- layout: post -title: Data Label in ASP.NET MVC Accumulation Charts | Syncfusion -description: Learn here all about Data Label in Syncfusion ASP.NET MVC Accumulation Charts component of Syncfusion Essential JS 2 and more. +title: Data Label in Syncfusion ASP.NET MVC Accumulation Chart +description: Learn here all about Data Label in Syncfusion ASP.NET MVC Accumulation Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Data Label +publishingplatform: chart-sdk documentation: ug --- -# Data Label in ASP.NET MVC Accumulation Charts +# Data Label in ASP.NET MVC Accumulation Chart Component Data label can be added to a chart series by enabling the [`Visible`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.Charts.AccumulationDataLabelSettings.html#Syncfusion_EJ2_Charts_AccumulationDataLabelSettings_Visible) option in the dataLabel property. diff --git a/chart-sdk/asp-net-mvc/accumulation-charts/dynamic-data-update.md b/chart-sdk/asp-net-mvc/accumulation-charts/dynamic-data-update.md index a3d1ef1ae..37c692bf0 100644 --- a/chart-sdk/asp-net-mvc/accumulation-charts/dynamic-data-update.md +++ b/chart-sdk/asp-net-mvc/accumulation-charts/dynamic-data-update.md @@ -1,14 +1,15 @@ --- layout: post -title: Dynamic Data Update in ASP.NET MVC Accumulation Charts | Syncfusion -description: Learn here all about dynamic data update in Syncfusion ASP.NET MVC Accumulation Charts component of Syncfusion Essential JS 2 and more. +title: Dynamic data update in ASP.NET MVC Syncfusion Accumulation Chart Component +description: Learn here all about dynamic data update in Syncfusion ASP.NET MVC Accumulation Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Dynamic Data Update +publishingplatform: chart-sdk documentation: ug --- -# Dynamic Data Update in ASP.NET MVC Accumulation Charts +# Dynamic data update in ASP.NET MVC Accumulation Chart Component ## Adding a new data point diff --git a/chart-sdk/asp-net-mvc/accumulation-charts/ej1-api-migration.md b/chart-sdk/asp-net-mvc/accumulation-charts/ej1-api-migration.md index b3354aa5d..58a2acaaf 100644 --- a/chart-sdk/asp-net-mvc/accumulation-charts/ej1-api-migration.md +++ b/chart-sdk/asp-net-mvc/accumulation-charts/ej1-api-migration.md @@ -1,14 +1,15 @@ --- layout: post -title: EJ1 API Migration in ASP.NET MVC Accumulation Charts | Syncfusion -description: Learn here all about Ej1 Api Migration in Syncfusion ASP.NET MVC Accumulation Charts component of Syncfusion Essential JS 2 and more. +title: Ej1 Api Migration in ASP.NET MVC Accumulation Chart Component +description: Learn here all about Ej1 Api Migration in Syncfusion ASP.NET MVC Accumulation Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Ej1 Api Migration +publishingplatform: chart-sdk documentation: ug --- -# EJ1 API Migration in ASP.NET MVC Accumulation Charts +# Migration from Essential® JS 1 This article describes the API migration process of Accumulation chart component from Essential® JS 1 to Essential® JS 2. diff --git a/chart-sdk/asp-net-mvc/accumulation-charts/empty-points.md b/chart-sdk/asp-net-mvc/accumulation-charts/empty-points.md index 21a573d38..cef8ce326 100644 --- a/chart-sdk/asp-net-mvc/accumulation-charts/empty-points.md +++ b/chart-sdk/asp-net-mvc/accumulation-charts/empty-points.md @@ -1,14 +1,15 @@ --- layout: post -title: Empty Points in ASP.NET MVC Accumulation Charts | Syncfusion -description: Learn here all about Empty Points in Syncfusion ASP.NET MVC Accumulation Charts component of Syncfusion Essential JS 2 and more. +title: Empty Points in ASP.NET MVC Accumulation Chart Component +description: Learn here all about Empty Points in Syncfusion ASP.NET MVC Accumulation Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Empty Points +publishingplatform: chart-sdk documentation: ug --- -# Empty Points in ASP.NET MVC Accumulation Charts +# Empty Points The data points those uses the `null` or `undefined` as value are considered as empty points. The empty data points are ignored and not plotted in the chart. You can customize those points, using the `EmptyPointSettings` property in series. The default mode of the empty point is `Gap`. Other supported modes are `Average` and `Zero`. diff --git a/chart-sdk/asp-net-mvc/accumulation-charts/funnel.md b/chart-sdk/asp-net-mvc/accumulation-charts/funnel.md index f03322bd1..c488cebbe 100644 --- a/chart-sdk/asp-net-mvc/accumulation-charts/funnel.md +++ b/chart-sdk/asp-net-mvc/accumulation-charts/funnel.md @@ -1,14 +1,15 @@ --- layout: post -title: Funnel in ASP.NET MVC Accumulation Charts | Syncfusion -description: Learn here all about Funnel in Syncfusion ASP.NET MVC Accumulation Charts component of Syncfusion Essential JS 2 and more. +title: Funnel in ASP.NET MVC Accumulation Chart Component | Syncfusion +description: Learn here all about Funnel in Syncfusion ASP.NET MVC Accumulation Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Funnel +publishingplatform: chart-sdk documentation: ug --- -# Funnel in ASP.NET MVC Accumulation Charts +# Funnel chart in ASP.NET MVC Accumulation Chart Component To render a funnel series, use the series [`Type`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.Charts.AccumulationSeries.html#Syncfusion_EJ2_Charts_AccumulationSeries_Type) as `Funnel`. @@ -149,5 +150,5 @@ The `Trapezoidal` mode is a modified funnel shape where the width narrows, but f ## See also -* [Data label](./data-label) -* [Grouping](./grouping) +* [Data label](./data-label/) +* [Grouping](./grouping/) diff --git a/chart-sdk/asp-net-mvc/accumulation-charts/getting-started.md b/chart-sdk/asp-net-mvc/accumulation-charts/getting-started.md index 2794532d5..df021ea1c 100644 --- a/chart-sdk/asp-net-mvc/accumulation-charts/getting-started.md +++ b/chart-sdk/asp-net-mvc/accumulation-charts/getting-started.md @@ -1,15 +1,16 @@ --- layout: post -title: Getting Started with ASP.NET MVC Accumulation Charts | Syncfusion -description: Checkout and learn about getting started with ASP.NET MVC Accumulation Charts control of Syncfusion Essential JS 2 and more details. +title: Getting Started with ASP.NET MVC Accumulation Chart | Syncfusion +description: Check out and learn about getting started with ASP.NET MVC Accumulation Chart control of Syncfusion Essential JS 2 and more details. platform: chart-sdk control: Getting Started +publishingplatform: chart-sdk documentation: ug --- -# Getting Started with the ASP.NET MVC Accumulation Charts +# Getting Started with the ASP.NET MVC Accumulation Chart Control This section briefly explains how to add the Syncfusion® [ASP.NET MVC Accumulation Chart](https://www.syncfusion.com/aspnet-mvc-ui-controls/charts) control to an ASP.NET MVC application using Visual Studio. diff --git a/chart-sdk/asp-net-mvc/accumulation-charts/gradient.md b/chart-sdk/asp-net-mvc/accumulation-charts/gradient.md index c0efaddec..54f329252 100644 --- a/chart-sdk/asp-net-mvc/accumulation-charts/gradient.md +++ b/chart-sdk/asp-net-mvc/accumulation-charts/gradient.md @@ -1,14 +1,15 @@ --- layout: post -title: Gradient in ASP.NET MVC Accumulation Charts | Syncfusion -description: Learn here all about Gradient in Syncfusion ASP.NET MVC Accumulation Charts component of Syncfusion Essential JS 2 and more. +title: Gradient in ASP.NET MVC Syncfusion Accumulation Chart Component +description: Learn here all about Gradient in Syncfusion ASP.NET MVC Accumulation Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Gradient +publishingplatform: chart-sdk documentation: ug --- -# Gradient in ASP.NET MVC Accumulation Charts +# Gradient in ASP.NET MVC Accumulation Chart Component Gradients add depth and modern styling to charts by smoothly blending multiple colors. The Charts component supports two gradient types: diff --git a/chart-sdk/asp-net-mvc/accumulation-charts/grouping.md b/chart-sdk/asp-net-mvc/accumulation-charts/grouping.md index b7501e9c4..dac04f060 100644 --- a/chart-sdk/asp-net-mvc/accumulation-charts/grouping.md +++ b/chart-sdk/asp-net-mvc/accumulation-charts/grouping.md @@ -1,15 +1,16 @@ --- layout: post -title: Grouping in ASP.NET MVC Accumulation Charts | Syncfusion -description: Learn here all about Grouping in Syncfusion ASP.NET MVC Accumulation Charts component of Syncfusion Essential JS 2 and more. +title: Grouping in ASP.NET MVC Accumulation Chart Component +description: Learn here all about Grouping in Syncfusion ASP.NET MVC Accumulation Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Grouping +publishingplatform: chart-sdk documentation: ug --- -# Grouping in ASP.NET MVC Accumulation Charts +# Grouping You can club/group few points of the series based on [`GroupTo`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.Charts.AccumulationSeries.html#Syncfusion_EJ2_Charts_AccumulationSeries_GroupTo) property. For example, if the club value is 11, then the points with value less than 11 is grouped together and will be showed as a single point with label `others`. The property also takes value in percentage (percentage of total data points value). diff --git a/chart-sdk/asp-net-mvc/accumulation-charts/images/nodatatemplate-accumulationchart.png b/chart-sdk/asp-net-mvc/accumulation-charts/images/nodatatemplate-accumulationchart.png index 8eb6eb2e2..fb7d5eee1 100644 Binary files a/chart-sdk/asp-net-mvc/accumulation-charts/images/nodatatemplate-accumulationchart.png and b/chart-sdk/asp-net-mvc/accumulation-charts/images/nodatatemplate-accumulationchart.png differ diff --git a/chart-sdk/asp-net-mvc/accumulation-charts/legend.md b/chart-sdk/asp-net-mvc/accumulation-charts/legend.md index 459c1476b..5f33031ff 100644 --- a/chart-sdk/asp-net-mvc/accumulation-charts/legend.md +++ b/chart-sdk/asp-net-mvc/accumulation-charts/legend.md @@ -1,14 +1,15 @@ --- layout: post -title: Legend in ASP.NET MVC Accumulation Charts | Syncfusion -description: Learn here all about Legend in Syncfusion ASP.NET MVC Accumulation Charts component of Syncfusion Essential JS 2 and more. +title: Legend in ASP.NET MVC Syncfusion Accumulation Chart Component +description: Learn here all about Legend in Syncfusion ASP.NET MVC Accumulation Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Legend +publishingplatform: chart-sdk documentation: ug --- -# Legend in ASP.NET MVC Accumulation Charts +# Legend in ASP.NET MVC Accumulation Chart Component As like a chart, the legend is also available for accumulation charts, which gives information about the points. By default, the legend will be placed on the right, if the width of the chart is high or will be placed on the bottom, if the height of the chart is high. Other customization features regarding the legend element are same as the [`chart legend`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.Charts.ChartLegendSettings.html). Here, the legend for a point can be collapsed by giving the empty string to the x value of the point. diff --git a/chart-sdk/asp-net-mvc/accumulation-charts/pie-dough-nut.md b/chart-sdk/asp-net-mvc/accumulation-charts/pie-dough-nut.md index cd48c6ceb..cc756aebf 100644 --- a/chart-sdk/asp-net-mvc/accumulation-charts/pie-dough-nut.md +++ b/chart-sdk/asp-net-mvc/accumulation-charts/pie-dough-nut.md @@ -1,14 +1,15 @@ --- layout: post -title: Pie and Doughnut in ASP.NET MVC Accumulation Charts | Syncfusion -description: Learn here all about Pie Dough Nut in Syncfusion ASP.NET MVC Accumulation Charts component of Syncfusion Essential JS 2 and more. +title: Syncfusion Pie Dough Nut in ASP.NET MVC Accumulation Chart Component +description: Learn here all about Pie Dough Nut in Syncfusion ASP.NET MVC Accumulation Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Pie Dough Nut +publishingplatform: chart-sdk documentation: ug --- -# Pie and Doughnut in ASP.NET MVC Accumulation Charts +# Pie & Doughnut in ASP.NET MVC Accumulation Chart Component ## Pie Chart diff --git a/chart-sdk/asp-net-mvc/accumulation-charts/pyramid.md b/chart-sdk/asp-net-mvc/accumulation-charts/pyramid.md index ba239d6d1..ef7ffbd30 100644 --- a/chart-sdk/asp-net-mvc/accumulation-charts/pyramid.md +++ b/chart-sdk/asp-net-mvc/accumulation-charts/pyramid.md @@ -1,14 +1,15 @@ --- layout: post -title: Pyramid in ASP.NET MVC Accumulation Charts | Syncfusion -description: Learn here all about Pyramid in Syncfusion ASP.NET MVC Accumulation Charts component of Syncfusion Essential JS 2 and more. +title: Pyramid in ASP.NET MVC Accumulation Chart Component +description: Learn here all about Pyramid in Syncfusion ASP.NET MVC Accumulation Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Pyramid +publishingplatform: chart-sdk documentation: ug --- -# Pyramid in ASP.NET MVC Accumulation Charts +# Pyramid Chart To render a pyramid series, use the series [`Type`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.Charts.AccumulationSeries.html#Syncfusion_EJ2_Charts_AccumulationSeries_Type) as `Pyramid`. @@ -100,5 +101,5 @@ Individual points can be customized using the `PointRender` event. ## See Also -* [Data label](./data-label) -* [Grouping](./grouping) \ No newline at end of file +* [Data label](./data-label/) +* [Grouping](./grouping/) \ No newline at end of file diff --git a/chart-sdk/asp-net-mvc/accumulation-charts/title-and-sub-title.md b/chart-sdk/asp-net-mvc/accumulation-charts/title-and-sub-title.md index 6d4625659..2f7845555 100644 --- a/chart-sdk/asp-net-mvc/accumulation-charts/title-and-sub-title.md +++ b/chart-sdk/asp-net-mvc/accumulation-charts/title-and-sub-title.md @@ -1,15 +1,16 @@ --- layout: post -title: Title and Subtitle in ASP.NET MVC Accumulation Charts | Syncfusion -description: Learn here all about Title And Sub Title in Syncfusion ASP.NET MVC Accumulation Charts component of Syncfusion Essential JS 2 and more. +title: Title And Sub Title in ASP.NET MVC Accumulation Chart Component | Syncfusion +description: Learn here all about Title And Sub Title in Syncfusion ASP.NET MVC Accumulation Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Title And Sub Title +publishingplatform: chart-sdk documentation: ug --- -# Title and Subtitle in ASP.NET MVC Accumulation Charts +# Title in ASP.NET MVC Accumulation Chart Component Accumulation Chart can be given a title using [`Title`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.Charts.AccumulationChart.html#Syncfusion_EJ2_Charts_AccumulationChart_Title) property, to show the information about the data plotted. diff --git a/chart-sdk/asp-net-mvc/accumulation-charts/tool-tip.md b/chart-sdk/asp-net-mvc/accumulation-charts/tool-tip.md index f566ad862..f9c9d7869 100644 --- a/chart-sdk/asp-net-mvc/accumulation-charts/tool-tip.md +++ b/chart-sdk/asp-net-mvc/accumulation-charts/tool-tip.md @@ -1,14 +1,15 @@ --- layout: post -title: Tooltip in ASP.NET MVC Accumulation Charts | Syncfusion -description: Learn here all about Tool Tip in Syncfusion ASP.NET MVC Accumulation Charts component of Syncfusion Essential JS 2 and more. +title: Tool Tip in ASP.NET MVC Syncfusion Accumulation Chart Component +description: Learn here all about Tool Tip in Syncfusion ASP.NET MVC Accumulation Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Tool Tip +publishingplatform: chart-sdk documentation: ug --- -# Tooltip in ASP.NET MVC Accumulation Charts +# Tooltip in ASP.NET MVC Accumulation chart component Tooltip for the accumulation chart can be enabled by using the [`Enable`](https://help.syncfusion.com/cr/aspnetmvc-js2/Syncfusion.EJ2.Charts.AccumulationChartTooltipSettings.html#Syncfusion_EJ2_Charts_AccumulationChartTooltipSettings_Enable) property. diff --git a/chart-sdk/asp-net-mvc/bullet-chart/accessibility.md b/chart-sdk/asp-net-mvc/bullet-chart/accessibility.md index ba754be3a..4736bb001 100644 --- a/chart-sdk/asp-net-mvc/bullet-chart/accessibility.md +++ b/chart-sdk/asp-net-mvc/bullet-chart/accessibility.md @@ -1,14 +1,15 @@ --- layout: post -title: Accessibility in ASP.NET MVC Bullet Chart | Syncfusion -description: Learn here all about Accessibility in Syncfusion ASP.NET MVC Bullet Chart component of Syncfusion Essential JS 2 and more. +title: Accessibility in Syncfusion Bullet Chart Component +description: Learn here all about Accessibility in Syncfusion ASP MVC Bullet Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Accessibility +publishingplatform: chart-sdk documentation: ug --- -# Accessibility in ASP.NET MVC Bullet Chart +# Accessibility in ASP.NET MVC Bullet chart component The Bullet chart component followed the accessibility guidelines and standards, including [ADA](https://www.ada.gov/), [Section 508](https://www.section508.gov/), [WCAG 2.2](https://www.w3.org/TR/WCAG22/) standards, and [WCAG roles](https://www.w3.org/TR/wai-aria/#roles) that are commonly used to evaluate accessibility. diff --git a/chart-sdk/asp-net-mvc/bullet-chart/axis-customization.md b/chart-sdk/asp-net-mvc/bullet-chart/axis-customization.md index 4a18a7843..d3f9f099d 100644 --- a/chart-sdk/asp-net-mvc/bullet-chart/axis-customization.md +++ b/chart-sdk/asp-net-mvc/bullet-chart/axis-customization.md @@ -1,14 +1,15 @@ --- layout: post -title: Axis Customization in ASP.NET MVC Bullet Chart | Syncfusion +title: Axis Customization in ASP.NET MVC Bullet Chart Component description: Learn here all about Axis Customization in Syncfusion ASP.NET MVC Bullet Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Axis Customization +publishingplatform: chart-sdk documentation: ug --- -# Axis Customization in ASP.NET MVC Bullet Chart +# Axis customization ## MajorTickLines and MinorTickLines customization diff --git a/chart-sdk/asp-net-mvc/bullet-chart/bullet-chart-dimensions.md b/chart-sdk/asp-net-mvc/bullet-chart/bullet-chart-dimensions.md index 0690adbd3..a5eb84fb9 100644 --- a/chart-sdk/asp-net-mvc/bullet-chart/bullet-chart-dimensions.md +++ b/chart-sdk/asp-net-mvc/bullet-chart/bullet-chart-dimensions.md @@ -1,14 +1,15 @@ --- layout: post -title: Dimensions in ASP.NET MVC Bullet Chart | Syncfusion +title: Bullet Chart Dimensions in ASP.NET MVC Bullet Chart Component description: Learn here all about Bullet Chart Dimensions in Syncfusion ASP.NET MVC Bullet Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Bullet Chart Dimensions +publishingplatform: chart-sdk documentation: ug --- -# Dimensions in ASP.NET MVC Bullet Chart +# Bullet chart dimensions ## Size for container diff --git a/chart-sdk/asp-net-mvc/bullet-chart/comparative-bar.md b/chart-sdk/asp-net-mvc/bullet-chart/comparative-bar.md index 5c08e1fb0..093632d73 100644 --- a/chart-sdk/asp-net-mvc/bullet-chart/comparative-bar.md +++ b/chart-sdk/asp-net-mvc/bullet-chart/comparative-bar.md @@ -1,14 +1,15 @@ --- layout: post -title: Target Bar in ASP.NET MVC Bullet Chart | Syncfusion +title: Comparative Bar in ASP.NET MVC Bullet Chart Component description: Learn here all about Comparative Bar in Syncfusion ASP.NET MVC Bullet Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Comparative Bar +publishingplatform: chart-sdk documentation: ug --- -# Target Bar in ASP.NET MVC Bullet Chart +# Target bar The line marker that runs perpendicular to the orientation of the graph is known as the **Comparative Measure** and it is used as a target marker to compare against the feature measure value. This is also called as the **Target Bar** in the Bullet Chart. To display the target bar, the [`TargetField`](https://help.syncfusion.com/cr/aspnetmvc-js2/syncfusion.ej2.charts.bulletchart.html#Syncfusion_EJ2_Charts_BulletChart_TargetField) should be mapped to the appropriate field from the datasource. diff --git a/chart-sdk/asp-net-mvc/bullet-chart/customization.md b/chart-sdk/asp-net-mvc/bullet-chart/customization.md index 471e3e754..f57cc13e4 100644 --- a/chart-sdk/asp-net-mvc/bullet-chart/customization.md +++ b/chart-sdk/asp-net-mvc/bullet-chart/customization.md @@ -1,14 +1,15 @@ --- layout: post -title: Customization in ASP.NET MVC Bullet Chart | Syncfusion +title: Customization in ASP.NET MVC Bullet Chart Component description: Learn here all about Customization in Syncfusion ASP.NET MVC Bullet Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Customization +publishingplatform: chart-sdk documentation: ug --- -# Customization in ASP.NET MVC Bullet Chart +# Customization ## Orientation diff --git a/chart-sdk/asp-net-mvc/bullet-chart/data-binding.md b/chart-sdk/asp-net-mvc/bullet-chart/data-binding.md index ac2b4f98f..7c08ec834 100644 --- a/chart-sdk/asp-net-mvc/bullet-chart/data-binding.md +++ b/chart-sdk/asp-net-mvc/bullet-chart/data-binding.md @@ -1,14 +1,15 @@ --- layout: post -title: Data Binding in ASP.NET MVC Bullet Chart | Syncfusion +title: Data Binding in ASP.NET MVC Bullet Chart Component description: Learn here all about Data Binding in Syncfusion ASP.NET MVC Bullet Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Data Binding +publishingplatform: chart-sdk documentation: ug --- -# Data Binding in ASP.NET MVC Bullet Chart +# Working with data Bullet Chart can visualise data bound from local or remote data. diff --git a/chart-sdk/asp-net-mvc/bullet-chart/data-label.md b/chart-sdk/asp-net-mvc/bullet-chart/data-label.md index 5889da57a..00248ab29 100644 --- a/chart-sdk/asp-net-mvc/bullet-chart/data-label.md +++ b/chart-sdk/asp-net-mvc/bullet-chart/data-label.md @@ -1,14 +1,15 @@ --- layout: post -title: Data Label in ASP.NET MVC Bullet Chart | Syncfusion +title: Data Label in ASP.NET MVC Bullet Chart Component description: Learn here all about Data Label in Syncfusion ASP.NET MVC Bullet Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Data Label +publishingplatform: chart-sdk documentation: ug --- -# Data Label in ASP.NET MVC Bullet Chart +# Data label Data Labels are used to identify the value of actual bar in the Bullet Chart component. The Data Labels will be shown by specifying the [`DataLabel`](https://help.syncfusion.com/cr/aspnetmvc-js2/Syncfusion.EJ2.Charts.BulletChart.html#Syncfusion_EJ2_Charts_BulletChart_DataLabel) setting's [`Enable`](https://help.syncfusion.com/cr/aspnetmvc-js2/Syncfusion.EJ2.Charts.BulletChartBulletDataLabel.html#Syncfusion_EJ2_Charts_BulletChartBulletDataLabel_Enable) property to **true**. diff --git a/chart-sdk/asp-net-mvc/bullet-chart/getting-started.md b/chart-sdk/asp-net-mvc/bullet-chart/getting-started.md index c91716828..c335a0c3e 100644 --- a/chart-sdk/asp-net-mvc/bullet-chart/getting-started.md +++ b/chart-sdk/asp-net-mvc/bullet-chart/getting-started.md @@ -1,13 +1,14 @@ --- layout: post -title: Getting Started with ASP.NET MVC BulletChart |Syncfusion -description: Checkout and learn about getting started with ASP.NET MVC BulletChart control of Syncfusion Essential JS 2 and more details. +title: Getting Started with ASP.NET MVC Bullet Chart Control | Syncfusion +description: Check out and learn about getting started with ASP.NET MVC Bullet Chart control of Syncfusion Essential JS 2 and more details. platform: chart-sdk control: Getting Started +publishingplatform: chart-sdk documentation: ug --- -# Getting Started with ASP.NET MVC Bullet Chart +# Getting Started with the ASP.NET MVC Bullet Chart Control This section briefly explains how to add the Syncfusion® [ASP.NET MVC Bullet Chart](https://www.syncfusion.com/aspnet-mvc-ui-controls/bullet-chart) control to an ASP.NET MVC 5 (.NET Framework) application using Visual Studio. diff --git a/chart-sdk/asp-net-mvc/bullet-chart/ranges.md b/chart-sdk/asp-net-mvc/bullet-chart/ranges.md index 8358e755f..a212118de 100644 --- a/chart-sdk/asp-net-mvc/bullet-chart/ranges.md +++ b/chart-sdk/asp-net-mvc/bullet-chart/ranges.md @@ -1,14 +1,15 @@ --- layout: post -title: Ranges in ASP.NET MVC Bullet Chart | Syncfusion +title: Ranges in ASP.NET MVC Bullet Chart Component description: Learn here all about Ranges in Syncfusion ASP.NET MVC Bullet Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Ranges +publishingplatform: chart-sdk documentation: ug --- -# Ranges in ASP.NET MVC Bullet Chart +# Ranges Ranges represent the quality of a specific range such as **Good**, **Bad** and **Satisfactory** in the Bullet Chart scale. The ending point of a qualitative range is specified in the [`End`](https://help.syncfusion.com/cr/aspnetmvc-js2/Syncfusion.EJ2.Charts.Range.html#Syncfusion_EJ2_Charts_Range_End) property in [`Ranges`](https://help.syncfusion.com/cr/aspnetmvc-js2/Syncfusion.EJ2.Charts.BulletChart.html#Syncfusion_EJ2_Charts_BulletChart_Ranges). The [`Minimum`](https://help.syncfusion.com/cr/aspnetmvc-js2/Syncfusion.EJ2.Charts.BulletChart.html#Syncfusion_EJ2_Charts_BulletChart_Minimum) value of a quantitative scale is considered the starting point of the first range or the previous range end point. diff --git a/chart-sdk/asp-net-mvc/bullet-chart/title.md b/chart-sdk/asp-net-mvc/bullet-chart/title.md index 0be406eb5..f3eb8a9f5 100644 --- a/chart-sdk/asp-net-mvc/bullet-chart/title.md +++ b/chart-sdk/asp-net-mvc/bullet-chart/title.md @@ -1,14 +1,15 @@ --- layout: post -title: Title and Subtitle in ASP.NET MVC Bullet Chart | Syncfusion +title: Title in ASP.NET MVC Bullet Chart Component description: Learn here all about Title in Syncfusion ASP.NET MVC Bullet Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Title +publishingplatform: chart-sdk documentation: ug --- -# Title and Subtitle in ASP.NET MVC Bullet Chart +# Title and subtitle ## Title diff --git a/chart-sdk/asp-net-mvc/bullet-chart/tool-tip.md b/chart-sdk/asp-net-mvc/bullet-chart/tool-tip.md index fe7c6c1a2..be0f996b5 100644 --- a/chart-sdk/asp-net-mvc/bullet-chart/tool-tip.md +++ b/chart-sdk/asp-net-mvc/bullet-chart/tool-tip.md @@ -1,14 +1,15 @@ --- layout: post -title: Tooltip in ASP.NET MVC Bullet Chart | Syncfusion +title: Tooltip in ASP.NET MVC Bullet Chart Component description: Learn here all about Tooltip in Syncfusion ASP.NET MVC Bullet Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Tooltip +publishingplatform: chart-sdk documentation: ug --- -# Tooltip in ASP.NET MVC Bullet Chart +# Tooltip When the mouse is hovered over a bar in the Bullet Chart, the tooltip displays important summary about the actual and the target bar values. diff --git a/chart-sdk/asp-net-mvc/bullet-chart/value-bar.md b/chart-sdk/asp-net-mvc/bullet-chart/value-bar.md index ce346f711..de18eb0a7 100644 --- a/chart-sdk/asp-net-mvc/bullet-chart/value-bar.md +++ b/chart-sdk/asp-net-mvc/bullet-chart/value-bar.md @@ -1,14 +1,15 @@ --- layout: post -title: Actual Bar in ASP.NET MVC Bullet Chart | Syncfusion +title: Value Bar in ASP.NET MVC Bullet Chart Component description: Learn here all about Value Bar in Syncfusion ASP.NET MVC Bullet Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Value Bar +publishingplatform: chart-sdk documentation: ug --- -# Actual Bar in ASP.NET MVC Bullet Chart +# Actual bar To display the primary data or the current value of the data being measured known as the **Feature Measure** that should be encoded as a bar. This is called as the **Actual Bar** or the **Feature Bar** in the Bullet Chart, and to display the actual bar the [`ValueField`](https://help.syncfusion.com/cr/aspnetmvc-js2/syncfusion.ej2.charts.bulletchart.html#Syncfusion_EJ2_Charts_BulletChart_ValueField) should be mapped to the appropriate field from the data source. diff --git a/chart-sdk/asp-net-mvc/charts/accessibility.md b/chart-sdk/asp-net-mvc/charts/accessibility.md index 8fb6534cb..61ff7fe4a 100644 --- a/chart-sdk/asp-net-mvc/charts/accessibility.md +++ b/chart-sdk/asp-net-mvc/charts/accessibility.md @@ -1,14 +1,15 @@ --- layout: post -title: Accessibility in ASP.NET MVC Charts | Syncfusion -description: Learn here all about Accessibility in Syncfusion ASP.NET MVC Charts component of Syncfusion Essential JS 2 and more. +title: Accessibility in Syncfusion Chart Component +description: Learn here all about Accessibility in Syncfusion ASP MVC Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Accessibility +publishingplatform: chart-sdk documentation: ug --- -# Accessibility in ASP.NET MVC Charts +# Accessibility in ASP.NET MVC Chart component The Chart component followed the accessibility guidelines and standards, including [ADA](https://www.ada.gov/), [Section 508](https://www.section508.gov/), [WCAG 2.2](https://www.w3.org/TR/WCAG22/) standards, and [WCAG roles](https://www.w3.org/TR/wai-aria/#roles) that are commonly used to evaluate accessibility. diff --git a/chart-sdk/asp-net-mvc/charts/advanced-accessibility-configuration.md b/chart-sdk/asp-net-mvc/charts/advanced-accessibility-configuration.md index 680977541..8aa97805e 100644 --- a/chart-sdk/asp-net-mvc/charts/advanced-accessibility-configuration.md +++ b/chart-sdk/asp-net-mvc/charts/advanced-accessibility-configuration.md @@ -1,14 +1,15 @@ --- layout: post -title: Accessibility Customization in ASP.NET MVC Charts | Syncfusion -description: Learn here all about Accessibility customization in Syncfusion ASP.NET MVC Charts component of Syncfusion Essential JS 2 and more. +title: Accessibility customization in Syncfusion Accumulation chart Component +description: Learn here all about Accessibility customization in Syncfusion ASP MVC Accumulation Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Accessibility customization +publishingplatform: chart-sdk documentation: ug --- -# Accessibility Customization in ASP.NET MVC Charts +# Accessibility customization in ASP.NET MVC Chart component The Syncfusion® ASP.NET MVC Chart component is structured to visualize data in a graphical manner. It provides robust customization options for accessibility, allowing you to enhance the user experience for those with disabilities. The main attributes of the ASP.NET MVC Chart component's accessibility customization are briefly explained in this section. diff --git a/chart-sdk/asp-net-mvc/charts/axis-customization.md b/chart-sdk/asp-net-mvc/charts/axis-customization.md index cfe60d12e..b91c24ad5 100644 --- a/chart-sdk/asp-net-mvc/charts/axis-customization.md +++ b/chart-sdk/asp-net-mvc/charts/axis-customization.md @@ -1,14 +1,15 @@ --- layout: post -title: Axis Customization in ASP.NET MVC Charts | Syncfusion -description: Learn here all about Axis Customization in Syncfusion ASP.NET MVC Charts component of Syncfusion Essential JS 2 and more. +title: Axis Customization in ASP.NET MVC Syncfusion Chart Component +description: Learn here all about Axis Customization in Syncfusion ASP.NET MVC Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Axis Customization +publishingplatform: chart-sdk documentation: ug --- -# Axis Customization in ASP.NET MVC Charts +# Axis Customization in ASP.NET MVC Chart Component ## Axis Crossing diff --git a/chart-sdk/asp-net-mvc/charts/axis-labels.md b/chart-sdk/asp-net-mvc/charts/axis-labels.md index 206a0d10c..a216a718d 100644 --- a/chart-sdk/asp-net-mvc/charts/axis-labels.md +++ b/chart-sdk/asp-net-mvc/charts/axis-labels.md @@ -1,14 +1,15 @@ --- layout: post -title: Axis Labels in ASP.NET MVC Charts | Syncfusion -description: Learn here all about Axis Labels in Syncfusion ASP.NET MVC Charts component of Syncfusion Essential JS 2 and more. +title: Axis Labels in Syncfusion ASP.NET MVC Chart Component +description: Learn here all about Axis Labels in Syncfusion ASP.NET MVC Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Axis Labels +publishingplatform: chart-sdk documentation: ug --- -# Axis Labels in ASP.NET MVC Charts +# Axis Labels in ASP.NET MVC Chart Component ## Smart Axis Labels diff --git a/chart-sdk/asp-net-mvc/charts/category-axis.md b/chart-sdk/asp-net-mvc/charts/category-axis.md index f90ffeac8..16f97517b 100644 --- a/chart-sdk/asp-net-mvc/charts/category-axis.md +++ b/chart-sdk/asp-net-mvc/charts/category-axis.md @@ -1,14 +1,15 @@ --- layout: post -title: Category Axis in ASP.NET MVC Charts | Syncfusion -description: Learn here all about Category Axis in Syncfusion ASP.NET MVC Charts component of Syncfusion Essential JS 2 and more. +title: Category Axis in ASP.NET MVC Chart Component +description: Learn here all about Category Axis in Syncfusion ASP.NET MVC Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Category Axis +publishingplatform: chart-sdk documentation: ug --- -# Category Axis in ASP.NET MVC Charts +# Category Axis diff --git a/chart-sdk/asp-net-mvc/charts/chart-annotations.md b/chart-sdk/asp-net-mvc/charts/chart-annotations.md index 49dc9d927..43b4770f8 100644 --- a/chart-sdk/asp-net-mvc/charts/chart-annotations.md +++ b/chart-sdk/asp-net-mvc/charts/chart-annotations.md @@ -1,14 +1,15 @@ --- layout: post -title: Chart Annotations in ASP.NET MVC Charts | Syncfusion -description: Learn here all about Chart Annotations in Syncfusion ASP.NET MVC Charts component of Syncfusion Essential JS 2 and more. +title: Chart Annotations in ASP.NET MVC Chart Component +description: Learn here all about Chart Annotations in Syncfusion ASP.NET MVC Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Chart Annotations +publishingplatform: chart-sdk documentation: ug --- -# Chart Annotations in ASP.NET MVC Charts +# Annotation Annotations are used to mark the specific area of interest in the chart area with texts, shapes or images. diff --git a/chart-sdk/asp-net-mvc/charts/chart-appearance.md b/chart-sdk/asp-net-mvc/charts/chart-appearance.md index 40e4bb446..d3bd43b6f 100644 --- a/chart-sdk/asp-net-mvc/charts/chart-appearance.md +++ b/chart-sdk/asp-net-mvc/charts/chart-appearance.md @@ -1,14 +1,15 @@ --- layout: post -title: Chart Appearance in ASP.NET MVC Charts | Syncfusion -description: Learn here all about Chart Appearance in Syncfusion ASP.NET MVC Charts component of Syncfusion Essential JS 2 and more. +title: Chart Appearance in Syncfusion Chart Component +description: Learn here all about Chart Appearance in Syncfusion ASP MVC Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Chart Appearance +publishingplatform: chart-sdk documentation: ug --- -# Appearance in ASP.NET MVC Charts component +# Appearance in MVC Chart component ## Chart theme customization diff --git a/chart-sdk/asp-net-mvc/charts/chart-dimensions.md b/chart-sdk/asp-net-mvc/charts/chart-dimensions.md index 0a306feb7..66ac723af 100644 --- a/chart-sdk/asp-net-mvc/charts/chart-dimensions.md +++ b/chart-sdk/asp-net-mvc/charts/chart-dimensions.md @@ -1,14 +1,15 @@ --- layout: post -title: Chart Dimensions in ASP.NET MVC Charts | Syncfusion -description: Learn here all about Chart Dimensions in Syncfusion ASP.NET MVC Charts component of Syncfusion Essential JS 2 and more. +title: Chart Dimensions in ASP.NET MVC Chart Component +description: Learn here all about Chart Dimensions in Syncfusion ASP.NET MVC Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Chart Dimensions +publishingplatform: chart-sdk documentation: ug --- -# Chart Dimensions in ASP.NET MVC Charts +# Chart Dimensions ## Size for Container diff --git a/chart-sdk/asp-net-mvc/charts/chart-print.md b/chart-sdk/asp-net-mvc/charts/chart-print.md index 2c9879b45..6c785e9d4 100644 --- a/chart-sdk/asp-net-mvc/charts/chart-print.md +++ b/chart-sdk/asp-net-mvc/charts/chart-print.md @@ -1,13 +1,14 @@ --- layout: post -title: Chart Print and Export in ASP.NET MVC Charts | Syncfusion -description: Learn here all about Chart Print and Export in Syncfusion ASP.NET MVC Charts component of Syncfusion Essential JS 2 and more. +title: Chart Print in Syncfusion ASP.NET MVC Chart Component +description: Learn here all about Chart Print in Syncfusion ASP.NET MVC Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Chart print +publishingplatform: chart-sdk documentation: ug --- -# Print and Export in ASP.NET MVC Charts component +# Print and Export in ASP.NET Core Chart component ## Print diff --git a/chart-sdk/asp-net-mvc/charts/chart-series.md b/chart-sdk/asp-net-mvc/charts/chart-series.md index 460e0e7db..a55544d6d 100644 --- a/chart-sdk/asp-net-mvc/charts/chart-series.md +++ b/chart-sdk/asp-net-mvc/charts/chart-series.md @@ -1,13 +1,14 @@ --- layout: post -title: Chart Series in Syncfusion ASP.NET MVC Charts | Syncfusion -description: Learn here all about Chart Series in Syncfusion ASP.NET MVC Charts component of Syncfusion Essential JS 2 and more. +title: Chart Series in ASP.NET MVC Chart Component +description: Learn here all about Chart Series in Syncfusion ASP.NET MVC Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Chart Series +publishingplatform: chart-sdk documentation: ug --- -# Chart Series in ASP.NET MVC Charts +# Chart Series in Chart Component ## Multiple Series diff --git a/chart-sdk/asp-net-mvc/charts/chart-types/area.md b/chart-sdk/asp-net-mvc/charts/chart-types/area.md index fcea99b39..7b4619336 100644 --- a/chart-sdk/asp-net-mvc/charts/chart-types/area.md +++ b/chart-sdk/asp-net-mvc/charts/chart-types/area.md @@ -1,9 +1,10 @@ --- layout: post -title: Area Chart in ASP.NET MVC Charts | Syncfusion +title: Area Chart in ASP.NET MVC Charts description: Learn here all about Area Chart in Syncfusion ASP.NET MVC Charts component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Area Chart +publishingplatform: chart-sdk documentation: ug --- diff --git a/chart-sdk/asp-net-mvc/charts/chart-types/bar.md b/chart-sdk/asp-net-mvc/charts/chart-types/bar.md index ca9bc1487..be5046dfa 100644 --- a/chart-sdk/asp-net-mvc/charts/chart-types/bar.md +++ b/chart-sdk/asp-net-mvc/charts/chart-types/bar.md @@ -1,9 +1,10 @@ --- layout: post -title: Bar Chart in ASP.NET MVC Charts | Syncfusion +title: Bar Chart in ASP.NET MVC Charts description: Learn here all about Bar Chart in Syncfusion ASP.NET MVC Charts component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Bar chart +publishingplatform: chart-sdk documentation: ug --- diff --git a/chart-sdk/asp-net-mvc/charts/chart-types/box-whisker.md b/chart-sdk/asp-net-mvc/charts/chart-types/box-whisker.md index 02f9ba072..107025a68 100644 --- a/chart-sdk/asp-net-mvc/charts/chart-types/box-whisker.md +++ b/chart-sdk/asp-net-mvc/charts/chart-types/box-whisker.md @@ -1,9 +1,10 @@ --- layout: post -title: Box and Whisker Chart in ASP.NET MVC Charts | Syncfusion +title: Box and Whisker Chart in ASP.NET MVC Charts description: Learn here all about Box and Whisker Chart in Syncfusion ASP.NET MVC Charts component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Box and Whisker Chart +publishingplatform: chart-sdk documentation: ug --- diff --git a/chart-sdk/asp-net-mvc/charts/chart-types/bubble.md b/chart-sdk/asp-net-mvc/charts/chart-types/bubble.md index f2bb94ac5..0c100f232 100644 --- a/chart-sdk/asp-net-mvc/charts/chart-types/bubble.md +++ b/chart-sdk/asp-net-mvc/charts/chart-types/bubble.md @@ -1,9 +1,10 @@ --- layout: post -title: Bubble Chart in ASP.NET MVC Charts | Syncfusion +title: Bubble Chart in ASP.NET MVC Charts description: Learn here all about Bubble Chart in Syncfusion ASP.NET MVC Charts component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Bubble Chart +publishingplatform: chart-sdk documentation: ug --- diff --git a/chart-sdk/asp-net-mvc/charts/chart-types/candle.md b/chart-sdk/asp-net-mvc/charts/chart-types/candle.md index 9b41993e7..6442ddf4a 100644 --- a/chart-sdk/asp-net-mvc/charts/chart-types/candle.md +++ b/chart-sdk/asp-net-mvc/charts/chart-types/candle.md @@ -1,9 +1,10 @@ --- layout: post -title: Candle Chart in ASP.NET MVC Charts | Syncfusion +title: Candle Chart in ASP.NET MVC Charts description: Learn here all about Candle Chart in Syncfusion ASP.NET MVC Charts component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Candle Chart +publishingplatform: chart-sdk documentation: ug --- diff --git a/chart-sdk/asp-net-mvc/charts/chart-types/column.md b/chart-sdk/asp-net-mvc/charts/chart-types/column.md index 65fa53740..bf42967ae 100644 --- a/chart-sdk/asp-net-mvc/charts/chart-types/column.md +++ b/chart-sdk/asp-net-mvc/charts/chart-types/column.md @@ -1,9 +1,10 @@ --- layout: post -title: Column Chart in ASP.NET MVC Charts | Syncfusion +title: Column Chart in ASP.NET MVC Charts description: Learn here all about Column Chart in Syncfusion ASP.NET MVC Charts component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Column Chart +publishingplatform: chart-sdk documentation: ug --- diff --git a/chart-sdk/asp-net-mvc/charts/chart-types/error-bar.md b/chart-sdk/asp-net-mvc/charts/chart-types/error-bar.md index 68c53b0e4..8aaccc315 100644 --- a/chart-sdk/asp-net-mvc/charts/chart-types/error-bar.md +++ b/chart-sdk/asp-net-mvc/charts/chart-types/error-bar.md @@ -1,9 +1,10 @@ --- layout: post -title: Error Bar Chart in ASP.NET MVC Charts | Syncfusion +title: Error Bar Chart in ASP.NET MVC Charts description: Learn here all about Error Bar Chart in Syncfusion ASP.NET MVC Charts component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Error Bar Chart +publishingplatform: chart-sdk documentation: ug --- diff --git a/chart-sdk/asp-net-mvc/charts/chart-types/high-low-open-close.md b/chart-sdk/asp-net-mvc/charts/chart-types/high-low-open-close.md index b78754171..4d644a8f0 100644 --- a/chart-sdk/asp-net-mvc/charts/chart-types/high-low-open-close.md +++ b/chart-sdk/asp-net-mvc/charts/chart-types/high-low-open-close.md @@ -1,9 +1,10 @@ --- layout: post -title: High Low Open Close Chart in ASP.NET MVC Charts | Syncfusion +title: High Low Open Close Chart in ASP.NET MVC Charts description: Learn here all about High Low Open Close Chart in Syncfusion ASP.NET MVC Charts component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: High Low Open Close Chart +publishingplatform: chart-sdk documentation: ug --- diff --git a/chart-sdk/asp-net-mvc/charts/chart-types/high-low.md b/chart-sdk/asp-net-mvc/charts/chart-types/high-low.md index f7e9658e4..138d95933 100644 --- a/chart-sdk/asp-net-mvc/charts/chart-types/high-low.md +++ b/chart-sdk/asp-net-mvc/charts/chart-types/high-low.md @@ -1,9 +1,10 @@ --- layout: post -title: High Low Chart in ASP.NET MVC Charts | Syncfusion +title: High Low Chart in ASP.NET MVC Charts description: Learn here all about High Low Chart in Syncfusion ASP.NET MVC Charts component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: High Low Chart +publishingplatform: chart-sdk documentation: ug --- diff --git a/chart-sdk/asp-net-mvc/charts/chart-types/histogram.md b/chart-sdk/asp-net-mvc/charts/chart-types/histogram.md index 25cf89634..e22f999b8 100644 --- a/chart-sdk/asp-net-mvc/charts/chart-types/histogram.md +++ b/chart-sdk/asp-net-mvc/charts/chart-types/histogram.md @@ -1,9 +1,10 @@ --- layout: post -title: Histogram Chart in ASP.NET MVC Charts | Syncfusion +title: Histogram Chart in ASP.NET MVC Charts description: Learn here all about Histogram Chart in Syncfusion ASP.NET MVC Charts component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Histogram Chart +publishingplatform: chart-sdk documentation: ug --- diff --git a/chart-sdk/asp-net-mvc/charts/chart-types/line.md b/chart-sdk/asp-net-mvc/charts/chart-types/line.md index c8898c1f3..a2ddb8115 100644 --- a/chart-sdk/asp-net-mvc/charts/chart-types/line.md +++ b/chart-sdk/asp-net-mvc/charts/chart-types/line.md @@ -1,9 +1,10 @@ --- layout: post -title: Line Chart in ASP.NET MVC Charts | Syncfusion +title: Line Chart in ASP.NET MVC Charts description: Learn here all about Line Chart in Syncfusion ASP.NET MVC Charts component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Line Chart +publishingplatform: chart-sdk documentation: ug --- diff --git a/chart-sdk/asp-net-mvc/charts/chart-types/pareto.md b/chart-sdk/asp-net-mvc/charts/chart-types/pareto.md index deadc7213..a0375b092 100644 --- a/chart-sdk/asp-net-mvc/charts/chart-types/pareto.md +++ b/chart-sdk/asp-net-mvc/charts/chart-types/pareto.md @@ -1,9 +1,10 @@ --- layout: post -title: Pareto Chart in ASP.NET MVC Charts | Syncfusion +title: Pareto Chart in ASP.NET MVC Charts description: Learn here all about Pareto Chart in Syncfusion ASP.NET MVC Charts component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Pareto Chart +publishingplatform: chart-sdk documentation: ug --- diff --git a/chart-sdk/asp-net-mvc/charts/chart-types/polar.md b/chart-sdk/asp-net-mvc/charts/chart-types/polar.md index 619bc3348..359fb8fc9 100644 --- a/chart-sdk/asp-net-mvc/charts/chart-types/polar.md +++ b/chart-sdk/asp-net-mvc/charts/chart-types/polar.md @@ -1,9 +1,10 @@ --- layout: post -title: Polar Chart in ASP.NET MVC Charts | Syncfusion +title: Polar Chart in ASP.NET MVC Charts description: Learn here all about Polar Chart in Syncfusion ASP.NET MVC Charts component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Polar Chart +publishingplatform: chart-sdk documentation: ug --- diff --git a/chart-sdk/asp-net-mvc/charts/chart-types/radar.md b/chart-sdk/asp-net-mvc/charts/chart-types/radar.md index 6a3fdbdb4..7ec1ca046 100644 --- a/chart-sdk/asp-net-mvc/charts/chart-types/radar.md +++ b/chart-sdk/asp-net-mvc/charts/chart-types/radar.md @@ -1,9 +1,10 @@ --- layout: post -title: Radar Chart in ASP.NET MVC Charts | Syncfusion +title: Radar Chart in ASP.NET MVC Charts description: Learn here all about Radar Chart in Syncfusion ASP.NET MVC Charts component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Radar Chart +publishingplatform: chart-sdk documentation: ug --- diff --git a/chart-sdk/asp-net-mvc/charts/chart-types/range-area.md b/chart-sdk/asp-net-mvc/charts/chart-types/range-area.md index f245ed277..dac36e5fa 100644 --- a/chart-sdk/asp-net-mvc/charts/chart-types/range-area.md +++ b/chart-sdk/asp-net-mvc/charts/chart-types/range-area.md @@ -1,9 +1,10 @@ --- layout: post -title: Range Area Chart in ASP.NET MVC Charts | Syncfusion +title: Range Area Chart in ASP.NET MVC Charts description: Learn here all about Range Area Chart in Syncfusion ASP.NET MVC Charts component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Range Area Chart +publishingplatform: chart-sdk documentation: ug --- diff --git a/chart-sdk/asp-net-mvc/charts/chart-types/range-column.md b/chart-sdk/asp-net-mvc/charts/chart-types/range-column.md index 1bb1d6071..82fec9617 100644 --- a/chart-sdk/asp-net-mvc/charts/chart-types/range-column.md +++ b/chart-sdk/asp-net-mvc/charts/chart-types/range-column.md @@ -1,9 +1,10 @@ --- layout: post -title: Range Column Chart in ASP.NET MVC Charts | Syncfusion +title: Range Column Chart in ASP.NET MVC Charts description: Learn here all about Range Column Chart in Syncfusion ASP.NET MVC Charts component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Range Column Chart +publishingplatform: chart-sdk documentation: ug --- diff --git a/chart-sdk/asp-net-mvc/charts/chart-types/range-step-area.md b/chart-sdk/asp-net-mvc/charts/chart-types/range-step-area.md index aa1d28b20..82cf72d16 100644 --- a/chart-sdk/asp-net-mvc/charts/chart-types/range-step-area.md +++ b/chart-sdk/asp-net-mvc/charts/chart-types/range-step-area.md @@ -1,9 +1,10 @@ --- layout: post -title: Range Step Area Chart in ASP.NET MVC Charts | Syncfusion +title: Range Step Area Chart in ASP.NET MVC Charts description: Learn here all about Range Step Area Chart in Syncfusion ASP.NET MVC Charts component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Range Step Area Chart +publishingplatform: chart-sdk documentation: ug --- diff --git a/chart-sdk/asp-net-mvc/charts/chart-types/scatter.md b/chart-sdk/asp-net-mvc/charts/chart-types/scatter.md index e1cd15839..663192be8 100644 --- a/chart-sdk/asp-net-mvc/charts/chart-types/scatter.md +++ b/chart-sdk/asp-net-mvc/charts/chart-types/scatter.md @@ -1,9 +1,10 @@ --- layout: post -title: Scatter Chart in ASP.NET MVC Charts | Syncfusion +title: Scatter Chart in ASP.NET MVC Charts description: Learn here all about Scatter Chart in Syncfusion ASP.NET MVC Charts component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Scatter Chart +publishingplatform: chart-sdk documentation: ug --- diff --git a/chart-sdk/asp-net-mvc/charts/chart-types/spline-area.md b/chart-sdk/asp-net-mvc/charts/chart-types/spline-area.md index c1d2cdb32..f95e76155 100644 --- a/chart-sdk/asp-net-mvc/charts/chart-types/spline-area.md +++ b/chart-sdk/asp-net-mvc/charts/chart-types/spline-area.md @@ -1,9 +1,10 @@ --- layout: post -title: Spline Area Chart in ASP.NET MVC Charts | Syncfusion +title: Spline Area Chart in ASP.NET MVC Charts description: Learn here all about Spline Area Chart in Syncfusion ASP.NET MVC Charts component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Spline Area Chart +publishingplatform: chart-sdk documentation: ug --- diff --git a/chart-sdk/asp-net-mvc/charts/chart-types/spline-range-area.md b/chart-sdk/asp-net-mvc/charts/chart-types/spline-range-area.md index 496072fb9..2b6ef4e08 100644 --- a/chart-sdk/asp-net-mvc/charts/chart-types/spline-range-area.md +++ b/chart-sdk/asp-net-mvc/charts/chart-types/spline-range-area.md @@ -1,9 +1,10 @@ --- layout: post -title: Spline Range Area Chart in ASP.NET MVC Charts | Syncfusion +title: Spline Range Area Chart in ASP.NET MVC Charts description: Learn here all about Spline Range Area Chart in Syncfusion ASP.NET MVC Charts component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Spline Range Area Chart +publishingplatform: chart-sdk documentation: ug --- diff --git a/chart-sdk/asp-net-mvc/charts/chart-types/spline.md b/chart-sdk/asp-net-mvc/charts/chart-types/spline.md index 930317748..db3ce62db 100644 --- a/chart-sdk/asp-net-mvc/charts/chart-types/spline.md +++ b/chart-sdk/asp-net-mvc/charts/chart-types/spline.md @@ -1,9 +1,10 @@ --- layout: post -title: Spline Chart in ASP.NET MVC Charts | Syncfusion +title: Spline Chart in ASP.NET MVC Charts description: Learn here all about Spline Chart in Syncfusion ASP.NET MVC Charts component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Spline Chart +publishingplatform: chart-sdk documentation: ug --- diff --git a/chart-sdk/asp-net-mvc/charts/chart-types/stack-area100.md b/chart-sdk/asp-net-mvc/charts/chart-types/stack-area100.md index 27587bf58..be09043b8 100644 --- a/chart-sdk/asp-net-mvc/charts/chart-types/stack-area100.md +++ b/chart-sdk/asp-net-mvc/charts/chart-types/stack-area100.md @@ -1,9 +1,10 @@ --- layout: post -title: 100% Stacked Area Chart in ASP.NET MVC Charts | Syncfusion +title: 100% Stacked Area Chart in ASP.NET MVC Charts description: Learn here all about 100% Stacked Area Chart in Syncfusion ASP.NET MVC Charts component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: 100% Stacked Area Chart +publishingplatform: chart-sdk documentation: ug --- diff --git a/chart-sdk/asp-net-mvc/charts/chart-types/stack-bar100.md b/chart-sdk/asp-net-mvc/charts/chart-types/stack-bar100.md index 3789feef5..87f2b9af7 100644 --- a/chart-sdk/asp-net-mvc/charts/chart-types/stack-bar100.md +++ b/chart-sdk/asp-net-mvc/charts/chart-types/stack-bar100.md @@ -1,9 +1,10 @@ --- layout: post -title: 100% Stacked Bar Chart in ASP.NET MVC Charts | Syncfusion +title: 100% Stacked Bar Chart in ASP.NET MVC Charts description: Learn here all about 100% Stacked Bar Chart in Syncfusion ASP.NET MVC Charts component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: 100% Stacked Bar Chart +publishingplatform: chart-sdk documentation: ug --- diff --git a/chart-sdk/asp-net-mvc/charts/chart-types/stack-column100.md b/chart-sdk/asp-net-mvc/charts/chart-types/stack-column100.md index f098ad1f3..99dab1dca 100644 --- a/chart-sdk/asp-net-mvc/charts/chart-types/stack-column100.md +++ b/chart-sdk/asp-net-mvc/charts/chart-types/stack-column100.md @@ -1,9 +1,10 @@ --- layout: post -title: 100% Stacked Column Chart in ASP.NET MVC Charts | Syncfusion +title: 100% Stacked Column Chart in ASP.NET MVC Charts description: Learn here all about 100% Stacked Column Chart in Syncfusion ASP.NET MVC Charts component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: 100% Stacked Column Chart +publishingplatform: chart-sdk documentation: ug --- diff --git a/chart-sdk/asp-net-mvc/charts/chart-types/stack-line100.md b/chart-sdk/asp-net-mvc/charts/chart-types/stack-line100.md index ebb791957..1821aaf27 100644 --- a/chart-sdk/asp-net-mvc/charts/chart-types/stack-line100.md +++ b/chart-sdk/asp-net-mvc/charts/chart-types/stack-line100.md @@ -1,9 +1,10 @@ --- layout: post -title: 100% Stacked Line Chart in ASP.NET MVC Charts | Syncfusion +title: 100% Stacked Line Chart in ASP.NET MVC Charts description: Learn here all about 100% Stacked Line Chart in Syncfusion ASP.NET MVC Charts component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: 100% Stacked Line Chart +publishingplatform: chart-sdk documentation: ug --- diff --git a/chart-sdk/asp-net-mvc/charts/chart-types/stacked-area.md b/chart-sdk/asp-net-mvc/charts/chart-types/stacked-area.md index 0fa743ba8..46f25c448 100644 --- a/chart-sdk/asp-net-mvc/charts/chart-types/stacked-area.md +++ b/chart-sdk/asp-net-mvc/charts/chart-types/stacked-area.md @@ -1,9 +1,10 @@ --- layout: post -title: Stacked Area Chart in ASP.NET MVC Charts | Syncfusion +title: Stacked Area Chart in ASP.NET MVC Charts description: Learn here all about Stacked Area Chart in Syncfusion ASP.NET MVC Charts component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Stacked Area Chart +publishingplatform: chart-sdk documentation: ug --- diff --git a/chart-sdk/asp-net-mvc/charts/chart-types/stacked-bar.md b/chart-sdk/asp-net-mvc/charts/chart-types/stacked-bar.md index 5917588c7..4da020e90 100644 --- a/chart-sdk/asp-net-mvc/charts/chart-types/stacked-bar.md +++ b/chart-sdk/asp-net-mvc/charts/chart-types/stacked-bar.md @@ -1,9 +1,10 @@ --- layout: post -title: Stacked Bar Chart in ASP.NET MVC Charts | Syncfusion +title: Stacked Bar Chart in ASP.NET MVC Charts description: Learn here all about Stacked Bar Chart in Syncfusion ASP.NET MVC Charts component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Stacked Bar Chart +publishingplatform: chart-sdk documentation: ug --- diff --git a/chart-sdk/asp-net-mvc/charts/chart-types/stacked-column.md b/chart-sdk/asp-net-mvc/charts/chart-types/stacked-column.md index 21aeabf55..b2589772d 100644 --- a/chart-sdk/asp-net-mvc/charts/chart-types/stacked-column.md +++ b/chart-sdk/asp-net-mvc/charts/chart-types/stacked-column.md @@ -1,9 +1,10 @@ --- layout: post -title: Stacked Column Chart in ASP.NET MVC Charts | Syncfusion +title: Stacked Column Chart in ASP.NET MVC Charts description: Learn here all about Stacked Column Chart in Syncfusion ASP.NET MVC Charts component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Stacked Column Chart +publishingplatform: chart-sdk documentation: ug --- diff --git a/chart-sdk/asp-net-mvc/charts/chart-types/stacked-line.md b/chart-sdk/asp-net-mvc/charts/chart-types/stacked-line.md index 52d34f789..281da83b3 100644 --- a/chart-sdk/asp-net-mvc/charts/chart-types/stacked-line.md +++ b/chart-sdk/asp-net-mvc/charts/chart-types/stacked-line.md @@ -1,9 +1,10 @@ --- layout: post -title: Stacked Line Chart in ASP.NET MVC Charts | Syncfusion +title: Stacked Line Chart in ASP.NET MVC Charts description: Learn here all about Stacked Line Chart in Syncfusion ASP.NET MVC Charts component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Stacked Line Chart +publishingplatform: chart-sdk documentation: ug --- diff --git a/chart-sdk/asp-net-mvc/charts/chart-types/stacked-step-area.md b/chart-sdk/asp-net-mvc/charts/chart-types/stacked-step-area.md index 9ff3f1cc0..336d744c6 100644 --- a/chart-sdk/asp-net-mvc/charts/chart-types/stacked-step-area.md +++ b/chart-sdk/asp-net-mvc/charts/chart-types/stacked-step-area.md @@ -1,9 +1,10 @@ --- layout: post -title: Stacked Step Area Chart in ASP.NET MVC Charts | Syncfusion +title: Stacked Step Area Chart in ASP.NET MVC Charts description: Learn here all about Stacked Step Area Chart in Syncfusion ASP.NET MVC Charts component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Stacked Step Area Chart +publishingplatform: chart-sdk documentation: ug --- diff --git a/chart-sdk/asp-net-mvc/charts/chart-types/step-area.md b/chart-sdk/asp-net-mvc/charts/chart-types/step-area.md index 007722907..ea4d0139a 100644 --- a/chart-sdk/asp-net-mvc/charts/chart-types/step-area.md +++ b/chart-sdk/asp-net-mvc/charts/chart-types/step-area.md @@ -1,9 +1,10 @@ --- layout: post -title: Step Area Chart in ASP.NET MVC Charts | Syncfusion +title: Step Area Chart in ASP.NET MVC Charts description: Learn here all about Step Area Chart in Syncfusion ASP.NET MVC Charts component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Step Area Chart +publishingplatform: chart-sdk documentation: ug --- diff --git a/chart-sdk/asp-net-mvc/charts/chart-types/step-line.md b/chart-sdk/asp-net-mvc/charts/chart-types/step-line.md index 7dd9464bf..48dc39546 100644 --- a/chart-sdk/asp-net-mvc/charts/chart-types/step-line.md +++ b/chart-sdk/asp-net-mvc/charts/chart-types/step-line.md @@ -1,9 +1,10 @@ --- layout: post -title: Step Line Chart in ASP.NET MVC Charts | Syncfusion +title: Step Line Chart in ASP.NET MVC Charts description: Learn here all about Step Line Chart in Syncfusion ASP.NET MVC Charts component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Step Line Chart +publishingplatform: chart-sdk documentation: ug --- diff --git a/chart-sdk/asp-net-mvc/charts/chart-types/vertical-chart.md b/chart-sdk/asp-net-mvc/charts/chart-types/vertical-chart.md index b0cefb45f..2123a201d 100644 --- a/chart-sdk/asp-net-mvc/charts/chart-types/vertical-chart.md +++ b/chart-sdk/asp-net-mvc/charts/chart-types/vertical-chart.md @@ -1,9 +1,10 @@ --- layout: post -title: Vertical Chart in ASP.NET MVC Charts | Syncfusion +title: Vertical Chart in ASP.NET MVC Charts description: Learn here all about Vertical Chart in Syncfusion ASP.NET MVC Charts component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Vertical Chart +publishingplatform: chart-sdk documentation: ug --- diff --git a/chart-sdk/asp-net-mvc/charts/chart-types/waterfall.md b/chart-sdk/asp-net-mvc/charts/chart-types/waterfall.md index 7562982ed..586d025a0 100644 --- a/chart-sdk/asp-net-mvc/charts/chart-types/waterfall.md +++ b/chart-sdk/asp-net-mvc/charts/chart-types/waterfall.md @@ -1,9 +1,10 @@ --- layout: post -title: Waterfall Chart in ASP.NET MVC Charts | Syncfusion +title: Waterfall Chart in ASP.NET MVC Charts description: Learn here all about Waterfall Chart in Syncfusion ASP.NET MVC Charts component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Waterfall Chart +publishingplatform: chart-sdk documentation: ug --- diff --git a/chart-sdk/asp-net-mvc/charts/cross-hair-and-track-ball.md b/chart-sdk/asp-net-mvc/charts/cross-hair-and-track-ball.md index 976c4fa75..fe1e446f6 100644 --- a/chart-sdk/asp-net-mvc/charts/cross-hair-and-track-ball.md +++ b/chart-sdk/asp-net-mvc/charts/cross-hair-and-track-ball.md @@ -1,14 +1,15 @@ --- layout: post -title: Cross Hair and Track Ball in ASP.NET MVC Charts | Syncfusion -description: Learn here all about Cross Hair and Track Ball in Syncfusion ASP.NET MVC Charts component of Syncfusion Essential JS 2 and more. +title: Cross Hair And Track Ball in Syncfusion ASP.NET MVC Chart Component +description: Learn here all about Cross Hair And Track Ball in Syncfusion ASP.NET MVC Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Cross Hair And Track Ball +publishingplatform: chart-sdk documentation: ug --- -# Cross Hair and Track Ball in ASP.NET MVC Charts +# Crosshair in ASP.NET MVC Chart Component Crosshair has a vertical and horizontal line to view the value of the axis at mouse or touch position. diff --git a/chart-sdk/asp-net-mvc/charts/data-editing.md b/chart-sdk/asp-net-mvc/charts/data-editing.md index bcee406d4..d497aa505 100644 --- a/chart-sdk/asp-net-mvc/charts/data-editing.md +++ b/chart-sdk/asp-net-mvc/charts/data-editing.md @@ -1,14 +1,15 @@ --- layout: post -title: Data Editing in ASP.NET MVC Charts | Syncfusion -description: Learn here all about Data Editing in Syncfusion ASP.NET MVC Charts component of Syncfusion Essential JS 2 and more. +title: Data Editing in ASP.NET MVC Chart Component +description: Learn here all about Data Editing in Syncfusion ASP.NET MVC Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Data Editing +publishingplatform: chart-sdk documentation: ug --- -# Data Editing in ASP.NET MVC Charts +# Data Editing ## Enable Data Editing diff --git a/chart-sdk/asp-net-mvc/charts/data-labels.md b/chart-sdk/asp-net-mvc/charts/data-labels.md index 39e7674e8..54a21eac0 100644 --- a/chart-sdk/asp-net-mvc/charts/data-labels.md +++ b/chart-sdk/asp-net-mvc/charts/data-labels.md @@ -1,14 +1,15 @@ --- layout: post -title: Data Labels in ASP.NET MVC Charts | Syncfusion -description: Learn here all about Data Labels in Syncfusion ASP.NET MVC Charts component of Syncfusion Essential JS 2 and more. +title: Data Labels in ASP.NET MVC Syncfusion Chart Component +description: Learn here all about Data Labels in Syncfusion ASP.NET MVC Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Data Labels +publishingplatform: chart-sdk documentation: ug --- -# Data Labels in ASP.NET MVC Charts +# Data Labels in ASP.NET MVC Chart Data label can be added to a chart series by enabling the [`Visible`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.Charts.ChartSeries.html#Syncfusion_EJ2_Charts_ChartSeries_Marker) option in the dataLabel. By default, the labels will arrange smartly without overlapping. diff --git a/chart-sdk/asp-net-mvc/charts/data-markers.md b/chart-sdk/asp-net-mvc/charts/data-markers.md index 7e55f4464..9f8a22fbb 100644 --- a/chart-sdk/asp-net-mvc/charts/data-markers.md +++ b/chart-sdk/asp-net-mvc/charts/data-markers.md @@ -1,14 +1,15 @@ --- layout: post -title: Data Markers in ASP.NET MVC Charts | Syncfusion -description: Learn here all about Data Markers in Syncfusion ASP.NET MVC Charts component of Syncfusion Essential JS 2 and more. +title: Data Markers in ASP.NET MVC Syncfusion Chart Component +description: Learn here all about Data Markers in Syncfusion ASP.NET MVC Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Data Markers +publishingplatform: chart-sdk documentation: ug --- -# Data Markers in ASP.NET MVC Charts +# Data Markers in ASP.NET MVC Chart Component Data markers are used to provide information about the data points in the series. You can add a shape to adorn each data point. diff --git a/chart-sdk/asp-net-mvc/charts/date-time-axis.md b/chart-sdk/asp-net-mvc/charts/date-time-axis.md index c346bc525..60db502c2 100644 --- a/chart-sdk/asp-net-mvc/charts/date-time-axis.md +++ b/chart-sdk/asp-net-mvc/charts/date-time-axis.md @@ -1,16 +1,17 @@ --- layout: post -title: Date Time Axis in ASP.NET MVC Charts | Syncfusion -description: Learn here all about Date Time Axis in Syncfusion ASP.NET MVC Charts component of Syncfusion Essential JS 2 and more. +title: Date Time Axis in ASP.NET MVC Chart Component +description: Learn here all about Date Time Axis in Syncfusion ASP.NET MVC Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Date Time Axis +publishingplatform: chart-sdk documentation: ug --- -# DateTime and DateTimeCategory Axis in ASP.NET MVC Charts +# DateTime and DateTimeCategory Axis ## DateTime Axis diff --git a/chart-sdk/asp-net-mvc/charts/dynamic-data-update.md b/chart-sdk/asp-net-mvc/charts/dynamic-data-update.md index a433f6878..662f00e37 100644 --- a/chart-sdk/asp-net-mvc/charts/dynamic-data-update.md +++ b/chart-sdk/asp-net-mvc/charts/dynamic-data-update.md @@ -1,14 +1,15 @@ --- layout: post -title: Dynamic Data Update in ASP.NET MVC Charts | Syncfusion -description: Learn here all about dynamic data update in Syncfusion ASP.NET MVC Charts component of Syncfusion Essential JS 2 and more. +title: Dynamic data update in ASP.NET MVC Syncfusion Chart Component +description: Learn here all about dynamic data update in Syncfusion ASP.NET MVC Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Dynamic Data Update +publishingplatform: chart-sdk documentation: ug --- -# Dynamic Data Update in ASP.NET MVC Charts +# Dynamic data update in ASP.NET MVC Chart Component ## Adding a new data point diff --git a/chart-sdk/asp-net-mvc/charts/ej1-api-migration.md b/chart-sdk/asp-net-mvc/charts/ej1-api-migration.md index 96ff151cb..9c84341f3 100644 --- a/chart-sdk/asp-net-mvc/charts/ej1-api-migration.md +++ b/chart-sdk/asp-net-mvc/charts/ej1-api-migration.md @@ -1,14 +1,15 @@ --- layout: post -title: EJ1 API Migration in ASP.NET MVC Charts | Syncfusion -description: Learn here all about EJ! API Migration in Syncfusion ASP.NET MVC Charts component of Syncfusion Essential JS 2 and more. +title: Ej1 Api Migration in ASP.NET MVC Chart Component +description: Learn here all about Ej1 Api Migration in Syncfusion ASP.NET MVC Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Ej1 Api Migration +publishingplatform: chart-sdk documentation: ug --- -# EJ1 API Migration in ASP.NET MVC Charts +# Migration from Essential® JS 1 This article describes the API migration process of Chart component from Essential® JS 1 to Essential® JS 2. diff --git a/chart-sdk/asp-net-mvc/charts/getting-started.md b/chart-sdk/asp-net-mvc/charts/getting-started.md index 3a886df34..5485711bb 100644 --- a/chart-sdk/asp-net-mvc/charts/getting-started.md +++ b/chart-sdk/asp-net-mvc/charts/getting-started.md @@ -1,14 +1,15 @@ --- layout: post -title: Getting Started with ASP.NET MVC Charts | Syncfusion -description: Checkout and learn about getting started with ASP.NET MVC Charts control of Syncfusion Essential JS 2 and more details. +title: Getting Started with ASP.NET MVC Chart Control | Syncfusion +description: Check out and learn about getting started with ASP.NET MVC Chart control of Syncfusion Essential JS 2 and more details. platform: chart-sdk control: Getting Started +publishingplatform: chart-sdk documentation: ug --- -# Getting Started with ASP.NET MVC Charts +# Getting Started with the ASP.NET MVC Chart Control This section briefly explains how to add the Syncfusion® [ASP.NET MVC Chart](https://www.syncfusion.com/aspnet-mvc-ui-controls/charts) control to your ASP.NET MVC application using Visual Studio. diff --git a/chart-sdk/asp-net-mvc/charts/gradient.md b/chart-sdk/asp-net-mvc/charts/gradient.md index a290d0c3a..5aafc4b70 100644 --- a/chart-sdk/asp-net-mvc/charts/gradient.md +++ b/chart-sdk/asp-net-mvc/charts/gradient.md @@ -1,13 +1,14 @@ --- layout: post -title: Gradient in ASP.NET MVC Charts | Syncfusion -description: Learn here all about Gradient in Syncfusion ASP.NET MVC Charts component of Syncfusion Essential JS 2 and more. +title: Gradient and Customization in ASP.NET MVC Syncfusion Chart Component +description: Learn here all about Gradient in Syncfusion ASP.NET MVC Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Gradient +publishingplatform: chart-sdk documentation: ug --- -# Gradient in ASP.NET MVC Charts +# Gradient in ASP.NET MVC Chart control Gradients add depth and modern styling to charts by smoothly blending multiple colors. The Charts component supports two gradient types: diff --git a/chart-sdk/asp-net-mvc/charts/how-to/add-remove.md b/chart-sdk/asp-net-mvc/charts/how-to/add-remove.md index b3c5ad413..db94bd7ba 100644 --- a/chart-sdk/asp-net-mvc/charts/how-to/add-remove.md +++ b/chart-sdk/asp-net-mvc/charts/how-to/add-remove.md @@ -1,16 +1,17 @@ --- layout: post -title: Add or remove series in ASP.NET MVC Charts | Syncfusion -description: Learn here all about Add or Remove series in Syncfusion ASP.NET MVC Charts component of Syncfusion Essential JS 2 and more. +title: Add Remove in ASP.NET MVC Chart Component +description: Learn here all about Add Remove in Syncfusion ASP.NET MVC Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Add or Remove +control: Add Remove +publishingplatform: chart-sdk documentation: ug --- -# How to add or remove a series dynamically in ASP.NET MVC Charts +# Add or remove a series from the chart dynamically You can add or remove the chart series dynamically by using the `addSeries` or `removeSeries` method. diff --git a/chart-sdk/asp-net-mvc/charts/how-to/ajax-chart-call.md b/chart-sdk/asp-net-mvc/charts/how-to/ajax-chart-call.md index b4500f8d5..2445509ad 100644 --- a/chart-sdk/asp-net-mvc/charts/how-to/ajax-chart-call.md +++ b/chart-sdk/asp-net-mvc/charts/how-to/ajax-chart-call.md @@ -1,16 +1,17 @@ --- layout: post -title: Render chart via Ajax in ASP.NET MVC Charts | Syncfusion -description: Learn here all about Ajax Chart Call in Syncfusion ASP.NET MVC Charts component of Syncfusion Essential JS 2 and more. +title: Ajax Chart Call in ASP.NET MVC Chart Component +description: Learn here all about Ajax Chart Call in Syncfusion ASP.NET MVC Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Ajax Chart Call +publishingplatform: chart-sdk documentation: ug --- -# How to render chart via Ajax in ASP.NET MVC Charts +# Ajax Chart in ASP.NET MVC Chart control The following section explains how to customize various aspects of the chart. diff --git a/chart-sdk/asp-net-mvc/charts/how-to/code-behind-chart.md b/chart-sdk/asp-net-mvc/charts/how-to/code-behind-chart.md index 95196c5ef..5cce24a64 100644 --- a/chart-sdk/asp-net-mvc/charts/how-to/code-behind-chart.md +++ b/chart-sdk/asp-net-mvc/charts/how-to/code-behind-chart.md @@ -1,16 +1,17 @@ --- layout: post -title: Code-behind chart in ASP.NET MVC Charts | Syncfusion -description: Learn here all about Code Behind Chart in Syncfusion ASP.NET MVC Charts component of Syncfusion Essential JS 2 and more. +title: Code Behind Chart in ASP.NET MVC Chart Component +description: Learn here all about Code Behind Chart in Syncfusion ASP.NET MVC Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Code Behind Chart +publishingplatform: chart-sdk documentation: ug --- -# How to render a chart from code in ASP.NET MVC Charts +# Render chart from code behind and update the chart using partial view You can render the charts from code behind and update the charts in partial view by calling the partial view action method in ajax. diff --git a/chart-sdk/asp-net-mvc/charts/how-to/control-chart.md b/chart-sdk/asp-net-mvc/charts/how-to/control-chart.md index d1902acbb..dc8b72cbf 100644 --- a/chart-sdk/asp-net-mvc/charts/how-to/control-chart.md +++ b/chart-sdk/asp-net-mvc/charts/how-to/control-chart.md @@ -1,15 +1,16 @@ --- layout: post -title: How to create a control chart in ASP.NET MVC Charts | Syncfusion -description: Learn here all about Control Chart in Syncfusion ASP.NET MVC Charts component of Syncfusion Essential JS 2 and more. +title: Control Chart in ASP.NET MVC Chart Component +description: Learn here all about Control Chart in Syncfusion ASP.NET MVC Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Control Chart +publishingplatform: chart-sdk documentation: ug --- -# How to create a control chart in ASP.NET MVC Charts +# Create a control chart You can create a control chart (with UCL, CL, and LCL limits) using the stripline and annotation features. @@ -28,7 +29,7 @@ To create a control charts, follow the given steps. -![Alt text](images/step1.png) +![Alt text](../images/step1.png) **Step 2**: Now, add three striplines for three control limits: LCL, UCL, and CL. diff --git a/chart-sdk/asp-net-mvc/charts/how-to/data-label-customization.md b/chart-sdk/asp-net-mvc/charts/how-to/data-label-customization.md index 21647baff..f57d951f8 100644 --- a/chart-sdk/asp-net-mvc/charts/how-to/data-label-customization.md +++ b/chart-sdk/asp-net-mvc/charts/how-to/data-label-customization.md @@ -1,16 +1,17 @@ --- layout: post -title: Data Label Customization in ASP.NET MVC Charts | Syncfusion -description: Learn here all about Data Label Customization in Syncfusion ASP.NET MVC Charts component of Syncfusion Essential JS 2 and more. +title: Data Label Customization in ASP.NET MVC Chart Component +description: Learn here all about Data Label Customization in Syncfusion ASP.NET MVC Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Data Label Customization +publishingplatform: chart-sdk documentation: ug --- -# How to customize the data label background in ASP.NET MVC Charts +# Customize the background color of data label template from webservice Bind the text and interior information for a point from dataSource. To change the background color in the datalabel template, use `${point.text}`. You have to bind the property from dataSource to name in the data label options to use point.text. diff --git a/chart-sdk/asp-net-mvc/charts/how-to/dotted-line.md b/chart-sdk/asp-net-mvc/charts/how-to/dotted-line.md index 4d051fb94..c0269609f 100644 --- a/chart-sdk/asp-net-mvc/charts/how-to/dotted-line.md +++ b/chart-sdk/asp-net-mvc/charts/how-to/dotted-line.md @@ -1,14 +1,15 @@ --- layout: post -title: How to add a dotted line in ASP.NET MVC Charts | Syncfusion -description: Learn here all about Dotted Line in Syncfusion ASP.NET MVC Charts component of Syncfusion Essential JS 2 and more. +title: Dotted Line in ASP.NET MVC Chart Component +description: Learn here all about Dotted Line in Syncfusion ASP.NET MVC Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Dotted Line +publishingplatform: chart-sdk documentation: ug --- -# How to add a dotted line using Annotation in ASP.NET MVC Charts +# To add dotted line using annotation By using `annotation`, you can add dotted lines in the chart. diff --git a/chart-sdk/asp-net-mvc/charts/how-to/dynamic-chart.md b/chart-sdk/asp-net-mvc/charts/how-to/dynamic-chart.md index 39488f322..e3e4d067e 100644 --- a/chart-sdk/asp-net-mvc/charts/how-to/dynamic-chart.md +++ b/chart-sdk/asp-net-mvc/charts/how-to/dynamic-chart.md @@ -1,14 +1,15 @@ --- layout: post -title: How to add a chart dynamically in ASP.NET MVC Charts | Syncfusion -description: Learn here all about Dynamic Chart in Syncfusion ASP.NET MVC Charts component of Syncfusion Essential JS 2 and more. +title: Dynamic Chart in ASP.NET MVC Chart Component +description: Learn here all about Dynamic Chart in Syncfusion ASP.NET MVC Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Dynamic Chart +publishingplatform: chart-sdk documentation: ug --- -# How to add a chart dynamically in ASP.NET MVC Charts +# To add chart dynamically By using html button, you can add the chart dynamically by clicking the button. diff --git a/chart-sdk/asp-net-mvc/charts/how-to/hide-tool-tip.md b/chart-sdk/asp-net-mvc/charts/how-to/hide-tool-tip.md index 5b86ec02a..2f896e5d8 100644 --- a/chart-sdk/asp-net-mvc/charts/how-to/hide-tool-tip.md +++ b/chart-sdk/asp-net-mvc/charts/how-to/hide-tool-tip.md @@ -1,16 +1,17 @@ --- layout: post -title: Hide Tooltip in ASP.NET MVC Charts | Syncfusion -description: Learn here all about Hide Tool Tip in Syncfusion ASP.NET MVC Charts component of Syncfusion Essential JS 2 and more. +title: Hide Tool Tip in ASP.NET MVC Chart Component +description: Learn here all about Hide Tool Tip in Syncfusion ASP.NET MVC Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Hide Tooltip +control: Hide Tool Tip +publishingplatform: chart-sdk documentation: ug --- -# How to hide the tooltip for unselected series in ASP.NET MVC Charts +# Hide the tooltip for unselected series By using the [`tooltipRender`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.Charts.Chart.html#Syncfusion_EJ2_Charts_Chart_TooltipRender) event, you can cancel the tooltip for unselected series in the chart. diff --git a/chart-sdk/asp-net-mvc/charts/how-to/partial-chart.md b/chart-sdk/asp-net-mvc/charts/how-to/partial-chart.md index 36e012c8f..98a94bf6d 100644 --- a/chart-sdk/asp-net-mvc/charts/how-to/partial-chart.md +++ b/chart-sdk/asp-net-mvc/charts/how-to/partial-chart.md @@ -1,16 +1,17 @@ --- layout: post -title: Partial Chart in ASP.NET MVC Charts | Syncfusion -description: Learn here all about Partial Chart in Syncfusion ASP.NET MVC Charts component of Syncfusion Essential JS 2 and more. +title: Partial Chart in ASP.NET MVC Chart Component +description: Learn here all about Partial Chart in Syncfusion ASP.NET MVC Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Partial Chart +publishingplatform: chart-sdk documentation: ug --- -# How to render a chart in a partial view in ASP.NET MVC Charts +# Render chart in partial view in ajax call You can render the charts in partial view in ajax call by calling the partial view action method in ajax. diff --git a/chart-sdk/asp-net-mvc/charts/internationalization.md b/chart-sdk/asp-net-mvc/charts/internationalization.md index 8da5d9359..563cf3bf0 100644 --- a/chart-sdk/asp-net-mvc/charts/internationalization.md +++ b/chart-sdk/asp-net-mvc/charts/internationalization.md @@ -1,14 +1,15 @@ --- layout: post -title: Internationalization in ASP.NET MVC Charts | Syncfusion -description: Learn here all about Internationalization in Syncfusion ASP.NET MVC Charts component of Syncfusion Essential JS 2 and more. +title: Internationalization in ASP.NET MVC Chart Component +description: Learn here all about Internationalization in Syncfusion ASP.NET MVC Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Internationalization +publishingplatform: chart-sdk documentation: ug --- -# Internationalization in ASP.NET MVC Charts +# Internationalization Chart provide supports for internationalization for below chart elements. diff --git a/chart-sdk/asp-net-mvc/charts/lastvaluelabel.md b/chart-sdk/asp-net-mvc/charts/lastvaluelabel.md index c1b1713cc..3c330e8fe 100644 --- a/chart-sdk/asp-net-mvc/charts/lastvaluelabel.md +++ b/chart-sdk/asp-net-mvc/charts/lastvaluelabel.md @@ -1,13 +1,14 @@ --- layout: post -title: Last Value Label in ASP.NET MVC Charts | Syncfusion -description: Learn here all about Data Labels in Syncfusion ASP.NET MVC Charts component of Syncfusion Essential JS 2 and more. +title: Last Value Label in ASP.NET MVC Syncfusion Chart Component +description: Learn here all about Data Labels in Syncfusion ASP.NET MVC Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Last value label +publishingplatform: chart-sdk documentation: ug --- -# Last Value Label in ASP.NET MVC Charts +# Last value label in ASP.NET MVC Chart Control The `lastValueLabel` in a chart allows you to easily display the value of the last data point in a series. This feature provides an intuitive way to highlight the most recent or last data value in a series on your chart. diff --git a/chart-sdk/asp-net-mvc/charts/legend.md b/chart-sdk/asp-net-mvc/charts/legend.md index cdf854bb2..724f841df 100644 --- a/chart-sdk/asp-net-mvc/charts/legend.md +++ b/chart-sdk/asp-net-mvc/charts/legend.md @@ -1,14 +1,15 @@ --- layout: post -title: Legend in ASP.NET MVC Charts | Syncfusion -description: Learn here all about Legend in Syncfusion ASP.NET MVC Charts component of Syncfusion Essential JS 2 and more. +title: Legend and Customization in ASP.NET MVC Syncfusion Chart Component +description: Learn here all about Legend in Syncfusion ASP.NET MVC Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Legend +publishingplatform: chart-sdk documentation: ug --- -# Legend in ASP.NET MVC Charts +# Legend and in ASP.NET MVC Chart Component Legend provides information about the series rendered in the chart. @@ -174,7 +175,7 @@ You can set the legend label color based on series color by using chart's [Loade {% endhighlight %} {% endtabs %} -![ASP.NET MVC Chart Label Color](images/legend-label.png) +![ASP.NET MVC Chart Label Color](../images/legend-label.png) ## Series Selection on Legend diff --git a/chart-sdk/asp-net-mvc/charts/localization.md b/chart-sdk/asp-net-mvc/charts/localization.md index e06b74285..0e26c3272 100644 --- a/chart-sdk/asp-net-mvc/charts/localization.md +++ b/chart-sdk/asp-net-mvc/charts/localization.md @@ -1,14 +1,15 @@ --- layout: post -title: Localization in ASP.NET MVC Charts | Syncfusion -description: Learn here all about Localization in Syncfusion ASP.NET MVC Charts component of Syncfusion Essential JS 2 and more. +title: Localization in ASP.NET MVC Chart Component +description: Learn here all about Localization in Syncfusion ASP.NET MVC Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Localization +publishingplatform: chart-sdk documentation: ug --- -# Localization in ASP.NET MVC Charts +# Localization Localization library allows to localize the default text content of Chart. In Chart component, it has the static text on some features(like zooming toolbars) and this can be changed to any other culture(Arabic, Deutsch, French, etc) by defining the locale value and translation object. @@ -47,7 +48,7 @@ Localization library allows to localize the default text content of Chart. In Ch To load translation object in an application use load function of L10n class. -For more information about localization, refer this [`localization`](https://ej2.syncfusion.com/aspnetcore/documentation/common/localization) +For more information about localization, refer this [`localization`](https://ej2.syncfusion.com/aspnetcore/documentation/common/localization/) {% tabs %} {% highlight razor tabtitle="CSHTML" %} diff --git a/chart-sdk/asp-net-mvc/charts/logarithmic-axis.md b/chart-sdk/asp-net-mvc/charts/logarithmic-axis.md index 059be5d06..e12478afd 100644 --- a/chart-sdk/asp-net-mvc/charts/logarithmic-axis.md +++ b/chart-sdk/asp-net-mvc/charts/logarithmic-axis.md @@ -1,14 +1,15 @@ --- layout: post -title: Logarithmic Axis in ASP.NET MVC Charts | Syncfusion -description: Learn here all about Logarithmic Axis in Syncfusion ASP.NET MVC Charts component of Syncfusion Essential JS 2 and more. +title: Logarithmic Axis in ASP.NET MVC Chart Component +description: Learn here all about Logarithmic Axis in Syncfusion ASP.NET MVC Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Logarithmic Axis +publishingplatform: chart-sdk documentation: ug --- -# Logarithmic Axis in ASP.NET MVC Charts +# Logarithmic Axis diff --git a/chart-sdk/asp-net-mvc/charts/multiple-panes.md b/chart-sdk/asp-net-mvc/charts/multiple-panes.md index 785eb3e06..dcd049fe9 100644 --- a/chart-sdk/asp-net-mvc/charts/multiple-panes.md +++ b/chart-sdk/asp-net-mvc/charts/multiple-panes.md @@ -1,14 +1,15 @@ --- layout: post -title: Multiple Panes in ASP.NET MVC Charts | Syncfusion -description: Learn here all about Multiple Panes in Syncfusion ASP.NET MVC Charts component of Syncfusion Essential JS 2 and more. +title: Multiple Panes in ASP.NET MVC Chart Component +description: Learn here all about Multiple Panes in Syncfusion ASP.NET MVC Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Multiple Panes +publishingplatform: chart-sdk documentation: ug --- -# Multiple Panes in ASP.NET MVC Charts +# Multiple Panes Chart area can be divided into multiple panes using [`Rows`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.Charts.ChartRow.html) and [`Columns`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.Charts.ChartColumn.html). diff --git a/chart-sdk/asp-net-mvc/charts/numeric-axis.md b/chart-sdk/asp-net-mvc/charts/numeric-axis.md index fa840c1d2..3bec08bfa 100644 --- a/chart-sdk/asp-net-mvc/charts/numeric-axis.md +++ b/chart-sdk/asp-net-mvc/charts/numeric-axis.md @@ -1,16 +1,17 @@ --- layout: post -title: Numeric Axis in ASP.NET MVC Charts | Syncfusion -description: Learn here all about Numeric Axis in Syncfusion ASP.NET MVC Charts component of Syncfusion Essential JS 2 and more. +title: Numeric Axis in ASP.NET MVC Chart Component +description: Learn here all about Numeric Axis in Syncfusion ASP.NET MVC Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Numeric Axis +publishingplatform: chart-sdk documentation: ug --- -# Numeric Axis in ASP.NET MVC Charts +# Numeric Axis You can use numeric [`Axis`](https://ej2.syncfusion.com/aspnetcore/Chart/NumericAxis#/material) to represent numeric values of data in chart. By default, the `ValueType` of an axis is [`Double`](https://www.syncfusion.com/aspnet-core-ui-controls/charts/chart-axis). diff --git a/chart-sdk/asp-net-mvc/charts/render-methods.md b/chart-sdk/asp-net-mvc/charts/render-methods.md index 84b95ee2f..55cc25d57 100644 --- a/chart-sdk/asp-net-mvc/charts/render-methods.md +++ b/chart-sdk/asp-net-mvc/charts/render-methods.md @@ -1,15 +1,16 @@ --- layout: post -title: Render Methods in ASP.NET MVC Charts | Syncfusion -description: Learn here all about Render Methods in Syncfusion ASP.NET MVC Charts component of Syncfusion Essential JS 2 and more. +title: Render Methods in ASP.NET MVC Chart Component +description: Learn here all about Render Methods in Syncfusion ASP.NET MVC Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Render Methods +publishingplatform: chart-sdk documentation: ug --- -# Render Methods in ASP.NET MVC Chart +# Rendering Types Chart uses following two rendering methods. diff --git a/chart-sdk/asp-net-mvc/charts/scaffolding.md b/chart-sdk/asp-net-mvc/charts/scaffolding.md index 72cc7df20..edad39e41 100644 --- a/chart-sdk/asp-net-mvc/charts/scaffolding.md +++ b/chart-sdk/asp-net-mvc/charts/scaffolding.md @@ -1,14 +1,15 @@ --- layout: post -title: Scaffolding in ASP.NET MVC Charts | Syncfusion -description: Learn here all about Scaffolding in Syncfusion ASP.NET MVC Charts component of Syncfusion Essential JS 2 and more. +title: Scaffolding in ASP.NET MVC Chart Component | Syncfusion +description: Learn here all about Scaffolding in Syncfusion ASP.NET MVC Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Scaffolding +publishingplatform: chart-sdk documentation: ug --- -# Scaffolding in ASP.NET MVC Charts +# ASP.NET MVC Scaffolding Syncfusion® includes an extension for **Visual Studio Scaffolding** for the Syncfusion® ASP.NET MVC platform to quickly add code that interacts with data models and reduce the amount of time to develop with data operation in your project. Scaffolding provides an easier way to create Views and Controller action methods for Syncfusion® ASP.NET MVC Chart controls. @@ -20,7 +21,7 @@ Let's start with the steps on how to scaffold the ASP.NET MVC Chart into your we * Create an ASP.NET MVC application and add an Entity Framework data model referring from the [documentation](https://docs.microsoft.com/en-us/aspnet/mvc/overview/getting-started/database-first-development/creating-the-web-application#generate-the-models) with Scheduler related fields such as Id, Subject, Location, Start Date, End Date and All-day. Once the model file is added, ensure the required DBContext and all its related properties are added. -* Refer the [Getting Started documentation](https://ej2.syncfusion.com/aspnetmvc/documentation/getting-started/visual-studio-2017#configure-essential-js-2-in-the-application) to know about how to configure the Syncfusion® Essential® JS2 for ASP.NET MVC in your web application. +* Refer the [Getting Started documentation](https://ej2.syncfusion.com/aspnetmvc/documentation/getting-started/visual-studio-2017/#configure-essential-js-2-in-the-application) to know about how to configure the Syncfusion® Essential® JS2 for ASP.NET MVC in your web application. ## Add a Scaffolded Item @@ -58,4 +59,4 @@ N> Ensure that at least one Entity Framework model exists in your project and Refer to the following UG links to render Syncfusion® control after performed scaffolding. -**MVC5:** [`Configure Essential® JS 2 using Syncfusion.EJ2.MVC5 package`](https://ej2.syncfusion.com/aspnetmvc/documentation/getting-started/visual-studio-2017#configure-essential-js-2-in-the-application) +**MVC5:** [`Configure Essential® JS 2 using Syncfusion.EJ2.MVC5 package`](https://ej2.syncfusion.com/aspnetmvc/documentation/getting-started/visual-studio-2017/#configure-essential-js-2-in-the-application) diff --git a/chart-sdk/asp-net-mvc/charts/selection.md b/chart-sdk/asp-net-mvc/charts/selection.md index 8b865e155..04173ed4d 100644 --- a/chart-sdk/asp-net-mvc/charts/selection.md +++ b/chart-sdk/asp-net-mvc/charts/selection.md @@ -1,16 +1,17 @@ --- layout: post -title: Selection in ASP.NET MVC Charts | Syncfusion -description: Learn here all about Selection in Syncfusion ASP.NET MVC Charts component of Syncfusion Essential JS 2 and more. +title: Selection in ASP.NET MVC Syncfusion Chart Component +description: Learn here all about Selection in Syncfusion ASP.NET MVC Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Selection +publishingplatform: chart-sdk documentation: ug --- -# Selection in ASP.NET MVC Charts +# Selection in ASP.NET MVC Chart Component Chart provides selection support for the series and its data points on mouse click. diff --git a/chart-sdk/asp-net-mvc/charts/series-label.md b/chart-sdk/asp-net-mvc/charts/series-label.md index 822e4c4bb..295f8e1fd 100644 --- a/chart-sdk/asp-net-mvc/charts/series-label.md +++ b/chart-sdk/asp-net-mvc/charts/series-label.md @@ -1,13 +1,13 @@ --- layout: post -title: Series label in ASP.NET MVC Charts | Syncfusion -description: Learn here all about Series label in Syncfusion ASP.NET MVC Charts component of Syncfusion Essential JS 2 and more. +title: Series label in Syncfusion ASP.NET Core Chart Component +description: Learn here all about Series label in Syncfusion ASP.NET Core Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Series label documentation: ug --- -# Series label in ASP.NET MVC Charts +# Series label in ASP.NET Core Chart component The series label displays the name of each series inline, positioned near the end of the series path or the last visible data point. This helps identify each series without referring to the legend. diff --git a/chart-sdk/asp-net-mvc/charts/strip-line.md b/chart-sdk/asp-net-mvc/charts/strip-line.md index 80c17a766..2482a4c08 100644 --- a/chart-sdk/asp-net-mvc/charts/strip-line.md +++ b/chart-sdk/asp-net-mvc/charts/strip-line.md @@ -1,16 +1,17 @@ --- layout: post -title: Strip Line in ASP.NET MVC Charts | Syncfusion -description: Learn here all about Strip Line in Syncfusion ASP.NET MVC Charts component of Syncfusion Essential JS 2 and more. +title: Strip Line in ASP.NET MVC Chart Component +description: Learn here all about Strip Line in Syncfusion ASP.NET MVC Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Strip Line +publishingplatform: chart-sdk documentation: ug --- -# Strip Line in ASP.NET MVC Charts +# Strip lines diff --git a/chart-sdk/asp-net-mvc/charts/synchronized-chart.md b/chart-sdk/asp-net-mvc/charts/synchronized-chart.md index 2087121a2..5b30a616c 100644 --- a/chart-sdk/asp-net-mvc/charts/synchronized-chart.md +++ b/chart-sdk/asp-net-mvc/charts/synchronized-chart.md @@ -1,14 +1,15 @@ --- layout: post -title: Synchronized Charts in ASP.NET MVC Charts | Syncfusion -description: Learn here all about Synchronized Charts in Syncfusion ASP.NET MVC Charts component of Syncfusion Essential JS 2 and more. +title: Synchronized Charts in ASP.NET MVC Chart Component +description: Learn here all about Synchronized Charts in Syncfusion ASP.NET MVC Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Synchronized charts +publishingplatform: chart-sdk documentation: ug --- -# Synchronized Charts in ASP.NET MVC Charts +# Synchronized charts in ASP.NET MVC Chart Component ## Tooltip synchronization diff --git a/chart-sdk/asp-net-mvc/charts/technical-indicators.md b/chart-sdk/asp-net-mvc/charts/technical-indicators.md index 140e4d93b..6ceeacf7e 100644 --- a/chart-sdk/asp-net-mvc/charts/technical-indicators.md +++ b/chart-sdk/asp-net-mvc/charts/technical-indicators.md @@ -1,16 +1,17 @@ --- layout: post -title: Technical Indicators in ASP.NET MVC Charts | Syncfusion -description: Learn here all about Technical Indicators in Syncfusion ASP.NET MVC Charts component of Syncfusion Essential JS 2 and more. +title: Technical Indicators in ASP.NET MVC Chart Component +description: Learn here all about Technical Indicators in Syncfusion ASP.NET MVC Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Technical Indicators +publishingplatform: chart-sdk documentation: ug --- -# Technical Indicators in ASP.NET MVC Charts +# Technical Indicators A [`Technical indicator`](https://www.syncfusion.com/aspnet-core-ui-controls/charts/technical-indicators) is a mathematical calculation based on historic price, volume or open interest information that aims to forecast financial market direction. diff --git a/chart-sdk/asp-net-mvc/charts/tool-tip.md b/chart-sdk/asp-net-mvc/charts/tool-tip.md index 1281bf9e6..d083b7df1 100644 --- a/chart-sdk/asp-net-mvc/charts/tool-tip.md +++ b/chart-sdk/asp-net-mvc/charts/tool-tip.md @@ -1,14 +1,15 @@ --- layout: post -title: Tooltip in ASP.NET MVC Charts | Syncfusion -description: Learn here all about Tooltip in Syncfusion ASP.NET MVC Charts component of Syncfusion Essential JS 2 and more. +title: Tooltip in Syncfusion ASP.NET MVC Chart Component +description: Learn here all about Tooltip in Syncfusion ASP.NET MVC Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Tooltip +publishingplatform: chart-sdk documentation: ug --- -# Tooltip in ASP.NET MVC Charts +# Tooltip in ASP.NET MVC Chart Component diff --git a/chart-sdk/asp-net-mvc/charts/trend-lines.md b/chart-sdk/asp-net-mvc/charts/trend-lines.md index 5a5ef1438..e73a69b8b 100644 --- a/chart-sdk/asp-net-mvc/charts/trend-lines.md +++ b/chart-sdk/asp-net-mvc/charts/trend-lines.md @@ -1,16 +1,17 @@ --- layout: post -title: Trend Lines in ASP.NET MVC Charts | Syncfusion -description: Learn here all about Trend Lines in Syncfusion ASP.NET MVC Charts component of Syncfusion Essential JS 2 and more. +title: Trend Lines in ASP.NET MVC Chart Component +description: Learn here all about Trend Lines in Syncfusion ASP.NET MVC Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Trend Lines +publishingplatform: chart-sdk documentation: ug --- -# Trend Lines in ASP.NET MVC Charts +# Trend Lines in ASP.NET MVC Chart Component Trendlines are used to show the direction and speed of price. diff --git a/chart-sdk/asp-net-mvc/charts/working-with-data.md b/chart-sdk/asp-net-mvc/charts/working-with-data.md index eddf01470..78e3c7201 100644 --- a/chart-sdk/asp-net-mvc/charts/working-with-data.md +++ b/chart-sdk/asp-net-mvc/charts/working-with-data.md @@ -1,16 +1,17 @@ --- layout: post -title: Working with Data in ASP.NET MVC Charts | Syncfusion -description: Learn here all about Working with data in Syncfusion ASP.NET MVC Charts component of Syncfusion Essential JS 2 and more. +title: Working with data in ASP.NET MVC Syncfusion Chart Component +description: Learn here all about Working with data in Syncfusion ASP.NET MVC Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Working with data +publishingplatform: chart-sdk documentation: ug --- -# Working with Data in ASP.NET MVC Charts +# Working with data in ASP.NET MVC Chart Component Chart can visualize data bound from local or remote data. diff --git a/chart-sdk/asp-net-mvc/charts/zooming.md b/chart-sdk/asp-net-mvc/charts/zooming.md index 23e777f95..49a71e448 100644 --- a/chart-sdk/asp-net-mvc/charts/zooming.md +++ b/chart-sdk/asp-net-mvc/charts/zooming.md @@ -1,14 +1,15 @@ --- layout: post -title: Zooming in ASP.NET MVC Charts | Syncfusion -description: Learn here all about Zooming in Syncfusion ASP.NET MVC Charts component of Syncfusion Essential JS 2 and more. +title: Zooming in ASP.NET MVC Syncfusion Chart Component +description: Learn here all about Zooming in Syncfusion ASP.NET MVC Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Zooming +publishingplatform: chart-sdk documentation: ug --- -# Zooming in ASP.NET MVC Charts +# Zooming and Panning in ASP.NET MVC Chart Component ## Enable zooming diff --git a/chart-sdk/asp-net-mvc/circular-gauge/accessibility.md b/chart-sdk/asp-net-mvc/circular-gauge/accessibility.md index ae14cf699..a156d7514 100644 --- a/chart-sdk/asp-net-mvc/circular-gauge/accessibility.md +++ b/chart-sdk/asp-net-mvc/circular-gauge/accessibility.md @@ -1,13 +1,14 @@ --- layout: post -title: Accessibility in ASP.NET MVC Circular Gauge | Syncfusion +title: Accessibility in ASP.NET MVC Circular Gauge component | Syncfusion description: Learn here all about Accessibility in Syncfusion ASP.NET MVC Circular Gauge component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Accessibility +publishingplatform: chart-sdk documentation: ug --- -# Accessibility in ASP.NET MVC Circular Gauge +# Accessibility in ASP.NET MVC Circular Gauge component The Circular Gauge component follows commonly used accessibility guidelines and standards, such as [ADA](https://www.ada.gov/), [Section 508](https://www.section508.gov/), [WCAG 2.2](https://www.w3.org/TR/WCAG22/) standards, and [WCAG roles](https://www.w3.org/TR/wai-aria/#roles). diff --git a/chart-sdk/asp-net-mvc/circular-gauge/ej1-api-migration.md b/chart-sdk/asp-net-mvc/circular-gauge/ej1-api-migration.md index 1bbca0be5..911dd1fa7 100644 --- a/chart-sdk/asp-net-mvc/circular-gauge/ej1-api-migration.md +++ b/chart-sdk/asp-net-mvc/circular-gauge/ej1-api-migration.md @@ -1,14 +1,15 @@ --- layout: post -title: EJ1 API Migration in ASP.NET MVC Circular Gauge | Syncfusion +title: Ej1 Api Migration in ASP.NET MVC Circular Gauge Component description: Learn here all about Ej1 Api Migration in Syncfusion ASP.NET MVC Circular Gauge component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Ej1 Api Migration +publishingplatform: chart-sdk documentation: ug --- -# EJ1 API Migration in ASP.NET MVC Circular Gauge +# Migration from Essential® JS 1 This article describes the API migration process of Accordion component from Essential® JS 1 to Essential® JS 2. diff --git a/chart-sdk/asp-net-mvc/circular-gauge/gauge-animation.md b/chart-sdk/asp-net-mvc/circular-gauge/gauge-animation.md index 0dd6fe151..972129b6c 100644 --- a/chart-sdk/asp-net-mvc/circular-gauge/gauge-animation.md +++ b/chart-sdk/asp-net-mvc/circular-gauge/gauge-animation.md @@ -1,13 +1,14 @@ --- layout: post -title: Animation in ASP.NET MVC Circular Gauge | Syncfusion +title: Animation in ASP.NET MVC Circular Gauge component | Syncfusion description: Learn here all about animation in the Syncfusion ASP.NET MVC Circular Gauge component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Circular Gauge +publishingplatform: chart-sdk documentation: ug --- -# Animation in ASP.NET MVC Circular Gauge +# Animation in Circular Gauge component All of the elements in the Circular Gauge, such as the axis lines, ticks, labels, ranges, pointers, and annotations, can be animated sequentially by using the [AnimationDuration](https://help.syncfusion.com/cr/aspnetmvc-js2/Syncfusion.EJ2.CircularGauge.CircularGauge.html#Syncfusion_EJ2_CircularGauge_CircularGauge_AnimationDuration) property. The animation for the Circular Gauge is enabled when the `AnimationDuration` property is set to an appropriate value in milliseconds, providing a smooth rendering effect for the component. If the `AnimationDuration` property is set to **0**, which is the default value, the animation effect is disabled. If the animation is enabled, the component will behave in the following order. diff --git a/chart-sdk/asp-net-mvc/circular-gauge/gauge-annotations.md b/chart-sdk/asp-net-mvc/circular-gauge/gauge-annotations.md index acd6653db..8e1c34470 100644 --- a/chart-sdk/asp-net-mvc/circular-gauge/gauge-annotations.md +++ b/chart-sdk/asp-net-mvc/circular-gauge/gauge-annotations.md @@ -1,13 +1,14 @@ --- layout: post -title: Annotations in ASP.NET MVC Circular Gauge | Syncfusion +title: Gauge Annotations in ASP.NET MVC Circular Gauge Control | Syncfusion description: Learn here all about Gauge Annotations in Syncfusion ASP.NET MVC Circular Gauge control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Gauge Annotations +publishingplatform: chart-sdk documentation: ug --- -# Annotations in ASP.NET MVC Circular Gauge +# Annotations in Circular Gauge Control Annotations are used to mark a specific area of interest in the gauge with texts, shapes or images. diff --git a/chart-sdk/asp-net-mvc/circular-gauge/gauge-appearance.md b/chart-sdk/asp-net-mvc/circular-gauge/gauge-appearance.md index 74f200f54..4318197e1 100644 --- a/chart-sdk/asp-net-mvc/circular-gauge/gauge-appearance.md +++ b/chart-sdk/asp-net-mvc/circular-gauge/gauge-appearance.md @@ -1,13 +1,14 @@ --- layout: post -title: Appearance in ASP.NET MVC Circular Gauge | Syncfusion +title: Gauge Appearance in ASP.NET MVC Circular Gauge Control | Syncfusion description: Learn here all about Gauge Appearance in Syncfusion ASP.NET MVC Circular Gauge control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Gauge Appearance +publishingplatform: chart-sdk documentation: ug --- -# Appearance in ASP.NET MVC Circular Gauge +# Appearance in Circular Gauge Control ## Gauge Title diff --git a/chart-sdk/asp-net-mvc/circular-gauge/gauge-axes.md b/chart-sdk/asp-net-mvc/circular-gauge/gauge-axes.md index f90d499af..52e5b5717 100644 --- a/chart-sdk/asp-net-mvc/circular-gauge/gauge-axes.md +++ b/chart-sdk/asp-net-mvc/circular-gauge/gauge-axes.md @@ -1,13 +1,14 @@ --- layout: post -title: Axes in ASP.NET MVC Circular Gauge | Syncfusion +title: Gauge Axes in ASP.NET MVC Circular Gauge Control | Syncfusion description: Learn here all about Gauge Axes in Syncfusion ASP.NET MVC Circular Gauge control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Gauge Axes +publishingplatform: chart-sdk documentation: ug --- -# Axes in ASP.NET MVC Circular Gauge +# Axes in Circular Gauge Control By default, gauge will be displayed with an axis. Each axis contains its own ranges, pointers and annotation. diff --git a/chart-sdk/asp-net-mvc/circular-gauge/gauge-dimensions.md b/chart-sdk/asp-net-mvc/circular-gauge/gauge-dimensions.md index 5a229ffe4..c745201e4 100644 --- a/chart-sdk/asp-net-mvc/circular-gauge/gauge-dimensions.md +++ b/chart-sdk/asp-net-mvc/circular-gauge/gauge-dimensions.md @@ -1,13 +1,14 @@ --- layout: post -title: Dimensions in ASP.NET MVC Circular Gauge | Syncfusion +title: Gauge Dimensions in ASP.NET MVC Circular Gauge Control | Syncfusion description: Learn here all about Gauge Dimensions in Syncfusion ASP.NET MVC Circular Gauge control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Gauge Dimensions +publishingplatform: chart-sdk documentation: ug --- -# Dimensions in ASP.NET MVC Circular Gauge +# Circular Gauge Dimensions ## Size for Circular Gauge diff --git a/chart-sdk/asp-net-mvc/circular-gauge/gauge-legend.md b/chart-sdk/asp-net-mvc/circular-gauge/gauge-legend.md index 43437b132..ed5fb3a91 100644 --- a/chart-sdk/asp-net-mvc/circular-gauge/gauge-legend.md +++ b/chart-sdk/asp-net-mvc/circular-gauge/gauge-legend.md @@ -1,14 +1,15 @@ --- layout: post -title: Legend in ASP.NET MVC Circular Gauge | Syncfusion +title: Gauge Legend in ASP.NET MVC Circular Gauge Control | Syncfusion description: Learn here all about Gauge Legend in Syncfusion ASP.NET MVC Circular Gauge control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Gauge Legend +publishingplatform: chart-sdk documentation: ug --- -# Legend in ASP.NET MVC Circular Gauge +# Legend in Circular Gauge Control Legend provides valuable information for interpreting what the circular gauge axis range displays, and they can be represented in various colors, shapes, and other identifiers based on the data. It gives a breakdown of what each symbol represents in the axis range of circular gauge. diff --git a/chart-sdk/asp-net-mvc/circular-gauge/gauge-pointers.md b/chart-sdk/asp-net-mvc/circular-gauge/gauge-pointers.md index 51e30c406..69b77ed4f 100644 --- a/chart-sdk/asp-net-mvc/circular-gauge/gauge-pointers.md +++ b/chart-sdk/asp-net-mvc/circular-gauge/gauge-pointers.md @@ -1,13 +1,14 @@ --- layout: post -title: Pointers in ASP.NET MVC Circular Gauge | Syncfusion +title: Gauge Pointers in ASP.NET MVC Circular Gauge Control | Syncfusion description: Learn here all about Gauge Pointers in Syncfusion ASP.NET MVC Circular Gauge control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Gauge Pointers +publishingplatform: chart-sdk documentation: ug --- -# Pointers in ASP.NET MVC Circular Gauge +# Pointers in Circular Gauge Control Pointers are used to indicate values on the axis. Value of the pointer can be modified using the [value](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.CircularGauge.CircularGaugePointer.html#Syncfusion_EJ2_CircularGauge_CircularGaugePointer_Value) property. diff --git a/chart-sdk/asp-net-mvc/circular-gauge/gauge-ranges.md b/chart-sdk/asp-net-mvc/circular-gauge/gauge-ranges.md index 24a1f4eb1..15b016fac 100644 --- a/chart-sdk/asp-net-mvc/circular-gauge/gauge-ranges.md +++ b/chart-sdk/asp-net-mvc/circular-gauge/gauge-ranges.md @@ -1,13 +1,14 @@ --- layout: post -title: Ranges in ASP.NET MVC Circular Gauge | Syncfusion +title: Gauge Ranges in ASP.NET MVC Circular Gauge Control | Syncfusion description: Learn here all about Gauge Ranges in Syncfusion ASP.NET MVC Circular Gauge control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Gauge Ranges +publishingplatform: chart-sdk documentation: ug --- -# Ranges in ASP.NET MVC Circular Gauge +# Ranges in Circular Gauge Control You can categories certain interval on gauge axis using [ranges](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.CircularGauge.CircularGaugeRange.html) property. diff --git a/chart-sdk/asp-net-mvc/circular-gauge/gauge-user-interaction.md b/chart-sdk/asp-net-mvc/circular-gauge/gauge-user-interaction.md index eac540f09..972af0bbb 100644 --- a/chart-sdk/asp-net-mvc/circular-gauge/gauge-user-interaction.md +++ b/chart-sdk/asp-net-mvc/circular-gauge/gauge-user-interaction.md @@ -1,13 +1,14 @@ --- layout: post -title: User Interaction in ASP.NET MVC Circular Gauge | Syncfusion +title: Gauge User Interaction in ASP.NET MVC Circular Gauge Control | Syncfusion description: Learn here all about Gauge User Interaction in Syncfusion ASP.NET MVC Circular Gauge control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Gauge User Interaction +publishingplatform: chart-sdk documentation: ug --- -# User Interaction in ASP.NET MVC Circular Gauge +# User Interaction in Circular Gauge Control ## Tooltip for pointers diff --git a/chart-sdk/asp-net-mvc/circular-gauge/getting-started.md b/chart-sdk/asp-net-mvc/circular-gauge/getting-started.md index ddf004a52..f50b3608d 100644 --- a/chart-sdk/asp-net-mvc/circular-gauge/getting-started.md +++ b/chart-sdk/asp-net-mvc/circular-gauge/getting-started.md @@ -1,14 +1,15 @@ --- layout: post title: Getting Started with ASP.NET MVC Circular Gauge | Syncfusion -description: Checkout and learn about getting started with ASP.NET MVC Circular Gauge component of Syncfusion Essential JS 2 and more details. +description: Check out and learn about getting started with the ASP.NET MVC Circular Gauge control of Syncfusion Essential JS 2 and more details. platform: chart-sdk control: Getting Started +publishingplatform: chart-sdl documentation: ug --- -# Getting Started with ASP.NET MVC Circular Gauge +# Getting Started with the ASP.NET MVC Circular Gauge Control This section briefly explains how to add the Syncfusion® [ASP.NET MVC Circular Gauge](https://www.syncfusion.com/aspnet-mvc-ui-controls/circular-gauge) control to an ASP.NET MVC 5 (.NET Framework) application using Visual Studio. diff --git a/chart-sdk/asp-net-mvc/circular-gauge/how-to/code-behind.md b/chart-sdk/asp-net-mvc/circular-gauge/how-to/code-behind.md index 2b162f0c9..91cc0e6cc 100644 --- a/chart-sdk/asp-net-mvc/circular-gauge/how-to/code-behind.md +++ b/chart-sdk/asp-net-mvc/circular-gauge/how-to/code-behind.md @@ -1,13 +1,14 @@ --- layout: post -title: Code-behind gauge in ASP.NET MVC Circular Gauge | Syncfusion +title: Code Behind in ASP.NET MVC Circular Gauge Component description: Learn here all about Code Behind in Syncfusion ASP.NET MVC Circular Gauge component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Code Behind +publishingplatform: chart-sdk documentation: ug --- -# How to render data from code behind in ASP.NET MVC Circular Gauge +# How To ## Get data from database for circular gauge and render gauge from code behind @@ -82,4 +83,4 @@ To get the data from data base and render the gauge from code behind, follow the **Screenshot** -![Circular gauge Database data for your reference](../images/database.png) \ No newline at end of file +![Screenshot for your reference](../images/database.png) \ No newline at end of file diff --git a/chart-sdk/asp-net-mvc/circular-gauge/internationalization.md b/chart-sdk/asp-net-mvc/circular-gauge/internationalization.md index 33ee5ef1f..e7132362f 100644 --- a/chart-sdk/asp-net-mvc/circular-gauge/internationalization.md +++ b/chart-sdk/asp-net-mvc/circular-gauge/internationalization.md @@ -1,13 +1,14 @@ --- layout: post -title: Internationalization in ASP.NET MVC Circular Gauge | Syncfusion +title: Internationalization in ASP.NET MVC Circular Gauge Control | Syncfusion description: Learn here all about Internationalization in Syncfusion ASP.NET MVC Circular Gauge control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Internationalization +publishingplatform: chart-sdk documentation: ug --- -# Internationalization in ASP.NET MVC Circular Gauge +# Internationalization in Circular Gauge Control Circular Gauge provides internationalization support for below elements. diff --git a/chart-sdk/asp-net-mvc/circular-gauge/print-and-export.md b/chart-sdk/asp-net-mvc/circular-gauge/print-and-export.md index 8fb967db8..4460a7cb1 100644 --- a/chart-sdk/asp-net-mvc/circular-gauge/print-and-export.md +++ b/chart-sdk/asp-net-mvc/circular-gauge/print-and-export.md @@ -1,17 +1,18 @@ --- layout: post -title: Print and Export in ASP.NET MVC Circular Gauge | Syncfusion +title: Print And Export in ASP.NET MVC Circular Gauge Component description: Learn here all about Print And Export in Syncfusion ASP.NET MVC Circular Gauge component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Print And Export +publishingplatform: chart-sdk documentation: ug --- -# Print and Export in ASP.NET MVC Circular Gauge +# Print and Export ## Print -To use the print functionality, we should set the [`AllowPrint`](https://ej2.syncfusion.com/documentation/api/circular-gauge#allowprint) property to **true**. The rendered circular gauge can be printed directly from the browser by calling the method [`print`](https://ej2.syncfusion.com/documentation/api/circular-gauge#print). +To use the print functionality, we should set the [`AllowPrint`](https://ej2.syncfusion.com/documentation/api/circular-gauge/#allowprint) property to **true**. The rendered circular gauge can be printed directly from the browser by calling the method [`print`](https://ej2.syncfusion.com/documentation/api/circular-gauge/#print). {% tabs %} {% highlight razor tabtitle="CSHTML" %} @@ -28,7 +29,7 @@ To use the print functionality, we should set the [`AllowPrint`](https://ej2.syn ### Image Export -To use the image export functionality, we should set the [`AllowImageExport`](https://ej2.syncfusion.com/documentation/api/circular-gauge#allowimageexport) property to **true**. The rendered circular gauge can be exported as an image using the [`export`](https://ej2.syncfusion.com/documentation/api/circular-gauge#export) method. The method requires two parameters: image type and file name. The circular gauge can be exported as an image in the following formats. +To use the image export functionality, we should set the [`AllowImageExport`](https://ej2.syncfusion.com/documentation/api/circular-gauge/#allowimageexport) property to **true**. The rendered circular gauge can be exported as an image using the [`export`](https://ej2.syncfusion.com/documentation/api/circular-gauge/#export) method. The method requires two parameters: image type and file name. The circular gauge can be exported as an image in the following formats. * JPEG * PNG @@ -45,7 +46,7 @@ To use the image export functionality, we should set the [`AllowImageExport`](ht -We can get the image file as base64 string for the JPEG and PNG formats. The circular gauge can be exported to image as a base64 string using the [`export`](https://ej2.syncfusion.com/documentation/api/circular-gauge#export) method. There are four parameters required: image type, file name, orientation of the exported PDF document which must be set as **null** for image export and finally **allowDownload** which should be set as **false** to return base64 string. +We can get the image file as base64 string for the JPEG and PNG formats. The circular gauge can be exported to image as a base64 string using the [`export`](https://ej2.syncfusion.com/documentation/api/circular-gauge/#export) method. There are four parameters required: image type, file name, orientation of the exported PDF document which must be set as **null** for image export and finally **allowDownload** which should be set as **false** to return base64 string. {% tabs %} {% highlight razor tabtitle="CSHTML" %} @@ -60,7 +61,7 @@ We can get the image file as base64 string for the JPEG and PNG formats. The cir ### PDF Export -To use the PDF export functionality, we should set the [`AllowPdfExport`](https://ej2.syncfusion.com/documentation/api/circular-gauge#allowpdfexport) property to **true**. The rendered circular gauge can be exported as PDF using the [`export`](https://ej2.syncfusion.com/documentation/api/circular-gauge#export) method. The [`export`](https://ej2.syncfusion.com/documentation/api/circular-gauge#export) method requires three parameters: file type, file name and orientation of the PDF document. The orientation setting is optional and "0" indicates portrait and "1" indicates landscape. +To use the PDF export functionality, we should set the [`AllowPdfExport`](https://ej2.syncfusion.com/documentation/api/circular-gauge/#allowpdfexport) property to **true**. The rendered circular gauge can be exported as PDF using the [`export`](https://ej2.syncfusion.com/documentation/api/circular-gauge/#export) method. The [`export`](https://ej2.syncfusion.com/documentation/api/circular-gauge/#export) method requires three parameters: file type, file name and orientation of the PDF document. The orientation setting is optional and "0" indicates portrait and "1" indicates landscape. {% tabs %} {% highlight razor tabtitle="CSHTML" %} diff --git a/chart-sdk/asp-net-mvc/heatmap-chart/accessibility.md b/chart-sdk/asp-net-mvc/heatmap-chart/accessibility.md index dd514f13d..fe98e1bc7 100644 --- a/chart-sdk/asp-net-mvc/heatmap-chart/accessibility.md +++ b/chart-sdk/asp-net-mvc/heatmap-chart/accessibility.md @@ -1,14 +1,15 @@ --- layout: post -title: Accessibility in ASP.NET MVC HeatMap Chart | Syncfusion +title: Accessibility in Syncfusion ASP.NET MVC HeatMap chart component description: Learn here all about Accessibility in Syncfusion ASP.NET MVC HeatMap chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Accessibility +publishingplatform: chart-sdk documentation: ug --- -# Accessibility in ASP.NET MVC HeatMap Chart +# Accessibility in ASP.NET MVC HeatMap chart component The HeatMap component follows commonly used accessibility guidelines and standards, such as [ADA](https://www.ada.gov/), [Section 508](https://www.section508.gov/), [WCAG 2.2](https://www.w3.org/TR/WCAG22/) standards, and [WCAG roles](https://www.w3.org/TR/wai-aria/#roles). diff --git a/chart-sdk/asp-net-mvc/heatmap-chart/appearance.md b/chart-sdk/asp-net-mvc/heatmap-chart/appearance.md index a2c7cab62..b3e25a6da 100644 --- a/chart-sdk/asp-net-mvc/heatmap-chart/appearance.md +++ b/chart-sdk/asp-net-mvc/heatmap-chart/appearance.md @@ -1,14 +1,15 @@ --- layout: post -title: Appearance in ASP.NET MVC HeatMap Chart | Syncfusion +title: Appearance in Syncfusion ASP.NET MVC Heatmap Chart Component description: Learn here all about Appearance in Syncfusion ASP.NET MVC Heatmap Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Appearance +publishingplatform: chart-sdk documentation: ug --- -# Appearance in ASP.NET MVC HeatMap Chart +# Appearance in ASP.NET MVC HeatMap Chart Component ## Cell customization diff --git a/chart-sdk/asp-net-mvc/heatmap-chart/axis.md b/chart-sdk/asp-net-mvc/heatmap-chart/axis.md index 01aa38266..aa9308886 100644 --- a/chart-sdk/asp-net-mvc/heatmap-chart/axis.md +++ b/chart-sdk/asp-net-mvc/heatmap-chart/axis.md @@ -1,14 +1,15 @@ --- layout: post -title: Axis in ASP.NET MVC HeatMap Chart | Syncfusion +title: Axis in Syncfusion ASP.NET MVC HeatMap Chart Component description: Learn here all about axis in Syncfusion ASP.NET MVC HeatMap Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Axis +publishingplatform: chart-sdk documentation: ug --- -# Axis in ASP.NET MVC HeatMap Chart +# Axis in ASP.NET MVC HeatMap Chart Component HeatMap consists of two axes namely, X-axis and Y-axis that displays the row headers and column headers to plot the data points respectively. You can define the type, format, and other customizing options for both axes in the HeatMap. diff --git a/chart-sdk/asp-net-mvc/heatmap-chart/bubble-heatmap.md b/chart-sdk/asp-net-mvc/heatmap-chart/bubble-heatmap.md index 36c0044ca..a05119f1c 100644 --- a/chart-sdk/asp-net-mvc/heatmap-chart/bubble-heatmap.md +++ b/chart-sdk/asp-net-mvc/heatmap-chart/bubble-heatmap.md @@ -1,14 +1,15 @@ --- layout: post -title: Bubble HeatMap in ASP.NET MVC HeatMap Chart | Syncfusion +title: Bubble Heatmap in Syncfusion ASP.NET MVC Heatmap Chart Component description: Learn here all about Bubble Heatmap in Syncfusion ASP.NET MVC Heatmap Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Bubble Heatmap +publishingplatform: chart-sdk documentation: ug --- -# Bubble HeatMap in ASP.NET MVC HeatMap Chart +# Bubble HeatMap in ASP.NET MVC HeatMap Chart Component Data points represent the data source values with **gradient** or **fixed** colors in the HeatMap. You can customize the appearance of these data points by changing the `Color` and `Size` attributes. diff --git a/chart-sdk/asp-net-mvc/heatmap-chart/dimensions.md b/chart-sdk/asp-net-mvc/heatmap-chart/dimensions.md index fc6ea262f..41f20c071 100644 --- a/chart-sdk/asp-net-mvc/heatmap-chart/dimensions.md +++ b/chart-sdk/asp-net-mvc/heatmap-chart/dimensions.md @@ -1,14 +1,15 @@ --- layout: post -title: Dimensions in ASP.NET MVC HeatMap Chart | Syncfusion +title: Dimensions in Syncfusion ASP.NET MVC Heatmap Chart Component description: Learn here all about Dimensions in Syncfusion ASP.NET MVC Heatmap Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Dimensions +publishingplatform: chart-sdk documentation: ug --- -# Dimensions in ASP.NET MVC HeatMap Chart +# Dimensions in ASP.NET MVC HeatMap Chart Component ## Size for container diff --git a/chart-sdk/asp-net-mvc/heatmap-chart/ej1-api-migration.md b/chart-sdk/asp-net-mvc/heatmap-chart/ej1-api-migration.md index c2858477f..87bd9637d 100644 --- a/chart-sdk/asp-net-mvc/heatmap-chart/ej1-api-migration.md +++ b/chart-sdk/asp-net-mvc/heatmap-chart/ej1-api-migration.md @@ -1,14 +1,15 @@ --- layout: post -title: EJ1 API Migration in ASP.NET MVC HeatMap Chart | Syncfusion +title: Ej1 Api Migration in ASP.NET MVC Heatmap Chart Component description: Learn here all about Ej1 Api Migration in Syncfusion ASP.NET MVC Heatmap Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Ej1 Api Migration +publishingplatform: chart-sdk documentation: ug --- -# EJ1 API Migration in ASP.NET MVC HeatMap Chart +# Migration from Essential® JS 1 This article describes the API migration process of heat map component from Essential® JS 1 to Essential® JS 2. diff --git a/chart-sdk/asp-net-mvc/heatmap-chart/events.md b/chart-sdk/asp-net-mvc/heatmap-chart/events.md index 03f26c854..c0a807a44 100644 --- a/chart-sdk/asp-net-mvc/heatmap-chart/events.md +++ b/chart-sdk/asp-net-mvc/heatmap-chart/events.md @@ -1,14 +1,15 @@ --- layout: post -title: Events in ASP.NET MVC HeatMap Chart | Syncfusion +title: Events in Syncfusion ASP.NET MVC HeatMap Chart Component description: Learn here all about Events in Syncfusion ASP.NET MVC HeatMap Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Events +publishingplatform: chart-sdk documentation: ug --- -# Events in ASP.NET MVC HeatMap Chart +# Events in ASP.NET MVC HeatMap Chart Component This section describes the HeatMap chart event, which occurs when the required actions are performed. diff --git a/chart-sdk/asp-net-mvc/heatmap-chart/getting-started.md b/chart-sdk/asp-net-mvc/heatmap-chart/getting-started.md index 83a6a2910..22e6fc96c 100644 --- a/chart-sdk/asp-net-mvc/heatmap-chart/getting-started.md +++ b/chart-sdk/asp-net-mvc/heatmap-chart/getting-started.md @@ -1,14 +1,15 @@ --- layout: post -title: Getting Started with ASP.NET MVC Heatmap Chart | Syncfusion -description: Checkout and learn about getting started with ASP.NET MVC Heatmap Chart control of Syncfusion Essential JS 2 and more details. +title: Getting Started with ASP.NET MVC HeatMap Chart Control | Syncfusion +description: Check out and learn about getting started with the ASP.NET MVC HeatMap Chart control of Syncfusion Essential JS 2 and more details. platform: chart-sdk control: Getting Started +publishingplatform: chart-sdk documentation: ug --- -# Getting Started with ASP.NET MVC HeatMap Chart +# Getting Started with the ASP.NET MVC HeatMap Chart Control This section briefly explains how to add the Syncfusion® [ASP.NET MVC HeatMap Chart](https://www.syncfusion.com/aspnet-mvc-ui-controls/heatmap-chart) control to an ASP.NET MVC 5 (.NET Framework) application using Visual Studio. diff --git a/chart-sdk/asp-net-mvc/heatmap-chart/how-to/legend-label-customization.md b/chart-sdk/asp-net-mvc/heatmap-chart/how-to/legend-label-customization.md index dcc4c728d..3150d85ec 100644 --- a/chart-sdk/asp-net-mvc/heatmap-chart/how-to/legend-label-customization.md +++ b/chart-sdk/asp-net-mvc/heatmap-chart/how-to/legend-label-customization.md @@ -1,14 +1,15 @@ --- layout: post -title: Legend Label Customization in ASP.NET MVC HeatMap Chart | Syncfusion +title: Legend Label Customization in ASP.NET MVC Heatmap Chart Component description: Learn here all about Legend Label Customization in Syncfusion ASP.NET MVC Heatmap Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Legend Label Customization +publishingplatform: chart-sdk documentation: ug --- -# How to Customize Legend Label in ASP.NET MVC HeatMap Chart +# Change the legend label text You can change the legend label using the `LegendRender` client-side event. You can also hide the legend label using this client-side event. diff --git a/chart-sdk/asp-net-mvc/heatmap-chart/how-to/tooltip-template.md b/chart-sdk/asp-net-mvc/heatmap-chart/how-to/tooltip-template.md index e65a13660..a43a86b77 100644 --- a/chart-sdk/asp-net-mvc/heatmap-chart/how-to/tooltip-template.md +++ b/chart-sdk/asp-net-mvc/heatmap-chart/how-to/tooltip-template.md @@ -1,14 +1,15 @@ --- layout: post -title: Tooltip Template in ASP.NET MVC HeatMap Chart | Syncfusion +title: Tooltip Template in ASP.NET MVC Heatmap Chart Component description: Learn here all about Tooltip Template in Syncfusion ASP.NET MVC Heatmap Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Tooltip Template +publishingplatform: chart-sdk documentation: ug --- -# How to Customize Tooltip as a template in ASP.NET MVC HeatMap Chart +# Customizing tooltip as a table You can show a tooltip as a table using the `template` property in `TooltipSettings`. diff --git a/chart-sdk/asp-net-mvc/heatmap-chart/images/selection/heatmap-chart-clear-selection.gif b/chart-sdk/asp-net-mvc/heatmap-chart/images/selection/heatmap-chart-clear-selection.gif index 8edcb111a..b8fa215cc 100644 Binary files a/chart-sdk/asp-net-mvc/heatmap-chart/images/selection/heatmap-chart-clear-selection.gif and b/chart-sdk/asp-net-mvc/heatmap-chart/images/selection/heatmap-chart-clear-selection.gif differ diff --git a/chart-sdk/asp-net-mvc/heatmap-chart/legend.md b/chart-sdk/asp-net-mvc/heatmap-chart/legend.md index d7a5016c0..bfb63e858 100644 --- a/chart-sdk/asp-net-mvc/heatmap-chart/legend.md +++ b/chart-sdk/asp-net-mvc/heatmap-chart/legend.md @@ -1,14 +1,15 @@ --- layout: post -title: Legend in ASP.NET MVC HeatMap Chart | Syncfusion +title: Legend in Syncfusion ASP.NET MVC Heatmap Chart Component description: Learn here all about Legend in Syncfusion ASP.NET MVC Heatmap Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Legend +publishingplatform: chart-sdk documentation: ug --- -# Legend in ASP.NET MVC HeatMap Chart +# Legend in ASP.NET MVC HeatMap Chart Component The legend is used to provide the information about the heat map cell. You can enable the legend by setting the [visible](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2~Syncfusion.EJ2.HeatMap.HeatMapLegendSettings~Visible.html) property to **true**. diff --git a/chart-sdk/asp-net-mvc/heatmap-chart/palette.md b/chart-sdk/asp-net-mvc/heatmap-chart/palette.md index 30f57443e..a4d8bfde5 100644 --- a/chart-sdk/asp-net-mvc/heatmap-chart/palette.md +++ b/chart-sdk/asp-net-mvc/heatmap-chart/palette.md @@ -1,14 +1,15 @@ --- layout: post -title: Palette in ASP.NET MVC HeatMap Chart | Syncfusion +title: Palette in Syncfusion ASP.NET MVC Heatmap Chart Component description: Learn here all about Palette in Syncfusion ASP.NET MVC Heatmap Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Palette +publishingplatform: chart-sdk documentation: ug --- -# Palette in ASP.NET MVC HeatMap Chart +# Palette in ASP.NET MVC HeatMap Chart Component In heat map, each data point is displayed as a cell with applied color based on the data value. The palette in the heat map is used to define the color range for cells and gradient type for colors. You can define the colors either in RGB or hex codes using the [color](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2~Syncfusion.EJ2.HeatMap.HeatMapPalette~Color.html) property in the `palette`. The defined colors are applied to the cell background based on the palette type and cell value. @@ -63,4 +64,4 @@ You can define the colors ranges or color stops for data values in both gradient ## See Also -* [How to enable smart legend](./legend#smart-legend) +* [How to enable smart legend](./legend/#smart-legend) diff --git a/chart-sdk/asp-net-mvc/heatmap-chart/rendering-mode.md b/chart-sdk/asp-net-mvc/heatmap-chart/rendering-mode.md index f208a3b2c..a00d5a635 100644 --- a/chart-sdk/asp-net-mvc/heatmap-chart/rendering-mode.md +++ b/chart-sdk/asp-net-mvc/heatmap-chart/rendering-mode.md @@ -1,14 +1,15 @@ --- layout: post -title: Rendering Mode in ASP.NET MVC HeatMap Chart | Syncfusion +title: Rendering Mode in Syncfusion ASP.NET MVC Heatmap Chart Component description: Learn here all about Rendering Mode in Syncfusion ASP.NET MVC Heatmap Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Rendering Mode +publishingplatform: chart-sdk documentation: ug --- -# Rendering Mode in ASP.NET MVC HeatMap Chart +# Rendering mode in ASP.NET MVC HeatMap Chart Component Heat map can be displayed using **Canvas** or **Scalable Vector Graphics (SVG)** rendering logic to improve the initial load performance and scalability. Heat map can also be automatically switched between **Canvas** and **SVG** modes based on dataset size. You can enable this mode by setting the [renderingMode](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2~Syncfusion.EJ2.HeatMap.HeatMap~RenderingMode.html) property to **Auto**. diff --git a/chart-sdk/asp-net-mvc/heatmap-chart/selection.md b/chart-sdk/asp-net-mvc/heatmap-chart/selection.md index e1c01c27e..8fe20377f 100644 --- a/chart-sdk/asp-net-mvc/heatmap-chart/selection.md +++ b/chart-sdk/asp-net-mvc/heatmap-chart/selection.md @@ -1,14 +1,15 @@ --- layout: post -title: Selection in ASP.NET MVC HeatMap Chart | Syncfusion +title: Selection in Syncfusion ASP.NET MVC HeatMap Chart Component description: Learn here all about Selection in Syncfusion ASP.NET MVC HeatMap Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Selection +publishingplatform: chart-sdk documentation: ug --- -# Selection in ASP.NET MVC HeatMap Chart +# Selection in ASP.NET MVC HeatMap Chart Component In the HeatMap, the cell selection is used to select single or multiple HeatMap cells at runtime and get the selected cell details using the [CellSelected](https://help.syncfusion.com/cr/aspnetmvc-js2/Syncfusion.EJ2.HeatMap.HeatMap.html#Syncfusion_EJ2_HeatMap_HeatMap_CellSelected) event. You can enable the cell selection using the [AllowSelection](https://help.syncfusion.com/cr/aspnetmvc-js2/Syncfusion.EJ2.HeatMap.HeatMap.html#Syncfusion_EJ2_HeatMap_HeatMap_AllowSelection) property. diff --git a/chart-sdk/asp-net-mvc/heatmap-chart/tooltip.md b/chart-sdk/asp-net-mvc/heatmap-chart/tooltip.md index c6a28eb0d..b79d35c67 100644 --- a/chart-sdk/asp-net-mvc/heatmap-chart/tooltip.md +++ b/chart-sdk/asp-net-mvc/heatmap-chart/tooltip.md @@ -1,14 +1,15 @@ --- layout: post -title: Tooltip in ASP.NET MVC HeatMap Chart | Syncfusion +title: Tooltip in Syncfusion ASP.NET MVC Heatmap Chart Component description: Learn here all about Tooltip in Syncfusion ASP.NET MVC Heatmap Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Tooltip +publishingplatform: chart-sdk documentation: ug --- -# Tooltip in ASP.NET MVC HeatMap Chart +# Tooltip in ASP.NET MVC HeatMap Chart Component Tooltip is used to provide the details of the heatmap cell, and this can be displayed, while hovering the cursor over the cell or performing tap action in touch devices. diff --git a/chart-sdk/asp-net-mvc/heatmap-chart/working-with-data.md b/chart-sdk/asp-net-mvc/heatmap-chart/working-with-data.md index 13496bd95..ac0e4bf12 100644 --- a/chart-sdk/asp-net-mvc/heatmap-chart/working-with-data.md +++ b/chart-sdk/asp-net-mvc/heatmap-chart/working-with-data.md @@ -1,14 +1,15 @@ --- layout: post -title: Working with Data in ASP.NET MVC HeatMap Chart | Syncfusion +title: Working With Data in Syncfusion ASP.NET MVC Heatmap Chart Component description: Learn here all about Working With Data in Syncfusion ASP.NET MVC Heatmap Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Working With Data +publishingplatform: chart-sdk documentation: ug --- -# Working with Data in ASP.NET MVC HeatMap Chart +# Working with data in ASP.NET MVC HeatMap Chart Component Heat map visualizes the JSON data and two-dimensional array data. Using the data adaptor support, data can be bound to the heat map. @@ -115,4 +116,4 @@ In complex data binding, you can bind the nested JSON data to the data points in ## See Also -* [To bind data for bubble heat map with size and color attributes](./bubble-heatmap#binding-data-for-bubble-heat-map-with-size-and-color-attributes) +* [To bind data for bubble heat map with size and color attributes](./bubble-heatmap/#binding-data-for-bubble-heat-map-with-size-and-color-attributes) diff --git a/chart-sdk/asp-net-mvc/linear-gauge/accessibility.md b/chart-sdk/asp-net-mvc/linear-gauge/accessibility.md index c3a242924..29de90a89 100644 --- a/chart-sdk/asp-net-mvc/linear-gauge/accessibility.md +++ b/chart-sdk/asp-net-mvc/linear-gauge/accessibility.md @@ -1,9 +1,10 @@ --- layout: post -title: Accessibility in Syncfusion ASP.NET MVC Linear Gauge | Syncfusion +title: Accessibility in Syncfusion ASP.NET MVC Linear Gauge component. description: Learn here all about Accessibility in Syncfusion ASP.NET MVC Linear Gauge component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Accessibility +publishingplatform: chart-sdk documentation: ug --- diff --git a/chart-sdk/asp-net-mvc/linear-gauge/animation.md b/chart-sdk/asp-net-mvc/linear-gauge/animation.md index f09c922b8..00dbb8e49 100644 --- a/chart-sdk/asp-net-mvc/linear-gauge/animation.md +++ b/chart-sdk/asp-net-mvc/linear-gauge/animation.md @@ -1,9 +1,10 @@ --- layout: post -title: Animation in Syncfusion ASP.NET MVC Linear Gauge | Syncfusion +title: Animation in the Syncfusion ASP.NET MVC Linear Gauge component description: Learn here all about animation in the Syncfusion ASP.NET MVC Linear Gauge component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Linear Gauge +publishingplatform: chart-sdk documentation: ug --- diff --git a/chart-sdk/asp-net-mvc/linear-gauge/annotations.md b/chart-sdk/asp-net-mvc/linear-gauge/annotations.md index 21637fd14..e2a1c984c 100644 --- a/chart-sdk/asp-net-mvc/linear-gauge/annotations.md +++ b/chart-sdk/asp-net-mvc/linear-gauge/annotations.md @@ -1,9 +1,10 @@ --- layout: post -title: Annotations in ASP.NET MVC Linear Gauge | Syncfusion +title: Annotations in ASP.NET MVC Linear Gauge Component description: Learn here all about Annotations in Syncfusion ASP.NET MVC Linear Gauge component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Annotations +publishingplatform: chart-sdk documentation: ug --- diff --git a/chart-sdk/asp-net-mvc/linear-gauge/axis.md b/chart-sdk/asp-net-mvc/linear-gauge/axis.md index 0215059bf..682c5b5ee 100644 --- a/chart-sdk/asp-net-mvc/linear-gauge/axis.md +++ b/chart-sdk/asp-net-mvc/linear-gauge/axis.md @@ -1,9 +1,10 @@ --- layout: post -title: Axis in ASP.NET MVC Linear Gauge | Syncfusion +title: Axis in ASP.NET MVC Linear Gauge Component description: Learn here all about Axis in Syncfusion ASP.NET MVC Linear Gauge component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Axis +publishingplatform: chart-sdk documentation: ug --- diff --git a/chart-sdk/asp-net-mvc/linear-gauge/ej1-api-migration.md b/chart-sdk/asp-net-mvc/linear-gauge/ej1-api-migration.md index 677cca577..cfa5a53ae 100644 --- a/chart-sdk/asp-net-mvc/linear-gauge/ej1-api-migration.md +++ b/chart-sdk/asp-net-mvc/linear-gauge/ej1-api-migration.md @@ -1,14 +1,15 @@ --- layout: post -title: EJ1 API Migration in ASP.NET MVC Linear Gauge | Syncfusion +title: Ej1 Api Migration in ASP.NET MVC Linear Gauge Component description: Learn here all about Ej1 Api Migration in Syncfusion ASP.NET MVC Linear Gauge component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Ej1 Api Migration +publishingplatform: chart-sdk documentation: ug --- -# EJ1 API Migration in ASP.NET MVC Linear Gauge +# Migration from Essential® JS 1 This article describes the API migration process of Accordion component from Essential® JS 1 to Essential® JS 2. diff --git a/chart-sdk/asp-net-mvc/linear-gauge/events.md b/chart-sdk/asp-net-mvc/linear-gauge/events.md index 3eda3df7c..7f3747859 100644 --- a/chart-sdk/asp-net-mvc/linear-gauge/events.md +++ b/chart-sdk/asp-net-mvc/linear-gauge/events.md @@ -1,9 +1,10 @@ --- layout: post -title: Events in ASP.NET MVC Linear Gauge | Syncfusion +title: Events in ASP.NET MVC Linear Gauge Component description: Learn here all about Events in Syncfusion ASP.NET MVC Linear Gauge component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Events +publishingplatform: chart-sdk documentation: ug --- @@ -14,7 +15,7 @@ This section describes the Linear Gauge component's event that gets triggered wh ## AnimationComplete -When the pointer animation is completed, the [`AnimationComplete`](https://help.syncfusion.com/cr/aspnetmvc-js2/Syncfusion.EJ2.LinearGauge.LinearGauge.html#Syncfusion_EJ2_LinearGauge_LinearGauge_AnimationComplete) event will be triggered. To know more about the arguments of this event, refer [here](https://ej2.syncfusion.com/documentation/api/linear-gauge/iAnimationCompleteEventArgs). +When the pointer animation is completed, the [`AnimationComplete`](https://help.syncfusion.com/cr/aspnetmvc-js2/Syncfusion.EJ2.LinearGauge.LinearGauge.html#Syncfusion_EJ2_LinearGauge_LinearGauge_AnimationComplete) event will be triggered. To know more about the arguments of this event, refer [here](https://ej2.syncfusion.com/documentation/api/linear-gauge/iAnimationCompleteEventArgs/). {% tabs %} {% highlight razor tabtitle="CSHTML" %} @@ -26,7 +27,7 @@ When the pointer animation is completed, the [`AnimationComplete`](https://help. ## AnnotationRender -Before the annotation is rendered in the Linear Gauge, the [`AnnotationRender`](https://help.syncfusion.com/cr/aspnetmvc-js2/Syncfusion.EJ2.LinearGauge.LinearGauge.html#Syncfusion_EJ2_LinearGauge_LinearGauge_AnnotationRender) event will be triggered. To know more about the arguments of this event, refer [here](https://ej2.syncfusion.com/documentation/api/linear-gauge/iAnnotationRenderEventArgs). +Before the annotation is rendered in the Linear Gauge, the [`AnnotationRender`](https://help.syncfusion.com/cr/aspnetmvc-js2/Syncfusion.EJ2.LinearGauge.LinearGauge.html#Syncfusion_EJ2_LinearGauge_LinearGauge_AnnotationRender) event will be triggered. To know more about the arguments of this event, refer [here](https://ej2.syncfusion.com/documentation/api/linear-gauge/iAnnotationRenderEventArgs/). {% tabs %} {% highlight razor tabtitle="CSHTML" %} @@ -38,7 +39,7 @@ Before the annotation is rendered in the Linear Gauge, the [`AnnotationRender`]( ## AxisLabelRender -Before each axis label is rendered in the Linear Gauge, the [`AxisLabelRender`](https://help.syncfusion.com/cr/aspnetmvc-js2/Syncfusion.EJ2.LinearGauge.LinearGauge.html#Syncfusion_EJ2_LinearGauge_LinearGauge_AxisLabelRender) event is fired. To know more about the arguments of this event, refer [here](https://ej2.syncfusion.com/documentation/api/linear-gauge/iAxisLabelRenderEventArgs). +Before each axis label is rendered in the Linear Gauge, the [`AxisLabelRender`](https://help.syncfusion.com/cr/aspnetmvc-js2/Syncfusion.EJ2.LinearGauge.LinearGauge.html#Syncfusion_EJ2_LinearGauge_LinearGauge_AxisLabelRender) event is fired. To know more about the arguments of this event, refer [here](https://ej2.syncfusion.com/documentation/api/linear-gauge/iAxisLabelRenderEventArgs/). {% tabs %} {% highlight razor tabtitle="CSHTML" %} @@ -50,7 +51,7 @@ Before each axis label is rendered in the Linear Gauge, the [`AxisLabelRender`]( ## BeforePrint -The [`BeforePrint`](https://help.syncfusion.com/cr/aspnetmvc-js2/Syncfusion.EJ2.LinearGauge.LinearGauge.html#Syncfusion_EJ2_LinearGauge_LinearGauge_BeforePrint) event is fired before the print begins. To know more about the arguments of this event, refer [here](https://ej2.syncfusion.com/documentation/api/linear-gauge/iPrintEventArgs). +The [`BeforePrint`](https://help.syncfusion.com/cr/aspnetmvc-js2/Syncfusion.EJ2.LinearGauge.LinearGauge.html#Syncfusion_EJ2_LinearGauge_LinearGauge_BeforePrint) event is fired before the print begins. To know more about the arguments of this event, refer [here](https://ej2.syncfusion.com/documentation/api/linear-gauge/iPrintEventArgs/). {% tabs %} {% highlight razor tabtitle="CSHTML" %} @@ -62,7 +63,7 @@ The [`BeforePrint`](https://help.syncfusion.com/cr/aspnetmvc-js2/Syncfusion.EJ2. ## DragEnd -The [`DragEnd`](https://help.syncfusion.com/cr/aspnetmvc-js2/Syncfusion.EJ2.LinearGauge.LinearGauge.html#Syncfusion_EJ2_LinearGauge_LinearGauge_DragEnd) event will be fired before the pointer drag is completed. To know more about the argument of this event, refer [here](https://ej2.syncfusion.com/documentation/api/linear-gauge/iPointerDragEventArgs). +The [`DragEnd`](https://help.syncfusion.com/cr/aspnetmvc-js2/Syncfusion.EJ2.LinearGauge.LinearGauge.html#Syncfusion_EJ2_LinearGauge_LinearGauge_DragEnd) event will be fired before the pointer drag is completed. To know more about the argument of this event, refer [here](https://ej2.syncfusion.com/documentation/api/linear-gauge/iPointerDragEventArgs/). {% tabs %} {% highlight razor tabtitle="CSHTML" %} @@ -74,7 +75,7 @@ The [`DragEnd`](https://help.syncfusion.com/cr/aspnetmvc-js2/Syncfusion.EJ2.Line ## DragMove -The [`DragMove`](https://help.syncfusion.com/cr/aspnetmvc-js2/Syncfusion.EJ2.LinearGauge.LinearGauge.html#Syncfusion_EJ2_LinearGauge_LinearGauge_DragMove) event will be fired when the pointer is dragged. To know more about the arguments of this event, refer [here](https://ej2.syncfusion.com/documentation/api/linear-gauge/iPointerDragEventArgs). +The [`DragMove`](https://help.syncfusion.com/cr/aspnetmvc-js2/Syncfusion.EJ2.LinearGauge.LinearGauge.html#Syncfusion_EJ2_LinearGauge_LinearGauge_DragMove) event will be fired when the pointer is dragged. To know more about the arguments of this event, refer [here](https://ej2.syncfusion.com/documentation/api/linear-gauge/iPointerDragEventArgs/). {% tabs %} {% highlight razor tabtitle="CSHTML" %} @@ -86,7 +87,7 @@ The [`DragMove`](https://help.syncfusion.com/cr/aspnetmvc-js2/Syncfusion.EJ2.Lin ## DragStart -When the pointer drag begins, the [`DragStart`](https://help.syncfusion.com/cr/aspnetmvc-js2/Syncfusion.EJ2.LinearGauge.LinearGauge.html#Syncfusion_EJ2_LinearGauge_LinearGauge_DragStart) event is triggered. To know more about the arguments of this event, refer [here](https://ej2.syncfusion.com/documentation/api/linear-gauge/iPointerDragEventArgs). +When the pointer drag begins, the [`DragStart`](https://help.syncfusion.com/cr/aspnetmvc-js2/Syncfusion.EJ2.LinearGauge.LinearGauge.html#Syncfusion_EJ2_LinearGauge_LinearGauge_DragStart) event is triggered. To know more about the arguments of this event, refer [here](https://ej2.syncfusion.com/documentation/api/linear-gauge/iPointerDragEventArgs/). {% tabs %} {% highlight razor tabtitle="CSHTML" %} @@ -98,7 +99,7 @@ When the pointer drag begins, the [`DragStart`](https://help.syncfusion.com/cr/a ## GaugeMouseDown -When mouse is pressed down on the gauge, the [`GaugeMouseDown`](https://help.syncfusion.com/cr/aspnetmvc-js2/Syncfusion.EJ2.LinearGauge.LinearGauge.html#Syncfusion_EJ2_LinearGauge_LinearGauge_GaugeMouseDown) event is triggered. To know more about the arguments of this event, refer [here](https://ej2.syncfusion.com/documentation/api/linear-gauge/iMouseEventArgs). +When mouse is pressed down on the gauge, the [`GaugeMouseDown`](https://help.syncfusion.com/cr/aspnetmvc-js2/Syncfusion.EJ2.LinearGauge.LinearGauge.html#Syncfusion_EJ2_LinearGauge_LinearGauge_GaugeMouseDown) event is triggered. To know more about the arguments of this event, refer [here](https://ej2.syncfusion.com/documentation/api/linear-gauge/iMouseEventArgs/). {% tabs %} {% highlight razor tabtitle="CSHTML" %} @@ -110,7 +111,7 @@ When mouse is pressed down on the gauge, the [`GaugeMouseDown`](https://help.syn ## GaugeMouseLeave -When mouse pointer moves over the gauge, the [`GaugeMouseLeave`](https://help.syncfusion.com/cr/aspnetmvc-js2/Syncfusion.EJ2.LinearGauge.LinearGauge.html#Syncfusion_EJ2_LinearGauge_LinearGauge_GaugeMouseLeave) event is triggered. To know more about the arguments of this event, refer [here](https://ej2.syncfusion.com/documentation/api/linear-gauge/iMouseEventArgs). +When mouse pointer moves over the gauge, the [`GaugeMouseLeave`](https://help.syncfusion.com/cr/aspnetmvc-js2/Syncfusion.EJ2.LinearGauge.LinearGauge.html#Syncfusion_EJ2_LinearGauge_LinearGauge_GaugeMouseLeave) event is triggered. To know more about the arguments of this event, refer [here](https://ej2.syncfusion.com/documentation/api/linear-gauge/iMouseEventArgs/). {% tabs %} {% highlight razor tabtitle="CSHTML" %} @@ -122,7 +123,7 @@ When mouse pointer moves over the gauge, the [`GaugeMouseLeave`](https://help.sy ## GaugeMouseMove -When mouse pointer leaves the gauge, the [`GaugeMouseMove`](https://help.syncfusion.com/cr/aspnetmvc-js2/Syncfusion.EJ2.LinearGauge.LinearGauge.html#Syncfusion_EJ2_LinearGauge_LinearGauge_GaugeMouseMove) event is triggered. To know more about the arguments of this event, refer [here](https://ej2.syncfusion.com/documentation/api/linear-gauge/iMouseEventArgs). +When mouse pointer leaves the gauge, the [`GaugeMouseMove`](https://help.syncfusion.com/cr/aspnetmvc-js2/Syncfusion.EJ2.LinearGauge.LinearGauge.html#Syncfusion_EJ2_LinearGauge_LinearGauge_GaugeMouseMove) event is triggered. To know more about the arguments of this event, refer [here](https://ej2.syncfusion.com/documentation/api/linear-gauge/iMouseEventArgs/). {% tabs %} {% highlight razor tabtitle="CSHTML" %} @@ -134,7 +135,7 @@ When mouse pointer leaves the gauge, the [`GaugeMouseMove`](https://help.syncfus ## GaugeMouseUp -When the mouse pointer is released over the Linear Gauge, the [`GaugeMouseUp`](https://help.syncfusion.com/cr/aspnetmvc-js2/Syncfusion.EJ2.LinearGauge.LinearGauge.html#Syncfusion_EJ2_LinearGauge_LinearGauge_GaugeMouseUp) event is triggered. To know more about the arguments of this event, refer [here](https://ej2.syncfusion.com/documentation/api/linear-gauge/iMouseEventArgs). +When the mouse pointer is released over the Linear Gauge, the [`GaugeMouseUp`](https://help.syncfusion.com/cr/aspnetmvc-js2/Syncfusion.EJ2.LinearGauge.LinearGauge.html#Syncfusion_EJ2_LinearGauge_LinearGauge_GaugeMouseUp) event is triggered. To know more about the arguments of this event, refer [here](https://ej2.syncfusion.com/documentation/api/linear-gauge/iMouseEventArgs/). {% tabs %} {% highlight razor tabtitle="CSHTML" %} @@ -146,7 +147,7 @@ When the mouse pointer is released over the Linear Gauge, the [`GaugeMouseUp`](h ## Load -Before the Linear Gauge is loaded, the [`Load`](https://help.syncfusion.com/cr/aspnetmvc-js2/Syncfusion.EJ2.LinearGauge.LinearGauge.html#Syncfusion_EJ2_LinearGauge_LinearGauge_Load) event is fired. To know more about the arguments of this event, refer [here](https://ej2.syncfusion.com/documentation/api/linear-gauge/iLoadEventArgs). +Before the Linear Gauge is loaded, the [`Load`](https://help.syncfusion.com/cr/aspnetmvc-js2/Syncfusion.EJ2.LinearGauge.LinearGauge.html#Syncfusion_EJ2_LinearGauge_LinearGauge_Load) event is fired. To know more about the arguments of this event, refer [here](https://ej2.syncfusion.com/documentation/api/linear-gauge/iLoadEventArgs/). {% tabs %} {% highlight razor tabtitle="CSHTML" %} @@ -158,7 +159,7 @@ Before the Linear Gauge is loaded, the [`Load`](https://help.syncfusion.com/cr/a ## Loaded -After the Linear Gauge has been loaded, the [`Loaded`](https://help.syncfusion.com/cr/aspnetmvc-js2/Syncfusion.EJ2.LinearGauge.LinearGauge.html#Syncfusion_EJ2_LinearGauge_LinearGauge_Loaded) event will be triggered. To know more about the arguments of this event, refer [here](https://ej2.syncfusion.com/documentation/api/linear-gauge/iLoadedEventArgs). +After the Linear Gauge has been loaded, the [`Loaded`](https://help.syncfusion.com/cr/aspnetmvc-js2/Syncfusion.EJ2.LinearGauge.LinearGauge.html#Syncfusion_EJ2_LinearGauge_LinearGauge_Loaded) event will be triggered. To know more about the arguments of this event, refer [here](https://ej2.syncfusion.com/documentation/api/linear-gauge/iLoadedEventArgs/). {% tabs %} {% highlight razor tabtitle="CSHTML" %} @@ -170,7 +171,7 @@ After the Linear Gauge has been loaded, the [`Loaded`](https://help.syncfusion.c ## Resized -After the window resizing, the [`Resized`](https://help.syncfusion.com/cr/aspnetmvc-js2/Syncfusion.EJ2.LinearGauge.LinearGauge.html#Syncfusion_EJ2_LinearGauge_LinearGauge_Resized) event is triggered. To know more about the arguments of this event, refer [here](https://ej2.syncfusion.com/documentation/api/linear-gauge/iResizeEventArgs). +After the window resizing, the [`Resized`](https://help.syncfusion.com/cr/aspnetmvc-js2/Syncfusion.EJ2.LinearGauge.LinearGauge.html#Syncfusion_EJ2_LinearGauge_LinearGauge_Resized) event is triggered. To know more about the arguments of this event, refer [here](https://ej2.syncfusion.com/documentation/api/linear-gauge/iResizeEventArgs/). {% tabs %} {% highlight razor tabtitle="CSHTML" %} @@ -182,7 +183,7 @@ After the window resizing, the [`Resized`](https://help.syncfusion.com/cr/aspnet ## TooltipRender -The [`TooltipRender`](https://help.syncfusion.com/cr/aspnetmvc-js2/Syncfusion.EJ2.LinearGauge.LinearGauge.html#Syncfusion_EJ2_LinearGauge_LinearGauge_TooltipRender) event is fired before the tooltip is rendered. To know more about the arguments of this event, refer [here](https://ej2.syncfusion.com/documentation/api/linear-gauge/iTooltipRenderEventArgs). +The [`TooltipRender`](https://help.syncfusion.com/cr/aspnetmvc-js2/Syncfusion.EJ2.LinearGauge.LinearGauge.html#Syncfusion_EJ2_LinearGauge_LinearGauge_TooltipRender) event is fired before the tooltip is rendered. To know more about the arguments of this event, refer [here](https://ej2.syncfusion.com/documentation/api/linear-gauge/iTooltipRenderEventArgs/). {% tabs %} {% highlight razor tabtitle="CSHTML" %} @@ -194,7 +195,7 @@ The [`TooltipRender`](https://help.syncfusion.com/cr/aspnetmvc-js2/Syncfusion.EJ ## ValueChange -The [`ValueChange`](https://help.syncfusion.com/cr/aspnetmvc-js2/Syncfusion.EJ2.LinearGauge.LinearGauge.html#Syncfusion_EJ2_LinearGauge_LinearGauge_ValueChange) event is triggered when the pointer is dragged from one value to another. To know more about the arguments of this event, refer [here](https://ej2.syncfusion.com/documentation/ap/linear-gauge/iValueChangeEventArgs). +The [`ValueChange`](https://help.syncfusion.com/cr/aspnetmvc-js2/Syncfusion.EJ2.LinearGauge.LinearGauge.html#Syncfusion_EJ2_LinearGauge_LinearGauge_ValueChange) event is triggered when the pointer is dragged from one value to another. To know more about the arguments of this event, refer [here](https://ej2.syncfusion.com/documentation/ap/linear-gauge/iValueChangeEventArgs/). {% tabs %} {% highlight razor tabtitle="CSHTML" %} diff --git a/chart-sdk/asp-net-mvc/linear-gauge/getting-started.md b/chart-sdk/asp-net-mvc/linear-gauge/getting-started.md index 01037185c..05982bc8d 100644 --- a/chart-sdk/asp-net-mvc/linear-gauge/getting-started.md +++ b/chart-sdk/asp-net-mvc/linear-gauge/getting-started.md @@ -1,15 +1,16 @@ --- layout: post -title: Getting Started with ASP.NET MVC Linear Gauge | Syncfusion -description: Checkout and learn about getting started with ASP.NET MVC Linear Gauge control of Syncfusion Essential JS 2 and more details. +title: Getting Started with ASP.NET MVC Linear Gauge Control | Syncfusion +description: Check out and learn about getting started with the ASP.NET MVC Linear Gauge control of Syncfusion Essential JS 2 and more details. platform: chart-sdk control: Getting Started +publishingplatform: chart-sdk documentation: ug --- -# Getting Started with ASP.NET MVC Linear Gauge +# Getting Started with the ASP.NET MVC Linear Gauge Control This section briefly explains how to add the Syncfusion® [ASP.NET MVC Linear Gauge](https://www.syncfusion.com/aspnet-mvc-ui-controls/linear-gauge) control to an ASP.NET MVC 5 (.NET Framework) application using Visual Studio. diff --git a/chart-sdk/asp-net-mvc/linear-gauge/how-to.md b/chart-sdk/asp-net-mvc/linear-gauge/how-to.md index b23d43a8e..fb04ce02d 100644 --- a/chart-sdk/asp-net-mvc/linear-gauge/how-to.md +++ b/chart-sdk/asp-net-mvc/linear-gauge/how-to.md @@ -1,13 +1,14 @@ --- layout: post -title: Render Linear gauges in ASP.NET MVC Linear Gauge | Syncfusion +title: How To in ASP.NET MVC Linear Gauge Component description: Learn here all about How To in Syncfusion ASP.NET MVC Linear Gauge component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: How To +publishingplatform: chart-sdk documentation: ug --- -# How to render gauges in ASP.NET MVC Linear Gauge +# How To diff --git a/chart-sdk/asp-net-mvc/linear-gauge/internationalization.md b/chart-sdk/asp-net-mvc/linear-gauge/internationalization.md index 0827abbb5..0bcd7f2a8 100644 --- a/chart-sdk/asp-net-mvc/linear-gauge/internationalization.md +++ b/chart-sdk/asp-net-mvc/linear-gauge/internationalization.md @@ -1,9 +1,10 @@ --- layout: post -title: Internationalization in ASP.NET MVC Linear Gauge | Syncfusion +title: Internationalization in ASP.NET MVC Linear Gauge Component description: Learn here all about Internationalization in Syncfusion ASP.NET MVC Linear Gauge component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Internationalization +publishingplatform: chart-sdk documentation: ug --- @@ -15,7 +16,7 @@ Globalization is the process of designing and developing a component that works * Axis label * Tooltip -The static text on above features can be changed to any culture such as Arabic, Deutsch and French. To know more about the globalization in ASP.NET MVC components, refer [here](https://ej2.syncfusion.com/aspnetmvc/documentation/common/internationalization). +The static text on above features can be changed to any culture such as Arabic, Deutsch and French. To know more about the globalization in ASP.NET MVC components, refer [here](https://ej2.syncfusion.com/aspnetmvc/documentation/common/internationalization/). ## Numeric Format diff --git a/chart-sdk/asp-net-mvc/linear-gauge/linear-gauge-appearance.md b/chart-sdk/asp-net-mvc/linear-gauge/linear-gauge-appearance.md index 856657993..3c1e72ae7 100644 --- a/chart-sdk/asp-net-mvc/linear-gauge/linear-gauge-appearance.md +++ b/chart-sdk/asp-net-mvc/linear-gauge/linear-gauge-appearance.md @@ -1,9 +1,10 @@ --- layout: post -title: Appearance in ASP.NET MVC Linear Gauge | Syncfusion +title: Linear Gauge Appearance in ASP.NET MVC Linear Gauge Component description: Learn here all about Linear Gauge Appearance in Syncfusion ASP.NET MVC Linear Gauge component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Linear Gauge Appearance +publishingplatform: chart-sdk documentation: ug --- diff --git a/chart-sdk/asp-net-mvc/linear-gauge/linear-gauge-dimensions.md b/chart-sdk/asp-net-mvc/linear-gauge/linear-gauge-dimensions.md index a76ddad18..c88e67317 100644 --- a/chart-sdk/asp-net-mvc/linear-gauge/linear-gauge-dimensions.md +++ b/chart-sdk/asp-net-mvc/linear-gauge/linear-gauge-dimensions.md @@ -1,9 +1,10 @@ --- layout: post -title: Dimensions in ASP.NET MVC Linear Gauge | Syncfusion +title: Linear Gauge Dimensions in ASP.NET MVC Linear Gauge Component description: Learn here all about Linear Gauge Dimensions in Syncfusion ASP.NET MVC Linear Gauge component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Linear Gauge Dimensions +publishingplatform: chart-sdk documentation: ug --- diff --git a/chart-sdk/asp-net-mvc/linear-gauge/methods.md b/chart-sdk/asp-net-mvc/linear-gauge/methods.md index 5f186937b..ffb12105c 100644 --- a/chart-sdk/asp-net-mvc/linear-gauge/methods.md +++ b/chart-sdk/asp-net-mvc/linear-gauge/methods.md @@ -1,9 +1,10 @@ --- layout: post -title: Methods in ASP.NET MVC Linear Gauge | Syncfusion +title: Methods in ASP.NET MVC Linear Gauge Component description: Learn here all about Methods in Syncfusion ASP.NET MVC Linear Gauge component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Methods +publishingplatform: chart-sdk documentation: ug --- diff --git a/chart-sdk/asp-net-mvc/linear-gauge/pointers.md b/chart-sdk/asp-net-mvc/linear-gauge/pointers.md index 3817e67ed..c45bfad86 100644 --- a/chart-sdk/asp-net-mvc/linear-gauge/pointers.md +++ b/chart-sdk/asp-net-mvc/linear-gauge/pointers.md @@ -1,9 +1,10 @@ --- layout: post -title: Pointers in Syncfusion ASP.NET MVC Linear Gauge | Syncfusion +title: Pointers in Syncfusion ASP.NET MVC Linear Gauge Component description: Learn here all about Pointers in Syncfusion ASP.NET MVC Linear Gauge component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Pointers +publishingplatform: chart-sdk documentation: ug --- diff --git a/chart-sdk/asp-net-mvc/linear-gauge/print-and-export.md b/chart-sdk/asp-net-mvc/linear-gauge/print-and-export.md index 87b1bfc38..01bc4281a 100644 --- a/chart-sdk/asp-net-mvc/linear-gauge/print-and-export.md +++ b/chart-sdk/asp-net-mvc/linear-gauge/print-and-export.md @@ -1,9 +1,10 @@ --- layout: post -title: Print and Export in ASP.NET MVC Linear Gauge | Syncfusion +title: Print And Export in ASP.NET MVC Linear Gauge Component description: Learn here all about Print And Export in Syncfusion ASP.NET MVC Linear Gauge component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Print And Export +publishingplatform: chart-sdk documentation: ug --- @@ -12,7 +13,7 @@ documentation: ug ## Print -The rendered Linear Gauge can be printed directly from the browser by calling the [`print`](https://ej2.syncfusion.com/documentation/api/linear-gauge#print) method. To use the print functionality, set the [`AllowPrint`](https://help.syncfusion.com/cr/aspnetmvc-js2/Syncfusion.EJ2.LinearGauge.LinearGauge.html#Syncfusion_EJ2_LinearGauge_LinearGauge_AllowPrint) property as **true**. +The rendered Linear Gauge can be printed directly from the browser by calling the [`print`](https://ej2.syncfusion.com/documentation/api/linear-gauge/#print) method. To use the print functionality, set the [`AllowPrint`](https://help.syncfusion.com/cr/aspnetmvc-js2/Syncfusion.EJ2.LinearGauge.LinearGauge.html#Syncfusion_EJ2_LinearGauge_LinearGauge_AllowPrint) property as **true**. {% tabs %} {% highlight razor tabtitle="CSHTML" %} @@ -31,7 +32,7 @@ The rendered Linear Gauge can be printed directly from the browser by calling th ### Image Export -To use the image export functionality, set the [`AllowImageExport`](https://help.syncfusion.com/cr/aspnetmvc-js2/Syncfusion.EJ2.LinearGauge.LinearGauge.html#Syncfusion_EJ2_LinearGauge_LinearGauge_AllowImageExport) property as **true**. The rendered Linear Gauge can be exported as an image using the [`export`](https://ej2.syncfusion.com/documentation/api/linear-gauge#export) method. This method requires two parameters: export type and file name. The Linear Gauge can be exported as an image with the following formats. +To use the image export functionality, set the [`AllowImageExport`](https://help.syncfusion.com/cr/aspnetmvc-js2/Syncfusion.EJ2.LinearGauge.LinearGauge.html#Syncfusion_EJ2_LinearGauge_LinearGauge_AllowImageExport) property as **true**. The rendered Linear Gauge can be exported as an image using the [`export`](https://ej2.syncfusion.com/documentation/api/linear-gauge/#export) method. This method requires two parameters: export type and file name. The Linear Gauge can be exported as an image with the following formats. * JPEG * PNG @@ -52,7 +53,7 @@ To use the image export functionality, set the [`AllowImageExport`](https://help ### PDF Export -To use the PDF export functionality, set the [`AllowPdfExport`](https://help.syncfusion.com/cr/aspnetmvc-js2/Syncfusion.EJ2.LinearGauge.LinearGauge.html#Syncfusion_EJ2_LinearGauge_LinearGauge_AllowPdfExport) property as **true**. The rendered Linear Gauge can be exported as PDF using the [`export`](https://ej2.syncfusion.com/documentation/api/linear-gauge#export) method. The [`export`](https://ej2.syncfusion.com/documentation/api/linear-gauge#export) method requires three parameters: file type, file name, and orientation of the PDF document. The orientation of the PDF document can be set as **Portrait** or **Landscape**. +To use the PDF export functionality, set the [`AllowPdfExport`](https://help.syncfusion.com/cr/aspnetmvc-js2/Syncfusion.EJ2.LinearGauge.LinearGauge.html#Syncfusion_EJ2_LinearGauge_LinearGauge_AllowPdfExport) property as **true**. The rendered Linear Gauge can be exported as PDF using the [`export`](https://ej2.syncfusion.com/documentation/api/linear-gauge/#export) method. The [`export`](https://ej2.syncfusion.com/documentation/api/linear-gauge/#export) method requires three parameters: file type, file name, and orientation of the PDF document. The orientation of the PDF document can be set as **Portrait** or **Landscape**. {% tabs %} {% highlight razor tabtitle="CSHTML" %} @@ -69,7 +70,7 @@ To use the PDF export functionality, set the [`AllowPdfExport`](https://help.syn ### Exporting Linear Gauge as base64 string of the file -The Linear Gauge can be exported as base64 string for the JPEG, PNG and PDF formats. The rendered Linear Gauge can be exported as base64 string of the exported image or PDF document used in the [`export`](https://ej2.syncfusion.com/documentation/api/linear-gauge#export) method. The arguments that are required for this method is export type, file name, orientation of the exported PDF document and **allowDownload** boolean value that is set as **false** to return base64 string. The value for the orientation of the exported PDF document is set as **null** for image export and **Portrait** or **Landscape** for the PDF document. +The Linear Gauge can be exported as base64 string for the JPEG, PNG and PDF formats. The rendered Linear Gauge can be exported as base64 string of the exported image or PDF document used in the [`export`](https://ej2.syncfusion.com/documentation/api/linear-gauge/#export) method. The arguments that are required for this method is export type, file name, orientation of the exported PDF document and **allowDownload** boolean value that is set as **false** to return base64 string. The value for the orientation of the exported PDF document is set as **null** for image export and **Portrait** or **Landscape** for the PDF document. {% tabs %} {% highlight razor tabtitle="CSHTML" %} diff --git a/chart-sdk/asp-net-mvc/linear-gauge/ranges.md b/chart-sdk/asp-net-mvc/linear-gauge/ranges.md index eb2b64ef2..f2c3a9688 100644 --- a/chart-sdk/asp-net-mvc/linear-gauge/ranges.md +++ b/chart-sdk/asp-net-mvc/linear-gauge/ranges.md @@ -1,9 +1,10 @@ --- layout: post -title: Ranges in ASP.NET MVC Linear Gauge | Syncfusion +title: Ranges in ASP.NET MVC Linear Gauge Component description: Learn here all about Ranges in Syncfusion ASP.NET MVC Linear Gauge component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Ranges +publishingplatform: chart-sdk documentation: ug --- diff --git a/chart-sdk/asp-net-mvc/linear-gauge/user-interaction.md b/chart-sdk/asp-net-mvc/linear-gauge/user-interaction.md index 59044ed6e..1d737390b 100644 --- a/chart-sdk/asp-net-mvc/linear-gauge/user-interaction.md +++ b/chart-sdk/asp-net-mvc/linear-gauge/user-interaction.md @@ -1,9 +1,10 @@ --- layout: post -title: User Interaction in ASP.NET MVC Linear Gauge | Syncfusion +title: User Interaction in ASP.NET MVC Linear Gauge Component description: Learn here all about User Interaction in Syncfusion ASP.NET MVC Linear Gauge component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: User Interaction +publishingplatform: chart-sdk documentation: ug --- diff --git a/chart-sdk/asp-net-mvc/maps/accessibility.md b/chart-sdk/asp-net-mvc/maps/accessibility.md index 79ac2eb2a..c5f0b0700 100644 --- a/chart-sdk/asp-net-mvc/maps/accessibility.md +++ b/chart-sdk/asp-net-mvc/maps/accessibility.md @@ -1,13 +1,14 @@ --- layout: post -title: Accessibility in Syncfusion ASP.NET MVC Maps | Syncfusion +title: Accessibility in Syncfusion ASP.NET MVC Maps component description: Learn here all about Accessibility in Syncfusion ASP.NET MVC Maps component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Accessibility +publishingplatform: chart-sdk documentation: ug --- -# Accessibility in ASP.NET MVC Maps +# Accessibility in ASP.NET MVC Maps component The Maps component follows commonly used accessibility guidelines and standards, such as [ADA](https://www.ada.gov/), [Section 508](https://www.section508.gov/), [WCAG 2.2](https://www.w3.org/TR/WCAG22/) standards, and [WCAG roles](https://www.w3.org/TR/wai-aria/#roles). diff --git a/chart-sdk/asp-net-mvc/maps/annotations.md b/chart-sdk/asp-net-mvc/maps/annotations.md index 0e467ac19..3fa42e5e1 100644 --- a/chart-sdk/asp-net-mvc/maps/annotations.md +++ b/chart-sdk/asp-net-mvc/maps/annotations.md @@ -1,13 +1,14 @@ --- layout: post -title: Annotations in Syncfusion ASP.NET MVC Maps | Syncfusion +title: Annotations in Syncfusion ASP.NET MVC Maps Component description: Learn here all about Annotations in Syncfusion ASP.NET MVC Maps component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Annotations +publishingplatform: chart-sdk documentation: ug --- -# Annotations in ASP.NET MVC Maps +# Annotations in ASP.NET MVC Maps Component @@ -98,4 +99,4 @@ Multiple annotations can be added to the Maps by adding Multiple `MapsAnnotation -![Annotation zindex](./images/Annotation/Multiple-annotation.PNG) +![Annotation zindex](./images/Annotation/Multiple-annotation.PNG) \ No newline at end of file diff --git a/chart-sdk/asp-net-mvc/maps/bubble.md b/chart-sdk/asp-net-mvc/maps/bubble.md index c4054db6e..780fd8999 100644 --- a/chart-sdk/asp-net-mvc/maps/bubble.md +++ b/chart-sdk/asp-net-mvc/maps/bubble.md @@ -1,13 +1,14 @@ --- layout: post -title: Bubbles in Syncfusion ASP.NET MVC Maps | Syncfusion +title: Bubble in Syncfusion ASP.NET MVC Maps Component description: Learn here all about Bubble in Syncfusion ASP.NET MVC Maps component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Bubble +publishingplatform: chart-sdk documentation: ug --- -# Bubbles in ASP.NET MVC Maps +# Bubbles in ASP.NET MVC Maps Component Bubbles in the Maps component represent the underlying data values of the Maps. It can be scattered throughout the Maps shapes that contain values in the data source. Bubbles are enabled by setting the `Visible` property of `MapsBubble` to **true**. To add bubbles to the Maps, bind the data source to the `DataSource` property of `MapsBubble` and set the field name, that contains the numerical data, in the data source to the `ValuePath` property. diff --git a/chart-sdk/asp-net-mvc/maps/color-mapping.md b/chart-sdk/asp-net-mvc/maps/color-mapping.md index 581d78e21..337cd65ff 100644 --- a/chart-sdk/asp-net-mvc/maps/color-mapping.md +++ b/chart-sdk/asp-net-mvc/maps/color-mapping.md @@ -1,13 +1,14 @@ --- layout: post -title: Color Mapping in Syncfusion ASP.NET MVC Maps | Syncfusion +title: Color Mapping in Syncfusion ASP.NET MVC Maps Component description: Learn here all about Color Mapping in Syncfusion ASP.NET MVC Maps component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Color Mapping +publishingplatform: chart-sdk documentation: ug --- -# Color Mapping in ASP.NET MVC Maps +# Color Mapping in ASP.NET MVC Maps Component Color mapping is used to customize the shape colors based on the given values. It has three types. @@ -191,4 +192,4 @@ The color mapping types such as range color mapping, equal color mapping and des -![Color for items excluded from color mapping](./images/Colormapping/bubble-colormapping.PNG) +![Color for items excluded from color mapping](./images/Colormapping/bubble-colormapping.PNG) \ No newline at end of file diff --git a/chart-sdk/asp-net-mvc/maps/customization.md b/chart-sdk/asp-net-mvc/maps/customization.md index 935e9ebe5..26f9365a9 100644 --- a/chart-sdk/asp-net-mvc/maps/customization.md +++ b/chart-sdk/asp-net-mvc/maps/customization.md @@ -1,13 +1,14 @@ --- layout: post -title: Customization in Syncfusion ASP.NET MVC Maps | Syncfusion +title: Customization in Syncfusion ASP.NET MVC Maps Component description: Learn here all about Customization in Syncfusion ASP.NET MVC Maps component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Customization +publishingplatform: chart-sdk documentation: ug --- -# Customization in ASP.NET MVC Maps +# Customization in ASP.NET MVC Maps Component ## Setting the size for Maps @@ -193,4 +194,4 @@ By default, the Maps are rendered by the **Mercator** projection type in which t -![Projection type](./images/Customization/ProjectionType.png) +![Projection type](./images/Customization/ProjectionType.png) \ No newline at end of file diff --git a/chart-sdk/asp-net-mvc/maps/data-label.md b/chart-sdk/asp-net-mvc/maps/data-label.md index 29807a47e..7204b5144 100644 --- a/chart-sdk/asp-net-mvc/maps/data-label.md +++ b/chart-sdk/asp-net-mvc/maps/data-label.md @@ -1,13 +1,14 @@ --- layout: post -title: Data Labels in Syncfusion ASP.NET MVC Maps | Syncfusion +title: Data Label in Syncfusion ASP.NET MVC Maps Component description: Learn here all about Data Label in Syncfusion ASP.NET MVC Maps component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Data Label +publishingplatform: chart-sdk documentation: ug --- -# Data Labels in ASP.NET MVC Maps +# Data labels in ASP.NET MVC Maps Component Data labels provide information to users about the shapes of the Maps component. It can be enabled by setting the `Visible` property of the `MapsDataLabelSettings` to **true**. diff --git a/chart-sdk/asp-net-mvc/maps/ej1-api-migration.md b/chart-sdk/asp-net-mvc/maps/ej1-api-migration.md index 862d64d3c..5645dd3f7 100644 --- a/chart-sdk/asp-net-mvc/maps/ej1-api-migration.md +++ b/chart-sdk/asp-net-mvc/maps/ej1-api-migration.md @@ -1,16 +1,17 @@ --- layout: post -title: EJ1 API Migration in Syncfusion ASP.NET MVC Maps | Syncfusion +title: Ej1 Api Migration in Syncfusion ASP.NET MVC Maps Component description: Learn here all about Ej1 Api Migration in Syncfusion ASP.NET MVC Maps component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Ej1 Api Migration +publishingplatform: chart-sdk documentation: ug --- -# EJ1 API Migration in ASP.NET MVC Maps +# Migration from Essential® JS 1 This article describes the API migration process of Maps component from Essential® JS 1 to Essential® JS 2. diff --git a/chart-sdk/asp-net-mvc/maps/getting-started.md b/chart-sdk/asp-net-mvc/maps/getting-started.md index e397e6190..0427eebfd 100644 --- a/chart-sdk/asp-net-mvc/maps/getting-started.md +++ b/chart-sdk/asp-net-mvc/maps/getting-started.md @@ -1,13 +1,14 @@ --- layout: post -title: Getting Started with ASP.NET MVC Maps | Syncfusion +title: Getting Started with ASP.NET MVC Maps Control | Syncfusion description: Check out and learn about getting started with ASP.NET MVC Maps Control of Essential JS 2 and more details. platform: chart-sdk control: Maps +publishingplatform: chart-sdk documentation: ug --- -# Getting Started with ASP.NET MVC Maps +# Getting Started with the ASP.NET MVC Maps Control This section explains how to add the [ASP.NET MVC Maps](https://www.syncfusion.com/aspnet-mvc-ui-controls/maps-library) control to your ASP.NET MVC application using [Visual Studio](https://visualstudio.microsoft.com/vs/). diff --git a/chart-sdk/asp-net-mvc/maps/how-to/annotation.md b/chart-sdk/asp-net-mvc/maps/how-to/annotation.md index fee29b7dc..69b2e4ff9 100644 --- a/chart-sdk/asp-net-mvc/maps/how-to/annotation.md +++ b/chart-sdk/asp-net-mvc/maps/how-to/annotation.md @@ -1,13 +1,14 @@ --- layout: post -title: How to add annotation in Syncfusion ASP.NET MVC Maps | Syncfusion +title: Annotation in Syncfusion ASP.NET MVC Maps Component description: Learn here all about Annotation in Syncfusion ASP.NET MVC Maps component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Annotation +publishingplatform: chart-sdk documentation: ug --- -# How to add annotation in ASP.NET MVC Maps +# Annotations in ASP.NET MVC Maps Component Annotations are used to mark the specific area of interest in the Maps with texts, shapes, or images. Any number of annotations can be added to the Maps component. @@ -24,4 +25,4 @@ Initialize the Maps component with annotation option, text content or ID of an H Note: Refer the data values for Africa(https://www.syncfusion.com/downloads/support/directtrac/general/ze/Africa1913669070) shape here. -![Annotation](../images/How-to/annotation.PNG) +![Annotation](../images/How-to/annotation.PNG) \ No newline at end of file diff --git a/chart-sdk/asp-net-mvc/maps/how-to/custom-path.md b/chart-sdk/asp-net-mvc/maps/how-to/custom-path.md index 11984e6c0..1bcb90bcc 100644 --- a/chart-sdk/asp-net-mvc/maps/how-to/custom-path.md +++ b/chart-sdk/asp-net-mvc/maps/how-to/custom-path.md @@ -1,13 +1,14 @@ --- layout: post -title: Add custom path map in Syncfusion ASP.NET MVC Maps | Syncfusion +title: Custom Path in Syncfusion ASP.NET MVC Maps Component description: Learn here all about Custom Path in Syncfusion ASP.NET MVC Maps component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Custom Path +publishingplatform: chart-sdk documentation: ug --- -# How to add custom path map in ASP.NET MVC Maps +# Custom path map in ASP.NET MVC Maps Component Maps component can be customized as the desired layout using the custom path map feature. Here, the Maps component has been showcased with normal geometry type shapes to represent the bus seat selection layout. @@ -22,4 +23,4 @@ Maps component can be customized as the desired layout using the custom path map Note: Refer the data values for custom shapes(https://www.syncfusion.com/downloads/support/directtrac/general/ze/seat902454209) here. -![Custom path map](../images/How-to/custom-path.PNG) +![Custom path map](../images/How-to/custom-path.PNG) \ No newline at end of file diff --git a/chart-sdk/asp-net-mvc/maps/how-to/drill-down.md b/chart-sdk/asp-net-mvc/maps/how-to/drill-down.md index 528135dc4..58c930d03 100644 --- a/chart-sdk/asp-net-mvc/maps/how-to/drill-down.md +++ b/chart-sdk/asp-net-mvc/maps/how-to/drill-down.md @@ -1,13 +1,14 @@ --- layout: post -title: How to enable drill-down in Syncfusion ASP.NET MVC Maps | Syncfusion +title: Drill Down in Syncfusion ASP.NET MVC Maps Component description: Learn here all about Drill Down in Syncfusion ASP.NET MVC Maps component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Drill Down +publishingplatform: chart-sdk documentation: ug --- -# How to enable drill-down in ASP.NET MVC Maps +# Drill-down in ASP.NET MVC Maps Component By clicking a continent, all the countries available in that continent can be viewed using the drill-down feature. For example, the countries in the `Africa` continent have been showcased here. To showcase all the countries in `Africa` continent by clicking the `ShapeSelected` event as mentioned in the following example. @@ -22,4 +23,4 @@ By clicking a continent, all the countries available in that continent can be vi Note: Refer the data values for WorldMap(https://www.syncfusion.com/downloads/support/directtrac/general/ze/WorldMap-1118251150) and Africa(https://www.syncfusion.com/downloads/support/directtrac/general/ze/Africa1913669070) shapes here. -![Drill-down](../images/How-to/drilldown.gif) +![Drill-down](../images/How-to/drilldown.gif) \ No newline at end of file diff --git a/chart-sdk/asp-net-mvc/maps/how-to/marker-type.md b/chart-sdk/asp-net-mvc/maps/how-to/marker-type.md index 087035a72..65ce9c455 100644 --- a/chart-sdk/asp-net-mvc/maps/how-to/marker-type.md +++ b/chart-sdk/asp-net-mvc/maps/how-to/marker-type.md @@ -1,13 +1,14 @@ --- layout: post -title: How to add marker types in Syncfusion ASP.NET MVC Maps | Syncfusion +title: Marker Type in Syncfusion ASP.NET MVC Maps Component description: Learn here all about Marker Type in Syncfusion ASP.NET MVC Maps component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Marker Type +publishingplatform: chart-sdk documentation: ug --- -# How to add marker types in ASP.NET MVC Maps +# Marker types in ASP.NET MVC Maps Component ## Add different types of markers @@ -45,4 +46,4 @@ Customize the above option for n number of markers as mentioned in the following -![Marker type](../images/How-to/marker-type.PNG) +![Marker type](../images/How-to/marker-type.PNG) \ No newline at end of file diff --git a/chart-sdk/asp-net-mvc/maps/how-to/multiple-layer.md b/chart-sdk/asp-net-mvc/maps/how-to/multiple-layer.md index 6df041911..eb940b8cd 100644 --- a/chart-sdk/asp-net-mvc/maps/how-to/multiple-layer.md +++ b/chart-sdk/asp-net-mvc/maps/how-to/multiple-layer.md @@ -1,13 +1,14 @@ --- layout: post -title: Add multiple layers in Syncfusion ASP.NET MVC Maps | Syncfusion +title: Multiple Layer in Syncfusion ASP.NET MVC Maps Component description: Learn here all about Multiple Layer in Syncfusion ASP.NET MVC Maps component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Multiple Layer +publishingplatform: chart-sdk documentation: ug --- -# How to add multiple layers in ASP.NET MVC Maps +# Adding multiple layers in the Map The multilayer support allows loading multiple shape files in a single container and enables Maps to display more information. The shape layer is the main layer of the Maps. Multiple layers can be added in a shape layer as **SubLayer** using the `Type` property. diff --git a/chart-sdk/asp-net-mvc/maps/how-to/zooming.md b/chart-sdk/asp-net-mvc/maps/how-to/zooming.md index 32de980e7..f8f4256f0 100644 --- a/chart-sdk/asp-net-mvc/maps/how-to/zooming.md +++ b/chart-sdk/asp-net-mvc/maps/how-to/zooming.md @@ -1,13 +1,14 @@ --- layout: post -title: How to enable zooming in Syncfusion ASP.NET MVC Maps | Syncfusion +title: Zooming in Syncfusion ASP.NET MVC Maps Component description: Learn here all about Zooming in Syncfusion ASP.NET MVC Maps component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Zooming +publishingplatform: chart-sdk documentation: ug --- -# How to enable zooming in ASP.NET MVC Maps +# Center position zooming The center position zooming can be achieved by using the `MapsCenterPosition` class and `ZoomFactor` property as mentioned in the following example. The center position is used to configure the zoom level of Maps, and the zoom factor is used to specify the center position where the Maps should be displayed. @@ -22,4 +23,4 @@ The center position zooming can be achieved by using the `MapsCenterPosition` cl -![Annotation zindex](../images/How-to/centerposition.PNG) +![Annotation zindex](../images/How-to/centerposition.PNG) \ No newline at end of file diff --git a/chart-sdk/asp-net-mvc/maps/internationalization.md b/chart-sdk/asp-net-mvc/maps/internationalization.md index 9e5b6ef0b..558427401 100644 --- a/chart-sdk/asp-net-mvc/maps/internationalization.md +++ b/chart-sdk/asp-net-mvc/maps/internationalization.md @@ -1,13 +1,14 @@ --- layout: post -title: Internationalization in Syncfusion ASP.NET MVC Maps | Syncfusion +title: Internationalization in Syncfusion ASP.NET MVC Maps Component description: Learn here all about Internationalization in Syncfusion ASP.NET MVC Maps component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Internationalization +publishingplatform: chart-sdk documentation: ug --- -# Internationalization in ASP.NET MVC Maps +# Internationalization Maps provide support for internationalization for the below elements. @@ -37,4 +38,4 @@ The numeric formats such as currency, percentage and so on can be displayed in t -![Internationalization](./images/Internationalization/internationalization.PNG) +![Internationalization](./images/Internationalization/internationalization.PNG) \ No newline at end of file diff --git a/chart-sdk/asp-net-mvc/maps/layers.md b/chart-sdk/asp-net-mvc/maps/layers.md index 28f71a186..364607b8f 100644 --- a/chart-sdk/asp-net-mvc/maps/layers.md +++ b/chart-sdk/asp-net-mvc/maps/layers.md @@ -1,13 +1,14 @@ --- layout: post -title: Layers in Syncfusion ASP.NET MVC Maps | Syncfusion +title: Layers in Syncfusion ASP.NET MVC Maps Component description: Learn here all about Layers in Syncfusion ASP.NET MVC Maps component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Layers +publishingplatform: chart-sdk documentation: ug --- -# Layers in ASP.NET MVC Maps +# Layers The Maps component is rendered through [`Layers`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.Maps.Maps.html#Syncfusion_EJ2_Maps_Maps_Layers) and any number of layers can be added to the Maps. diff --git a/chart-sdk/asp-net-mvc/maps/legend.md b/chart-sdk/asp-net-mvc/maps/legend.md index dbbec5cee..c2575fd13 100644 --- a/chart-sdk/asp-net-mvc/maps/legend.md +++ b/chart-sdk/asp-net-mvc/maps/legend.md @@ -1,13 +1,14 @@ --- layout: post -title: Legend in Syncfusion ASP.NET MVC Maps | Syncfusion +title: Legend in Syncfusion ASP.NET MVC Syncfusion Maps Component description: Learn here all about Legend in Syncfusion ASP.NET MVC Maps component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Legend +publishingplatform: chart-sdk documentation: ug --- -# Legend in ASP.NET MVC Maps +# Legend in ASP.NET MVC Maps Component A Legend is a visual representation of the symbols used on the Maps. It can be represented in various colors, shapes or other identifiers based on the data and provides valuable information for interpreting what the Maps are displaying. It explains what each symbol in the Maps represents. Legends are enabled by setting the `Visible` property of `MapsLegendSettings` to **true**. diff --git a/chart-sdk/asp-net-mvc/maps/localization.md b/chart-sdk/asp-net-mvc/maps/localization.md index 11c8b8fbb..ed00de7d3 100644 --- a/chart-sdk/asp-net-mvc/maps/localization.md +++ b/chart-sdk/asp-net-mvc/maps/localization.md @@ -1,13 +1,14 @@ --- layout: post -title: Localization in Syncfusion ASP.NET MVC Maps | Syncfusion +title: Localization in Syncfusion ASP.NET MVC Maps Component description: Learn here all about Localization in Syncfusion ASP.NET MVC Maps component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Localization +publishingplatform: chart-sdk documentation: ug --- -# Localization in ASP.NET MVC Maps +# Localization The localization library allows localizing the default text content of the Maps component. The Maps component has the static text of some features such as tooltip of zoom toolbar, and that can be changed to any other culture(Arabic, Deutsch, French, etc) by defining the locale value and translation object. diff --git a/chart-sdk/asp-net-mvc/maps/markers.md b/chart-sdk/asp-net-mvc/maps/markers.md index 163c4bdcf..9f46adcf7 100644 --- a/chart-sdk/asp-net-mvc/maps/markers.md +++ b/chart-sdk/asp-net-mvc/maps/markers.md @@ -1,13 +1,14 @@ --- layout: post -title: Markers in Syncfusion ASP.NET MVC Maps | Syncfusion +title: Markers in Syncfusion ASP.NET MVC Maps Component description: Learn here all about Markers in Syncfusion ASP.NET MVC Maps component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Markers +publishingplatform: chart-sdk documentation: ug --- -# Markers in ASP.NET MVC Maps +# Markers in ASP.NET MVC Maps Component Markers are notes that are used to leave a message on the Maps. It indicates or marks a specific location with desired symbols on the Maps. It can be enabled by setting the `Visible` property of the `MapsMarker` to **true**. diff --git a/chart-sdk/asp-net-mvc/maps/methods.md b/chart-sdk/asp-net-mvc/maps/methods.md index fb7a6e7ee..6c8f4bc21 100644 --- a/chart-sdk/asp-net-mvc/maps/methods.md +++ b/chart-sdk/asp-net-mvc/maps/methods.md @@ -1,13 +1,14 @@ --- layout: post -title: Methods in Syncfusion ASP.NET MVC Maps | Syncfusion +title: Methods in Syncfusion ASP.NET MVC Maps Component description: Learn here all about the methods in the Syncfusion ASP.NET MVC Maps component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Maps +publishingplatform: chart-sdk documentation: ug --- -# Methods in ASP.NET MVC Maps +# Methods in ASP.NET MVC Maps component ## Methods diff --git a/chart-sdk/asp-net-mvc/maps/navigation-line.md b/chart-sdk/asp-net-mvc/maps/navigation-line.md index a8f0007e5..bec85d5c8 100644 --- a/chart-sdk/asp-net-mvc/maps/navigation-line.md +++ b/chart-sdk/asp-net-mvc/maps/navigation-line.md @@ -1,13 +1,14 @@ --- layout: post -title: Navigation Lines in Syncfusion ASP.NET MVC Maps | Syncfusion +title: Navigation Line in Syncfusion ASP.NET MVC Maps Component description: Learn here all about Navigation Line in Syncfusion ASP.NET MVC Maps component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Navigation Line +publishingplatform: chart-sdk documentation: ug --- -# Navigation Lines in ASP.NET MVC Maps +# Navigation lines The navigation lines are used to denote the path between two locations. This feature can be used to draw flight or sea routes. Navigation lines are enabled by setting the `Visible` property of the `MapsNavigationLine` to **true**. @@ -57,4 +58,4 @@ To enable the arrow in the navigation line, set the `ShowArrow` property of `Map -![Enabling the arrow](./images/Navigationline/arrow.PNG) +![Enabling the arrow](./images/Navigationline/arrow.PNG) \ No newline at end of file diff --git a/chart-sdk/asp-net-mvc/maps/polygon.md b/chart-sdk/asp-net-mvc/maps/polygon.md index 11d36c7d8..759e07629 100644 --- a/chart-sdk/asp-net-mvc/maps/polygon.md +++ b/chart-sdk/asp-net-mvc/maps/polygon.md @@ -1,13 +1,14 @@ --- layout: post -title: Polygon in Syncfusion ASP.NET MVC Maps | Syncfusion +title: Polygon in Syncfusion ASP.NET MVC Maps component description: Learn here all about Polygon in Syncfusion ASP.NET MVC Maps component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Polygon +publishingplatform: chart-sdk documentation: ug --- -# Polygon shape in ASP.NET MVC Maps +# Polygon shape in ASP.NET MVC Maps component The Maps component allows you to add polygon shape to a geometry map or an online map by using the properties in the [Polygons](https://help.syncfusion.com/cr/aspnetmvc-js2/Syncfusion.EJ2.Maps.MapsPolygonSettings.html#Syncfusion_EJ2_Maps_MapsPolygonSettings_Polygons). This section describes how to add polygon shape to the map and customize them. diff --git a/chart-sdk/asp-net-mvc/maps/populate-data.md b/chart-sdk/asp-net-mvc/maps/populate-data.md index 9d562a008..c319eb722 100644 --- a/chart-sdk/asp-net-mvc/maps/populate-data.md +++ b/chart-sdk/asp-net-mvc/maps/populate-data.md @@ -1,13 +1,14 @@ --- layout: post -title: Populate Data in Syncfusion ASP.NET MVC Maps | Syncfusion +title: Populate Data in Syncfusion ASP.NET MVC Maps Component description: Learn here all about Populate Data in Syncfusion ASP.NET MVC Maps component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Populate Data +publishingplatform: chart-sdk documentation: ug --- -# Populate Data in ASP.NET MVC Maps +# Populate data ## Geometry types @@ -148,4 +149,4 @@ Refer the data values for [ViewBag.bubbleData](https://www.syncfusion.com/downlo -![Binding complex data source](./images/PopulateData/complex-data.PNG) +![Binding complex data source](./images/PopulateData/complex-data.PNG) \ No newline at end of file diff --git a/chart-sdk/asp-net-mvc/maps/print.md b/chart-sdk/asp-net-mvc/maps/print.md index fe940a4f6..61085a673 100644 --- a/chart-sdk/asp-net-mvc/maps/print.md +++ b/chart-sdk/asp-net-mvc/maps/print.md @@ -1,17 +1,18 @@ --- layout: post -title: Print and Export in ASP.NET MVC Maps | Syncfusion +title: Print in ASP.NET MVC Maps Component description: Learn here all about Print in Syncfusion ASP.NET MVC Maps component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Print +publishingplatform: chart-sdk documentation: ug --- -# Print and Export in ASP.NET MVC Maps +# Print and Export in ASP.NET MVC Maps component ## Print -The rendered maps can be printed directly from the browser by calling the [`print`](https://ej2.syncfusion.com/documentation/api/maps#print) method. To use the print functionality, set the [`AllowPrint`](https://help.syncfusion.com/cr/aspnetmvc-js2/Syncfusion.EJ2.Maps.Maps.html#Syncfusion_EJ2_Maps_Maps_AllowPrint) property to **true**. +The rendered maps can be printed directly from the browser by calling the [`print`](https://ej2.syncfusion.com/documentation/api/maps/#print) method. To use the print functionality, set the [`AllowPrint`](https://help.syncfusion.com/cr/aspnetmvc-js2/Syncfusion.EJ2.Maps.Maps.html#Syncfusion_EJ2_Maps_Maps_AllowPrint) property to **true**. {% tabs %} {% highlight razor tabtitle="CSHTML" %} @@ -28,7 +29,7 @@ The rendered maps can be printed directly from the browser by calling the [`prin ### Image Export -To use the image export functionality, we should set the [`AllowImageExport`](https://ej2.syncfusion.com/documentation/api/maps#allowimageexport) property to **true**. The rendered maps can be exported as an image using the [`export`](https://ej2.syncfusion.com/documentation/api/maps#export) method. The method requires two parameters: image type and file name. The maps can be exported as an image in the following formats. +To use the image export functionality, we should set the [`AllowImageExport`](https://ej2.syncfusion.com/documentation/api/maps/#allowimageexport) property to **true**. The rendered maps can be exported as an image using the [`export`](https://ej2.syncfusion.com/documentation/api/maps/#export) method. The method requires two parameters: image type and file name. The maps can be exported as an image in the following formats. * JPEG * PNG @@ -45,7 +46,7 @@ To use the image export functionality, we should set the [`AllowImageExport`](ht -We can get the image file as base64 string for the JPEG and PNG formats. The maps can be exported to image as a base64 string using the [`export`](https://ej2.syncfusion.com/documentation/api/maps#export) method. There are four parameters required: image type, file name, orientation of the exported PDF document which must be set as **null** for image export and finally **allowDownload** which should be set as **false** to return base64 string. +We can get the image file as base64 string for the JPEG and PNG formats. The maps can be exported to image as a base64 string using the [`export`](https://ej2.syncfusion.com/documentation/api/maps/#export) method. There are four parameters required: image type, file name, orientation of the exported PDF document which must be set as **null** for image export and finally **allowDownload** which should be set as **false** to return base64 string. {% tabs %} {% highlight razor tabtitle="CSHTML" %} @@ -60,7 +61,7 @@ We can get the image file as base64 string for the JPEG and PNG formats. The map ### PDF Export -To use the PDF export functionality, we should set the [`AllowPdfExport`](https://ej2.syncfusion.com/documentation/api/maps#allowpdfexport) property to **true**. The rendered maps can be exported as PDF using the [`export`](https://ej2.syncfusion.com/documentation/api/maps#export) method. The [`export`](https://ej2.syncfusion.com/documentation/api/maps#export) method requires three parameters: file type, file name and orientation of the PDF document. The orientation setting is optional and **0** indicates portrait and **1** indicates landscape. +To use the PDF export functionality, we should set the [`AllowPdfExport`](https://ej2.syncfusion.com/documentation/api/maps/#allowpdfexport) property to **true**. The rendered maps can be exported as PDF using the [`export`](https://ej2.syncfusion.com/documentation/api/maps/#export) method. The [`export`](https://ej2.syncfusion.com/documentation/api/maps/#export) method requires three parameters: file type, file name and orientation of the PDF document. The orientation setting is optional and **0** indicates portrait and **1** indicates landscape. {% tabs %} {% highlight razor tabtitle="CSHTML" %} diff --git a/chart-sdk/asp-net-mvc/maps/providers/azure-maps.md b/chart-sdk/asp-net-mvc/maps/providers/azure-maps.md index f787adf3c..c23427492 100644 --- a/chart-sdk/asp-net-mvc/maps/providers/azure-maps.md +++ b/chart-sdk/asp-net-mvc/maps/providers/azure-maps.md @@ -1,13 +1,14 @@ --- layout: post -title: Azure Maps in Syncfusion ASP.NET MVC Maps | Syncfusion -description: Learn here all about Azure Maps in the Syncfusion ASP.NET MVC Maps component and explore much more details. +title: Azure Maps in Syncfusion ASP.NET MVC Syncfusion Maps Component +description: Learn here all about Azure Maps in the Syncfusion ASP.NET MVC Maps component and much more details. platform: chart-sdk control: Azure Maps +publishingplatform: chart-sdk documentation: ug --- -# Azure Maps in ASP.NET MVC Maps +# Azure Maps in ASP.NET MVC Maps Component Azure Maps is yet another online Maps provider, owned by Microsoft. As like OSM and Bing Maps, it provides Maps tile images based on our requests and combines those images into a single one to display Maps area. diff --git a/chart-sdk/asp-net-mvc/maps/providers/bing-maps.md b/chart-sdk/asp-net-mvc/maps/providers/bing-maps.md index b3cbe5c92..0d6f8c200 100644 --- a/chart-sdk/asp-net-mvc/maps/providers/bing-maps.md +++ b/chart-sdk/asp-net-mvc/maps/providers/bing-maps.md @@ -1,13 +1,14 @@ --- layout: post -title: Bing Maps in Syncfusion ASP.NET MVC Maps | Syncfusion +title: Bing Maps in Syncfusion ASP.NET MVC Syncfusion Maps Component description: Learn here all about Bing Maps in Syncfusion ASP.NET MVC Maps component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Bing Maps +publishingplatform: chart-sdk documentation: ug --- -# Bing Maps in ASP.NET MVC Maps +# Bing Maps in ASP.NET MVC Maps Component Bing Maps is a online Maps provider, owned by Microsoft. As like OSM, it provide Maps tile images based on our requests and combines those images into a single one to display Maps area. diff --git a/chart-sdk/asp-net-mvc/maps/providers/map-provider.md b/chart-sdk/asp-net-mvc/maps/providers/map-provider.md index f0b257830..8aa8ef31c 100644 --- a/chart-sdk/asp-net-mvc/maps/providers/map-provider.md +++ b/chart-sdk/asp-net-mvc/maps/providers/map-provider.md @@ -1,13 +1,14 @@ --- layout: post -title: OpenStreetMap in Syncfusion ASP.NET MVC Maps | Syncfusion +title: Map Provider in Syncfusion ASP.NET MVC Maps Component description: Learn here all about Map Provider in Syncfusion ASP.NET MVC Maps component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Map Provider +publishingplatform: chart-sdk documentation: ug --- -# OpenStreetMap in ASP.NET MVC Maps +# OpenStreetMaps in ASP.NET MVC Maps Component The OpenStreetMap (OSM) is the online Maps provider built by a community of developers; it is free to use under an open license. It allows to view geographical data in a collaborative way from anywhere on the earth. The OSM Maps provides small tile images based on our requests and combines those images into a single image to display the Maps area in the Maps component. @@ -88,4 +89,4 @@ The legend can be added to the tile Maps by setting the [Visible](https://help.s {% endhighlight %} {% endtabs %} -![OpenStreetMap with Legend](../images/MapProviders/osm-legend.PNG) +![OpenStreetMap with Legend](../images/MapProviders/osm-legend.PNG) \ No newline at end of file diff --git a/chart-sdk/asp-net-mvc/maps/providers/other-maps.md b/chart-sdk/asp-net-mvc/maps/providers/other-maps.md index 18ac8c401..6ffe53a80 100644 --- a/chart-sdk/asp-net-mvc/maps/providers/other-maps.md +++ b/chart-sdk/asp-net-mvc/maps/providers/other-maps.md @@ -1,13 +1,14 @@ --- layout: post -title: Other Maps providers in Syncfusion ASP.NET MVC Maps | Syncfusion +title: Other Maps in Syncfusion ASP.NET MVC Maps Component description: Learn here all about other Maps in Syncfusion ASP.NET MVC Maps component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Other Maps +publishingplatform: chart-sdk documentation: ug --- -# Other Maps providers in ASP.NET MVC Maps +# Other Maps providers Apart from OpenStreetMap and Bing Maps, you can also render Maps from other online map service providers by specifying the URL provided by those providers in the [UrlTemplate](https://help.syncfusion.com/cr/aspnetmvc-js2/Syncfusion.EJ2.Maps.MapsLayer.html#Syncfusion_EJ2_Maps_MapsLayer_UrlTemplate) property. The URL template concept has been implemented in such a way that any online map service providers using the following template can benefit from previewing their Map in the Syncfusion® ASP.NET MVC Maps component. @@ -92,4 +93,4 @@ The legend can be added to the tile Maps by setting the [Visible](https://help.s {% endhighlight %} {% endtabs %} -![TomTom Maps with Legend](../images/MapProviders/tomtom-map-legend.PNG) +![TomTom Maps with Legend](../images/MapProviders/tomtom-map-legend.PNG) \ No newline at end of file diff --git a/chart-sdk/asp-net-mvc/maps/state-persistence.md b/chart-sdk/asp-net-mvc/maps/state-persistence.md index 1eb5fd2e1..824762243 100644 --- a/chart-sdk/asp-net-mvc/maps/state-persistence.md +++ b/chart-sdk/asp-net-mvc/maps/state-persistence.md @@ -1,13 +1,14 @@ --- layout: post -title: State Persistence in Syncfusion ASP.NET MVC Maps | Syncfusion +title: State Persistence in Syncfusion ASP.NET MVC Maps Component description: Learn here all about State Persistence in Syncfusion ASP.NET MVC Maps component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: State Persistence +publishingplatform: chart-sdk documentation: ug --- -# State Persistence in ASP.NET MVC Maps +# State Persistence ## State persistence diff --git a/chart-sdk/asp-net-mvc/maps/user-interactions.md b/chart-sdk/asp-net-mvc/maps/user-interactions.md index 5feba364d..13a3796f2 100644 --- a/chart-sdk/asp-net-mvc/maps/user-interactions.md +++ b/chart-sdk/asp-net-mvc/maps/user-interactions.md @@ -1,13 +1,14 @@ --- layout: post -title: User Interactions in Syncfusion ASP.NET MVC Maps | Syncfusion +title: User Interactions in Syncfusion ASP.NET MVC Maps Component description: Learn here all about User Interactions in Syncfusion ASP.NET MVC Maps component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: User Interactions +publishingplatform: chart-sdk documentation: ug --- -# User Interactions in ASP.NET MVC Maps +# User Interactions in ASP.NET MVC Maps Component ## Zooming diff --git a/chart-sdk/asp-net-mvc/range-navigator/accessibility.md b/chart-sdk/asp-net-mvc/range-navigator/accessibility.md index 9f8aa8624..f21413953 100644 --- a/chart-sdk/asp-net-mvc/range-navigator/accessibility.md +++ b/chart-sdk/asp-net-mvc/range-navigator/accessibility.md @@ -1,14 +1,15 @@ --- layout: post -title: Accessibility in ASP.NET MVC Range Navigator | Syncfusion +title: Accessibility in Syncfusion Range Navigator Component description: Learn here all about Accessibility in Syncfusion ASP MVC Range Navigator component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Accessibility +publishingplatform: chart-sdk documentation: ug --- -# Accessibility in ASP.NET MVC Range Navigator +# Accessibility in ASP.NET MVC Range navigator component The Range navigator component followed the accessibility guidelines and standards, including [ADA](https://www.ada.gov/), [Section 508](https://www.section508.gov/), [WCAG 2.2](https://www.w3.org/TR/WCAG22/) standards, and [WCAG roles](https://www.w3.org/TR/wai-aria/#roles) that are commonly used to evaluate accessibility. @@ -64,4 +65,4 @@ The accessibility compliance of the Range navigator component is shown in the fo ## See also -* [Accessibility in Syncfusion® ASP.NET MVC components](../common/accessibility) +* [Accessibility in Syncfusion® ASP.NET MVC components](../common/accessibility) \ No newline at end of file diff --git a/chart-sdk/asp-net-mvc/range-navigator/custom.md b/chart-sdk/asp-net-mvc/range-navigator/custom.md index a55ea0ecf..b0894afe4 100644 --- a/chart-sdk/asp-net-mvc/range-navigator/custom.md +++ b/chart-sdk/asp-net-mvc/range-navigator/custom.md @@ -1,14 +1,15 @@ --- layout: post -title: Customization in ASP.NET MVC Range Navigator | Syncfusion +title: Custom in ASP.NET MVC Range Navigator Component description: Learn here all about Custom in Syncfusion ASP.NET MVC Range Navigator component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Custom +publishingplatform: chart-sdk documentation: ug --- -# Customization in ASP.NET MVC Range Navigator +# Customization ## Navigator appearance @@ -108,5 +109,5 @@ The speed of the animation can be controlled using the `animationDuration` prope ## See Also -* [Grid and Tick Lines](./grid-tick) -* [Labels](./labels) +* [Grid and Tick Lines](./grid-tick/) +* [Labels](./labels/) \ No newline at end of file diff --git a/chart-sdk/asp-net-mvc/range-navigator/data.md b/chart-sdk/asp-net-mvc/range-navigator/data.md index 8be52b7a2..99913e09d 100644 --- a/chart-sdk/asp-net-mvc/range-navigator/data.md +++ b/chart-sdk/asp-net-mvc/range-navigator/data.md @@ -1,16 +1,17 @@ --- layout: post -title: Data in ASP.NET MVC Range Navigator | Syncfusion +title: Data in ASP.NET MVC Range Navigator Component description: Learn here all about Data in Syncfusion ASP.NET MVC Range Navigator component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Data +publishingplatform: chart-sdk documentation: ug --- -# Data in ASP.NET MVC Range Navigator +# Types of data ## Numeric @@ -294,4 +295,4 @@ The following table shows the results of applying some common DateTime formats t 12:00:00 AM The Label is displayed in hours:minutes:seconds format - + \ No newline at end of file diff --git a/chart-sdk/asp-net-mvc/range-navigator/ej1-api-migration.md b/chart-sdk/asp-net-mvc/range-navigator/ej1-api-migration.md index 01ffcc481..fee400024 100644 --- a/chart-sdk/asp-net-mvc/range-navigator/ej1-api-migration.md +++ b/chart-sdk/asp-net-mvc/range-navigator/ej1-api-migration.md @@ -1,14 +1,15 @@ --- layout: post -title: EJ1 API Migration in ASP.NET MVC Range Navigator | Syncfusion +title: Ej1 Api Migration in ASP.NET MVC Range Navigator Component description: Learn here all about Ej1 Api Migration in Syncfusion ASP.NET MVC Range Navigator component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Ej1 Api Migration +publishingplatform: chart-sdk documentation: ug --- -# EJ1 API Migration in ASP.NET MVC Range Navigator +# Migration from Essential® JS 1 This article describes the API migration process of Range navigator component from Essential® JS 1 to Essential® JS 2. @@ -1634,4 +1635,4 @@ Not Applicable Not Applicable - + \ No newline at end of file diff --git a/chart-sdk/asp-net-mvc/range-navigator/export.md b/chart-sdk/asp-net-mvc/range-navigator/export.md index 193642014..b09a77d20 100644 --- a/chart-sdk/asp-net-mvc/range-navigator/export.md +++ b/chart-sdk/asp-net-mvc/range-navigator/export.md @@ -1,14 +1,15 @@ --- layout: post -title: Export and Print in ASP.NET MVC Range Navigator | Syncfusion +title: Export in ASP.NET MVC Range Navigator Component description: Learn here all about Export in Syncfusion ASP.NET MVC Range Navigator component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Export +publishingplatform: chart-sdk documentation: ug --- -# Export and Print in ASP.NET MVC Range Navigator +# Export and print ## Export diff --git a/chart-sdk/asp-net-mvc/range-navigator/getting-started.md b/chart-sdk/asp-net-mvc/range-navigator/getting-started.md index 8990e9519..b63c3cc16 100644 --- a/chart-sdk/asp-net-mvc/range-navigator/getting-started.md +++ b/chart-sdk/asp-net-mvc/range-navigator/getting-started.md @@ -1,15 +1,16 @@ --- layout: post -title: Getting Started with ASP.NET MVC Range Navigator | Syncfusion -description: Checkout and learn about getting started with ASP.NET MVC Range Navigator control of Syncfusion Essential JS 2 and more details. +title: Getting Started with ASP.NET MVC Range Navigator Control | Syncfusion +description: Check out and learn about getting started with the ASP.NET MVC Range Navigator control of Syncfusion Essential JS 2 and more details. platform: chart-sdk control: Getting Started +publishingplatform: chart-sdk documentation: ug --- -# Getting Started with ASP.NET MVC Range Navigator +# Getting Started with the ASP.NET MVC Range Navigator Control This section briefly explains how to add the Syncfusion® [ASP.NET MVC Range Navigator](https://www.syncfusion.com/aspnet-mvc-ui-controls/range-selector) control to an ASP.NET MVC 5 (.NET Framework) application using Visual Studio. diff --git a/chart-sdk/asp-net-mvc/range-navigator/grid-tick.md b/chart-sdk/asp-net-mvc/range-navigator/grid-tick.md index fa1bebb7b..708f4c97e 100644 --- a/chart-sdk/asp-net-mvc/range-navigator/grid-tick.md +++ b/chart-sdk/asp-net-mvc/range-navigator/grid-tick.md @@ -1,14 +1,15 @@ --- layout: post -title: Grid and Tick Lines in ASP.NET MVC Range Navigator | Syncfusion +title: Grid Tick in ASP.NET MVC Range Navigator Component description: Learn here all about Grid Tick in Syncfusion ASP.NET MVC Range Navigator component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Grid Tick +publishingplatform: chart-sdk documentation: ug --- -# Grid and Tick Lines in ASP.NET MVC Range Navigator +# Grid and Tick Lines ## Grid line customization @@ -42,4 +43,4 @@ Ticklines are the small lines which is drawn on the axis line representing the a -![Tickline customization](images/grid-tick/tick.png) +![Tickline customization](images/grid-tick/tick.png) \ No newline at end of file diff --git a/chart-sdk/asp-net-mvc/range-navigator/labels.md b/chart-sdk/asp-net-mvc/range-navigator/labels.md index 492ca964c..e629cec4a 100644 --- a/chart-sdk/asp-net-mvc/range-navigator/labels.md +++ b/chart-sdk/asp-net-mvc/range-navigator/labels.md @@ -1,14 +1,15 @@ --- layout: post -title: Labels in ASP.NET MVC Range Navigator | Syncfusion +title: Labels in ASP.NET MVC Range Navigator Component description: Learn here all about Labels in Syncfusion ASP.NET MVC Range Navigator component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Labels +publishingplatform: chart-sdk documentation: ug --- -# Labels in ASP.NET MVC Range Navigator +# Labels ## Multilevel labels @@ -103,4 +104,4 @@ The font size, color, family, etc. can be customized using the `labelStyle` sett -![Labels Customization](images/labels/custom.png) +![Labels Customization](images/labels/custom.png) \ No newline at end of file diff --git a/chart-sdk/asp-net-mvc/range-navigator/light-weight.md b/chart-sdk/asp-net-mvc/range-navigator/light-weight.md index 10f6759c8..05af35d06 100644 --- a/chart-sdk/asp-net-mvc/range-navigator/light-weight.md +++ b/chart-sdk/asp-net-mvc/range-navigator/light-weight.md @@ -1,14 +1,15 @@ --- layout: post -title: Light Weight in ASP.NET MVC Range Navigator | Syncfusion +title: Light Weight in ASP.NET MVC Range Navigator Component description: Learn here all about Light Weight in Syncfusion ASP.NET MVC Range Navigator component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Light Weight +publishingplatform: chart-sdk documentation: ug --- -# Light Weight in ASP.NET MVC Range Navigator +# Lightweight range navigator By default, when the `dataSource` for `series` is empty, a lightweight Range Selector will be shown without Chart. @@ -27,4 +28,4 @@ By default, when the `dataSource` for `series` is empty, a lightweight Range Sel ## See Also -* [Period Selector](./period-selector) +* [Period Selector](./period-selector/) \ No newline at end of file diff --git a/chart-sdk/asp-net-mvc/range-navigator/period-selector.md b/chart-sdk/asp-net-mvc/range-navigator/period-selector.md index fb24b5e43..56056e4fd 100644 --- a/chart-sdk/asp-net-mvc/range-navigator/period-selector.md +++ b/chart-sdk/asp-net-mvc/range-navigator/period-selector.md @@ -1,14 +1,15 @@ --- layout: post -title: Period Selector in ASP.NET MVC Range Navigator | Syncfusion +title: Period Selector in ASP.NET MVC Range Navigator Component description: Learn here all about Period Selector in Syncfusion ASP.NET MVC Range Navigator component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Period Selector +publishingplatform: chart-sdk documentation: ug --- -# Period Selector in ASP.NET MVC Range Navigator +# Period selector The period selector allows to select a range with specified periods. @@ -90,4 +91,4 @@ The `disableRangeSelector` property allows the users to display only the period ## See Also -* [LightWeight](./light-weight) +* [LightWeight](./light-weight) \ No newline at end of file diff --git a/chart-sdk/asp-net-mvc/range-navigator/r-t-l.md b/chart-sdk/asp-net-mvc/range-navigator/r-t-l.md index 1e128884a..faf8ff891 100644 --- a/chart-sdk/asp-net-mvc/range-navigator/r-t-l.md +++ b/chart-sdk/asp-net-mvc/range-navigator/r-t-l.md @@ -1,14 +1,15 @@ --- layout: post -title: RTL in ASP.NET MVC Range Navigator | Syncfusion +title: R T L in ASP.NET MVC Range Navigator Component description: Learn here all about R T L in Syncfusion ASP.NET MVC Range Navigator component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: R T L +publishingplatform: chart-sdk documentation: ug --- -# RTL in ASP.NET MVC Range Navigator +# RTL The Range Selector supports right-to-left (RTL), which can be enabled with the `enableRtl` property. @@ -23,4 +24,4 @@ The Range Selector supports right-to-left (RTL), which can be enabled with the ` -![RTL](images/rtl.png) +![RTL](images/rtl.png) \ No newline at end of file diff --git a/chart-sdk/asp-net-mvc/range-navigator/range.md b/chart-sdk/asp-net-mvc/range-navigator/range.md index 1e13d9ea8..08593b138 100644 --- a/chart-sdk/asp-net-mvc/range-navigator/range.md +++ b/chart-sdk/asp-net-mvc/range-navigator/range.md @@ -1,14 +1,15 @@ --- layout: post -title: Selecting Range in ASP.NET MVC Range Navigator | Syncfusion +title: Range in ASP.NET MVC Range Navigator Component description: Learn here all about Range in Syncfusion ASP.NET MVC Range Navigator component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Range +publishingplatform: chart-sdk documentation: ug --- -# Selecting Range in ASP.NET MVC Range Navigator +# Selecting Range The Range Selector's left and right thumbs are used to indicate the selected range in the large collection of data. A range can be selected in the following ways: @@ -27,4 +28,4 @@ The Range Selector's left and right thumbs are used to indicate the selected ran -![Selecting range](images/range.png) +![Selecting range](images/range.png) \ No newline at end of file diff --git a/chart-sdk/asp-net-mvc/range-navigator/series-type.md b/chart-sdk/asp-net-mvc/range-navigator/series-type.md index 38334dda6..a42bb7de0 100644 --- a/chart-sdk/asp-net-mvc/range-navigator/series-type.md +++ b/chart-sdk/asp-net-mvc/range-navigator/series-type.md @@ -1,14 +1,15 @@ --- layout: post -title: Series Types in ASP.NET MVC Range Navigator | Syncfusion +title: Syncfusion Series Type in ASP.NET MVC Range Navigator Component description: Learn here all about Series Type in Syncfusion ASP.NET MVC Range Navigator component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Series Type +publishingplatform: chart-sdk documentation: ug --- -# Series Types in ASP.NET MVC Range Navigator +# Range Navigator Series Types To render the data, the Range Selector supports six types of series. @@ -116,4 +117,4 @@ To render a Column series, use series `type` as **Column** -![Column chart](images/series-type/column.png) +![Column chart](images/series-type/column.png) \ No newline at end of file diff --git a/chart-sdk/asp-net-mvc/range-navigator/tool-tip.md b/chart-sdk/asp-net-mvc/range-navigator/tool-tip.md index 7d1bb9438..c5d6e6ee4 100644 --- a/chart-sdk/asp-net-mvc/range-navigator/tool-tip.md +++ b/chart-sdk/asp-net-mvc/range-navigator/tool-tip.md @@ -1,14 +1,15 @@ --- layout: post -title: Tooltip in ASP.NET MVC Range Navigator | Syncfusion +title: Tool Tip in ASP.NET MVC Range Navigator Component description: Learn here all about Tool Tip in Syncfusion ASP.NET MVC Range Navigator component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Tool Tip +publishingplatform: chart-sdk documentation: ug --- -# Tooltip in ASP.NET MVC Range Navigator +# Tooltip @@ -112,4 +113,4 @@ The following table shows the results of applying some common date and time form 12:00:00 AM The Label is displayed in hours:minutes:seconds format - + \ No newline at end of file diff --git a/chart-sdk/asp-net-mvc/sankey-diagram/accessibility.md b/chart-sdk/asp-net-mvc/sankey-diagram/accessibility.md index 5927b4aeb..3d27421a1 100644 --- a/chart-sdk/asp-net-mvc/sankey-diagram/accessibility.md +++ b/chart-sdk/asp-net-mvc/sankey-diagram/accessibility.md @@ -1,13 +1,14 @@ --- layout: post -title: Accessibility in ASP.NET MVC Sankey Diagram | Syncfusion -description: Learn here all about Accessibility in Syncfusion ASP.NET MVC Sankey Diagram component of Syncfusion Essential JS 2 and more. +title: Accessibility in ASP.NET MVC Sankey Chart Component +description: Learn here all about Accessibility in Syncfusion ASP.NET MVC Sankey Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Accessibility +publishingplatform: chart-sdk documentation: ug --- -# Accessibility in ASP.NET MVC Sankey Diagram +# Accessibility in ASP.NET MVC Sankey Chart component The Sankey Chart component follows the accessibility guidelines and standards, including [ADA](https://www.ada.gov), [Section 508](https://www.section508.gov), [WCAG 2.2](https://www.w3.org/TR/WCAG22), and relevant [WAI-ARIA](https://www.w3.org/TR/wai-aria#roles) roles. @@ -68,8 +69,10 @@ The Sankey Chart component follows the [keyboard interaction](https://www.w3.org The Sankey Chart component's accessibility levels are ensured through an [accessibility-checker](https://www.npmjs.com/package/accessibility-checker) and [axe-core](https://www.npmjs.com/package/axe-core) software tools during automated testing. +The accessibility compliance of the Sankey Chart component is shown in the following sample. Open the [sample](https://ej2.syncfusion.com/accessibility/sankey.html) in a new window to evaluate the accessibility of the Sankey Chart component with accessibility tools. + {% previewsample "https://ej2.syncfusion.com/accessibility/sankey.html" %} ## See also -* [Accessibility in Syncfusion® ASP.NET MVC components](../common/accessibility) +* [Accessibility in Syncfusion® ASP.NET MVC components](../common/accessibility) \ No newline at end of file diff --git a/chart-sdk/asp-net-mvc/sankey-diagram/appearance.md b/chart-sdk/asp-net-mvc/sankey-diagram/appearance.md index 597baca9d..1546efcea 100644 --- a/chart-sdk/asp-net-mvc/sankey-diagram/appearance.md +++ b/chart-sdk/asp-net-mvc/sankey-diagram/appearance.md @@ -1,13 +1,14 @@ --- layout: post -title: Appearance in ASP.NET MVC Sankey Diagram | Syncfusion -description: Learn here all about Appearance in Syncfusion ASP.NET MVC Sankey Diagram component of Syncfusion Essential JS 2 and more. +title: Appearance in ASP.NET MVC Sankey Chart Component +description: Learn here all about Appearance in Syncfusion ASP.NET MVC Sankey Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Appearance +publishingplatform: chart-sdk documentation: ug --- -# Appearance in ASP.NET MVC Sankey Diagram +# Appearance in ASP.NET MVC Sankey Chart component The Sankey Chart provides comprehensive customization options to control visual appearance, dimensions, responsiveness, colors, borders, and themes. These appearance settings enable you to create diagrams that match your application's design system and user experience requirements. diff --git a/chart-sdk/asp-net-mvc/sankey-diagram/customization.md b/chart-sdk/asp-net-mvc/sankey-diagram/customization.md index 295b52c18..7f4e9fca2 100644 --- a/chart-sdk/asp-net-mvc/sankey-diagram/customization.md +++ b/chart-sdk/asp-net-mvc/sankey-diagram/customization.md @@ -1,13 +1,14 @@ --- layout: post -title: Customization in ASP.NET MVC Sankey Diagram | Syncfusion -description: Learn here all about Customization in Syncfusion ASP.NET MVC Sankey Diagram component of Syncfusion Essential JS 2 and more. +title: Customization in ASP.NET MVC Sankey Chart Component +description: Learn here all about Customization in Syncfusion ASP.NET MVC Sankey Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Customization +publishingplatform: chart-sdk documentation: ug --- -# Customization in ASP.NET MVC Sankey Diagram +# Customization in ASP.NET MVC Sankey Chart component The Sankey Chart provides extensive customization options to create visualizations that match your specific design requirements and data presentation needs. From styling and theming to advanced visual techniques, the component enables complete control over appearance and behavior. diff --git a/chart-sdk/asp-net-mvc/sankey-diagram/events.md b/chart-sdk/asp-net-mvc/sankey-diagram/events.md index adac3a8cd..856cc948c 100644 --- a/chart-sdk/asp-net-mvc/sankey-diagram/events.md +++ b/chart-sdk/asp-net-mvc/sankey-diagram/events.md @@ -1,13 +1,14 @@ --- layout: post -title: Events in ASP.NET MVC Sankey Diagram | Syncfusion -description: Learn here all about Events in Syncfusion ASP.NET MVC Sankey Diagram component of Syncfusion Essential JS 2 and more. +title: Events in ASP.NET MVC Sankey Chart Component +description: Learn here all about Events in Syncfusion ASP.NET MVC Sankey Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Events +publishingplatform: chart-sdk documentation: ug --- -# Events in ASP.NET MVC Sankey Diagram +# Events in ASP.NET MVC Sankey Chart component The Sankey Chart provides comprehensive events that allow you to customize behavior, respond to user interactions, and hook into the chart lifecycle. These events enable advanced customization scenarios including data transformation, analytics tracking, and dynamic UI updates. diff --git a/chart-sdk/asp-net-mvc/sankey-diagram/getting-started.md b/chart-sdk/asp-net-mvc/sankey-diagram/getting-started.md index d35ec5c8f..641d8ffd0 100644 --- a/chart-sdk/asp-net-mvc/sankey-diagram/getting-started.md +++ b/chart-sdk/asp-net-mvc/sankey-diagram/getting-started.md @@ -1,14 +1,15 @@ --- layout: post -title: Getting Started with ASP.NET MVC Sankey Diagram | Syncfusion -description: Checkout and learn about Getting started with ASP.NET MVC Sankey Diagram component of Syncfusion Essential JS 2 and more. +title: Getting started with ASP.NET MVC Sankey Chart | Syncfusion +description: Check out and learn about getting started with ASP.NET MVC Sankey Chart component of Syncfusion Essential JS 2 and more details. platform: chart-sdk control: Getting Started +publishingplatform: chart-sdk documentation: ug --- -# Getting started with ASP.NET MVC Sankey Diagram +# Getting Started with the ASP.NET MVC Sankey Chart Control This section briefly explains how to add the Syncfusion® ASP.NET MVC Sankey Chart control to your ASP.NET MVC application using Visual Studio. diff --git a/chart-sdk/asp-net-mvc/sankey-diagram/labels.md b/chart-sdk/asp-net-mvc/sankey-diagram/labels.md index cccf0df9c..820b40b69 100644 --- a/chart-sdk/asp-net-mvc/sankey-diagram/labels.md +++ b/chart-sdk/asp-net-mvc/sankey-diagram/labels.md @@ -1,13 +1,14 @@ --- layout: post -title: Labels in ASP.NET MVC Sankey Diagram | Syncfusion -description: Learn here all about Labels in Syncfusion ASP.NET MVC Sankey Diagram component of Syncfusion Essential JS 2 and more. +title: Labels in ASP.NET MVC Sankey Chart Component +description: Learn here all about Labels in Syncfusion ASP.NET MVC Sankey Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Labels +publishingplatform: chart-sdk documentation: ug --- -# Labels in ASP.NET MVC Sankey Diagram +# Labels in ASP.NET MVC Sankey Chart component Labels display descriptive text associated with nodes in the Sankey Chart, making the diagram more understandable and interpretable. The Sankey Chart provides comprehensive label customization options including visibility control, font styling, individual label configuration, and dynamic rendering events. diff --git a/chart-sdk/asp-net-mvc/sankey-diagram/legend.md b/chart-sdk/asp-net-mvc/sankey-diagram/legend.md index d94baa037..88084b892 100644 --- a/chart-sdk/asp-net-mvc/sankey-diagram/legend.md +++ b/chart-sdk/asp-net-mvc/sankey-diagram/legend.md @@ -1,13 +1,14 @@ --- layout: post -title: Legend in ASP.NET MVC Sankey Diagram | Syncfusion -description: Learn here all about Legend in Syncfusion ASP.NET MVC Sankey Diagram component of Syncfusion Essential JS 2 and more. +title: Legend in Syncfusion ASP.NET MVC Sankey Chart Component +description: Learn here all about Legend in Syncfusion ASP.NET MVC Sankey Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Legend +publishingplatform: chart-sdk documentation: ug --- -# Legend in ASP.NET MVC Sankey Diagram +# Legend in ASP.NET MVC Sankey Chart component A legend provides a visual key that helps users understand the categories and meanings represented by nodes in the Sankey Chart. The Sankey Chart provides comprehensive legend configuration options including positioning, styling, customization, and interactive behaviors. You can enable and customize legend using the `Legend` property. diff --git a/chart-sdk/asp-net-mvc/sankey-diagram/links.md b/chart-sdk/asp-net-mvc/sankey-diagram/links.md index 7b25b2d6c..7cefd64fa 100644 --- a/chart-sdk/asp-net-mvc/sankey-diagram/links.md +++ b/chart-sdk/asp-net-mvc/sankey-diagram/links.md @@ -1,13 +1,14 @@ --- layout: post -title: Links in ASP.NET MVC Sankey Diagram | Syncfusion -description: Learn here all about Links in Syncfusion ASP.NET MVC Sankey Diagram component of Syncfusion Essential JS 2 and more. +title: Links in ASP.NET MVC Sankey Chart Component +description: Learn here all about Links in Syncfusion ASP.NET MVC Sankey Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Links +publishingplatform: chart-sdk documentation: ug --- -# Links in ASP.NET MVC Sankey Diagram +# Links in ASP.NET MVC Sankey Chart component Links are the connecting paths that visualize flow between nodes in a Sankey Chart. Each link connects a source node to a target node and carries a quantitative value that determines its visual thickness. The Sankey Chart provides comprehensive customization options for link styling, colors, curvature, and interactions. diff --git a/chart-sdk/asp-net-mvc/sankey-diagram/nodes.md b/chart-sdk/asp-net-mvc/sankey-diagram/nodes.md index d87681971..39260ecc1 100644 --- a/chart-sdk/asp-net-mvc/sankey-diagram/nodes.md +++ b/chart-sdk/asp-net-mvc/sankey-diagram/nodes.md @@ -1,13 +1,14 @@ --- layout: post -title: Nodes in ASP.NET MVC Sankey Diagram | Syncfusion -description: Learn here all about Nodes in Syncfusion ASP.NET MVC Sankey Diagram component of Syncfusion Essential JS 2 and more. +title: Nodes in Syncfusion ASP.NET MVC Sankey Chart Component +description: Learn here all about Nodes in Syncfusion ASP.NET MVC Sankey Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Nodes +publishingplatform: chart-sdk documentation: ug --- -# Nodes in ASP.NET MVC Sankey Diagram +# Nodes in ASP.NET MVC Sankey Chart component Nodes are the fundamental building blocks of a Sankey Chart, representing sources, targets, and intermediate entities in flow diagrams. The Sankey Chart provides extensive customization options for node appearance, enabling you to create visually meaningful and interactive flow diagrams. diff --git a/chart-sdk/asp-net-mvc/sankey-diagram/orientation-rtl.md b/chart-sdk/asp-net-mvc/sankey-diagram/orientation-rtl.md index 671cdbde0..914ae5419 100644 --- a/chart-sdk/asp-net-mvc/sankey-diagram/orientation-rtl.md +++ b/chart-sdk/asp-net-mvc/sankey-diagram/orientation-rtl.md @@ -1,13 +1,14 @@ --- layout: post -title: Orientation and RTL in ASP.NET MVC Sankey Diagram | Syncfusion -description: Learn here all about Orientation and RTL in Syncfusion ASP.NET MVC Sankey Diagram component of Syncfusion Essential JS 2 and more. +title: Orientation and RTL in ASP.NET MVC Sankey Chart Component +description: Learn here all about Orientation and RTL in Syncfusion ASP.NET MVC Sankey Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Orientation and RTL +publishingplatform: chart-sdk documentation: ug --- -# Orientation and RTL in ASP.NET MVC Sankey Diagram +# Orientation and RTL in ASP.NET MVC Sankey Chart component The Sankey Chart supports flexible layout options including horizontal and vertical orientations, as well as right-to-left (RTL) rendering for international applications. These features enable you to create localized and directionally appropriate visualizations. diff --git a/chart-sdk/asp-net-mvc/sankey-diagram/print-and-export.md b/chart-sdk/asp-net-mvc/sankey-diagram/print-and-export.md index 1c4cb6a5d..4994455e3 100644 --- a/chart-sdk/asp-net-mvc/sankey-diagram/print-and-export.md +++ b/chart-sdk/asp-net-mvc/sankey-diagram/print-and-export.md @@ -1,13 +1,14 @@ --- layout: post -title: Print and Export in ASP.NET MVC Sankey Diagram | Syncfusion -description: Learn here all about Print and Export in Syncfusion ASP.NET MVC Sankey Diagram component of Syncfusion Essential JS 2 and more. +title: Print and Export in ASP.NET MVC Sankey Chart Component +description: Learn here all about Print and Export in Syncfusion ASP.NET MVC Sankey Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Print and Export +publishingplatform: chart-sdk documentation: ug --- -# Print and Export in ASP.NET MVC Sankey Diagram +# Print and Export in ASP.NET MVC Sankey Chart component The Sankey Chart provides comprehensive print and export functionality, enabling users to generate static files in multiple formats (PNG, JPEG, SVG, PDF) or print the diagram directly. This is useful for reports, documentation, sharing, and offline access. diff --git a/chart-sdk/asp-net-mvc/sankey-diagram/title-and-sub-title.md b/chart-sdk/asp-net-mvc/sankey-diagram/title-and-sub-title.md index 3a8a32472..89ca6b346 100644 --- a/chart-sdk/asp-net-mvc/sankey-diagram/title-and-sub-title.md +++ b/chart-sdk/asp-net-mvc/sankey-diagram/title-and-sub-title.md @@ -1,13 +1,14 @@ --- layout: post -title: Title and Subtitle in ASP.NET MVC Sankey Diagram | Syncfusion -description: Learn here all about Title and Subtitle in Syncfusion ASP.NET MVC Sankey Diagram component of Syncfusion Essential JS 2 and more. +title: Title and Subtitle in ASP.NET MVC Sankey Chart Component +description: Learn here all about Title and Subtitle in Syncfusion ASP.NET MVC Sankey Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Title and Subtitle +publishingplatform: chart-sdk documentation: ug --- -# Title and Subtitle in ASP.NET MVC Sankey Diagram +# Title and Subtitle in ASP.NET MVC Sankey Chart component The Sankey Chart supports adding descriptive titles and subtitles to provide context and information about your data visualization. These text elements help users quickly understand the purpose and content of the diagram. You can fully customize the text, styling, alignment, and appearance using dedicated properties. diff --git a/chart-sdk/asp-net-mvc/sankey-diagram/tool-tip.md b/chart-sdk/asp-net-mvc/sankey-diagram/tool-tip.md index 43e020b37..801540291 100644 --- a/chart-sdk/asp-net-mvc/sankey-diagram/tool-tip.md +++ b/chart-sdk/asp-net-mvc/sankey-diagram/tool-tip.md @@ -1,13 +1,14 @@ --- layout: post -title: Tooltip in ASP.NET MVC Sankey Diagram | Syncfusion -description: Learn here all about ToolTip in Syncfusion ASP.NET MVC Sankey Diagram component of Syncfusion Essential JS 2 and more. +title: ToolTip in ASP.NET MVC Syncfusion Sankey Chart Component +description: Learn here all about ToolTip in Syncfusion ASP.NET MVC Sankey Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Tooltip +control: ToolTip +publishingplatform: chart-sdk documentation: ug --- -# Tooltip in ASP.NET MVC Sankey Diagram +# ToolTip in ASP.NET MVC Sankey Chart component The Sankey Chart provides tooltips that surface contextual details for hovered elements without cluttering the diagram. Tooltips display additional information when users hover over nodes or links in the Sankey Chart. You can enable and customize tooltips using the `Tooltip` property. diff --git a/chart-sdk/asp-net-mvc/smith-chart/accessibility.md b/chart-sdk/asp-net-mvc/smith-chart/accessibility.md index 97fb497aa..034470df5 100644 --- a/chart-sdk/asp-net-mvc/smith-chart/accessibility.md +++ b/chart-sdk/asp-net-mvc/smith-chart/accessibility.md @@ -1,14 +1,15 @@ --- layout: post -title: Accessibility in ASP.NET MVC Smith Chart | Syncfusion -description: Learn here all about Accessibility in Syncfusion ASP.NET MVC Smith Chart component of Syncfusion Essential JS 2 and more. +title: Accessibility in Syncfusion Smith Chart Component +description: Learn here all about Accessibility in Syncfusion ASP MVC Smith Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Accessibility +publishingplatform: chart-sdk documentation: ug --- -# Accessibility in ASP.NET MVC Smith Chart +# Accessibility in ASP.NET MVC Smith chart component The Smith chart component followed the accessibility guidelines and standards, including [ADA](https://www.ada.gov/), [Section 508](https://www.section508.gov/), [WCAG 2.2](https://www.w3.org/TR/WCAG22/) standards, and [WCAG roles](https://www.w3.org/TR/wai-aria/#roles) that are commonly used to evaluate accessibility. diff --git a/chart-sdk/asp-net-mvc/smith-chart/getting-started.md b/chart-sdk/asp-net-mvc/smith-chart/getting-started.md index 70c89e235..87b2084fa 100644 --- a/chart-sdk/asp-net-mvc/smith-chart/getting-started.md +++ b/chart-sdk/asp-net-mvc/smith-chart/getting-started.md @@ -1,14 +1,15 @@ --- layout: post -title: Getting Started with ASP.NET MVC Smith Chart | Syncfusion -description: Checkout and learn about getting started with ASP.NET MVC Smith Chart control of Syncfusion Essential JS 2 and more details. +title: Getting Started with ASP.NET MVC SmithChart Control | Syncfusion +description: Check out and learn about getting started with ASP.NET MVC SmithChart control of Syncfusion Essential JS 2 and more details. platform: chart-sdk control: Getting Started +publishingplatform: chart-sdk documentation: ug --- -# Getting Started with ASP.NET MVC Smith Chart +# Getting Started with the ASP.NET MVC SmithChart Control This section briefly explains how to add the Syncfusion® [ASP.NET MVC SmithChart](https://www.syncfusion.com/aspnet-mvc-ui-controls/smith-chart) control to your ASP.NET MVC application using Visual Studio. diff --git a/chart-sdk/asp-net-mvc/smith-chart/smithchart-axis.md b/chart-sdk/asp-net-mvc/smith-chart/smithchart-axis.md index fee0e5470..be2b2dfd2 100644 --- a/chart-sdk/asp-net-mvc/smith-chart/smithchart-axis.md +++ b/chart-sdk/asp-net-mvc/smith-chart/smithchart-axis.md @@ -1,14 +1,15 @@ --- layout: post -title: Axis in ASP.NET MVC Smith Chart | Syncfusion -description: Learn here all about Smith Chart Axis in Syncfusion ASP.NET MVC Smith Chart component of Syncfusion Essential JS 2 and more. +title: Smithchart Axis in ASP.NET MVC Smithchart Control | Syncfusion +description: Learn here all about Smithchart Axis in Syncfusion ASP.NET MVC Smithchart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Smithchart Axis +publishingplatform: chart-sdk documentation: ug --- -# Axis in ASP.NET MVC Smith Chart +# Axis in Smithchart Control Like chart, Smithchart is having support for two types of axis. * Horizontal axis - axis drawn as straight line in the horizontal direction of the chart. diff --git a/chart-sdk/asp-net-mvc/smith-chart/smithchart-dimensions.md b/chart-sdk/asp-net-mvc/smith-chart/smithchart-dimensions.md index 2f9b7ca46..c70eaca34 100644 --- a/chart-sdk/asp-net-mvc/smith-chart/smithchart-dimensions.md +++ b/chart-sdk/asp-net-mvc/smith-chart/smithchart-dimensions.md @@ -1,14 +1,15 @@ --- layout: post -title: Dimensions in ASP.NET MVC Smith Chart | Syncfusion -description: Learn here all about Smith Chart Dimensions in Syncfusion ASP.NET MVC Smith Chart component of Syncfusion Essential JS 2 and more. +title: Smithchart Dimensions in ASP.NET MVC Smithchart Component +description: Learn here all about Smithchart Dimensions in Syncfusion ASP.NET MVC Smithchart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Smithchart Dimensions +publishingplatform: chart-sdk documentation: ug --- -# Dimensions in ASP.NET MVC Smith Chart +# Smithchart Dimensions You can render the smithchart either corresponding to its container size or you can set the size of the smithchart as per your requirement. To render the smithchart corresponding to its container size, you need to set the size for the smithchart container. Else to set the size for the smithchart as per your requirement, you can use the width and height properties in the smithchart. diff --git a/chart-sdk/asp-net-mvc/smith-chart/smithchart-legend.md b/chart-sdk/asp-net-mvc/smith-chart/smithchart-legend.md index 5b57d233c..ef90f6a34 100644 --- a/chart-sdk/asp-net-mvc/smith-chart/smithchart-legend.md +++ b/chart-sdk/asp-net-mvc/smith-chart/smithchart-legend.md @@ -1,16 +1,17 @@ --- layout: post -title: Legend in ASP.NET MVC Smith Chart | Syncfusion -description: Learn here all about Smith Chart Legend in Syncfusion ASP.NET MVC Smith Chart component of Syncfusion Essential JS 2 and more. +title: Smithchart Legend in ASP.NET MVC Smithchart Component +description: Learn here all about Smithchart Legend in Syncfusion ASP.NET MVC Smithchart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Smithchart Legend +publishingplatform: chart-sdk documentation: ug --- -# Legend in ASP.NET MVC Smith Chart +# Legend Legend is a key used in smithchart, that contains symbol and descriptions. It provides valuable information for interpreting what the smithchart is displaying and can be represented in various colors, shapes or other identifiers based on the data. In simple words, we can define that legend is used to denote the series rendered in the smithchart. diff --git a/chart-sdk/asp-net-mvc/smith-chart/smithchart-marker.md b/chart-sdk/asp-net-mvc/smith-chart/smithchart-marker.md index 1cd457c0b..bc4802f2c 100644 --- a/chart-sdk/asp-net-mvc/smith-chart/smithchart-marker.md +++ b/chart-sdk/asp-net-mvc/smith-chart/smithchart-marker.md @@ -1,16 +1,17 @@ --- layout: post -title: Marker and DataLabels in ASP.NET MVC Smith Chart | Syncfusion -description: Learn here all about Smith Chart Marker in Syncfusion ASP.NET MVC Smith Chart component of Syncfusion Essential JS 2 and more. +title: Smithchart Marker in ASP.NET MVC Smithchart Component +description: Learn here all about Smithchart Marker in Syncfusion ASP.NET MVC Smithchart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Smithchart Marker +publishingplatform: chart-sdk documentation: ug --- -# Marker and Datalabels in ASP.NET MVC Smith Chart +# Marker & Datalabels Markers and Datalabels are used to provide information about the data points in the series. You can add a shape to adorn each data point. By default marker and datalabel both are disabled in smithchart. You can enable both of them by setting visible property as true in marker and datalabel settings diff --git a/chart-sdk/asp-net-mvc/smith-chart/smithchart-print.md b/chart-sdk/asp-net-mvc/smith-chart/smithchart-print.md index 3526f9f18..e75ef2771 100644 --- a/chart-sdk/asp-net-mvc/smith-chart/smithchart-print.md +++ b/chart-sdk/asp-net-mvc/smith-chart/smithchart-print.md @@ -1,14 +1,15 @@ --- layout: post -title: Print and Export in ASP.NET MVC Smith Chart | Syncfusion -description: Learn here all about Smith Chart Print in Syncfusion ASP.NET MVC Smith Chart component of Syncfusion Essential JS 2 and more. +title: Smithchart Print in ASP.NET MVC Smithchart Component +description: Learn here all about Smithchart Print in Syncfusion ASP.NET MVC Smithchart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Smithchart Print +publishingplatform: chart-sdk documentation: ug --- -# Print and Export in ASP.NET MVC Smith Chart +# Print and Export ## Print diff --git a/chart-sdk/asp-net-mvc/smith-chart/smithchart-series.md b/chart-sdk/asp-net-mvc/smith-chart/smithchart-series.md index 9c2719dbe..c4f30e4df 100644 --- a/chart-sdk/asp-net-mvc/smith-chart/smithchart-series.md +++ b/chart-sdk/asp-net-mvc/smith-chart/smithchart-series.md @@ -1,14 +1,15 @@ --- layout: post -title: Series in ASP.NET MVC Smith Chart | Syncfusion -description: Learn here all about Smith Chart Series in Syncfusion ASP.NET MVC Smith Chart component of Syncfusion Essential JS 2 and more. +title: Smithchart Series in ASP.NET MVC Smithchart Component +description: Learn here all about Smithchart Series in Syncfusion ASP.NET MVC Smithchart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Smithchart Series +publishingplatform: chart-sdk documentation: ug --- -# Series in ASP.NET MVC Smith Chart +# Series You can add any number of series to the smithchart as per your requirement. You can use series setting to either add or customize the data. For the points or datasource added in the series, line is drawn. You can customize the each series as per your requirement with marker, datalabel, animation, opacity and so on. diff --git a/chart-sdk/asp-net-mvc/smith-chart/smithchart-tooltip.md b/chart-sdk/asp-net-mvc/smith-chart/smithchart-tooltip.md index 2d7227fbe..35b070d74 100644 --- a/chart-sdk/asp-net-mvc/smith-chart/smithchart-tooltip.md +++ b/chart-sdk/asp-net-mvc/smith-chart/smithchart-tooltip.md @@ -1,14 +1,15 @@ --- layout: post -title: Tooltip in ASP.NET MVC Smith Chart | Syncfusion -description: Learn here all about Smith Chart Tooltip in Syncfusion ASP.NET MVC Smith Chart control of Syncfusion Essential JS 2 and more. +title: Smithchart Tooltip in ASP.NET MVC Smithchart Component +description: Learn here all about Smithchart Tooltip in Syncfusion ASP.NET MVC Smithchart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Smithchart Tooltip +publishingplatform: chart-sdk documentation: ug --- -# Tooltip in ASP.NET MVC Smith Chart +# Tooltip Smithchart will display details about the points through tooltip, when the mouse is moved over the point. By default, tooltip is disabled. To enable the tooltip for smithchart, you need to import and inject TooltipRender module from chart. And also set the property visible as true, in tooltip settings. You can customize the tooltip's visibility and appearance differently each series in the smithchart. diff --git a/chart-sdk/asp-net-mvc/smith-chart/title-subtitle.md b/chart-sdk/asp-net-mvc/smith-chart/title-subtitle.md index f95568aa0..f997b505b 100644 --- a/chart-sdk/asp-net-mvc/smith-chart/title-subtitle.md +++ b/chart-sdk/asp-net-mvc/smith-chart/title-subtitle.md @@ -1,14 +1,15 @@ --- layout: post -title: Title and Subtitle in ASP.NET MVC Smith Chart | Syncfusion -description: Learn here all about Title and Subtitle in Syncfusion ASP.NET MVC Smith Chart component of Syncfusion Essential JS 2 and more. +title: Title Subtitle in ASP.NET MVC Smithchart Component +description: Learn here all about Title Subtitle in Syncfusion ASP.NET MVC Smithchart component of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Title and Subtitle +control: Title Subtitle +publishingplatform: chart-sdk documentation: ug --- -# Title and Subtitle in ASP.NET MVC Smith Chart +# Title and Subtitle ## Enable title diff --git a/chart-sdk/asp-net-mvc/smith-chart/working-with-data.md b/chart-sdk/asp-net-mvc/smith-chart/working-with-data.md index d68567487..54465040e 100644 --- a/chart-sdk/asp-net-mvc/smith-chart/working-with-data.md +++ b/chart-sdk/asp-net-mvc/smith-chart/working-with-data.md @@ -1,14 +1,15 @@ --- layout: post -title: Working with Data in ASP.NET MVC Smith Chart | Syncfusion -description: Learn here all about Working With Data in Syncfusion ASP.NET MVC Smith Chart component of Syncfusion Essential JS 2 and more. +title: Working With Data in ASP.NET MVC Smithchart Component +description: Learn here all about Working With Data in Syncfusion ASP.NET MVC Smithchart component of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Working with Data +control: Working With Data +publishingplatform: chart-sdk documentation: ug --- -# Working with Data in ASP.NET MVC Smith Chart +# Working with Data Smithchart can visualise the data bound from local data. The data you bind for the smithchart, should be an array of object and that should contain the field resistance and rectangle. This should be bind to points or datasource in the smithchart. diff --git a/chart-sdk/asp-net-mvc/sparkline-charts/accessibility.md b/chart-sdk/asp-net-mvc/sparkline-charts/accessibility.md index eed8acf16..830fa871f 100644 --- a/chart-sdk/asp-net-mvc/sparkline-charts/accessibility.md +++ b/chart-sdk/asp-net-mvc/sparkline-charts/accessibility.md @@ -1,14 +1,15 @@ --- layout: post -title: Accessibility in ASP.NET MVC Sparkline Charts | Syncfusion -description: Learn here all about Accessibility in Syncfusion ASP.NET MVC Sparkline Charts component of Syncfusion Essential JS 2 and more. +title: Accessibility in Syncfusion Sparkline Component +description: Learn here all about Accessibility in Syncfusion ASP MVC Sparkline component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Accessibility +publishingplatform: chart-sdk documentation: ug --- -# Accessibility in ASP.NET MVC Sparkline Charts +# Accessibility in ASP.NET MVC Sparkline component The Sparkline component followed the accessibility guidelines and standards, including [ADA](https://www.ada.gov/), [Section 508](https://www.section508.gov/), [WCAG 2.2](https://www.w3.org/TR/WCAG22/) standards, and [WCAG roles](https://www.w3.org/TR/wai-aria/#roles) that are commonly used to evaluate accessibility. diff --git a/chart-sdk/asp-net-mvc/sparkline-charts/appearance.md b/chart-sdk/asp-net-mvc/sparkline-charts/appearance.md index 2384ae2bd..9819c5d07 100644 --- a/chart-sdk/asp-net-mvc/sparkline-charts/appearance.md +++ b/chart-sdk/asp-net-mvc/sparkline-charts/appearance.md @@ -1,14 +1,15 @@ --- layout: post -title: Appearance in ASP.NET MVC Sparkline Charts | Syncfusion -description: Learn here all about Appearance in Syncfusion ASP.NET MVC Sparkline Charts component of Syncfusion Essential JS 2 and more. +title: Appearance in ASP.NET MVC Sparkline Component +description: Learn here all about Appearance in Syncfusion ASP.NET MVC Sparkline component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Appearance +publishingplatform: chart-sdk documentation: ug --- -# Appearance in ASP.NET MVC Sparkline Charts +# Appearance The appearance of the sparkline can be customized using margin, container Area border, and container Area background. diff --git a/chart-sdk/asp-net-mvc/sparkline-charts/appearance.md.bak b/chart-sdk/asp-net-mvc/sparkline-charts/appearance.md.bak new file mode 100644 index 000000000..edc4a303e --- /dev/null +++ b/chart-sdk/asp-net-mvc/sparkline-charts/appearance.md.bak @@ -0,0 +1,1495 @@ + + + + + + + + + + + + + + Welcome to Syncfusion Essential + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    + +
    + + +
    + +
    +
    +
    +
      +
      +
      + + +
      + + + +
      + + +
      + # Appearance + +The appearance of the sparkline can be customized using margin, container Area border, and container Area background. + +## Sparkline border + +The [`containerArea border`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2~Syncfusion.EJ2.Charts.SparklineContainerArea~Border.html) of the sparkline is used to render border to cover sparkline area. + +The following code example shows the sparkline with overall border. + + + + + +## Sparkline padding + +Padding is used to specify padding value between container and sparkline. By default, padding value of the sparkline is 5. Sparkline [`padding`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2~Syncfusion.EJ2.Charts.SparklinePadding.html) values are specified by the left, right, top, and bottom. + +The following code example shows the sparkline with overall padding is set to 20. + + + + + +## Sparkline area customization + +The background color of the sparkline area can be customized using the [`containerArea background`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2~Syncfusion.EJ2.Charts.SparklineContainerArea~BackGround.html) color. By default, the sparkline background color is `transparent`. + + + + + +## Sparkline theme + +Datalabel and track line colors of the sparkline will be changed based on theme. For example, for dark theme, the color of datalabel and track line should be white; for light theme, their value should be black. The possible values for sparkline theme are [`Material`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2~Syncfusion.EJ2.Charts.Sparkline~Theme.html), [`Fabric`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2~Syncfusion.EJ2.Charts.Sparkline~Theme.html), [`Bootstrap`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2~Syncfusion.EJ2.Charts.Sparkline~Theme.html), and [`Highcontrast`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2~Syncfusion.EJ2.Charts.Sparkline~Theme.html). + +The following code example shows the color for datalabel and track line is set to white for dark theme. + + + + +
      + + + +
      + + +
      + +
      + + +
      +
      + + + + + + + + + + + diff --git a/chart-sdk/asp-net-mvc/sparkline-charts/axis-customization.md b/chart-sdk/asp-net-mvc/sparkline-charts/axis-customization.md index 04c4953c5..8ec71bf80 100644 --- a/chart-sdk/asp-net-mvc/sparkline-charts/axis-customization.md +++ b/chart-sdk/asp-net-mvc/sparkline-charts/axis-customization.md @@ -1,14 +1,15 @@ --- layout: post -title: Axis Customization in ASP.NET MVC Sparkline Charts | Syncfusion -description: Learn here all about Axis Customization in Syncfusion ASP.NET MVC Sparkline Charts component of Syncfusion Essential JS 2 and more. +title: Axis Customization in ASP.NET MVC Sparkline Component +description: Learn here all about Axis Customization in Syncfusion ASP.NET MVC Sparkline component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Axis Customization +publishingplatform: chart-sdk documentation: ug --- -# Axis Customization in ASP.NET MVC Sparkline Charts +# Axis Customization You can customize axis value types and min and max values of the sparkline. diff --git a/chart-sdk/asp-net-mvc/sparkline-charts/data-labels.md b/chart-sdk/asp-net-mvc/sparkline-charts/data-labels.md index 5fe04c86c..5b37d646c 100644 --- a/chart-sdk/asp-net-mvc/sparkline-charts/data-labels.md +++ b/chart-sdk/asp-net-mvc/sparkline-charts/data-labels.md @@ -1,14 +1,15 @@ --- layout: post -title: Data Labels in ASP.NET MVC Sparkline Charts | Syncfusion -description: Learn here all about Data Labels in Syncfusion ASP.NET MVC Sparkline Charts component of Syncfusion Essential JS 2 and more. +title: Data Labels in ASP.NET MVC Sparkline Component +description: Learn here all about Data Labels in Syncfusion ASP.NET MVC Sparkline component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Data Labels +publishingplatform: chart-sdk documentation: ug --- -# Data Labels in ASP.NET MVC Sparkline Charts +# Data Labels Data labels are used to display values of data points to improve the readability. diff --git a/chart-sdk/asp-net-mvc/sparkline-charts/ej1-api-migration.md b/chart-sdk/asp-net-mvc/sparkline-charts/ej1-api-migration.md index 2652a7ed4..902423122 100644 --- a/chart-sdk/asp-net-mvc/sparkline-charts/ej1-api-migration.md +++ b/chart-sdk/asp-net-mvc/sparkline-charts/ej1-api-migration.md @@ -1,14 +1,15 @@ --- layout: post -title: EJ1 API Migration in ASP.NET MVC Sparkline Charts | Syncfusion -description: Learn here all about Ej1 Api Migration in Syncfusion ASP.NET MVC Sparkline Charts component of Syncfusion Essential JS 2 and more. +title: Ej1 Api Migration in ASP.NET MVC Sparkline Component +description: Learn here all about Ej1 Api Migration in Syncfusion ASP.NET MVC Sparkline component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Ej1 Api Migration +publishingplatform: chart-sdk documentation: ug --- -# EJ1 API Migration in ASP.NET MVC Sparkline Charts +# Migration from Essential® JS 1 This article describes the API migration process of Accordion component from Essential® JS 1 to Essential® JS 2. @@ -164,4 +165,4 @@ This article describes the API migration process of Accordion component from Ess |dataLabelRendering| Not applicable | **Event:** *dataLabelRendering*

      `@Html.EJS().Sparkline("container").DataLabelRendering("dataLabelRendering").Render()`

      `function dataLabelRendering(args) { }` | |markerRendering| Not applicable | **Event:** *markerRendering*

      `@Html.EJS().Sparkline("container").MarkerRendering("markerRendering").Render()`

      `function markerRendering(args) { }` | |pointRendering| Not applicable | **Event:** *pointRendering*

      `@Html.EJS().Sparkline("container").PointRendering("pointRendering").Render()`

      `function pointRendering(args) { }` | -|resize| Not applicable | **Event:** *resize*

      `@Html.EJS().Sparkline("container").Resize("resize").Render()`

      `function resize(args) { }` | +|resize| Not applicable | **Event:** *resize*

      `@Html.EJS().Sparkline("container").Resize("resize").Render()`

      `function resize(args) { }` | \ No newline at end of file diff --git a/chart-sdk/asp-net-mvc/sparkline-charts/getting-started.md b/chart-sdk/asp-net-mvc/sparkline-charts/getting-started.md index 3144d3c8c..26fe98b58 100644 --- a/chart-sdk/asp-net-mvc/sparkline-charts/getting-started.md +++ b/chart-sdk/asp-net-mvc/sparkline-charts/getting-started.md @@ -1,14 +1,15 @@ --- layout: post -title: Getting Started with ASP.NET MVC Sparkline Charts | Syncfusion -description: Checkout and learn about getting started with ASP.NET MVC Sparkline Charts control of Syncfusion Essential JS 2 and more details. +title: Getting Started with ASP.NET MVC Sparkline Control | Syncfusion +description: Check out and learn about getting started with ASP.NET MVC Sparkline control of Syncfusion Essential JS 2 and more details. platform: chart-sdk control: Getting Started +publishingplatform: chart-sdk documentation: ug --- -# Getting Started with ASP.NET MVC Sparkline Charts +# Getting Started with the ASP.NET MVC Sparkline Control This section briefly explains how to add the Syncfusion® [ASP.NET MVC Sparkline](https://www.syncfusion.com/aspnet-mvc-ui-controls/sparkline) control to your ASP.NET MVC application using Visual Studio. diff --git a/chart-sdk/asp-net-mvc/sparkline-charts/localization.md b/chart-sdk/asp-net-mvc/sparkline-charts/localization.md index 3edc0b0fc..efbdee4cb 100644 --- a/chart-sdk/asp-net-mvc/sparkline-charts/localization.md +++ b/chart-sdk/asp-net-mvc/sparkline-charts/localization.md @@ -1,14 +1,15 @@ --- layout: post -title: Localization in ASP.NET MVC Sparkline Charts | Syncfusion -description: Learn here all about Localization in Syncfusion ASP.NET MVC Sparkline Charts component of Syncfusion Essential JS 2 and more. +title: Localization in ASP.NET MVC Sparkline Component +description: Learn here all about Localization in Syncfusion ASP.NET MVC Sparkline component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Localization +publishingplatform: chart-sdk documentation: ug --- -# Localization in ASP.NET MVC Sparkline Charts +# Localization The sparkline control supports localization. The default culture for localization is `en-US`. You can change the culture using the `setCulture` method. diff --git a/chart-sdk/asp-net-mvc/sparkline-charts/marker.md b/chart-sdk/asp-net-mvc/sparkline-charts/marker.md index 40a7a76ab..b22496c1f 100644 --- a/chart-sdk/asp-net-mvc/sparkline-charts/marker.md +++ b/chart-sdk/asp-net-mvc/sparkline-charts/marker.md @@ -1,14 +1,15 @@ --- layout: post -title: Marker in ASP.NET MVC Sparkline Charts | Syncfusion -description: Learn here all about Marker in Syncfusion ASP.NET MVC Sparkline Charts component of Syncfusion Essential JS 2 and more. +title: Marker in ASP.NET MVC Sparkline Component +description: Learn here all about Marker in Syncfusion ASP.NET MVC Sparkline component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Marker +publishingplatform: chart-sdk documentation: ug --- -# Marker in ASP.NET MVC Sparkline Charts +# Markers This section explains how to add markers to the sparklines. diff --git a/chart-sdk/asp-net-mvc/sparkline-charts/range-band.md b/chart-sdk/asp-net-mvc/sparkline-charts/range-band.md index ea248b141..25ccb8d2a 100644 --- a/chart-sdk/asp-net-mvc/sparkline-charts/range-band.md +++ b/chart-sdk/asp-net-mvc/sparkline-charts/range-band.md @@ -1,14 +1,15 @@ --- layout: post -title: Range Band in ASP.NET MVC Sparkline Charts | Syncfusion -description: Learn here all about Range Band in Syncfusion ASP.NET MVC Sparkline Charts component of Syncfusion Essential JS 2 and more. +title: Range Band in ASP.NET MVC Sparkline Component +description: Learn here all about Range Band in Syncfusion ASP.NET MVC Sparkline component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Range Band +publishingplatform: chart-sdk documentation: ug --- -# Range Band in ASP.NET MVC Sparkline Charts +# Range Band This section explains how to customize the sparkline with multiple range bands. diff --git a/chart-sdk/asp-net-mvc/sparkline-charts/sparkline-dimensions.md b/chart-sdk/asp-net-mvc/sparkline-charts/sparkline-dimensions.md index 77a01e5aa..08e5b1968 100644 --- a/chart-sdk/asp-net-mvc/sparkline-charts/sparkline-dimensions.md +++ b/chart-sdk/asp-net-mvc/sparkline-charts/sparkline-dimensions.md @@ -1,14 +1,15 @@ --- layout: post -title: Dimensions in ASP.NET MVC Sparkline Charts | Syncfusion -description: Learn here all about Dimensions in Syncfusion ASP.NET MVC Sparkline Charts component of Syncfusion Essential JS 2 and more. +title: Sparkline Dimensions in ASP.NET MVC Sparkline Component +description: Learn here all about Sparkline Dimensions in Syncfusion ASP.NET MVC Sparkline component of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Sparkline Charts Dimensions +control: Sparkline Dimensions +publishingplatform: chart-sdk documentation: ug --- -# Dimensions in ASP.NET MVC Sparkline Charts +# Sparkline Dimensions ## Size for container diff --git a/chart-sdk/asp-net-mvc/sparkline-charts/sparkline-types.md b/chart-sdk/asp-net-mvc/sparkline-charts/sparkline-types.md index f9950d164..72ba50596 100644 --- a/chart-sdk/asp-net-mvc/sparkline-charts/sparkline-types.md +++ b/chart-sdk/asp-net-mvc/sparkline-charts/sparkline-types.md @@ -1,14 +1,15 @@ --- layout: post -title: Types in ASP.NET MVC Sparkline Charts | Syncfusion -description: Learn here all about Types in Syncfusion ASP.NET MVC Sparkline Charts component of Syncfusion Essential JS 2 and more. +title: Sparkline Types in ASP.NET MVC Sparkline Component +description: Learn here all about Sparkline Types in Syncfusion ASP.NET MVC Sparkline component of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Sparkline Charts Types +control: Sparkline Types +publishingplatform: chart-sdk documentation: ug --- -# Types in ASP.NET MVC Sparkline Charts +# Sparkline Types Different types of shapes can be used to represent the sparkline. You can change the sparkline type by setting the type property. Sparkline supports the following types: diff --git a/chart-sdk/asp-net-mvc/sparkline-charts/special-points-customization.md b/chart-sdk/asp-net-mvc/sparkline-charts/special-points-customization.md index a905b53b7..7098f7370 100644 --- a/chart-sdk/asp-net-mvc/sparkline-charts/special-points-customization.md +++ b/chart-sdk/asp-net-mvc/sparkline-charts/special-points-customization.md @@ -1,14 +1,15 @@ --- layout: post -title: Special Points in ASP.NET MVC Sparkline Charts | Syncfusion -description: Learn here all about Special Points Customization in Syncfusion ASP.NET MVC Sparkline Charts component of Syncfusion Essential JS 2 and more. +title: Special Points Customization in ASP.NET MVC Sparkline Component +description: Learn here all about Special Points Customization in Syncfusion ASP.NET MVC Sparkline component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Special Points Customization +publishingplatform: chart-sdk documentation: ug --- -# Special Points Customization in ASP.NET MVC Sparkline Charts +# Special points customization You can customize the points by initializing the point colors. The customization options allows to differentiate the [`start`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2~Syncfusion.EJ2.Charts.Sparkline~StartPointColor.html), [`end`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2~Syncfusion.EJ2.Charts.Sparkline~EndPointColor.html), [`positive`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2~Syncfusion.EJ2.Charts.Sparkline~HighPointColor.html), [`negative`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2~Syncfusion.EJ2.Charts.Sparkline~NegativePointColor.html), and [`low`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2~Syncfusion.EJ2.Charts.Sparkline~LowPointColor.html) points. This customization is only applicable for line, column, and area type sparklines. diff --git a/chart-sdk/asp-net-mvc/sparkline-charts/user-interaction.md b/chart-sdk/asp-net-mvc/sparkline-charts/user-interaction.md index 24ae6a2fb..15d545764 100644 --- a/chart-sdk/asp-net-mvc/sparkline-charts/user-interaction.md +++ b/chart-sdk/asp-net-mvc/sparkline-charts/user-interaction.md @@ -1,14 +1,15 @@ --- layout: post -title: User Interaction in ASP.NET MVC Sparkline Charts | Syncfusion -description: Learn here all about User Interaction in Syncfusion ASP.NET MVC Sparkline Charts component of Syncfusion Essential JS 2 and more. +title: User Interaction in ASP.NET MVC Syncfusion Sparkline Component +description: Learn here all about User Interaction in Syncfusion ASP.NET MVC Sparkline component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: User Interaction +publishingplatform: chart-sdk documentation: ug --- -# User Interaction in ASP.NET MVC Sparkline Charts +# User interactions in Sparkline Sparkline has two user interaction features: tooltip and tracker line. diff --git a/chart-sdk/asp-net-mvc/stock-charts/accessibility.md b/chart-sdk/asp-net-mvc/stock-charts/accessibility.md index cdd3329e6..1c7f3758c 100644 --- a/chart-sdk/asp-net-mvc/stock-charts/accessibility.md +++ b/chart-sdk/asp-net-mvc/stock-charts/accessibility.md @@ -1,14 +1,15 @@ --- layout: post -title: Accessibility in ASP.NET MVC Stock Chart | Syncfusion +title: Accessibility in Syncfusion Stock Chart Component description: Learn here all about Accessibility in Syncfusion ASP MVC Stock Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Accessibility +publishingplatform: chart-sdk documentation: ug --- -# Accessibility in ASP.NET MVC Stock Chart +# Accessibility in ASP.NET MVC Stock chart component The Stock chart component followed the accessibility guidelines and standards, including [ADA](https://www.ada.gov/), [Section 508](https://www.section508.gov/), [WCAG 2.2](https://www.w3.org/TR/WCAG22/) standards, and [WCAG roles](https://www.w3.org/TR/wai-aria/#roles) that are commonly used to evaluate accessibility. diff --git a/chart-sdk/asp-net-mvc/stock-charts/appearance.md b/chart-sdk/asp-net-mvc/stock-charts/appearance.md index 9801d3787..b180a31b1 100644 --- a/chart-sdk/asp-net-mvc/stock-charts/appearance.md +++ b/chart-sdk/asp-net-mvc/stock-charts/appearance.md @@ -1,14 +1,15 @@ --- layout: post -title: Appearance in ASP.NET MVC Stock Chart | Syncfusion +title: Appearance in ASP.NET MVC Stock Chart Component description: Learn here all about Appearance in Syncfusion ASP.NET MVC Stock Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Appearance +publishingplatform: chart-sdk documentation: ug --- -# Appearance in ASP.NET MVC Stock Chart +# Appearance ## Stock Chart Title @@ -61,4 +62,4 @@ Changing theme will affect background color,gridlines,tooltip colors and appeara ## See Also -* [Axis Customization](./axis-customization) +* [Axis Customization](./axis-customization/) diff --git a/chart-sdk/asp-net-mvc/stock-charts/axis-customization.md b/chart-sdk/asp-net-mvc/stock-charts/axis-customization.md index 8aea6dd22..2a90f28b9 100644 --- a/chart-sdk/asp-net-mvc/stock-charts/axis-customization.md +++ b/chart-sdk/asp-net-mvc/stock-charts/axis-customization.md @@ -1,14 +1,15 @@ --- layout: post -title: Axis Customization in ASP.NET MVC Stock Chart | Syncfusion +title: Axis Customization in ASP.NET MVC Stock Chart Component description: Learn here all about Axis Customization in Syncfusion ASP.NET MVC Stock Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Axis Customization +publishingplatform: chart-sdk documentation: ug --- -# Axis Customization in ASP.NET MVC Stock Chart +# Axis Customization diff --git a/chart-sdk/asp-net-mvc/stock-charts/axis-types.md b/chart-sdk/asp-net-mvc/stock-charts/axis-types.md index 86e0ffe9d..17f3eeb57 100644 --- a/chart-sdk/asp-net-mvc/stock-charts/axis-types.md +++ b/chart-sdk/asp-net-mvc/stock-charts/axis-types.md @@ -1,14 +1,15 @@ --- layout: post -title: Axis Types in ASP.NET MVC Stock Chart | Syncfusion +title: Axis Types in ASP.NET MVC Stock Chart Component description: Learn here all about Axis Types in Syncfusion ASP.NET MVC Stock Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Axis Types +control: Axis types +publishingplatform: chart-sdk documentation: ug --- -# Axis Types in ASP.NET MVC Stock Chart +# Axis types ## DateTime axis @@ -59,4 +60,4 @@ Logarithmic axis uses logarithmic scale and it is very useful in visualizing dat ## See also -* [Axis Customization](./axis-customization) +* [Axis Customization](./axis-customization/) \ No newline at end of file diff --git a/chart-sdk/asp-net-mvc/stock-charts/chart-dimensions.md b/chart-sdk/asp-net-mvc/stock-charts/chart-dimensions.md index e4914c12f..dbffecc86 100644 --- a/chart-sdk/asp-net-mvc/stock-charts/chart-dimensions.md +++ b/chart-sdk/asp-net-mvc/stock-charts/chart-dimensions.md @@ -1,14 +1,15 @@ --- layout: post -title: Chart Dimensions in ASP.NET MVC Stock Chart | Syncfusion +title: Chart Dimensions in ASP.NET MVC Stock Chart Component description: Learn here all about Chart Dimensions in Syncfusion ASP.NET MVC Stock Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Chart Dimensions +publishingplatform: chart-sdk documentation: ug --- -# Chart Dimensions in ASP.NET MVC Stock Chart +# Stock Chart Dimensions ## Size for Container @@ -61,4 +62,4 @@ By setting value in percentage, chart gets its dimension with respect to its co -N> When you do not specify the size, it takes `450px` as the height and window size as its width. +N> When you do not specify the size, it takes `450px` as the height and window size as its width. \ No newline at end of file diff --git a/chart-sdk/asp-net-mvc/stock-charts/cross-hair.md b/chart-sdk/asp-net-mvc/stock-charts/cross-hair.md index 92a5ab95c..92aa1077c 100644 --- a/chart-sdk/asp-net-mvc/stock-charts/cross-hair.md +++ b/chart-sdk/asp-net-mvc/stock-charts/cross-hair.md @@ -1,14 +1,15 @@ --- layout: post -title: Cross Hair in ASP.NET MVC Stock Chart | Syncfusion +title: Cross Hair in ASP.NET MVC Syncfusion Stock Chart Component description: Learn here all about Cross Hair in Syncfusion ASP.NET MVC Stock Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Cross Hair +publishingplatform: chart-sdk documentation: ug --- -# Cross Hair in ASP.NET MVC Stock Chart +# Add Crosshair Crosshair has a vertical and horizontal line to view the value of the axis at mouse or touch position. diff --git a/chart-sdk/asp-net-mvc/stock-charts/export-print.md b/chart-sdk/asp-net-mvc/stock-charts/export-print.md index 20925021d..61428af4c 100644 --- a/chart-sdk/asp-net-mvc/stock-charts/export-print.md +++ b/chart-sdk/asp-net-mvc/stock-charts/export-print.md @@ -1,14 +1,15 @@ --- layout: post -title: Export and Print in ASP.NET MVC Stock Chart | Syncfusion -description: Learn here all about Export and Print in Syncfusion ASP.NET MVC Stock Chart component of Syncfusion Essential JS 2 and more. +title: Export Print in ASP.NET MVC Stock Chart Component +description: Learn here all about Export Print in Syncfusion ASP.NET MVC Stock Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Export and Print +control: Export Print +publishingplatform: chart-sdk documentation: ug --- -# Export and Print in ASP.NET MVC Stock Chart +# Print and Export The rendered stock chart can be exported to `JPEG`, `PNG`, `SVG`, or `PDF` format using the export dropdown button in the period selector toolbar. You can choose the required format using the export dropdown button in stock-chart. diff --git a/chart-sdk/asp-net-mvc/stock-charts/getting-started.md b/chart-sdk/asp-net-mvc/stock-charts/getting-started.md index ae596773e..f3b460936 100644 --- a/chart-sdk/asp-net-mvc/stock-charts/getting-started.md +++ b/chart-sdk/asp-net-mvc/stock-charts/getting-started.md @@ -1,13 +1,14 @@ --- layout: post -title: Getting Started with ASP.NET MVC Stock Chart | Syncfusion -description: Checkout and learn about getting started with ASP.NET MVC Stock Chart control of Syncfusion Essential JS 2 and more details. +title: Getting Started with ASP.NET MVC Stock Chart Control | Syncfusion +description: Check out and learn about getting started with ASP.NET MVC Stock Chart control of Syncfusion Essential JS 2 and more details. platform: chart-sdk control: Getting Started +publishingplatform: chart-sdk documentation: ug --- -# Getting Started with ASP.NET MVC Stock Chart +# Getting Started with the ASP.NET MVC Stock Chart Control This section briefly explains how to add the Syncfusion® [ASP.NET MVC Stock Chart](https://www.syncfusion.com/aspnet-mvc-ui-controls/stock-chart) control to your ASP.NET MVC application using Visual Studio. diff --git a/chart-sdk/asp-net-mvc/stock-charts/gradient.md b/chart-sdk/asp-net-mvc/stock-charts/gradient.md index fe8644ecd..85ebd9968 100644 --- a/chart-sdk/asp-net-mvc/stock-charts/gradient.md +++ b/chart-sdk/asp-net-mvc/stock-charts/gradient.md @@ -1,13 +1,14 @@ --- layout: post -title: Gradient in ASP.NET MVC Stock Chart | Syncfusion +title: Gradient in ASP.NET MVC Stock Chart Component description: Learn here all about Gradient in Syncfusion ASP.NET MVC Stock Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Gradient +publishingplatform: chart-sdk documentation: ug --- -# Gradient in ASP.NET MVC Stock Chart +# Gradient in ASP.NET MVC Stock chart control Gradients add depth and modern styling to charts by smoothly blending multiple colors. The Charts component supports two gradient types: @@ -22,8 +23,6 @@ Gradients can be applied to: The gradient can be defined in the `@{ }` Razor code block or dynamically configured in the `load` event of the chart. -## Linear gradient - A linear gradient blends color along side a straight path from a defined start point to an end point. Configure it by adding `LinearGradient` inside the target element (Series, Trendlines or Indicators) and define one or more color stops that control how colors transition across the gradient. Set the start and end positions of the gradient using `X1`, `Y1`, `X2` and `Y2` properties. The gradient color stop values such as `Offset`, `Color`, `Opacity`, `Lighten` and `Brighten` are set using the `ChartGradientColorStop` property. The linear gradient properties are: diff --git a/chart-sdk/asp-net-mvc/stock-charts/images/nodatatemplate-stockchart.png b/chart-sdk/asp-net-mvc/stock-charts/images/nodatatemplate-stockchart.png index be2ed590b..f38a9de7a 100644 Binary files a/chart-sdk/asp-net-mvc/stock-charts/images/nodatatemplate-stockchart.png and b/chart-sdk/asp-net-mvc/stock-charts/images/nodatatemplate-stockchart.png differ diff --git a/chart-sdk/asp-net-mvc/stock-charts/legend.md b/chart-sdk/asp-net-mvc/stock-charts/legend.md index f756590ea..8b4635152 100644 --- a/chart-sdk/asp-net-mvc/stock-charts/legend.md +++ b/chart-sdk/asp-net-mvc/stock-charts/legend.md @@ -1,14 +1,15 @@ --- layout: post -title: Legend in ASP.NET MVC Stock Chart | Syncfusion +title: Syncfusion ASP.NET MVC Stock Chart Legend Component description: Learn here all about Legend in Syncfusion ASP.NET MVC Stock Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Legend +publishingplatform: chart-sdk documentation: ug --- -# Legend in ASP.NET MVC Stock Chart +# Stock Chart Legend in Syncfusion ASP.NET MVC Legend provides information about the series rendered in the Stock Chart. Legend can be added to a Stock Chart by enabling the [`Visible`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.Charts.StockChartStockChartLegendSettings.html#Syncfusion_EJ2_Charts_StockChartStockChartLegendSettings_Visible) option in the [`LegendSettings`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.Charts.StockChartStockChartLegendSettings.html#Syncfusion_EJ2_Charts_StockChartStockChartLegendSettings). diff --git a/chart-sdk/asp-net-mvc/stock-charts/period-selector.md b/chart-sdk/asp-net-mvc/stock-charts/period-selector.md index f6be1e604..3fa91468d 100644 --- a/chart-sdk/asp-net-mvc/stock-charts/period-selector.md +++ b/chart-sdk/asp-net-mvc/stock-charts/period-selector.md @@ -1,14 +1,15 @@ --- layout: post -title: Period Selector in ASP.NET MVC Stock Chart | Syncfusion +title: Period Selector in ASP.NET MVC Stock Chart Component description: Learn here all about Period Selector in Syncfusion ASP.NET MVC Stock Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Period Selector +publishingplatform: chart-sdk documentation: ug --- -# Period Selector in ASP.NET MVC Stock Chart +# Period selector The period selector allows to select a range with specified periods. By default the period selector is enabled in stock chart. diff --git a/chart-sdk/asp-net-mvc/stock-charts/range-selector.md b/chart-sdk/asp-net-mvc/stock-charts/range-selector.md index f748c8a2d..e71584659 100644 --- a/chart-sdk/asp-net-mvc/stock-charts/range-selector.md +++ b/chart-sdk/asp-net-mvc/stock-charts/range-selector.md @@ -1,18 +1,19 @@ --- layout: post -title: Range Selector in ASP.NET MVC Stock Chart | Syncfusion +title: Range Selector in ASP.NET MVC Stock Chart Component description: Learn here all about Range Selector in Syncfusion ASP.NET MVC Stock Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Range Selector +publishingplatform: chart-sdk documentation: ug --- -# Range Selector in ASP.NET MVC Stock Chart +# Range selector The period selector allows to select a range with specified periods. By default the period selector is enabled in stock chart. -## Selecting Range +# Selecting Range The left and right thumb of RangeNavigator are used to indicate the selected range in the large collection of data. Following are the ways you can select a range. diff --git a/chart-sdk/asp-net-mvc/stock-charts/series-types.md b/chart-sdk/asp-net-mvc/stock-charts/series-types.md index ad5314d8d..66dd7dc65 100644 --- a/chart-sdk/asp-net-mvc/stock-charts/series-types.md +++ b/chart-sdk/asp-net-mvc/stock-charts/series-types.md @@ -1,14 +1,15 @@ --- layout: post -title: Series Types in ASP.NET MVC Stock Chart | Syncfusion +title: Series Types in ASP.NET MVC Stock Chart Component description: Learn here all about Series Types in Syncfusion ASP.NET MVC Stock Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Series Types +publishingplatform: chart-sdk documentation: ug --- -# Series Types in ASP.NET MVC Stock Chart +# Stock Chart Series Types Essential® JS 2 StockChart Stock Chart supports 6 major types of series namely `Line`, `Spline`, `Hilo`, `HiloOpenClose`, `Hollow Candle` and `Candle` . By using the series dropdown button you can navigate between the above listed series types. diff --git a/chart-sdk/asp-net-mvc/stock-charts/stock-events.md b/chart-sdk/asp-net-mvc/stock-charts/stock-events.md index 4daff6fc3..acb528158 100644 --- a/chart-sdk/asp-net-mvc/stock-charts/stock-events.md +++ b/chart-sdk/asp-net-mvc/stock-charts/stock-events.md @@ -1,15 +1,16 @@ --- layout: post -title: Stock Events in ASP.NET MVC Stock Chart | Syncfusion +title: Stock Events in ASP.NET MVC Stock Chart Component description: Learn here all about Stock Events in Syncfusion ASP.NET MVC Stock Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Stock Events +publishingplatform: chart-sdk documentation: ug --- -# Stock Events in ASP.NET MVC Stock Chart +# Stock Events Stock Events visualizes stockevents in stockchart. 'SplineSeries' is used to represent selected data value. You can customize the specific data value using `StockEvents` event. diff --git a/chart-sdk/asp-net-mvc/stock-charts/technical-indicators.md b/chart-sdk/asp-net-mvc/stock-charts/technical-indicators.md index 29e7430e5..3980c6e8f 100644 --- a/chart-sdk/asp-net-mvc/stock-charts/technical-indicators.md +++ b/chart-sdk/asp-net-mvc/stock-charts/technical-indicators.md @@ -1,16 +1,17 @@ --- layout: post -title: Technical Indicators in ASP.NET MVC Stock Chart | Syncfusion +title: Technical Indicators in ASP.NET MVC Stock Chart Component | Syncfusion description: Learn here all about Technical Indicators in Syncfusion ASP.NET MVC Stock Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Technical Indicators +publishingplatform: chart-sdk documentation: ug --- -# Technical Indicators in ASP.NET MVC Stock Chart +# Technical Indicators in ASP.NET MVC Stock Chart component A technical indicator is a mathematical calculation based on historic price, volume or open interest information that aims to forecast financial market direction. diff --git a/chart-sdk/asp-net-mvc/stock-charts/tool-tip.md b/chart-sdk/asp-net-mvc/stock-charts/tool-tip.md index b9559f206..200578a72 100644 --- a/chart-sdk/asp-net-mvc/stock-charts/tool-tip.md +++ b/chart-sdk/asp-net-mvc/stock-charts/tool-tip.md @@ -1,14 +1,15 @@ --- layout: post -title: Tooltip in ASP.NET MVC Stock Chart | Syncfusion -description: Learn here all about Tooltip in Syncfusion ASP.NET MVC Stock Chart component of Syncfusion Essential JS 2 and more. +title: Tool Tip in ASP.NET MVC Stock Chart Component +description: Learn here all about Tool Tip in Syncfusion ASP.NET MVC Stock Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Tooltip +control: Tool Tip +publishingplatform: chart-sdk documentation: ug --- -# Tooltip in ASP.NET MVC Stock Chart +# Tooltip diff --git a/chart-sdk/asp-net-mvc/stock-charts/trend-lines.md b/chart-sdk/asp-net-mvc/stock-charts/trend-lines.md index be32ee99c..1f5e21c0f 100644 --- a/chart-sdk/asp-net-mvc/stock-charts/trend-lines.md +++ b/chart-sdk/asp-net-mvc/stock-charts/trend-lines.md @@ -1,14 +1,15 @@ --- layout: post -title: Trendlines in ASP.NET MVC Stock Chart | Syncfusion -description: Learn here all about Trendlines in Syncfusion ASP.NET MVC Stock Chart component of Syncfusion Essential JS 2 and more. +title: Trend Lines in ASP.NET MVC Stock Chart Component +description: Learn here all about Trend Lines in Syncfusion ASP.NET MVC Stock Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Trend Lines +publishingplatform: chart-sdk documentation: ug --- -# Trendlines in ASP.NET MVC Stock Chart +# Trendlines Trendlines are used to show the direction and speed of price. diff --git a/chart-sdk/asp-net-mvc/stock-charts/working-with-data.md b/chart-sdk/asp-net-mvc/stock-charts/working-with-data.md index 4b5ea2420..04fce7822 100644 --- a/chart-sdk/asp-net-mvc/stock-charts/working-with-data.md +++ b/chart-sdk/asp-net-mvc/stock-charts/working-with-data.md @@ -1,16 +1,17 @@ --- layout: post -title: Working with Data in ASP.NET MVC Stock Chart | Syncfusion +title: Working With Data in ASP.NET MVC Stock Chart Component description: Learn here all about Working With Data in Syncfusion ASP.NET MVC Stock Chart component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Working With Data +publishingplatform: chart-sdk documentation: ug --- -# Working with Data in ASP.NET MVC Stock Chart +# Working with Data Chart can visualise data bound from local or remote data. @@ -45,4 +46,4 @@ When no data is available to render in the stock chart, the `NoDataTemplate` pro ## See Also -* [Series Types](./series-types) +* [Series Types](./series-types/) diff --git a/chart-sdk/asp-net-mvc/treemap/accessibility.md b/chart-sdk/asp-net-mvc/treemap/accessibility.md index b4742353d..64a8257c8 100644 --- a/chart-sdk/asp-net-mvc/treemap/accessibility.md +++ b/chart-sdk/asp-net-mvc/treemap/accessibility.md @@ -1,14 +1,15 @@ --- layout: post -title: Accessibility in ASP.NET MVC TreeMap | Syncfusion +title: Accessibility in Syncfusion ASP.NET MVC TreeMap component description: Learn here all about Accessibility in Syncfusion ASP.NET MVC TreeMap component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Accessibility +publishingplatform: chart-sdk documentation: ug --- -# Accessibility in ASP.NET MVC TreeMap +# Accessibility in ASP.NET MVC TreeMap component The TreeMap component follows commonly used accessibility guidelines and standards, such as [ADA](https://www.ada.gov/), [Section 508](https://www.section508.gov/), [WCAG 2.2](https://www.w3.org/TR/WCAG22/) standards, and [WCAG roles](https://www.w3.org/TR/wai-aria/#roles). diff --git a/chart-sdk/asp-net-mvc/treemap/color-mapping.md b/chart-sdk/asp-net-mvc/treemap/color-mapping.md index 32345e030..ff12b5e01 100644 --- a/chart-sdk/asp-net-mvc/treemap/color-mapping.md +++ b/chart-sdk/asp-net-mvc/treemap/color-mapping.md @@ -1,13 +1,14 @@ --- layout: post -title: Color Mapping in ASP.NET MVC TreeMap | Syncfusion -description: Learn here all about Color Mapping in Syncfusion ASP.NET MVC TreeMap control of Syncfusion Essential JS 2 and more. +title: Color Mapping in ASP.NET MVC Treemap Component +description: Learn here all about Color Mapping in Syncfusion ASP.NET MVC Treemap component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Color Mapping +publishingplatform: chart-sdk documentation: ug --- -# Color Mapping in ASP.NET MVC TreeMap +# Color Mapping Color mapping is used to customize the color for each group or item based on the specified types. The following options are available to customize the group and leaf items in the TreeMap. diff --git a/chart-sdk/asp-net-mvc/treemap/data-binding.md b/chart-sdk/asp-net-mvc/treemap/data-binding.md index c919a203d..b3ceec51c 100644 --- a/chart-sdk/asp-net-mvc/treemap/data-binding.md +++ b/chart-sdk/asp-net-mvc/treemap/data-binding.md @@ -1,13 +1,14 @@ --- layout: post -title: Data Binding in ASP.NET MVC TreeMap | Syncfusion -description: Learn here all about Data Binding in Syncfusion ASP.NET MVC TreeMap component of Syncfusion Essential JS 2 and more. +title: Data Binding in ASP.NET MVC Treemap Component +description: Learn here all about Data Binding in Syncfusion ASP.NET MVC Treemap component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Data Binding +publishingplatform: chart-sdk documentation: ug --- -# Data Binding in ASP.NET MVC TreeMap +# Data Binding The TreeMap control supports data binding using the dataSource property. diff --git a/chart-sdk/asp-net-mvc/treemap/data-label.md b/chart-sdk/asp-net-mvc/treemap/data-label.md index 6725959f5..0b9e63f7f 100644 --- a/chart-sdk/asp-net-mvc/treemap/data-label.md +++ b/chart-sdk/asp-net-mvc/treemap/data-label.md @@ -1,13 +1,14 @@ --- layout: post -title: Data Label in ASP.NET MVC TreeMap | Syncfusion -description: Learn here all about Data Label in Syncfusion ASP.NET MVC TreeMap component of Syncfusion Essential JS 2 and more. +title: Data Label in ASP.NET MVC Treemap Component +description: Learn here all about Data Label in Syncfusion ASP.NET MVC Treemap component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Data Label +publishingplatform: chart-sdk documentation: ug --- -# Data Label in ASP.NET MVC TreeMap +# Data Label Data Labels are used to identify the name of items or groups in the TreeMap component. Data Labels will be shown by specifying the data source properties in the `labelPath` of the `leafItemSettings`. diff --git a/chart-sdk/asp-net-mvc/treemap/drilldown.md b/chart-sdk/asp-net-mvc/treemap/drilldown.md index d616f9cdf..885717669 100644 --- a/chart-sdk/asp-net-mvc/treemap/drilldown.md +++ b/chart-sdk/asp-net-mvc/treemap/drilldown.md @@ -1,13 +1,14 @@ --- layout: post -title: Drilldown in ASP.NET MVC TreeMap | Syncfusion -description: Learn here all about Drilldown in Syncfusion ASP.NET MVC TreeMap component of Syncfusion Essential JS 2 and more. +title: Drilldown in ASP.NET MVC Treemap Component +description: Learn here all about Drilldown in Syncfusion ASP.NET MVC Treemap component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Drilldown +publishingplatform: chart-sdk documentation: ug --- -# Drilldown in ASP.NET MVC TreeMap +# Drill-down The TreeMap supports drill-down to expose the hierarchy, achieved by clicking a node. If an item is clicked in the TreeMap, it will be moved to the next level or sub level hierarchy and returned back to the previous level by clicking the node. diff --git a/chart-sdk/asp-net-mvc/treemap/ej1-api-migration.md b/chart-sdk/asp-net-mvc/treemap/ej1-api-migration.md index 32eae6b36..4a15eab26 100644 --- a/chart-sdk/asp-net-mvc/treemap/ej1-api-migration.md +++ b/chart-sdk/asp-net-mvc/treemap/ej1-api-migration.md @@ -1,14 +1,15 @@ --- layout: post -title: EJ1 API Migration in ASP.NET MVC TreeMap Component | Syncfusion -description: Learn here all about EJ1 API Migration in Syncfusion ASP.NET MVC TreeMap component of Syncfusion Essential JS 2 and more. +title: Ej1 Api Migration in ASP.NET MVC Treemap Component +description: Learn here all about Ej1 Api Migration in Syncfusion ASP.NET MVC Treemap component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Ej1 Api Migration +publishingplatform: chart-sdk documentation: ug --- -# EJ1 API Migration in ASP.NET MVC TreeMap +# Migration from Essential® JS 1 This article describes the API migration process of Accordion component from Essential® JS 1 to Essential® JS 2. diff --git a/chart-sdk/asp-net-mvc/treemap/getting-started.md b/chart-sdk/asp-net-mvc/treemap/getting-started.md index 9b6c9e771..7b3fa5cb0 100644 --- a/chart-sdk/asp-net-mvc/treemap/getting-started.md +++ b/chart-sdk/asp-net-mvc/treemap/getting-started.md @@ -1,14 +1,15 @@ --- layout: post -title: Getting Started with ASP.NET MVC TreeMap | Syncfusion -description: Checkout and learn about getting started with ASP.NET MVC TreeMap control of Syncfusion Essential JS 2 and more details. +title: Getting Started with ASP.NET MVC TreeMap Control | Syncfusion +description: Check out and learn about getting started with ASP.NET MVC TreeMap control of Syncfusion Essential JS 2 and more details. platform: chart-sdk control: Getting Started +publishingplatform: chart-sdk documentation: ug --- -# Getting Started with ASP.NET MVC TreeMap +# Getting Started with the ASP.NET MVC TreeMap Control This section briefly explains how to add the Syncfusion® [ASP.NET MVC TreeMap](https://www.syncfusion.com/aspnet-mvc-ui-controls/treemap) control to your ASP.NET MVC application using Visual Studio. diff --git a/chart-sdk/asp-net-mvc/treemap/how-to.md b/chart-sdk/asp-net-mvc/treemap/how-to.md index 58b9f0247..5bd23d81d 100644 --- a/chart-sdk/asp-net-mvc/treemap/how-to.md +++ b/chart-sdk/asp-net-mvc/treemap/how-to.md @@ -1,13 +1,14 @@ --- layout: post -title: Customize the Drilldown Header in ASP.NET MVC TreeMap | Syncfusion -description: Learn here all about how to customize the header for treemap drilldown in Syncfusion ASP.NET MVC TreeMap component of Syncfusion Essential JS 2 and more. +title: How To in ASP.NET MVC Treemap Component +description: Learn here all about How To in Syncfusion ASP.NET MVC Treemap component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: How To +publishingplatform: chart-sdk documentation: ug --- -# How to Customize the Drilldown Header in ASP.NET MVC TreeMap +# How To @@ -69,7 +70,7 @@ Customize the population for drilled countries or states in the header element w **Screenshot** -![Customized header shown during TreeMap drilldown](./images/header-template.png) +![Screenshot for your reference](./images/header-template.png) ## Add label template with drill down @@ -110,4 +111,4 @@ Add the label template in the `leafItemSettings` options, and then set the `show **Screenshot** -![TreeMap displaying label templates with drilldown](./images/label-template.png) \ No newline at end of file +![Screenshot for your reference](./images/label-template.png) \ No newline at end of file diff --git a/chart-sdk/asp-net-mvc/treemap/internationalization.md b/chart-sdk/asp-net-mvc/treemap/internationalization.md index a875ab078..1c26f33f6 100644 --- a/chart-sdk/asp-net-mvc/treemap/internationalization.md +++ b/chart-sdk/asp-net-mvc/treemap/internationalization.md @@ -1,13 +1,14 @@ --- layout: post -title: Internationalization in ASP.NET MVC TreeMap | Syncfusion -description: Learn here all about Internationalization in Syncfusion ASP.NET MVC TreeMap component of Syncfusion Essential JS 2 and more. +title: Internationalization in ASP.NET MVC Treemap Component +description: Learn here all about Internationalization in Syncfusion ASP.NET MVC Treemap component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Internationalization +publishingplatform: chart-sdk documentation: ug --- -# Internationalization in ASP.NET MVC TreeMap +# Internationalization The TreeMap control supports internationalization for the following elements: diff --git a/chart-sdk/asp-net-mvc/treemap/layout.md b/chart-sdk/asp-net-mvc/treemap/layout.md index 75a4703c3..fda78b3d1 100644 --- a/chart-sdk/asp-net-mvc/treemap/layout.md +++ b/chart-sdk/asp-net-mvc/treemap/layout.md @@ -1,13 +1,14 @@ --- layout: post -title: Layout in ASP.NET MVC TreeMap | Syncfusion -description: Learn here all about Layout in Syncfusion ASP.NET MVC TreeMap component of Syncfusion Essential JS 2 and more. +title: Layout in ASP.NET MVC Treemap Component +description: Learn here all about Layout in Syncfusion ASP.NET MVC Treemap component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Layout +publishingplatform: chart-sdk documentation: ug --- -# Layout in ASP.NET MVC TreeMap +# Layout Determine the visual representation of nodes belonging to all the TreeMap levels using the `layoutType` property. diff --git a/chart-sdk/asp-net-mvc/treemap/leaf-item.md b/chart-sdk/asp-net-mvc/treemap/leaf-item.md index ad6ae89cd..80325bad8 100644 --- a/chart-sdk/asp-net-mvc/treemap/leaf-item.md +++ b/chart-sdk/asp-net-mvc/treemap/leaf-item.md @@ -1,13 +1,14 @@ --- layout: post -title: Leaf Item in ASP.NET MVC TreeMap | Syncfusion -description: Learn here all about Leaf Item in Syncfusion ASP.NET MVC TreeMap component of Syncfusion Essential JS 2 and more. +title: Leaf Item in ASP.NET MVC Treemap Component +description: Learn here all about Leaf Item in Syncfusion ASP.NET MVC Treemap component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Leaf Item +publishingplatform: chart-sdk documentation: ug --- -# Leaf Item in ASP.NET MVC TreeMap +# Leaf Item A leaf item defines a visualized data element and does not contain child nodes but contains parent node if the levels are specified in the TreeMap. diff --git a/chart-sdk/asp-net-mvc/treemap/legend.md b/chart-sdk/asp-net-mvc/treemap/legend.md index c15b4042c..08a17cb21 100644 --- a/chart-sdk/asp-net-mvc/treemap/legend.md +++ b/chart-sdk/asp-net-mvc/treemap/legend.md @@ -1,13 +1,14 @@ --- layout: post -title: Legend in ASP.NET MVC TreeMap | Syncfusion -description: Learn here all about Legend in Syncfusion ASP.NET MVC TreeMap control of Syncfusion Essential JS 2 and more. +title: Legend in ASP.NET MVC Treemap Component +description: Learn here all about Legend in Syncfusion ASP.NET MVC Treemap component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Legend +publishingplatform: chart-sdk documentation: ug --- -# Legend in ASP.NET MVC TreeMap +# Legend Legend is used to provide valuable information for interpreting what the TreeMap displays. The legends can be represented in various colors, shapes or other identifiers based on the data. diff --git a/chart-sdk/asp-net-mvc/treemap/levels.md b/chart-sdk/asp-net-mvc/treemap/levels.md index e5cf6807b..b5977d393 100644 --- a/chart-sdk/asp-net-mvc/treemap/levels.md +++ b/chart-sdk/asp-net-mvc/treemap/levels.md @@ -1,13 +1,14 @@ --- layout: post -title: Levels in ASP.NET MVC TreeMap | Syncfusion -description: Learn here all about Levels in Syncfusion ASP.NET MVC TreeMap component of Syncfusion Essential JS 2 and more. +title: Levels in ASP.NET MVC Treemap Component +description: Learn here all about Levels in Syncfusion ASP.NET MVC Treemap component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Levels +publishingplatform: chart-sdk documentation: ug --- -# Levels in ASP.NET MVC TreeMap +# Levels TreeMap supports **n** number of levels and each level is separated by using the `groupPath` property. diff --git a/chart-sdk/asp-net-mvc/treemap/print-and-export.md b/chart-sdk/asp-net-mvc/treemap/print-and-export.md index 47e58e3fa..0388f5eb6 100644 --- a/chart-sdk/asp-net-mvc/treemap/print-and-export.md +++ b/chart-sdk/asp-net-mvc/treemap/print-and-export.md @@ -1,17 +1,18 @@ --- layout: post -title: Print and Export in ASP.NET MVC TreeMap | Syncfusion -description: Learn here all about Print And Export in Syncfusion ASP.NET MVC TreeMap component of Syncfusion Essential JS 2 and more. +title: Print And Export in ASP.NET MVC Treemap Component +description: Learn here all about Print And Export in Syncfusion ASP.NET MVC Treemap component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Print And Export +publishingplatform: chart-sdk documentation: ug --- -# Print and Export in ASP.NET MVC TreeMap +# Print and Export ## Print -To use the print functionality, we should set the [`allowPrint`](https://ej2.syncfusion.com/documentation/api/treemap#allowprint) property to **true**. The rendered treemap can be printed directly from the browser by calling the method [`print`](https://ej2.syncfusion.com/documentation/api/treemap#print). +To use the print functionality, we should set the [`allowPrint`](https://ej2.syncfusion.com/documentation/api/treemap/#allowprint) property to **true**. The rendered treemap can be printed directly from the browser by calling the method [`print`](https://ej2.syncfusion.com/documentation/api/treemap/#print). {% tabs %} {% highlight razor tabtitle="CSHTML" %} @@ -28,7 +29,7 @@ To use the print functionality, we should set the [`allowPrint`](https://ej2.syn ### Image Export -To use the image export functionality, we should set the [`allowImageExport`](https://ej2.syncfusion.com/documentation/api/treemap#allowimageexport) property to **true**. The rendered treemap can be exported as an image using the [`export`](https://ej2.syncfusion.com/documentation/api/treemap#export) method. The method requires two parameters: image type and file name. The treemap can be exported as an image in the following formats. +To use the image export functionality, we should set the [`allowImageExport`](https://ej2.syncfusion.com/documentation/api/treemap/#allowimageexport) property to **true**. The rendered treemap can be exported as an image using the [`export`](https://ej2.syncfusion.com/documentation/api/treemap/#export) method. The method requires two parameters: image type and file name. The treemap can be exported as an image in the following formats. * JPEG * PNG @@ -45,7 +46,7 @@ To use the image export functionality, we should set the [`allowImageExport`](ht -We can get the image file as base64 string for the JPEG and PNG formats. The treemap can be exported to image as a base64 string using the [`export`](https://ej2.syncfusion.com/documentation/api/treemap#export) method. There are four parameters required: image type, file name, orientation of the exported PDF document which must be set as **null** for image export and finally **allowDownload** which should be set as **false** to return base64 string. +We can get the image file as base64 string for the JPEG and PNG formats. The treemap can be exported to image as a base64 string using the [`export`](https://ej2.syncfusion.com/documentation/api/treemap/#export) method. There are four parameters required: image type, file name, orientation of the exported PDF document which must be set as **null** for image export and finally **allowDownload** which should be set as **false** to return base64 string. {% tabs %} {% highlight razor tabtitle="CSHTML" %} @@ -60,7 +61,7 @@ We can get the image file as base64 string for the JPEG and PNG formats. The tre ### PDF Export -To use the PDF export functionality, we should set the [`allowPdfExport`](https://ej2.syncfusion.com/documentation/api/treemap#allowpdfexport) property to **true**. The rendered treemap can be exported as PDF using the [`export`](https://ej2.syncfusion.com/documentation/api/treemap#export) method. The [`export`](https://ej2.syncfusion.com/documentation/api/treemap#export) method requires three parameters: file type, file name and orientation of the PDF document. The orientation setting is optional and **0** indicates portrait and **1** indicates landscape. +To use the PDF export functionality, we should set the [`allowPdfExport`](https://ej2.syncfusion.com/documentation/api/treemap/#allowpdfexport) property to **true**. The rendered treemap can be exported as PDF using the [`export`](https://ej2.syncfusion.com/documentation/api/treemap/#export) method. The [`export`](https://ej2.syncfusion.com/documentation/api/treemap/#export) method requires three parameters: file type, file name and orientation of the PDF document. The orientation setting is optional and **0** indicates portrait and **1** indicates landscape. {% tabs %} {% highlight razor tabtitle="CSHTML" %} diff --git a/chart-sdk/asp-net-mvc/treemap/selection-and-highlight.md b/chart-sdk/asp-net-mvc/treemap/selection-and-highlight.md index 77ff9859c..f7212a5fb 100644 --- a/chart-sdk/asp-net-mvc/treemap/selection-and-highlight.md +++ b/chart-sdk/asp-net-mvc/treemap/selection-and-highlight.md @@ -1,13 +1,14 @@ --- layout: post -title: Selection and Highlight in ASP.NET MVC TreeMap | Syncfusion -description: Learn here all about Selection and Highlight in Syncfusion ASP.NET MVC Treemap component of Syncfusion Essential JS 2 and more. +title: Selection And Highlight in ASP.NET MVC Treemap Component +description: Learn here all about Selection And Highlight in Syncfusion ASP.NET MVC Treemap component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Selection And Highlight +publishingplatform: chart-sdk documentation: ug --- -# Selection and Highlight in ASP.NET MVC TreeMap +# Selection and Highlight ## Selection diff --git a/chart-sdk/asp-net-mvc/treemap/tooltip.md b/chart-sdk/asp-net-mvc/treemap/tooltip.md index 09cc61cbb..0e35331d2 100644 --- a/chart-sdk/asp-net-mvc/treemap/tooltip.md +++ b/chart-sdk/asp-net-mvc/treemap/tooltip.md @@ -1,13 +1,14 @@ --- layout: post -title: Tooltip in ASP.NET MVC TreeMap | Syncfusion -description: Learn here all about Tooltip in Syncfusion ASP.NET MVC TreeMap component of Syncfusion Essential JS 2 and more. +title: Tooltip in ASP.NET MVC Treemap Component +description: Learn here all about Tooltip in Syncfusion ASP.NET MVC Treemap component of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Tooltip +publishingplatform: chart-sdk documentation: ug --- -# Tooltip in ASP.NET MVC TreeMap +# Tooltip Tooltip is used to display details about the items in the TreeMap. When space constraints prevent us from displaying the information using Data Labels, the tooltip comes in handy. diff --git a/chart-sdk/blazor/3d-charts/accessibility.md b/chart-sdk/blazor/3d-charts/accessibility.md index bb50dba8b..396e98dca 100644 --- a/chart-sdk/blazor/3d-charts/accessibility.md +++ b/chart-sdk/blazor/3d-charts/accessibility.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor 3D Chart Accessibility Examples | Syncfusion® -description: Learn about accessibility in Syncfusion Blazor 3D Chart, including keyboard navigation, screen reader support, and WCAG 2.2 compliance. -platform: Blazor +title: Accessibility in Blazor 3D Chart Component | Syncfusion® +description: Checkout and learn here all about Accessibility using Keyboard navigation in Blazor 3D Chart component and more. +platform: chart-sdk control: 3D Chart documentation: ug --- -# Blazor 3D Chart Accessibility +# Accessibility in Blazor 3D Chart Component The Blazor 3D Chart component followed the accessibility guidelines and standards, including [ADA](https://www.ada.gov/), [Section 508](https://www.section508.gov/), [WCAG 2.2](https://www.w3.org/TR/WCAG22/) standards, and [WCAG roles](https://www.w3.org/TR/wai-aria/#roles) that are commonly used to evaluate accessibility. diff --git a/chart-sdk/blazor/3d-charts/appearance.md b/chart-sdk/blazor/3d-charts/appearance.md index 08b808a21..7da4e2bd8 100644 --- a/chart-sdk/blazor/3d-charts/appearance.md +++ b/chart-sdk/blazor/3d-charts/appearance.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor 3D Chart Appearance Examples | Syncfusion® -description: Learn how to customize the appearance of Syncfusion Blazor 3D Chart, including custom color palettes via the Palettes property. -platform: Blazor +title: Appearance in Blazor 3D Chart Component | Syncfusion® +description: Checkout and learn here all about Appearance Customization in Blazor 3D Chart component and much more. +platform: chart-sdk control: 3D Chart documentation: ug --- -# Blazor 3D Chart Appearance +# Appearance in Blazor 3D Chart Component ## Custom color palette @@ -56,7 +56,7 @@ The default color of series or points can be customized by providing a custom co } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BtBdtxMNTSzMfApw?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Column 3D Chart with Custom Color Palette](images/appearance/blazor-column-chart-custom-color-palette.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BjVfXxCBqRuWmxlT?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Column 3D Chart with Custom Color Palette](images/appearance/blazor-column-chart-custom-color-palette.webp)" %} @@ -98,7 +98,7 @@ The color for the points can be bound from the `DataSource` for the series by ut } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LtVRtHsZJeTeIqES?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Column 3D Chart with PointColorMapping](images/appearance/blazor-column-chart-with-point-color.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rtrfDxMrKwXpXlgX?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Column 3D Chart with PointColorMapping](images/appearance/blazor-column-chart-with-point-color.webp)" %} ## Point level customization @@ -160,7 +160,7 @@ The data label and fill color of each data point can be customized using the `Po } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BNVnZxsNpIeNhVQX?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Column 3D Chart with Point level customization](images/appearance/blazor-column-chart-point-level-customization.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BZBzXdsrUGMqoJpK?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Column 3D Chart with Point level customization](images/appearance/blazor-column-chart-point-level-customization.webp)" %} ## Chart area customization @@ -206,7 +206,7 @@ The background color and border of the 3D chart can be customized using the `Bac } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LNrxjdCtpSopldxA?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Column 3D Chart with Custom Background and Border](images/appearance/blazor-column-chart-custom-background-and-border.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rDhptRCLgGMkWnGY?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Column 3D Chart with Custom Background and Border](images/appearance/blazor-column-chart-custom-background-and-border.webp)" %} **Chart margin** @@ -249,7 +249,7 @@ The 3D chart's margin can be set from its container using the `Chart3DMargin` pr } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LXrxjHijToyYrTID?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Column 3D Chart with Custom Margin](images/appearance/blazor-column-chart-custom-margin.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/htLftnshAmBJsYEA?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Column 3D Chart with Custom Margin](images/appearance/blazor-column-chart-custom-margin.webp)" %} ## Animation @@ -293,7 +293,7 @@ To customize the animation for a particular series, the `Chart3DAnimation` prope } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VtLRjRMNTyRULUVb?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rDrpjRsrAmhveiAm?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Chart rotation @@ -335,7 +335,7 @@ The 3D chart can be rotated by using the `EnableRotation` property. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hXVxtnWtzSRbioyx?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VjVzNHWLKwqqyvoo?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Title @@ -377,7 +377,7 @@ The 3D chart can be given a title by using `Title` property, to show the informa } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rDrRtnWZJycrhOFs?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Column 3D Chart with Title](images/appearance/blazor-column-chart-title.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rNrJZRihUwKPsGvh?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Column 3D Chart with Title](images/appearance/blazor-column-chart-title.webp)" %} ### Title position @@ -419,7 +419,7 @@ By using the `Position`property in `TitleStyle`, the `Title` can be positioned } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rtLRXnWNTevXreFm?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Column 3D Chart with Title](images/appearance/blazor-column-chart-title-position.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LNhTDnsBKczVydKx?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Column 3D Chart with Title](images/appearance/blazor-column-chart-title-position.webp)" %} The custom option is used to position the title anywhere in the 3D chart using `X` and `Y` coordinates. @@ -459,7 +459,7 @@ The custom option is used to position the title anywhere in the 3D chart using ` } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VtBxNdiZfIlJVRkc?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Column 3D Chart with Custom Title](images/appearance/blazor-column-chart-title-custom.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VDBftnWBgwTPesmR?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Column 3D Chart with Custom Title](images/appearance/blazor-column-chart-title-custom.webp)" %} ## Title alignment @@ -501,7 +501,7 @@ The title can be aligned to the near, far, or center of the 3D chart by using th } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LtrdtHMDzelPOdwY?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Column 3D Chart Title with Text Alignment](images/appearance/blazor-column-chart-title-alignment.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LXVzXdiBKwdsnLib?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Column 3D Chart Title with Text Alignment](images/appearance/blazor-column-chart-title-alignment.webp)" %} ### Title customization @@ -544,7 +544,7 @@ The `TitleStyle` property of the 3D chart provides options to customize the titl } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/htBxjnCtfIaGfGOy?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Column 3D Chart Title with Customization](images/appearance/blazor-column-chart-title-with-customization.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hjBzDHirqQwNwVvM?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Column 3D Chart Title with Customization](images/appearance/blazor-column-chart-title-with-customization.webp)" %} N> The chart components do not use any CSS style for customization; chart elements like axis labels, datalabel, background, series palette, legend text, and tooltip text can be customized by using the `Chart3DAxisLabelStyle`, `Chart3DDataLabelFont`, `BackGround`, `Palettes`, `Chart3DLegendTextStyle`, and `Chart3DTooltipTextStyle`, respectively. diff --git a/chart-sdk/blazor/3d-charts/axis-customization.md b/chart-sdk/blazor/3d-charts/axis-customization.md index 9f28e28af..a5e17510f 100644 --- a/chart-sdk/blazor/3d-charts/axis-customization.md +++ b/chart-sdk/blazor/3d-charts/axis-customization.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor 3D Chart Axis Customization Examples | Syncfusion® -description: Learn how to customize axes in Syncfusion Blazor 3D Chart, including Title, Chart3DAxisTitleStyle, and axis label styling options. -platform: Blazor +title: Axis Customization in Blazor 3D Chart Component | Syncfusion® +description: Checkout and learn here all features about Axis Customization in Blazor 3D Chart component and more. +platform: chart-sdk control: 3D Chart documentation: ug --- -# Blazor 3D Chart Axis Customization +# Axis Customization in Blazor 3D Chart Component ## Title @@ -50,7 +50,7 @@ The title for the axis can be added by using the `Title` property. It helps to p } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rNBHjHsNTBwpVxoz?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Column 3D Chart with Axis Title](images/axis-customization/blazor-column-chart-axis-title.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VXhJDdChpXSmCYrG?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Column 3D Chart with Axis Title](images/axis-customization/blazor-column-chart-axis-title.webp)" %} ## Title rotation @@ -92,7 +92,7 @@ The title can be rotated from 0 to 360 degree by using the `TitleRotationAngle` } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VjBnjnWjTVcvWhUS?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Column 3D Chart with Axis Title Rotation](images/axis-customization/blazor-column-chart-axis-title-rotation.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rjLJXdWBfZniAVZI?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Column 3D Chart with Axis Title Rotation](images/axis-customization/blazor-column-chart-axis-title-rotation.webp)" %} ## Tick lines customization @@ -133,7 +133,7 @@ The width, color, and height of the minor and major tick lines can be custo } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VZrHZRMXzhFMFPDj?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Column 3D Chart with Custom Tick Lines](images/axis-customization/blazor-column-chart-custom-tick-lines.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rjLJtxChftnfOPTu?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Column 3D Chart with Custom Tick Lines](images/axis-customization/blazor-column-chart-custom-tick-lines.webp)" %} ## Grid lines customization @@ -174,7 +174,7 @@ The width and color of the minor and major grid lines can be customized by usin } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hNVntnitprbxCpxO?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Column 3D Chart with Custom GridLines](images/axis-customization/blazor-column-chart-custom-gridline.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rZhzjxWLJXbLjntW?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Column 3D Chart with Custom GridLines](images/axis-customization/blazor-column-chart-custom-gridline.webp)" %} ## Multiple Axis @@ -218,7 +218,7 @@ In addition to primary X and Y axis, n number of axis can be added to the chart. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LNrHZHsXfBbYmSwR?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor 3D Column Chart with Multiple Axes](images/axis-customization/blazor-column-chart-multiple-axes.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LNhTDxirztleaKrC?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor 3D Column Chart with Multiple Axes](images/axis-customization/blazor-column-chart-multiple-axes.webp)" %} ## Inversed Axis @@ -259,7 +259,7 @@ When an axis is inversed, highest value of the axis comes closer to origin and v } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LjVnNdijzADjVRaA?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Column 3D Chart with Inversed Axis](images/axis-customization/blazor-column-chart-inversed-axis.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LDrJjxWLpXlYDizR?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Column 3D Chart with Inversed Axis](images/axis-customization/blazor-column-chart-inversed-axis.webp)" %} ## Opposed position @@ -299,5 +299,5 @@ To place an axis opposite from its original position, set the `OpposedPosition` } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BXVxXnCtJAjpMKUs?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Column 3D Chart Axis in Opposed Position](images/axis-customization/blazor-column-chart-axis-at-opposed-position.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VtBzZHWhJZuVFHfl?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Column 3D Chart Axis in Opposed Position](images/axis-customization/blazor-column-chart-axis-at-opposed-position.webp)" %} diff --git a/chart-sdk/blazor/3d-charts/axis-labels.md b/chart-sdk/blazor/3d-charts/axis-labels.md index d888eddec..391661d36 100644 --- a/chart-sdk/blazor/3d-charts/axis-labels.md +++ b/chart-sdk/blazor/3d-charts/axis-labels.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor 3D Chart Axis Labels Examples | Syncfusion® -description: Learn how to configure and customize axis labels in Syncfusion Blazor 3D Chart, including smart label placement via LabelIntersectAction. -platform: Blazor +title: Axis Labels in Blazor 3D Chart Component Syncfusion® +description: Checkout and learn here all features about the Axis Labels in Blazor 3D Chart component and much more. +platform: chart-sdk control: 3D Chart documentation: ug --- -# Blazor 3D Chart Axis Labels +# Axis Labels in Blazor 3D Chart Component Axis labels are the labels that are positioned adjacent to the y-axis and beneath the x-axis. It provides descriptive information about the axis. @@ -55,7 +55,7 @@ When the axis labels overlap with each other, `LabelIntersectAction` property i ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BthnjRitpLpkRryH?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Hiding Smart Axis Label in Blazor Column 3D Chart](images/axis-labels/blazor-column-chart-hide-smart-axis-label.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BtBTDnMVpitELVMq?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Hiding Smart Axis Label in Blazor Column 3D Chart](images/axis-labels/blazor-column-chart-hide-smart-axis-label.webp)" %} **Case 2:** When setting `LabelIntersectAction` as **Rotate45**. @@ -96,7 +96,7 @@ When the axis labels overlap with each other, `LabelIntersectAction` property i } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hXLdDxWjTheoBPQD?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Column 3D Chart with Smart Axis Label in Rotate45](images/axis-labels/blazor-column-chart-axis-label-in-rotate45.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hXLptnWBJMsfXNjH?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Column 3D Chart with Smart Axis Label in Rotate45](images/axis-labels/blazor-column-chart-axis-label-in-rotate45.webp)" %} **Case 3:** When setting `LabelIntersectAction` as **Rotate90**. @@ -137,7 +137,7 @@ When the axis labels overlap with each other, `LabelIntersectAction` property i } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VDLxDRMjTrSYnNcK?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Column 3D Chart with Smart Axis Label in Rotate90](images/axis-labels/blazor-column-chart-axis-label-in-rotate90.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VtBJjnsLJMrjzDrD?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Column 3D Chart with Smart Axis Label in Rotate90](images/axis-labels/blazor-column-chart-axis-label-in-rotate90.webp)" %} ## Edge label placement @@ -179,7 +179,7 @@ use the `EdgeLabelPlacement` property in axis, which moves the label inside t } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hZrxNHCjprRqvFFI?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Displaying Blazor Chart Axis Label in Edge Position](images/axis-labels/blazor-chart-axis-label-in-edge.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rXVpDnsLTsLcphWe?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Displaying Blazor Chart Axis Label in Edge Position](images/axis-labels/blazor-chart-axis-label-in-edge.webp)" %} ## Maximum labels @@ -240,4 +240,4 @@ The labels will be rendered based on the count in the `MaximumLabels` property p } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VtrHNHsjzhxlNbDK?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/htBJNxCrTWKrGBCU?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} diff --git a/chart-sdk/blazor/3d-charts/category-axis.md b/chart-sdk/blazor/3d-charts/category-axis.md index 8a2cb9f7e..73f05b893 100644 --- a/chart-sdk/blazor/3d-charts/category-axis.md +++ b/chart-sdk/blazor/3d-charts/category-axis.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor 3D Chart Category Axis Examples | Syncfusion® -description: Learn how to render a Syncfusion Blazor 3D Chart with a category axis to show text values rather than numerical values on the x-axis. -platform: Blazor +title: Category Axis in Blazor 3D Chart Component | Syncfusion® +description: Checkout and learn here all features about Category Axis in Blazor 3D Chart component and much more. +platform: chart-sdk control: 3D Chart documentation: ug --- -# Blazor 3D Chart Category Axis +# Category Axis in Blazor 3D Chart Component The category axis is the horizontal axis of a 3D chart that shows text values rather than numerical values. Compared to the vertical axis, this axis has fewer labels. The following sample shows to render the 3D chart using category axis. @@ -46,7 +46,7 @@ The category axis is the horizontal axis of a 3D chart that shows text values ra } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VthnDdMXWwJXhjhv?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Column 3D Chart with Default Axis](images/category-axis/blazor-chart-default-axis.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rNhTZdMLTMTKyfTL?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Column 3D Chart with Default Axis](images/category-axis/blazor-chart-default-axis.webp)" %} ## Labels placement @@ -87,7 +87,7 @@ By default, category axis labels are placed between ticks in an axis. It can als } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VthnDdMXWwJXhjhv?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Changing Labels Position in Blazor 3D Chart](images/category-axis/blazor-diagram-label-position.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hjLJjHsLTWRHhqRc?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Changing Labels Position in Blazor 3D Chart](images/category-axis/blazor-diagram-label-position.webp)" %} ## Range @@ -128,7 +128,7 @@ The range of the category axis can be customized using `Minimum`, `Maximum`, and } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hNBRXRWtqkQyelab?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Changing Blazor Column 3D Chart Axis based on Range and Interval](images/category-axis/blazor-chart-axis-range-and-interval.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VDBfNxMLficgvSbx?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Changing Blazor Column 3D Chart Axis based on Range and Interval](images/category-axis/blazor-chart-axis-range-and-interval.webp)" %} ## Indexed category axis @@ -176,4 +176,4 @@ The category axis can also be rendered based on the index values of the data sou } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LthHjHMNUuPhqtnE?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor 3D Chart with Indexed Category Axis](images/category-axis/blazor-chart-index-category-axis.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VXBTjniVJWQPizAl?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor 3D Chart with Indexed Category Axis](images/category-axis/blazor-chart-index-category-axis.webp)" %} diff --git a/chart-sdk/blazor/3d-charts/chart-dimensions.md b/chart-sdk/blazor/3d-charts/chart-dimensions.md index 1e109a56a..17a298325 100644 --- a/chart-sdk/blazor/3d-charts/chart-dimensions.md +++ b/chart-sdk/blazor/3d-charts/chart-dimensions.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor 3D Chart Dimensions and Sizing | Syncfusion® -description: Learn how to set the dimensions of Syncfusion Blazor 3D Chart using container size, inline width and height, or CSS with code samples. -platform: Blazor +title: Chart Dimensions in Blazor 3D Chart Component | Syncfusion® +description: Checkout and learn here all features about Chart Dimensions in Blazor 3D Chart component and much more. +platform: chart-sdk control: 3D Chart documentation: ug --- -# Blazor 3D Chart Dimensions +# Dimensions in Blazor 3D Chart Component ## Size for container @@ -49,7 +49,7 @@ The 3D chart can be rendered to its container size and it can be set via inline } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rXhnjdMjiGXTAlVa?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Changing Blazor 3D Chart Size as Fit to Container](images/chart-dimensions/blazor-chart-size-for-container.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VtrJtdsrpsPezXYL?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Changing Blazor 3D Chart Size as Fit to Container](images/chart-dimensions/blazor-chart-size-for-container.webp)" %} ## Size for chart @@ -93,7 +93,7 @@ The size of the 3D chart can be set in pixel as demonstrated below. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LNrRXxsNiGMTlHNn?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Changing Blazor 3D Chart Size in Pixel](images/chart-dimensions/blazor-chart-size-in-pixel.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rZLTZdCrpWvYfGmi?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Changing Blazor 3D Chart Size in Pixel](images/chart-dimensions/blazor-chart-size-in-pixel.webp)" %} ### In Percentage @@ -133,4 +133,4 @@ By setting the value in percentage, the 3D Chart gets its dimension with respec } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BtrntxiZsGBSYAAO?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Changing Blazor 3D Chart Size in Percentage](images/chart-dimensions/blazor-chart-size-in-percentage.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BDVJDxMrpsargarf?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Changing Blazor 3D Chart Size in Percentage](images/chart-dimensions/blazor-chart-size-in-percentage.webp)" %} diff --git a/chart-sdk/blazor/3d-charts/chart-types/bar.md b/chart-sdk/blazor/3d-charts/chart-types/bar.md index 9ed5469fa..94bec0705 100644 --- a/chart-sdk/blazor/3d-charts/chart-types/bar.md +++ b/chart-sdk/blazor/3d-charts/chart-types/bar.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor 3D Bar Chart Examples and Documentation | Syncfusion® -description: Learn how to render a Bar Chart in Syncfusion Blazor 3D Chart by setting the series Type to Bar with code samples. -platform: Blazor -control: 3D Chart +title: Bar Chart in Blazor 3D Chart Component | Syncfusion® +description: Checkout and learn here all features about the Bar Charts in Blazor 3D Chart component and much more. +platform: chart-sdk +control: 3D Chart documentation: ug --- -# Blazor 3D Bar Chart Control +# Bar Chart in Blazor 3D Chart control ## Bar chart @@ -48,7 +48,7 @@ To render a bar series, set series `Type` as `Bar`. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hDBnZnsDfHZIbiFi?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Bar 3D Chart](../images/chart-types-images/blazor-bar-chart.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hNhJXxsKslDavsMW?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Bar 3D Chart](../images/chart-types-images/blazor-bar-chart.webp)" %} ## Bar space and width @@ -90,7 +90,7 @@ The `ColumnSpacing` and `ColumnWidth` properties are used to customize the space } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LtLRNHCNfnWNAjRE?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Bar 3D Chart with Space and Width](../images/chart-types-images/blazor-bar-chart-space-and-width.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BNhTXHMgilipfRPo?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Bar 3D Chart with Space and Width](../images/chart-types-images/blazor-bar-chart-space-and-width.webp)" %} ## Grouped bar @@ -131,7 +131,7 @@ The data points can be grouped in the bar type charts by using the `GroupName` p } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rjLxZxiNzRsfHAuY?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Grouping in Blazor Grouped Bar 3D Chart](../images/chart-types-images/blazor-column-chart-grouped-bar.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/htLfZRMUMlsmhOBI?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Grouping in Blazor Grouped Bar 3D Chart](../images/chart-types-images/blazor-column-chart-grouped-bar.webp)" %} ## Cylindrical column chart @@ -170,7 +170,7 @@ To render a cylindrical column chart, set the `ColumnFacet` property to `Cylinde } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BXBRNdWtfxsvqqWk?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Cylindrical Bar 3D Chart](../images/chart-types-images/blazor-cylindricaal-bar-chart.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rtBfDdMAilBDiXzS?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Cylindrical Bar 3D Chart](../images/chart-types-images/blazor-cylindricaal-bar-chart.webp)" %} ## Series customization @@ -214,4 +214,4 @@ The following properties can be used to customize the `Bar` series. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rZrxNxiXzxBLftbv?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Bar 3D Chart with Custom Series](../images/chart-types-images/blazor-bar-chart-custom-series.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VZBTZdMKWvrLOzmq?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Bar 3D Chart with Custom Series](../images/chart-types-images/blazor-bar-chart-custom-series.webp)" %} diff --git a/chart-sdk/blazor/3d-charts/chart-types/column.md b/chart-sdk/blazor/3d-charts/chart-types/column.md index 04a9ef394..dbb350f59 100644 --- a/chart-sdk/blazor/3d-charts/chart-types/column.md +++ b/chart-sdk/blazor/3d-charts/chart-types/column.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor 3D Column Chart Examples and Documentation | Syncfusion® -description: Learn how to render a Column Chart in Syncfusion Blazor 3D Chart by setting the series Type to Column with code samples. -platform: Blazor +title: Column Chart in Blazor 3D Chart Component | Syncfusion® +description: Checkout and learn here all features about the Column Chart in Blazor 3D Chart component and much more. +platform: chart-sdk control: 3D Chart documentation: ug --- -# Blazor 3D Column Chart +# Column Chart in Blazor 3D Chart Component ## Column @@ -49,7 +49,7 @@ To render a `Column Chart`, use series `Type` as `Column`. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VXBRDxsXJxVQevdH?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Column 3D Chart](../images/chart-types-images/blazor-column-chart.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LNLpNRCqCFqsFuka?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Column 3D Chart](../images/chart-types-images/blazor-column-chart.webp)" %} ## Column space and width @@ -91,7 +91,7 @@ The `ColumnSpacing` and `ColumnWidth` properties are used to customize the space } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LXLRXHstTHgLXaiY?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Column 3D Chart with Space and Width](../images/chart-types-images/blazor-column-chart-space-and-width.webp) %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BNhTZxMgMPqSWDMz?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Column 3D Chart with Space and Width](../images/chart-types-images/blazor-column-chart-space-and-width.webp) %} ## Grouped column @@ -132,7 +132,7 @@ The data points can be grouped in the column type charts by using the `GroupName } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hZrnZxijJxKHnJQp?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Grouping in Blazor Grouped Column 3D Chart](../images/chart-types-images/blazor-column-chart-grouped-column.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BthTjHsUWvUFSkhR?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Grouping in Blazor Grouped Column 3D Chart](../images/chart-types-images/blazor-column-chart-grouped-column.webp)" %} ## Cylindrical column chart @@ -170,7 +170,7 @@ To render a cylindrical column chart, set the `ColumnFacet` property to `Cylinde } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LDhRDxiZpHfMtHbu?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Cylindrical Column 3D Chart](../images/chart-types-images/blazor-cylindricaal-column-chart.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BtBJNxiAslpiKcOw?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Cylindrical Column 3D Chart](../images/chart-types-images/blazor-cylindricaal-column-chart.webp)" %} ## Series customization @@ -214,4 +214,4 @@ The following properties can be used to customize the `Column` series. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rNBdDdWZJHzIdEUN?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Column 3D Chart with Custom Series](../images/chart-types-images/blazor-column-chart-custom-series.webp) %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VthztRMgWFpfyYWl?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Column 3D Chart with Custom Series](../images/chart-types-images/blazor-column-chart-custom-series.webp) %} diff --git a/chart-sdk/blazor/3d-charts/chart-types/stack-bar.md b/chart-sdk/blazor/3d-charts/chart-types/stack-bar.md index 1dea6bb4d..74846ce61 100644 --- a/chart-sdk/blazor/3d-charts/chart-types/stack-bar.md +++ b/chart-sdk/blazor/3d-charts/chart-types/stack-bar.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor 3D 100% Stacked Bar Chart Examples | Syncfusion® -description: Learn how to render a 100% Stacked Bar Chart in Syncfusion Blazor 3D Chart by setting the series Type to StackingBar100. -platform: Blazor +title: 100% Stacked Bar in Blazor 3D Chart Component | Syncfusion® +description: Checkout and learn here all features about 100% Stacked Bar Chart in Blazor 3D Chart component and more. +platform: chart-sdk control: 3D Chart documentation: ug --- -# Blazor 3D 100% Stacked Bar Chart +# 100% Stacked Bar in Blazor 3D Chart Component ## 100% Stacked bar chart @@ -50,7 +50,7 @@ To render a `100% Stacked Bar Chart` series, use series `Type` as `StackingBar10 } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BjLdZnsDJHoVLmPb?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Stacked Bar100 3D Chart](../images/chart-types-images/blazor-stacked-bar-100-chart.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LjLTtxCUBNtIGBRY?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Stacked Bar100 3D Chart](../images/chart-types-images/blazor-stacked-bar-100-chart.webp)" %} ## 100% Cylindrical Stacked Bar chart @@ -93,7 +93,7 @@ To render a 100% cylindrical Stacked Bar chart, set the `ColumnFacet` property } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rDVRjxMjzRexUggV?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Cylindrical Column100 3D Chart](../images/chart-types-images/blazor-cylindricaal-stacked-bar-100-chart.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VtBTtdiqrXMpthaU?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Cylindrical Column100 3D Chart](../images/chart-types-images/blazor-cylindricaal-stacked-bar-100-chart.webp)" %} ## Series customization @@ -139,4 +139,4 @@ The following properties can be used to customize the `100% Stacked Bar` series. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hNhHNRsXpHnDUFOo?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Stacked Bar100 3D Chart with Custom Series](../images/chart-types-images/blazor-stacked-bar-100-chart-custom-series.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BZrJNnsqhNsRoHio?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Stacked Bar100 3D Chart with Custom Series](../images/chart-types-images/blazor-stacked-bar-100-chart-custom-series.webp)" %} diff --git a/chart-sdk/blazor/3d-charts/chart-types/stack-column.md b/chart-sdk/blazor/3d-charts/chart-types/stack-column.md index 130af955e..525304ced 100644 --- a/chart-sdk/blazor/3d-charts/chart-types/stack-column.md +++ b/chart-sdk/blazor/3d-charts/chart-types/stack-column.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor 3D 100% Stacked Column Chart Examples | Syncfusion® -description: Learn how to render a 100% Stacked Column Chart in Syncfusion Blazor 3D Chart by setting the series Type to StackingColumn100. -platform: Blazor +title: 100% Stacked Column in Blazor 3D Chart Component | Syncfusion® +description: Checkout and learn here all features about 100% Stacked Column Chart in Blazor 3D Chart component and more. +platform: chart-sdk control: 3D Chart documentation: ug --- -# Blazor 3D 100% Stacked Column Chart +# 100% Stacked Column in Blazor 3D Chart Component ## 100% Stacked column chart @@ -48,7 +48,7 @@ To render a `100% Stacked Column Chart` series, use series `Type` as `StackingCo } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rDVnZRWjfRdfOKjW?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Stacked Column100 3D Chart](../images/chart-types-images/blazor-stacked-column-100-chart.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LDLfjRsqLXBJrLXe?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Stacked Column100 3D Chart](../images/chart-types-images/blazor-stacked-column-100-chart.webp)" %} ## 100% Cylindrical stacked column chart @@ -91,7 +91,7 @@ To render a 100% cylindrical stacked column chart, set the `ColumnFacet` propert } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VjVdDRMXJHHlxcxf?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Cylindrical Column100 3D Chart](../images/chart-types-images/blazor-cylindricaal-stacked-column-100-chart.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rXVzjnCAhNBGdkGQ?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Cylindrical Column100 3D Chart](../images/chart-types-images/blazor-cylindricaal-stacked-column-100-chart.webp)" %} ## Series customization @@ -137,4 +137,4 @@ The following properties can be used to customize the `100% Stacked Column` seri } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BZrxXRWXfRwLFGXv?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Stacked Column100 3D Chart with Custom Series](../images/chart-types-images/blazor-stacked-column-100-chart-custom-series.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rDhptHsKBjUZKwWE?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Stacked Column100 3D Chart with Custom Series](../images/chart-types-images/blazor-stacked-column-100-chart-custom-series.webp)" %} diff --git a/chart-sdk/blazor/3d-charts/chart-types/stacked-bar.md b/chart-sdk/blazor/3d-charts/chart-types/stacked-bar.md index 3b7d3eef1..c15489c23 100644 --- a/chart-sdk/blazor/3d-charts/chart-types/stacked-bar.md +++ b/chart-sdk/blazor/3d-charts/chart-types/stacked-bar.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor 3D Stacked Bar Chart Examples and Documentation | Syncfusion® -description: Learn how to render a Stacked Bar Chart in Syncfusion Blazor 3D Chart by setting the series Type to StackingBar with code samples. -platform: Blazor +title: Stacked Bar in Blazor 3D Chart Component | Syncfusion® +description: Checkout and learn here all features about Stacked Bar Chart in Blazor 3D Chart component and much more. +platform: chart-sdk control: 3D Chart documentation: ug --- -# Blazor 3D Stacked Bar Chart +# Stacked Bar in Blazor 3D Chart Component ## Stacked bar chart @@ -50,7 +50,7 @@ To render a stacked bar series, use series `Type` as `StackingBar`. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rDLxDGWpfclepuSO?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Stacked Bar 3D Chart](../images/chart-types-images/blazor-stacked-Bar-chart.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BZrfNHMgVDXktKyD?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Stacked Bar 3D Chart](../images/chart-types-images/blazor-stacked-Bar-chart.webp)" %} ## Stacking group @@ -93,7 +93,7 @@ To group the stacked bar, the `StackingGroup` property can be used. The columns } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LDLxNnCNpHviOTRb?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Grouping in Blazor Stacked Bar 3D Chart](../images/chart-types-images/blazor-stacked-bar-chart-with-grouping.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rNVpZnsgsuHovTcn?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Grouping in Blazor Stacked Bar 3D Chart](../images/chart-types-images/blazor-stacked-bar-chart-with-grouping.webp)" %} ## Cylindrical column chart @@ -136,7 +136,7 @@ To render a cylindrical stacked bar chart, set the `ColumnFacet` property to `Cy } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BNrnZnCZzRFeQlqo?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Cylindrical Bar 3D Chart](../images/chart-types-images/blazor-cylindricaal-stacked-bar-chart.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rNLzjRCgiamCLrWZ?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Cylindrical Bar 3D Chart](../images/chart-types-images/blazor-cylindricaal-stacked-bar-chart.webp)" %} ## Series customization @@ -182,4 +182,4 @@ The following properties can be used to customize the `Stacked Bar` series. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BtVxNRstzdOjTIxZ?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Stacked Bar 3D Chart with Custom Series](../images/chart-types-images/blazor-stacked-bar-chart-custom-series.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LtVpDnMqCYcOWHOq?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Stacked Bar 3D Chart with Custom Series](../images/chart-types-images/blazor-stacked-bar-chart-custom-series.webp)" %} diff --git a/chart-sdk/blazor/3d-charts/chart-types/stacked-column.md b/chart-sdk/blazor/3d-charts/chart-types/stacked-column.md index 487b9a649..00d6cadfa 100644 --- a/chart-sdk/blazor/3d-charts/chart-types/stacked-column.md +++ b/chart-sdk/blazor/3d-charts/chart-types/stacked-column.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor 3D Stacked Column Chart Examples | Syncfusion® -description: Learn how to render a Stacked Column Chart in Syncfusion Blazor 3D Chart by setting the series Type to StackingColumn with code samples. -platform: Blazor +title: Stacked Column in Blazor 3D Chart Component | Syncfusion® +description: Checkout and learn here all features about Stacked Column Chart in Blazor 3D Chart component and more. +platform: chart-sdk control: 3D Chart documentation: ug --- -# Blazor 3D Stacked Column Chart +# Stacked Column in Blazor 3D Chart Component ## Stacked column chart @@ -50,7 +50,7 @@ To render a stacked column series, use series `Type` as `StackingColumn`. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VjVHXxsZfdaGkrxt?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Stacked Column 3D Chart](../images/chart-types-images/blazor-stacked-column-chart.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hXBftRMAVjJALNDA?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Stacked Column 3D Chart](../images/chart-types-images/blazor-stacked-column-chart.webp)" %} ## Stacking group @@ -93,7 +93,7 @@ To group the stacked column, the `StackingGroup` property can be used. The colum } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LXLdjxCZJcZWFFMe?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Grouping in Blazor Stacked Column 3D Chart](../images/chart-types-images/blazor-stacked-colum-chart-with-grouping.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VXhpZnCUhDzupZKQ?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Grouping in Blazor Stacked Column 3D Chart](../images/chart-types-images/blazor-stacked-colum-chart-with-grouping.webp)" %} ## Cylindrical stacked column chart @@ -136,7 +136,7 @@ To render a cylindrical stacked column chart, set the `ColumnFacet` property to } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VZLRNRWjzQDmsFSy?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Cylindrical Column 3D Chart](../images/chart-types-images/blazor-cylindricaal-stacked-column-chart.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LZhTDnCqVjoUjFfB?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Cylindrical Column 3D Chart](../images/chart-types-images/blazor-cylindricaal-stacked-column-chart.webp)" %} ## Series customization @@ -182,4 +182,4 @@ The following properties can be used to customize the `Stacked Column` series. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BtLxZxWtTGDuxrFB?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Stacked Column 3D Chart with Custom Series](../images/chart-types-images/blazor-stacked-column-chart-custom-series.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hjVJXHMqLXoxCjlL?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Stacked Column 3D Chart with Custom Series](../images/chart-types-images/blazor-stacked-column-chart-custom-series.webp)" %} diff --git a/chart-sdk/blazor/3d-charts/data-labels.md b/chart-sdk/blazor/3d-charts/data-labels.md index 61e54fc3d..a5a1e6542 100644 --- a/chart-sdk/blazor/3d-charts/data-labels.md +++ b/chart-sdk/blazor/3d-charts/data-labels.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor 3D Chart Data Labels Examples | Syncfusion® -description: Learn how to add and customize data labels in Syncfusion Blazor 3D Chart series using the Visible property in Chart3DDataLabel. -platform: Blazor +title: Data Labels in Blazor 3D Chart Component | Syncfusion® +description: Checkout and learn here all features about the Data Labels in Blazor 3D Chart component and much more. +platform: chart-sdk control: 3D Chart documentation: ug --- -# Blazor 3D Chart Data Labels +# Data Labels in Blazor 3D Chart Component Data labels are fields that includes information about the sample point connected to an output. It can be added to a chart series by enabling the `Visible` property in the `Chart3DDataLabel`. By default, the labels will arrange smartly without overlapping. @@ -48,7 +48,7 @@ Data labels are fields that includes information about the sample point connecte } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BXLnXnWNzUBPQRLc?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor 3D Chart with Data Label](images/data-label/blazor-chart-data-label.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hjBzZdWrfVZpBXMM?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor 3D Chart with Data Label](images/data-label/blazor-chart-data-label.webp)" %} ## Position @@ -91,7 +91,7 @@ The `Position` property is used to place the label either on `Top`, `Middle`, or } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LNBRXnCZfAAABpvw?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Changing Label Position in Blazor 3D Chart](images/data-label/blazor-chart-label-position.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hNLJtxCBfBjQyAbW?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Changing Label Position in Blazor 3D Chart](images/data-label/blazor-chart-label-position.webp)" %} ## Template @@ -141,7 +141,7 @@ Label content can be formatted by using the template option. Inside the template } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VXhdtHMNTqqcYdzC?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor 3D Chart Label with Template](images/data-label/blazor-chart-datalabel-template.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LDBJNRWBJVChojGx?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor 3D Chart Label with Template](images/data-label/blazor-chart-datalabel-template.webp)" %} ## Text mapping @@ -179,7 +179,7 @@ Text from the data source can be mapped using the `NameField` property. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rDrHDnitzqTVeNKr?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor 3D Chart Label with Text Mapping](images/data-label/blazor-chart-label-with-text-mapping.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VXVJNxsrfBWdyERK?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor 3D Chart Label with Text Mapping](images/data-label/blazor-chart-label-with-text-mapping.webp)" %} ## Format @@ -217,7 +217,7 @@ Data label for the chart can be formatted using the `Format` property. The globa } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BjhHDdWDfqyifuVW?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor 3D Chart Label with Format](images/data-label/blazor-chart-label-with-format.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hXrJNnWhzrCaQgqM?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor 3D Chart Label with Format](images/data-label/blazor-chart-label-with-format.webp)" %} The table below shows the results of applying various commonly used label formats to numeric data. @@ -319,7 +319,7 @@ The `Margin` option can be applied to the data label to create space around the } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rjBxZnMXJAoxRvsw?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor 3D Chart Label with Margin](images/data-label/blazor-chart-label-with-margin.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BXLpNHihJhLAjJdx?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor 3D Chart Label with Margin](images/data-label/blazor-chart-label-with-margin.webp)" %} ## Customization @@ -359,7 +359,7 @@ The `stroke` and `border` of data label can be customized using `Fill` and `Char } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LjBdtdMNpUxBDRQl?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor 3D Chart with Custom Label](images/data-label/blazor-chart-custom-label.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rtrJXnCrfBBywLmC?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor 3D Chart with Custom Label](images/data-label/blazor-chart-custom-label.webp)" %} ## Customizing specific label @@ -416,4 +416,4 @@ A specific label can be customized by using the `TextRender` event. The `TextR } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rtBdZHCZpKxHpcIN?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor 3D Chart with Custom Speci Label](images/data-label/blazor-chart-custom-specific-label.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rXVzNxihTVLOVTJZ?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor 3D Chart with Custom Speci Label](images/data-label/blazor-chart-custom-specific-label.webp)" %} diff --git a/chart-sdk/blazor/3d-charts/date-time-axis.md b/chart-sdk/blazor/3d-charts/date-time-axis.md index 5b8919e44..c3607889d 100644 --- a/chart-sdk/blazor/3d-charts/date-time-axis.md +++ b/chart-sdk/blazor/3d-charts/date-time-axis.md @@ -1,15 +1,15 @@ --- layout: post -title: Blazor 3D Chart DateTime Axis Examples | Syncfusion® -description: Learn how to use a DateTime axis in Syncfusion Blazor 3D Chart to display date time values as axis labels in the specified format. -platform: Blazor +title: DateTime Axis in Blazor 3D Chart Component | Syncfusion® +description: Checkout and learn here all features about DateTime Axis in Blazor 3D Chart component and much more. +platform: chart-sdk control: 3D Chart documentation: ug --- -# Blazor 3D Chart DateTime Axis +# DateTime Axis in Blazor 3D Chart Component ## DateTime axis @@ -48,7 +48,7 @@ documentation: ug } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VZhdNRCZJsIHRQBR?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor 3D Chart with DateTime Axis](images/datetime/blazor-column-chart-datetime-axis.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hjhTZHirphUnPCqM?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor 3D Chart with DateTime Axis](images/datetime/blazor-column-chart-datetime-axis.webp)" %} ## DateTime category axis @@ -85,7 +85,7 @@ The `DateTimeCategory` axis is used to display the date time values with non-lin } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LjhnXnMNJCHoJTep?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Column 3D Chart with DateTime Axis](images/datetime/blazor-column-chart-with-datetime-axis.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hXLpjHiVJrKOIbbu?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Column 3D Chart with DateTime Axis](images/datetime/blazor-column-chart-with-datetime-axis.webp)" %} ### Range @@ -125,7 +125,7 @@ Range of an axis will be calculated automatically based on the provided data. Yo } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LNLnNdWNziwszCaR?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Changing Blazor Column 3D Chart DateTime Axis based on Range](images/datetime/blazor-column-chart-axis-based-on-range.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VDrJXdCLzhJLRmjw?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Changing Blazor Column 3D Chart DateTime Axis based on Range](images/datetime/blazor-column-chart-axis-based-on-range.webp)" %} ### Interval customization @@ -171,7 +171,7 @@ Date time intervals can be customized by using the `Interval` and `IntervalType` } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VNVxXniDJMwEnkrv?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Changing Blazor Column 3D Chart DateTime Axis based on Interval](images/datetime/blazor-column-chart-axis-based-on-interval.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LNBpDdirTBfmVqNO?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Changing Blazor Column 3D Chart DateTime Axis based on Interval](images/datetime/blazor-column-chart-axis-based-on-interval.webp)" %} **Applying padding to the Range** @@ -218,7 +218,7 @@ When the `RangePadding` is set to **None**, the minimum and maximum of the a } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BZhdZxCDfilTsNKt?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Column 3D Chart without RangePadding](images/datetime/blazor-column-chart-axis-based-on-range-none.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LNrptHMhfBIrZRdV?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Column 3D Chart without RangePadding](images/datetime/blazor-column-chart-axis-based-on-range-none.webp)" %} **DateTime - Round** @@ -258,7 +258,7 @@ When the `RangePadding` is set to `Round`, minimum and maximum will be rounded t } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VjLxNHCDJCvvPeXf?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Column 3D Chart with Round RangePadding](images/datetime/blazor-column-chart-axis-based-on-range-round.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rthpZRWBJVSnflQi?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Column 3D Chart with Round RangePadding](images/datetime/blazor-column-chart-axis-based-on-range-round.webp)" %} **DateTime - Additional** @@ -297,7 +297,7 @@ When the `RangePadding` property is set to **Additional**, the interval of an ax } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rtVnNxMXfikKKDhs?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Column 3D Chart with Additional RangePadding](images/datetime/blazor-column-chart-axis-based-on-range-Additional.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BXBTjdsrfrxMZeIc?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Column 3D Chart with Additional RangePadding](images/datetime/blazor-column-chart-axis-based-on-range-Additional.webp)" %} ## Label format @@ -340,7 +340,7 @@ The date can be formatted and parsed to all globalize format using the `LabelFo } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LDhHZdCNTWEGxMfb?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Axis Label Formatting in Blazor Column 3D Chart](images/datetime/blazor-column-chart-axis-label-format.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VZLftHshTUyFcIMA?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Axis Label Formatting in Blazor Column 3D Chart](images/datetime/blazor-column-chart-axis-label-format.webp)" %} The table below shows the results of applying various popular date and time formats to the `LabelFormat` property. diff --git a/chart-sdk/blazor/3d-charts/getting-started-wasm.md b/chart-sdk/blazor/3d-charts/getting-started-wasm.md index 4d58b8cc2..1159e3e18 100644 --- a/chart-sdk/blazor/3d-charts/getting-started-wasm.md +++ b/chart-sdk/blazor/3d-charts/getting-started-wasm.md @@ -1,121 +1,110 @@ --- layout: post -title: Getting Started with Blazor 3D Charts in WASM App | Syncfusion® -description: Learn how to get started with Syncfusion Blazor 3D Charts in a Blazor WebAssembly app, including setup, packages, and first chart. -platform: Blazor -control: 3D Charts +title: Getting Stared with Blazor 3D Chart Component | Syncfusion® +description: Checkout and learn about getting started with Blazor 3D Chart in Blazor WebAssembly (WASM) App using Visual Studio and more. +platform: chart-sdk +control: 3D Chart documentation: ug --- -# Blazor 3D Chart Getting Started in WASM App +# Getting Started with Blazor 3D Chart Component in Blazor WASM App -This section briefly explains how to include the [Blazor 3D Charts](https://www.syncfusion.com/blazor-components/blazor-3d-charts) component in your Blazor WebAssembly App using [Visual Studio](https://visualstudio.microsoft.com/vs/), [Visual Studio Code](https://code.visualstudio.com/), and the [.NET CLI](https://learn.microsoft.com/en-us/dotnet/core/tools/). - -## Create a new Blazor WebAssembly (Standalone) App +This section briefly explains about how to include [Blazor 3D Chart](https://www.syncfusion.com/blazor-components/blazor-3d-charts) component in your Blazor WebAssembly App using [Visual Studio](https://visualstudio.microsoft.com/vs/), [Visual Studio Code](https://code.visualstudio.com/), and the [.NET CLI](https://learn.microsoft.com/en-us/dotnet/core/tools/). {% tabcontents %} {% tabcontent Visual Studio %} -Create a **Blazor WebAssembly App** using Visual Studio via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vs) or the [Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-integration/template-studio). +## Prerequisites -{% endtabcontent %} +* [System requirements for Blazor components](https://blazor.syncfusion.com/documentation/system-requirements) -{% tabcontent Visual Studio Code %} +## Create a new Blazor App in Visual Studio -Run the following command to create a new Blazor WebAssembly App. +Create a **Blazor WebAssembly App** using Visual Studio via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vs) or the [Syncfusion® Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-integration/template-studio). For detailed instructions, refer to the [Blazor WASM App Getting Started](https://blazor.syncfusion.com/documentation/getting-started/blazor-webassembly-app) documentation. -{% tabs %} -{% highlight razor tabtitle="Terminal" %} +{% endtabcontent %} -dotnet new blazorwasm -o BlazorApp -cd BlazorApp +{% tabcontent Visual Studio Code %} -{% endhighlight %} -{% endtabs %} +## Prerequisites -Alternatively, create a **Blazor WebAssembly App** using Visual Studio Code via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vsc) or the [Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-code-integration/create-project), or the [C# Dev Kit](https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csdevkit) extension. +* [System requirements for Blazor components](https://blazor.syncfusion.com/documentation/system-requirements) -{% endtabcontent %} +## Create a new Blazor App in Visual Studio Code -{% tabcontent .NET CLI %} +Create a **Blazor WebAssembly App** using Visual Studio Code via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vsc) or the [Syncfusion® Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-code-integration/create-project). For detailed instructions, refer to the [Blazor WASM App Getting Started](https://blazor.syncfusion.com/documentation/getting-started/blazor-webassembly-app?tabcontent=visual-studio-code) documentation. -Run the following command to create a new Blazor WebAssembly App. +Alternatively, create a WebAssembly application by using the following command in the integrated terminal (Ctrl+`). {% tabs %} -{% highlight razor tabtitle="Command Prompt" %} + +{% highlight c# tabtitle="Blazor WASM App" %} dotnet new blazorwasm -o BlazorApp cd BlazorApp {% endhighlight %} + {% endtabs %} {% endtabcontent %} -{% endtabcontents %} - -## Install the required Blazor package - -Install the [Syncfusion.Blazor.Chart3D](https://www.nuget.org/packages/Syncfusion.Blazor.Chart3D/) NuGet package. All Syncfusion Blazor packages are available on [nuget.org](https://www.nuget.org/packages?q=syncfusion.blazor). See the [NuGet packages](https://blazor.syncfusion.com/documentation/nuget-packages) topic for details. - -{% tabcontents %} - -{% tabcontent Visual Studio %} +{% tabcontent .NET CLI %} -1. Go to *Tools → NuGet Package Manager → Manage NuGet Packages for Solution*. -2. Search the required NuGet package (`Syncfusion.Blazor.Chart3D`) and install it. +## Prerequisites -Alternatively, you can install the same package using the Package Manager Console with the following commands. +Install the latest version of [.NET SDK](https://dotnet.microsoft.com/en-us/download). If the .NET SDK is already installed, determine the installed version by running the following command in a command prompt (Windows), terminal (macOS), or command shell (Linux). {% tabs %} -{% highlight razor tabtitle="Package Manager Console" %} +{% highlight c# tabtitle=".NET CLI" %} -Install-Package Syncfusion.Blazor.Chart3D -Version {{ site.releaseversion }} +dotnet --version {% endhighlight %} {% endtabs %} -{% endtabcontent %} +## Create a Blazor WebAssembly App using .NET CLI -{% tabcontent Visual Studio Code %} - -Open the terminal and run the following commands. +Run the following command to create a new Blazor WebAssembly App in a command prompt (Windows) or terminal (macOS) or command shell (Linux). For detailed instructions, refer to the [Blazor WASM App Getting Started](https://blazor.syncfusion.com/documentation/getting-started/blazor-webassembly-app?tabcontent=.net-cli) documentation. {% tabs %} -{% highlight razor tabtitle="Terminal" %} +{% highlight c# tabtitle=".NET CLI" %} -dotnet add package Syncfusion.Blazor.Chart3D -v {{ site.releaseversion }} +dotnet new blazorwasm -o BlazorApp +cd BlazorApp {% endhighlight %} {% endtabs %} {% endtabcontent %} -{% tabcontent .NET CLI %} +{% endtabcontents %} + +## Install the required Blazor packages -Open the command prompt and run the following commands. +Install [Syncfusion.Blazor.Chart3D](https://www.nuget.org/packages/Syncfusion.Blazor.Chart3D/) NuGet package in the project using the NuGet Package Manager in Visual Studio (*Tools → NuGet Package Manager → Manage NuGet Packages for Solution*), or the integrated terminal in Visual Studio Code (`dotnet add package`), or the .NET CLI. + +Alternatively, run the following command in the Package Manager Console to achieve the same. {% tabs %} -{% highlight razor tabtitle="Command Prompt" %} +{% highlight C# tabtitle="Package Manager" %} -dotnet add package Syncfusion.Blazor.Chart3D -v {{ site.releaseversion }} +Install-Package Syncfusion.Blazor.Chart3D -Version {{ site.releaseversion }} {% endhighlight %} {% endtabs %} -{% endtabcontent %} - -{% endtabcontents %} +N> All Syncfusion Blazor packages are available on [nuget.org](https://www.nuget.org/packages?q=syncfusion.blazor). See the [NuGet packages](https://blazor.syncfusion.com/documentation/nuget-packages) topic for details. ## Add import namespaces After the package is installed, open the **~/_Imports.razor** file and import the `Syncfusion.Blazor` and `Syncfusion.Blazor.Chart3D` namespaces. {% tabs %} -{% highlight razor tabtitle="~/_Imports.razor" %} +{% highlight C# tabtitle="~/_Imports.razor" %} @using Syncfusion.Blazor @using Syncfusion.Blazor.Chart3D @@ -125,10 +114,10 @@ After the package is installed, open the **~/_Imports.razor** file and import th ## Register the Blazor service -Open the **Program.cs** file in Blazor WebAssembly App and register the Blazor service. +Register the Blazor service in the **Program.cs** file of your Blazor WebAssembly App. {% tabs %} -{% highlight c# tabtitle="Program.cs" %} +{% highlight C# tabtitle="Program.cs" %} .... using Syncfusion.Blazor; @@ -139,24 +128,24 @@ builder.Services.AddSyncfusionBlazor(); {% endhighlight %} {% endtabs %} -## Add script resource +## Add script resources The script can be accessed from NuGet through [Static Web Assets](https://blazor.syncfusion.com/documentation/appearance/themes#static-web-assets). Include the script reference in the **~wwwroot/index.html** file. -{% tabs %} -{% highlight html tabtitle="index.html" %} +```html -{% endhighlight %} -{% endtabs %} +``` + +N> Check out the [Adding Script Reference](https://blazor.syncfusion.com/documentation/common/adding-script-references) topic to learn different approaches for adding script references in the Blazor application. -## Add Blazor 3D Charts component +## Add Blazor 3D Chart component -Open a Razor file located in the **~/Pages/*.razor** (for example, **Home.razor**) and add the [Blazor 3D Charts](https://www.syncfusion.com/blazor-components/blazor-3d-charts) component inside the razor file. +Add the Blazor 3D Chart component in the **~/Pages/Index.razor** file. {% tabs %} -{% highlight razor tabtitle="Home.razor" %} +{% highlight razor tabtitle="Index.razor" %} @@ -165,55 +154,15 @@ Open a Razor file located in the **~/Pages/*.razor** (for example, **Home.razor* {% endhighlight %} {% endtabs %} -## Run the application - -{% tabcontents %} - -{% tabcontent Visual Studio %} +* Press Ctrl+F5 (Windows) or +F5 (macOS) to launch the application. This will render the Blazor 3D Chart component in the default web browser. -Press Ctrl+F5 (Windows) or +F5 (macOS) to launch the application. The Blazor 3D Charts component will render in your default web browser. +## Populate Blazor 3D Chart with data -{% endtabcontent %} - -{% tabcontent Visual Studio Code %} - -Open the terminal and run the following command. +To bind data for the 3D chart component, you can assign a IEnumerable object to the `DataSource` property. It can also be provided as an instance of the `DataManager`. {% tabs %} -{% highlight razor tabtitle="Terminal" %} - -dotnet run - -{% endhighlight %} -{% endtabs %} - -{% endtabcontent %} - -{% tabcontent .NET CLI %} +{% highlight razor tabtitle="Index.razor" %} -Open the command prompt and run the following command. - -{% tabs %} -{% highlight razor tabtitle="Command Prompt" %} - -dotnet run - -{% endhighlight %} -{% endtabs %} - -{% endtabcontent %} - -{% endtabcontents %} - -## Populate Blazor 3D Charts with data - -To bind data for the 3D Charts component, you can assign a IEnumerable object to the `DataSource` property. It can also be provided as an instance of the `DataManager`. - -{% tabs %} -{% highlight razor tabtitle="Home.razor" %} - -@code -{ public class SalesInfo { public string Month { get; set; } @@ -230,7 +179,6 @@ public List Sales = new List new SalesInfo { Month = "Jun", SalesValue = 32 }, new SalesInfo { Month = "Jul", SalesValue = 35 } }; -} {% endhighlight %} {% endtabs %} @@ -238,7 +186,7 @@ public List Sales = new List Now, map the data fields `Month` and `Sales` to the series `XName` and `YName` properties, then set the data to the `DataSource` property, and the `chart type` to **Column** because we will be viewing the data in a column chart. {% tabs %} -{% highlight razor tabtitle="Home.razor" %} +{% highlight razor tabtitle="Index.razor" %} @using Syncfusion.Blazor.Chart3D @@ -250,8 +198,7 @@ Now, map the data fields `Month` and `Sales` to the series `XName` and `YName` -@code -{ +@code { public class SalesInfo { public string Month { get; set;} @@ -273,14 +220,14 @@ Now, map the data fields `Month` and `Sales` to the series `XName` and `YName` {% endhighlight %} {% endtabs %} -{% previewsample "https://blazorplayground.syncfusion.com/embed/hZBdjRtvqQtKlaTl?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VjLJZHCKiVjCNqCE?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} -## Add 3D Charts title +## Add 3D Chart title Using the `Title` property, you can add a title to the chart and the axes to provide the user with quick information about the data plotted in the chart. {% tabs %} -{% highlight razor tabtitle="Home.razor" %} +{% highlight razor tabtitle="Index.razor" %} @@ -294,14 +241,14 @@ Using the `Title` property, you can add a title to the chart and the axes to pro {% endhighlight %} {% endtabs %} -{% previewsample "https://blazorplayground.syncfusion.com/embed/LDVdZRNlqwsNPTdn?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VtLfNRsgCVjHdioT?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Enable legend -You can use legend for the 3D Charts by setting the `Visible` property to **true** in `Chart3DLegendSettings`. The legend name can be changed by using the `Name` property in the series. +You can use legend for the 3D Chart by setting the `Visible` property to **true** in `Chart3DLegendSettings`. The legend name can be changed by using the `Name` property in the series. {% tabs %} -{% highlight razor tabtitle="Home.razor" %} +{% highlight razor tabtitle="Index.razor" %} @@ -315,14 +262,14 @@ You can use legend for the 3D Charts by setting the `Visible` property to **true {% endhighlight %} {% endtabs %} -{% previewsample "https://blazorplayground.syncfusion.com/embed/BthnNdZFKQBsJBtI?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VDhpDRiKMriVAFPn?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Add data label -You can add data labels to improve the readability of the 3D Charts. This can be achieved by setting the `Visible` property to **true** in the `Chart3DDataLabel`. Now, the data labels are arranged smartly based on series. +You can add data labels to improve the readability of the 3D Chart. This can be achieved by setting the `Visible` property to **true** in the `Chart3DDataLabel`. Now, the data labels are arranged smartly based on series. {% tabs %} -{% highlight razor tabtitle="Home.razor" %} +{% highlight razor tabtitle="Index.razor" %} @@ -336,14 +283,14 @@ You can add data labels to improve the readability of the 3D Charts. This can be {% endhighlight %} {% endtabs %} -{% previewsample "https://blazorplayground.syncfusion.com/embed/VtLRtdjPgGVPYKIZ?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LtrfDxCqCLizaoKV?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Enable tooltip The tooltip is useful when you cannot display information by using the data labels due to space constraints. You can enable tooltip by setting the `Enable` property in `Chart3DTooltipSettings` to **true**. {% tabs %} -{% highlight razor tabtitle="Home.razor" %} +{% highlight razor tabtitle="Index.razor" %} @@ -358,9 +305,10 @@ The tooltip is useful when you cannot display information by using the data labe {% endhighlight %} {% endtabs %} -{% previewsample "https://blazorplayground.syncfusion.com/embed/htrdDnNPqGqIbvpP?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hXLzXHWUiVMwxISt?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## See also -1. [Getting Started with Blazor WebAssembly App in Visual Studio](https://blazor.syncfusion.com/documentation/getting-started/blazor-webassembly-app) -2. [Getting Started with Blazor Server App in Visual Studio](https://blazor.syncfusion.com/documentation/getting-started/blazor-server-side-visual-studio) +* [Getting Started with Blazor for Client-Side in .NET Core CLI](https://blazor.syncfusion.com/documentation/getting-started/blazor-webassembly-dotnet-cli) +* [Getting Started with Blazor for Server-Side in Visual Studio](https://blazor.syncfusion.com/documentation/getting-started/blazor-server-side-visual-studio) +* [Getting Started with Blazor for Server-Side in .NET Core CLI](https://blazor.syncfusion.com/documentation/getting-started/blazor-server-side-dotnet-cli) diff --git a/chart-sdk/blazor/3d-charts/getting-started-with-web-app.md b/chart-sdk/blazor/3d-charts/getting-started-with-web-app.md index 52d44ed2a..149c99e79 100644 --- a/chart-sdk/blazor/3d-charts/getting-started-with-web-app.md +++ b/chart-sdk/blazor/3d-charts/getting-started-with-web-app.md @@ -1,57 +1,51 @@ --- layout: post -title: Getting Started with Blazor 3D Charts in Web App | Syncfusion® -description: Learn how to get started with Syncfusion Blazor 3D Charts in a Blazor Web App, including server and client setup, packages, and first chart. -platform: Blazor -control: 3D Charts +title: Getting Started with Blazor 3D Chart in Web App | Syncfusion® +description: Checkout and learn about the documentation for getting started with Blazor 3D Chart Component in Blazor Web App. +platform: chart-sdk +component: 3D Chart documentation: ug --- -# Blazor 3D Chart Getting Started in Web App +# Getting Started with Blazor 3D Chart Component in Web App -This section briefly explains how to include the [Blazor 3D Charts](https://www.syncfusion.com/blazor-components/blazor-3d-charts) component in your Blazor Web App using [Visual Studio](https://visualstudio.microsoft.com/vs/), [Visual Studio Code](https://code.visualstudio.com/), and the [.NET CLI](https://learn.microsoft.com/en-us/dotnet/core/tools/). +This section briefly explains about how to include [Blazor 3D Chart](https://www.syncfusion.com/blazor-components/blazor-3d-charts) component in your Blazor Web App using [Visual Studio](https://visualstudio.microsoft.com/vs/), [Visual Studio Code](https://code.visualstudio.com/), and the [.NET CLI](https://learn.microsoft.com/en-us/dotnet/core/tools/). -To get started quickly with Blazor 3D Charts component, check out the following video: +To get started quickly with Blazor 3D Chart component, check on the following video: {% youtube "youtube:https://www.youtube.com/watch?v=iCWdoRnu-6s" %} -## Create a new Blazor Web App - {% tabcontents %} {% tabcontent Visual Studio %} -Create a **Blazor Web App** using Visual Studio via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vs) or the [Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-integration/template-studio). +## Prerequisites -{% endtabcontent %} +* [System requirements for Blazor components](https://blazor.syncfusion.com/documentation/system-requirements) -{% tabcontent Visual Studio Code %} +## Create a new Blazor Web App in Visual Studio -Run the following command to create a new Blazor Web App. +Create a **Blazor Web App** using Visual Studio via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vs) or the [Syncfusion® Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-integration/template-studio). For detailed instructions, refer to the [Blazor Web App Getting Started](https://blazor.syncfusion.com/documentation/getting-started/blazor-web-app) documentation. -{% tabs %} -{% highlight razor tabtitle="Terminal" %} +{% endtabcontent %} -dotnet new blazor -o BlazorWebApp --interactivity Auto -cd BlazorWebApp -cd BlazorWebApp.Client +{% tabcontent Visual Studio Code %} -{% endhighlight %} -{% endtabs %} +## Prerequisites -Alternatively, create a **Blazor Web App** using Visual Studio Code via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vsc), the [Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-code-integration/create-project), or the [C# Dev Kit](https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csdevkit) extension. +* [System requirements for Blazor components](https://blazor.syncfusion.com/documentation/system-requirements) -{% endtabcontent %} +## Create a new Blazor Web App in Visual Studio Code -{% tabcontent .NET CLI %} +Create a **Blazor Web App** using Visual Studio Code via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vsc) or the [Syncfusion® Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-code-integration/create-project). For detailed instructions, refer to the [Blazor Web App Getting Started](https://blazor.syncfusion.com/documentation/getting-started/blazor-web-app?tabcontent=visual-studio-code) documentation. -Run the following command to create a new Blazor Web App. +For example, in a Blazor Web App with the `Auto` interactive render mode, use the following commands in the integrated terminal (Ctrl+`). {% tabs %} -{% highlight razor tabtitle="Command Prompt" %} +{% highlight c# tabtitle="Blazor Web App" %} -dotnet new blazor -o BlazorWebApp --interactivity Auto +dotnet new blazor -o BlazorWebApp -int Auto cd BlazorWebApp cd BlazorWebApp.Client @@ -60,69 +54,68 @@ cd BlazorWebApp.Client {% endtabcontent %} -{% endtabcontents %} - -N> Configure the appropriate [Interactive render mode](https://learn.microsoft.com/en-us/aspnet/core/blazor/components/render-modes?view=aspnetcore-10.0#render-modes) and [Interactivity location](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vs) while creating a Blazor Web App. For detailed information, refer to the [interactive render mode documentation](https://blazor.syncfusion.com/documentation/common/interactive-render-mode). - -## Install the required Blazor package - -Install the [Syncfusion.Blazor.Chart3D](https://www.nuget.org/packages/Syncfusion.Blazor.Chart3D/) NuGet package. All Syncfusion Blazor packages are available on [nuget.org](https://www.nuget.org/packages?q=syncfusion.blazor). See the [NuGet packages](https://blazor.syncfusion.com/documentation/nuget-packages) topic for details. If using the `WebAssembly` or `Auto` render modes in the Blazor Web App, install this package in the `.Client` project. - -{% tabcontents %} - -{% tabcontent Visual Studio %} +{% tabcontent .NET CLI %} -1. Go to *Tools → NuGet Package Manager → Manage NuGet Packages for Solution*. -2. Search the required NuGet package (`Syncfusion.Blazor.Chart3D`) and install it. +## Prerequisites -Alternatively, you can install the same package using the Package Manager Console with the following commands. +Install the latest version of [.NET SDK](https://dotnet.microsoft.com/en-us/download). If you previously installed the SDK, you can determine the installed version by executing the following command in a command prompt (Windows) or terminal (macOS) or command shell (Linux). {% tabs %} -{% highlight razor tabtitle="Package Manager Console" %} +{% highlight c# tabtitle=".NET CLI" %} -Install-Package Syncfusion.Blazor.Chart3D -Version {{ site.releaseversion }} +dotnet --version {% endhighlight %} {% endtabs %} -{% endtabcontent %} +## Create a Blazor Web App using .NET CLI -{% tabcontent Visual Studio Code %} +Run the following command to create a new Blazor Web App in a command prompt (Windows) or terminal (macOS) or command shell (Linux). For detailed instructions, refer to the [Blazor Web App Getting Started](https://blazor.syncfusion.com/documentation/getting-started/blazor-web-app?tabcontent=.net-cli) documentation. -Open the terminal and run the following commands. +For example, in a Blazor Web App with the `Auto` interactive render mode, use the following commands. {% tabs %} -{% highlight razor tabtitle="Terminal" %} +{% highlight c# tabtitle="Blazor Web App" %} -dotnet add package Syncfusion.Blazor.Chart3D -v {{ site.releaseversion }} +dotnet new blazor -o BlazorWebApp -int Auto +cd BlazorWebApp +cd BlazorWebApp.Client {% endhighlight %} {% endtabs %} +This command creates a new Blazor Web App and places it in a new directory called `BlazorWebApp` inside your current location. See the [Create a Blazor App](https://dotnet.microsoft.com/en-us/learn/aspnet/blazor-tutorial/create) and [dotnet new CLI command](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?pivots=cli&view=aspnetcore-10.0) topics for more details. + {% endtabcontent %} -{% tabcontent .NET CLI %} +{% endtabcontents %} -Open the command prompt and run the following commands. +N> Configure the appropriate [Interactive render mode](https://learn.microsoft.com/en-us/aspnet/core/blazor/components/render-modes?view=aspnetcore-10.0#render-modes) and [Interactivity location](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vs) while creating a Blazor Web App. For detailed information, refer to the [interactive render mode documentation](https://blazor.syncfusion.com/documentation/common/interactive-render-mode). + +## Install the required Blazor packages + +Install [Syncfusion.Blazor.Chart3D](https://www.nuget.org/packages/Syncfusion.Blazor.Chart3D/) NuGet package in the project using the NuGet Package Manager in Visual Studio (*Tools → NuGet Package Manager → Manage NuGet Packages for Solution*), or the integrated terminal in Visual Studio Code (`dotnet add package`), or the .NET CLI. + +Alternatively, run the following commands in the Package Manager Console to achieve the same. {% tabs %} -{% highlight razor tabtitle="Command Prompt" %} +{% highlight C# tabtitle="Package Manager" %} -dotnet add package Syncfusion.Blazor.Chart3D -v {{ site.releaseversion }} +Install-Package Syncfusion.Blazor.Chart3D -Version {{ site.releaseversion }} {% endhighlight %} {% endtabs %} -{% endtabcontent %} +If using the `WebAssembly` or `Auto` render modes in the Blazor Web App, install this package in the client project. -{% endtabcontents %} +N> All Syncfusion Blazor packages are available on [nuget.org](https://www.nuget.org/packages?q=syncfusion.blazor). See the [NuGet packages](https://blazor.syncfusion.com/documentation/nuget-packages) topic for details. ## Add import namespaces -After the package is installed, open the **~/_Imports.razor** file in the `.Client` project and import the `Syncfusion.Blazor` and `Syncfusion.Blazor.Chart3D` namespaces. +After the package is installed, open the **~/_Imports.razor** file in the client project and import the `Syncfusion.Blazor` and `Syncfusion.Blazor.Chart3D` namespaces. {% tabs %} -{% highlight razor tabtitle="~/_Imports.razor" %} +{% highlight C# tabtitle="~/_Imports.razor" %} @using Syncfusion.Blazor @using Syncfusion.Blazor.Chart3D @@ -130,9 +123,9 @@ After the package is installed, open the **~/_Imports.razor** file in the `.Clie {% endhighlight %} {% endtabs %} -## Register the Blazor service +## Register Blazor service -Open the **Program.cs** file in Blazor Web App and register the Blazor service. If the **Interactive Render Mode** is set to `WebAssembly` or `Auto`, register the Blazor service in **Program.cs** files of both the server and client projects in your Blazor Web App. +Register the Blazor service in the **Program.cs** file of your Blazor Web App. {% tabs %} {% highlight c# tabtitle="Program.cs" %} @@ -146,90 +139,54 @@ builder.Services.AddSyncfusionBlazor(); {% endhighlight %} {% endtabs %} -## Add script resource +N> If the **Interactive Render Mode** is set to `WebAssembly` or `Auto`, register the Blazor service in **Program.cs** files of both the server and client projects in your Blazor Web App. -The script can be accessed from NuGet through [Static Web Assets](https://blazor.syncfusion.com/documentation/appearance/themes#static-web-assets). Include the [script references](https://blazor.syncfusion.com/documentation/common/adding-script-references) in the **~/Components/App.razor** file. +## Add script resources -{% tabs %} -{% highlight razor tabtitle="App.razor" %} +The script can be accessed from NuGet through [Static Web Assets](https://blazor.syncfusion.com/documentation/appearance/themes#static-web-assets). Include the script reference in the **~/Components/App.razor** file. + +```html -{% endhighlight %} -{% endtabs %} +``` + +N> Check out the [Adding Script Reference](https://blazor.syncfusion.com/documentation/common/adding-script-references) topic to learn different approaches for adding script references in the Blazor application. -## Add Blazor 3D Charts component +## Add Blazor 3D Chart component -Open a Razor file located in the **~/Pages/*.razor** (for example, **Home.razor**) and add the [Blazor 3D Charts](https://www.syncfusion.com/blazor-components/blazor-3d-charts) component inside the `.Client` project razor file. +Add the Blazor 3D Chart component in the **~/Components/Pages/*.razor** file. If the interactivity location is set to `Per page/component` in the Web App, define a render mode at the top of the `~Pages/*.razor` file. (For example, `InteractiveServer`, `InteractiveWebAssembly` or `InteractiveAuto`). -N> If the interactivity location is set to `Per page/component` in the Web App, define a render mode at the top of the razor file. (For example, `InteractiveServer`, `InteractiveWebAssembly`, or `InteractiveAuto`). If the **Interactivity** is set to `Global` with `Auto` or `WebAssembly`, the render mode is automatically configured in the `App.razor` file by default. +N> If the **Interactivity Location** is set to `Global` with `Auto` or `WebAssembly`, the render mode is automatically configured in the `App.razor` file by default. {% tabs %} -{% highlight razor tabtitle="Home.razor" %} +{% highlight razor %} +@* desired render mode define here *@ @rendermode InteractiveAuto -@using Syncfusion.Blazor.Chart3D - - - - {% endhighlight %} {% endtabs %} -## Run the application - -{% tabcontents %} - -{% tabcontent Visual Studio %} - -Press Ctrl+F5 (Windows) or +F5 (macOS) to launch the application. The Blazor 3D Charts component will render in your default web browser. - -{% endtabcontent %} - -{% tabcontent Visual Studio Code %} - -Open the terminal and navigate to the main project folder (for example, `BlazorWebApp`) and run the following command. - {% tabs %} -{% highlight razor tabtitle="Terminal" %} - -cd .. -cd BlazorWebApp -dotnet run - -{% endhighlight %} -{% endtabs %} - -{% endtabcontent %} - -{% tabcontent .NET CLI %} - -Open the command prompt and navigate to the main project folder (for example, `BlazorWebApp`) and run the following command. +{% highlight razor tabtitle="Home.razor" %} -{% tabs %} -{% highlight razor tabtitle="Command Prompt" %} + -cd .. -cd BlazorWebApp -dotnet run + {% endhighlight %} {% endtabs %} -{% endtabcontent %} +* Press Ctrl+F5 (Windows) or +F5 (macOS) to launch the application. This will render the Blazor 3D Chart component in the default web browser. -{% endtabcontents %} - -## Populate Blazor 3D Charts with data +## Populate Blazor 3D Chart with data -To bind data for the 3D Charts component, you can assign a IEnumerable object to the `DataSource` property. It can also be provided as an instance of the `DataManager`. +To bind data for the 3D chart component, you can assign a IEnumerable object to the `DataSource` property. It can also be provided as an instance of the `DataManager`. {% tabs %} {% highlight razor tabtitle="Home.razor" %} -@code -{ public class SalesInfo { public string Month { get; set; } @@ -246,14 +203,13 @@ public List Sales = new List new SalesInfo { Month = "Jun", SalesValue = 32 }, new SalesInfo { Month = "Jul", SalesValue = 35 } }; -} {% endhighlight %} {% endtabs %} Now, map the data fields `Month` and `Sales` to the series `XName` and `YName` properties, then set the data to the `DataSource` property, and the `chart type` to **Column** because we will be viewing the data in a column chart. -## Add 3D Charts title +## Add 3D Chart title Using the `Title` property, you can add a title to the chart and the axes to provide the user with quick information about the data plotted in the chart. @@ -272,11 +228,11 @@ Using the `Title` property, you can add a title to the chart and the axes to pro {% endhighlight %} {% endtabs %} -{% previewsample "https://blazorplayground.syncfusion.com/embed/rNVdZRDPqtvqaKUr?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VtLfNRsgCVjHdioT?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Enable legend -You can use legend for the 3D Charts by setting the `Visible` property to **true** in `Chart3DLegendSettings`. The legend name can be changed by using the `Name` property in the series. +You can use legend for the 3D Chart by setting the `Visible` property to **true** in `Chart3DLegendSettings`. The legend name can be changed by using the `Name` property in the series. {% tabs %} {% highlight razor tabtitle="Home.razor" %} @@ -293,11 +249,11 @@ You can use legend for the 3D Charts by setting the `Visible` property to **true {% endhighlight %} {% endtabs %} -{% previewsample "https://blazorplayground.syncfusion.com/embed/hjLHDHtbAZEPsbwD?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VDhpDRiKMriVAFPn?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Add data label -You can add data labels to improve the readability of the 3D Charts. This can be achieved by setting the `Visible` property to **true** in the `Chart3DDataLabel`. Now, the data labels are arranged smartly based on series. +You can add data labels to improve the readability of the 3D Chart. This can be achieved by setting the `Visible` property to **true** in the `Chart3DDataLabel`. Now, the data labels are arranged smartly based on series. {% tabs %} {% highlight razor tabtitle="Home.razor" %} @@ -314,7 +270,7 @@ You can add data labels to improve the readability of the 3D Charts. This can be {% endhighlight %} {% endtabs %} -{% previewsample "https://blazorplayground.syncfusion.com/embed/rXVRXRNvqMCiUPzs?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LtrfDxCqCLizaoKV?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Enable tooltip @@ -336,10 +292,11 @@ The tooltip is useful when you cannot display information by using the data labe {% endhighlight %} {% endtabs %} -{% previewsample "https://blazorplayground.syncfusion.com/embed/rjrxDHXlgCsuGojA?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hXLzXHWUiVMwxISt?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## See also -1. [Getting Started with Blazor WebAssembly App in Visual Studio](https://blazor.syncfusion.com/documentation/getting-started/blazor-webassembly-app) -2. [Getting Started with Blazor Server App in Visual Studio](https://blazor.syncfusion.com/documentation/getting-started/blazor-server-side-visual-studio) +1. [Getting Started with Blazor for client-side in .NET Core CLI](https://blazor.syncfusion.com/documentation/getting-started/blazor-webassembly-dotnet-cli) +2. [Getting Started with Blazor for client-side in Visual Studio](https://blazor.syncfusion.com/documentation/getting-started/blazor-webassembly-visual-studio) +3. [Getting Started with Blazor for server-side in .NET Core CLI](https://blazor.syncfusion.com/documentation/getting-started/blazor-server-side-dotnet-cli) diff --git a/chart-sdk/blazor/3d-charts/getting-started.md b/chart-sdk/blazor/3d-charts/getting-started.md index 678a215ab..a19c74911 100644 --- a/chart-sdk/blazor/3d-charts/getting-started.md +++ b/chart-sdk/blazor/3d-charts/getting-started.md @@ -1,123 +1,112 @@ --- layout: post -title: Getting Started with Blazor 3D Charts in Server App | Syncfusion® -description: Learn how to get started with Syncfusion Blazor 3D Charts in a Blazor Server app, including setup, packages, and first chart. -platform: Blazor -control: 3D Charts +title: Getting Stared with Blazor 3DChart Component | Syncfusion® +description: Checkout and learn about getting started with Blazor 3D Chart component in Blazor Server App using Visual Studio and more. +platform: chart-sdk +control: 3D Chart documentation: ug --- -# Blazor 3D Chart Getting Started in Server App +# Getting Started with Blazor 3D Chart Component in Blazor Server App -This section briefly explains how to include the [Blazor 3D Charts](https://www.syncfusion.com/blazor-components/blazor-3d-charts) component in a Blazor Server App using [Visual Studio](https://visualstudio.microsoft.com/vs/), [Visual Studio Code](https://code.visualstudio.com/), and the [.NET CLI](https://learn.microsoft.com/en-us/dotnet/core/tools/). - -## Create a new Blazor Server App +This section briefly explains about how to include [Blazor 3D Chart](https://www.syncfusion.com/blazor-components/blazor-3d-charts) component in a Blazor Server App using [Visual Studio](https://visualstudio.microsoft.com/vs/), [Visual Studio Code](https://code.visualstudio.com/), and the [.NET CLI](https://learn.microsoft.com/en-us/dotnet/core/tools/). {% tabcontents %} {% tabcontent Visual Studio %} -Create a **Blazor Server App** by using the **Blazor Web App** template in Visual Studio via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vs) or the [Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-integration/template-studio). +## Prerequisites -{% endtabcontent %} +* [System requirements for Blazor components](https://blazor.syncfusion.com/documentation/system-requirements) -{% tabcontent Visual Studio Code %} +## Create a new Blazor App in Visual Studio -Run the following command to create a new Blazor Server App. +Create a **Blazor Server App** by using the **Blazor Web App** template in Visual Studio via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vs) or the [Syncfusion® Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-integration/template-studio). For detailed instructions, refer to the [Blazor Server App Getting Started](https://blazor.syncfusion.com/documentation/getting-started/blazor-server-side-visual-studio) documentation. -{% tabs %} -{% highlight razor tabtitle="Terminal" %} +{% endtabcontent %} -dotnet new blazor -o BlazorApp --interactivity Server -cd BlazorApp +{% tabcontent Visual Studio Code %} -{% endhighlight %} -{% endtabs %} +## Prerequisites -Alternatively, create a **Blazor Server App** using Visual Studio Code via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vsc) or the [Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-code-integration/create-project), or the [C# Dev Kit](https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csdevkit) extension. +* [System requirements for Blazor components](https://blazor.syncfusion.com/documentation/system-requirements) -{% endtabcontent %} +## Create a new Blazor App in Visual Studio Code -{% tabcontent .NET CLI %} +Create a **Blazor Server App** using Visual Studio Code via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vsc) or the [Syncfusion® Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-code-integration/create-project). For detailed instructions, refer to the [Blazor Server App Getting Started](https://blazor.syncfusion.com/documentation/getting-started/blazor-server-side-visual-studio?tabcontent=visual-studio-code) documentation. -Run the following command to create a new Blazor Server App. +Alternatively, create a Server application by using the following command in the integrated terminal (Ctrl+`). {% tabs %} -{% highlight razor tabtitle="Command Prompt" %} -dotnet new blazor -o BlazorApp --interactivity Server +{% highlight c# tabtitle="Blazor Server App" %} + +dotnet new blazor -o BlazorApp -int Server cd BlazorApp {% endhighlight %} + {% endtabs %} {% endtabcontent %} -{% endtabcontents %} - -N> Configure the appropriate [Interactive render mode](https://learn.microsoft.com/en-us/aspnet/core/blazor/components/render-modes?view=aspnetcore-10.0#render-modes) and [Interactivity location](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vs) while creating a Blazor Server App. For detailed information, refer to the [interactive render mode documentation](https://blazor.syncfusion.com/documentation/common/interactive-render-mode). - -## Install the required Blazor package - -Install the [Syncfusion.Blazor.Chart3D](https://www.nuget.org/packages/Syncfusion.Blazor.Chart3D/) NuGet package. All Syncfusion Blazor packages are available on [nuget.org](https://www.nuget.org/packages?q=syncfusion.blazor). See the [NuGet packages](https://blazor.syncfusion.com/documentation/nuget-packages) topic for details. - -{% tabcontents %} - -{% tabcontent Visual Studio %} +{% tabcontent .NET CLI %} -1. Go to *Tools → NuGet Package Manager → Manage NuGet Packages for Solution*. -2. Search the required NuGet package (`Syncfusion.Blazor.Chart3D`) and install it. +## Prerequisites -Alternatively, you can install the same package using the Package Manager Console with the following commands. +Install the latest version of [.NET SDK](https://dotnet.microsoft.com/en-us/download). If the .NET SDK is already installed, determine the installed version by running the following command in a command prompt (Windows), terminal (macOS), or command shell (Linux). {% tabs %} -{% highlight razor tabtitle="Package Manager Console" %} +{% highlight c# tabtitle=".NET CLI" %} -Install-Package Syncfusion.Blazor.Chart3D -Version {{ site.releaseversion }} +dotnet --version {% endhighlight %} {% endtabs %} -{% endtabcontent %} - -{% tabcontent Visual Studio Code %} +## Create a Blazor Server App using .NET CLI -Open the terminal and run the following commands. +Run the following command to create a new Blazor Server App in a command prompt (Windows) or terminal (macOS) or command shell (Linux). For detailed instructions, refer to the [Blazor Server App Getting Started](https://blazor.syncfusion.com/documentation/getting-started/blazor-server-side-visual-studio?tabcontent=.net-cli) documentation. {% tabs %} -{% highlight razor tabtitle="Terminal" %} +{% highlight c# tabtitle=".NET CLI" %} -dotnet add package Syncfusion.Blazor.Chart3D -v {{ site.releaseversion }} +dotnet new blazor -o BlazorApp -int Server +cd BlazorApp {% endhighlight %} {% endtabs %} {% endtabcontent %} -{% tabcontent .NET CLI %} +{% endtabcontents %} -Open the command prompt and run the following commands. +N> Configure the appropriate [Interactive render mode](https://learn.microsoft.com/en-us/aspnet/core/blazor/components/render-modes?view=aspnetcore-10.0#render-modes) and [Interactivity location](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vs) while creating a Blazor Server App. For detailed information, refer to the [interactive render mode documentation](https://blazor.syncfusion.com/documentation/common/interactive-render-mode). + +## Install the required Blazor packages + +Install [Syncfusion.Blazor.Chart3D](https://www.nuget.org/packages/Syncfusion.Blazor.Chart3D/) NuGet package in your project using the NuGet Package Manager in Visual Studio (*Tools → NuGet Package Manager → Manage NuGet Packages for Solution*), or the integrated terminal in Visual Studio Code (`dotnet add package`), or the .NET CLI. + +Alternatively, run the following command in the Package Manager Console to achieve the same. {% tabs %} -{% highlight razor tabtitle="Command Prompt" %} +{% highlight C# tabtitle="Package Manager" %} -dotnet add package Syncfusion.Blazor.Chart3D -v {{ site.releaseversion }} +Install-Package Syncfusion.Blazor.Chart3D -Version {{ site.releaseversion }} {% endhighlight %} {% endtabs %} -{% endtabcontent %} - -{% endtabcontents %} +N> All Syncfusion Blazor packages are available on [nuget.org](https://www.nuget.org/packages?q=syncfusion.blazor). See the [NuGet packages](https://blazor.syncfusion.com/documentation/nuget-packages) topic for details. ## Add import namespaces -After the package is installed, open the **~/Components/_Imports.razor** file and import the `Syncfusion.Blazor` and `Syncfusion.Blazor.Chart3D` namespaces. +After the package is installed, open the **~/_Imports.razor** file and import the `Syncfusion.Blazor` and `Syncfusion.Blazor.Chart3D` namespaces. {% tabs %} -{% highlight razor tabtitle="~/_Imports.razor" %} +{% highlight C# tabtitle="~/_Imports.razor" %} @using Syncfusion.Blazor @using Syncfusion.Blazor.Chart3D @@ -125,12 +114,12 @@ After the package is installed, open the **~/Components/_Imports.razor** file an {% endhighlight %} {% endtabs %} -## Register the Blazor service +## Register Blazor service -Open the **Program.cs** file in Blazor Server App and register the Blazor service. +Register the Blazor service in the **Program.cs** file of your Blazor Server App. {% tabs %} -{% highlight c# tabtitle="Program.cs" %} +{% highlight C# tabtitle="Program.cs" %} .... using Syncfusion.Blazor; @@ -141,85 +130,52 @@ builder.Services.AddSyncfusionBlazor(); {% endhighlight %} {% endtabs %} -## Add script resource +## Add script resources -The script can be accessed from NuGet through [Static Web Assets](https://blazor.syncfusion.com/documentation/appearance/themes#static-web-assets). Include the [script references](https://blazor.syncfusion.com/documentation/common/adding-script-references) in the **~/Components/App.razor** file. +The script can be accessed from NuGet through [Static Web Assets](https://blazor.syncfusion.com/documentation/appearance/themes#static-web-assets). Include the script reference in the **~/Components/App.razor** file. -{% tabs %} -{% highlight razor tabtitle="App.razor" %} +```html -{% endhighlight %} -{% endtabs %} +``` + +N> Check out the [Adding Script Reference](https://blazor.syncfusion.com/documentation/common/adding-script-references) topic to learn different approaches for adding script references in the Blazor application. -## Add Blazor 3D Charts component +## Add Blazor 3D Chart component -Open a Razor file located in the **~/Components/Pages/*.razor** (for example, **Home.razor**) and add the [Blazor 3D Charts](https://www.syncfusion.com/blazor-components/blazor-3d-charts) component inside the razor file. +Add the Blazor 3D Chart component in the **~/Components/Pages/Home.razor** file. If the interactivity location is set to `Per page/component`, define a render mode at the top of the `~Pages/Home.razor` file. -N> If the interactivity location is set to `Per page/component`, define a render mode at the top of the razor file. (For example `InteractiveServer`). If the Interactivity is set to `Global`, the render mode is automatically configured in the `App.razor` file by default. +N> If the Interactivity Location is set to `Global`, the render mode is automatically configured in the `App.razor` file by default. {% tabs %} -{% highlight razor tabtitle="Home.razor" %} +{% highlight razor %} +@* desired render mode define here *@ @rendermode InteractiveServer - - - - {% endhighlight %} {% endtabs %} -## Run the application - -{% tabcontents %} - -{% tabcontent Visual Studio %} - -Press Ctrl+F5 (Windows) or +F5 (macOS) to launch the application. The Blazor 3D Charts component will render in your default web browser. - -{% endtabcontent %} - -{% tabcontent Visual Studio Code %} - -Open the terminal and run the following command. - {% tabs %} -{% highlight razor tabtitle="Terminal" %} - -dotnet run - -{% endhighlight %} -{% endtabs %} - -{% endtabcontent %} - -{% tabcontent .NET CLI %} - -Open the command prompt and run the following command. +{% highlight razor tabtitle="Home.razor" %} -{% tabs %} -{% highlight razor tabtitle="Command Prompt" %} + -dotnet run + {% endhighlight %} {% endtabs %} -{% endtabcontent %} +* Press Ctrl+F5 (Windows) or +F5 (macOS) to launch the application. This will render the Blazor 3D Chart component in the default web browser. -{% endtabcontents %} +## Populate Blazor 3D Chart with data -## Populate Blazor 3D Charts with data - -To bind data for the 3D Charts component, you can assign a IEnumerable object to the `DataSource` property. It can also be provided as an instance of the `DataManager`. +To bind data for the 3D chart component, you can assign a IEnumerable object to the `DataSource` property. It can also be provided as an instance of the `DataManager`. {% tabs %} {% highlight razor tabtitle="Home.razor" %} -@code -{ public class SalesInfo { public string Month { get; set; } @@ -236,7 +192,6 @@ public List Sales = new List new SalesInfo { Month = "Jun", SalesValue = 32 }, new SalesInfo { Month = "Jul", SalesValue = 35 } }; -} {% endhighlight %} {% endtabs %} @@ -256,8 +211,7 @@ Now, map the data fields `Month` and `Sales` to the series `XName` and `YName` -@code -{ +@code { public class SalesInfo { public string Month { get; set;} @@ -279,9 +233,9 @@ Now, map the data fields `Month` and `Sales` to the series `XName` and `YName` {% endhighlight %} {% endtabs %} -{% previewsample "https://blazorplayground.syncfusion.com/embed/hNBnXHjFqigAUBMv?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VjLJZHCKiVjCNqCE?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} -## Add 3D Charts title +## Add 3D Chart title Using the `Title` property, you can add a title to the chart and the axes to provide the user with quick information about the data plotted in the chart. @@ -291,7 +245,7 @@ Using the `Title` property, you can add a title to the chart and the axes to pro - + @@ -301,11 +255,11 @@ Using the `Title` property, you can add a title to the chart and the axes to pro {% endhighlight %} {% endtabs %} -{% previewsample "https://blazorplayground.syncfusion.com/embed/LNVdZRZbgWJkPGWh?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VtLfNRsgCVjHdioT?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Enable legend -You can use legend for the 3D Charts by setting the `Visible` property to **true** in `Chart3DLegendSettings`. The legend name can be changed by using the `Name` property in the series. +You can use legend for the 3D Chart by setting the `Visible` property to **true** in `Chart3DLegendSettings`. The legend name can be changed by using the `Name` property in the series. {% tabs %} {% highlight razor tabtitle="Home.razor" %} @@ -322,11 +276,11 @@ You can use legend for the 3D Charts by setting the `Visible` property to **true {% endhighlight %} {% endtabs %} -{% previewsample "https://blazorplayground.syncfusion.com/embed/rtLxDdNbqVmczTuh?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VDhpDRiKMriVAFPn?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Add data label -You can add data labels to improve the readability of the 3D Charts. This can be achieved by setting the `Visible` property to **true** in the `Chart3DDataLabel`. Now, the data labels are arranged smartly based on series. +You can add data labels to improve the readability of the 3D Chart. This can be achieved by setting the `Visible` property to **true** in the `Chart3DDataLabel`. Now, the data labels are arranged smartly based on series. {% tabs %} {% highlight razor tabtitle="Home.razor" %} @@ -343,7 +297,7 @@ You can add data labels to improve the readability of the 3D Charts. This can be {% endhighlight %} {% endtabs %} -{% previewsample "https://blazorplayground.syncfusion.com/embed/VjVxXxNPKVlFPKwB?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LtrfDxCqCLizaoKV?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Enable tooltip @@ -365,10 +319,10 @@ The tooltip is useful when you cannot display information by using the data labe {% endhighlight %} {% endtabs %} -{% previewsample "https://blazorplayground.syncfusion.com/embed/hXLnDxZbgduLcrQe?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hXLzXHWUiVMwxISt?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## See also -1. [Getting Started with Blazor for Client-Side in .NET Core CLI](https://blazor.syncfusion.com/documentation/getting-started/blazor-webassembly-app) -2. [Getting Started with Blazor for Server-Side in Visual Studio](https://blazor.syncfusion.com/documentation/getting-started/blazor-server-side-visual-studio) -3. [Getting Started with Blazor for Server-Side in .NET Core CLI](https://blazor.syncfusion.com/documentation/getting-started/blazor-web-app) +* [Getting Started with Blazor for Client-Side in .NET Core CLI](https://blazor.syncfusion.com/documentation/getting-started/blazor-webassembly-app) +* [Getting Started with Blazor for Server-Side in Visual Studio](https://blazor.syncfusion.com/documentation/getting-started/blazor-server-side-visual-studio) +* [Getting Started with Blazor for Server-Side in .NET Core CLI](https://blazor.syncfusion.com/documentation/getting-started/blazor-web-app) diff --git a/chart-sdk/blazor/3d-charts/images/appearance/blazor-column-chart-custom-background-and-border.webp b/chart-sdk/blazor/3d-charts/images/appearance/blazor-column-chart-custom-background-and-border.webp index 331add475..8033b0297 100644 Binary files a/chart-sdk/blazor/3d-charts/images/appearance/blazor-column-chart-custom-background-and-border.webp and b/chart-sdk/blazor/3d-charts/images/appearance/blazor-column-chart-custom-background-and-border.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/appearance/blazor-column-chart-custom-color-palette.webp b/chart-sdk/blazor/3d-charts/images/appearance/blazor-column-chart-custom-color-palette.webp index 282c93fd3..76c26f59f 100644 Binary files a/chart-sdk/blazor/3d-charts/images/appearance/blazor-column-chart-custom-color-palette.webp and b/chart-sdk/blazor/3d-charts/images/appearance/blazor-column-chart-custom-color-palette.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/appearance/blazor-column-chart-custom-margin.webp b/chart-sdk/blazor/3d-charts/images/appearance/blazor-column-chart-custom-margin.webp index 56530ea6e..2de91ef2f 100644 Binary files a/chart-sdk/blazor/3d-charts/images/appearance/blazor-column-chart-custom-margin.webp and b/chart-sdk/blazor/3d-charts/images/appearance/blazor-column-chart-custom-margin.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/appearance/blazor-column-chart-point-level-customization.webp b/chart-sdk/blazor/3d-charts/images/appearance/blazor-column-chart-point-level-customization.webp index 4088a33ff..00d08c078 100644 Binary files a/chart-sdk/blazor/3d-charts/images/appearance/blazor-column-chart-point-level-customization.webp and b/chart-sdk/blazor/3d-charts/images/appearance/blazor-column-chart-point-level-customization.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/appearance/blazor-column-chart-title-alignment.webp b/chart-sdk/blazor/3d-charts/images/appearance/blazor-column-chart-title-alignment.webp index b076ac691..90dc5a98e 100644 Binary files a/chart-sdk/blazor/3d-charts/images/appearance/blazor-column-chart-title-alignment.webp and b/chart-sdk/blazor/3d-charts/images/appearance/blazor-column-chart-title-alignment.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/appearance/blazor-column-chart-title-custom.webp b/chart-sdk/blazor/3d-charts/images/appearance/blazor-column-chart-title-custom.webp index fd343e985..d79ad9b98 100644 Binary files a/chart-sdk/blazor/3d-charts/images/appearance/blazor-column-chart-title-custom.webp and b/chart-sdk/blazor/3d-charts/images/appearance/blazor-column-chart-title-custom.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/appearance/blazor-column-chart-title-position.webp b/chart-sdk/blazor/3d-charts/images/appearance/blazor-column-chart-title-position.webp index f301eaf1f..4aa60f567 100644 Binary files a/chart-sdk/blazor/3d-charts/images/appearance/blazor-column-chart-title-position.webp and b/chart-sdk/blazor/3d-charts/images/appearance/blazor-column-chart-title-position.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/appearance/blazor-column-chart-title-with-customization.webp b/chart-sdk/blazor/3d-charts/images/appearance/blazor-column-chart-title-with-customization.webp index 1b541dc93..8ee244f58 100644 Binary files a/chart-sdk/blazor/3d-charts/images/appearance/blazor-column-chart-title-with-customization.webp and b/chart-sdk/blazor/3d-charts/images/appearance/blazor-column-chart-title-with-customization.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/appearance/blazor-column-chart-title.webp b/chart-sdk/blazor/3d-charts/images/appearance/blazor-column-chart-title.webp index 96cb57c4f..5dec9cd75 100644 Binary files a/chart-sdk/blazor/3d-charts/images/appearance/blazor-column-chart-title.webp and b/chart-sdk/blazor/3d-charts/images/appearance/blazor-column-chart-title.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/appearance/blazor-column-chart-with-point-color.webp b/chart-sdk/blazor/3d-charts/images/appearance/blazor-column-chart-with-point-color.webp index cedfe0bb6..364e96cfd 100644 Binary files a/chart-sdk/blazor/3d-charts/images/appearance/blazor-column-chart-with-point-color.webp and b/chart-sdk/blazor/3d-charts/images/appearance/blazor-column-chart-with-point-color.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/axis-customization/blazor-column-chart-axis-at-opposed-position.webp b/chart-sdk/blazor/3d-charts/images/axis-customization/blazor-column-chart-axis-at-opposed-position.webp index 751e52d62..d0ea2636a 100644 Binary files a/chart-sdk/blazor/3d-charts/images/axis-customization/blazor-column-chart-axis-at-opposed-position.webp and b/chart-sdk/blazor/3d-charts/images/axis-customization/blazor-column-chart-axis-at-opposed-position.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/axis-customization/blazor-column-chart-axis-title-rotation.webp b/chart-sdk/blazor/3d-charts/images/axis-customization/blazor-column-chart-axis-title-rotation.webp index 2bde71638..392ff3195 100644 Binary files a/chart-sdk/blazor/3d-charts/images/axis-customization/blazor-column-chart-axis-title-rotation.webp and b/chart-sdk/blazor/3d-charts/images/axis-customization/blazor-column-chart-axis-title-rotation.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/axis-customization/blazor-column-chart-axis-title.webp b/chart-sdk/blazor/3d-charts/images/axis-customization/blazor-column-chart-axis-title.webp index 20c083f90..d75a2630c 100644 Binary files a/chart-sdk/blazor/3d-charts/images/axis-customization/blazor-column-chart-axis-title.webp and b/chart-sdk/blazor/3d-charts/images/axis-customization/blazor-column-chart-axis-title.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/axis-customization/blazor-column-chart-custom-gridline.webp b/chart-sdk/blazor/3d-charts/images/axis-customization/blazor-column-chart-custom-gridline.webp index d13908893..2e59db66d 100644 Binary files a/chart-sdk/blazor/3d-charts/images/axis-customization/blazor-column-chart-custom-gridline.webp and b/chart-sdk/blazor/3d-charts/images/axis-customization/blazor-column-chart-custom-gridline.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/axis-customization/blazor-column-chart-custom-tick-lines.webp b/chart-sdk/blazor/3d-charts/images/axis-customization/blazor-column-chart-custom-tick-lines.webp index 0684f196d..50b05e43f 100644 Binary files a/chart-sdk/blazor/3d-charts/images/axis-customization/blazor-column-chart-custom-tick-lines.webp and b/chart-sdk/blazor/3d-charts/images/axis-customization/blazor-column-chart-custom-tick-lines.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/axis-customization/blazor-column-chart-inversed-axis.webp b/chart-sdk/blazor/3d-charts/images/axis-customization/blazor-column-chart-inversed-axis.webp index ac9c55ee6..532f1e1ca 100644 Binary files a/chart-sdk/blazor/3d-charts/images/axis-customization/blazor-column-chart-inversed-axis.webp and b/chart-sdk/blazor/3d-charts/images/axis-customization/blazor-column-chart-inversed-axis.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/axis-customization/blazor-column-chart-multiple-axes.webp b/chart-sdk/blazor/3d-charts/images/axis-customization/blazor-column-chart-multiple-axes.webp index c1b881bde..bee478abf 100644 Binary files a/chart-sdk/blazor/3d-charts/images/axis-customization/blazor-column-chart-multiple-axes.webp and b/chart-sdk/blazor/3d-charts/images/axis-customization/blazor-column-chart-multiple-axes.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/axis-labels/blazor-chart-axis-label-in-edge.webp b/chart-sdk/blazor/3d-charts/images/axis-labels/blazor-chart-axis-label-in-edge.webp index ea06c767a..f75bb780c 100644 Binary files a/chart-sdk/blazor/3d-charts/images/axis-labels/blazor-chart-axis-label-in-edge.webp and b/chart-sdk/blazor/3d-charts/images/axis-labels/blazor-chart-axis-label-in-edge.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/axis-labels/blazor-column-chart-axis-label-in-rotate45.webp b/chart-sdk/blazor/3d-charts/images/axis-labels/blazor-column-chart-axis-label-in-rotate45.webp index c4992e641..3dcba3f11 100644 Binary files a/chart-sdk/blazor/3d-charts/images/axis-labels/blazor-column-chart-axis-label-in-rotate45.webp and b/chart-sdk/blazor/3d-charts/images/axis-labels/blazor-column-chart-axis-label-in-rotate45.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/axis-labels/blazor-column-chart-axis-label-in-rotate90.webp b/chart-sdk/blazor/3d-charts/images/axis-labels/blazor-column-chart-axis-label-in-rotate90.webp index cc7dbe92b..f166bd2a8 100644 Binary files a/chart-sdk/blazor/3d-charts/images/axis-labels/blazor-column-chart-axis-label-in-rotate90.webp and b/chart-sdk/blazor/3d-charts/images/axis-labels/blazor-column-chart-axis-label-in-rotate90.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/axis-labels/blazor-column-chart-hide-smart-axis-label.webp b/chart-sdk/blazor/3d-charts/images/axis-labels/blazor-column-chart-hide-smart-axis-label.webp index 96ea5d4fe..8ab475373 100644 Binary files a/chart-sdk/blazor/3d-charts/images/axis-labels/blazor-column-chart-hide-smart-axis-label.webp and b/chart-sdk/blazor/3d-charts/images/axis-labels/blazor-column-chart-hide-smart-axis-label.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/category-axis/blazor-chart-axis-range-and-interval.webp b/chart-sdk/blazor/3d-charts/images/category-axis/blazor-chart-axis-range-and-interval.webp index b522f0250..4237f6e09 100644 Binary files a/chart-sdk/blazor/3d-charts/images/category-axis/blazor-chart-axis-range-and-interval.webp and b/chart-sdk/blazor/3d-charts/images/category-axis/blazor-chart-axis-range-and-interval.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/category-axis/blazor-chart-default-axis.webp b/chart-sdk/blazor/3d-charts/images/category-axis/blazor-chart-default-axis.webp index e6b1a6800..5b2b6285b 100644 Binary files a/chart-sdk/blazor/3d-charts/images/category-axis/blazor-chart-default-axis.webp and b/chart-sdk/blazor/3d-charts/images/category-axis/blazor-chart-default-axis.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/category-axis/blazor-chart-index-category-axis.webp b/chart-sdk/blazor/3d-charts/images/category-axis/blazor-chart-index-category-axis.webp index ce96041e1..971f7233f 100644 Binary files a/chart-sdk/blazor/3d-charts/images/category-axis/blazor-chart-index-category-axis.webp and b/chart-sdk/blazor/3d-charts/images/category-axis/blazor-chart-index-category-axis.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/category-axis/blazor-diagram-label-position.webp b/chart-sdk/blazor/3d-charts/images/category-axis/blazor-diagram-label-position.webp index 509a6881d..c536cb486 100644 Binary files a/chart-sdk/blazor/3d-charts/images/category-axis/blazor-diagram-label-position.webp and b/chart-sdk/blazor/3d-charts/images/category-axis/blazor-diagram-label-position.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/chart-dimensions/blazor-chart-size-for-container.webp b/chart-sdk/blazor/3d-charts/images/chart-dimensions/blazor-chart-size-for-container.webp index 0ca6028b0..1496796a5 100644 Binary files a/chart-sdk/blazor/3d-charts/images/chart-dimensions/blazor-chart-size-for-container.webp and b/chart-sdk/blazor/3d-charts/images/chart-dimensions/blazor-chart-size-for-container.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/chart-dimensions/blazor-chart-size-in-percentage.webp b/chart-sdk/blazor/3d-charts/images/chart-dimensions/blazor-chart-size-in-percentage.webp index da697b5ef..fa154b355 100644 Binary files a/chart-sdk/blazor/3d-charts/images/chart-dimensions/blazor-chart-size-in-percentage.webp and b/chart-sdk/blazor/3d-charts/images/chart-dimensions/blazor-chart-size-in-percentage.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/chart-dimensions/blazor-chart-size-in-pixel.webp b/chart-sdk/blazor/3d-charts/images/chart-dimensions/blazor-chart-size-in-pixel.webp index 44ce07ad4..47aaf485f 100644 Binary files a/chart-sdk/blazor/3d-charts/images/chart-dimensions/blazor-chart-size-in-pixel.webp and b/chart-sdk/blazor/3d-charts/images/chart-dimensions/blazor-chart-size-in-pixel.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-bar-chart-custom-series.webp b/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-bar-chart-custom-series.webp index 124d60158..a9c3a08ff 100644 Binary files a/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-bar-chart-custom-series.webp and b/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-bar-chart-custom-series.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-bar-chart-space-and-width.webp b/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-bar-chart-space-and-width.webp index 45815ff9e..2437c1c70 100644 Binary files a/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-bar-chart-space-and-width.webp and b/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-bar-chart-space-and-width.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-bar-chart.webp b/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-bar-chart.webp index a23a71345..4eab55f48 100644 Binary files a/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-bar-chart.webp and b/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-bar-chart.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-column-chart-custom-series.webp b/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-column-chart-custom-series.webp index 375f4beb9..4b74c67e3 100644 Binary files a/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-column-chart-custom-series.webp and b/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-column-chart-custom-series.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-column-chart-grouped-bar.webp b/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-column-chart-grouped-bar.webp index b1aa4bf3b..a5dc32d86 100644 Binary files a/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-column-chart-grouped-bar.webp and b/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-column-chart-grouped-bar.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-column-chart-grouped-column.webp b/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-column-chart-grouped-column.webp index a7052ddb5..a765d8077 100644 Binary files a/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-column-chart-grouped-column.webp and b/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-column-chart-grouped-column.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-column-chart-space-and-width.webp b/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-column-chart-space-and-width.webp index aa964ae40..24f4680a8 100644 Binary files a/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-column-chart-space-and-width.webp and b/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-column-chart-space-and-width.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-column-chart.webp b/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-column-chart.webp index b1698cc7e..50e6adca9 100644 Binary files a/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-column-chart.webp and b/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-column-chart.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-cylindricaal-bar-chart.webp b/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-cylindricaal-bar-chart.webp index f1954f103..32f080573 100644 Binary files a/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-cylindricaal-bar-chart.webp and b/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-cylindricaal-bar-chart.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-cylindricaal-column-chart.webp b/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-cylindricaal-column-chart.webp index d61746e87..71901b66b 100644 Binary files a/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-cylindricaal-column-chart.webp and b/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-cylindricaal-column-chart.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-cylindricaal-stacked-bar-100-chart.webp b/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-cylindricaal-stacked-bar-100-chart.webp index af9c560be..0004ce231 100644 Binary files a/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-cylindricaal-stacked-bar-100-chart.webp and b/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-cylindricaal-stacked-bar-100-chart.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-cylindricaal-stacked-bar-chart.webp b/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-cylindricaal-stacked-bar-chart.webp index c7ae6fead..032babf22 100644 Binary files a/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-cylindricaal-stacked-bar-chart.webp and b/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-cylindricaal-stacked-bar-chart.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-cylindricaal-stacked-column-100-chart.webp b/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-cylindricaal-stacked-column-100-chart.webp index 3976b3d8e..ab3bf3c6f 100644 Binary files a/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-cylindricaal-stacked-column-100-chart.webp and b/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-cylindricaal-stacked-column-100-chart.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-cylindricaal-stacked-column-chart.webp b/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-cylindricaal-stacked-column-chart.webp index fe531e295..56fe5ed6c 100644 Binary files a/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-cylindricaal-stacked-column-chart.webp and b/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-cylindricaal-stacked-column-chart.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-stacked-Bar-chart.webp b/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-stacked-Bar-chart.webp index 00e8e7c5b..6d1ded910 100644 Binary files a/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-stacked-Bar-chart.webp and b/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-stacked-Bar-chart.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-stacked-bar-100-chart-custom-series.webp b/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-stacked-bar-100-chart-custom-series.webp index c909eed20..d09922b37 100644 Binary files a/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-stacked-bar-100-chart-custom-series.webp and b/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-stacked-bar-100-chart-custom-series.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-stacked-bar-100-chart.webp b/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-stacked-bar-100-chart.webp index d0124fa1b..1414d3d7e 100644 Binary files a/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-stacked-bar-100-chart.webp and b/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-stacked-bar-100-chart.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-stacked-bar-chart-custom-series.webp b/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-stacked-bar-chart-custom-series.webp index 71714bd68..15db0c94c 100644 Binary files a/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-stacked-bar-chart-custom-series.webp and b/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-stacked-bar-chart-custom-series.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-stacked-bar-chart-with-grouping.webp b/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-stacked-bar-chart-with-grouping.webp index 440f75706..3184d7793 100644 Binary files a/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-stacked-bar-chart-with-grouping.webp and b/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-stacked-bar-chart-with-grouping.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-stacked-colum-chart-with-grouping.webp b/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-stacked-colum-chart-with-grouping.webp index 6db0b6342..de2d29d33 100644 Binary files a/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-stacked-colum-chart-with-grouping.webp and b/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-stacked-colum-chart-with-grouping.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-stacked-column-100-chart-custom-series.webp b/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-stacked-column-100-chart-custom-series.webp index cd56624c2..665b41662 100644 Binary files a/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-stacked-column-100-chart-custom-series.webp and b/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-stacked-column-100-chart-custom-series.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-stacked-column-100-chart.webp b/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-stacked-column-100-chart.webp index 95db0b88f..6e71cde34 100644 Binary files a/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-stacked-column-100-chart.webp and b/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-stacked-column-100-chart.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-stacked-column-chart-custom-series.webp b/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-stacked-column-chart-custom-series.webp index 75e744571..522e4a744 100644 Binary files a/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-stacked-column-chart-custom-series.webp and b/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-stacked-column-chart-custom-series.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-stacked-column-chart.webp b/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-stacked-column-chart.webp index 0c0c56bee..6aa97a86f 100644 Binary files a/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-stacked-column-chart.webp and b/chart-sdk/blazor/3d-charts/images/chart-types-images/blazor-stacked-column-chart.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/data-label/blazor-chart-custom-label.webp b/chart-sdk/blazor/3d-charts/images/data-label/blazor-chart-custom-label.webp index 6a75a8e82..7ad280115 100644 Binary files a/chart-sdk/blazor/3d-charts/images/data-label/blazor-chart-custom-label.webp and b/chart-sdk/blazor/3d-charts/images/data-label/blazor-chart-custom-label.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/data-label/blazor-chart-custom-specific-label.webp b/chart-sdk/blazor/3d-charts/images/data-label/blazor-chart-custom-specific-label.webp index 195b6c84c..e91ed754e 100644 Binary files a/chart-sdk/blazor/3d-charts/images/data-label/blazor-chart-custom-specific-label.webp and b/chart-sdk/blazor/3d-charts/images/data-label/blazor-chart-custom-specific-label.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/data-label/blazor-chart-data-label.webp b/chart-sdk/blazor/3d-charts/images/data-label/blazor-chart-data-label.webp index 16e599240..0d8ea9b60 100644 Binary files a/chart-sdk/blazor/3d-charts/images/data-label/blazor-chart-data-label.webp and b/chart-sdk/blazor/3d-charts/images/data-label/blazor-chart-data-label.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/data-label/blazor-chart-datalabel-template.webp b/chart-sdk/blazor/3d-charts/images/data-label/blazor-chart-datalabel-template.webp index e7be16b04..29de12414 100644 Binary files a/chart-sdk/blazor/3d-charts/images/data-label/blazor-chart-datalabel-template.webp and b/chart-sdk/blazor/3d-charts/images/data-label/blazor-chart-datalabel-template.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/data-label/blazor-chart-label-position.webp b/chart-sdk/blazor/3d-charts/images/data-label/blazor-chart-label-position.webp index afdfcaf21..773ba7bc5 100644 Binary files a/chart-sdk/blazor/3d-charts/images/data-label/blazor-chart-label-position.webp and b/chart-sdk/blazor/3d-charts/images/data-label/blazor-chart-label-position.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/data-label/blazor-chart-label-with-format.webp b/chart-sdk/blazor/3d-charts/images/data-label/blazor-chart-label-with-format.webp index 21e4a9a4a..209ae8cd0 100644 Binary files a/chart-sdk/blazor/3d-charts/images/data-label/blazor-chart-label-with-format.webp and b/chart-sdk/blazor/3d-charts/images/data-label/blazor-chart-label-with-format.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/data-label/blazor-chart-label-with-margin.webp b/chart-sdk/blazor/3d-charts/images/data-label/blazor-chart-label-with-margin.webp index 967cf606d..fb73b37bd 100644 Binary files a/chart-sdk/blazor/3d-charts/images/data-label/blazor-chart-label-with-margin.webp and b/chart-sdk/blazor/3d-charts/images/data-label/blazor-chart-label-with-margin.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/data-label/blazor-chart-label-with-text-mapping.webp b/chart-sdk/blazor/3d-charts/images/data-label/blazor-chart-label-with-text-mapping.webp index 111c75ef5..7da07bfd0 100644 Binary files a/chart-sdk/blazor/3d-charts/images/data-label/blazor-chart-label-with-text-mapping.webp and b/chart-sdk/blazor/3d-charts/images/data-label/blazor-chart-label-with-text-mapping.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/datetime/blazor-column-chart-axis-based-on-interval.webp b/chart-sdk/blazor/3d-charts/images/datetime/blazor-column-chart-axis-based-on-interval.webp index 73e6b0cf2..6a8edaa09 100644 Binary files a/chart-sdk/blazor/3d-charts/images/datetime/blazor-column-chart-axis-based-on-interval.webp and b/chart-sdk/blazor/3d-charts/images/datetime/blazor-column-chart-axis-based-on-interval.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/datetime/blazor-column-chart-axis-based-on-range-additional.webp b/chart-sdk/blazor/3d-charts/images/datetime/blazor-column-chart-axis-based-on-range-additional.webp index 9f9750f9a..f8d74ca96 100644 Binary files a/chart-sdk/blazor/3d-charts/images/datetime/blazor-column-chart-axis-based-on-range-additional.webp and b/chart-sdk/blazor/3d-charts/images/datetime/blazor-column-chart-axis-based-on-range-additional.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/datetime/blazor-column-chart-axis-based-on-range-none.webp b/chart-sdk/blazor/3d-charts/images/datetime/blazor-column-chart-axis-based-on-range-none.webp index f1749f2cd..140ac6415 100644 Binary files a/chart-sdk/blazor/3d-charts/images/datetime/blazor-column-chart-axis-based-on-range-none.webp and b/chart-sdk/blazor/3d-charts/images/datetime/blazor-column-chart-axis-based-on-range-none.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/datetime/blazor-column-chart-axis-based-on-range-round.webp b/chart-sdk/blazor/3d-charts/images/datetime/blazor-column-chart-axis-based-on-range-round.webp index e396fab7c..459d2ff2c 100644 Binary files a/chart-sdk/blazor/3d-charts/images/datetime/blazor-column-chart-axis-based-on-range-round.webp and b/chart-sdk/blazor/3d-charts/images/datetime/blazor-column-chart-axis-based-on-range-round.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/datetime/blazor-column-chart-axis-based-on-range.webp b/chart-sdk/blazor/3d-charts/images/datetime/blazor-column-chart-axis-based-on-range.webp index 9fa9210ab..5593d9387 100644 Binary files a/chart-sdk/blazor/3d-charts/images/datetime/blazor-column-chart-axis-based-on-range.webp and b/chart-sdk/blazor/3d-charts/images/datetime/blazor-column-chart-axis-based-on-range.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/datetime/blazor-column-chart-axis-label-format.webp b/chart-sdk/blazor/3d-charts/images/datetime/blazor-column-chart-axis-label-format.webp index e66c6cb7a..be1d2eaed 100644 Binary files a/chart-sdk/blazor/3d-charts/images/datetime/blazor-column-chart-axis-label-format.webp and b/chart-sdk/blazor/3d-charts/images/datetime/blazor-column-chart-axis-label-format.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/datetime/blazor-column-chart-datetime-axis.webp b/chart-sdk/blazor/3d-charts/images/datetime/blazor-column-chart-datetime-axis.webp index 8842fae0f..1d3c06feb 100644 Binary files a/chart-sdk/blazor/3d-charts/images/datetime/blazor-column-chart-datetime-axis.webp and b/chart-sdk/blazor/3d-charts/images/datetime/blazor-column-chart-datetime-axis.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/datetime/blazor-column-chart-with-datetime-axis.webp b/chart-sdk/blazor/3d-charts/images/datetime/blazor-column-chart-with-datetime-axis.webp index ee3a261d3..a14a9f715 100644 Binary files a/chart-sdk/blazor/3d-charts/images/datetime/blazor-column-chart-with-datetime-axis.webp and b/chart-sdk/blazor/3d-charts/images/datetime/blazor-column-chart-with-datetime-axis.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/legend/blazor-column-chart-custom-legend-shape-size.webp b/chart-sdk/blazor/3d-charts/images/legend/blazor-column-chart-custom-legend-shape-size.webp index e84b3c1cd..264f3c562 100644 Binary files a/chart-sdk/blazor/3d-charts/images/legend/blazor-column-chart-custom-legend-shape-size.webp and b/chart-sdk/blazor/3d-charts/images/legend/blazor-column-chart-custom-legend-shape-size.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/legend/blazor-column-chart-hide-legend-item.webp b/chart-sdk/blazor/3d-charts/images/legend/blazor-column-chart-hide-legend-item.webp index 2c5c71ac4..05887f1ea 100644 Binary files a/chart-sdk/blazor/3d-charts/images/legend/blazor-column-chart-hide-legend-item.webp and b/chart-sdk/blazor/3d-charts/images/legend/blazor-column-chart-hide-legend-item.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/legend/blazor-column-chart-legend-alignment-position.webp b/chart-sdk/blazor/3d-charts/images/legend/blazor-column-chart-legend-alignment-position.webp index 8e4d4e4f1..7339d314c 100644 Binary files a/chart-sdk/blazor/3d-charts/images/legend/blazor-column-chart-legend-alignment-position.webp and b/chart-sdk/blazor/3d-charts/images/legend/blazor-column-chart-legend-alignment-position.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/legend/blazor-column-chart-legend-custom-size.webp b/chart-sdk/blazor/3d-charts/images/legend/blazor-column-chart-legend-custom-size.webp index 6dfcacaf8..5ae486b9a 100644 Binary files a/chart-sdk/blazor/3d-charts/images/legend/blazor-column-chart-legend-custom-size.webp and b/chart-sdk/blazor/3d-charts/images/legend/blazor-column-chart-legend-custom-size.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/legend/blazor-column-chart-legend-in-custom-position.webp b/chart-sdk/blazor/3d-charts/images/legend/blazor-column-chart-legend-in-custom-position.webp index 761565615..dc4aaa176 100644 Binary files a/chart-sdk/blazor/3d-charts/images/legend/blazor-column-chart-legend-in-custom-position.webp and b/chart-sdk/blazor/3d-charts/images/legend/blazor-column-chart-legend-in-custom-position.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/legend/blazor-column-chart-legend-item-padding.webp b/chart-sdk/blazor/3d-charts/images/legend/blazor-column-chart-legend-item-padding.webp index fad5377d7..f4ee2b8d8 100644 Binary files a/chart-sdk/blazor/3d-charts/images/legend/blazor-column-chart-legend-item-padding.webp and b/chart-sdk/blazor/3d-charts/images/legend/blazor-column-chart-legend-item-padding.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/legend/blazor-column-chart-legend-paging.webp b/chart-sdk/blazor/3d-charts/images/legend/blazor-column-chart-legend-paging.webp index 1ca985726..fcb1376c3 100644 Binary files a/chart-sdk/blazor/3d-charts/images/legend/blazor-column-chart-legend-paging.webp and b/chart-sdk/blazor/3d-charts/images/legend/blazor-column-chart-legend-paging.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/legend/blazor-column-chart-legend-position.webp b/chart-sdk/blazor/3d-charts/images/legend/blazor-column-chart-legend-position.webp index b1ce522f2..0a0a98998 100644 Binary files a/chart-sdk/blazor/3d-charts/images/legend/blazor-column-chart-legend-position.webp and b/chart-sdk/blazor/3d-charts/images/legend/blazor-column-chart-legend-position.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/legend/blazor-column-chart-legend-reverse.webp b/chart-sdk/blazor/3d-charts/images/legend/blazor-column-chart-legend-reverse.webp index 187ce2fda..5f9e122e1 100644 Binary files a/chart-sdk/blazor/3d-charts/images/legend/blazor-column-chart-legend-reverse.webp and b/chart-sdk/blazor/3d-charts/images/legend/blazor-column-chart-legend-reverse.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/legend/blazor-column-chart-legend-series-selection.webp b/chart-sdk/blazor/3d-charts/images/legend/blazor-column-chart-legend-series-selection.webp index 28b8a1857..e7ae84b51 100644 Binary files a/chart-sdk/blazor/3d-charts/images/legend/blazor-column-chart-legend-series-selection.webp and b/chart-sdk/blazor/3d-charts/images/legend/blazor-column-chart-legend-series-selection.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/legend/blazor-column-chart-legend-shape.webp b/chart-sdk/blazor/3d-charts/images/legend/blazor-column-chart-legend-shape.webp index 87df760ba..af3e7f440 100644 Binary files a/chart-sdk/blazor/3d-charts/images/legend/blazor-column-chart-legend-shape.webp and b/chart-sdk/blazor/3d-charts/images/legend/blazor-column-chart-legend-shape.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/legend/blazor-column-chart-legend-text-wrap.webp b/chart-sdk/blazor/3d-charts/images/legend/blazor-column-chart-legend-text-wrap.webp index d19a0c044..2c6e2c058 100644 Binary files a/chart-sdk/blazor/3d-charts/images/legend/blazor-column-chart-legend-text-wrap.webp and b/chart-sdk/blazor/3d-charts/images/legend/blazor-column-chart-legend-text-wrap.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/legend/blazor-column-chart-legend-title.webp b/chart-sdk/blazor/3d-charts/images/legend/blazor-column-chart-legend-title.webp index 29d19149e..d257a4c3f 100644 Binary files a/chart-sdk/blazor/3d-charts/images/legend/blazor-column-chart-legend-title.webp and b/chart-sdk/blazor/3d-charts/images/legend/blazor-column-chart-legend-title.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/legend/blazor-column-chart-legend-with-page-navigation.webp b/chart-sdk/blazor/3d-charts/images/legend/blazor-column-chart-legend-with-page-navigation.webp index 7d78bb180..5d1f5a0e2 100644 Binary files a/chart-sdk/blazor/3d-charts/images/legend/blazor-column-chart-legend-with-page-navigation.webp and b/chart-sdk/blazor/3d-charts/images/legend/blazor-column-chart-legend-with-page-navigation.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/logarithmic-axis/blazor-chart-logarithmic-axis.webp b/chart-sdk/blazor/3d-charts/images/logarithmic-axis/blazor-chart-logarithmic-axis.webp index e5abba2f9..9b2dfb56b 100644 Binary files a/chart-sdk/blazor/3d-charts/images/logarithmic-axis/blazor-chart-logarithmic-axis.webp and b/chart-sdk/blazor/3d-charts/images/logarithmic-axis/blazor-chart-logarithmic-axis.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/logarithmic-axis/blazor-column-chart-axis-based-on-range-interval.webp b/chart-sdk/blazor/3d-charts/images/logarithmic-axis/blazor-column-chart-axis-based-on-range-interval.webp index 0dfaac0de..3850a0831 100644 Binary files a/chart-sdk/blazor/3d-charts/images/logarithmic-axis/blazor-column-chart-axis-based-on-range-interval.webp and b/chart-sdk/blazor/3d-charts/images/logarithmic-axis/blazor-column-chart-axis-based-on-range-interval.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/logarithmic-axis/blazor-column-chart-axis-based-on-range.webp b/chart-sdk/blazor/3d-charts/images/logarithmic-axis/blazor-column-chart-axis-based-on-range.webp index da48a6d9d..8c5cae4fa 100644 Binary files a/chart-sdk/blazor/3d-charts/images/logarithmic-axis/blazor-column-chart-axis-based-on-range.webp and b/chart-sdk/blazor/3d-charts/images/logarithmic-axis/blazor-column-chart-axis-based-on-range.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/logarithmic-axis/blazor-column-chart-logarithmic-axis-with-base.webp b/chart-sdk/blazor/3d-charts/images/logarithmic-axis/blazor-column-chart-logarithmic-axis-with-base.webp index f25582241..11838112c 100644 Binary files a/chart-sdk/blazor/3d-charts/images/logarithmic-axis/blazor-column-chart-logarithmic-axis-with-base.webp and b/chart-sdk/blazor/3d-charts/images/logarithmic-axis/blazor-column-chart-logarithmic-axis-with-base.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/multiple-panes/blazor-chart-multiple-panes-with-column-span.webp b/chart-sdk/blazor/3d-charts/images/multiple-panes/blazor-chart-multiple-panes-with-column-span.webp index d75cd346b..c9a1db312 100644 Binary files a/chart-sdk/blazor/3d-charts/images/multiple-panes/blazor-chart-multiple-panes-with-column-span.webp and b/chart-sdk/blazor/3d-charts/images/multiple-panes/blazor-chart-multiple-panes-with-column-span.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/multiple-panes/blazor-chart-multiple-panes-with-column.webp b/chart-sdk/blazor/3d-charts/images/multiple-panes/blazor-chart-multiple-panes-with-column.webp index 234dbe3a5..354077fb1 100644 Binary files a/chart-sdk/blazor/3d-charts/images/multiple-panes/blazor-chart-multiple-panes-with-column.webp and b/chart-sdk/blazor/3d-charts/images/multiple-panes/blazor-chart-multiple-panes-with-column.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/multiple-panes/blazor-chart-multiple-panes-with-rows.webp b/chart-sdk/blazor/3d-charts/images/multiple-panes/blazor-chart-multiple-panes-with-rows.webp index 61c6406ac..7607c183d 100644 Binary files a/chart-sdk/blazor/3d-charts/images/multiple-panes/blazor-chart-multiple-panes-with-rows.webp and b/chart-sdk/blazor/3d-charts/images/multiple-panes/blazor-chart-multiple-panes-with-rows.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/multiple-panes/blazor-chart-multiple-span-with-rows-span.webp b/chart-sdk/blazor/3d-charts/images/multiple-panes/blazor-chart-multiple-span-with-rows-span.webp index a8bee1ecd..b085996ea 100644 Binary files a/chart-sdk/blazor/3d-charts/images/multiple-panes/blazor-chart-multiple-span-with-rows-span.webp and b/chart-sdk/blazor/3d-charts/images/multiple-panes/blazor-chart-multiple-span-with-rows-span.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/numeric-axis/blazor-column-chart-additional-range-padding.webp b/chart-sdk/blazor/3d-charts/images/numeric-axis/blazor-column-chart-additional-range-padding.webp index 149ef7e29..cb88644e8 100644 Binary files a/chart-sdk/blazor/3d-charts/images/numeric-axis/blazor-column-chart-additional-range-padding.webp and b/chart-sdk/blazor/3d-charts/images/numeric-axis/blazor-column-chart-additional-range-padding.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/numeric-axis/blazor-column-chart-auto-rangepadding.webp b/chart-sdk/blazor/3d-charts/images/numeric-axis/blazor-column-chart-auto-rangepadding.webp index 3bdf82180..0b6941f6f 100644 Binary files a/chart-sdk/blazor/3d-charts/images/numeric-axis/blazor-column-chart-auto-rangepadding.webp and b/chart-sdk/blazor/3d-charts/images/numeric-axis/blazor-column-chart-auto-rangepadding.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/numeric-axis/blazor-column-chart-axis-range.webp b/chart-sdk/blazor/3d-charts/images/numeric-axis/blazor-column-chart-axis-range.webp index a282e2302..959e8b16d 100644 Binary files a/chart-sdk/blazor/3d-charts/images/numeric-axis/blazor-column-chart-axis-range.webp and b/chart-sdk/blazor/3d-charts/images/numeric-axis/blazor-column-chart-axis-range.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/numeric-axis/blazor-column-chart-custom-label-format.webp b/chart-sdk/blazor/3d-charts/images/numeric-axis/blazor-column-chart-custom-label-format.webp index d182a486c..13d9b2e52 100644 Binary files a/chart-sdk/blazor/3d-charts/images/numeric-axis/blazor-column-chart-custom-label-format.webp and b/chart-sdk/blazor/3d-charts/images/numeric-axis/blazor-column-chart-custom-label-format.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/numeric-axis/blazor-column-chart-grouping-separator.webp b/chart-sdk/blazor/3d-charts/images/numeric-axis/blazor-column-chart-grouping-separator.webp index 3947d6b70..0a3987e7c 100644 Binary files a/chart-sdk/blazor/3d-charts/images/numeric-axis/blazor-column-chart-grouping-separator.webp and b/chart-sdk/blazor/3d-charts/images/numeric-axis/blazor-column-chart-grouping-separator.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/numeric-axis/blazor-column-chart-label-format.webp b/chart-sdk/blazor/3d-charts/images/numeric-axis/blazor-column-chart-label-format.webp index 7f3ceb2e8..e7d9f2860 100644 Binary files a/chart-sdk/blazor/3d-charts/images/numeric-axis/blazor-column-chart-label-format.webp and b/chart-sdk/blazor/3d-charts/images/numeric-axis/blazor-column-chart-label-format.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/numeric-axis/blazor-column-chart-normal-range-padding.webp b/chart-sdk/blazor/3d-charts/images/numeric-axis/blazor-column-chart-normal-range-padding.webp index e8b154dce..cce9d0af6 100644 Binary files a/chart-sdk/blazor/3d-charts/images/numeric-axis/blazor-column-chart-normal-range-padding.webp and b/chart-sdk/blazor/3d-charts/images/numeric-axis/blazor-column-chart-normal-range-padding.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/numeric-axis/blazor-column-chart-numeric-axis.webp b/chart-sdk/blazor/3d-charts/images/numeric-axis/blazor-column-chart-numeric-axis.webp index 9365b6285..d45ae20e0 100644 Binary files a/chart-sdk/blazor/3d-charts/images/numeric-axis/blazor-column-chart-numeric-axis.webp and b/chart-sdk/blazor/3d-charts/images/numeric-axis/blazor-column-chart-numeric-axis.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/numeric-axis/blazor-column-chart-range-without-padding.webp b/chart-sdk/blazor/3d-charts/images/numeric-axis/blazor-column-chart-range-without-padding.webp index 853f438a4..bbb7518d0 100644 Binary files a/chart-sdk/blazor/3d-charts/images/numeric-axis/blazor-column-chart-range-without-padding.webp and b/chart-sdk/blazor/3d-charts/images/numeric-axis/blazor-column-chart-range-without-padding.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/numeric-axis/blazor-column-chart-round-range-padding.webp b/chart-sdk/blazor/3d-charts/images/numeric-axis/blazor-column-chart-round-range-padding.webp index 0ad3b8ecd..bdd1a4d3b 100644 Binary files a/chart-sdk/blazor/3d-charts/images/numeric-axis/blazor-column-chart-round-range-padding.webp and b/chart-sdk/blazor/3d-charts/images/numeric-axis/blazor-column-chart-round-range-padding.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/selection/blazor-chart-cluster-selection.webp b/chart-sdk/blazor/3d-charts/images/selection/blazor-chart-cluster-selection.webp index 155ea02aa..9e36d542a 100644 Binary files a/chart-sdk/blazor/3d-charts/images/selection/blazor-chart-cluster-selection.webp and b/chart-sdk/blazor/3d-charts/images/selection/blazor-chart-cluster-selection.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/selection/blazor-chart-initial-selection.webp b/chart-sdk/blazor/3d-charts/images/selection/blazor-chart-initial-selection.webp index 8adc913e2..8177d1ec6 100644 Binary files a/chart-sdk/blazor/3d-charts/images/selection/blazor-chart-initial-selection.webp and b/chart-sdk/blazor/3d-charts/images/selection/blazor-chart-initial-selection.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/selection/blazor-chart-legend-selection.webp b/chart-sdk/blazor/3d-charts/images/selection/blazor-chart-legend-selection.webp index 05a87a6af..1407bfecb 100644 Binary files a/chart-sdk/blazor/3d-charts/images/selection/blazor-chart-legend-selection.webp and b/chart-sdk/blazor/3d-charts/images/selection/blazor-chart-legend-selection.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/selection/blazor-chart-multiple-selection.webp b/chart-sdk/blazor/3d-charts/images/selection/blazor-chart-multiple-selection.webp index e1994de76..f6cb50633 100644 Binary files a/chart-sdk/blazor/3d-charts/images/selection/blazor-chart-multiple-selection.webp and b/chart-sdk/blazor/3d-charts/images/selection/blazor-chart-multiple-selection.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/selection/blazor-chart-point-selection.webp b/chart-sdk/blazor/3d-charts/images/selection/blazor-chart-point-selection.webp index ecfba9acf..aeb7b061c 100644 Binary files a/chart-sdk/blazor/3d-charts/images/selection/blazor-chart-point-selection.webp and b/chart-sdk/blazor/3d-charts/images/selection/blazor-chart-point-selection.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/selection/blazor-chart-series-selection.webp b/chart-sdk/blazor/3d-charts/images/selection/blazor-chart-series-selection.webp index 1411c277a..1b7b3103a 100644 Binary files a/chart-sdk/blazor/3d-charts/images/selection/blazor-chart-series-selection.webp and b/chart-sdk/blazor/3d-charts/images/selection/blazor-chart-series-selection.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/tooltip/blazor-column-chart-custom-tooltip.webp b/chart-sdk/blazor/3d-charts/images/tooltip/blazor-column-chart-custom-tooltip.webp index ec662e2cd..89c27d889 100644 Binary files a/chart-sdk/blazor/3d-charts/images/tooltip/blazor-column-chart-custom-tooltip.webp and b/chart-sdk/blazor/3d-charts/images/tooltip/blazor-column-chart-custom-tooltip.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/tooltip/blazor-column-chart-fixed-tooltip.webp b/chart-sdk/blazor/3d-charts/images/tooltip/blazor-column-chart-fixed-tooltip.webp index eed5414d3..a2410c1a8 100644 Binary files a/chart-sdk/blazor/3d-charts/images/tooltip/blazor-column-chart-fixed-tooltip.webp and b/chart-sdk/blazor/3d-charts/images/tooltip/blazor-column-chart-fixed-tooltip.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/tooltip/blazor-column-chart-tooltip-format.webp b/chart-sdk/blazor/3d-charts/images/tooltip/blazor-column-chart-tooltip-format.webp index 5b5bacdf2..eba0f5da5 100644 Binary files a/chart-sdk/blazor/3d-charts/images/tooltip/blazor-column-chart-tooltip-format.webp and b/chart-sdk/blazor/3d-charts/images/tooltip/blazor-column-chart-tooltip-format.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/tooltip/blazor-column-chart-tooltip-template.webp b/chart-sdk/blazor/3d-charts/images/tooltip/blazor-column-chart-tooltip-template.webp index a0ed76f0d..ca69f3143 100644 Binary files a/chart-sdk/blazor/3d-charts/images/tooltip/blazor-column-chart-tooltip-template.webp and b/chart-sdk/blazor/3d-charts/images/tooltip/blazor-column-chart-tooltip-template.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/tooltip/blazor-column-chart-tooltip.webp b/chart-sdk/blazor/3d-charts/images/tooltip/blazor-column-chart-tooltip.webp index 8b5012f57..9126a8879 100644 Binary files a/chart-sdk/blazor/3d-charts/images/tooltip/blazor-column-chart-tooltip.webp and b/chart-sdk/blazor/3d-charts/images/tooltip/blazor-column-chart-tooltip.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/working-data/blazor-chart-custom-empty-point.webp b/chart-sdk/blazor/3d-charts/images/working-data/blazor-chart-custom-empty-point.webp index 9c835303e..ca4fd0394 100644 Binary files a/chart-sdk/blazor/3d-charts/images/working-data/blazor-chart-custom-empty-point.webp and b/chart-sdk/blazor/3d-charts/images/working-data/blazor-chart-custom-empty-point.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/working-data/blazor-chart-data-binding.webp b/chart-sdk/blazor/3d-charts/images/working-data/blazor-chart-data-binding.webp index 6eeb9efae..1d26a9f38 100644 Binary files a/chart-sdk/blazor/3d-charts/images/working-data/blazor-chart-data-binding.webp and b/chart-sdk/blazor/3d-charts/images/working-data/blazor-chart-data-binding.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/working-data/blazor-chart-empty-point.webp b/chart-sdk/blazor/3d-charts/images/working-data/blazor-chart-empty-point.webp index deac8bcb9..aa02ab6c9 100644 Binary files a/chart-sdk/blazor/3d-charts/images/working-data/blazor-chart-empty-point.webp and b/chart-sdk/blazor/3d-charts/images/working-data/blazor-chart-empty-point.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/working-data/blazor-chart-remote-data-binding.webp b/chart-sdk/blazor/3d-charts/images/working-data/blazor-chart-remote-data-binding.webp index 20a244bce..afc7f09a7 100644 Binary files a/chart-sdk/blazor/3d-charts/images/working-data/blazor-chart-remote-data-binding.webp and b/chart-sdk/blazor/3d-charts/images/working-data/blazor-chart-remote-data-binding.webp differ diff --git a/chart-sdk/blazor/3d-charts/images/working-data/blazor-chart-webapi-adaptor-binding.webp b/chart-sdk/blazor/3d-charts/images/working-data/blazor-chart-webapi-adaptor-binding.webp index 03cebb66e..aad176af9 100644 Binary files a/chart-sdk/blazor/3d-charts/images/working-data/blazor-chart-webapi-adaptor-binding.webp and b/chart-sdk/blazor/3d-charts/images/working-data/blazor-chart-webapi-adaptor-binding.webp differ diff --git a/chart-sdk/blazor/3d-charts/legend.md b/chart-sdk/blazor/3d-charts/legend.md index 410a5da96..f573395b6 100644 --- a/chart-sdk/blazor/3d-charts/legend.md +++ b/chart-sdk/blazor/3d-charts/legend.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor 3D Chart Legend Configuration Examples | Syncfusion® -description: Learn how to enable and customize the legend in Syncfusion Blazor 3D Chart, including position, alignment, and styling options. -platform: Blazor +title: Legend in Blazor 3D Chart Component | Syncfusion® +description: Checkout and learn here all about the Legends and its customization in Blazor 3D Chart component and much more. +platform: chart-sdk control: 3D Chart documentation: ug --- -# Blazor 3D Chart Legend +# Legend in Blazor 3D Chart Component Legend provides information about the series rendered in the 3D chart. @@ -56,7 +56,7 @@ By using the `Position` property, the legend can be positioned at left, right, } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BDVHDdijJgmJeEtL?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Changing Legend Position in Blazor Column Chart](images/legend/blazor-column-chart-legend-position.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BNVzNnMVpznHbBmn?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Changing Legend Position in Blazor Column Chart](images/legend/blazor-column-chart-legend-position.webp)" %} The custom position helps you to position the legend anywhere in the 3D chart using x and y coordinates. @@ -103,7 +103,7 @@ The custom position helps you to position the legend anywhere in the 3D chart us } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LXhRNdCjzKPjZElp?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Column 3D Chart Legend in Custom Position](images/legend/blazor-column-chart-legend-in-custom-position.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VNBJXHiLpzGiRrpE?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Column 3D Chart Legend in Custom Position](images/legend/blazor-column-chart-legend-in-custom-position.webp)" %} @@ -152,7 +152,7 @@ The order of the legend items can be reversed by using the `Reverse` property. B } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BZLxjdCjJKFTcNrH?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Changing Blazor Column 3D Chart Legend Reverse](images/legend/blazor-column-chart-legend-reverse.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rXVpXnsLpIMZlkTl?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Changing Blazor Column 3D Chart Legend Reverse](images/legend/blazor-column-chart-legend-reverse.webp)" %} **Legend alignment** @@ -202,7 +202,7 @@ The legend can be aligned at near, far or center to the 3D chart using the `Alig } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rNLHDHCjTAktsLnA?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Changing Blazor Column 3D Chart Legend Alignment Position](images/legend/blazor-column-chart-legend-alignment-position.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LjLpDRsrTICojdGV?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Changing Blazor Column 3D Chart Legend Alignment Position](images/legend/blazor-column-chart-legend-alignment-position.webp)" %} ## Legend customization @@ -249,7 +249,7 @@ To change the legend icon shape, `LegendShape` property in the `Series` can be } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hNBntHWNTKYIAhwe?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Changing Legend Shape in Blazor Column 3D Chart](images/legend/blazor-column-chart-legend-shape.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rtLTNRiBpyVrMjeP?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Changing Legend Shape in Blazor Column 3D Chart](images/legend/blazor-column-chart-legend-shape.webp)" %} ### Legend size @@ -298,7 +298,7 @@ By default, legend takes 20% - 25% of the 3D chart's height horizontally, when i } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rjBnNdsNJqukvRor?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Column 3D Chart Legend with Custom Size](images/legend/blazor-column-chart-legend-custom-size.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BZrfDHMLpeVFwoRs?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Column 3D Chart Legend with Custom Size](images/legend/blazor-column-chart-legend-custom-size.webp)" %} ### Legend item Size @@ -346,7 +346,7 @@ The size of the legend items can be customized by using the `ShapeHeight` and `S } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hXrxtnsjfJjUxAvs?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Column Chart Legend Shape with Custom Size](images/legend/blazor-column-chart-custom-legend-shape-size.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rthftHMLpyqztChS?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Column Chart Legend Shape with Custom Size](images/legend/blazor-column-chart-custom-legend-shape-size.webp)" %} ### Paging for legend @@ -394,7 +394,7 @@ Paging will be enabled by default, when the legend items exceeds the legend boun } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BDrxjxijTzDPxGlW?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Column 3D Chart Legend with Paging](images/legend/blazor-column-chart-legend-paging.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rZVTDnChfygYhRAJ?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Column 3D Chart Legend with Paging](images/legend/blazor-column-chart-legend-paging.webp)" %} ### Legend text wrap @@ -442,7 +442,7 @@ When the legend text exceeds the container, the text can be wrapped by using the } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BtVnjHCXJJhiRFTh?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor 3D Chart Legend with Wrap](images/legend/blazor-column-chart-legend-text-wrap.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rDVpXRsLJoJxytCf?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor 3D Chart Legend with Wrap](images/legend/blazor-column-chart-legend-text-wrap.webp)" %} ## Series selection through legend @@ -490,7 +490,7 @@ By default, you can collapse the series visibility by clicking the legend. On th } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rNVxZRWNfTBuTcSZ?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Column 3D Chart Legend with Series Selection](images/legend/blazor-column-chart-legend-series-selection.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hNhzNHiLfoSHNKph?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Column 3D Chart Legend with Series Selection](images/legend/blazor-column-chart-legend-series-selection.webp)" %} ## Collapsing legend item @@ -537,7 +537,7 @@ By default, series `Name` will be displayed as legend. To skip the legend for a } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BtBxZniZffzsmLYu?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Hiding Legend Item in Blazor Column 3D Chart](images/legend/blazor-column-chart-hide-legend-item.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hjLJDxWLfeYGOxOB?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Hiding Legend Item in Blazor Column 3D Chart](images/legend/blazor-column-chart-hide-legend-item.webp)" %} ## Legend title @@ -584,7 +584,7 @@ You can set title for legend using `Title` property in `LegendSettings`. The `Si } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VZhdNRMNTJJwAgor?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Legend Title in Blazor Column 3D Chart](images/legend/blazor-column-chart-legend-title.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rDhztRiBfnXfzkzm?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Legend Title in Blazor Column 3D Chart](images/legend/blazor-column-chart-legend-title.webp)" %} ## Arrow page navigation @@ -632,7 +632,7 @@ The page number will always be visible while using legend paging. It is now poss } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/htBRtRWXpfyKrbhY?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Enabling legend pages in Blazor Column 3D Chart](images/legend/blazor-column-chart-legend-with-page-navigation.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BXLfjxChpxNYlHvV?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Enabling legend pages in Blazor Column 3D Chart](images/legend/blazor-column-chart-legend-with-page-navigation.webp)" %} ### Legend Item Padding @@ -680,4 +680,4 @@ The `ItemPadding` property can be used to adjust the space between the legend it } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LNhHtxCtfpePfvIj?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Column 3D Chart Legend Shape with Item Padding](images/legend/blazor-column-chart-legend-item-padding.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hDhTjnsVpdCodgcy?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Column 3D Chart Legend Shape with Item Padding](images/legend/blazor-column-chart-legend-item-padding.webp)" %} diff --git a/chart-sdk/blazor/3d-charts/logarithmic-axis.md b/chart-sdk/blazor/3d-charts/logarithmic-axis.md index 96de91282..2903ec093 100644 --- a/chart-sdk/blazor/3d-charts/logarithmic-axis.md +++ b/chart-sdk/blazor/3d-charts/logarithmic-axis.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor 3D Chart Logarithmic Axis Examples | Syncfusion® -description: Learn how to use a logarithmic axis in Syncfusion Blazor 3D Chart to visualize data spanning multiple orders of magnitude. -platform: Blazor +title: Logarithmic Axis in Blazor 3D Chart Component | Syncfusion® +description: Checkout and learn here all features about Logarithmic Axis in Blazor 3D Chart component and much more. +platform: chart-sdk control: 3D Chart documentation: ug --- -# Blazor 3D Chart Logarithmic Axis +# Logarithmic Axis in Blazor 3D Chart Component @@ -51,7 +51,7 @@ Logarithmic axis uses logarithmic scale and it is very useful in visualizing dat } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rXhnXnWtfLBfHkTa?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor 3D Chart with Logarithmic Axis](images/logarithmic-axis/blazor-chart-logarithmic-axis.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rZrJtnsUsBeKhZTc?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor 3D Chart with Logarithmic Axis](images/logarithmic-axis/blazor-chart-logarithmic-axis.webp)" %} ## Range @@ -95,7 +95,7 @@ The range of an axis will be calculated automatically based on the provided data } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BNrnDniZTVBYXqdB?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Changing Blazor Column 3D Chart Logarithmic Axis based on Range](images/logarithmic-axis/blazor-column-chart-axis-based-on-range.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BZhzZnCUCBSddGpF?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Changing Blazor Column 3D Chart Logarithmic Axis based on Range](images/logarithmic-axis/blazor-column-chart-axis-based-on-range.webp)" %} ## Logarithmic base @@ -139,7 +139,7 @@ Logarithmic base can be customized by using the `LogBase` property of the axis } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LXVxZxstfhUoieeR?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Column 3D Chart Logarithmic Axis with Base](images/logarithmic-axis/blazor-column-chart-logarithmic-axis-with-base.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rDBTZdWqWhouoYOv?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Column 3D Chart Logarithmic Axis with Base](images/logarithmic-axis/blazor-column-chart-logarithmic-axis-with-base.webp)" %} ## Logarithmic interval @@ -183,4 +183,4 @@ The interval of the logarithmic axis can be customized by using the `Interval` p } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hZLHXdstTVpipeOU?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Changing Blazor Column 3D Chart Logarithmic Axis based on Interval](images/logarithmic-axis/blazor-column-chart-axis-based-on-range-interval.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LDBTNniUMVdBYcdW?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Changing Blazor Column 3D Chart Logarithmic Axis based on Interval](images/logarithmic-axis/blazor-column-chart-axis-based-on-range-interval.webp)" %} diff --git a/chart-sdk/blazor/3d-charts/multiple-panes.md b/chart-sdk/blazor/3d-charts/multiple-panes.md index 5afba47fb..7ff39d119 100644 --- a/chart-sdk/blazor/3d-charts/multiple-panes.md +++ b/chart-sdk/blazor/3d-charts/multiple-panes.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor 3D Chart Multiple Panes Examples | Syncfusion® -description: Learn how to divide the Syncfusion Blazor 3D Chart area into multiple panes using the Rows and Columns properties with code samples. -platform: Blazor +title: Multiple Panes in Blazor 3D Chart Component | Syncfusion® +description: Checkout and learn here all features about Multiple Panes in Blazor 3D Chart component and much more. +platform: chart-sdk control: 3D Chart documentation: ug --- -# Blazor 3D Chart Multiple Panes +# Multiple Panes in Blazor 3D Chart Component The chart area can be divided into multiple panes using `Rows` and `Columns`. @@ -64,7 +64,7 @@ To split the chart area vertically into number of rows, use `Rows` property of t } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hDhxtdWtJKNuhaLI?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Rows with Multiple Panes in Blazor 3D Chart](images/multiple-panes/blazor-chart-multiple-panes-with-rows.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rZLzXxiAsBdkbxIl?appbar=true&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Rows with Multiple Panes in Blazor 3D Chart](images/multiple-panes/blazor-chart-multiple-panes-with-rows.webp)" %} For spanning the vertical axis along multiple rows, use `Span` property of an axis. @@ -114,7 +114,7 @@ For spanning the vertical axis along multiple rows, use `Span` property of an a ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LthHZRWZzKWpzPRp?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Row spanning with Multiple Panes in Blazor 3D Chart](images/multiple-panes/blazor-chart-multiple-span-with-rows-span.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hDhzjniUWLwATaKo?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Row spanning with Multiple Panes in Blazor 3D Chart](images/multiple-panes/blazor-chart-multiple-span-with-rows-span.webp)" %} ## Columns @@ -169,7 +169,7 @@ To split the chart area horizontally into number of columns, use `Columns` prope } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LtLdjRCNTAsaqLOv?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Columns with Multiple Panes in Blazor 3D Chart](images/multiple-panes/blazor-chart-multiple-panes-with-column.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BjLfjdsgiVmdedVN?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Columns with Multiple Panes in Blazor 3D Chart](images/multiple-panes/blazor-chart-multiple-panes-with-column.webp)" %} The `Span` property of the axis can be used to span the horizontal axis across multiple column. @@ -219,4 +219,4 @@ The `Span` property of the axis can be used to span the horizontal axis across m } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hZBxNxitfAhrbnfP?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Column Spanning with Multiple Panes in Blazor 3D Chart](images/multiple-panes/blazor-chart-multiple-panes-with-column-span.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LtLzXRiqsVGkcDLy?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Column Spanning with Multiple Panes in Blazor 3D Chart](images/multiple-panes/blazor-chart-multiple-panes-with-column-span.webp)" %} diff --git a/chart-sdk/blazor/3d-charts/numeric-axis.md b/chart-sdk/blazor/3d-charts/numeric-axis.md index 4a7354f26..6987930eb 100644 --- a/chart-sdk/blazor/3d-charts/numeric-axis.md +++ b/chart-sdk/blazor/3d-charts/numeric-axis.md @@ -1,15 +1,15 @@ --- layout: post -title: Blazor 3D Chart Numeric Axis Examples | Syncfusion® -description: Learn how to use a numeric axis in Syncfusion Blazor 3D Chart to represent numeric values, including ValueType and Double default settings. -platform: Blazor +title: Numeric Axis in Blazor 3D Chart Component | Syncfusion® +description: Checkout and learn here all features about the Numeric Axis in Blazor 3D Chart component and much more. +platform: chart-sdk control: 3D Chart documentation: ug --- -# Blazor 3D Chart Numeric Axis +# Numeric Axis in Blazor 3D Chart Component The numeric axis can be used to represent the numeric values of data in 3D chart. By default, the `ValueType` of an axis is `Double`. @@ -44,7 +44,7 @@ The numeric axis can be used to represent the numeric values of data in 3D chart } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rXrnDRitUkOIjpxw?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Column 3D Chart with Numeric Axis](images/numeric-axis/blazor-column-chart-numeric-axis.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BDhJjRsUMqZPMXVt?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Column 3D Chart with Numeric Axis](images/numeric-axis/blazor-column-chart-numeric-axis.webp)" %} ## Range @@ -82,7 +82,7 @@ The range of an axis will be calculated automatically based on the provided data } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LZhRjnMtfDZtuEqy?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Changing Column 3D Chart Axis based on Range](images/numeric-axis/blazor-column-chart-axis-range.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hNVJZHCACUsVDOLk?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Changing Column 3D Chart Axis based on Range](images/numeric-axis/blazor-column-chart-axis-range.webp)" %} ## Range padding @@ -131,7 +131,7 @@ When the `RangePadding` is set to **None**, the minimum and maximum of an ax } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VXLdtdsNfNZoGcGJ?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Column 3D Chart without RangePadding](images/numeric-axis/blazor-column-chart-range-without-padding.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LDLpDnMqCKVVDIJp?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Column 3D Chart without RangePadding](images/numeric-axis/blazor-column-chart-range-without-padding.webp)" %} **Numeric - Round** @@ -169,7 +169,7 @@ When the `RangePadding` is set to **Round**, the minimum and maximum will be r } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VtrRtdiXzjWiSNNz?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Column 3D Chart with Round RangePadding](images/numeric-axis/blazor-column-chart-round-range-padding.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rthTtHiUMKhdGTjA?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Column 3D Chart with Round RangePadding](images/numeric-axis/blazor-column-chart-round-range-padding.webp)" %} **Numeric - Additional** @@ -207,7 +207,7 @@ When the `RangePadding` is set to **Additional**, interval of an axis will be } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hDrRNnMZJCjGoCZF?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Column 3D Chart with Additional RangePadding](images/numeric-axis/blazor-column-chart-additional-range-padding.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LjhpZxMAiUKXQVEl?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Column 3D Chart with Additional RangePadding](images/numeric-axis/blazor-column-chart-additional-range-padding.webp)" %} **Numeric - Normal** @@ -245,7 +245,7 @@ When the `RangePadding` is set to **Normal**, padding is applied to the axis } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LthxNHCXpiiKjvnQ?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Column 3D Chart with Normal RangePadding](images/numeric-axis/blazor-column-chart-normal-range-padding.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BjBTjdsUigqzLKgV?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Column 3D Chart with Normal RangePadding](images/numeric-axis/blazor-column-chart-normal-range-padding.webp)" %} **Numeric - Auto** @@ -284,7 +284,7 @@ When the `RangePadding` is set to **Auto**, horizontal numeric axis takes **N } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VDrRXxsZpMVKFIpL?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Column 3D Chart with Auto RangePadding](images/numeric-axis/blazor-column-chart-auto-rangepadding.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rtBJNHWUiAgPWmCw?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Column 3D Chart with Auto RangePadding](images/numeric-axis/blazor-column-chart-auto-rangepadding.webp)" %} ## Label format @@ -329,7 +329,7 @@ Numeric labels can be formatted by using the `LabelFormat` property. Also, it s } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hjLdXHWjTsAXHcja?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Label Formatting in Blazor Column 3D Chart](images/numeric-axis/blazor-column-chart-label-format.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LtVzDRCUsATCTBYJ?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Label Formatting in Blazor Column 3D Chart](images/numeric-axis/blazor-column-chart-label-format.webp)" %} The table below shows the results of applying various commonly used label formats to numeric data. @@ -430,7 +430,7 @@ To separate groups of thousands for numerical values, use the `UseGroupingSepara } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VtVHXdCXJWURhSzP?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Grouping Separator in Blazor Column 3D Chart](images/numeric-axis/blazor-column-chart-grouping-separator.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LDLfZHiUMgzGZgqO?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Grouping Separator in Blazor Column 3D Chart](images/numeric-axis/blazor-column-chart-grouping-separator.webp)" %} ## Custom label format @@ -472,4 +472,4 @@ Axis also supports custom label format using placeholders such as {value}K, wher } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rjLRjdstfWzVLtKf?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Column 3D Chart with Custom Label Format](images/numeric-axis/blazor-column-chart-custom-label-format.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rZBztRiqiUoUFbWM?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Column 3D Chart with Custom Label Format](images/numeric-axis/blazor-column-chart-custom-label-format.webp)" %} diff --git a/chart-sdk/blazor/3d-charts/print-export.md b/chart-sdk/blazor/3d-charts/print-export.md index d95f12512..2983c21eb 100644 --- a/chart-sdk/blazor/3d-charts/print-export.md +++ b/chart-sdk/blazor/3d-charts/print-export.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor 3D Chart Print and Export Examples | Syncfusion® -description: Learn how to print and export Syncfusion Blazor 3D Chart using PrintAsync, or export to image, SVG, and PDF formats. -platform: Blazor +title: Print and Export in Blazor 3D Chart Component | Syncfusion® +description: Checkout and learn here all features about Print and Export in Blazor 3D Chart component and much more. +platform: chart-sdk control: 3D Chart documentation: ug --- -# Blazor 3D Chart Print and Export +# Print and Export in Blazor 3D Chart Component ## Print diff --git a/chart-sdk/blazor/3d-charts/selection.md b/chart-sdk/blazor/3d-charts/selection.md index 7c88f0d57..9cba0e15b 100644 --- a/chart-sdk/blazor/3d-charts/selection.md +++ b/chart-sdk/blazor/3d-charts/selection.md @@ -1,15 +1,15 @@ --- layout: post -title: Blazor 3D Chart Selection Examples | Syncfusion® -description: Learn about selection in Syncfusion Blazor 3D Chart, including Point, Series, and Cluster selection modes with code samples. -platform: Blazor +title: Selection in Blazor 3D Chart Component | Syncfusion® +description: Checkout and learn here all features about Selection feature in Blazor 3D Chart component and much more. +platform: chart-sdk control: 3D Chart documentation: ug --- -# Blazor 3D Chart Selection +# Selection in Blazor 3D Chart Component The 3D chart provides selection support for the series and its data points on mouse click. @@ -67,7 +67,7 @@ To select a point, set the `SelectionMode` property to **Point**. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hDLxtHsXJJuaiovf?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Column 3D Chart with Point Selection](images/selection/blazor-chart-point-selection.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LXVpjnMgCpXGYJIf?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Column 3D Chart with Point Selection](images/selection/blazor-chart-point-selection.webp)" %} ## Series @@ -114,7 +114,7 @@ To select a series, set the `SelectionMode` property to **Series**. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LXLdjxCXfIZnReZC?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Column 3D Chart with Series Selection](images/selection/blazor-chart-series-selection.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rjrpXHWUCJCTRDgK?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Column 3D Chart with Series Selection](images/selection/blazor-chart-series-selection.webp)" %} ## Cluster @@ -161,7 +161,7 @@ To select the points that corresponds to the same index in all the series, set t } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BNBRZdCDJoiKRbtk?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Column 3D Chart with Cluster Selection](images/selection/blazor-chart-cluster-selection.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hXhpXxsKCJCblvOv?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Column 3D Chart with Cluster Selection](images/selection/blazor-chart-cluster-selection.webp)" %} ## Selection type @@ -208,7 +208,7 @@ To select multiple points or series, enable the `AllowMultiSelection` property. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VDrxNxCjToCEVMlG?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Column 3D Chart with Multiple Selection](images/selection/blazor-chart-multiple-selection.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rjVTZxiqipLEJFtn?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Column 3D Chart with Multiple Selection](images/selection/blazor-chart-multiple-selection.webp)" %} ## Selection during initial loading @@ -257,7 +257,7 @@ In a 3D chart, selecting a point or series during initial loading can only be do } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LtLxNRWNTorgyrlH?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Column 3D Chart with Selection during initial loading](images/selection/blazor-chart-initial-selection.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hNVJDnsqWfUAipdG?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Column 3D Chart with Selection during initial loading](images/selection/blazor-chart-initial-selection.webp)" %} ## Selection through legend @@ -302,4 +302,4 @@ To select a point or series through legend use the `ToggleVisibility` property. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LZVRZRiNTyVQbBjQ?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Column 3D Chart with Legend Selection](images/selection/blazor-chart-legend-selection.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BXrpDRsqiTqkPxPM?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Column 3D Chart with Legend Selection](images/selection/blazor-chart-legend-selection.webp)" %} diff --git a/chart-sdk/blazor/3d-charts/tool-tip.md b/chart-sdk/blazor/3d-charts/tool-tip.md index 9c0dd9c14..00bccee6a 100644 --- a/chart-sdk/blazor/3d-charts/tool-tip.md +++ b/chart-sdk/blazor/3d-charts/tool-tip.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor 3D Chart Tooltip Examples | Syncfusion® -description: Learn how to enable and customize tooltips in Syncfusion Blazor 3D Chart, including format, template, and styling options. -platform: Blazor +title: Tooltip in Blazor 3D Chart Component | Syncfusion® +description: Checkout and learn here all features about Tooltip and its customization in Blazor 3D Chart component and much more. +platform: chart-sdk control: 3D Chart documentation: ug --- -# Blazor 3D Chart Tooltip +# Tooltip in Blazor 3D Chart Component @@ -54,7 +54,7 @@ By default, tooltip is not visible. The tooltip can be enabled by setting the `E } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rNhdZRWjTpGBlNUX?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Column 3D Chart with Tooltip](images/tooltip/blazor-column-chart-tooltip.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LtBfXHiKipfupKhA?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Column 3D Chart with Tooltip](images/tooltip/blazor-column-chart-tooltip.webp)" %} ## Fixed tooltip @@ -99,7 +99,7 @@ By default, tooltip track the mouse movement, but the tooltip can be set in fixe } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LtVxDRMjffGmocFW?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Column 3D Chart with Fixed Tooltip](images/tooltip/blazor-column-chart-fixed-tooltip.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hDBzNHiACfySnnZq?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Column 3D Chart with Fixed Tooltip](images/tooltip/blazor-column-chart-fixed-tooltip.webp)" %} ## Format the tooltip @@ -145,7 +145,7 @@ By default, tooltip shows information of x and y value in points. In addition to } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hDVdtRWNTTPBEuKj?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Column 3D Chart with Tooltip Format](images/tooltip/blazor-column-chart-tooltip-format.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BXBpNnsgspnNkiNQ?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Column 3D Chart with Tooltip Format](images/tooltip/blazor-column-chart-tooltip-format.webp)" %} @@ -202,7 +202,7 @@ Any HTML elements can be displayed within the tooltip by using the `Chart3DToolt } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LZhRDnsjpTFPCtHh?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Column 3D Chart with Tooltip Template](images/tooltip/blazor-column-chart-tooltip-template.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VjhpDnCUWTxpwqMH?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Column 3D Chart with Tooltip Template](images/tooltip/blazor-column-chart-tooltip-template.webp)" %} ## Customize the appearance of tooltip @@ -247,4 +247,4 @@ The `Fill` and `Border` properties are used to customize the background color an } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rXhHjRsNJpEqBTda?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Column 3D Chart with Custom Tooltip](images/tooltip/blazor-column-chart-custom-tooltip.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hZrTXxsgsfmibwll?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Column 3D Chart with Custom Tooltip](images/tooltip/blazor-column-chart-custom-tooltip.webp)" %} diff --git a/chart-sdk/blazor/3d-charts/working-with-data.md b/chart-sdk/blazor/3d-charts/working-with-data.md index 5a8ee568d..b7dc88411 100644 --- a/chart-sdk/blazor/3d-charts/working-with-data.md +++ b/chart-sdk/blazor/3d-charts/working-with-data.md @@ -1,17 +1,17 @@ --- layout: post -title: Blazor 3D Chart Working with Data Examples | Syncfusion® -description: Learn how to bind data to Syncfusion Blazor 3D Chart using SfDataManager, RESTful JSON services, or IEnumerable with code samples. -platform: Blazor +title: Working with Data in Blazor 3D Chart Component | Syncfusion® +description: Checkout and learn here all features about working with data in Blazor 3D Chart component, it's elements and more. +platform: chart-sdk control: 3D Chart documentation: ug --- -# Blazor 3D Chart Working with Data +# Working with Data in Blazor 3D Chart Component -The 3D Chart uses [SfDataManager](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Data.SfDataManager.html), which supports both RESTful JSON data services binding and IEnumerable binding. The [DataSource](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Chart3D.Chart3DSeries.html#Syncfusion_Blazor_Chart3D_Chart3DSeries_DataSource) value can be set using either [SfDataManager](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Data.SfDataManager.html) property values or a list of business objects. +The 3D Chart uses [SfDataManager](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Data.SfDataManager.html), which supports both RESTful JSON data services binding and IEnumerable binding. The [DataSource](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Chart3D.ChartSeries.html#Syncfusion_Blazor_Charts_ChartSeries_DataSource) value can be set using either [SfDataManager](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Data.SfDataManager.html) property values or a list of business objects. It supports the following data binding methods: * List binding @@ -54,7 +54,7 @@ An IEnumerable object can be assigned to the `DataSource` property. The list dat } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VtLnZxDvKmfSPkUR?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Colum 3D Chart with Data Binding](images/working-data/blazor-chart-data-binding.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VXrJDdCgiIrsmTGI?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Colum 3D Chart with Data Binding](images/working-data/blazor-chart-data-binding.webp)" %} N> By default, [SfDataManager](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Data.SfDataManager.html) uses **BlazorAdaptor** for list data-binding. @@ -175,7 +175,7 @@ The remote data can be bound to the 3D chart using the [SfDataManager](https://h ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BZLRNRjbqwSSCiBB?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Remote Data Binding in Blazor 3D Chart](images/working-data/blazor-chart-remote-data-binding.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VZVfjxsgWyogzTfx?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Remote Data Binding in Blazor 3D Chart](images/working-data/blazor-chart-remote-data-binding.webp)" %} ### Binding with OData services @@ -227,7 +227,7 @@ The [WebApiAdaptor](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Data ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rjBHjRDFAGmxTPGZ?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor 3D Chart with WebApiAdaptor Binding](images/working-data/blazor-chart-webapi-adaptor-binding.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VjLztdMKsxBTngfW?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor 3D Chart with WebApiAdaptor Binding](images/working-data/blazor-chart-webapi-adaptor-binding.webp)" %} ### Sending additional parameters to the server @@ -305,7 +305,7 @@ The data points that uses the `null` or `undefined` as value are considered as e } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BtBHjdtvAGvTKTxB?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Column 3D Chart with Empty Points](images/working-data/blazor-chart-empty-point.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BZLJZHMgMnsEADrH?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Column 3D Chart with Empty Points](images/working-data/blazor-chart-empty-point.webp)" %} **Customizing empty point** @@ -352,4 +352,4 @@ The specific color for empty point can be set by the `Fill` property in `Chart3D } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LNhHtnWZsRbvZjPc?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Column 3D Chart with Customized Empty Points](images/working-data/blazor-chart-custom-empty-point.webp)" %} \ No newline at end of file +{% previewsample "https://blazorplayground.syncfusion.com/embed/LXhzXxiUsnqLRyNK?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Column 3D Chart with Customized Empty Points](images/working-data/blazor-chart-custom-empty-point.webp)" %} \ No newline at end of file diff --git a/chart-sdk/blazor/accumulation-chart/accessibility.md b/chart-sdk/blazor/accumulation-chart/accessibility.md index ce3d4f892..2db219345 100644 --- a/chart-sdk/blazor/accumulation-chart/accessibility.md +++ b/chart-sdk/blazor/accumulation-chart/accessibility.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Accumulation Chart Accessibility Examples | Syncfusion® -description: Learn how to enable accessibility in Syncfusion Blazor Accumulation Chart with keyboard navigation, screen reader support, and WCAG 2.2 compliance. -platform: Blazor +title: Accessibility in Blazor Accumulation Chart Component | Syncfusion® +description: Checkout and learn here all about Accessibility using Keyboard navigation in Blazor Accumulation Chart component and much more details. +platform: chart-sdk control: Accumulation Chart documentation: ug --- -# Blazor Accumulation Chart Accessibility +# Accessibility in Blazor Accumulation Chart Component The Blazor Accumulation Chart component followed the accessibility guidelines and standards, including [ADA](https://www.ada.gov/), [Section 508](https://www.section508.gov/), [WCAG 2.2](https://www.w3.org/TR/WCAG22/) standards, and [WCAG roles](https://www.w3.org/TR/wai-aria/#roles) that are commonly used to evaluate accessibility. diff --git a/chart-sdk/blazor/accumulation-chart/adaptive-layout.md b/chart-sdk/blazor/accumulation-chart/adaptive-layout.md index 1c5a77d44..15f9fe953 100644 --- a/chart-sdk/blazor/accumulation-chart/adaptive-layout.md +++ b/chart-sdk/blazor/accumulation-chart/adaptive-layout.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Accumulation Chart Adaptive Layout for Mobile | Syncfusion® -description: Learn how to enable adaptive layout in Syncfusion Blazor Accumulation Chart. Auto-resize chart elements for mobile and small-screen containers. -platform: Blazor +title: Adaptive Layout in Blazor Accumulation Chart Component | Syncfusion® +description: Check out and learn how to configure and utilize the Adaptive Layout in Blazor Accumulation Chart component and much more details. +platform: chart-sdk control: Accumulation Chart documentation: ug --- -# Blazor Accumulation Chart Adaptive Layout +# Adaptive Layout in Blazor Accumulation Chart Component When viewing the accumulation chart on mobile devices, some elements may not display properly due to limited screen space. The **Accumulation Chart Adaptive Layout** feature dynamically adjusts chart elements for optimal display based on screen size and orientation. Enable the `EnableAdaptiveRendering` property to allow the chart to automatically adapt to container size changes, ensuring clear alignment and visibility of elements such as the legend, data labels, chart title, and more. @@ -61,7 +61,7 @@ The table below outlines the behavior of chart elements under specific condition | Datalabel | Radius < 300 / Radius < 200 | Data label moves inside / Datalabel is disabled | | Legend | Height < 300 / Width < 300 | Moves bottom or top legend to the right if width is greater than 200px; otherwise, disabled / Moves right or left legend to bottom if height is greater than 200px; otherwise, disabled | -N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Accumulation Chart Example](https://blazor.syncfusion.com/demos/chart/pie?theme=fluent2) to know about the various features of accumulation charts and how it is used to represent numeric proportional data. +N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Accumulation Chart Example](https://blazor.syncfusion.com/demos/chart/pie?theme=bootstrap5) to know about the various features of accumulation charts and how it is used to represent numeric proportional data. ## See also diff --git a/chart-sdk/blazor/accumulation-chart/animation.md b/chart-sdk/blazor/accumulation-chart/animation.md index 53c23edee..0858c546b 100644 --- a/chart-sdk/blazor/accumulation-chart/animation.md +++ b/chart-sdk/blazor/accumulation-chart/animation.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Accumulation Chart Animation Examples | Syncfusion® -description: Learn how to enable and customize animation in Syncfusion Blazor Accumulation Chart. Configure duration, delay, and per-series animation settings. -platform: Blazor +title: Animation in Blazor Accumulation Chart Component | Syncfusion® +description: Checkout and learn here all about Animation in Blazor Accumulation Chart component and much more details. +platform: chart-sdk control: Accumulation Chart documentation: ug --- -# Blazor Accumulation Chart Animation +# Animation in Blazor Accumulation Chart Component You can customize animation for a series using [`Animation`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.AccumulationChartAnimation.html) property. You can enable or disable animation of the series using [`Enable`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.AccumulationChartAnimation.html#Syncfusion_Blazor_Charts_AccumulationChartAnimation_Enable) property. [`Duration`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.AccumulationChartAnimation.html#Syncfusion_Blazor_Charts_AccumulationChartAnimation_Duration) specifies the duration of an animation and [`Delay`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.AccumulationChartAnimation.html#Syncfusion_Blazor_Charts_AccumulationChartAnimation_Delay) allows us to start the animation at desire time. @@ -86,4 +86,4 @@ You can programmatically refresh chart using [Refresh](https://help.syncfusion.c } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hDVRtwrXKwCqajVa?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} \ No newline at end of file +{% previewsample "https://blazorplayground.syncfusion.com/embed/rZBAWrMgzIuHCzXH?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} \ No newline at end of file diff --git a/chart-sdk/blazor/accumulation-chart/annotation.md b/chart-sdk/blazor/accumulation-chart/annotation.md index 5a8e0ab38..cb66eb451 100644 --- a/chart-sdk/blazor/accumulation-chart/annotation.md +++ b/chart-sdk/blazor/accumulation-chart/annotation.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Accumulation Chart Annotation Examples | Syncfusion® -description: Learn how to add annotations in Syncfusion Blazor Accumulation Chart to highlight regions of interest with text, shapes, or images. -platform: Blazor +title: Annotation in Blazor Accumulation Chart Component | Syncfusion® +description: Checkout and learn here all about Annotation in Blazor Accumulation Chart component and much more details. +platform: chart-sdk control: Accumulation Chart documentation: ug --- -# Blazor Accumulation Chart Annotation +# Annotation in Blazor Accumulation Chart Component Annotations are texts, shapes, or images that are used to highlight a specific region of interest in a chart. The [AccumulationChartAnnotation](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.AccumulationChartAnnotation.html) property allows to add annotations to the chart. Specify the element that needs to be displayed in the accumulation chart area by using the [Content](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.AccumulationChartAnnotation.html#Syncfusion_Blazor_Charts_AccumulationChartAnnotation_Content) property of the annotation. @@ -51,7 +51,7 @@ Annotations are texts, shapes, or images that are used to highlight a specific r ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LtrnZwVZKndggkAX?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Annotation in Blazor Accumulation Chart](images/annotation/blazor-accumulation-chart-annotation.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VXhqChsUTScrGTjL?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Annotation in Blazor Accumulation Chart](images/annotation/blazor-accumulation-chart-annotation.webp)" %} ## Region @@ -97,7 +97,7 @@ The [Region](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.Accu ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VtVxNmhtKRoeFVZP?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Accumulation Chart with Region](images/annotation/blazor-accumulation-chart-region.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rZrKsrMATIcPtyjZ?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Accumulation Chart with Region](images/annotation/blazor-accumulation-chart-region.webp)" %} ## Co-ordinate units @@ -143,9 +143,9 @@ The [CoordinateUnits](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Ch ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rXVnNGhXqHPVgZgR?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Accumulation Chart displays Co-ordinate Units](images/annotation/blazor-accumulation-chart-coordinate-unit.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rNVgihWKpyvURKFW?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Accumulation Chart displays Co-ordinate Units](images/annotation/blazor-accumulation-chart-coordinate-unit.webp)" %} -N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Accumulation Chart Example](https://blazor.syncfusion.com/demos/chart/pie?theme=fluent2) to know about the various features of accumulation charts and how it is used to represent numeric proportional data. +N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Accumulation Chart Example](https://blazor.syncfusion.com/demos/chart/pie?theme=bootstrap5) to know about the various features of accumulation charts and how it is used to represent numeric proportional data. ## See also diff --git a/chart-sdk/blazor/accumulation-chart/center-label.md b/chart-sdk/blazor/accumulation-chart/center-label.md index 2dae84d79..9477d066f 100644 --- a/chart-sdk/blazor/accumulation-chart/center-label.md +++ b/chart-sdk/blazor/accumulation-chart/center-label.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Accumulation Chart Center Label Examples | Syncfusion® -description: Learn how to use center labels in Syncfusion Blazor Accumulation Chart. Display custom text, totals, or percentages at the center of pie and donut charts. -platform: Blazor +title: Center Label in Blazor Pie and Donut Chart Component | Syncfusion® +description: Checkout and learn here all about Center Label in Blazor Pie and Donut Chart component and much more details. +platform: chart-sdk control: Accumulation Chart documentation: ug --- -# Blazor Pie and Donut Chart Center Label +# Center Label in Blazor Pie and Donut Chart Component The center label feature allows you to place custom text in the middle of pie and donut charts using the [AccumulationChartCenterLabel](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.AccumulationChartCenterLabel.html). This is especially useful for displaying the chart's title, percentage distribution, or other key metrics pertinent to the visualized data. @@ -44,7 +44,7 @@ You can configure the text that appears in the center using the [Text](https://h } } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/htVRXmBNzZUaifGk?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Accumulation Chart with Center Label](./images/center-label/blazor-accumulation-chart-with-center-label.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hZBetHBdgvneoPva?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Accumulation Chart with Center Label](./images/center-label/blazor-accumulation-chart-with-center-label.webp)" %} ## Hover Text @@ -83,7 +83,7 @@ N> Line breaks can be provided to texts in the `HoverTextFormat` property using } } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LNhRjGrZpXdgJBwK?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Accumulation Chart with Center Label Dynamic Text](./images/center-label/blazor-accumulation-chart-with-center-label-hover-text.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hNBINdVRqvFzEVfG?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Accumulation Chart with Center Label Dynamic Text](./images/center-label/blazor-accumulation-chart-with-center-label-hover-text.webp)" %} ## Customization @@ -123,9 +123,9 @@ The position of the center label can be adjusted using the [XOffset](https://hel } } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rZVdNQBtpjwhfBMg?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Accumulation Chart with Center Label Customization](./images/center-label/blazor-accumulation-chart-with-center-label-customization.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VZryXRrRqbOzXVbD?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Accumulation Chart with Center Label Customization](./images/center-label/blazor-accumulation-chart-with-center-label-customization.webp)" %} -N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Accumulation Chart Example](https://blazor.syncfusion.com/demos/chart/pie?theme=fluent2) to know about the various features of accumulation charts and how it is used to represent numeric proportional data. +N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Accumulation Chart Example](https://blazor.syncfusion.com/demos/chart/pie?theme=bootstrap5) to know about the various features of accumulation charts and how it is used to represent numeric proportional data. ## See also diff --git a/chart-sdk/blazor/accumulation-chart/chart-print.md b/chart-sdk/blazor/accumulation-chart/chart-print.md index 80cb6c014..9596ce174 100644 --- a/chart-sdk/blazor/accumulation-chart/chart-print.md +++ b/chart-sdk/blazor/accumulation-chart/chart-print.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Accumulation Chart Print and Export Examples | Syncfusion® -description: Learn how to print and export Syncfusion Blazor Accumulation Chart. Use PrintAsync for browser printing and export to image, SVG, or PDF. -platform: Blazor +title: Print and Export in Blazor Accumulation Chart Component | Syncfusion® +description: Checkout and learn here all about Print and Export in Blazor Accumulation Chart component and much more details. +platform: chart-sdk control: Accumulation Chart documentation: ug --- -# Blazor Accumulation Chart Print and Export +# Print and Export in Blazor Accumulation Chart Component ## Print @@ -117,7 +117,7 @@ The optional parameters for this method are, ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BXrRDcBDJBahYjoF?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BZBAshMJWGLIalWX?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Customizing the exported chart using Exporting event @@ -236,9 +236,9 @@ In the code example below, the accumulation chart is exported to Excel format. T } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VZBHjwBNprxkwsFa?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/htryXJtGrZTUKjJB?appbar=true&editor=true&result=true&errorlist=true&theme=bootstrap5" %} -N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/pie?theme=fluent2) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. +N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/pie?theme=bootstrap5) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. ## See also diff --git a/chart-sdk/blazor/accumulation-chart/chart-types/funnel.md b/chart-sdk/blazor/accumulation-chart/chart-types/funnel.md index 9171cb266..be1c300c2 100644 --- a/chart-sdk/blazor/accumulation-chart/chart-types/funnel.md +++ b/chart-sdk/blazor/accumulation-chart/chart-types/funnel.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Funnel Chart Examples | Syncfusion® -description: Learn how to create a Funnel Chart in Syncfusion Blazor Accumulation Chart to visualize stages in a sales process and potential revenue. -platform: Blazor +title: Funnel in Blazor Accumulation Chart Component | Syncfusion® +description: Checkout and learn here all about Funnel in Blazor Accumulation Chart component and much more details. +platform: chart-sdk control: Accumulation Chart documentation: ug --- -# Funnel Chart in Blazor +# Funnel in Blazor Accumulation Chart Component [Funnel Chart](https://www.syncfusion.com/blazor-components/blazor-charts/chart-types/funnel-chart) is often used to represent stages in a sales process and to show the amount of potential revenue for each stage. To render the [Funnel Chart](https://www.syncfusion.com/blazor-components/blazor-charts/chart-types/funnel-chart), set the series [Type](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.AccumulationChartSeries.html#Syncfusion_Blazor_Charts_AccumulationChartSeries_Type) as [Funnel](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.AccumulationType.html#Syncfusion_Blazor_Charts_AccumulationType_Funnel). @@ -45,7 +45,7 @@ documentation: ug ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BthntmCeLoWVaYFO?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Funnel Chart](../images/funnel/blazor-funnel-chart.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rZhgCrCUpgfyPyNU?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Funnel Chart](../images/funnel/blazor-funnel-chart.webp)" %} ## Funnel Size @@ -85,9 +85,9 @@ The size of the funnel chart can be customized by using the [Width](https://help ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VZhxDmWIreVBVuEB?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Customizing Funnel Size in Blazor Funnel Chart](../images/funnel/blazor-funnel-chart-size-customization.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VNLAWVCgfAlkvtpq?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Customizing Funnel Size in Blazor Funnel Chart](../images/funnel/blazor-funnel-chart-size-customization.webp)" %} -N> The [Blazor Funnel Chart](https://blazor.syncfusion.com/demos/chart/funnel?theme=fluent2) example can be explored to learn to render and configure the funnel chart. +N> The [Blazor Funnel Chart](https://blazor.syncfusion.com/demos/chart/funnel) example can be explored to learn to render and configure the funnel chart. ## Funnel neck size @@ -127,7 +127,7 @@ The neck size of the funnel chart can be customized by using the [NeckWidth](htt ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rZhdDcioVSqcLZqM?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Customizing Funnel Neck Size in Blazor Funnel Chart](../images/funnel/blazor-funnel-chart-neck-size.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rZVKshsATguqmNHu?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Customizing Funnel Neck Size in Blazor Funnel Chart](../images/funnel/blazor-funnel-chart-neck-size.webp)" %} ## Gap between funnel segments @@ -167,7 +167,7 @@ The neck size of the funnel chart can be customized by using the [NeckWidth](htt ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VZhHXwCyBITHlNGm?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Funnel Chart with Gap](../images/funnel/blazor-funnel-chart-with-gap.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BDhgshWqpAulylIW?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Funnel Chart with Gap](../images/funnel/blazor-funnel-chart-with-gap.webp)" %} ## Funnel explode @@ -207,7 +207,7 @@ Points can be exploded on mouse click by setting the [Explode](https://help.sync ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VNBHDGWSByIedrlB?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Explode in Blazor Funnel Chart](../images/funnel/blazor-funnel-chart-explode.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BZLKMLsqzpZBowwH?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Explode in Blazor Funnel Chart](../images/funnel/blazor-funnel-chart-explode.webp)" %} ## Smart Data Label @@ -259,7 +259,7 @@ Labels will be arranged automatically on the left side of the funnel and pyramid } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LDhRXGseVIcTBxye?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Funnel Chart with Smart Data Label](../images/funnel/blazor-funnel-chart-smart-data-label.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hjVKWrCqppsLzynA?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Funnel Chart with Smart Data Label](../images/funnel/blazor-funnel-chart-smart-data-label.webp)" %} ## Border radius @@ -299,9 +299,9 @@ The corners of the first data point and last data point in the funnel chart seri } } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BZLRjcWohyPOvlbM?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Funnel Chart with border radius applied.](../images/funnel/blazor-funnel-border-radius.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LjheDHBnqcxEcNgL?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Funnel Chart with border radius applied.](../images/funnel/blazor-funnel-border-radius.webp)" %} -N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Accumulation Chart Example](https://blazor.syncfusion.com/demos/chart/funnel?theme=fluent2) to know various features of accumulation charts and how it is used to represent numeric proportional data. +N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Accumulation Chart Example](https://blazor.syncfusion.com/demos/chart/funnel?theme=bootstrap5) to know various features of accumulation charts and how it is used to represent numeric proportional data. ## See also diff --git a/chart-sdk/blazor/accumulation-chart/chart-types/pie-doughnut.md b/chart-sdk/blazor/accumulation-chart/chart-types/pie-doughnut.md index 4086df82f..66290c703 100644 --- a/chart-sdk/blazor/accumulation-chart/chart-types/pie-doughnut.md +++ b/chart-sdk/blazor/accumulation-chart/chart-types/pie-doughnut.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Pie and Doughnut Chart Examples | Syncfusion® -description: Learn how to create Pie and Doughnut Charts in Syncfusion Blazor Accumulation Chart to display proportional data and percentage distribution. -platform: Blazor +title: Pie and Doughnut in Blazor Accumulation Chart Component | Syncfusion® +description: Checkout and learn here all about Pie and Doughnut in Blazor Accumulation Chart component and much more details. +platform: chart-sdk control: Accumulation Chart documentation: ug --- -# Pie and Doughnut Chart in Blazor +# Pie and Doughnut in Blazor Accumulation Chart Component ## Pie Chart @@ -47,7 +47,7 @@ The [Pie Chart](https://www.syncfusion.com/blazor-components/blazor-charts/chart ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LtBxjmseLjkZamMo?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Pie Chart](../images/pie-dough-nut/blazor-pie-chart.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BXLgsrWqJDwACRFV?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Pie Chart](../images/pie-dough-nut/blazor-pie-chart.webp)" %} ## Radius customization @@ -87,7 +87,7 @@ The radius of the pie series will be set to 80% of its size (minimum of chart wi ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LXrHjwMeLsjYrpXm?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Customizing Radius in Blazor Pie Chart](../images/pie-dough-nut/blazor-pie-chart-radius-customization.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BZLgsriKfjQmubFt?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Customizing Radius in Blazor Pie Chart](../images/pie-dough-nut/blazor-pie-chart-radius-customization.webp)" %} ## Pie center @@ -128,7 +128,7 @@ The center x and center y can be used to change the pie's center position. The p ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LNrHNmiSLsTnDPdd?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Changing Blazor Pie Chart Center Position](../images/pie-dough-nut/blazor-pie-chart-center-position.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LjrqMLCUztbofzWG?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Changing Blazor Pie Chart Center Position](../images/pie-dough-nut/blazor-pie-chart-center-position.webp)" %} ## Various Radius Pie Chart @@ -170,7 +170,7 @@ The [Radius](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.Accu ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LXhHNQWSriHtrDcx?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Pie Chart displays Various Radius](../images/pie-dough-nut/blazor-pie-chart-with-various-radius.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LXhAsLWATjPOLGxv?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Pie Chart displays Various Radius](../images/pie-dough-nut/blazor-pie-chart-with-various-radius.webp)" %} ## Doughnut chart @@ -210,7 +210,7 @@ The doughnut chart can be created by setting the [InnerRadius](https://help.sync ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BXBHXwsohMbHLoWg?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Doughnut Chart](../images/pie-dough-nut/blazor-doughnut-chart.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LZrKCBsqzZagDOTz?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Doughnut Chart](../images/pie-dough-nut/blazor-doughnut-chart.webp)" %} ## Start and end angles @@ -251,7 +251,7 @@ The [StartAngle](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts. ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VjVnDwMyVVCPpFlE?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Customizing Start and End angles in Blazor Pie Chart](../images/pie-dough-nut/blazor-pie-chart-start-angle-customization.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VNhqsBCKTjkHQfyz?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Customizing Start and End angles in Blazor Pie Chart](../images/pie-dough-nut/blazor-pie-chart-start-angle-customization.webp)" %} ## Color and text mapping @@ -293,7 +293,7 @@ The [StartAngle](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts. ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hZhdXcioLrzkedaa?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Pie Chart with Color and Text Mapping](../images/pie-dough-nut/blazor-pie-chart-text-mapping.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VNrUCrWqTiZCBNJq?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Pie Chart with Color and Text Mapping](../images/pie-dough-nut/blazor-pie-chart-text-mapping.webp)" %} ## Border radius @@ -327,7 +327,7 @@ The corners of all the slices in the pie/donut chart series can be rounded using } } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rtrxtQsoVLRKQhGr?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Pie Chart with border radius applied.](../images/pie-dough-nut/blazor-pie-chart-border-radius.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BjreZdhRKPiaFxIm?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Pie Chart with border radius applied.](../images/pie-dough-nut/blazor-pie-chart-border-radius.webp)" %} ## Hide pie or doughnut border @@ -366,9 +366,9 @@ When the mouse hovers over the pie/doughnut chart, the border appears by default ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LNrxZcMIVhGKCmUd?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Hiding Blazor Pie Chart Border](../images/pie-dough-nut/Blazor-pie-chart-disable-border.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/htVqCLWUzWZnpzJw?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Hiding Blazor Pie Chart Border](../images/pie-dough-nut/Blazor-pie-chart-disable-border.webp)" %} -N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Accumulation Chart Example](https://blazor.syncfusion.com/demos/chart/pie?theme=fluent2) to know various features of accumulation charts and how it is used to represent numeric proportional data. +N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Accumulation Chart Example](https://blazor.syncfusion.com/demos/chart/pie?theme=bootstrap5) to know various features of accumulation charts and how it is used to represent numeric proportional data. ## See also diff --git a/chart-sdk/blazor/accumulation-chart/chart-types/pyramid.md b/chart-sdk/blazor/accumulation-chart/chart-types/pyramid.md index 876ab1c4a..8403f68af 100644 --- a/chart-sdk/blazor/accumulation-chart/chart-types/pyramid.md +++ b/chart-sdk/blazor/accumulation-chart/chart-types/pyramid.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Pyramid Chart Examples | Syncfusion® -description: Learn how to render a Pyramid Chart in Syncfusion Blazor Accumulation Chart to visualize hierarchical data in a triangle with divided sections. -platform: Blazor +title: Pyramid in Blazor Accumulation Chart Component | Syncfusion® +description: Checkout and learn here all about Pyramid in Blazor Accumulation Chart component and much more details. +platform: chart-sdk control: Accumulation Chart documentation: ug --- -# Pyramid Chart in Blazor +# Pyramid in Blazor Accumulation Chart Component The [Pyramid Chart](https://www.syncfusion.com/blazor-components/blazor-charts/chart-types/pyramid-chart) is used to visualize the hierarchical data in upside triangle shape with horizontally divided section. To render the `Pyramid Chart`, set the series [Type](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.AccumulationChartSeries.html#Syncfusion_Blazor_Charts_AccumulationChartSeries_Type) as `Pyramid`. @@ -46,7 +46,7 @@ The [Pyramid Chart](https://www.syncfusion.com/blazor-components/blazor-charts/c ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hjBHDcMorqHYpqCl?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Pyramid Chart](../images/pyramid/blazor-pyramid-chart.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rtBKiBiKfsBiJKAT?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Pyramid Chart](../images/pyramid/blazor-pyramid-chart.webp)" %} ## Pyramid mode @@ -86,7 +86,7 @@ The Pyramid Chart can be rendered in both `Linear` or `Surface` modes by setting ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hZrnXcsyhzZpbOMj?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Pyramid Chart with Surface Mode](../images/pyramid/blazor-pyramid-chart-with-surface-mode.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VXrAiBsKJsKsjaYg?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Pyramid Chart with Surface Mode](../images/pyramid/blazor-pyramid-chart-with-surface-mode.webp)" %} ## Pyramid size @@ -126,7 +126,7 @@ The size of the pyramid chart can be customized by using the [Width](https://hel ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VZrRZmCeLfrrsLax?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Customizing Pyramid Size in Blazor Pyramid Chart](../images/pyramid/blazor-pyramid-chart-size.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VZBAMLiAzszQHxDQ?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Customizing Pyramid Size in Blazor Pyramid Chart](../images/pyramid/blazor-pyramid-chart-size.webp)" %} ## Gap between pyramid segments @@ -166,7 +166,7 @@ The [Pyramid Chart](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Char ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hXVdjcCoBTUWIhdS?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Pyramid Chart with Gap](../images/pyramid/blazor-pyramid-chart-with-gap.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rXVUWhiKJsShBUhS?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Pyramid Chart with Gap](../images/pyramid/blazor-pyramid-chart-with-gap.webp)" %} ## Pyramid explode @@ -206,7 +206,7 @@ By setting the [Explode](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BtrnjGMehJAburOV?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Explode in Blazor Pyramid Chart](../images/pyramid/blazor-pyramid-chart-explode.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BthAMBMATgJWwkNT?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Explode in Blazor Pyramid Chart](../images/pyramid/blazor-pyramid-chart-explode.webp)" %} ## Border radius @@ -244,9 +244,9 @@ The corners of the first data point and last data point in the pyramid chart ser } } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LDrHtwiShfICviDm?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Pyramid Chart with border radius applied.](../images/pyramid/blazor-pyramid-border-radius.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LthyDHBRqlAFfKbF?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Pyramid Chart with border radius applied.](../images/pyramid/blazor-pyramid-border-radius.webp)" %} -N> Refer to our [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore our [Blazor Accumulation Chart Example](https://blazor.syncfusion.com/demos/chart/pyramid?theme=fluent2) to know various features of accumulation charts and how it is used to represent numeric proportional data. +N> Refer to our [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore our [Blazor Accumulation Chart Example](https://blazor.syncfusion.com/demos/chart/pyramid?theme=bootstrap5) to know various features of accumulation charts and how it is used to represent numeric proportional data. ## See also diff --git a/chart-sdk/blazor/accumulation-chart/data-label.md b/chart-sdk/blazor/accumulation-chart/data-label.md index 1867515c6..55a48ef2b 100644 --- a/chart-sdk/blazor/accumulation-chart/data-label.md +++ b/chart-sdk/blazor/accumulation-chart/data-label.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Accumulation Chart Data Label Examples | Syncfusion® -description: Learn how to add and customize data labels in Syncfusion Blazor Accumulation Chart, including position, format, and styling options. -platform: Blazor +title: Data Label in Blazor Accumulation Chart Component | Syncfusion® +description: Checkout and learn here all about Data Label in Blazor Accumulation Chart component and much more details. +platform: chart-sdk control: Accumulation Chart documentation: ug --- -# Blazor Accumulation Chart Data Label +# Data Label in Blazor Accumulation Chart Component The [Visible](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.AccumulationDataLabelSettings.html#Syncfusion_Blazor_Charts_AccumulationDataLabelSettings_Visible) property in the [AccumulationDataLabelSettings](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.AccumulationDataLabelSettings.html) can be used to add a data label to a series point. @@ -46,7 +46,7 @@ The [Visible](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.Acc ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BtrdDGMorndGijnw?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Accumulation Chart with Data Label](images/data-label/blazor-accumulation-chart-with-data-label.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BtBUCrWAJzilTTrb?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Accumulation Chart with Data Label](images/data-label/blazor-accumulation-chart-with-data-label.webp)" %} ## Text Wrap @@ -60,7 +60,7 @@ When the data label text exceeds the container, the text can be wrapped by using - + @@ -82,7 +82,7 @@ When the data label text exceeds the container, the text can be wrapped by using } } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rXhxZQsSrmndVcIH?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Text Wrap in Blazor Accumulation Chart](images/data-label/blazor-accumulation-chart-with-data-label-text-wrapping.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hjVUCVCgTfRsrPGK?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Text Wrap in Blazor Accumulation Chart](images/data-label/blazor-accumulation-chart-with-data-label-text-wrapping.webp)" %} ## Position @@ -123,7 +123,7 @@ The [Position](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.Ac ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rjLHDGMSVmOhBfYN?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Changing Data Label Position in Blazor Accumulation Chart](images/data-label/blazor-accumulation-chart-label-position.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VtLUMhsApTwpdpQa?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Changing Data Label Position in Blazor Accumulation Chart](images/data-label/blazor-accumulation-chart-label-position.webp)" %} ## Smart Labels @@ -175,7 +175,7 @@ Data labels will be arranged smartly without overlapping with each other. The [E ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BDrxtQMIVcuwRGty?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Accumulation Chart with Smart Labels](images/data-label/blazor-accumulation-chart-smart-labels.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VthqCrMgfzFDgIcO?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Accumulation Chart with Smart Labels](images/data-label/blazor-accumulation-chart-smart-labels.webp)" %} ## Connector line @@ -218,7 +218,7 @@ When the data label is placed [Outside](https://help.syncfusion.com/cr/blazor/Sy ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BNhxZQsSVFVWsRYI?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Accumulation Chart with Connector Line](images/data-label/blazor-accumulation-chart-connector-line.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rZLqWVsqzTYnAoVP?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Accumulation Chart with Connector Line](images/data-label/blazor-accumulation-chart-connector-line.webp)" %} ## Text mapping @@ -259,9 +259,9 @@ The [Name](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.Accumu ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hjVxDwCSBPKCpwaV?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Text Mapping in Blazor Accumulation Chart](images/data-label/blazor-accumulation-chart-text-mapping.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hjrUsrsApeCPdurG?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Text Mapping in Blazor Accumulation Chart](images/data-label/blazor-accumulation-chart-text-mapping.webp)" %} -N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Accumulation Chart Example](https://blazor.syncfusion.com/demos/chart/pie?theme=fluent2) to know various features of accumulation charts and how it is used to represent numeric proportional data. +N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Accumulation Chart Example](https://blazor.syncfusion.com/demos/chart/pie?theme=bootstrap5) to know various features of accumulation charts and how it is used to represent numeric proportional data. ## Format @@ -302,7 +302,7 @@ Data label for the accumulation chart can be formatted using [Format](https://he ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LtrHXmCerbzGqLZN?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Format in Blazor Accumulation Chart](images/data-label/blazor-accumulation-chart-with-data-label-format.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VDhqMLsqzSLpcrER?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Format in Blazor Accumulation Chart](images/data-label/blazor-accumulation-chart-with-data-label-format.webp)" %} ## Template @@ -368,7 +368,7 @@ Data labels can be customized using the template element for the accumulation ch ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VZLxZwiorbwBVjLC?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Template in Blazor Accumulation Chart](images/data-label/blazor-accumulation-chart-with-data-label-template.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BNLpZghnzXPGMCxq?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Template in Blazor Accumulation Chart](images/data-label/blazor-accumulation-chart-with-data-label-template.webp)" %} ## See also diff --git a/chart-sdk/blazor/accumulation-chart/empty-points.md b/chart-sdk/blazor/accumulation-chart/empty-points.md index 0ba5f9549..06121275b 100644 --- a/chart-sdk/blazor/accumulation-chart/empty-points.md +++ b/chart-sdk/blazor/accumulation-chart/empty-points.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Accumulation Chart Empty Points Examples | Syncfusion® -description: Learn how to handle empty data points in Syncfusion Blazor Accumulation Chart, including null and NaN values, and customize their rendering. -platform: Blazor +title: Empty Points in Blazor Accumulation Chart Component | Syncfusion® +description: Checkout and learn here all about Empty Points in Blazor Accumulation Chart component and much more details. +platform: chart-sdk control: Accumulation Chart documentation: ug --- -# Blazor Accumulation Chart Empty Points +# Empty Points in Blazor Accumulation Chart Component Data points that contain **NaN** or **null** value are considered as empty points. The empty data points can be ignored or not plotted in the chart. Those points can be customized using the [AccumulationChartEmptyPointSettings](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.AccumulationChartEmptyPointSettings.html) in series. @@ -47,7 +47,7 @@ Data points that contain **NaN** or **null** value are considered as empty point ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BjrnjGLXqIQJyEIT?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Empty Points in Blazor Accumulation Chart](images/empty/blazor-accumulation-chart-with-empty-point.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LjLUZQhRVOciwQQa?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Empty Points in Blazor Accumulation Chart](images/empty/blazor-accumulation-chart-with-empty-point.webp)" %} ## Customization @@ -92,7 +92,7 @@ The [Mode](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.Accumu ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hDLRZGhZqSYOeXNa?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Customizing Empty Points in Blazor Accumulation Chart](images/empty/blazor-accumulation-chart-empty-point-customization.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LNVqiLMqfySLYAVU?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Customizing Empty Points in Blazor Accumulation Chart](images/empty/blazor-accumulation-chart-empty-point-customization.webp)" %} ## Handling No Data @@ -145,9 +145,9 @@ When no data is available to render in the accumulation chart, the [NoDataTempla ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rDBdtwrtAxNOqjQw?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[No Data Template in Blazor Accumulation Chart](images/empty/blazor-accumulation-chart-no-data-template.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LNVojONbrgWPsFkS?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[No Data Template in Blazor Accumulation Chart](images/empty/blazor-accumulation-chart-no-data-template.webp)" %} -N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/pie?theme=fluent2) to know about the various chart types and how to represent time-dependent data, showing trends at equal intervals. +N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/pie?theme=bootstrap5) to know about the various chart types and how to represent time-dependent data, showing trends at equal intervals. ## See also diff --git a/chart-sdk/blazor/accumulation-chart/events.md b/chart-sdk/blazor/accumulation-chart/events.md index 3b258025e..bc8210eca 100644 --- a/chart-sdk/blazor/accumulation-chart/events.md +++ b/chart-sdk/blazor/accumulation-chart/events.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Accumulation Chart Events Examples and Reference | Syncfusion® -description: Learn how to subscribe to Syncfusion Blazor Accumulation Chart events such as OnDataLabelRender, OnPointRender, and OnLegendItemRender. -platform: Blazor +title: Events in Blazor Accumulation Chart Component | Syncfusion® +description: Checkout and learn here all about Events in Blazor Accumulation Chart component and much more details. +platform: chart-sdk control: Accumulation Chart documentation: ug --- -# Blazor Accumulation Chart Events +# Events in Blazor Accumulation Chart Component In this section, the list of events of Accumulation Chart component is provided which will be triggered for appropriate accumulation chart actions. diff --git a/chart-sdk/blazor/accumulation-chart/getting-started-with-server-app.md b/chart-sdk/blazor/accumulation-chart/getting-started-with-server-app.md index cbe3ba50b..d89cd1a2b 100644 --- a/chart-sdk/blazor/accumulation-chart/getting-started-with-server-app.md +++ b/chart-sdk/blazor/accumulation-chart/getting-started-with-server-app.md @@ -1,118 +1,109 @@ --- layout: post -title: Getting Started with Accumulation Chart in Server App | Syncfusion® -description: Learn how to get started with Syncfusion Blazor Accumulation Chart in a Blazor Server app, including setup, NuGet packages, and first chart example. -platform: Blazor +title: Accumulation Chart with Blazor Server App | Syncfusion® +description: Checkout and learn about getting started with Blazor Accumulation Chart component in Blazor Server App and much more details. +platform: chart-sdk control: Accumulation Chart documentation: ug --- -# Getting Started with Blazor Accumulation Chart in Server App +# Getting Started with Blazor Accumulation Chart in Blazor Server App -This section briefly explains how to include the [Blazor Accumulation Chart](https://www.syncfusion.com/blazor-components/blazor-charts) component in a Blazor Server App using [Visual Studio](https://visualstudio.microsoft.com/vs/), [Visual Studio Code](https://code.visualstudio.com/), and the [.NET CLI](https://learn.microsoft.com/en-us/dotnet/core/tools/). - -## Create a new Blazor Server App +This section briefly explains how to include [Blazor Accumulation Chart](https://www.syncfusion.com/blazor-components/blazor-charts) component in a Blazor Server App using [Visual Studio](https://visualstudio.microsoft.com/vs/), [Visual Studio Code](https://code.visualstudio.com/), and the [.NET CLI](https://learn.microsoft.com/en-us/dotnet/core/tools/). {% tabcontents %} {% tabcontent Visual Studio %} -Create a **Blazor Server App** by using the **Blazor Web App** template in Visual Studio via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vs) or the [Syncfusion® Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-integration/template-studio). +## Prerequisites -{% endtabcontent %} +* [System requirements for Blazor components](https://blazor.syncfusion.com/documentation/system-requirements) -{% tabcontent Visual Studio Code %} +## Create a new Blazor App in Visual Studio -Run the following command to create a new Blazor Server App. +Create a **Blazor Server App** by using the **Blazor Web App** template in Visual Studio via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vs) or the [Syncfusion® Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-integration/template-studio). For detailed instructions, refer to the [Blazor Server App Getting Started](https://blazor.syncfusion.com/documentation/getting-started/blazor-server-side-visual-studio) documentation. -{% tabs %} -{% highlight razor tabtitle="Terminal" %} +{% endtabcontent %} -dotnet new blazor -o BlazorApp --interactivity Server -cd BlazorApp +{% tabcontent Visual Studio Code %} -{% endhighlight %} -{% endtabs %} +## Prerequisites -Alternatively, create a **Blazor Server App** using Visual Studio Code via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vsc) or the [Syncfusion® Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-code-integration/create-project), or the [C# Dev Kit](https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csdevkit) extension. +* [System requirements for Blazor components](https://blazor.syncfusion.com/documentation/system-requirements) -{% endtabcontent %} +## Create a new Blazor App in Visual Studio Code -{% tabcontent .NET CLI %} +Create a **Blazor Server App** using Visual Studio Code via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vsc) or the [Syncfusion® Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-code-integration/create-project). For detailed instructions, refer to the [Blazor Server App Getting Started](https://blazor.syncfusion.com/documentation/getting-started/blazor-server-side-visual-studio?tabcontent=visual-studio-code) documentation. -Run the following command to create a new Blazor Server App. +Alternatively, create a Server application using the following command in the integrated terminal (Ctrl+`). {% tabs %} -{% highlight razor tabtitle="Command Prompt" %} -dotnet new blazor -o BlazorApp --interactivity Server +{% highlight c# tabtitle="Blazor Server App" %} + +dotnet new blazor -o BlazorApp -int Server cd BlazorApp {% endhighlight %} + {% endtabs %} {% endtabcontent %} -{% endtabcontents %} - -N> Configure the appropriate [Interactive render mode](https://learn.microsoft.com/en-us/aspnet/core/blazor/components/render-modes?view=aspnetcore-10.0#render-modes) and [Interactivity location](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vs) while creating a Blazor Server App. For detailed information, refer to the [interactive render mode documentation](https://blazor.syncfusion.com/documentation/common/interactive-render-mode). - -## Install the required Blazor package - -Install the [Syncfusion.Blazor.Charts](https://www.nuget.org/packages/Syncfusion.Blazor.Charts/) NuGet package. All Syncfusion Blazor packages are available on [nuget.org](https://www.nuget.org/packages?q=syncfusion.blazor). See the [NuGet packages](https://blazor.syncfusion.com/documentation/nuget-packages) topic for details. - -{% tabcontents %} - -{% tabcontent Visual Studio %} +{% tabcontent .NET CLI %} -1. Go to *Tools → NuGet Package Manager → Manage NuGet Packages for Solution*. -2. Search the required NuGet package (`Syncfusion.Blazor.Charts`) and install it. +## Prerequisites -Alternatively, you can install the same package using the Package Manager Console with the following command. +Install the latest version of [.NET SDK](https://dotnet.microsoft.com/en-us/download). If the .NET SDK is already installed, determine the installed version by running the following command in a command prompt (Windows), terminal (macOS), or command shell (Linux). {% tabs %} -{% highlight razor tabtitle="Package Manager Console" %} +{% highlight c# tabtitle=".NET CLI" %} -Install-Package Syncfusion.Blazor.Charts -Version {{ site.releaseversion }} +dotnet --version {% endhighlight %} {% endtabs %} -{% endtabcontent %} - -{% tabcontent Visual Studio Code %} +## Create a Blazor Server App using .NET CLI -Open the terminal and run the following command. +Run the following command to create a new Blazor Server App in a command prompt (Windows) or terminal (macOS) or command shell (Linux). For detailed instructions, refer to the [Blazor Server App Getting Started](https://blazor.syncfusion.com/documentation/getting-started/blazor-server-side-visual-studio?tabcontent=.net-cli) documentation. {% tabs %} -{% highlight razor tabtitle="Terminal" %} +{% highlight c# tabtitle=".NET CLI" %} -dotnet add package Syncfusion.Blazor.Charts -v {{ site.releaseversion }} +dotnet new blazor -o BlazorApp -int Server +cd BlazorApp {% endhighlight %} {% endtabs %} {% endtabcontent %} -{% tabcontent .NET CLI %} +{% endtabcontents %} + +N> Configure the appropriate [Interactive render mode](https://learn.microsoft.com/en-us/aspnet/core/blazor/components/render-modes?view=aspnetcore-10.0#render-modes) and [Interactivity location](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vs) while creating a Blazor Server App. For detailed information, refer to the [interactive render mode documentation](https://blazor.syncfusion.com/documentation/common/interactive-render-mode). + +## Install required Blazor packages + +Install the [Syncfusion.Blazor.Charts](https://www.nuget.org/packages/Syncfusion.Blazor.Charts/) NuGet package in your project using the NuGet Package Manager in Visual Studio (*Tools → NuGet Package Manager → Manage NuGet Packages for Solution*), or the integrated terminal in Visual Studio Code (dotnet add package Syncfusion.Blazor.Charts --version {{ site.releaseversion }}), or the .NET CLI. -Open the command prompt and run the following command. +Alternatively, run the following commands in the Package Manager Console to achieve the same. {% tabs %} -{% highlight razor tabtitle="Command Prompt" %} +{% highlight C# tabtitle="Package Manager" %} -dotnet add package Syncfusion.Blazor.Charts -v {{ site.releaseversion }} +Install-Package Syncfusion.Blazor.Charts -Version {{ site.releaseversion }} {% endhighlight %} {% endtabs %} -{% endtabcontent %} - -{% endtabcontents %} +N> All Syncfusion Blazor packages are available on [nuget.org](https://www.nuget.org/packages?q=syncfusion.blazor). See the [NuGet packages](https://blazor.syncfusion.com/documentation/nuget-packages) topic for details. ## Add import namespaces -After the package is installed, open the **~/_Imports.razor** file and import the `Syncfusion.Blazor` and `Syncfusion.Blazor.Charts` namespaces. +After the packages are installed, open the **~/_Imports.razor** file and import the `Syncfusion.Blazor` and `Syncfusion.Blazor.Charts` namespaces. + +N> The `~/` notation represents the root directory of your project. This file is typically located in your project's root folder. {% tabs %} {% highlight C# tabtitle="~/_Imports.razor" %} @@ -123,120 +114,93 @@ After the package is installed, open the **~/_Imports.razor** file and import th {% endhighlight %} {% endtabs %} -## Register the Blazor service +## Register Blazor service -Open the **Program.cs** file in Blazor Server App and register the Blazor service and include the required namespace reference `using Syncfusion.Blazor;` at the top. +Register the Blazor service in the **Program.cs** file of your Blazor Server App. This step enables the Syncfusion components to work in your application. {% tabs %} {% highlight C# tabtitle="Program.cs" %} +.... +using Syncfusion.Blazor; +.... builder.Services.AddSyncfusionBlazor(); +.... {% endhighlight %} {% endtabs %} -## Add script resource +## Add script resources -Include the required [script references](https://blazor.syncfusion.com/documentation/common/adding-script-references) at the end of the `` section in the **App.razor** file to enable Accumulation Chart functionality. +The Syncfusion JavaScript library needs to be included in your application. The script can be accessed from NuGet through [Static Web Assets](https://blazor.syncfusion.com/documentation/common/adding-script-references#static-web-assets). Include the script reference in the **~/Components/App.razor** file (this is the root layout file of your application). -{% tabs %} -{% highlight razor tabtitle="App.razor" %} +```html -{% endhighlight %} -{% endtabs %} +``` + +N> Check out the [Adding Script Reference](https://blazor.syncfusion.com/documentation/common/adding-script-references) topic to learn different approaches for adding script references in the Blazor application. ## Add Blazor Accumulation Chart component -Open a Razor file located in the **~/Pages/*.razor** (for example, **Home.razor**) and add the [Blazor Accumulation Chart](https://www.syncfusion.com/blazor-components/blazor-charts) component inside the razor file. +Add the Blazor Accumulation Chart component in the **~/Components/Pages/Home.razor** file. If the interactivity location is set to `Per page/component`, define a render mode at the top of the `~Pages/Home.razor` file. -N>If the interactivity location is set to `Per page/component`, define a render mode at the top of the razor file. (For example `InteractiveServer`). If the Interactivity is set to `Global`, the render mode is automatically configured in the `App.razor` file by default. +N> If the Interactivity Location is set to `Global`, the render mode is automatically configured in the `App.razor` file by default. {% tabs %} -{% highlight razor tabtitle="Home.razor" %} +{% highlight razor %} -@page "/" +@* desired render mode defined here *@ @rendermode InteractiveServer -@* SfAccumulationChart is the root container component for the accumulation chart *@ +{% endhighlight %} +{% endtabs %} + +{% tabs %} +{% highlight razor tabtitle="Home.razor" %} + + - @* Container for defining chart series *@ + - @* AccumulationChartSeries defines a data series with its data source and axis mappings *@ + -@code -{ +@code{ public class ChartData { - public string Country { get; set; } - public double Medals { get; set; } + public string Country { get; set;} + public double Medals { get; set;} } public List MedalDetails = new List { new ChartData { Country= "United States of America", Medals= 46 }, + new ChartData { Country= "Great Britain", Medals= 27 }, new ChartData { Country= "China", Medals= 26 }, new ChartData { Country= "United Kingdom", Medals= 23 }, new ChartData { Country= "Australia", Medals= 16 }, new ChartData { Country= "India", Medals= 36 }, new ChartData { Country= "Nigeria", Medals= 12 }, new ChartData { Country= "Brazil", Medals= 20 }, - }; + }; } {% endhighlight %} {% endtabs %} -## Run the application - -{% tabcontents %} - -{% tabcontent Visual Studio %} - -Press Ctrl+F5 (Windows) or +F5 (macOS) to launch the application. The [Blazor Accumulation Chart](https://www.syncfusion.com/blazor-components/blazor-charts) component will render in your default web browser. - -{% endtabcontent %} - -{% tabcontent Visual Studio Code %} - -Open the terminal and run the following command. - -{% tabs %} -{% highlight razor tabtitle="Terminal" %} +Press Ctrl+F5 (Windows) or +F5 (macOS) to launch the application. This will render the Blazor Accumulation Chart component in the default web browser. -dotnet run - -{% endhighlight %} -{% endtabs %} - -{% endtabcontent %} - -{% tabcontent .NET CLI %} - -Open the command prompt and run the following command. - -{% tabs %} -{% highlight razor tabtitle="Command Prompt" %} - -dotnet run - -{% endhighlight %} -{% endtabs %} - -{% endtabcontent %} - -{% endtabcontents %} - -{% previewsample "https://blazorplayground.syncfusion.com/embed/LDhdDciIMbTJzWSG?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Accumulation Chart](images/getting-started/blazor-pie-chart-webapp.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LjhzDWVeVKeUbWGh?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Pie Chart](images/getting-started/blazor-pie-chart-webapp.webp)" %} N> [View Sample in GitHub](https://github.com/SyncfusionExamples/Blazor-Getting-Started-Examples/tree/main/AccumulationChart) ## See also -1. [Getting Started with Blazor WebAssembly App in Visual Studio or .NET CLI](https://blazor.syncfusion.com/documentation/getting-started/blazor-webassembly-app) + +1. [Getting Started with Blazor Web Assembly App in Visual Studio or .NET CLI](https://blazor.syncfusion.com/documentation/getting-started/blazor-webassembly-app) 2. [Getting Started with Blazor Web App in Visual Studio or .NET CLI](https://blazor.syncfusion.com/documentation/getting-started/blazor-web-app) diff --git a/chart-sdk/blazor/accumulation-chart/getting-started-with-web-app.md b/chart-sdk/blazor/accumulation-chart/getting-started-with-web-app.md index 470d44305..bffa27b77 100644 --- a/chart-sdk/blazor/accumulation-chart/getting-started-with-web-app.md +++ b/chart-sdk/blazor/accumulation-chart/getting-started-with-web-app.md @@ -1,120 +1,129 @@ --- layout: post -title: Getting Started with Accumulation Chart in Web App | Syncfusion® -description: Learn how to get started with Syncfusion Blazor Accumulation Chart in a Blazor Web App, including server and client setup, packages, and first chart example. -platform: Blazor -control: Accumulation Chart +title: Getting Started with Accumulation Chart Blazor Web App | Syncfusion® +description: Checkout and learn about the documentation for getting started with Blazor Accumulation Chart Component in Blazor Web App. +platform: chart-sdk +component: Accumulation Chart documentation: ug --- -# Getting Started with Blazor Accumulation Chart in Web App +# Getting Started with Blazor Accumulation Chart in Blazor Web App -This section briefly explains how to include the [Blazor Accumulation Chart](https://www.syncfusion.com/blazor-components/blazor-charts) component in your Blazor Web App using [Visual Studio](https://visualstudio.microsoft.com/vs/), [Visual Studio Code](https://code.visualstudio.com/), and the [.NET CLI](https://learn.microsoft.com/en-us/dotnet/core/tools/). - -## Create a new Blazor Web App +This section briefly explains how to include [Blazor Accumulation Chart](https://www.syncfusion.com/blazor-components/blazor-charts) component in your Blazor Web App using [Visual Studio](https://visualstudio.microsoft.com/vs/), [Visual Studio Code](https://code.visualstudio.com/), and the [.NET CLI](https://learn.microsoft.com/en-us/dotnet/core/tools/). {% tabcontents %} {% tabcontent Visual Studio %} -Create a **Blazor Web App** using Visual Studio via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vs) or the [Syncfusion® Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-integration/template-studio). +## Prerequisites -{% endtabcontent %} +* [System requirements for Blazor components](https://blazor.syncfusion.com/documentation/system-requirements) -{% tabcontent Visual Studio Code %} +## Create a new Blazor Web App in Visual Studio -Run the following command to create a new Blazor Web App. +Create a **Blazor Web App** using Visual Studio via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vs) or the [Syncfusion® Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-integration/template-studio). For detailed instructions, refer to the [Blazor Web App Getting Started](https://blazor.syncfusion.com/documentation/getting-started/blazor-web-app) documentation. -{% tabs %} -{% highlight razor tabtitle="Terminal" %} +{% endtabcontent %} -dotnet new blazor -o BlazorWebApp --interactivity Auto -cd BlazorWebApp -cd BlazorWebApp.Client +{% tabcontent Visual Studio Code %} -{% endhighlight %} -{% endtabs %} +## Prerequisites -Alternatively, create a **Blazor Web App** using Visual Studio Code via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vsc), the [Syncfusion® Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-code-integration/create-project), or the [C# Dev Kit](https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csdevkit) extension. +* [System requirements for Blazor components](https://blazor.syncfusion.com/documentation/system-requirements) -{% endtabcontent %} +## Create a new Blazor Web App in Visual Studio Code -{% tabcontent .NET CLI %} +Create a **Blazor Web App** using Visual Studio Code via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vsc) or the [Syncfusion® Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-code-integration/create-project). For detailed instructions, refer to the [Blazor Web App Getting Started](https://blazor.syncfusion.com/documentation/getting-started/blazor-web-app?tabcontent=visual-studio-code) documentation. -Run the following command to create a new Blazor Web App. +For example, in a Blazor Web App with the `Auto` interactive render mode, use the following commands in the integrated terminal (Ctrl+`). {% tabs %} -{% highlight razor tabtitle="Command Prompt" %} +{% highlight c# tabtitle="Blazor Web App" %} -dotnet new blazor -o BlazorWebApp --interactivity Auto +dotnet new blazor -o BlazorWebApp -int Auto cd BlazorWebApp -cd BlazorWebApp.Client {% endhighlight %} {% endtabs %} -{% endtabcontent %} - -{% endtabcontents %} - -N> Configure the appropriate [Interactive render mode](https://learn.microsoft.com/en-us/aspnet/core/blazor/components/render-modes?view=aspnetcore-10.0#render-modes) and [Interactivity location](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vs) while creating a Blazor Web App. For detailed information, refer to the [interactive render mode documentation](https://blazor.syncfusion.com/documentation/common/interactive-render-mode). +N> If the application is configured with WebAssembly or Auto render modes, you may optionally navigate to the client project directory to manage client-specific dependencies. Once the required changes are completed, ensure that you navigate back to the root project directory. -## Install the required Blazor package - -Install the [Syncfusion.Blazor.Charts](https://www.nuget.org/packages/Syncfusion.Blazor.Charts/) NuGet package. All Syncfusion Blazor packages are available on [nuget.org](https://www.nuget.org/packages?q=syncfusion.blazor). See the [NuGet packages](https://blazor.syncfusion.com/documentation/nuget-packages) topic for details. If using the `WebAssembly` or `Auto` render modes in the Blazor Web App, install this package in the `.Client` project. +``` +cd BlazorWebApp.Client +cd .. +``` -{% tabcontents %} +{% endtabcontent %} -{% tabcontent Visual Studio %} +{% tabcontent .NET CLI %} -1. Go to *Tools → NuGet Package Manager → Manage NuGet Packages for Solution*. -2. Search the required NuGet package (`Syncfusion.Blazor.Charts`) and install it. +## Prerequisites -Alternatively, you can install the same package using the Package Manager Console with the following command. +Install the latest version of [.NET SDK](https://dotnet.microsoft.com/en-us/download). If you previously installed the SDK, you can determine the installed version by executing the following command in a command prompt (Windows) or terminal (macOS) or command shell (Linux). {% tabs %} -{% highlight razor tabtitle="Package Manager Console" %} +{% highlight c# tabtitle=".NET CLI" %} -Install-Package Syncfusion.Blazor.Charts -Version {{ site.releaseversion }} +dotnet --version {% endhighlight %} {% endtabs %} -{% endtabcontent %} +## Create a Blazor Web App using .NET CLI -{% tabcontent Visual Studio Code %} +Run the following command to create a new Blazor Web App in a command prompt (Windows) or terminal (macOS) or command shell (Linux). For detailed instructions, refer to the [Blazor Web App Getting Started](https://blazor.syncfusion.com/documentation/getting-started/blazor-web-app?tabcontent=.net-cli) documentation. -Open the terminal and run the following command. +For example, in a Blazor Web App with the `Auto` interactive render mode, use the following commands: {% tabs %} -{% highlight razor tabtitle="Terminal" %} +{% highlight c# tabtitle="Blazor Web App" %} -dotnet add package Syncfusion.Blazor.Charts -v {{ site.releaseversion }} +dotnet new blazor -o BlazorWebApp -int Auto +cd BlazorWebApp {% endhighlight %} {% endtabs %} +This command creates a new Blazor Web App and places it in a new directory called `BlazorWebApp` inside your current location. See the [Create a Blazor App](https://dotnet.microsoft.com/en-us/learn/aspnet/blazor-tutorial/create) and [dotnet new CLI command](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?pivots=cli&view=aspnetcore-10.0) topics for more details. + +N> If the application is configured with WebAssembly or Auto render modes, you may optionally navigate to the client project directory to manage client-specific dependencies. Once the required changes are completed, ensure that you navigate back to the root project directory. + +``` +cd BlazorWebApp.Client +cd .. +``` + {% endtabcontent %} -{% tabcontent .NET CLI %} +{% endtabcontents %} + +N> Configure the appropriate [Interactive render mode](https://learn.microsoft.com/en-us/aspnet/core/blazor/components/render-modes?view=aspnetcore-10.0#render-modes) and [Interactivity location](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vs) while creating a Blazor Web App. For detailed information, refer to the [interactive render mode documentation](https://blazor.syncfusion.com/documentation/common/interactive-render-mode). -Open the command prompt and run the following command. +## Install required Blazor packages + +Install the [Syncfusion.Blazor.Charts](https://www.nuget.org/packages/Syncfusion.Blazor.Charts/) NuGet package in your project using the NuGet Package Manager in Visual Studio (*Tools → NuGet Package Manager → Manage NuGet Packages for Solution*), or the integrated terminal in Visual Studio Code (dotnet add package Syncfusion.Blazor.Charts --version {{ site.releaseversion }}), or the .NET CLI. + +Alternatively, run the following commands in the Package Manager Console to achieve the same. {% tabs %} -{% highlight razor tabtitle="Command Prompt" %} +{% highlight C# tabtitle="Package Manager" %} -dotnet add package Syncfusion.Blazor.Charts -v {{ site.releaseversion }} +Install-Package Syncfusion.Blazor.Charts -Version {{ site.releaseversion }} {% endhighlight %} {% endtabs %} -{% endtabcontent %} +If using the `WebAssembly` or `Auto` render modes in the Blazor Web App, install these packages in the client project. -{% endtabcontents %} +N> All Syncfusion Blazor packages are available on [nuget.org](https://www.nuget.org/packages?q=syncfusion.blazor). See the [NuGet packages](https://blazor.syncfusion.com/documentation/nuget-packages) topic for details. ## Add import namespaces -After the package is installed, open the **~/_Imports.razor** file in the `.Client` project and import the `Syncfusion.Blazor` and `Syncfusion.Blazor.Charts` namespaces. +After the packages are installed, open the **~/_Imports.razor** file in the client project and import the `Syncfusion.Blazor` and `Syncfusion.Blazor.Charts` namespaces. + +N> +- The `~/` notation represents the root directory of your project. This file is typically located in your project's root folder. +- If the **Interactive Render Mode** is set to `WebAssembly` or `Auto`, add these namespaces in both the server and client project **~/_Imports.razor** files. {% tabs %} {% highlight C# tabtitle="~/_Imports.razor" %} @@ -125,54 +134,65 @@ After the package is installed, open the **~/_Imports.razor** file in the `.Clie {% endhighlight %} {% endtabs %} -## Register the Blazor service +## Register Blazor service -Open the **Program.cs** file in Blazor Web App and register the Blazor service and include the required namespace reference `using Syncfusion.Blazor;` at the top. If the **Interactive Render Mode** is set to `WebAssembly` or `Auto`, register the Blazor service in **Program.cs** files of both the server and client projects in your Blazor Web App. +Register the Blazor service in the **Program.cs** file of your Blazor Web App. This step enables the Syncfusion components to work in your application. {% tabs %} -{% highlight C# tabtitle="Program.cs" %} +{% highlight c# tabtitle="Program.cs" %} +.... +using Syncfusion.Blazor; +.... builder.Services.AddSyncfusionBlazor(); +.... {% endhighlight %} {% endtabs %} -## Add script resource +N> If the **Interactive Render Mode** is set to `WebAssembly` or `Auto`, register the Blazor service in **Program.cs** files of both the server and client projects in your Blazor Web App. -Include the required [script references](https://blazor.syncfusion.com/documentation/common/adding-script-references) at the end of the `` section in the **App.razor** file to enable Accumulation Chart functionality. +## Add script resources -{% tabs %} -{% highlight razor tabtitle="App.razor" %} +The Syncfusion JavaScript library needs to be included in your application. The script can be accessed from NuGet through [Static Web Assets](https://blazor.syncfusion.com/documentation/common/adding-script-references#static-web-assets). Include the script reference in the **~/Components/App.razor** file (this is the root layout file of your application). + +```html -{% endhighlight %} -{% endtabs %} +``` + +N> Check out the [Adding Script Reference](https://blazor.syncfusion.com/documentation/common/adding-script-references) topic to learn different approaches for adding script references in the Blazor application. ## Add Blazor Accumulation Chart component -Open a Razor file located in the **~/Pages/*.razor** (for example, **Home.razor**) and add the [Blazor Accumulation Chart](https://www.syncfusion.com/blazor-components/blazor-charts) component inside the `.Client` project razor file. +Add the Blazor Accumulation Chart component in the **~/Components/Pages/Home.razor** file. If the interactivity location is set to `Per page/component` in the Web App, define a render mode at the top of the `~Pages/Home.razor` file. (For example, `InteractiveServer`, `InteractiveWebAssembly` or `InteractiveAuto`). -N> If the interactivity location is set to `Per page/component` in the Web App, define a render mode at the top of the razor file. (For example, `InteractiveServer`, `InteractiveWebAssembly` or `InteractiveAuto`). If the **Interactivity** is set to `Global` with `Auto` or `WebAssembly`, the render mode is automatically configured in the `App.razor` file by default. +N> If the **Interactivity Location** is set to `Global` with `Auto` or `WebAssembly`, the render mode is automatically configured in the `App.razor` file by default. {% tabs %} -{% highlight razor tabtitle="Home.razor" %} +{% highlight razor %} -@page "/" +@* desired render mode defined here *@ @rendermode InteractiveAuto -@* SfAccumulationChart is the root container component for the accumulation chart *@ +{% endhighlight %} +{% endtabs %} + +{% tabs %} +{% highlight razor tabtitle="Home.razor" %} + + - @* Container for defining chart series *@ + - @* AccumulationChartSeries defines a data series with its data source and axis mappings *@ + -@code -{ +@code{ public class ChartData { public string Country { get; set; } @@ -182,67 +202,26 @@ N> If the interactivity location is set to `Per page/component` in the Web App, public List MedalDetails = new List { new ChartData { Country= "United States of America", Medals= 46 }, + new ChartData { Country= "Great Britain", Medals= 27 }, new ChartData { Country= "China", Medals= 26 }, new ChartData { Country= "United Kingdom", Medals= 23 }, new ChartData { Country= "Australia", Medals= 16 }, new ChartData { Country= "India", Medals= 36 }, new ChartData { Country= "Nigeria", Medals= 12 }, new ChartData { Country= "Brazil", Medals= 20 }, - }; + }; } {% endhighlight %} {% endtabs %} -## Run the application - -{% tabcontents %} - -{% tabcontent Visual Studio %} - -Press Ctrl+F5 (Windows) or +F5 (macOS) to launch the application. The [Blazor Accumulation Chart](https://www.syncfusion.com/blazor-components/blazor-charts) component will render in your default web browser. - -{% endtabcontent %} - -{% tabcontent Visual Studio Code %} - -Open the terminal and navigate to the main project folder (for example, `BlazorWebApp`) and run the following command. - -{% tabs %} -{% highlight razor tabtitle="Terminal" %} - -cd .. -cd BlazorWebApp -dotnet run - -{% endhighlight %} -{% endtabs %} - -{% endtabcontent %} - -{% tabcontent .NET CLI %} - -Open the command prompt and navigate to the main project folder (for example, `BlazorWebApp`) and run the following command. - -{% tabs %} -{% highlight razor tabtitle="Command Prompt" %} - -cd .. -cd BlazorWebApp -dotnet run - -{% endhighlight %} -{% endtabs %} - -{% endtabcontent %} - -{% endtabcontents %} +Press Ctrl+F5 (Windows) or +F5 (macOS) to launch the application. This will render the Blazor Accumulation Chart component in the default web browser. -{% previewsample "https://blazorplayground.syncfusion.com/embed/LDhdDciIMbTJzWSG?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Accumulation Chart](images/getting-started/blazor-pie-chart-webapp.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LjhzDWVeVKeUbWGh?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Pie Chart](images/getting-started/blazor-pie-chart-webapp.webp)" %} N> [View Sample in GitHub](https://github.com/SyncfusionExamples/Blazor-Getting-Started-Examples/tree/main/AccumulationChart) ## See also -1. [Getting Started with Blazor WebAssembly App in Visual Studio or .NET CLI](https://blazor.syncfusion.com/documentation/getting-started/blazor-webassembly-app) +1. [Getting Started with Blazor Web Assembly App in Visual Studio or .NET CLI](https://blazor.syncfusion.com/documentation/getting-started/blazor-webassembly-app) 2. [Getting Started with Blazor Web App in Visual Studio or .NET CLI](https://blazor.syncfusion.com/documentation/getting-started/blazor-web-app) diff --git a/chart-sdk/blazor/accumulation-chart/getting-started.md b/chart-sdk/blazor/accumulation-chart/getting-started.md index d7713497f..f40119aa4 100644 --- a/chart-sdk/blazor/accumulation-chart/getting-started.md +++ b/chart-sdk/blazor/accumulation-chart/getting-started.md @@ -1,118 +1,109 @@ --- layout: post -title: Getting Started with Accumulation Chart in WASM App | Syncfusion® -description: Learn how to get started with Syncfusion Blazor Accumulation Chart in a Blazor WebAssembly app, including setup, NuGet packages, and first chart example. -platform: Blazor +title: Getting Started with Accumulation Chart Blazor WASM App | Syncfusion® +description: Checkout and learn about getting started with Blazor Accumulation Chart component in Blazor WebAssembly App and much more details. +platform: chart-sdk control: Accumulation Chart documentation: ug --- -# Getting Started with Blazor Accumulation Chart in WASM App +# Getting Started with Blazor Accumulation Chart Component -This section briefly explains how to include the [Blazor Accumulation Chart](https://www.syncfusion.com/blazor-components/blazor-charts) component in a Blazor WebAssembly App using [Visual Studio](https://visualstudio.microsoft.com/vs/), [Visual Studio Code](https://code.visualstudio.com/), and the [.NET CLI](https://learn.microsoft.com/en-us/dotnet/core/tools/). - -## Create a new Blazor WebAssembly App +This section briefly explains how to include [Blazor Accumulation Chart](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SfAccumulationChart.html) component in a Blazor WebAssembly App using [Visual Studio](https://visualstudio.microsoft.com/vs/), [Visual Studio Code](https://code.visualstudio.com/), and the [.NET CLI](https://learn.microsoft.com/en-us/dotnet/core/tools/). {% tabcontents %} {% tabcontent Visual Studio %} -Create a **Blazor WebAssembly App** using Visual Studio via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vs) or the [Syncfusion® Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-integration/template-studio). +## Prerequisites -{% endtabcontent %} +* [System requirements for Blazor components](https://blazor.syncfusion.com/documentation/system-requirements) -{% tabcontent Visual Studio Code %} +## Create a new Blazor App in Visual Studio -Run the following command to create a new Blazor WebAssembly App. +Create a **Blazor WebAssembly App** using Visual Studio via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vs) or the [Syncfusion® Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-integration/template-studio). For detailed instructions, refer to the [Blazor WASM App Getting Started](https://blazor.syncfusion.com/documentation/getting-started/blazor-webassembly-app) documentation. -{% tabs %} -{% highlight razor tabtitle="Terminal" %} +{% endtabcontent %} -dotnet new blazorwasm -o BlazorApp -cd BlazorApp +{% tabcontent Visual Studio Code %} -{% endhighlight %} -{% endtabs %} +## Prerequisites -Alternatively, create a **Blazor WebAssembly App** using Visual Studio Code via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vsc) or the [Syncfusion® Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-code-integration/create-project), or the [C# Dev Kit](https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csdevkit) extension. +* [System requirements for Blazor components](https://blazor.syncfusion.com/documentation/system-requirements) -{% endtabcontent %} +## Create a new Blazor App in Visual Studio Code -{% tabcontent .NET CLI %} +Create a **Blazor WebAssembly App** using Visual Studio Code via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vsc) or the [Syncfusion® Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-code-integration/create-project). For detailed instructions, refer to the [Blazor WASM App Getting Started](https://blazor.syncfusion.com/documentation/getting-started/blazor-webassembly-app?tabcontent=visual-studio-code) documentation. -Run the following command to create a new Blazor WebAssembly App. +Alternatively, create a WebAssembly application by using the following command in the integrated terminal (Ctrl+`). {% tabs %} -{% highlight razor tabtitle="Command Prompt" %} + +{% highlight c# tabtitle="Blazor WASM App" %} dotnet new blazorwasm -o BlazorApp cd BlazorApp {% endhighlight %} + {% endtabs %} {% endtabcontent %} -{% endtabcontents %} - -## Install the required Blazor package - -Install the [Syncfusion.Blazor.Charts](https://www.nuget.org/packages/Syncfusion.Blazor.Charts/) NuGet package. All Syncfusion Blazor packages are available on [nuget.org](https://www.nuget.org/packages?q=syncfusion.blazor). See the [NuGet packages](https://blazor.syncfusion.com/documentation/nuget-packages) topic for details. - -{% tabcontents %} - -{% tabcontent Visual Studio %} +{% tabcontent .NET CLI %} -1. Go to *Tools → NuGet Package Manager → Manage NuGet Packages for Solution*. -2. Search the required NuGet package (`Syncfusion.Blazor.Charts`) and install it. +## Prerequisites -Alternatively, you can install the same package using the Package Manager Console with the following command. +Install the latest version of [.NET SDK](https://dotnet.microsoft.com/en-us/download). If the .NET SDK is already installed, determine the installed version by running the following command in a command prompt (Windows), terminal (macOS), or command shell (Linux). {% tabs %} -{% highlight razor tabtitle="Package Manager Console" %} +{% highlight c# tabtitle=".NET CLI" %} -Install-Package Syncfusion.Blazor.Charts -Version {{ site.releaseversion }} +dotnet --version {% endhighlight %} {% endtabs %} -{% endtabcontent %} +## Create a Blazor WebAssembly App using .NET CLI -{% tabcontent Visual Studio Code %} - -Open the terminal and run the following command. +Run the following command to create a new Blazor WebAssembly App in a command prompt (Windows) or terminal (macOS) or command shell (Linux). For detailed instructions, refer to the [Blazor WASM App Getting Started](https://blazor.syncfusion.com/documentation/getting-started/blazor-webassembly-app?tabcontent=.net-cli) documentation. {% tabs %} -{% highlight razor tabtitle="Terminal" %} +{% highlight c# tabtitle=".NET CLI" %} -dotnet add package Syncfusion.Blazor.Charts -v {{ site.releaseversion }} +dotnet new blazorwasm -o BlazorApp +cd BlazorApp {% endhighlight %} {% endtabs %} {% endtabcontent %} -{% tabcontent .NET CLI %} +{% endtabcontents %} + +## Install required Blazor packages -Open the command prompt and run the following command. +Install the [Syncfusion.Blazor.Charts](https://www.nuget.org/packages/Syncfusion.Blazor.Charts/) NuGet package into your project using the NuGet Package Manager in Visual Studio (*Tools → NuGet Package Manager → Manage NuGet Packages for Solution*), or the integrated terminal in Visual Studio Code (dotnet add package Syncfusion.Blazor.Charts --version {{ site.releaseversion }}), or the .NET CLI. + +Alternatively, run the following commands in the Package Manager Console to achieve the same. {% tabs %} -{% highlight razor tabtitle="Command Prompt" %} +{% highlight C# tabtitle="Package Manager" %} -dotnet add package Syncfusion.Blazor.Charts -v {{ site.releaseversion }} +Install-Package Syncfusion.Blazor.Charts -Version {{ site.releaseversion }} {% endhighlight %} {% endtabs %} -{% endtabcontent %} - -{% endtabcontents %} +N> All Syncfusion Blazor packages are available on [nuget.org](https://www.nuget.org/packages?q=syncfusion.blazor). See the [NuGet packages](https://blazor.syncfusion.com/documentation/nuget-packages) topic for details. ## Add import namespaces -After the package is installed, open the **~/_Imports.razor** file and import the `Syncfusion.Blazor` and `Syncfusion.Blazor.Charts` namespaces. +After the packages are installed, open the **~/_Imports.razor** file and import the `Syncfusion.Blazor` and `Syncfusion.Blazor.Charts` namespaces. + +N> The `~/` notation represents the root directory of your project. This file is typically located in your project's root folder. {% tabs %} {% highlight C# tabtitle="~/_Imports.razor" %} @@ -123,117 +114,83 @@ After the package is installed, open the **~/_Imports.razor** file and import th {% endhighlight %} {% endtabs %} -## Register the Blazor service +## Register Blazor service -Open the **Program.cs** file in Blazor WebAssembly App and register the Blazor service and include the required namespace reference `using Syncfusion.Blazor;` at the top. +Register the Blazor service in the **Program.cs** file of your Blazor WebAssembly App. This step enables the Syncfusion components to work in your application. {% tabs %} {% highlight C# tabtitle="Program.cs" %} +.... +using Syncfusion.Blazor; +.... builder.Services.AddSyncfusionBlazor(); +.... {% endhighlight %} {% endtabs %} -## Add script resource +## Add script resources -Include the required [script references](https://blazor.syncfusion.com/documentation/common/adding-script-references) at the end of the `` section in the **~wwwroot/index.html** file to enable Accumulation Chart functionality. +The Syncfusion JavaScript library needs to be included in your application. The script can be accessed from NuGet through [Static Web Assets](https://blazor.syncfusion.com/documentation/common/adding-script-references#static-web-assets). Include the script reference in the **~/Components/App.razor** file (this is the root layout file of your application). -{% tabs %} -{% highlight html tabtitle="index.html" %} +```html -{% endhighlight %} -{% endtabs %} +``` + +N> Check out the [Adding Script Reference](https://blazor.syncfusion.com/documentation/common/adding-script-references) topic to learn different approaches for adding script references in the Blazor application. ## Add Blazor Accumulation Chart component -Open a Razor file located in the **~/Pages/*.razor** (for example, **Home.razor**) and add the [Blazor Accumulation Chart](https://www.syncfusion.com/blazor-components/blazor-charts) component inside the razor file. +Add the Blazor Accumulation Chart component in the **~/Pages/Home.razor** file. {% tabs %} {% highlight razor tabtitle="Home.razor" %} -@page "/" +@using Syncfusion.Blazor.Charts -@* SfAccumulationChart is the root container component for the accumulation chart *@ + - @* Container for defining chart series *@ + - @* AccumulationChartSeries defines a data series with its data source and axis mappings *@ + -@code -{ +@code{ public class ChartData { - public string Country { get; set; } - public double Medals { get; set; } + public string Country { get; set;} + public double Medals { get; set;} } public List MedalDetails = new List { new ChartData { Country= "United States of America", Medals= 46 }, + new ChartData { Country= "Great Britain", Medals= 27 }, new ChartData { Country= "China", Medals= 26 }, new ChartData { Country= "United Kingdom", Medals= 23 }, new ChartData { Country= "Australia", Medals= 16 }, new ChartData { Country= "India", Medals= 36 }, new ChartData { Country= "Nigeria", Medals= 12 }, new ChartData { Country= "Brazil", Medals= 20 }, - }; + }; } {% endhighlight %} {% endtabs %} -## Run the application - -{% tabcontents %} - -{% tabcontent Visual Studio %} - -Press Ctrl+F5 (Windows) or +F5 (macOS) to launch the application. The [Blazor Accumulation Chart](https://www.syncfusion.com/blazor-components/blazor-charts) component will render in your default web browser. - -{% endtabcontent %} - -{% tabcontent Visual Studio Code %} - -Open the terminal and run the following command. - -{% tabs %} -{% highlight razor tabtitle="Terminal" %} - -dotnet run - -{% endhighlight %} -{% endtabs %} - -{% endtabcontent %} - -{% tabcontent .NET CLI %} - -Open the command prompt and run the following command. - -{% tabs %} -{% highlight razor tabtitle="Command Prompt" %} - -dotnet run - -{% endhighlight %} -{% endtabs %} - -{% endtabcontent %} - -{% endtabcontents %} +Press Ctrl+F5 (Windows) or +F5 (macOS) to launch the application. This will render the Blazor Accumulation Chart component in the default web browser. -{% previewsample "https://blazorplayground.syncfusion.com/embed/LDhdDciIMbTJzWSG?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Accumulation Chart](images/getting-started/blazor-pie-chart-webapp.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LjhzDWVeVKeUbWGh?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Pie Chart](images/getting-started/blazor-pie-chart.webp)" %} N> [View Sample in GitHub](https://github.com/SyncfusionExamples/Blazor-Getting-Started-Examples/tree/main/AccumulationChart). ## See also -1. [Getting Started with Blazor WebAssembly App in Visual Studio or .NET CLI](https://blazor.syncfusion.com/documentation/getting-started/blazor-webassembly-app) -2. [Getting Started with Blazor Web App in Visual Studio or .NET CLI](https://blazor.syncfusion.com/documentation/getting-started/blazor-web-app) +* [Getting Started with Blazor Web Assembly App in Visual Studio or .NET CLI](https://blazor.syncfusion.com/documentation/getting-started/blazor-webassembly-app) +* [Getting Started with Blazor Web App in Visual Studio or .NET CLI](https://blazor.syncfusion.com/documentation/getting-started/blazor-web-app) diff --git a/chart-sdk/blazor/accumulation-chart/gradient.md b/chart-sdk/blazor/accumulation-chart/gradient.md index c4cac355a..302729cc3 100644 --- a/chart-sdk/blazor/accumulation-chart/gradient.md +++ b/chart-sdk/blazor/accumulation-chart/gradient.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Accumulation Chart Gradient Fill Examples | Syncfusion® -description: Learn how to apply linear or radial gradients in Syncfusion Blazor Accumulation Chart to add depth and modern color blending to series. -platform: Blazor +title: Gradient in Blazor Accumulation Chart Component | Syncfusion® +description: Checkout and learn about applying linear and radial gradients to Accumulation Charts in Blazor Charts and much more details. +platform: chart-sdk control: Accumulation Chart documentation: ug --- -# Blazor Accumulation Chart Gradient +# Gradient in Blazor Accumulation Chart Component Gradients add depth and modern styling to charts by smoothly blending multiple colors. The Charts component supports two gradient types: @@ -315,7 +315,7 @@ The following example uses a distinct color palette and an off-center radial gra ``` ![Radial Gradient for each point in Blazor Accumulation Chart](images/gradient/blazor-accumulation-chart-radial-gradient-points.webp) -N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Accumulation Chart Example](https://blazor.syncfusion.com/demos/chart/pie?theme=fluent2) to know various features of accumulation charts and how it is used to represent numeric proportional data. +N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Accumulation Chart Example](https://blazor.syncfusion.com/demos/chart/pie?theme=bootstrap5) to know various features of accumulation charts and how it is used to represent numeric proportional data. ## See also diff --git a/chart-sdk/blazor/accumulation-chart/grouping.md b/chart-sdk/blazor/accumulation-chart/grouping.md index 9e9bfafc2..396adcabe 100644 --- a/chart-sdk/blazor/accumulation-chart/grouping.md +++ b/chart-sdk/blazor/accumulation-chart/grouping.md @@ -1,15 +1,15 @@ --- layout: post -title: Blazor Accumulation Chart Grouping Examples | Syncfusion® -description: Learn how to group small slices in Syncfusion Blazor Accumulation Chart with GroupMode and GroupTo properties. -platform: Blazor +title: Grouping in Blazor Accumulation Chart Component | Syncfusion® +description: Checkout and learn here all about Grouping in Blazor Accumulation Chart component and much more details. +platform: chart-sdk control: Accumulation Chart documentation: ug --- -# Blazor Accumulation Chart Grouping +# Grouping in Blazor Accumulation Chart Component The value set to the [GroupTo](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.AccumulationChartSeries.html#Syncfusion_Blazor_Charts_AccumulationChartSeries_GroupTo) property can be used to club/group a few points in the series. Points with a value less than [GroupTo](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.AccumulationChartSeries.html#Syncfusion_Blazor_Charts_AccumulationChartSeries_GroupTo) are grouped together and displayed as a single point with the label **Others**. In addition, the property value can be set in percentage (percentage of total data points value). @@ -55,7 +55,7 @@ The value set to the [GroupTo](https://help.syncfusion.com/cr/blazor/Syncfusion. ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hjrRjmBNUWyrVErB?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Grouping in Blazor Accumulation Chart](images/grouping/blazor-accumulation-chart-grouping.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rNrqihiqTyhaAqqS?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Grouping in Blazor Accumulation Chart](images/grouping/blazor-accumulation-chart-grouping.webp)" %} ## Pie Grouping @@ -109,7 +109,7 @@ The points that have been grouped together will appear as a single slice with th ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LXBdNQrjAMdZdaXJ?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Accumulation Chart with Broken Slice](images/grouping/blazor-accumulation-chart-with-broken-slice.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rZLqihMUfoqzKvcp?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Accumulation Chart with Broken Slice](images/grouping/blazor-accumulation-chart-with-broken-slice.webp)" %} **Group Mode** When the [GroupMode](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.AccumulationChartSeries.html#Syncfusion_Blazor_Charts_AccumulationChartSeries_GroupMode) property is set to [Point](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.GroupMode.html#Syncfusion_Blazor_Charts_GroupMode_Point), the points are displayed as separate slices according to the [GroupTo](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.AccumulationChartSeries.html#Syncfusion_Blazor_Charts_AccumulationChartSeries_GroupTo) value. The remaining points will be grouped into a single slice and displayed. @@ -160,9 +160,9 @@ The points that have been grouped together will appear as a single slice with th ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LZhdXmrNqCGTIGFi?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Accumulation Chart with Group Mode](images/grouping/blazor-accumulation-chart-group-mode.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BZrqiViApefsiZXo?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Accumulation Chart with Group Mode](images/grouping/blazor-accumulation-chart-group-mode.webp)" %} -N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Accumulation Chart Example](https://blazor.syncfusion.com/demos/chart/pie?theme=fluent2) to know various features of accumulation charts and how it is used to represent numeric proportional data. +N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Accumulation Chart Example](https://blazor.syncfusion.com/demos/chart/pie?theme=bootstrap5) to know various features of accumulation charts and how it is used to represent numeric proportional data. * [Data Label](./data-label) * [Tooltip](./tool-tip) diff --git a/chart-sdk/blazor/accumulation-chart/how-to/do-nut.md b/chart-sdk/blazor/accumulation-chart/how-to/do-nut.md index 1a6a1432e..bf9a9e291 100644 --- a/chart-sdk/blazor/accumulation-chart/how-to/do-nut.md +++ b/chart-sdk/blazor/accumulation-chart/how-to/do-nut.md @@ -1,13 +1,13 @@ --- layout: post -title: How to Add Text at the Center of Blazor Doughnut Chart | Syncfusion® -description: Learn how to place text in the center of a Blazor Doughnut Chart using Syncfusion annotation to display labels at the doughnut center. -platform: Blazor +title: Text placing center of Blazor Doughnut Chart Component | Syncfusion® +description: Learn here all about Text placing center of the doughnut in Syncfusion Blazor Accumulation Chart component and much more details. +platform: chart-sdk control: Accumulation Chart documentation: ug --- -# How to Place Text in the Center of Doughnut Chart +# Text placing center of the Blazor Doughnut Chart Component The annotation is used to place text, shapes or images in the center of the doughnut chart. @@ -99,6 +99,6 @@ The complete code snippet for the preceding steps is as follows. ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/htLxNmBjfKgxTeAK?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hjhAMLCziQTKvjhv?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} -N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Accumulation Chart Example](https://blazor.syncfusion.com/demos/chart/pie?theme=fluent2) to know about the various features of accumulation charts and how it is used to represent numeric proportional data. +N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Accumulation Chart Example](https://blazor.syncfusion.com/demos/chart/pie?theme=bootstrap5) to know about the various features of accumulation charts and how it is used to represent numeric proportional data. diff --git a/chart-sdk/blazor/accumulation-chart/images/annotation/blazor-accumulation-chart-annotation.webp b/chart-sdk/blazor/accumulation-chart/images/annotation/blazor-accumulation-chart-annotation.webp index 6fdbe433f..e1604eb3e 100644 Binary files a/chart-sdk/blazor/accumulation-chart/images/annotation/blazor-accumulation-chart-annotation.webp and b/chart-sdk/blazor/accumulation-chart/images/annotation/blazor-accumulation-chart-annotation.webp differ diff --git a/chart-sdk/blazor/accumulation-chart/images/data-label/blazor-accumulation-chart-connector-line.webp b/chart-sdk/blazor/accumulation-chart/images/data-label/blazor-accumulation-chart-connector-line.webp index eeb4d20c5..9e5358a80 100644 Binary files a/chart-sdk/blazor/accumulation-chart/images/data-label/blazor-accumulation-chart-connector-line.webp and b/chart-sdk/blazor/accumulation-chart/images/data-label/blazor-accumulation-chart-connector-line.webp differ diff --git a/chart-sdk/blazor/accumulation-chart/images/data-label/blazor-accumulation-chart-with-data-label-text-wrapping.webp b/chart-sdk/blazor/accumulation-chart/images/data-label/blazor-accumulation-chart-with-data-label-text-wrapping.webp index 766221292..8e4d35a1f 100644 Binary files a/chart-sdk/blazor/accumulation-chart/images/data-label/blazor-accumulation-chart-with-data-label-text-wrapping.webp and b/chart-sdk/blazor/accumulation-chart/images/data-label/blazor-accumulation-chart-with-data-label-text-wrapping.webp differ diff --git a/chart-sdk/blazor/accumulation-chart/images/getting-started/blazor-pie-chart-webapp.webp b/chart-sdk/blazor/accumulation-chart/images/getting-started/blazor-pie-chart-webapp.webp index e0bce2d69..65bb5bf74 100644 Binary files a/chart-sdk/blazor/accumulation-chart/images/getting-started/blazor-pie-chart-webapp.webp and b/chart-sdk/blazor/accumulation-chart/images/getting-started/blazor-pie-chart-webapp.webp differ diff --git a/chart-sdk/blazor/accumulation-chart/legend.md b/chart-sdk/blazor/accumulation-chart/legend.md index e35934eb9..825689fe2 100644 --- a/chart-sdk/blazor/accumulation-chart/legend.md +++ b/chart-sdk/blazor/accumulation-chart/legend.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Accumulation Chart Legend Configuration Examples | Syncfusion® -description: Learn how to enable and customize the legend in Syncfusion Blazor Accumulation Chart, including position, alignment, and LegendSettings. -platform: Blazor +title: Legend in Blazor Accumulation Chart Component | Syncfusion® +description: Checkout and learn here all about Legend in Blazor Accumulation Chart component and much more details. +platform: chart-sdk control: Accumulation Chart documentation: ug --- -# Blazor Accumulation Chart Legend +# Legend in Blazor Accumulation Chart Component The legend is available for accumulation charts, just like it is for charts, and it provides information about the points. If the chart's width is large, the legend will be placed on the right, and if the chart's height is large, the legend will be placed on the bottom. The legend for a point can be collapsed by assigning an empty string to the point's x value. @@ -45,7 +45,7 @@ The legend is available for accumulation charts, just like it is for charts, and ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BZrRZmBDgbpbidem?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Legend in Blazor Accumulation Chart](images/legend/blazor-accumulation-chart-legend.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VDBKCBWfsHSGQTvG?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Legend in Blazor Accumulation Chart](images/legend/blazor-accumulation-chart-legend.webp)" %} ## Position and alignment @@ -85,7 +85,7 @@ The legend can be placed at [Left](https://help.syncfusion.com/cr/blazor/Syncfu ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VNrRZGLDqlHCjrtw?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Changing Position and Alignment of Blazor Accumulation Chart](images/legend/blazor-accumulation-chart-position.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LXrUsLCzsHdMOzRi?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Changing Position and Alignment of Blazor Accumulation Chart](images/legend/blazor-accumulation-chart-position.webp)" %} ## Legend Reverse @@ -126,7 +126,7 @@ You can reverse the order of the legend items by using the [Reverse](https://hel ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BtVHDmhjAlcZuEPi?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Changing Legend Reverse in Blazor Accumulation Chart](images/legend/blazor-accumulation-chart-legend-reverse.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rthqMVCpMRRynnnl?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Changing Legend Reverse in Blazor Accumulation Chart](images/legend/blazor-accumulation-chart-legend-reverse.webp)" %} ## Legend shape @@ -167,7 +167,7 @@ The [LegendShape](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BDhRtGrjKvEAVoJr?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Changing Legend Shape in Blazor Accumulation Chart](images/legend/blazor-accumulation-chart-legend-shape.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BDLUMhiJMxnkMBtv?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Changing Legend Shape in Blazor Accumulation Chart](images/legend/blazor-accumulation-chart-legend-shape.webp)" %} ## Legend size @@ -209,7 +209,7 @@ The legend size can be customized by using the [Width](https://help.syncfusion.c ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rXVnZwhDKkNswjbN?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Changing Legend Size in Blazor Accumulation Chart](images/legend/blazor-accumulation-chart-legend-size.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hjrqsrMpixGVWbxO?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Changing Legend Size in Blazor Accumulation Chart](images/legend/blazor-accumulation-chart-legend-size.webp)" %} ## Legend shape size @@ -250,7 +250,7 @@ The [ShapeHeight](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LjhHjcrtUuiHtlqL?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Changing Legend Item Size in Blazor Accumulation Chart](images/legend/blazor-accumulation-chart-legend-item-size.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BXLgsLsTsHQSwtZv?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Changing Legend Item Size in Blazor Accumulation Chart](images/legend/blazor-accumulation-chart-legend-item-size.webp)" %} ## Paging for Legend @@ -291,7 +291,7 @@ When the legend items exceed legend bounds, paging will be enabled by default. E ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BDrxXwhXgurhFXhI?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Paging for Legend in Blazor Accumulation Chart](images/legend/blazor-accumulation-chart-legend-paging.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LXVKWVWTiRwuHWFS?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Paging for Legend in Blazor Accumulation Chart](images/legend/blazor-accumulation-chart-legend-paging.webp)" %} ### Paging customization @@ -317,7 +317,7 @@ In legend pager, the arrow elements can be customized by using the [ArrowSize](h @code { - private Syncfusion.Blazor.Theme Theme { get; set; } = Syncfusion.Blazor.Theme.Fluent2; + private Theme Theme { get; set; } = Theme.Fluent2; public string Height { get; set; } = "30%"; public string Width { get; set; } = "33%"; public Syncfusion.Blazor.Charts.LegendPosition position { get; set; } = Syncfusion.Blazor.Charts.LegendPosition.Right; @@ -348,7 +348,7 @@ In legend pager, the arrow elements can be customized by using the [ArrowSize](h } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BjhnXmLDqkmoVqCg?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Accumulation Chart Legend Pager Customization](images/legend/blazor-accumulation-chart-legend-paging-customization.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VthTZnrTBvLmyjUM?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Accumulation Chart Legend Pager Customization](images/legend/blazor-accumulation-chart-legend-paging-customization.webp)" %} ## Legend text wrap @@ -359,7 +359,7 @@ When the legend text exceeds the container, the text can be wrapped by using [Te @using Syncfusion.Blazor.Charts - + @@ -387,7 +387,7 @@ When the legend text exceeds the container, the text can be wrapped by using [Te ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LtrdDQhNgaygndeX?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Accumulation Chart Legend with Wrap](images/legend/blazor-accumulation-chart-legend-wrap.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/htLqsrMJWRuPUEHB?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Accumulation Chart Legend with Wrap](images/legend/blazor-accumulation-chart-legend-wrap.webp)" %} ## Legend Template @@ -453,7 +453,7 @@ To use, add a `LegendItemTemplate` inside any [AccumulationChartSeries](https:// ``` ![Legend Template in Blazor Accumulation Chart](images/legend/blazor-accumulation-chart-legend-template.webp) -N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Accumulation Chart Example](https://blazor.syncfusion.com/demos/chart/pie?theme=fluent2) to know about the various features of accumulation charts and how it is used to represent numeric proportional data. +N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Accumulation Chart Example](https://blazor.syncfusion.com/demos/chart/pie?theme=bootstrap5) to know about the various features of accumulation charts and how it is used to represent numeric proportional data. * [Grouping](./grouping) * [Data label](./data-label) diff --git a/chart-sdk/blazor/accumulation-chart/title-and-sub-title.md b/chart-sdk/blazor/accumulation-chart/title-and-sub-title.md index 35a3dc1e3..244cbefb4 100644 --- a/chart-sdk/blazor/accumulation-chart/title-and-sub-title.md +++ b/chart-sdk/blazor/accumulation-chart/title-and-sub-title.md @@ -1,15 +1,15 @@ --- layout: post -title: Blazor Accumulation Chart Title and Subtitle Examples | Syncfusion® -description: Learn how to add a title and subtitle in Syncfusion Blazor Accumulation Chart, including text, alignment, and font styling. -platform: Blazor +title: Title and Subtitle in Blazor Accumulation Chart | Syncfusion® +description: Checkout and learn here all about Title and Subtitle in Blazor Accumulation Chart component and much more details. +platform: chart-sdk control: Accumulation Chart documentation: ug --- -# Blazor Accumulation Chart Title and Subtitle +# Title and Subtitle in Blazor Accumulation Chart Component The [Title](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SfAccumulationChart.html#Syncfusion_Blazor_Charts_SfAccumulationChart_Title) property can be used to give the accumulation chart a title in-order to provide information about the data displayed. @@ -47,7 +47,7 @@ The [Title](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SfAcc ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hNLRNQLXTtYnBred?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Title in Blazor Accumulation Chart](images/title/blazor-accumulation-chart-title.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hNrqCViTsGXMlSaD?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Title in Blazor Accumulation Chart](images/title/blazor-accumulation-chart-title.webp)" %} ## Title customization @@ -89,7 +89,7 @@ The [Title](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SfAcc ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rthxZchDzCZzDwAH?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Customizing Title in Blazor Accumulation Chart](images/title/blazor-accumulation-chart-title-customization.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rtBUMVCpMmDIcLry?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Customizing Title in Blazor Accumulation Chart](images/title/blazor-accumulation-chart-title-customization.webp)" %} ### Title position @@ -131,7 +131,7 @@ N> The subtitle, which appears below the title, will also be positioned along wi } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BXrHZwhNTsCbKyTD?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Position customization of title in Blazor Accumulation Chart](images/title/blazor-accumulation-chart-subtitle-position.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rDLSZJNzBeDlhwIW?appbar=true&editor=true&result=true&errorlist=true&theme=bootstrap5" backgroundimage "[Position customization of title in Blazor Accumulation Chart](images/title/blazor-accumulation-chart-subtitle-position.webp)" %} When the `Position` is set to `Custom`, the title can be positioned anywhere on the chart using the [X](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.AccumulationChartTitleStyle.html#Syncfusion_Blazor_Charts_AccumulationChartTitleStyle_X) and [Y](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.AccumulationChartTitleStyle.html#Syncfusion_Blazor_Charts_AccumulationChartTitleStyle_Y) properties in [AccumulationChartTitleStyle](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.AccumulationChartTitleStyle.html). This provides precise control over the title’s location, enabling customization to fit specific design or layout needs. The `X` and `Y` values specify the horizontal and vertical coordinates, respectively. @@ -169,7 +169,7 @@ When the `Position` is set to `Custom`, the title can be positioned anywhere on } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LXrRXwrXJMhFkZXM?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Custom position of title in Blazor Accumulation Chart](images/title/blazor-accumulation-chart-subtitle-position-custom.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hXhoNJNQqAoFwbVK?appbar=true&editor=true&result=true&errorlist=true&theme=bootstrap5" backgroundimage "[Custom position of title in Blazor Accumulation Chart](images/title/blazor-accumulation-chart-subtitle-position-custom.webp)" %} ## Subtitle @@ -209,7 +209,7 @@ The [SubTitle](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.Sf ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BDVnDmhjpWpUhWEg?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Subtitle in Blazor Accumulation Chart](images/title/blazor-accumulation-chart-with-subtitle.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rjrgMrCpiGjaRMic?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Subtitle in Blazor Accumulation Chart](images/title/blazor-accumulation-chart-with-subtitle.webp)" %} ## Subtitle customization @@ -250,9 +250,9 @@ The [SubTitle](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.Sf ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rZLHDcLZpiIFvfGX?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Customizing Subtitle in Blazor Accumulation Chart](images/title/blazor-accumulation-chart-subtitle-customization.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LjhUihWfiGMgtYfB?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Customizing Subtitle in Blazor Accumulation Chart](images/title/blazor-accumulation-chart-subtitle-customization.webp)" %} -N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Accumulation Chart Example](https://blazor.syncfusion.com/demos/chart/pie?theme=fluent2) to know various features of accumulation charts and how it is used to represent numeric proportional data. +N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Accumulation Chart Example](https://blazor.syncfusion.com/demos/chart/pie?theme=bootstrap5) to know various features of accumulation charts and how it is used to represent numeric proportional data. ## See also diff --git a/chart-sdk/blazor/accumulation-chart/tool-tip.md b/chart-sdk/blazor/accumulation-chart/tool-tip.md index ad13feec6..0bff6a743 100644 --- a/chart-sdk/blazor/accumulation-chart/tool-tip.md +++ b/chart-sdk/blazor/accumulation-chart/tool-tip.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Accumulation Chart Tooltip Examples | Syncfusion® -description: Learn how to enable and customize tooltips in Syncfusion Blazor Accumulation Chart, including format, template, and styling. -platform: Blazor +title: Tooltip in Blazor Accumulation Chart Component | Syncfusion® +description: Checkout and learn here all the features about Tooltip in Blazor Accumulation Chart component and much more details. +platform: chart-sdk control: Accumulation Chart documentation: ug --- -# Blazor Accumulation Chart Tooltip +# Tooltip in Blazor Accumulation Chart Component The [Enable](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.AccumulationChartTooltipSettings.html#Syncfusion_Blazor_Charts_AccumulationChartTooltipSettings_Enable) property in [AccumulationChartTooltipSettings](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.AccumulationChartTooltipSettings.html) can be set to **true** to enable the tooltip. @@ -47,7 +47,7 @@ The [Enable](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.Accu ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BDLdjcBNUGJVcxJU?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Accumulation Chart displays ToolTip](images/tool-tip/blazor-accumulation-chart-tooltip.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VNVUirMUTHNidTzn?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Accumulation Chart displays ToolTip](images/tool-tip/blazor-accumulation-chart-tooltip.webp)" %} ## Header @@ -90,7 +90,7 @@ The [Header](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.Accu ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rNVxZQhXgwmACcLQ?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Accumulation Chart displays ToolTip for Header](images/tool-tip/blazor-accumulation-chart-header-tooltip.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VDVqChsApHestEJW?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Accumulation Chart displays ToolTip for Header](images/tool-tip/blazor-accumulation-chart-header-tooltip.webp)" %} ## Tooltip format @@ -133,7 +133,7 @@ By default, tooltip shows information about x and y value in points. In addition ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VDrRDQBjAGGupkey?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Customizing ToolTip Format in Blazor Accumulation Chart](images/tool-tip/blazor-accumulation-chart-tooltip-format.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BZLgsLCKzRIODYxT?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Customizing ToolTip Format in Blazor Accumulation Chart](images/tool-tip/blazor-accumulation-chart-tooltip-format.webp)" %} ## Tooltip customization @@ -177,7 +177,7 @@ The [Fill](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.Accumu ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rZrHXmhjgcYZRwkM?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Customizing Tooltip in Blazor Accumulation Chart](images/tool-tip/blazor-accumulation-chart-tooltip-customization.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BDLKsriUJxRffqTe?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Customizing Tooltip in Blazor Accumulation Chart](images/tool-tip/blazor-accumulation-chart-tooltip-customization.webp)" %} ## Tooltip Text Mapping @@ -226,9 +226,9 @@ By default, tooltip shows information of x and y value in points. In addition, b ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LNBdZmLDKlhVVFzn?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[ToolTip Text Mapping in Blazor Accumulation Chart](images/tool-tip/blazor-accumulation-chart-tooltip-mapping.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rNVUshCTCHSgEYgI?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[ToolTip Text Mapping in Blazor Accumulation Chart](images/tool-tip/blazor-accumulation-chart-tooltip-mapping.webp)" %} -N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Accumulation Chart Example](https://blazor.syncfusion.com/demos/chart/pie?theme=fluent2) to know about the various features of accumulation charts and how it is used to represent numeric proportional data. +N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Accumulation Chart Example](https://blazor.syncfusion.com/demos/chart/pie?theme=bootstrap5) to know about the various features of accumulation charts and how it is used to represent numeric proportional data. ## See also diff --git a/chart-sdk/blazor/bullet-chart/accessibility.md b/chart-sdk/blazor/bullet-chart/accessibility.md index e76c6376b..668cedc1e 100644 --- a/chart-sdk/blazor/bullet-chart/accessibility.md +++ b/chart-sdk/blazor/bullet-chart/accessibility.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Bullet Chart Accessibility Examples | Syncfusion® -description: Learn how to enable accessibility in Syncfusion Blazor Bullet Chart with keyboard navigation, screen reader support, and WCAG 2.2 compliance. -platform: Blazor +title: Accessibility in Blazor Bullet Chart Component | Syncfusion® +description: Checkout and learn here all about Accessibility using Keyboard navigation in Blazor Bullet Chart component and more. +platform: chart-sdk control: Bullet Chart documentation: ug --- -# Blazor Bullet Chart Accessibility +# Accessibility in Blazor Bullet Chart Component The Blazor Bullet chart component followed the accessibility guidelines and standards, including [ADA](https://www.ada.gov/), [Section 508](https://www.section508.gov/), [WCAG 2.2](https://www.w3.org/TR/WCAG22/) standards, and [WCAG roles](https://www.w3.org/TR/wai-aria/#roles) that are commonly used to evaluate accessibility. diff --git a/chart-sdk/blazor/bullet-chart/actual-bar.md b/chart-sdk/blazor/bullet-chart/actual-bar.md index 82795a379..979121957 100644 --- a/chart-sdk/blazor/bullet-chart/actual-bar.md +++ b/chart-sdk/blazor/bullet-chart/actual-bar.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Bullet Chart Actual Bar Examples | Syncfusion® -description: Learn how to render the actual bar (feature measure) in Syncfusion Blazor Bullet Chart by mapping ValueField to your data source. -platform: Blazor -control: Bullet Chart +title: Actual Bar in Blazor Bullet Chart Component | Syncfusion® +description: Checkout and learn here all features about Actual Bar in Blazor Bullet Chart component and much more. +platform: chart-sdk +control: Bullet Chart documentation: ug --- -# Blazor Bullet Chart Actual Bar +# Actual Bar in Blazor Bullet Chart Component To display the primary data or the current value of the data being measured known as the **Feature Measure** that should be encoded as a bar. This is called as the **Actual Bar** or the **Feature Bar** in the Bullet Chart, and to display the actual bar the [ValueField](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SfBulletChart-1.html#Syncfusion_Blazor_Charts_SfBulletChart_1_ValueField) should be mapped to the appropriate field from the data source. @@ -33,7 +33,7 @@ To display the primary data or the current value of the data being measured know }; } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BjVRXHiLBCQqHDVF?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Actual Bar in Blazor Bullet Chart](images/blazor-bullet-chart-actual-bar.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BNVyXuBzBauPiECo?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Actual Bar in Blazor Bullet Chart](images/blazor-bullet-chart-actual-bar.webp)" %} ## Types of actual bar @@ -53,7 +53,7 @@ The shape of the actual bar can be customized using the [Type](https://help.sync N> Refer to the [code block](#actual-bar-in-blazor-bullet-chart-component) to know more about the property value of the **BulletChartData**. -{% previewsample "https://blazorplayground.syncfusion.com/embed/LZrdDdsrLiQORPQW?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Bullet Chart with Dot Actual Bar](images/blazor-bullet-chart-dot-actual-bar.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rZVSZuLfKNDhZQsy?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Bullet Chart with Dot Actual Bar](images/blazor-bullet-chart-dot-actual-bar.webp)" %} ## Actual bar customization @@ -78,4 +78,4 @@ The following properties will be used to customize the actual bar. N> Refer to the [code block](#actual-bar-in-blazor-bullet-chart-component) to know more about the property value of the **BulletChartData**. -{% previewsample "https://blazorplayground.syncfusion.com/embed/BDBRZxiBLWPdiIUb?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Customizing Actual Bar in Blazor Bullet Chart](images/blazor-bullet-chart-actual-bar-customization.webp)" %} \ No newline at end of file +{% previewsample "https://blazorplayground.syncfusion.com/embed/LZVIDEVTKZNwIDPb?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Customizing Actual Bar in Blazor Bullet Chart](images/blazor-bullet-chart-actual-bar-customization.webp)" %} \ No newline at end of file diff --git a/chart-sdk/blazor/bullet-chart/axis-customization.md b/chart-sdk/blazor/bullet-chart/axis-customization.md index de82e4ada..6a24b1286 100644 --- a/chart-sdk/blazor/bullet-chart/axis-customization.md +++ b/chart-sdk/blazor/bullet-chart/axis-customization.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Bullet Chart Axis Customization Examples | Syncfusion® -description: Learn how to customize the axis in Syncfusion Blazor Bullet Chart, including major and minor tick lines, labels, and range colors. -platform: Blazor -control: Bullet Chart +title: Axis Customization in Blazor Bullet Chart Component | Syncfusion® +description: Checkout and learn here all features about Axis Customization in Blazor Bullet Chart component and more. +platform: chart-sdk +control: Bullet Chart documentation: ug --- -# Blazor Bullet Chart Axis Customization +# Axis Customization in Blazor Bullet Chart Component ## MajorTickLines and MinorTickLines Customization @@ -43,7 +43,7 @@ The following properties can be used to customize [MajorTicklines](https://help. }; } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BDLnZnsWJcBdndGw?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Customizing Major and Minor TickLines in Blazor Bullet Chart](images/blazor-bullet-chart-tick-line-customization.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BthAshrMpzsZIqTR?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Customizing Major and Minor TickLines in Blazor Bullet Chart](images/blazor-bullet-chart-tick-line-customization.webp)" %} ## Tick placement @@ -63,7 +63,7 @@ The major and the minor ticks can be placed [Inside](https://help.syncfusion.com N> Refer to the [code block](#majorticklines-and-minorticklines-customization) to know about the property value of **BulletChartData**. -{% previewsample "https://blazorplayground.syncfusion.com/embed/VZLnNnMCTQVadaKh?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Changing Tick Position in Blazor Bullet Chart](images/blazor-bullet-chart-tick-position.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rDVgiLVCTTsfCtyC?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Changing Tick Position in Blazor Bullet Chart](images/blazor-bullet-chart-tick-position.webp)" %} ## Label format @@ -83,7 +83,7 @@ The axis labels support all the globalize formats and can be changed using the [ N> Refer to the [code block](#majorticklines-and-minorticklines-customization) to know about the property value of **BulletChartData**. -{% previewsample "https://blazorplayground.syncfusion.com/embed/BtBHNHCCzcAASWeh?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Changing Label Format in Blazor Bullet Chart](images/blazor-bullet-chart-label-format.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VZhgMBVMpfCnRdov?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Changing Label Format in Blazor Bullet Chart](images/blazor-bullet-chart-label-format.webp)" %} The following table describes the result of applying some commonly used formats to numeric axis values. @@ -173,7 +173,7 @@ To separate the groups of thousands, set the [EnableGroupSeparator](https://help } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BtBRjnChBXXBpxPB?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Grouping in Blazor Bullet Chart](images/blazor-bullet-chart-grouping.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VthqsBLMzfBQwPJD?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Grouping in Blazor Bullet Chart](images/blazor-bullet-chart-grouping.webp)" %} ## Custom label format @@ -193,7 +193,7 @@ Using the [LabelFormat](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor. N> Refer to the [code block](#grouping-separator) to know about the property value of **BulletChartData**. -{% previewsample "https://blazorplayground.syncfusion.com/embed/hjrdDHsLrDiRjaAp?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Bullet Chart with Custom Label Format](images/blazor-bullet-chart-custom-label-format.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VDrUshVCfpgssdbx?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Bullet Chart with Custom Label Format](images/blazor-bullet-chart-custom-label-format.webp)" %} ## Label placement @@ -213,7 +213,7 @@ Label can be placed [Inside](https://help.syncfusion.com/cr/blazor/Syncfusion.Bl N> Refer to the [code block](#grouping-separator) to know about the property value of **BulletChartData**. -{% previewsample "https://blazorplayground.syncfusion.com/embed/rjhnDdsVBiZDmeZw?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Changing Label Position in Blazor Bullet Chart](images/blazor-bullet-chart-labels-position.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VDrUMrBWJfgftZky?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Changing Label Position in Blazor Bullet Chart](images/blazor-bullet-chart-labels-position.webp)" %} ## Opposed position @@ -233,7 +233,7 @@ To place an axis opposite to its original position, set the [OpposedPosition](ht N> Refer to the [code block](#grouping-separator) to know about the property value of **BulletChartData**. -{% previewsample "https://blazorplayground.syncfusion.com/embed/rDVdDHWhBCZeabMX?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Bullet Chart with Opposed Position](images/blazor-bullet-chart-opposed-position.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rtBqMBVWzJqnbrpi?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Bullet Chart with Opposed Position](images/blazor-bullet-chart-opposed-position.webp)" %} ## Category label @@ -264,7 +264,7 @@ The [Bullet Chart](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Chart } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rDrdZxChrCMtgXKJ?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Bullet Chart with Category Label](images/blazor-bullet-chart-category-label.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LjhgsrViJpTWnjZN?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Bullet Chart with Category Label](images/blazor-bullet-chart-category-label.webp)" %} ## Axis label and category label customization @@ -286,4 +286,4 @@ The label color, opacity, font size, font family, font weight, and font style ca N> Refer to the [code block](#category-label) to know about the property value of **BulletChartData**. -{% previewsample "https://blazorplayground.syncfusion.com/embed/BXrHZxChrssSBsgJ?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Customizing Axis and Category Label in Blazor Bullet Chart](images/blazor-bullet-chart-label-customization.webp)" %} \ No newline at end of file +{% previewsample "https://blazorplayground.syncfusion.com/embed/rXrgWrLCzTJTgHRy?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Customizing Axis and Category Label in Blazor Bullet Chart](images/blazor-bullet-chart-label-customization.webp)" %} \ No newline at end of file diff --git a/chart-sdk/blazor/bullet-chart/bullet-chart-dimensions.md b/chart-sdk/blazor/bullet-chart/bullet-chart-dimensions.md index a7937154d..3cd7795dc 100644 --- a/chart-sdk/blazor/bullet-chart/bullet-chart-dimensions.md +++ b/chart-sdk/blazor/bullet-chart/bullet-chart-dimensions.md @@ -1,15 +1,15 @@ --- layout: post -title: Blazor Bullet Chart Dimensions and Sizing | Syncfusion® -description: Learn how to set the size of Syncfusion Blazor Bullet Chart using container width, height, and inline CSS or Size for container. -platform: Blazor -control: Bullet Chart +title: Bullet Chart Dimensions in Blazor Bullet Chart Component | Syncfusion® +description: Checkout and learn here all about Bullet Chart Dimensions in Blazor Bullet Chart component and more. +platform: chart-sdk +control: Bullet Chart documentation: ug --- -# Blazor Bullet Chart Dimensions +# Bullet Chart Dimensions in Blazor Bullet Chart Component ## Size for container @@ -41,7 +41,7 @@ The size of the [Blazor Bullet Chart](https://help.syncfusion.com/cr/blazor/Sync }; } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BZBxZnMipcWLvBSR?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rjrgsVVCzqENDzfI?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Size for Bullet Chart @@ -63,7 +63,7 @@ N> If the size is not specified, the Bullet Chart will be rendered with a heigh
      ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LtrxZdiWpQWHZCuo?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/htrgWhLCJqkfMCtE?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} N> Refer to the [code block](#size-for-container) to know about the property value of **BulletChartData**. @@ -90,4 +90,4 @@ The [BulletChartMargin](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor. N> Refer to the [code block](#size-for-container) to know about the property value of **BulletChartData**. -{% previewsample "https://blazorplayground.syncfusion.com/embed/LZLdtnsMfcCkPVlE?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Bullet Chart with Margin](images/blazor-bullet-chart-margin.webp)" %} \ No newline at end of file +{% previewsample "https://blazorplayground.syncfusion.com/embed/BjBACrrWzKabABVG?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Bullet Chart with Margin](images/blazor-bullet-chart-margin.webp)" %} \ No newline at end of file diff --git a/chart-sdk/blazor/bullet-chart/customization.md b/chart-sdk/blazor/bullet-chart/customization.md index 3753da041..399749e46 100644 --- a/chart-sdk/blazor/bullet-chart/customization.md +++ b/chart-sdk/blazor/bullet-chart/customization.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Bullet Chart Customization Examples | Syncfusion® -description: Learn how to customize Syncfusion Blazor Bullet Chart, including orientation, flow direction, and overall appearance of the chart. -platform: Blazor -control: Bullet Chart +title: Customization in Blazor Bullet Chart Component | Syncfusion® +description: Checkout and learn here all features about Customization in Blazor Bullet Chart component and more more. +platform: chart-sdk +control: Bullet Chart documentation: ug --- -# Blazor Bullet Chart Customization +# Customization in Blazor Bullet Chart Component ## Orientation diff --git a/chart-sdk/blazor/bullet-chart/data-binding.md b/chart-sdk/blazor/bullet-chart/data-binding.md index e5a42f555..e23365ee2 100644 --- a/chart-sdk/blazor/bullet-chart/data-binding.md +++ b/chart-sdk/blazor/bullet-chart/data-binding.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Bullet Chart Working with Data Examples | Syncfusion® -description: Learn how to bind data to Syncfusion Blazor Bullet Chart using DataSource, ValueField, TargetField, and CategoryField with code samples. -platform: Blazor -control: Bullet Chart +title: Working with Data in Blazor Bullet Chart Component | Syncfusion® +description: Checkout and learn here all features about working with data in Blazor Bullet Chart component and much more. +platform: chart-sdk +control: Bullet Chart documentation: ug --- -# Blazor Bullet Chart Working with Data +# Working with Data in Blazor Bullet Chart Component The [DataSource](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SfBulletChart-1.html#Syncfusion_Blazor_Charts_SfBulletChart_1_DataSource) property accepts a collection of values as input that helps to display measures, and compares them to a target bar. To display the actual and target bar, specify the property from the datasource into the [ValueField](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SfBulletChart-1.html#Syncfusion_Blazor_Charts_SfBulletChart_1_ValueField) and [TargetField](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SfBulletChart-1.html#Syncfusion_Blazor_Charts_SfBulletChart_1_TargetField) respectively. @@ -41,4 +41,4 @@ The [DataSource](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts. }; } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BXrxNnsVLCpMXlIO?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Data Binding in Blazor Bullet Chart](images/blazor-bullet-chart-data-binding.webp)" %} \ No newline at end of file +{% previewsample "https://blazorplayground.syncfusion.com/embed/VtVKshVizpSfJRvO?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Data Binding in Blazor Bullet Chart](images/blazor-bullet-chart-data-binding.webp)" %} \ No newline at end of file diff --git a/chart-sdk/blazor/bullet-chart/data-label.md b/chart-sdk/blazor/bullet-chart/data-label.md index c5431b311..af7a08856 100644 --- a/chart-sdk/blazor/bullet-chart/data-label.md +++ b/chart-sdk/blazor/bullet-chart/data-label.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Bullet Chart Data Labels Examples | Syncfusion® -description: Learn how to add and customize data labels in Syncfusion Blazor Bullet Chart, including position, format, and label style. -platform: Blazor -control: Bullet Chart +title: Data Labels in Blazor Bullet Chart Component | Syncfusion® +description: Checkout and learn here all features about Data Labels in Blazor Bullet Chart component and much more. +platform: chart-sdk +control: Bullet Chart documentation: ug --- -# Blazor Bullet Chart Data Labels +# Data Labels in Blazor Bullet Chart Component Data Labels are used to identify the value of actual bar in the [Blazor Bullet Chart](https://www.syncfusion.com/blazor-components/blazor-bullet-chart) component. The Data Labels will be shown by specifying the [BulletChartDataLabel](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.BulletChartDataLabel.html) setting. diff --git a/chart-sdk/blazor/bullet-chart/events.md b/chart-sdk/blazor/bullet-chart/events.md index 0cb3f503b..4f2a7eb15 100644 --- a/chart-sdk/blazor/bullet-chart/events.md +++ b/chart-sdk/blazor/bullet-chart/events.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Bullet Chart Events Examples and Reference | Syncfusion® -description: Learn about events in Syncfusion Blazor Bullet Chart such as Loaded, OnLegendItemRender, and TooltipRender with usage examples. -platform: Blazor -control: Bullet Chart +title: Events in Blazor Bullet Chart Component | Syncfusion® +description: Checkout and learn here all features about available Events in Blazor Bullet Chart component and much more. +platform: chart-sdk +control: Bullet Chart documentation: ug --- -# Blazor Bullet Chart Events +# Events in Blazor Bullet Chart Component This section describes about the [Blazor Bullet](https://www.syncfusion.com/blazor-components/blazor-bullet-chart) Chart component's events that will be triggered when appropriate actions are performed. The events should be provided to the Bullet Chart through the [BulletChartEvents](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.BulletChartEvents.html). diff --git a/chart-sdk/blazor/bullet-chart/getting-started-with-server-app.md b/chart-sdk/blazor/bullet-chart/getting-started-with-server-app.md index 3c95e6780..e54d39eed 100644 --- a/chart-sdk/blazor/bullet-chart/getting-started-with-server-app.md +++ b/chart-sdk/blazor/bullet-chart/getting-started-with-server-app.md @@ -1,114 +1,103 @@ --- layout: post -title: Getting Started with Blazor Bullet Chart in Server App | Syncfusion® -description: Learn how to get started with Syncfusion Blazor Bullet Chart in a Blazor Server app, including setup, packages, and first chart. -platform: Blazor -control: Bullet Chart +title: Getting Started with BulletChart in Blazor Server App | Syncfusion® +description: Checkout and learn about the documentation for getting started with Blazor Bullet Chart Component in Blazor Server App. +platform: chart-sdk +component: Bullet Chart documentation: ug --- -# Blazor Bullet Chart Getting Started in Server App +# Getting Started with Blazor BulletChart Component in Blazor Server App -This section briefly explains how to include [Blazor Bullet Chart](https://www.syncfusion.com/blazor-components/blazor-bullet-chart) component in a Blazor Server App using [Visual Studio](https://visualstudio.microsoft.com/vs/), [Visual Studio Code](https://code.visualstudio.com/), and the [.NET CLI](https://learn.microsoft.com/en-us/dotnet/core/tools/). - -## Create a new Blazor Server App +This section briefly explains about how to include [Blazor Bullet Chart](https://www.syncfusion.com/blazor-components/blazor-bullet-chart) component in a Blazor Server App using [Visual Studio](https://visualstudio.microsoft.com/vs/), [Visual Studio Code](https://code.visualstudio.com/), and the [.NET CLI](https://learn.microsoft.com/en-us/dotnet/core/tools/). {% tabcontents %} {% tabcontent Visual Studio %} -Create a **Blazor Server App** by using the **Blazor Web App** template in Visual Studio via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vs) or the [Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-integration/template-studio). +## Prerequisites -{% endtabcontent %} +* [System requirements for Blazor components](https://blazor.syncfusion.com/documentation/system-requirements) -{% tabcontent Visual Studio Code %} +## Create a new Blazor App in Visual Studio -Run the following command to create a new Blazor Server App. +Create a **Blazor Server App** by using the **Blazor Web App** template in Visual Studio via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vs) or the [Syncfusion® Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-integration/template-studio). For detailed instructions, refer to the [Blazor Server App Getting Started](https://blazor.syncfusion.com/documentation/getting-started/blazor-server-side-visual-studio) documentation. -{% tabs %} -{% highlight razor tabtitle="Terminal" %} +{% endtabcontent %} -dotnet new blazor -o BlazorApp --interactivity Server -cd BlazorApp +{% tabcontent Visual Studio Code %} -{% endhighlight %} -{% endtabs %} +## Prerequisites -Alternatively, create a **Blazor Server App** using Visual Studio Code via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vsc) or the [Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-code-integration/create-project), or the [C# Dev Kit](https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csdevkit) extension. +* [System requirements for Blazor components](https://blazor.syncfusion.com/documentation/system-requirements) -{% endtabcontent %} +## Create a new Blazor App in Visual Studio Code -{% tabcontent .NET CLI %} +Create a **Blazor Server App** using Visual Studio Code via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vsc) or the [Syncfusion® Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-code-integration/create-project). For detailed instructions, refer to the [Blazor Server App Getting Started](https://blazor.syncfusion.com/documentation/getting-started/blazor-server-side-visual-studio?tabcontent=visual-studio-code) documentation. -Run the following command to create a new Blazor Server App. +Alternatively, create a Server application by using the following command in the integrated terminal(Ctrl+`). {% tabs %} -{% highlight razor tabtitle="Command Prompt" %} -dotnet new blazor -o BlazorApp --interactivity Server +{% highlight c# tabtitle="Blazor Server App" %} + +dotnet new blazor -o BlazorApp -int Server cd BlazorApp {% endhighlight %} + {% endtabs %} {% endtabcontent %} -{% endtabcontents %} - -N> Configure the appropriate [Interactive render mode](https://learn.microsoft.com/en-us/aspnet/core/blazor/components/render-modes?view=aspnetcore-10.0#render-modes) and [Interactivity location](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vs) while creating a Blazor Server App. For detailed information, refer to the [interactive render mode documentation](https://blazor.syncfusion.com/documentation/common/interactive-render-mode). - -## Install the required Blazor package - -Install the [Syncfusion.Blazor.BulletChart](https://www.nuget.org/packages/Syncfusion.Blazor.BulletChart) NuGet package. All Syncfusion Blazor packages are available on [nuget.org](https://www.nuget.org/packages?q=syncfusion.blazor). See the [NuGet packages](https://blazor.syncfusion.com/documentation/nuget-packages) topic for details. - -{% tabcontents %} - -{% tabcontent Visual Studio %} +{% tabcontent .NET CLI %} -1. Go to *Tools → NuGet Package Manager → Manage NuGet Packages for Solution*. -2. Search the required NuGet package (`Syncfusion.Blazor.BulletChart`) and install it. +## Prerequisites -Alternatively, you can install the same package using the Package Manager Console with the following command. +Install the latest version of [.NET SDK](https://dotnet.microsoft.com/en-us/download). If the .NET SDK is already installed, determine the installed version by running the following command in a command prompt (Windows), terminal (macOS), or command shell (Linux). {% tabs %} -{% highlight razor tabtitle="Package Manager Console" %} +{% highlight c# tabtitle=".NET CLI" %} -Install-Package Syncfusion.Blazor.BulletChart -Version {{ site.releaseversion }} +dotnet --version {% endhighlight %} {% endtabs %} -{% endtabcontent %} - -{% tabcontent Visual Studio Code %} +## Create a Blazor Server App using .NET CLI -Open the terminal and run the following command. +Run the following command to create a new Blazor Server App in a command prompt (Windows) or terminal (macOS) or command shell (Linux). For detailed instructions, refer to the [Blazor Server App Getting Started](https://blazor.syncfusion.com/documentation/getting-started/blazor-server-side-visual-studio?tabcontent=.net-cli) documentation. {% tabs %} -{% highlight razor tabtitle="Terminal" %} +{% highlight c# tabtitle=".NET CLI" %} -dotnet add package Syncfusion.Blazor.BulletChart -v {{ site.releaseversion }} +dotnet new blazor -o BlazorApp -int Server +cd BlazorApp {% endhighlight %} {% endtabs %} {% endtabcontent %} -{% tabcontent .NET CLI %} +{% endtabcontents %} + +N> Configure the appropriate [Interactive render mode](https://learn.microsoft.com/en-us/aspnet/core/blazor/components/render-modes?view=aspnetcore-10.0#render-modes) and [Interactivity location](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vs) while creating a Blazor Server App. For detailed information, refer to the [interactive render mode documentation](https://blazor.syncfusion.com/documentation/common/interactive-render-mode). -Open the command prompt and run the following command. +## Install required Blazor packages + +Install [Syncfusion.Blazor.BulletChart](https://www.nuget.org/packages/Syncfusion.Blazor.BulletChart/) NuGet package in your project using the NuGet Package Manager in Visual Studio (*Tools → NuGet Package Manager → Manage NuGet Packages for Solution*), or the integrated terminal in Visual Studio Code (`dotnet add package`), or the .NET CLI. + +Alternatively, run the following command in the Package Manager Console to achieve the same. {% tabs %} -{% highlight razor tabtitle="Command Prompt" %} +{% highlight C# tabtitle="Package Manager" %} -dotnet add package Syncfusion.Blazor.BulletChart -v {{ site.releaseversion }} +Install-Package Syncfusion.Blazor.BulletChart -Version {{ site.releaseversion }} {% endhighlight %} {% endtabs %} -{% endtabcontent %} - -{% endtabcontents %} +N> All Syncfusion Blazor packages are available on [nuget.org](https://www.nuget.org/packages?q=syncfusion.blazor). See the [NuGet packages](https://blazor.syncfusion.com/documentation/nuget-packages) topic for details. ## Add import namespaces @@ -123,9 +112,9 @@ After the package is installed, open the **~/_Imports.razor** file and import th {% endhighlight %} {% endtabs %} -## Register the Blazor service +## Register Blazor service -Open the **Program.cs** file in Blazor Server App and register the Blazor service. +Register the Blazor service in the **Program.cs** file of your Blazor Server App. {% tabs %} {% highlight C# tabtitle="Program.cs" %} @@ -140,34 +129,41 @@ builder.Services.AddSyncfusionBlazor(); {% endtabs %} ## Add script resources - -The script can be accessed from NuGet through [Static Web Assets](https://blazor.syncfusion.com/documentation/appearance/themes#static-web-assets). Include the [script references](https://blazor.syncfusion.com/documentation/common/adding-script-references) in the **App.razor** file. -{% tabs %} -{% highlight html tabtitle="App.razor" %} +The script can be accessed from NuGet through [Static Web Assets](https://blazor.syncfusion.com/documentation/appearance/themes#static-web-assets). Include the script reference in the **~/Components/App.razor** file. + +```html -{% endhighlight %} -{% endtabs %} +``` + +N> Check out the [Adding Script Reference](https://blazor.syncfusion.com/documentation/common/adding-script-references) topic to learn different approaches for adding script references in the Blazor application. ## Add Blazor Bullet Chart component -Open a Razor file located in the **~/Pages/*.razor** (for example, **Home.razor**) and add the [Blazor Bullet Chart](https://www.syncfusion.com/blazor-components/blazor-bullet-chart) component inside the razor file. +Add the Blazor Bullet Chart component in the **~/Components/Pages/Home.razor** file. If the interactivity location is set to `Per page/component`, define a render mode at the top of the `~Pages/Home.razor` file. -N>If the interactivity location is set to `Per page/component`, define a render mode at the top of the razor file. (For example `InteractiveServer`). If the Interactivity is set to `Global`, the render mode is automatically configured in the `App.razor` file by default. +N> If the Interactivity Location is set to `Global`, the render mode is automatically configured in the `App.razor` file by default. {% tabs %} -{% highlight razor tabtitle="Home.razor" %} +{% highlight razor %} -@page "/" +@* desired render mode define here *@ @rendermode InteractiveServer +{% endhighlight %} +{% endtabs %} + +{% tabs %} +{% highlight razor tabtitle="Home.razor" %} + +@using Syncfusion.Blazor.Charts + -@code -{ +@code{ public class ChartData { public double FieldValue { get; set; } @@ -182,47 +178,9 @@ N>If the interactivity location is set to `Per page/component`, define a render {% endhighlight %} {% endtabs %} -## Run the application - -{% tabcontents %} - -{% tabcontent Visual Studio %} - -Press Ctrl+F5 (Windows) or +F5 (macOS) to launch the application. The Blazor Bullet Chart component will render in your default web browser. - -{% endtabcontent %} - -{% tabcontent Visual Studio Code %} - -Open the terminal and run the following command. - -{% tabs %} -{% highlight razor tabtitle="Terminal" %} - -dotnet run - -{% endhighlight %} -{% endtabs %} - -{% endtabcontent %} - -{% tabcontent .NET CLI %} +* Press Ctrl+F5 (Windows) or +F5 (macOS) to launch the application. This will render the Blazor Bullet Chart component in the default web browser. -Open the command prompt and run the following command. - -{% tabs %} -{% highlight razor tabtitle="Command Prompt" %} - -dotnet run - -{% endhighlight %} -{% endtabs %} - -{% endtabcontent %} - -{% endtabcontents %} - -{% previewsample "https://blazorplayground.syncfusion.com/embed/BXBdjHiMJdxpZLsR?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Bullet Chart Component](images/blazor-bullet-chart-component.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hNLJZMByKuOOgQjA?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Bullet Chart Component](images/blazor-bullet-chart-component.webp)" %} N> [View Sample in GitHub](https://github.com/SyncfusionExamples/Blazor-Getting-Started-Examples/tree/main/BulletChart). @@ -239,7 +197,7 @@ Add a title by using the [Title](https://help.syncfusion.com/cr/blazor/Syncfusio {% endhighlight %} {% endtabs %} -{% previewsample "https://blazorplayground.syncfusion.com/embed/BDLHjRiCzHdclwiM?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Bullet Chart with Title](images/blazor-bullet-chart-title.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VZhpXWByfNMLYFQO?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Bullet Chart with Title](images/blazor-bullet-chart-title.webp)" %} ## Adding ranges @@ -260,7 +218,7 @@ Add ranges by using the [BulletChartRangeCollection](https://help.syncfusion.com {% endhighlight %} {% endtabs %} -{% previewsample "https://blazorplayground.syncfusion.com/embed/LtLxtnMszRcrejzZ?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Adding Range in Blazor Bullet Chart](images/blazor-bullet-chart-ranges.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rXrJXMhezDHBfdQU?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Adding Range in Blazor Bullet Chart](images/blazor-bullet-chart-ranges.webp)" %} ## Adding tooltip @@ -281,9 +239,11 @@ Use the tooltip to show the measured values by setting the [Enable](https://help {% endhighlight %} {% endtabs %} -{% previewsample "https://blazorplayground.syncfusion.com/embed/VDhRXniWTxmeRSpM?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Bullet Chart displays ToolTip](images/blazor-bullet-chart-tooltip.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VNBzDWVITXPjsQbH?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Bullet Chart displays ToolTip](images/blazor-bullet-chart-tooltip.webp)" %} + +N> You can also explore our [Blazor Bullet Chart example](https://blazor.syncfusion.com/demos/bullet-chart/default-functionalities?theme=bootstrap5) that shows you how to render and configure the bullet chart. ## See also -1. [Getting Started with Blazor WebAssembly App in Visual Studio](https://blazor.syncfusion.com/documentation/getting-started/blazor-webassembly-app) -2. [Getting Started with Blazor Web App in Visual Studio](https://blazor.syncfusion.com/documentation/getting-started/blazor-web-app) +1. [Getting Started with Blazor for client-side in .NET Core CLI](https://blazor.syncfusion.com/documentation/getting-started/blazor-webassembly-dotnet-cli) +2. [Getting Started with Blazor for client-side in Visual Studio](https://blazor.syncfusion.com/documentation/getting-started/blazor-webassembly-visual-studio) diff --git a/chart-sdk/blazor/bullet-chart/getting-started-with-web-app.md b/chart-sdk/blazor/bullet-chart/getting-started-with-web-app.md index 25f4184fb..97ff8ce66 100644 --- a/chart-sdk/blazor/bullet-chart/getting-started-with-web-app.md +++ b/chart-sdk/blazor/bullet-chart/getting-started-with-web-app.md @@ -1,52 +1,46 @@ --- layout: post -title: Getting Started with Blazor Bullet Chart in Web App | Syncfusion® -description: Learn how to get started with Syncfusion Blazor Bullet Chart in a Blazor Web App, including server and client setup, packages, and first chart. -platform: Blazor -control: Bullet Chart +title: Getting Started with BulletChart in Blazor Web App | Syncfusion® +description: Checkout and learn about the documentation for getting started with Blazor Bullet Chart Component in Blazor Web App. +platform: chart-sdk +component: Bullet Chart documentation: ug --- -# Blazor Bullet Chart Getting Started in Web App +# Getting Started with Blazor BulletChart in Blazor Web App -This section briefly explains how to include [Blazor Bullet Chart](https://www.syncfusion.com/blazor-components/blazor-bullet-chart) component in your Blazor Web App using [Visual Studio](https://visualstudio.microsoft.com/vs/), [Visual Studio Code](https://code.visualstudio.com/), and the [.NET CLI](https://learn.microsoft.com/en-us/dotnet/core/tools/). - -## Create a new Blazor Web App +This section briefly explains about how to include [Blazor Bullet Chart](https://www.syncfusion.com/blazor-components/blazor-bullet-chart) component in your Blazor Web App using [Visual Studio](https://visualstudio.microsoft.com/vs/), [Visual Studio Code](https://code.visualstudio.com/), and the [.NET CLI](https://learn.microsoft.com/en-us/dotnet/core/tools/). {% tabcontents %} {% tabcontent Visual Studio %} -Create a **Blazor Web App** using Visual Studio via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vs) or the [Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-integration/template-studio). +## Prerequisites -{% endtabcontent %} +* [System requirements for Blazor components](https://blazor.syncfusion.com/documentation/system-requirements) -{% tabcontent Visual Studio Code %} +## Create a new Blazor Web App in Visual Studio -Run the following command to create a new Blazor Web App. +Create a **Blazor Web App** using Visual Studio via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vs) or the [Syncfusion® Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-integration/template-studio). For detailed instructions, refer to the [Blazor Web App Getting Started](https://blazor.syncfusion.com/documentation/getting-started/blazor-web-app) documentation. -{% tabs %} -{% highlight razor tabtitle="Terminal" %} +{% endtabcontent %} -dotnet new blazor -o BlazorWebApp --interactivity Auto -cd BlazorWebApp -cd BlazorWebApp.Client +{% tabcontent Visual Studio Code %} -{% endhighlight %} -{% endtabs %} +## Prerequisites -Alternatively, create a **Blazor Web App** using Visual Studio Code via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vsc), the [Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-code-integration/create-project), or the [C# Dev Kit](https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csdevkit) extension. +* [System requirements for Blazor components](https://blazor.syncfusion.com/documentation/system-requirements) -{% endtabcontent %} +## Create a new Blazor Web App in Visual Studio Code -{% tabcontent .NET CLI %} +Create a **Blazor Web App** using Visual Studio Code via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vsc) or the [Syncfusion® Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-code-integration/create-project). For detailed instructions, refer to the [Blazor Web App Getting Started](https://blazor.syncfusion.com/documentation/getting-started/blazor-web-app?tabcontent=visual-studio-code) documentation. -Run the following command to create a new Blazor Web App. +For example, in a Blazor Web App with the `Auto` interactive render mode, use the following command in the integrated terminal (Ctrl+`). {% tabs %} -{% highlight razor tabtitle="Command Prompt" %} +{% highlight c# tabtitle="Blazor Web App" %} -dotnet new blazor -o BlazorWebApp --interactivity Auto +dotnet new blazor -o BlazorWebApp -int Auto cd BlazorWebApp cd BlazorWebApp.Client @@ -55,66 +49,65 @@ cd BlazorWebApp.Client {% endtabcontent %} -{% endtabcontents %} - -N> Configure the appropriate [Interactive render mode](https://learn.microsoft.com/en-us/aspnet/core/blazor/components/render-modes?view=aspnetcore-10.0#render-modes) and [Interactivity location](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vs) while creating a Blazor Web App. For detailed information, refer to the [interactive render mode documentation](https://blazor.syncfusion.com/documentation/common/interactive-render-mode). - -## Install the required Blazor package - -Install the [Syncfusion.Blazor.BulletChart](https://www.nuget.org/packages/Syncfusion.Blazor.BulletChart) NuGet package. All Syncfusion Blazor packages are available on [nuget.org](https://www.nuget.org/packages?q=syncfusion.blazor). See the [NuGet packages](https://blazor.syncfusion.com/documentation/nuget-packages) topic for details. If using the `WebAssembly` or `Auto` render modes in the Blazor Web App, install this package in the `.Client` project. - -{% tabcontents %} - -{% tabcontent Visual Studio %} +{% tabcontent .NET CLI %} -1. Go to *Tools → NuGet Package Manager → Manage NuGet Packages for Solution*. -2. Search the required NuGet package (`Syncfusion.Blazor.BulletChart`) and install it. +## Prerequisites -Alternatively, you can install the same package using the Package Manager Console with the following command. +Install the latest version of [.NET SDK](https://dotnet.microsoft.com/en-us/download). If you previously installed the SDK, you can determine the installed version by executing the following command in a command prompt (Windows) or terminal (macOS) or command shell (Linux). {% tabs %} -{% highlight razor tabtitle="Package Manager Console" %} +{% highlight c# tabtitle=".NET CLI" %} -Install-Package Syncfusion.Blazor.BulletChart -Version {{ site.releaseversion }} +dotnet --version {% endhighlight %} {% endtabs %} -{% endtabcontent %} +## Create a Blazor Web App using .NET CLI -{% tabcontent Visual Studio Code %} +Run the following command to create a new Blazor Web App in a command prompt (Windows) or terminal (macOS) or command shell (Linux). For detailed instructions, refer to the [Blazor Web App Getting Started](https://blazor.syncfusion.com/documentation/getting-started/blazor-web-app?tabcontent=.net-cli) documentation. -Open the terminal and run the following command. +For example, in a Blazor Web App with the `Auto` interactive render mode, use the following commands: {% tabs %} -{% highlight razor tabtitle="Terminal" %} +{% highlight c# tabtitle="Blazor Web App" %} -dotnet add package Syncfusion.Blazor.BulletChart -v {{ site.releaseversion }} +dotnet new blazor -o BlazorWebApp -int Auto +cd BlazorWebApp +cd BlazorWebApp.Client {% endhighlight %} {% endtabs %} +This command creates a new Blazor Web App and places it in a new directory called `BlazorWebApp` inside your current location. See the [Create a Blazor App](https://dotnet.microsoft.com/en-us/learn/aspnet/blazor-tutorial/create) and [dotnet new CLI command](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?pivots=cli&view=aspnetcore-10.0) topics for more details. + {% endtabcontent %} -{% tabcontent .NET CLI %} +{% endtabcontents %} + +N> Configure the appropriate [Interactive render mode](https://learn.microsoft.com/en-us/aspnet/core/blazor/components/render-modes?view=aspnetcore-10.0#render-modes) and [Interactivity location](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vs) while creating a Blazor Web App. For detailed information, refer to the [interactive render mode documentation](https://blazor.syncfusion.com/documentation/common/interactive-render-mode). + +## Install Blazor BulletChart NuGet in the App -Open the command prompt and run the following command. +Install [Syncfusion.Blazor.BulletChart](https://www.nuget.org/packages/Syncfusion.Blazor.BulletChart/) NuGet package in your project using the NuGet Package Manager in Visual Studio (*Tools → NuGet Package Manager → Manage NuGet Packages for Solution*), or the integrated terminal in Visual Studio Code (`dotnet add package`), or the .NET CLI. + +Alternatively, run the following commands in the Package Manager Console to achieve the same. {% tabs %} -{% highlight razor tabtitle="Command Prompt" %} +{% highlight C# tabtitle="Package Manager" %} -dotnet add package Syncfusion.Blazor.BulletChart -v {{ site.releaseversion }} +Install-Package Syncfusion.Blazor.BulletChart -Version {{ site.releaseversion }} {% endhighlight %} {% endtabs %} -{% endtabcontent %} +If using the `WebAssembly` or `Auto` render modes in the Blazor Web App, install this package in the client project. -{% endtabcontents %} +N> All Syncfusion Blazor packages are available on [nuget.org](https://www.nuget.org/packages?q=syncfusion.blazor). See the [NuGet packages](https://blazor.syncfusion.com/documentation/nuget-packages) topic for details. ## Add import namespaces -After the package is installed, open the **~/_Imports.razor** file in the `.Client` project and import the `Syncfusion.Blazor` and `Syncfusion.Blazor.Charts` namespaces. +After the package is installed, open the **~/_Imports.razor** file in the client project and import the `Syncfusion.Blazor` and `Syncfusion.Blazor.Charts` namespaces. {% tabs %} {% highlight C# tabtitle="~/_Imports.razor" %} @@ -125,9 +118,9 @@ After the package is installed, open the **~/_Imports.razor** file in the `.Clie {% endhighlight %} {% endtabs %} -## Register the Blazor service +## Register Blazor service -Open the **Program.cs** file in Blazor Web App and register the Blazor service. If the **Interactive Render Mode** is set to `WebAssembly` or `Auto`, register the Blazor service in **Program.cs** files of both the server and client projects in your Blazor Web App. +Register the Blazor service in the **Program.cs** file of your Blazor Web App. {% tabs %} {% highlight c# tabtitle="Program.cs" %} @@ -141,35 +134,44 @@ builder.Services.AddSyncfusionBlazor(); {% endhighlight %} {% endtabs %} +N> If the **Interactive Render Mode** is set to `WebAssembly` or `Auto`, register the Blazor service in **Program.cs** files of both the server and client projects in your Blazor Web App. + ## Add script resources - -The script can be accessed from NuGet through [Static Web Assets](https://blazor.syncfusion.com/documentation/appearance/themes#static-web-assets). Include the [script references](https://blazor.syncfusion.com/documentation/common/adding-script-references) in the **App.razor** file. -{% tabs %} -{% highlight html tabtitle="App.razor" %} +The script can be accessed from NuGet through [Static Web Assets](https://blazor.syncfusion.com/documentation/appearance/themes#static-web-assets). Include the script reference in the **~/Components/App.razor** file. + +```html -{% endhighlight %} -{% endtabs %} +``` + +N> Check out the [Adding Script Reference](https://blazor.syncfusion.com/documentation/common/adding-script-references) topic to learn different approaches for adding script references in the Blazor application. ## Add Blazor Bullet Chart component -Open a Razor file located in the **~/Pages/*.razor** (for example, **Home.razor**) and add the [Blazor Bullet Chart](https://www.syncfusion.com/blazor-components/blazor-bullet-chart) component inside the razor file. +Add the Blazor Bullet Chart component in the **~/Components/Pages/*.razor** file. If the interactivity location is set to `Per page/component` in the Web App, define a render mode at the top of the `~Pages/*.razor` file. (For example, `InteractiveServer`, `InteractiveWebAssembly` or `InteractiveAuto`). -N> If the interactivity location is set to `Per page/component` in the Web App, define a render mode at the top of the razor file. (For example, `InteractiveServer`, `InteractiveWebAssembly` or `InteractiveAuto`). If the **Interactivity** is set to `Global` with `Auto` or `WebAssembly`, the render mode is automatically configured in the `App.razor` file by default. +N> If the **Interactivity Location** is set to `Global` with `Auto` or `WebAssembly`, the render mode is automatically configured in the `App.razor` file by default. {% tabs %} -{% highlight razor tabtitle="Home.razor" %} +{% highlight razor %} -@page "/" +@* desired render mode define here *@ @rendermode InteractiveAuto +{% endhighlight %} +{% endtabs %} + +{% tabs %} +{% highlight razor tabtitle="Home.razor" %} + +@using Syncfusion.Blazor.Charts + -@code -{ +@code{ public class ChartData { public double FieldValue { get; set; } @@ -184,51 +186,9 @@ N> If the interactivity location is set to `Per page/component` in the Web App, {% endhighlight %} {% endtabs %} -## Run the application - -{% tabcontents %} - -{% tabcontent Visual Studio %} - -Press Ctrl+F5 (Windows) or +F5 (macOS) to launch the application. The Blazor Bullet Chart component will render in your default web browser. +* Press Ctrl+F5 (Windows) or +F5 (macOS) to launch the application. This will render the Blazor Bullet Chart component in the default web browser. -{% endtabcontent %} - -{% tabcontent Visual Studio Code %} - -Open the terminal and navigate to the main project folder (for example, `BlazorWebApp`) and run the following command. - -{% tabs %} -{% highlight razor tabtitle="Terminal" %} - -cd .. -cd BlazorWebApp -dotnet run - -{% endhighlight %} -{% endtabs %} - -{% endtabcontent %} - -{% tabcontent .NET CLI %} - -Open the command prompt and navigate to the main project folder (for example, `BlazorWebApp`) and run the following command. - -{% tabs %} -{% highlight razor tabtitle="Command Prompt" %} - -cd .. -cd BlazorWebApp -dotnet run - -{% endhighlight %} -{% endtabs %} - -{% endtabcontent %} - -{% endtabcontents %} - -{% previewsample "https://blazorplayground.syncfusion.com/embed/BXBdjHiMJdxpZLsR?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Bullet Chart Component](images/blazor-bullet-chart-component.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hNLJZMByKuOOgQjA?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Bullet Chart Component](images/blazor-bullet-chart-component.webp)" %} N> [View Sample in GitHub](https://github.com/SyncfusionExamples/Blazor-Getting-Started-Examples/tree/main/BulletChart). @@ -245,7 +205,7 @@ Add a title by using the [Title](https://help.syncfusion.com/cr/blazor/Syncfusio {% endhighlight %} {% endtabs %} -{% previewsample "https://blazorplayground.syncfusion.com/embed/BDLHjRiCzHdclwiM?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Bullet Chart with Title](images/blazor-bullet-chart-title.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VZhpXWByfNMLYFQO?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Bullet Chart with Title](images/blazor-bullet-chart-title.webp)" %} ## Adding ranges @@ -266,7 +226,7 @@ Add ranges by using the [BulletChartRangeCollection](https://help.syncfusion.com {% endhighlight %} {% endtabs %} -{% previewsample "https://blazorplayground.syncfusion.com/embed/LtLxtnMszRcrejzZ?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Adding Range in Blazor Bullet Chart](images/blazor-bullet-chart-ranges.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rXrJXMhezDHBfdQU?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Adding Range in Blazor Bullet Chart](images/blazor-bullet-chart-ranges.webp)" %} ## Adding tooltip @@ -287,10 +247,13 @@ Use the tooltip to show the measured values by setting the [Enable](https://help {% endhighlight %} {% endtabs %} -{% previewsample "https://blazorplayground.syncfusion.com/embed/VDhRXniWTxmeRSpM?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Bullet Chart displays ToolTip](images/blazor-bullet-chart-tooltip.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VNBzDWVITXPjsQbH?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Bullet Chart displays ToolTip](images/blazor-bullet-chart-tooltip.webp)" %} + +N> You can also explore our [Blazor Bullet Chart example](https://blazor.syncfusion.com/demos/bullet-chart/default-functionalities?theme=bootstrap5) that shows you how to render and configure the bullet chart. ## See also -1. [Getting Started with Blazor WebAssembly App in Visual Studio](https://blazor.syncfusion.com/documentation/getting-started/blazor-webassembly-app) -2. [Getting Started with Blazor Server App in Visual Studio](https://blazor.syncfusion.com/documentation/getting-started/blazor-server-side-visual-studio) +1. [Getting Started with Blazor for client-side in .NET Core CLI](https://blazor.syncfusion.com/documentation/getting-started/blazor-webassembly-dotnet-cli) +2. [Getting Started with Blazor for client-side in Visual Studio](https://blazor.syncfusion.com/documentation/getting-started/blazor-webassembly-visual-studio) +3. [Getting Started with Blazor for server-side in .NET Core CLI](https://blazor.syncfusion.com/documentation/getting-started/blazor-server-side-dotnet-cli) diff --git a/chart-sdk/blazor/bullet-chart/getting-started.md b/chart-sdk/blazor/bullet-chart/getting-started.md index ad02b5c7e..bc8fb5aaf 100644 --- a/chart-sdk/blazor/bullet-chart/getting-started.md +++ b/chart-sdk/blazor/bullet-chart/getting-started.md @@ -1,114 +1,103 @@ --- layout: post -title: Getting Started with Blazor Bullet Chart in WASM App | Syncfusion® -description: Learn how to get started with Syncfusion Blazor Bullet Chart in a Blazor WebAssembly app, including setup, packages, and first chart. -platform: Blazor +title: Getting Started with Blazor Bullet Chart Component | Syncfusion® +description: Checkout and learn about getting started with Blazor Bullet Chart component in Blazor WebAssembly App. +platform: chart-sdk control: Bullet Chart documentation: ug --- -# Blazor Bullet Chart Getting Started in WASM App +# Getting Started with Blazor Bullet Chart Component -This section briefly explains how to include [Blazor Bullet Chart](https://www.syncfusion.com/blazor-components/blazor-bullet-chart) component in a Blazor WebAssembly App using [Visual Studio](https://visualstudio.microsoft.com/vs/), [Visual Studio Code](https://code.visualstudio.com/), and the [.NET CLI](https://learn.microsoft.com/en-us/dotnet/core/tools/). - -## Create a new Blazor WebAssembly (Standalone) App +This section briefly explains about how to include [Blazor Bullet Chart](https://www.syncfusion.com/blazor-components/blazor-bullet-chart) component in a Blazor WebAssembly App using [Visual Studio](https://visualstudio.microsoft.com/vs/), [Visual Studio Code](https://code.visualstudio.com/), and the [.NET CLI](https://learn.microsoft.com/en-us/dotnet/core/tools/). {% tabcontents %} {% tabcontent Visual Studio %} -Create a **Blazor WebAssembly App** using Visual Studio via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vs) or the [Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-integration/template-studio). +## Prerequisites -{% endtabcontent %} +* [System requirements for Blazor components](https://blazor.syncfusion.com/documentation/system-requirements) -{% tabcontent Visual Studio Code %} +## Create a new Blazor App in Visual Studio -Run the following command to create a new Blazor WebAssembly App. +Create a **Blazor WebAssembly App** using Visual Studio via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vs) or the [Syncfusion® Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-integration/template-studio). For detailed instructions, refer to the [Blazor WASM App Getting Started](https://blazor.syncfusion.com/documentation/getting-started/blazor-webassembly-app) documentation. -{% tabs %} -{% highlight razor tabtitle="Terminal" %} +{% endtabcontent %} -dotnet new blazorwasm -o BlazorApp -cd BlazorApp +{% tabcontent Visual Studio Code %} -{% endhighlight %} -{% endtabs %} +## Prerequisites -Alternatively, create a **Blazor WebAssembly App** using Visual Studio Code via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vsc) or the [Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-code-integration/create-project), or the [C# Dev Kit](https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csdevkit) extension. +* [System requirements for Blazor components](https://blazor.syncfusion.com/documentation/system-requirements) -{% endtabcontent %} +## Create a new Blazor App in Visual Studio Code -{% tabcontent .NET CLI %} +Create a **Blazor WebAssembly App** using Visual Studio Code via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vsc) or the [Syncfusion® Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-code-integration/create-project). For detailed instructions, refer to the [Blazor WASM App Getting Started](https://blazor.syncfusion.com/documentation/getting-started/blazor-webassembly-app?tabcontent=visual-studio-code) documentation. -Run the following command to create a new Blazor WebAssembly App. +Alternatively, create a WebAssembly application by using the following command in the integrated terminal (Ctrl+`). {% tabs %} -{% highlight razor tabtitle="Command Prompt" %} + +{% highlight c# tabtitle="Blazor WASM App" %} dotnet new blazorwasm -o BlazorApp cd BlazorApp {% endhighlight %} + {% endtabs %} {% endtabcontent %} -{% endtabcontents %} - -## Install the required Blazor package - -Install the [Syncfusion.Blazor.BulletChart](https://www.nuget.org/packages/Syncfusion.Blazor.BulletChart) NuGet package. All Syncfusion Blazor packages are available on [nuget.org](https://www.nuget.org/packages?q=syncfusion.blazor). See the [NuGet packages](https://blazor.syncfusion.com/documentation/nuget-packages) topic for details. - -{% tabcontents %} - -{% tabcontent Visual Studio %} +{% tabcontent .NET CLI %} -1. Go to *Tools → NuGet Package Manager → Manage NuGet Packages for Solution*. -2. Search the required NuGet package (`Syncfusion.Blazor.BulletChart`) and install it. +## Prerequisites -Alternatively, you can install the same package using the Package Manager Console with the following command. +Install the latest version of [.NET SDK](https://dotnet.microsoft.com/en-us/download). If the .NET SDK is already installed, determine the installed version by running the following command in a command prompt (Windows), terminal (macOS), or command shell (Linux). {% tabs %} -{% highlight razor tabtitle="Package Manager Console" %} +{% highlight c# tabtitle=".NET CLI" %} -Install-Package Syncfusion.Blazor.BulletChart -Version {{ site.releaseversion }} +dotnet --version {% endhighlight %} {% endtabs %} -{% endtabcontent %} - -{% tabcontent Visual Studio Code %} +## Create a Blazor WebAssembly App using .NET CLI -Open the terminal and run the following command. +Run the following command to create a new Blazor WebAssembly App in a command prompt (Windows) or terminal (macOS) or command shell (Linux). For detailed instructions, refer to the [Blazor WASM App Getting Started](https://blazor.syncfusion.com/documentation/getting-started/blazor-webassembly-app?tabcontent=.net-cli) documentation. {% tabs %} -{% highlight razor tabtitle="Terminal" %} +{% highlight c# tabtitle=".NET CLI" %} -dotnet add package Syncfusion.Blazor.BulletChart -v {{ site.releaseversion }} +dotnet new blazorwasm -o BlazorApp +cd BlazorApp {% endhighlight %} {% endtabs %} {% endtabcontent %} -{% tabcontent .NET CLI %} +{% endtabcontents %} -Open the command prompt and run the following command. +## Install required Blazor packages + +Install [Syncfusion.Blazor.BulletChart](https://www.nuget.org/packages/Syncfusion.Blazor.BulletChart/) NuGet package in your project using the NuGet Package Manager in Visual Studio (*Tools → NuGet Package Manager → Manage NuGet Packages for Solution*), or the integrated terminal in Visual Studio Code (`dotnet add package`), or the .NET CLI. + +Alternatively, run the following command in the Package Manager Console to achieve the same. {% tabs %} -{% highlight razor tabtitle="Command Prompt" %} +{% highlight C# tabtitle="Package Manager" %} -dotnet add package Syncfusion.Blazor.BulletChart -v {{ site.releaseversion }} +Install-Package Syncfusion.Blazor.BulletChart -Version {{ site.releaseversion }} {% endhighlight %} {% endtabs %} -{% endtabcontent %} - -{% endtabcontents %} +N> All Syncfusion Blazor packages are available on [nuget.org](https://www.nuget.org/packages?q=syncfusion.blazor). See the [NuGet packages](https://blazor.syncfusion.com/documentation/nuget-packages) topic for details. -### Add import namespaces +## Add import namespaces After the packages are installed, open the **~/_Imports.razor** file and import the `Syncfusion.Blazor` and `Syncfusion.Blazor.Charts` namespaces. @@ -121,9 +110,9 @@ After the packages are installed, open the **~/_Imports.razor** file and import {% endhighlight %} {% endtabs %} -## Register the Blazor service +## Register Blazor service -Open the **Program.cs** file in Blazor WebAssembly App and register the Blazor service. +Register the Blazor service in the **Program.cs** file of your Blazor WebAssembly App. {% tabs %} {% highlight C# tabtitle="Program.cs" %} @@ -138,31 +127,30 @@ builder.Services.AddSyncfusionBlazor(); {% endtabs %} ## Add script resources - -The script can be accessed from NuGet through [Static Web Assets](https://blazor.syncfusion.com/documentation/appearance/themes#static-web-assets). Include the [script references](https://blazor.syncfusion.com/documentation/common/adding-script-references) in the **~wwwroot/index.html** file. -{% tabs %} -{% highlight html tabtitle="index.html" %} +The script can be accessed through [Static Web Assets](https://blazor.syncfusion.com/documentation/common/adding-script-references#static-web-assets). Include the script reference in the **~/index.html** file. + +```html -{% endhighlight %} -{% endtabs %} +``` + +N> Check out the [Adding Script Reference](https://blazor.syncfusion.com/documentation/common/adding-script-references) topic to learn different approaches for adding script references in Blazor application. ## Add Blazor Bullet Chart component -Open a Razor file located in the **~/Pages/*.razor** (for example, **Home.razor**) and add the [Blazor Bullet Chart](https://www.syncfusion.com/blazor-components/blazor-bullet-chart) component inside the razor file. +Add the Blazor Bullet Chart component in the **~/Pages/Index.razor** file. {% tabs %} -{% highlight razor tabtitle="Home.razor" %} +{% highlight razor tabtitle="Index.razor" %} -@page "/" +@using Syncfusion.Blazor.Charts -@code -{ +@code{ public class ChartData { public double FieldValue { get; set; } @@ -177,47 +165,9 @@ Open a Razor file located in the **~/Pages/*.razor** (for example, **Home.razor* {% endhighlight %} {% endtabs %} -## Run the application - -{% tabcontents %} - -{% tabcontent Visual Studio %} - -Press Ctrl+F5 (Windows) or +F5 (macOS) to launch the application. The Blazor Bullet Chart component will render in your default web browser. - -{% endtabcontent %} - -{% tabcontent Visual Studio Code %} - -Open the terminal and run the following command. - -{% tabs %} -{% highlight razor tabtitle="Terminal" %} - -dotnet run - -{% endhighlight %} -{% endtabs %} - -{% endtabcontent %} - -{% tabcontent .NET CLI %} - -Open the command prompt and run the following command. - -{% tabs %} -{% highlight razor tabtitle="Command Prompt" %} - -dotnet run - -{% endhighlight %} -{% endtabs %} - -{% endtabcontent %} - -{% endtabcontents %} +* Press Ctrl+F5 (Windows) or +F5 (macOS) to launch the application. This will render the Blazor Bullet Chart component in the default web browser. -{% previewsample "https://blazorplayground.syncfusion.com/embed/BXBdjHiMJdxpZLsR?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Bullet Chart Component](images/blazor-bullet-chart-component.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hNLJZMByKuOOgQjA?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Bullet Chart Component](images/blazor-bullet-chart-component.webp)" %} N> [View Sample in GitHub](https://github.com/SyncfusionExamples/Blazor-Getting-Started-Examples/tree/main/BulletChart). @@ -226,7 +176,9 @@ N> [View Sample in GitHub](https://github.com/SyncfusionExamples/Blazor-Getting- Add a title by using the [Title](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SfBulletChart-1.html#Syncfusion_Blazor_Charts_SfBulletChart_1_Title) property in the Bullet Chart to provide quick information to the user about the data plotted in the component. {% tabs %} -{% highlight razor tabtitle="Home.razor" %} +{% highlight razor tabtitle="Index.razor" %} + +@using Syncfusion.Blazor.Charts @@ -234,14 +186,16 @@ Add a title by using the [Title](https://help.syncfusion.com/cr/blazor/Syncfusio {% endhighlight %} {% endtabs %} -{% previewsample "https://blazorplayground.syncfusion.com/embed/BDLHjRiCzHdclwiM?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Bullet Chart with Title](images/blazor-bullet-chart-title.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VZhpXWByfNMLYFQO?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Bullet Chart with Title](images/blazor-bullet-chart-title.webp)" %} ## Adding ranges Add ranges by using the [BulletChartRangeCollection](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.BulletChartRangeCollection.html) to measure the qualitative state by observing the distance between each range. {% tabs %} -{% highlight razor tabtitle="Home.razor" %} +{% highlight razor tabtitle="Index.razor" %} + +@using Syncfusion.Blazor.Charts @@ -254,14 +208,16 @@ Add ranges by using the [BulletChartRangeCollection](https://help.syncfusion.com {% endhighlight %} {% endtabs %} -{% previewsample "https://blazorplayground.syncfusion.com/embed/LtLxtnMszRcrejzZ?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Adding Range in Blazor Bullet Chart](images/blazor-bullet-chart-ranges.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rXrJXMhezDHBfdQU?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Adding Range in Blazor Bullet Chart](images/blazor-bullet-chart-ranges.webp)" %} ## Adding tooltip Use the tooltip to show the measured values by setting the [Enable](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.BulletChartTooltip-1.html#Syncfusion_Blazor_Charts_BulletChartTooltip_1_Enable) property to **true** in the [BulletChartTooltip](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.BulletChartTooltip-1.html). {% tabs %} -{% highlight razor tabtitle="Home.razor" %} +{% highlight razor tabtitle="Index.razor" %} + +@using Syncfusion.Blazor.Charts @@ -275,9 +231,6 @@ Use the tooltip to show the measured values by setting the [Enable](https://help {% endhighlight %} {% endtabs %} -{% previewsample "https://blazorplayground.syncfusion.com/embed/VDhRXniWTxmeRSpM?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Bullet Chart displays ToolTip](images/blazor-bullet-chart-tooltip.webp)" %} - -## See also +{% previewsample "https://blazorplayground.syncfusion.com/embed/VNBzDWVITXPjsQbH?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Bullet Chart displays ToolTip](images/blazor-bullet-chart-tooltip.webp)" %} -1. [Getting Started with Blazor Web App in Visual Studio](https://blazor.syncfusion.com/documentation/getting-started/blazor-web-app) -2. [Getting Started with Blazor Server App in Visual Studio](https://blazor.syncfusion.com/documentation/getting-started/blazor-server-side-visual-studio) \ No newline at end of file +N> You can also explore our [Blazor Bullet Chart example](https://blazor.syncfusion.com/demos/bullet-chart/default-functionalities?theme=bootstrap5) that shows you how to render and configure the bullet chart. diff --git a/chart-sdk/blazor/bullet-chart/images/blazor-bullet-chart-actual-bar-customization.webp b/chart-sdk/blazor/bullet-chart/images/blazor-bullet-chart-actual-bar-customization.webp index ab53ae2f5..8f231f03d 100644 Binary files a/chart-sdk/blazor/bullet-chart/images/blazor-bullet-chart-actual-bar-customization.webp and b/chart-sdk/blazor/bullet-chart/images/blazor-bullet-chart-actual-bar-customization.webp differ diff --git a/chart-sdk/blazor/bullet-chart/images/blazor-bullet-chart-actual-bar.webp b/chart-sdk/blazor/bullet-chart/images/blazor-bullet-chart-actual-bar.webp index b39612630..622bc21e6 100644 Binary files a/chart-sdk/blazor/bullet-chart/images/blazor-bullet-chart-actual-bar.webp and b/chart-sdk/blazor/bullet-chart/images/blazor-bullet-chart-actual-bar.webp differ diff --git a/chart-sdk/blazor/bullet-chart/images/blazor-bullet-chart-category-label.webp b/chart-sdk/blazor/bullet-chart/images/blazor-bullet-chart-category-label.webp index 717a4aed5..f1a409655 100644 Binary files a/chart-sdk/blazor/bullet-chart/images/blazor-bullet-chart-category-label.webp and b/chart-sdk/blazor/bullet-chart/images/blazor-bullet-chart-category-label.webp differ diff --git a/chart-sdk/blazor/bullet-chart/images/blazor-bullet-chart-component.webp b/chart-sdk/blazor/bullet-chart/images/blazor-bullet-chart-component.webp index 804c97dfa..43577b021 100644 Binary files a/chart-sdk/blazor/bullet-chart/images/blazor-bullet-chart-component.webp and b/chart-sdk/blazor/bullet-chart/images/blazor-bullet-chart-component.webp differ diff --git a/chart-sdk/blazor/bullet-chart/images/blazor-bullet-chart-custom-label-format.webp b/chart-sdk/blazor/bullet-chart/images/blazor-bullet-chart-custom-label-format.webp index c1de8a259..45af62a53 100644 Binary files a/chart-sdk/blazor/bullet-chart/images/blazor-bullet-chart-custom-label-format.webp and b/chart-sdk/blazor/bullet-chart/images/blazor-bullet-chart-custom-label-format.webp differ diff --git a/chart-sdk/blazor/bullet-chart/images/blazor-bullet-chart-data-binding.webp b/chart-sdk/blazor/bullet-chart/images/blazor-bullet-chart-data-binding.webp index b2e21a501..e67cb7c6e 100644 Binary files a/chart-sdk/blazor/bullet-chart/images/blazor-bullet-chart-data-binding.webp and b/chart-sdk/blazor/bullet-chart/images/blazor-bullet-chart-data-binding.webp differ diff --git a/chart-sdk/blazor/bullet-chart/images/blazor-bullet-chart-dot-actual-bar.webp b/chart-sdk/blazor/bullet-chart/images/blazor-bullet-chart-dot-actual-bar.webp index 9c5fbb09d..e9e11d9ed 100644 Binary files a/chart-sdk/blazor/bullet-chart/images/blazor-bullet-chart-dot-actual-bar.webp and b/chart-sdk/blazor/bullet-chart/images/blazor-bullet-chart-dot-actual-bar.webp differ diff --git a/chart-sdk/blazor/bullet-chart/images/blazor-bullet-chart-grouping.webp b/chart-sdk/blazor/bullet-chart/images/blazor-bullet-chart-grouping.webp index 542d19052..a796fff3b 100644 Binary files a/chart-sdk/blazor/bullet-chart/images/blazor-bullet-chart-grouping.webp and b/chart-sdk/blazor/bullet-chart/images/blazor-bullet-chart-grouping.webp differ diff --git a/chart-sdk/blazor/bullet-chart/images/blazor-bullet-chart-label-customization.webp b/chart-sdk/blazor/bullet-chart/images/blazor-bullet-chart-label-customization.webp index 46feddaab..d1f38f863 100644 Binary files a/chart-sdk/blazor/bullet-chart/images/blazor-bullet-chart-label-customization.webp and b/chart-sdk/blazor/bullet-chart/images/blazor-bullet-chart-label-customization.webp differ diff --git a/chart-sdk/blazor/bullet-chart/images/blazor-bullet-chart-label-format.webp b/chart-sdk/blazor/bullet-chart/images/blazor-bullet-chart-label-format.webp index 34d930b11..0a26999dc 100644 Binary files a/chart-sdk/blazor/bullet-chart/images/blazor-bullet-chart-label-format.webp and b/chart-sdk/blazor/bullet-chart/images/blazor-bullet-chart-label-format.webp differ diff --git a/chart-sdk/blazor/bullet-chart/images/blazor-bullet-chart-labels-position.webp b/chart-sdk/blazor/bullet-chart/images/blazor-bullet-chart-labels-position.webp index 7d17a2ff3..938ec0136 100644 Binary files a/chart-sdk/blazor/bullet-chart/images/blazor-bullet-chart-labels-position.webp and b/chart-sdk/blazor/bullet-chart/images/blazor-bullet-chart-labels-position.webp differ diff --git a/chart-sdk/blazor/bullet-chart/images/blazor-bullet-chart-margin.webp b/chart-sdk/blazor/bullet-chart/images/blazor-bullet-chart-margin.webp index 9a0a58b6c..2abb28d29 100644 Binary files a/chart-sdk/blazor/bullet-chart/images/blazor-bullet-chart-margin.webp and b/chart-sdk/blazor/bullet-chart/images/blazor-bullet-chart-margin.webp differ diff --git a/chart-sdk/blazor/bullet-chart/images/blazor-bullet-chart-opposed-position.webp b/chart-sdk/blazor/bullet-chart/images/blazor-bullet-chart-opposed-position.webp index 76a486024..ed094e5c3 100644 Binary files a/chart-sdk/blazor/bullet-chart/images/blazor-bullet-chart-opposed-position.webp and b/chart-sdk/blazor/bullet-chart/images/blazor-bullet-chart-opposed-position.webp differ diff --git a/chart-sdk/blazor/bullet-chart/images/blazor-bullet-chart-range-customization.webp b/chart-sdk/blazor/bullet-chart/images/blazor-bullet-chart-range-customization.webp index 7ddfc9cb6..273106265 100644 Binary files a/chart-sdk/blazor/bullet-chart/images/blazor-bullet-chart-range-customization.webp and b/chart-sdk/blazor/bullet-chart/images/blazor-bullet-chart-range-customization.webp differ diff --git a/chart-sdk/blazor/bullet-chart/images/blazor-bullet-chart-range.webp b/chart-sdk/blazor/bullet-chart/images/blazor-bullet-chart-range.webp index 5b78500cd..da0622215 100644 Binary files a/chart-sdk/blazor/bullet-chart/images/blazor-bullet-chart-range.webp and b/chart-sdk/blazor/bullet-chart/images/blazor-bullet-chart-range.webp differ diff --git a/chart-sdk/blazor/bullet-chart/images/blazor-bullet-chart-ranges.webp b/chart-sdk/blazor/bullet-chart/images/blazor-bullet-chart-ranges.webp index 74878983c..10213bcb4 100644 Binary files a/chart-sdk/blazor/bullet-chart/images/blazor-bullet-chart-ranges.webp and b/chart-sdk/blazor/bullet-chart/images/blazor-bullet-chart-ranges.webp differ diff --git a/chart-sdk/blazor/bullet-chart/images/blazor-bullet-chart-tick-line-customization.webp b/chart-sdk/blazor/bullet-chart/images/blazor-bullet-chart-tick-line-customization.webp index 51f9d2b51..c30fa91dd 100644 Binary files a/chart-sdk/blazor/bullet-chart/images/blazor-bullet-chart-tick-line-customization.webp and b/chart-sdk/blazor/bullet-chart/images/blazor-bullet-chart-tick-line-customization.webp differ diff --git a/chart-sdk/blazor/bullet-chart/images/blazor-bullet-chart-tick-position.webp b/chart-sdk/blazor/bullet-chart/images/blazor-bullet-chart-tick-position.webp index 941048e18..dbdb0d82d 100644 Binary files a/chart-sdk/blazor/bullet-chart/images/blazor-bullet-chart-tick-position.webp and b/chart-sdk/blazor/bullet-chart/images/blazor-bullet-chart-tick-position.webp differ diff --git a/chart-sdk/blazor/bullet-chart/images/blazor-bullet-chart-title.webp b/chart-sdk/blazor/bullet-chart/images/blazor-bullet-chart-title.webp index 14c8b59c4..72ce62bf8 100644 Binary files a/chart-sdk/blazor/bullet-chart/images/blazor-bullet-chart-title.webp and b/chart-sdk/blazor/bullet-chart/images/blazor-bullet-chart-title.webp differ diff --git a/chart-sdk/blazor/bullet-chart/images/blazor-bullet-chart-tooltip.webp b/chart-sdk/blazor/bullet-chart/images/blazor-bullet-chart-tooltip.webp index 26352dc3c..b8379467d 100644 Binary files a/chart-sdk/blazor/bullet-chart/images/blazor-bullet-chart-tooltip.webp and b/chart-sdk/blazor/bullet-chart/images/blazor-bullet-chart-tooltip.webp differ diff --git a/chart-sdk/blazor/bullet-chart/legend.md b/chart-sdk/blazor/bullet-chart/legend.md index 57ab73a8a..6676efbf0 100644 --- a/chart-sdk/blazor/bullet-chart/legend.md +++ b/chart-sdk/blazor/bullet-chart/legend.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Bullet Chart Legend Configuration Examples | Syncfusion® -description: Learn how to enable and customize the legend in Syncfusion Blazor Bullet Chart, including position, alignment, and BulletChartLegendSettings. -platform: Blazor -control: Bullet Chart +title: Legend in Blazor Bullet Chart Component | Syncfusion® +description: Checkout and learn here all features about the Legend in Blazor Bullet Chart component and much more. +platform: chart-sdk +control: Bullet Chart documentation: ug --- -# Blazor Bullet Chart Legend +# Legend in Blazor Bullet Chart Component Legend is used to provide valuable information for interpreting what the Bullet Chart displays. The legends can be represented in various colors, positions, shapes or other identifiers based on the data and it can be enabled by setting the [Visible](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.BulletChartLegendSettings.html#Syncfusion_Blazor_Charts_BulletChartLegendSettings_Visible) property to **true** in the [BulletChartLegendSettings](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.BulletChartLegendSettings.html). diff --git a/chart-sdk/blazor/bullet-chart/ranges.md b/chart-sdk/blazor/bullet-chart/ranges.md index 02d684149..8de3710a4 100644 --- a/chart-sdk/blazor/bullet-chart/ranges.md +++ b/chart-sdk/blazor/bullet-chart/ranges.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Bullet Chart Ranges Examples | Syncfusion® -description: Learn how to define qualitative ranges in Syncfusion Blazor Bullet Chart using BulletChartRangeCollection with Good, Satisfactory, and Bad values. -platform: Blazor -control: Bullet Chart +title: Ranges in Blazor Bullet Chart Component | Syncfusion® +description: Checkout and learn here all features about the ranges in Blazor Bullet Chart component and much more. +platform: chart-sdk +control: Bullet Chart documentation: ug --- -# Blazor Bullet Chart Ranges +# Ranges in Blazor Bullet Chart Component Ranges represent the quality of a specific range such as **Good**, **Bad** and **Satisfactory** in the Bullet Chart scale. The ending point of a qualitative range is specified in the [End](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.BulletChartRange.html#Syncfusion_Blazor_Charts_BulletChartRange_End) property. The minimum value of a quantitative scale is considered the starting point of the first range or the previous range end point. @@ -34,7 +34,7 @@ Ranges represent the quality of a specific range such as **Good**, **Bad** and * }; } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BZLHZniLrCyJeDQw?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Ranges in Blazor Bullet Chart](images/blazor-bullet-chart-range.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BDLUiLLiTfIkQhfG?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Ranges in Blazor Bullet Chart](images/blazor-bullet-chart-range.webp)" %} ## Color customization @@ -68,4 +68,4 @@ Enhance the readability of ranges with color and opacity. It can be applied usin }; } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LjrnDHCLBCIkyJWS?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Customizing Ranges with Color in Blazor Bullet Chart](images/blazor-bullet-chart-range-customization.webp)" %} \ No newline at end of file +{% previewsample "https://blazorplayground.syncfusion.com/embed/BZBUWBrWJJHrSIXJ?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Customizing Ranges with Color in Blazor Bullet Chart](images/blazor-bullet-chart-range-customization.webp)" %} \ No newline at end of file diff --git a/chart-sdk/blazor/bullet-chart/target-bar.md b/chart-sdk/blazor/bullet-chart/target-bar.md index 2c5ecfc39..1f7fd058f 100644 --- a/chart-sdk/blazor/bullet-chart/target-bar.md +++ b/chart-sdk/blazor/bullet-chart/target-bar.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Bullet Chart Target Bar Examples | Syncfusion® -description: Learn how to render the target bar (comparative measure) in Syncfusion Blazor Bullet Chart by mapping TargetField to your data source. -platform: Blazor -control: Bullet Chart +title: Target Bar in Blazor Bullet Chart Component | Syncfusion® +description: Checkout and learn here all features about Target Bar in Blazor Bullet Chart component and much more. +platform: chart-sdk +control: Bullet Chart documentation: ug --- -# Blazor Bullet Chart Target Bar +# Target Bar in Blazor Bullet Chart Component The line marker that runs perpendicular to the orientation of the graph is known as the **Comparative Measure** and it is used as a target marker to compare against the feature measure value. This is also called as the **Target Bar** in the Bullet Chart. To display the target bar, the [TargetField](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SfBulletChart-1.html#Syncfusion_Blazor_Charts_SfBulletChart_1_TargetField) should be mapped to the appropriate field from the datasource. diff --git a/chart-sdk/blazor/bullet-chart/title.md b/chart-sdk/blazor/bullet-chart/title.md index 24f458aaa..5b5299927 100644 --- a/chart-sdk/blazor/bullet-chart/title.md +++ b/chart-sdk/blazor/bullet-chart/title.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Bullet Chart Title and Subtitle Examples | Syncfusion® -description: Learn how to add a title and subtitle to Syncfusion Blazor Bullet Chart, including text, alignment, and font styling options. -platform: Blazor -control: Bullet Chart +title: Title and Subtitle in Blazor Bullet Chart Component | Syncfusion® +description: Checkout and learn here all about Title and Subtitle in Blazor Bullet Chart component and much more. +platform: chart-sdk +control: Bullet Chart documentation: ug --- -# Blazor Bullet Chart Title and Subtitle +# Title and Subtitle in Blazor Bullet Chart Component ## Title diff --git a/chart-sdk/blazor/bullet-chart/tool-tip.md b/chart-sdk/blazor/bullet-chart/tool-tip.md index 17f274a43..e5c11ed8f 100644 --- a/chart-sdk/blazor/bullet-chart/tool-tip.md +++ b/chart-sdk/blazor/bullet-chart/tool-tip.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Bullet Chart Tooltip Examples | Syncfusion® -description: Learn how to enable and customize tooltips in Syncfusion Blazor Bullet Chart, including format, template, and styling options. -platform: Blazor -control: Bullet Chart +title: Tooltip in Blazor Bullet Chart Component | Syncfusion® +description: Checkout and learn here all about Tooltip in Blazor Bullet Chart component including customization and templates. +platform: chart-sdk +control: Bullet Chart documentation: ug --- -# Blazor Bullet Chart Tooltip +# Tooltip in Blazor Bullet Chart Component When the mouse is hovered over a bar in the Bullet Chart, the tooltip displays important summary about the actual and the target bar values. diff --git a/chart-sdk/blazor/chart-wizard/accessibility.md b/chart-sdk/blazor/chart-wizard/accessibility.md index 0fbe587b9..9ba70ad9c 100644 --- a/chart-sdk/blazor/chart-wizard/accessibility.md +++ b/chart-sdk/blazor/chart-wizard/accessibility.md @@ -1,14 +1,14 @@ --- layout: post -title: Blazor Chart Wizard Accessibility Examples | Syncfusion® -description: Learn about accessibility in Syncfusion Blazor Chart Wizard with keyboard navigation, screen reader support, and WCAG 2.2 compliance. -platform: Blazor +title: Accessibility in Blazor Chart Wizard Component | Syncfusion® +description: Check out and learn here all about accessibility using keyboard navigation in Blazor Chart Wizard component and more. +platform: chart-sdk control: Chart Wizard documentation: ug keywords: chart wizard, blazor, accessibility --- -# Blazor Chart Wizard Accessibility +# Accessibility in Blazor Chart Wizard Component The Blazor Chart Wizard component followed the accessibility guidelines and standards, including [ADA](https://www.ada.gov/), [Section 508](https://www.section508.gov/), [WCAG 2.2](https://www.w3.org/TR/WCAG22/) standards, and [WCAG roles](https://www.w3.org/TR/wai-aria/#roles) that are commonly used to evaluate accessibility. diff --git a/chart-sdk/blazor/chart-wizard/appearance.md b/chart-sdk/blazor/chart-wizard/appearance.md index 31decf5c2..64406f3c4 100644 --- a/chart-sdk/blazor/chart-wizard/appearance.md +++ b/chart-sdk/blazor/chart-wizard/appearance.md @@ -1,15 +1,15 @@ --- layout: post -title: Blazor Chart Wizard Appearance Examples | Syncfusion® -description: Learn how to customize the appearance of Syncfusion Blazor Chart Wizard, including theme, width, height, RTL, and property panel settings. -platform: Blazor +title: Appearance | Blazor Chart Wizard Component | Syncfusion® +description: Check out and learn how to customize the appearance of the Blazor Chart Wizard component including themes and layout. +platform: chart-sdk control: Chart Wizard documentation: ug keywords: chart wizard, blazor, chart --- -# Blazor Chart Wizard Appearance +# Customizing Appearance in the Blazor Chart Wizard Component This guide explains how to tailor the appearance of the `Chart Wizard` component in Blazor. Discover the available properties and see practical examples for each customization option. diff --git a/chart-sdk/blazor/chart-wizard/getting-started-with-wasm.md b/chart-sdk/blazor/chart-wizard/getting-started-with-wasm.md index 0ec86e59a..04610c108 100644 --- a/chart-sdk/blazor/chart-wizard/getting-started-with-wasm.md +++ b/chart-sdk/blazor/chart-wizard/getting-started-with-wasm.md @@ -1,8 +1,8 @@ --- layout: post -title: Getting Started with Blazor Chart Wizard in WASM App | Syncfusion® -description: Learn how to get started with Syncfusion Blazor Chart Wizard in a Blazor WebAssembly app, including setup, packages, and first chart. -platform: Blazor +title: Getting Started | Blazor Chart Wizard Component in WASM | Syncfusion® +description: Check out and learn about getting started with Blazor Chart Wizard in Blazor WebAssembly (WASM) App using Visual Studio and more. +platform: chart-sdk control: Chart Wizard documentation: ug keywords: chart wizard, blazor, chart @@ -14,107 +14,93 @@ keywords: chart wizard, blazor, chart This section briefly explains about how to include the [Blazor Chart Wizard](https://www.syncfusion.com/blazor-components/blazor-chart-wizard) component in a Blazor WebAssembly App using [Visual Studio](https://visualstudio.microsoft.com/vs/), [Visual Studio Code](https://code.visualstudio.com/), and the [.NET CLI](https://learn.microsoft.com/en-us/dotnet/core/tools/). -> **Ready to streamline your Blazor development?**
      Discover the full potential of Blazor components with AI Coding Assistants. Effortlessly integrate, configure, and enhance your projects with intelligent, context-aware code suggestions, streamlined setups, and real-time insights—all seamlessly integrated into your preferred AI-powered IDEs like VS Code, Cursor, Code Studio and more. [Explore AI Coding Assistants](https://blazor.syncfusion.com/documentation/ai-coding-assistant/overview) - -## Create a new Blazor WebAssembly (Standalone) App +> **Ready to streamline your Blazor development?**
      Discover the full potential of Blazor components with AI Coding Assistants. Effortlessly integrate, configure, and enhance your projects with intelligent, context-aware code suggestions, streamlined setups, and real-time insights—all seamlessly integrated into your preferred AI-powered IDEs like VS Code, Cursor, CodeStudio and more. [Explore AI Coding Assistants](https://blazor.syncfusion.com/documentation/ai-coding-assistant/overview) {% tabcontents %} {% tabcontent Visual Studio %} -Create a **Blazor WebAssembly App** using Visual Studio via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vs) or the [Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-integration/template-studio). +## Prerequisites -{% endtabcontent %} +* [System requirements for Blazor components](https://blazor.syncfusion.com/documentation/system-requirements) -{% tabcontent Visual Studio Code %} +## Create a new Blazor App in Visual Studio -Run the following command to create a new Blazor WebAssembly App. +Create a **Blazor WebAssembly App** using Visual Studio via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vs) or the [Syncfusion® Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-integration/template-studio). For detailed instructions, refer to the [Blazor WASM App Getting Started](https://blazor.syncfusion.com/documentation/getting-started/blazor-webassembly-app) documentation. -{% tabs %} -{% highlight razor tabtitle="Terminal" %} +{% endtabcontent %} -dotnet new blazorwasm -o BlazorApp -cd BlazorApp +{% tabcontent Visual Studio Code %} -{% endhighlight %} -{% endtabs %} +## Prerequisites -Alternatively, create a **Blazor WebAssembly App** using Visual Studio Code via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vsc) or the [Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-code-integration/create-project), or the [C# Dev Kit](https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csdevkit) extension. +* [System requirements for Blazor components](https://blazor.syncfusion.com/documentation/system-requirements) -{% endtabcontent %} +## Create a new Blazor App in Visual Studio Code -{% tabcontent .NET CLI %} +Create a **Blazor WebAssembly App** using Visual Studio Code via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vsc) or the [Syncfusion® Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-code-integration/create-project). For detailed instructions, refer to the [Blazor WASM App Getting Started](https://blazor.syncfusion.com/documentation/getting-started/blazor-webassembly-app?tabcontent=visual-studio-code) documentation. -Run the following command to create a new Blazor WebAssembly App. +Alternatively, create a WebAssembly application by using the following command in the integrated terminal (Ctrl+`). {% tabs %} -{% highlight razor tabtitle="Command Prompt" %} + +{% highlight c# tabtitle="Blazor WASM App" %} dotnet new blazorwasm -o BlazorApp cd BlazorApp {% endhighlight %} + {% endtabs %} {% endtabcontent %} -{% endtabcontents %} - -## Install the required Blazor packages - -Install the [Syncfusion.Blazor.ChartWizard](https://www.nuget.org/packages/Syncfusion.Blazor.ChartWizard/) and [Syncfusion.Blazor.Themes](https://www.nuget.org/packages/Syncfusion.Blazor.Themes/) NuGet packages. All Syncfusion Blazor packages are available on [nuget.org](https://www.nuget.org/packages?q=syncfusion.blazor). See the [NuGet packages](https://blazor.syncfusion.com/documentation/nuget-packages) topic for details. - -{% tabcontents %} - -{% tabcontent Visual Studio %} +{% tabcontent .NET CLI %} -1. Go to *Tools → NuGet Package Manager → Manage NuGet Packages for Solution*. -2. Search the required NuGet packages (`Syncfusion.Blazor.ChartWizard` and `Syncfusion.Blazor.Themes`) and install them. +## Prerequisites -Alternatively, you can install the same packages using the Package Manager Console with the following commands. +Install the latest version of [.NET SDK](https://dotnet.microsoft.com/en-us/download). If the .NET SDK is already installed, determine the installed version by running the following command in a command prompt (Windows), terminal (macOS), or command shell (Linux). {% tabs %} -{% highlight razor tabtitle="Package Manager Console" %} +{% highlight c# tabtitle=".NET CLI" %} -Install-Package Syncfusion.Blazor.ChartWizard -Version {{ site.releaseversion }} -Install-Package Syncfusion.Blazor.Themes -Version {{ site.releaseversion }} +dotnet --version {% endhighlight %} {% endtabs %} -{% endtabcontent %} +## Create a Blazor WebAssembly App using .NET CLI -{% tabcontent Visual Studio Code %} - -Open the terminal and run the following commands. +Run the following command to create a new Blazor WebAssembly App in a command prompt (Windows) or terminal (macOS) or command shell (Linux). For detailed instructions, refer to the [Blazor WASM App Getting Started](https://blazor.syncfusion.com/documentation/getting-started/blazor-webassembly-app?tabcontent=.net-cli) documentation. {% tabs %} -{% highlight razor tabtitle="Terminal" %} +{% highlight c# tabtitle=".NET CLI" %} -dotnet add package Syncfusion.Blazor.ChartWizard -v {{ site.releaseversion }} -dotnet add package Syncfusion.Blazor.Themes -v {{ site.releaseversion }} +dotnet new blazorwasm -o BlazorApp +cd BlazorApp {% endhighlight %} {% endtabs %} {% endtabcontent %} -{% tabcontent .NET CLI %} +{% endtabcontents %} + +## Install required Blazor packages + +Install [Syncfusion.Blazor.ChartWizard](https://www.nuget.org/packages/Syncfusion.Blazor.ChartWizard/) NuGet package in your project using the NuGet Package Manager in Visual Studio (*Tools → NuGet Package Manager → Manage NuGet Packages for Solution*), or the integrated terminal in Visual Studio Code (`dotnet add package`), or the .NET CLI. -Open the command prompt and run the following commands. +Alternatively, run the following command in the Package Manager Console to achieve the same. {% tabs %} -{% highlight razor tabtitle="Command Prompt" %} +{% highlight C# tabtitle="Package Manager" %} -dotnet add package Syncfusion.Blazor.ChartWizard -v {{ site.releaseversion }} -dotnet add package Syncfusion.Blazor.Themes -v {{ site.releaseversion }} +Install-Package Syncfusion.Blazor.ChartWizard -Version {{ site.releaseversion }} {% endhighlight %} {% endtabs %} -{% endtabcontent %} - -{% endtabcontents %} +N> All Syncfusion Blazor packages are available on [nuget.org](https://www.nuget.org/packages?q=syncfusion.blazor). See the [NuGet packages](https://blazor.syncfusion.com/documentation/nuget-packages) topic for details. ## Add import namespaces @@ -129,12 +115,12 @@ After the package is installed, open the **~/_Imports.razor** file and import th {% endhighlight %} {% endtabs %} -## Register the Blazor service +## Register Blazor service -Open the **Program.cs** file in Blazor WebAssembly App and register the Blazor service. +Register the Blazor service in the **Program.cs** file of your Blazor WebAssembly App. {% tabs %} -{% highlight c# tabtitle="Program.cs" %} +{% highlight C# tabtitle="Program.cs" %} .... using Syncfusion.Blazor; @@ -145,83 +131,42 @@ builder.Services.AddSyncfusionBlazor(); {% endhighlight %} {% endtabs %} -## Add stylesheet and script resources +## Add script resources -The theme stylesheet and script can be accessed from NuGet through [Static Web Assets](https://blazor.syncfusion.com/documentation/appearance/themes#static-web-assets). Include the [stylesheet](https://blazor.syncfusion.com/documentation/appearance/themes) and [script references](https://blazor.syncfusion.com/documentation/common/adding-script-references) in the **~wwwroot/index.html** file. +The script can be accessed from NuGet through [Static Web Assets](https://blazor.syncfusion.com/documentation/appearance/themes#static-web-assets). Include the script reference in the **~/index.html** file. -{% tabs %} -{% highlight html tabtitle="index.html" %} +```html -... - -... -{% endhighlight %} -{% endtabs %} - -## Add Blazor Chart Wizard component - -Open a Razor file located in the **~/Pages/*.razor** (for example, **Home.razor**) and add the [Blazor Chart Wizard](https://www.syncfusion.com/blazor-components/blazor-chart-wizard) component inside the razor file. - -{% tabs %} -{% highlight razor tabtitle="Home.razor" %} - - - - - -{% endhighlight %} -{% endtabs %} - -## Run the application - -{% tabcontents %} +``` -{% tabcontent Visual Studio %} - -Press Ctrl+F5 (Windows) or +F5 (macOS) to launch the application. The Blazor Chart Wizard component will render in your default web browser. +N> Check out the [Adding Script Reference](https://blazor.syncfusion.com/documentation/common/adding-script-references) topic to learn different approaches for adding script references in the Blazor application. -{% endtabcontent %} - -{% tabcontent Visual Studio Code %} +## Add Blazor Chart Wizard Component -Open the terminal and run the following command. +Add the Blazor Chart Wizard component in the **~/Pages/Index.razor** file. {% tabs %} -{% highlight razor tabtitle="Terminal" %} +{% highlight razor tabtitle="Index.razor" %} -dotnet run + -{% endhighlight %} -{% endtabs %} - -{% endtabcontent %} - -{% tabcontent .NET CLI %} - -Open the command prompt and run the following command. - -{% tabs %} -{% highlight razor tabtitle="Command Prompt" %} - -dotnet run + {% endhighlight %} {% endtabs %} -{% endtabcontent %} - -{% endtabcontents %} +* Press Ctrl+F5 (Windows) or +F5 (macOS) to launch the application. This will render the Blazor Chart Wizard component in the default web browser. {% previewsample "https://blazorplayground.syncfusion.com/embed/hjLRtHiyAsLphCAN?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Chart Wizard Default](images/chart-wizard-default.webp)" %} ## Populate Blazor Chart Wizard data -To bind data for the Chart Wizard component, you can assign an IEnumerable object to the `DataSource` property. +To bind data for the Chart Wizard component, you can assign a IEnumerable object to the `DataSource` property. {% tabs %} -{% highlight razor tabtitle="Home.razor" %} +{% highlight razor tabtitle="Index.razor" %} public class OlympicsData { @@ -256,7 +201,7 @@ N> The default series type is Line. Use the `SeriesType` property to change the series type. {% tabs %} -{% highlight razor tabtitle="Home.razor" %} +{% highlight razor tabtitle="Index.razor" %} @using Syncfusion.Blazor.ChartWizard @@ -270,8 +215,7 @@ The default series type is Line. Use the `SeriesType` property to change the ser
      -@code -{ +@code { private readonly List chartSeries = new() { "Gold", "Silver", "Bronze" }; private readonly List categories = new() { "Country", "CountryCode" }; @@ -304,12 +248,16 @@ The default series type is Line. Use the `SeriesType` property to change the ser ![Chart Wizard Example](images/chart-wizard-getting-started-example.webp) -## Prerequisites +## Theme + +Blazor Chart Wizard has built-in themes that can be used to change the appearance of the chart. -In order to apply same theme update for the overall Chart Wizard UI, include the same theme [stylesheet](https://blazor.syncfusion.com/documentation/appearance/themes) (this can be accessed from NuGet through [Static Web Assets](https://blazor.syncfusion.com/documentation/appearance/themes#static-web-assets)) in the **** tag in the **~wwwroot/index.html** file as shown below: +### Prerequisites + +In order to apply same theme update for the overall Chart Wizard UI, include the same theme stylesheet (this can be accessed from NuGet through Static Web Assets) in the tag in the App.razor file as shown below: {% tabs %} -{% highlight html tabtitle="index.html" %} +{% highlight razor %} .... @@ -322,7 +270,7 @@ In order to apply same theme update for the overall Chart Wizard UI, include the The `Theme` property is used to specify the visual theme applied to the chart. {% tabs %} -{% highlight razor tabtitle="Home.razor" %} +{% highlight razor tabtitle="Index.razor" %} @using Syncfusion.Blazor.ChartWizard @@ -336,8 +284,7 @@ The `Theme` property is used to specify the visual theme applied to the chart.
      -@code -{ +@code { private readonly List chartSeries = new() { "Gold", "Silver", "Bronze" }; private readonly List categories = new() { "Country", "CountryCode" }; @@ -372,6 +319,6 @@ The `Theme` property is used to specify the visual theme applied to the chart. ## See also -1. [Getting Started with Blazor for Client-Side in .NET Core CLI](https://blazor.syncfusion.com/documentation/getting-started/blazor-webassembly-app) -2. [Getting Started with Blazor for Server-Side in Visual Studio](https://blazor.syncfusion.com/documentation/getting-started/blazor-web-app) -3. [Getting Started with Blazor for Server-Side in .NET Core CLI](https://blazor.syncfusion.com/documentation/getting-started/blazor-web-app) +* [Getting Started with Blazor for Client-Side in .NET Core CLI](https://blazor.syncfusion.com/documentation/getting-started/blazor-webassembly-app) +* [Getting Started with Blazor for Server-Side in Visual Studio](https://blazor.syncfusion.com/documentation/getting-started/blazor-web-app) +* [Getting Started with Blazor for Server-Side in .NET Core CLI](https://blazor.syncfusion.com/documentation/getting-started/blazor-web-app) diff --git a/chart-sdk/blazor/chart-wizard/getting-started-with-web-app.md b/chart-sdk/blazor/chart-wizard/getting-started-with-web-app.md index 2803b90f7..5f2271cea 100644 --- a/chart-sdk/blazor/chart-wizard/getting-started-with-web-app.md +++ b/chart-sdk/blazor/chart-wizard/getting-started-with-web-app.md @@ -1,55 +1,49 @@ --- layout: post -title: Getting Started with Blazor Chart Wizard in Web App | Syncfusion® -description: Learn how to get started with Syncfusion Blazor Chart Wizard in a Blazor Web App, including server and client setup, packages, and first chart. -platform: Blazor +title: Getting Started with Blazor Chart Wizard in WebApp | Syncfusion® +description: Check out and learn about the documentation for getting started with Blazor Chart Wizard Component in Blazor Web App. +platform: chart-sdk control: Chart Wizard documentation: ug keywords: chart wizard, blazor, chart --- -# Getting Started with Blazor Chart Wizard Component in Blazor Web App +# Getting Started with Blazor Chart Wizard Component in Web App -This section briefly explains how to include the [Blazor Chart Wizard](https://www.syncfusion.com/blazor-components/blazor-chart-wizard) component in your Blazor Web App using [Visual Studio](https://visualstudio.microsoft.com/vs/), [Visual Studio Code](https://code.visualstudio.com/), and the [.NET CLI](https://learn.microsoft.com/en-us/dotnet/core/tools/). +This section briefly explains about how to include [Blazor Chart Wizard](https://www.syncfusion.com/blazor-components/blazor-chart-wizard) component in your Blazor Web App using [Visual Studio](https://visualstudio.microsoft.com/vs/), [Visual Studio Code](https://code.visualstudio.com/), and the [.NET CLI](https://learn.microsoft.com/en-us/dotnet/core/tools/). -> **Ready to streamline your Blazor development?**
      Discover the full potential of Blazor components with AI Coding Assistants. Effortlessly integrate, configure, and enhance your projects with intelligent, context-aware code suggestions, streamlined setups, and real-time insights—all seamlessly integrated into your preferred AI-powered IDEs like VS Code, Cursor, Code Studio and more. [Explore AI Coding Assistants](https://blazor.syncfusion.com/documentation/ai-coding-assistant/overview) - -## Create a new Blazor Web App +> **Ready to streamline your Blazor development?**
      Discover the full potential of Blazor components with AI Coding Assistants. Effortlessly integrate, configure, and enhance your projects with intelligent, context-aware code suggestions, streamlined setups, and real-time insights—all seamlessly integrated into your preferred AI-powered IDEs like VS Code, Cursor, CodeStudio and more. [Explore AI Coding Assistants](https://blazor.syncfusion.com/documentation/ai-coding-assistant/overview) {% tabcontents %} {% tabcontent Visual Studio %} -Create a **Blazor Web App** using Visual Studio via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vs) or the [Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-integration/template-studio). +## Prerequisites -{% endtabcontent %} +* [System requirements for Blazor components](https://blazor.syncfusion.com/documentation/system-requirements) -{% tabcontent Visual Studio Code %} +## Create a new Blazor Web App in Visual Studio -Run the following command to create a new Blazor Web App. +Create a **Blazor Web App** using Visual Studio via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vs) or the [Syncfusion® Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-integration/template-studio). For detailed instructions, refer to the [Blazor Web App Getting Started](https://blazor.syncfusion.com/documentation/getting-started/blazor-web-app) documentation. -{% tabs %} -{% highlight razor tabtitle="Terminal" %} +{% endtabcontent %} -dotnet new blazor -o BlazorWebApp --interactivity Auto -cd BlazorWebApp -cd BlazorWebApp.Client +{% tabcontent Visual Studio Code %} -{% endhighlight %} -{% endtabs %} +## Prerequisites -Alternatively, create a **Blazor Web App** using Visual Studio Code via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vsc), the [Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-code-integration/create-project), or the [C# Dev Kit](https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csdevkit) extension. +* [System requirements for Blazor components](https://blazor.syncfusion.com/documentation/system-requirements) -{% endtabcontent %} +## Create a new Blazor Web App in Visual Studio Code -{% tabcontent .NET CLI %} +Create a **Blazor Web App** using Visual Studio Code via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vsc) or the [Syncfusion® Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-code-integration/create-project). For detailed instructions, refer to the [Blazor Web App Getting Started](https://blazor.syncfusion.com/documentation/getting-started/blazor-web-app?tabcontent=visual-studio-code) documentation. -Run the following command to create a new Blazor Web App. +For example, in a Blazor Web App with the `Auto` interactive render mode, use the following commands in the integrated terminal (Ctrl+`). {% tabs %} -{% highlight razor tabtitle="Command Prompt" %} +{% highlight c# tabtitle="Blazor Web App" %} -dotnet new blazor -o BlazorWebApp --interactivity Auto +dotnet new blazor -o BlazorWebApp -int Auto cd BlazorWebApp cd BlazorWebApp.Client @@ -58,72 +52,68 @@ cd BlazorWebApp.Client {% endtabcontent %} -{% endtabcontents %} - -N> Configure the appropriate [Interactive render mode](https://learn.microsoft.com/en-us/aspnet/core/blazor/components/render-modes?view=aspnetcore-10.0#render-modes) and [Interactivity location](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vs) while creating a Blazor Web App. For detailed information, refer to the [interactive render mode documentation](https://blazor.syncfusion.com/documentation/common/interactive-render-mode). - -## Install the required Blazor packages - -Install the [Syncfusion.Blazor.ChartWizard](https://www.nuget.org/packages/Syncfusion.Blazor.ChartWizard/) and [Syncfusion.Blazor.Themes](https://www.nuget.org/packages/Syncfusion.Blazor.Themes/) NuGet packages. All Syncfusion Blazor packages are available on [nuget.org](https://www.nuget.org/packages?q=syncfusion.blazor). See the [NuGet packages](https://blazor.syncfusion.com/documentation/nuget-packages) topic for details. If using the `WebAssembly` or `Auto` render modes in the Blazor Web App, install these packages in the `.Client` project. - -{% tabcontents %} - -{% tabcontent Visual Studio %} +{% tabcontent .NET CLI %} -1. Go to *Tools → NuGet Package Manager → Manage NuGet Packages for Solution*. -2. Search the required NuGet packages (`Syncfusion.Blazor.ChartWizard` and `Syncfusion.Blazor.Themes`) and install them. +## Prerequisites -Alternatively, you can install the same packages using the Package Manager Console with the following commands. +Install the latest version of [.NET SDK](https://dotnet.microsoft.com/en-us/download). If you previously installed the SDK, you can determine the installed version by executing the following command in a command prompt (Windows) or terminal (macOS) or command shell (Linux). {% tabs %} -{% highlight razor tabtitle="Package Manager Console" %} +{% highlight c# tabtitle=".NET CLI" %} -Install-Package Syncfusion.Blazor.ChartWizard -Version {{ site.releaseversion }} -Install-Package Syncfusion.Blazor.Themes -Version {{ site.releaseversion }} +dotnet --version {% endhighlight %} {% endtabs %} -{% endtabcontent %} +## Create a Blazor Web App using .NET CLI -{% tabcontent Visual Studio Code %} +Run the following command to create a new Blazor Web App in a command prompt (Windows) or terminal (macOS) or command shell (Linux). For detailed instructions, refer to the [Blazor Web App Getting Started](https://blazor.syncfusion.com/documentation/getting-started/blazor-web-app?tabcontent=.net-cli) documentation. -Open the terminal and run the following commands. +For example, in a Blazor Web App with the `Auto` interactive render mode, use the following commands: {% tabs %} -{% highlight razor tabtitle="Terminal" %} +{% highlight c# tabtitle=".NET CLI" %} -dotnet add package Syncfusion.Blazor.ChartWizard -v {{ site.releaseversion }} -dotnet add package Syncfusion.Blazor.Themes -v {{ site.releaseversion }} +dotnet new blazor -o BlazorApp -int Auto +cd BlazorApp +cd BlazorApp.Client {% endhighlight %} {% endtabs %} +This command creates new Blazor Web App and places it in a new directory called `BlazorApp` inside your current location. See [Create Blazor app topic](https://dotnet.microsoft.com/en-us/learn/aspnet/blazor-tutorial/create) and [dotnet new CLI command](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?pivots=linux-macos&view=aspnetcore-8.0) topics for more details. + {% endtabcontent %} -{% tabcontent .NET CLI %} +{% endtabcontents %} + +N> Configure the appropriate [Interactive render mode](https://learn.microsoft.com/en-us/aspnet/core/blazor/components/render-modes?view=aspnetcore-10.0#render-modes) and [Interactivity location](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vs) while creating a Blazor Web App. For detailed information, refer to the [interactive render mode documentation](https://blazor.syncfusion.com/documentation/common/interactive-render-mode). + +## Install required Blazor packages + +Install [Syncfusion.Blazor.ChartWizard](https://www.nuget.org/packages/Syncfusion.Blazor.ChartWizard/) NuGet package in your project using the NuGet Package Manager in Visual Studio (*Tools → NuGet Package Manager → Manage NuGet Packages for Solution*), or the integrated terminal in Visual Studio Code (`dotnet add package`), or the .NET CLI. -Open the command prompt and run the following commands. +Alternatively, run the following command in the Package Manager Console to achieve the same. {% tabs %} -{% highlight razor tabtitle="Command Prompt" %} +{% highlight C# tabtitle="Package Manager" %} -dotnet add package Syncfusion.Blazor.ChartWizard -v {{ site.releaseversion }} -dotnet add package Syncfusion.Blazor.Themes -v {{ site.releaseversion }} +Install-Package Syncfusion.Blazor.ChartWizard -Version {{ site.releaseversion }} {% endhighlight %} {% endtabs %} -{% endtabcontent %} +If using the `WebAssembly` or `Auto` render modes in the Blazor Web App, install this package in the client project. -{% endtabcontents %} +N> All Syncfusion Blazor packages are available on [nuget.org](https://www.nuget.org/packages?q=syncfusion.blazor). See the [NuGet packages](https://blazor.syncfusion.com/documentation/nuget-packages) topic for details. ## Add Import Namespaces -After the package is installed, open the **~/_Imports.razor** file from the `.Client` project and import the `Syncfusion.Blazor` and `Syncfusion.Blazor.ChartWizard` namespaces. +After the package is installed, open the **~/_Imports.razor** file from the client project and import the `Syncfusion.Blazor` and `Syncfusion.Blazor.ChartWizard` namespaces. {% tabs %} -{% highlight razor tabtitle="~/_Imports.razor" %} +{% highlight C# tabtitle="~/_Imports.razor" %} @using Syncfusion.Blazor @using Syncfusion.Blazor.ChartWizard @@ -131,9 +121,9 @@ After the package is installed, open the **~/_Imports.razor** file from the `.Cl {% endhighlight %} {% endtabs %} -## Register the Blazor service +## Register Blazor Service -Open the **Program.cs** file in Blazor Web App and register the Blazor service. If the **Interactive Render Mode** is set to `WebAssembly` or `Auto`, register the Blazor service in **Program.cs** files of both the server and client projects in your Blazor Web App. +Register the Blazor Service in the **Program.cs** file of your Blazor Web App. {% tabs %} {% highlight c# tabtitle="Program.cs" %} @@ -147,88 +137,52 @@ builder.Services.AddSyncfusionBlazor(); {% endhighlight %} {% endtabs %} -## Add stylesheet and script resources +N> If the **Interactive Render Mode** is set to `WebAssembly` or `Auto`, register the Blazor service in **Program.cs** files of both the server and client projects in your Blazor Web App. -The theme stylesheet and script can be accessed from NuGet through [Static Web Assets](https://blazor.syncfusion.com/documentation/appearance/themes#static-web-assets). Include the [stylesheet](https://blazor.syncfusion.com/documentation/appearance/themes) and [script references](https://blazor.syncfusion.com/documentation/common/adding-script-references) in the **~/Components/App.razor** file. +## Add script resources -{% tabs %} -{% highlight razor tabtitle="App.razor" %} +The script can be accessed from NuGet through [Static Web Assets](https://blazor.syncfusion.com/documentation/appearance/themes#static-web-assets). Include the script reference in the **~/Components/App.razor** file. + +```html -... - -... -{% endhighlight %} -{% endtabs %} +``` + +N> Check out the [Adding Script Reference](https://blazor.syncfusion.com/documentation/common/adding-script-references) topic to learn different approaches for adding script references in your Blazor application. ## Add Blazor Chart Wizard component -Open a Razor file located in the **~/Pages/*.razor** (for example, **Home.razor**) and add the [Blazor Chart Wizard](https://www.syncfusion.com/blazor-components/blazor-chart-wizard) component inside the `.Client` project razor file. +Add the Blazor Chart Wizard component in the **~/Components/Pages/*.razor** file. If the interactivity location is set to `Per page/component` in the Web App, define a render mode at the top of the `~Pages/*.razor` file. (For example, `InteractiveServer`, `InteractiveWebAssembly` or `InteractiveAuto`). -N> If the interactivity location is set to `Per page/component` in the Web App, define a render mode at the top of the razor file. (For example, `InteractiveServer`, `InteractiveWebAssembly`, or `InteractiveAuto`). If the **Interactivity** is set to `Global` with `Auto` or `WebAssembly`, the render mode is automatically configured in the `App.razor` file by default. +N> If the **Interactivity Location** is set to `Global` with `Auto` or `WebAssembly`, the render mode is automatically configured in the `App.razor` file by default. {% tabs %} -{% highlight razor tabtitle="Home.razor" %} +{% highlight razor %} +@* desired render mode define here *@ @rendermode InteractiveAuto - - - - {% endhighlight %} {% endtabs %} -## Run the application - -{% tabcontents %} - -{% tabcontent Visual Studio %} - -Press Ctrl+F5 (Windows) or +F5 (macOS) to launch the application. The Blazor Chart Wizard component will render in your default web browser. - -{% endtabcontent %} - -{% tabcontent Visual Studio Code %} - -Open the terminal and navigate to the main project folder (for example, `BlazorWebApp`) and run the following command. - {% tabs %} -{% highlight razor tabtitle="Terminal" %} - -cd .. -cd BlazorWebApp -dotnet run - -{% endhighlight %} -{% endtabs %} - -{% endtabcontent %} - -{% tabcontent .NET CLI %} - -Open the command prompt and navigate to the main project folder (for example, `BlazorWebApp`) and run the following command. +{% highlight razor tabtitle="Home.razor" %} -{% tabs %} -{% highlight razor tabtitle="Command Prompt" %} + -cd .. -cd BlazorWebApp -dotnet run + {% endhighlight %} {% endtabs %} -{% endtabcontent %} - -{% endtabcontents %} +* Press Ctrl+F5 (Windows) or +F5 (macOS) to launch the application. This will render the Blazor Chart Wizard component in the default web browser. ![Chart Wizard Default](images/chart-wizard-default.webp) ## Populate Blazor Chart Wizard data -To bind data for the chart wizard component, you can assign an IEnumerable object to the `DataSource` property. +To bind data for the chart wizard component, you can assign a IEnumerable object to the [DataSource]() property. {% tabs %} {% highlight razor tabtitle="Home.razor" %} @@ -279,8 +233,7 @@ The default series type is Line. Use the `SeriesType` property to change the ser
      -@code -{ +@code { private readonly List chartSeries = new() { "Gold", "Silver", "Bronze" }; private readonly List categories = new() { "Country", "CountryCode" }; @@ -313,12 +266,16 @@ The default series type is Line. Use the `SeriesType` property to change the ser ![Chart Wizard Example](images/chart-wizard-getting-started-example.webp) -## Prerequisites +## Theme + +Blazor Chart Wizard has built-in themes that can be used to change the appearance of the chart. -In order to apply same theme update for the overall Chart Wizard UI, include the same theme [stylesheet](https://blazor.syncfusion.com/documentation/appearance/themes) (this can be accessed from NuGet through [Static Web Assets](https://blazor.syncfusion.com/documentation/appearance/themes#static-web-assets)) in the **** tag in the **~/Components/App.razor** file as shown below: +### Prerequisites + +In order to apply same theme update for the overall Chart Wizard UI, include the same theme stylesheet (this can be accessed from NuGet through Static Web Assets) in the tag in the App.razor file as shown below: {% tabs %} -{% highlight razor tabtitle="App.razor" %} +{% highlight razor %} .... @@ -345,8 +302,7 @@ The `Theme` property is used to specify the visual theme applied to the chart.
      -@code -{ +@code { private readonly List chartSeries = new() { "Gold", "Silver", "Bronze" }; private readonly List categories = new() { "Country", "CountryCode" }; diff --git a/chart-sdk/blazor/chart-wizard/getting-started.md b/chart-sdk/blazor/chart-wizard/getting-started.md index 3fd1435c7..255268010 100644 --- a/chart-sdk/blazor/chart-wizard/getting-started.md +++ b/chart-sdk/blazor/chart-wizard/getting-started.md @@ -1,8 +1,8 @@ --- layout: post -title: Getting Started with Blazor Chart Wizard in Server App | Syncfusion® -description: Learn how to get started with Syncfusion Blazor Chart Wizard in a Blazor Server app, including setup, packages, and first chart. -platform: Blazor +title: Getting Started | Blazor Chart Wizard Component | Syncfusion® +description: Check out and learn about getting started with Blazor Chart Wizard component in Blazor Server App using Visual Studio and more. +platform: chart-sdk control: Chart Wizard documentation: ug keywords: chart wizard, blazor, chart @@ -10,117 +10,103 @@ keywords: chart wizard, blazor, chart -# Getting Started with Blazor Chart Wizard in Blazor Server App +# Getting Started with Blazor Chart Wizard Component in Server App -This section briefly explains how to include the [Blazor Chart Wizard](https://www.syncfusion.com/blazor-components/blazor-chart-wizard) component in your Blazor Server App using [Visual Studio](https://visualstudio.microsoft.com/vs/), [Visual Studio Code](https://code.visualstudio.com/), and the [.NET CLI](https://learn.microsoft.com/en-us/dotnet/core/tools/). +This section briefly explains about how to include [Blazor Chart Wizard](https://www.syncfusion.com/blazor-components/blazor-chart-wizard) component in your Blazor Server App using [Visual Studio](https://visualstudio.microsoft.com/vs/), [Visual Studio Code](https://code.visualstudio.com/), and the [.NET CLI](https://learn.microsoft.com/en-us/dotnet/core/tools/). -> **Ready to streamline your Blazor development?**
      Discover the full potential of Blazor components with AI Coding Assistants. Effortlessly integrate, configure, and enhance your projects with intelligent, context-aware code suggestions, streamlined setups, and real-time insights—all seamlessly integrated into your preferred AI-powered IDEs like VS Code, Cursor, Code Studio and more. [Explore AI Coding Assistants](https://blazor.syncfusion.com/documentation/ai-coding-assistant/overview) - -## Create a new Blazor Server App +> **Ready to streamline your Blazor development?**
      Discover the full potential of Blazor components with AI Coding Assistants. Effortlessly integrate, configure, and enhance your projects with intelligent, context-aware code suggestions, streamlined setups, and real-time insights—all seamlessly integrated into your preferred AI-powered IDEs like VS Code, Cursor, CodeStudio and more. [Explore AI Coding Assistants](https://blazor.syncfusion.com/documentation/ai-coding-assistant/overview) {% tabcontents %} {% tabcontent Visual Studio %} -Create a **Blazor Server App** by using the **Blazor Web App** template in Visual Studio via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vs) or the [Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-integration/template-studio). +## Prerequisites -{% endtabcontent %} +* [System requirements for Blazor components](https://blazor.syncfusion.com/documentation/system-requirements) -{% tabcontent Visual Studio Code %} +## Create a new Blazor App in Visual Studio -Run the following command to create a new Blazor Server App. +Create a **Blazor Server App** by using the **Blazor Web App** template in Visual Studio via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vs) or the [Syncfusion® Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-integration/template-studio). For detailed instructions, refer to the [Blazor Server App Getting Started](https://blazor.syncfusion.com/documentation/getting-started/blazor-server-side-visual-studio) documentation. -{% tabs %} -{% highlight razor tabtitle="Terminal" %} +{% endtabcontent %} -dotnet new blazor -o BlazorApp --interactivity Server -cd BlazorApp +{% tabcontent Visual Studio Code %} -{% endhighlight %} -{% endtabs %} +## Prerequisites -Alternatively, create a **Blazor Server App** using Visual Studio Code via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vsc) or the [Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-code-integration/create-project), or the [C# Dev Kit](https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csdevkit) extension. +* [System requirements for Blazor components](https://blazor.syncfusion.com/documentation/system-requirements) -{% endtabcontent %} +## Create a new Blazor App in Visual Studio Code -{% tabcontent .NET CLI %} +Create a **Blazor Server App** using Visual Studio Code via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vsc) or the [Syncfusion® Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-code-integration/create-project). For detailed instructions, refer to the [Blazor Server App Getting Started](https://blazor.syncfusion.com/documentation/getting-started/blazor-server-side-visual-studio?tabcontent=visual-studio-code) documentation. -Run the following command to create a new Blazor Server App. +Alternatively, create a Server application by using the following command in the integrated terminal (Ctrl+`). {% tabs %} -{% highlight razor tabtitle="Command Prompt" %} -dotnet new blazor -o BlazorApp --interactivity Server +{% highlight c# tabtitle="Blazor Server App" %} + +dotnet new blazor -o BlazorApp -int Server cd BlazorApp {% endhighlight %} + {% endtabs %} {% endtabcontent %} -{% endtabcontents %} - -N> Configure the appropriate [Interactive render mode](https://learn.microsoft.com/en-us/aspnet/core/blazor/components/render-modes?view=aspnetcore-10.0#render-modes) and [Interactivity location](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vs) while creating a Blazor Server App. For detailed information, refer to the [interactive render mode documentation](https://blazor.syncfusion.com/documentation/common/interactive-render-mode). - -## Install the required Blazor packages - -Install the [Syncfusion.Blazor.ChartWizard](https://www.nuget.org/packages/Syncfusion.Blazor.ChartWizard/) and [Syncfusion.Blazor.Themes](https://www.nuget.org/packages/Syncfusion.Blazor.Themes/) NuGet packages. All Syncfusion Blazor packages are available on [nuget.org](https://www.nuget.org/packages?q=syncfusion.blazor). See the [NuGet packages](https://blazor.syncfusion.com/documentation/nuget-packages) topic for details. - -{% tabcontents %} - -{% tabcontent Visual Studio %} +{% tabcontent .NET CLI %} -1. Go to *Tools → NuGet Package Manager → Manage NuGet Packages for Solution*. -2. Search the required NuGet packages (`Syncfusion.Blazor.ChartWizard` and `Syncfusion.Blazor.Themes`) and install them. +## Prerequisites -Alternatively, you can install the same packages using the Package Manager Console with the following commands. +Install the latest version of [.NET SDK](https://dotnet.microsoft.com/en-us/download). If the .NET SDK is already installed, determine the installed version by running the following command in a command prompt (Windows), terminal (macOS), or command shell (Linux). {% tabs %} -{% highlight razor tabtitle="Package Manager Console" %} +{% highlight c# tabtitle=".NET CLI" %} -Install-Package Syncfusion.Blazor.ChartWizard -Version {{ site.releaseversion }} -Install-Package Syncfusion.Blazor.Themes -Version {{ site.releaseversion }} +dotnet --version {% endhighlight %} {% endtabs %} -{% endtabcontent %} +## Create a Blazor Server App using .NET CLI -{% tabcontent Visual Studio Code %} - -Open the terminal and run the following commands. +Run the following command to create a new Blazor Server App in a command prompt (Windows) or terminal (macOS) or command shell (Linux). For detailed instructions, refer to the [Blazor Server App Getting Started](https://blazor.syncfusion.com/documentation/getting-started/blazor-server-side-visual-studio?tabcontent=.net-cli) documentation. {% tabs %} -{% highlight razor tabtitle="Terminal" %} +{% highlight c# tabtitle=".NET CLI" %} -dotnet add package Syncfusion.Blazor.ChartWizard -v {{ site.releaseversion }} -dotnet add package Syncfusion.Blazor.Themes -v {{ site.releaseversion }} +dotnet new blazor -o BlazorApp -int Server +cd BlazorApp {% endhighlight %} {% endtabs %} {% endtabcontent %} -{% tabcontent .NET CLI %} +{% endtabcontents %} + +N> Configure the appropriate [Interactive render mode](https://learn.microsoft.com/en-us/aspnet/core/blazor/components/render-modes?view=aspnetcore-10.0#render-modes) and [Interactivity location](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vs) while creating a Blazor Server App. For detailed information, refer to the [interactive render mode documentation](https://blazor.syncfusion.com/documentation/common/interactive-render-mode). + +## Install required Blazor packages -Open the command prompt and run the following commands. +Install [Syncfusion.Blazor.ChartWizard](https://www.nuget.org/packages/Syncfusion.Blazor.ChartWizard/) NuGet package in your project using the NuGet Package Manager in Visual Studio (*Tools → NuGet Package Manager → Manage NuGet Packages for Solution*), or the integrated terminal in Visual Studio Code (`dotnet add package`), or the .NET CLI. + +Alternatively, run the following command in the Package Manager Console to achieve the same. {% tabs %} -{% highlight razor tabtitle="Command Prompt" %} +{% highlight C# tabtitle="Package Manager" %} -dotnet add package Syncfusion.Blazor.ChartWizard -v {{ site.releaseversion }} -dotnet add package Syncfusion.Blazor.Themes -v {{ site.releaseversion }} +Install-Package Syncfusion.Blazor.ChartWizard -Version {{ site.releaseversion }} {% endhighlight %} {% endtabs %} -{% endtabcontent %} - -{% endtabcontents %} +N> All Syncfusion Blazor packages are available on [nuget.org](https://www.nuget.org/packages?q=syncfusion.blazor). See the [NuGet packages](https://blazor.syncfusion.com/documentation/nuget-packages) topic for details. ## Add import namespaces -After the packages are installed, open the **~/Components/_Imports.razor** file and import the `Syncfusion.Blazor` and `Syncfusion.Blazor.ChartWizard` namespaces. +After the package is installed, open the **~/_Imports.razor** file and import the `Syncfusion.Blazor` and `Syncfusion.Blazor.ChartWizard` namespaces. {% tabs %} {% highlight razor tabtitle="~/_Imports.razor" %} @@ -131,9 +117,9 @@ After the packages are installed, open the **~/Components/_Imports.razor** file {% endhighlight %} {% endtabs %} -## Register the Blazor service +## Register Blazor service -Open the **Program.cs** file in Blazor Server App and register the Blazor service. +Register the Blazor service in the **Program.cs** file of your Blazor Server App. {% tabs %} {% highlight C# tabtitle="Program.cs" %} @@ -147,84 +133,50 @@ builder.Services.AddSyncfusionBlazor(); {% endhighlight %} {% endtabs %} -## Add stylesheet and script resources +## Add script resources -The theme stylesheet and script can be accessed from NuGet through [Static Web Assets](https://blazor.syncfusion.com/documentation/appearance/themes#static-web-assets). Include the [stylesheet](https://blazor.syncfusion.com/documentation/appearance/themes) and [script references](https://blazor.syncfusion.com/documentation/common/adding-script-references) in the **~/Components/App.razor** file. +The script can be accessed from NuGet through [Static Web Assets](https://blazor.syncfusion.com/documentation/appearance/themes#static-web-assets). Include script reference in the **App.razor** file. -{% tabs %} -{% highlight razor tabtitle="App.razor" %} +```html -... - -... -{% endhighlight %} -{% endtabs %} +``` + +N> Check out the [Adding Script Reference](https://blazor.syncfusion.com/documentation/common/adding-script-references) topic to learn different approaches for adding script references in the Blazor application. ## Add Blazor Chart Wizard component -Open a Razor file located in the **~/Components/Pages/*.razor** (for example, **Home.razor**) and add the [Blazor Chart Wizard](https://www.syncfusion.com/blazor-components/blazor-chart-wizard) component inside the razor file. +Add the Blazor Chart Wizard component in the **~/Components/Pages/Home.razor** file. If the interactivity location is set to `Per page/component`, define a render mode at the top of the `~Pages/Home.razor` file. -N> If the interactivity location is set to `Per page/component`, define a render mode at the top of the razor file. (For example `InteractiveServer`). If the Interactivity is set to `Global`, the render mode is automatically configured in the `App.razor` file by default. +N> If the Interactivity Location is set to `Global`, the render mode is automatically configured in the `App.razor` file by default. {% tabs %} -{% highlight razor tabtitle="Home.razor" %} +{% highlight razor %} +@* desired render mode define here *@ @rendermode InteractiveServer - - - - {% endhighlight %} {% endtabs %} -## Run the application - -{% tabcontents %} - -{% tabcontent Visual Studio %} - -Press Ctrl+F5 (Windows) or +F5 (macOS) to launch the application. The Blazor Chart Wizard component will render in your default web browser. - -{% endtabcontent %} - -{% tabcontent Visual Studio Code %} - -Open the terminal and run the following command. - {% tabs %} -{% highlight razor tabtitle="Terminal" %} - -dotnet run - -{% endhighlight %} -{% endtabs %} - -{% endtabcontent %} - -{% tabcontent .NET CLI %} - -Open the command prompt and run the following command. +{% highlight razor tabtitle="Home.razor" %} -{% tabs %} -{% highlight razor tabtitle="Command Prompt" %} + -dotnet run + {% endhighlight %} {% endtabs %} -{% endtabcontent %} - -{% endtabcontents %} +* Press Ctrl+F5 (Windows) or +F5 (macOS) to launch the application. This will render the Blazor Chart Wizard component in the default web browser. ![Chart Wizard Default](images/chart-wizard-default.webp) ## Populate Blazor Chart Wizard data -To bind data for the chart wizard component, you can assign an IEnumerable object to the `DataSource` property. +To bind data for the chart wizard component, you can assign a IEnumerable object to the `DataSource` property. {% tabs %} {% highlight razor tabtitle="Home.razor" %} @@ -275,8 +227,7 @@ The default series type is Line. Use the `SeriesType` property to change the ser -@code -{ +@code { private readonly List chartSeries = new() { "Gold", "Silver", "Bronze" }; private readonly List categories = new() { "Country", "CountryCode" }; @@ -309,12 +260,16 @@ The default series type is Line. Use the `SeriesType` property to change the ser ![Chart Wizard Example](images/chart-wizard-getting-started-example.webp) -## Prerequisites +## Theme + +Blazor Chart Wizard has built-in themes that can be used to change the appearance of the chart. + +### Prerequisites -In order to apply same theme update for the overall Chart Wizard UI, include the same theme [stylesheet](https://blazor.syncfusion.com/documentation/appearance/themes) (this can be accessed from NuGet through [Static Web Assets](https://blazor.syncfusion.com/documentation/appearance/themes#static-web-assets)) in the **** tag in the **~/Components/App.razor** file as shown below: +In order to apply same theme update for the overall Chart Wizard UI, include the same theme stylesheet (this can be accessed from NuGet through Static Web Assets) in the tag in the App.razor file as shown below: {% tabs %} -{% highlight razor tabtitle="App.razor" %} +{% highlight razor tabtitle="Home.razor" %} .... @@ -341,8 +296,7 @@ The `Theme` property is used to specify the visual theme applied to the chart. -@code -{ +@code { private readonly List chartSeries = new() { "Gold", "Silver", "Bronze" }; private readonly List categories = new() { "Country", "CountryCode" }; @@ -377,5 +331,5 @@ The `Theme` property is used to specify the visual theme applied to the chart. ## See also -1. [Getting Started with Blazor Web Assembly App in Visual Studio or .NET CLI](https://blazor.syncfusion.com/documentation/getting-started/blazor-webassembly-app) -2. [Getting Started with Blazor Web App in Visual Studio or .NET CLI](https://blazor.syncfusion.com/documentation/getting-started/blazor-web-app) +* [Getting Started with Blazor Web Assembly App in Visual Studio or .NET CLI](https://blazor.syncfusion.com/documentation/getting-started/blazor-webassembly-app) +* [Getting Started with Blazor Web App in Visual Studio or .NET CLI](https://blazor.syncfusion.com/documentation/getting-started/blazor-web-app) diff --git a/chart-sdk/blazor/chart-wizard/print-export.md b/chart-sdk/blazor/chart-wizard/print-export.md index 20d7674a7..a57782909 100644 --- a/chart-sdk/blazor/chart-wizard/print-export.md +++ b/chart-sdk/blazor/chart-wizard/print-export.md @@ -1,14 +1,14 @@ --- layout: post -title: Blazor Chart Wizard Print and Export Examples | Syncfusion® -description: Learn how to print and export Syncfusion Blazor Chart Wizard to PNG, JPEG, SVG, PDF, CSV, and XLSX using ChartExportSettings. -platform: Blazor +title: Export | Blazor ChartWizard Component | Syncfusion® +description: Check out and learn here all the features about print and export in Blazor Chart Wizard component and much more. +platform: chart-sdk control: Chart Wizard documentation: ug keywords: chart wizard, blazor, chart --- -# Blazor Chart Wizard Print and Export +# Print and Export in Blazor Chart Wizard Component The Chart Wizard support the export of current chart to a variety of popular file formats. Supported export options include: `PNG`, `JPEG`, `SVG`, `PDF`, `CSV`, `XLSX`, and `PRINT`. diff --git a/chart-sdk/blazor/chart-wizard/serialization.md b/chart-sdk/blazor/chart-wizard/serialization.md index de65b75dc..db2c5d1a8 100644 --- a/chart-sdk/blazor/chart-wizard/serialization.md +++ b/chart-sdk/blazor/chart-wizard/serialization.md @@ -1,14 +1,14 @@ --- layout: post -title: Blazor Chart Wizard Serialization Examples | Syncfusion® -description: Learn how to save and restore Syncfusion Blazor Chart Wizard configuration using SaveChart and LoadChartAsync for JSON-based persistence. -platform: Blazor +title: Serialization | Blazor Chart Wizard Component | Syncfusion® +description: Check out and learn here all the features about serialization in Blazor Chart Wizard component and much more. +platform: chart-sdk control: Chart Wizard documentation: ug keywords: chart wizard, blazor, serialization --- -# Blazor Chart Wizard Serialization +# Serialization in Blazor Chart Wizard Component The `Chart Wizard` component makes it simple to save and restore your entire chart wizard configuration. This is useful for persisting user settings, sharing chart setups, or restoring previous states. diff --git a/chart-sdk/blazor/chart-wizard/working-with-data.md b/chart-sdk/blazor/chart-wizard/working-with-data.md index 9e84b395b..98fdcf81e 100644 --- a/chart-sdk/blazor/chart-wizard/working-with-data.md +++ b/chart-sdk/blazor/chart-wizard/working-with-data.md @@ -1,14 +1,14 @@ --- layout: post -title: Blazor Chart Wizard Working with Data Examples | Syncfusion® -description: Learn how to configure data sources, category fields, series fields, and chart types in Syncfusion Blazor Chart Wizard using ChartSettings. -platform: Blazor +title: Working with data in Blazor Chart Wizard Component | Syncfusion® +description: Check out and learn here all about working with data in Blazor Chart Wizard component, it's elements and more. +platform: chart-sdk control: Chart Wizard documentation: ug keywords: chart wizard, blazor, chart --- -# Blazor Chart Wizard Working with Data +# Working with Data in Blazor Chart Wizard Component The primary configuration for the chart wizard is provided via the `ChartSettings`. Key properties: diff --git a/chart-sdk/blazor/charts/accessibility.md b/chart-sdk/blazor/charts/accessibility.md index b4f888f0b..e107f91c3 100644 --- a/chart-sdk/blazor/charts/accessibility.md +++ b/chart-sdk/blazor/charts/accessibility.md @@ -1,15 +1,15 @@ --- layout: post -title: Blazor Charts Accessibility Compliance and Examples | Syncfusion® -description: Learn about Syncfusion Blazor Charts accessibility compliance. Review WCAG 2.2, Section 508, screen reader, and keyboard navigation support. -platform: Blazor -control: Charts +title: Accessibility in Blazor Charts Component | Syncfusion® +description: Checkout and learn here all about Accessibility using Keyboard navigation in Blazor Charts component and more. +platform: chart-sdk +control: Chart documentation: ug --- -# Blazor Charts Accessibility Compliance +# Accessibility in Blazor Chart Component -The [Blazor Chart](https://www.syncfusion.com/blazor-components/blazor-charts) component followed the accessibility guidelines and standards, including [ADA](https://www.ada.gov/), [Section 508](https://www.section508.gov/), [WCAG 2.2](https://www.w3.org/TR/WCAG22/) standards, and [WCAG roles](https://www.w3.org/TR/wai-aria/#roles) that are commonly used to evaluate accessibility. +The Blazor Chart component followed the accessibility guidelines and standards, including [ADA](https://www.ada.gov/), [Section 508](https://www.section508.gov/), [WCAG 2.2](https://www.w3.org/TR/WCAG22/) standards, and [WCAG roles](https://www.w3.org/TR/wai-aria/#roles) that are commonly used to evaluate accessibility. The accessibility compliance for the Blazor Chart component is outlined below. diff --git a/chart-sdk/blazor/charts/adaptive-layout.md b/chart-sdk/blazor/charts/adaptive-layout.md index 1a224f341..7919c9224 100644 --- a/chart-sdk/blazor/charts/adaptive-layout.md +++ b/chart-sdk/blazor/charts/adaptive-layout.md @@ -1,15 +1,15 @@ --- layout: post -title: Blazor Charts Adaptive Layout for Mobile | Syncfusion® -description: Learn how to enable adaptive layout in Syncfusion Blazor Charts. Auto-resize chart elements for mobile and small-screen containers. -platform: Blazor -control: Charts +title: Adaptive Layout in Blazor Charts Component | Syncfusion® +description: Check out and learn all the features how to configure and utilize Adaptive Layout in Blazor Charts component. +platform: chart-sdk +control: Chart documentation: ug --- -# Blazor Charts Adaptive Layout +# Adaptive Layout in Blazor Charts Component -Adaptive layout in [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) ensures optimal display of chart elements on mobile devices and screens with limited space. By enabling the [EnableAdaptiveRendering](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SfChart.html#Syncfusion_Blazor_Charts_SfChart_EnableAdaptiveRendering) property, the chart automatically adjusts to container size changes, maintaining clear alignment and visibility for elements such as legend, axis titles, axis labels, data labels, chart title, and more. +Adaptive layout in Blazor Charts ensures optimal display of chart elements on mobile devices and screens with limited space. By enabling the [EnableAdaptiveRendering](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SfChart.html#Syncfusion_Blazor_Charts_SfChart_EnableAdaptiveRendering) property, the chart automatically adjusts to container size changes, maintaining clear alignment and visibility for elements such as legend, axis titles, axis labels, data labels, chart title, and more. ```cshtml @@ -91,7 +91,7 @@ The table below outlines the behavior of chart elements based on chart height an | Zoom Toolkit | Height < 200 / Width < 200 | Zoom toolkit is disabled | | Datalabel
      (Column and Bar Chart Types)| | Datalabel rotates based on rectangle size; hidden if it exceeds available size | -N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=fluent2) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. +N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=bootstrap5) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. ## See also diff --git a/chart-sdk/blazor/charts/advanced-accessibility-configuration.md b/chart-sdk/blazor/charts/advanced-accessibility-configuration.md index 97be24b35..da0da9efa 100644 --- a/chart-sdk/blazor/charts/advanced-accessibility-configuration.md +++ b/chart-sdk/blazor/charts/advanced-accessibility-configuration.md @@ -1,15 +1,15 @@ --- layout: post -title: Blazor Charts Accessibility Customization | Syncfusion® -description: Learn how to configure accessibility in Syncfusion Blazor Charts. Set AccessibilityDescription, AccessibilityRole, and Focusable for screen readers. -platform: Blazor -control: Charts +title: Accessibility Customization in Blazor Charts Component | Syncfusion® +description: Checkout and learn here all the features about Accessibility Customization in Blazor Charts component and much more. +platform: chart-sdk +control: Chart documentation: ug --- -# Blazor Charts Accessibility Customization +# Accessibility Customization in Blazor Chart Component -The [Blazor Chart](https://www.syncfusion.com/blazor-components/blazor-charts) component is structured to visualize data in a graphical manner. It provides robust customization options for accessibility, allowing you to enhance the user experience for those with disabilities. The main attributes of the Blazor Chart component's accessibility customization are briefly explained in this section. +The Blazor Chart component is structured to visualize data in a graphical manner. It provides robust customization options for accessibility, allowing you to enhance the user experience for those with disabilities. The main attributes of the Blazor Chart component's accessibility customization are briefly explained in this section. The chart component has a number of characteristics that enable accessibility features to be customized, including: * [AccessibilityDescription](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SfChart.html#Syncfusion_Blazor_Charts_SfChart_AccessibilityDescription) - Provides a text description for the chart, improving support for screen readers. @@ -319,4 +319,4 @@ The [ChartLegendSettings](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazo ``` Here is a preview sample demonstrating the accessibility customization support for all chart elements: -{% previewsample "https://blazorplayground.syncfusion.com/embed/BNhRDHsreiUpbASQ?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hDhfXnWhVHFlrqSz?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} diff --git a/chart-sdk/blazor/charts/axis-customization.md b/chart-sdk/blazor/charts/axis-customization.md index 7bc3551a6..9a4f1a632 100644 --- a/chart-sdk/blazor/charts/axis-customization.md +++ b/chart-sdk/blazor/charts/axis-customization.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Charts Axis Customization Examples | Syncfusion® -description: Learn how to customize axes in Syncfusion Blazor Charts. Configure position, crossing, CrossesAt, and CrossesInAxis for numeric, datetime, or log axes. -platform: Blazor -control: Charts +title: Axis Customization in Blazor Charts Component | Syncfusion® +description: Checkout and learn here all the features about Axis Customization in Blazor Charts component and much more. +platform: chart-sdk +control: Chart documentation: ug --- -# Blazor Charts Axis Customization +# Axis Customization in Blazor Charts Component This section provides a brief explanation on how to customize the Blazor Charts axis. @@ -54,7 +54,7 @@ An axis can be positioned in the chart area using [CrossesAt](https://help.syncf } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VtrRtHWrJfXEbwFP?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Column Chart with Cross Axis](images/axis-customization/blazor-column-chart-cross-axis.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BtrUChLRrTftoDAz?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Column Chart with Cross Axis](images/axis-customization/blazor-column-chart-cross-axis.webp)" %} ## Title @@ -95,7 +95,7 @@ A title can be added to the axis using [Title](https://help.syncfusion.com/cr/bl } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VNhntRMrpTMfoZfw?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Column Chart with Axis Title](images/axis-customization/blazor-column-chart-axis-title.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BNhUihhRhzzqpdFC?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Column Chart with Axis Title](images/axis-customization/blazor-column-chart-axis-title.webp)" %} ### Axis title alignment @@ -139,7 +139,7 @@ The axis title's position can be aligned using the `TextAlignment` property in [ } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BXhHXxMLpfskCfWE?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Column Chart with Axis Title Alignment](images/axis-customization/blazor-column-chart-axis-title-alignment.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LZVfDHirzNGCVAZq?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Column Chart with Axis Title Alignment](images/axis-customization/blazor-column-chart-axis-title-alignment.webp)" %} ## Tick lines @@ -182,7 +182,7 @@ The width, color, and size of the minor and major tick lines can be customi } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LjrRNRCBJJAGlRxp?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Column Chart with Custom Tick Lines](images/axis-customization/blazor-column-chart-custom-tick-lines.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rNLgiBBdLTzRploJ?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Column Chart with Custom Tick Lines](images/axis-customization/blazor-column-chart-custom-tick-lines.webp)" %} ## Grid lines customization @@ -224,7 +224,7 @@ The width, color, and dash array of the minor and major grid lines can be c } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BZVHXdCVzzzhMFYW?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Column Chart with Custom GridLines](images/axis-customization/blazor-column-chart-custom-gridline.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LNVAWVVnBzoAhreS?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Column Chart with Custom GridLines](images/axis-customization/blazor-column-chart-custom-gridline.webp)" %} ## Multiple Axis @@ -269,7 +269,7 @@ The [ChartAxes](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.C } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rDhntRWVppfdrHDT?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Column Chart with Multiple Axes](images/axis-customization/blazor-column-chart-multiple-axes.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LjVqirBHhzyoYHVs?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Column Chart with Multiple Axes](images/axis-customization/blazor-column-chart-multiple-axes.webp)" %} ## See also @@ -316,7 +316,7 @@ When an axis is inversed, the greatest value on the axis moves closer to the ori } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rZBnXHCLJpfEyWys?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Column Chart with Inversed Axis](images/axis-customization/blazor-column-chart-inversed-axis.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LZhgMBBRLzoOWYHq?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Column Chart with Inversed Axis](images/axis-customization/blazor-column-chart-inversed-axis.webp)" %} ## Opposed position @@ -357,9 +357,9 @@ To place an axis in the opposite position of its original position, set its [Opp } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BZrRtHihJzSryWPT?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Column Chart Axis in Opposed Position](images/axis-customization/blazor-column-chart-axis-at-opposed-position.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rNLqMVhHrJGZtGLh?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Column Chart Axis in Opposed Position](images/axis-customization/blazor-column-chart-axis-at-opposed-position.webp)" %} -N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=fluent2) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. +N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=bootstrap5) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. ## See also diff --git a/chart-sdk/blazor/charts/axis-labels.md b/chart-sdk/blazor/charts/axis-labels.md index 6ac12bbe0..77b8b7f15 100644 --- a/chart-sdk/blazor/charts/axis-labels.md +++ b/chart-sdk/blazor/charts/axis-labels.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Charts Axis Labels Configuration | Syncfusion® -description: Learn how to configure axis labels in Syncfusion Blazor Charts. Use LabelIntersectAction to hide, rotate, or trim overlapping text. -platform: Blazor -control: Charts +title: Axis Labels in Blazor Charts Component | Syncfusion® +description: Checkout and learn here all the features about the Axis Labels in Blazor Charts component and much more. +platform: chart-sdk +control: Chart documentation: ug --- -# Blazor Charts Axis Labels +# Axis Labels in Blazor Charts Component This section provides a brief explanation on how to customize the Blazor Charts axis labels. @@ -60,7 +60,7 @@ When the axis labels overlap, the [LabelIntersectAction](https://help.syncfusion ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/htBHZHMrzgSBqKay?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Hiding Smart Axis Label in Blazor Column Chart](images/axis-labels/blazor-column-chart-hide-smart-axis-label.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hNrUWhVxrUeUPizH?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Hiding Smart Axis Label in Blazor Column Chart](images/axis-labels/blazor-column-chart-hide-smart-axis-label.webp)" %} **Case 2:** When [LabelIntersectAction](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartAxis.html#Syncfusion_Blazor_Charts_ChartAxis_LabelIntersectAction) is set to **Rotate45**. @@ -102,7 +102,7 @@ When the axis labels overlap, the [LabelIntersectAction](https://help.syncfusion } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hNVxNnCLpqoSQjrY?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Column Chart with Smart Axis Label in Rotate45](images/axis-labels/blazor-column-chart-axis-label-in-rotate45.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VjhUWrhdBKnQRxlc?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Column Chart with Smart Axis Label in Rotate45](images/axis-labels/blazor-column-chart-axis-label-in-rotate45.webp)" %} **Case 3:** When [LabelIntersectAction](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartAxis.html#Syncfusion_Blazor_Charts_ChartAxis_LabelIntersectAction) is set to **Rotate90**. @@ -144,7 +144,7 @@ When the axis labels overlap, the [LabelIntersectAction](https://help.syncfusion } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/htBnNdiBJAoPOXAx?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Column Chart with Smart Axis Label in Rotate90](images/axis-labels/blazor-column-chart-axis-label-in-rotate90.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BtVKsVhHBgQNxgcg?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Column Chart with Smart Axis Label in Rotate90](images/axis-labels/blazor-column-chart-axis-label-in-rotate90.webp)" %} ## Axis labels positioning @@ -188,7 +188,7 @@ The axis labels can be put **Outside** of the axis line by default, however the } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VtrnXdiVpgnClUcS?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Changing Axis Label Position in Blazor Column Chart](images/axis-labels/blazor-column-chart-axis-label-position.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hXVACVhHLgcAIDVs?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Changing Axis Label Position in Blazor Column Chart](images/axis-labels/blazor-column-chart-axis-label-position.webp)" %} ## Multilevel labels @@ -243,7 +243,7 @@ The [Start](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.Chart } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rtLRtxWrJqneRbjw?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Column Chart with Multilevel Labels](images/axis-labels/blazor-column-chart-multi-labels.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/htLgMLLxrgGHhnQF?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Column Chart with Multilevel Labels](images/axis-labels/blazor-column-chart-multi-labels.webp)" %} ### Overflow @@ -295,7 +295,7 @@ Using the [Overflow](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Cha } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BtLRXxMVTAHarkMR?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Column Chart Multilevel Labels with Overflow](images/axis-labels/blazor-column-chart-axis-label-overflow.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VjrAirBRVqmaLxUH?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Column Chart Multilevel Labels with Overflow](images/axis-labels/blazor-column-chart-axis-label-overflow.webp)" %} ### Alignment @@ -347,7 +347,7 @@ The [Alignment](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.C } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BXrHZHsLpUQqQGmT?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Changing Multilevel Labels Alignment in Blazor Column Chart](images/axis-labels/blazor-column-chart-axis-label-alignment.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hZBUWLVnrqvhmHGl?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Changing Multilevel Labels Alignment in Blazor Column Chart](images/axis-labels/blazor-column-chart-axis-label-alignment.webp)" %} ### Text customization @@ -400,7 +400,7 @@ The [Size](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartA } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BZBxXnMBpgcmomUl?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Customizing Multilevel Labels Text in Blazor Column Chart](images/axis-labels/blazor-column-chart-custom-axis-label.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VDVAMBrHLqPoocKv?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Customizing Multilevel Labels Text in Blazor Column Chart](images/axis-labels/blazor-column-chart-custom-axis-label.webp)" %} ### Border customization @@ -453,7 +453,7 @@ The [Width](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.Chart } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LjLdNnihJKFCjqNj?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Customizing Multilevel Labels Border in Blazor Column Chart](images/axis-labels/blazor-column-chart-label-with-custom-border.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hXVKMLLxVqlbslqT?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Customizing Multilevel Labels Border in Blazor Column Chart](images/axis-labels/blazor-column-chart-label-with-custom-border.webp)" %} ## Edge label placement @@ -501,7 +501,7 @@ The longer text labels at the axes edges may only be partially visible in the c } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rNrntnsrpqbeqVsF?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Displaying Blazor Chart Axis Label in Edge Position](images/axis-labels/blazor-chart-axis-label-in-edge.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rZrqWVVHhTXtqqWR?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Displaying Blazor Chart Axis Label in Edge Position](images/axis-labels/blazor-chart-axis-label-in-edge.webp)" %} ## Labels customization @@ -543,7 +543,7 @@ The label [Color](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hZBnZnCBTgPPuXVx?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Column Chart Axis with Custom Label](images/axis-labels/blazor-column-chart-axis-custom-label.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rtLUCVrRhftplXww?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Column Chart Axis with Custom Label](images/axis-labels/blazor-column-chart-axis-custom-label.webp)" %} ## Trim label @@ -584,7 +584,7 @@ The label can be trimmed using the [EnableTrim](https://help.syncfusion.com/cr/b } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VDrxtnChTKuBXOyK?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Label Trimming in Blazor Column Chart Axis](images/axis-labels/blazor-column-chart-axis-label-trim.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LDVqMrLdVzXPKHis?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Label Trimming in Blazor Column Chart Axis](images/axis-labels/blazor-column-chart-axis-label-trim.webp)" %} ## Line break @@ -626,7 +626,7 @@ The `
      ` tag can used to separate the long axis label into multiple lines. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BXLdtxCBJqESmnux?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Column Chart Axis with Line break Label](images/axis-labels/blazor-column-chart-axis-line-break-label.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BNLgCBLdVJBNXepm?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Column Chart Axis with Line break Label](images/axis-labels/blazor-column-chart-axis-line-break-label.webp)" %} ## Label format @@ -706,7 +706,7 @@ You can customize the axis labels by using [OnAxisLabelRender](https://help.sync } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LtBHjdCVTUkYTNzR?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Column Chart Axis with Label customization](images/axis-labels/blazor-column-chart-label-customization.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LNVqCrrHLpVyohwI?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Column Chart Axis with Label customization](images/axis-labels/blazor-column-chart-label-customization.webp)" %} ## Axis label template @@ -760,7 +760,7 @@ Within the `LabelTemplate`, the implicit parameter context provides access to la } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BDVHNHChJzjTfWZv?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Column Chart Axis with Template using Text](images/axis-labels/blazor-column-chart-axis-text-template.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BDLHjrXgKgtAxgoC?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Column Chart Axis with Template using Text](images/axis-labels/blazor-column-chart-axis-text-template.webp)" %} N> [View Sample in GitHub](https://github.com/SyncfusionExamples/Blazor-Chart-Axis-Label-Customization). @@ -770,4 +770,4 @@ N> [View Sample in GitHub](https://github.com/SyncfusionExamples/Blazor-Chart-Ax * [Tooltip](./tool-tip) * [Marker](./data-markers) -N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=fluent2) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. +N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=bootstrap5) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. diff --git a/chart-sdk/blazor/charts/category-axis.md b/chart-sdk/blazor/charts/category-axis.md index 4da8d05f3..a4f128ee2 100644 --- a/chart-sdk/blazor/charts/category-axis.md +++ b/chart-sdk/blazor/charts/category-axis.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Charts Category Axis Examples | Syncfusion® -description: Learn how to use the category axis in Syncfusion Blazor Charts. Plot string-typed X values such as months or product names. -platform: Blazor -control: Charts +title: Category Axis in Blazor Charts Component | Syncfusion® +description: Checkout and learn here all the features about Category Axis in Blazor Charts component and much more. +platform: chart-sdk +control: Chart documentation: ug --- -# Blazor Charts Category Axis +# Category Axis in Blazor Charts Component The category axis is used to represent string values instead of integers. @@ -50,7 +50,7 @@ A detailed walkthrough for customizing the category axis is provided in the vide } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hNBRNnWLJtOKpNdh?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Column Chart with Default Axis](images/category-axis/blazor-chart-default-axis.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rZLgWrhVAEwCkOWl?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Column Chart with Default Axis](images/category-axis/blazor-chart-default-axis.webp)" %} ## Labels placement @@ -91,7 +91,7 @@ The category labels are positioned between ticks by default, but the [LabelPlace } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rDBnNHWLpNObjzKi?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Changing Labels Position in Blazor Chart](images/category-axis/blazor-diagram-label-position.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rtLgWVrBgOQpAjdB?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Changing Labels Position in Blazor Chart](images/category-axis/blazor-diagram-label-position.webp)" %} ## Range and interval @@ -132,7 +132,7 @@ The [Minimum](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.Cha } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rXBdjRCBTiXVEqgt?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Changing Blazor Column Chart Axis based on Range and Interval](images/category-axis/blazor-chart-axis-range-and-interval.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LXLqWrrhTtLJCSXT?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Changing Blazor Column Chart Axis based on Range and Interval](images/category-axis/blazor-chart-axis-range-and-interval.webp)" %} ## Indexed category axis @@ -181,9 +181,9 @@ The category axis can also be rendered using the data source index values. This } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LjLnjHiLTCXlIRxD?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Chart with Indexed Category Axis](images/category-axis/blazor-chart-index-category-axis.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hjVAiVrVTDrcDBLL?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Chart with Indexed Category Axis](images/category-axis/blazor-chart-index-category-axis.webp)" %} -N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=fluent2) to knows various chart types and how to represent time-dependent data, showing trends in data at equal intervals. +N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=bootstrap5) to knows various chart types and how to represent time-dependent data, showing trends in data at equal intervals. ## See also diff --git a/chart-sdk/blazor/charts/chart-annotations.md b/chart-sdk/blazor/charts/chart-annotations.md index a353986e3..5e32c6e38 100644 --- a/chart-sdk/blazor/charts/chart-annotations.md +++ b/chart-sdk/blazor/charts/chart-annotations.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Charts Annotation Examples | Syncfusion® -description: Learn how to add annotations in Syncfusion Blazor Charts. Highlight regions of interest with custom HTML text, shapes, or images. -platform: Blazor -control: Charts +title: Annotation in Blazor Charts Component | Syncfusion® +description: Checkout and learn here all the features about using Annotation in Blazor Charts component and much more. +platform: chart-sdk +control: Chart documentation: ug --- -# Blazor Charts Annotation +# Annotation in Blazor Charts Component Annotations are texts, shapes, or images that are used to highlight a specific region of interest in a chart. @@ -167,7 +167,7 @@ The [CoordinateUnits](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Ch ![Inserting Annotation using Coordinate in Blazor Column Chart](images/annotation/blazor-column-chart-coordinate-annotation.webp) -N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=fluent2) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. +N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=bootstrap5) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. ## See also diff --git a/chart-sdk/blazor/charts/chart-appearance.md b/chart-sdk/blazor/charts/chart-appearance.md index 43cf8ede6..9c68d79cc 100644 --- a/chart-sdk/blazor/charts/chart-appearance.md +++ b/chart-sdk/blazor/charts/chart-appearance.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Charts Appearance Customization | Syncfusion® -description: Learn how to customize appearance in Syncfusion Blazor Charts. Apply a custom color palette via the Palettes property to change series colors. -platform: Blazor -control: Charts +title: Appearance in Blazor Charts Component | Syncfusion® +description: Checkout and learn here all the features about Appearance Customization in Blazor Charts component and much more. +platform: chart-sdk +control: Chart documentation: ug --- -# Blazor Charts Appearance +# Appearance in Blazor Charts Component ## Custom color palette @@ -330,7 +330,7 @@ N> The subtitle, which appears below the title, will also be positioned along wi } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LDVRtnCLTIgzfrSp?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Position customization of title in Blazor Chart](images/appearance/blazor-chart-title-position.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hthIjzjTrISHobHi?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Position customization of title in Blazor Chart](images/appearance/blazor-chart-title-position.webp)" %} When the `Position` is set to `Custom`, the title can be positioned anywhere on the chart using the [X](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartTitleStyle.html#Syncfusion_Blazor_Charts_ChartTitleStyle_X) and [Y](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartTitleStyle.html#Syncfusion_Blazor_Charts_ChartTitleStyle_Y) properties in [ChartTitleStyle](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartTitleStyle.html). This provides precise control over the title’s location, enabling customization to fit specific design or layout needs. The `X` and `Y` values specify the horizontal and vertical coordinates, respectively. @@ -373,7 +373,7 @@ When the `Position` is set to `Custom`, the title can be positioned anywhere on } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VjBnXxCLTeKkvACG?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Custom position of title in Blazor Chart](images/appearance/blazor-chart-title-position-custom.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BjLoXTtfLyEQbMWr?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Custom position of title in Blazor Chart](images/appearance/blazor-chart-title-position-custom.webp)" %} ## Chart subtitle diff --git a/chart-sdk/blazor/charts/chart-dimensions.md b/chart-sdk/blazor/charts/chart-dimensions.md index a0d19b103..b697b4a2c 100644 --- a/chart-sdk/blazor/charts/chart-dimensions.md +++ b/chart-sdk/blazor/charts/chart-dimensions.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Charts Dimensions and Sizing | Syncfusion® -description: Learn how to set Blazor Charts dimensions with Width and Height properties. Use percentages and a CDN script to avoid layout redraws. -platform: Blazor -control: Charts +title: Chart Dimensions in Blazor Charts Component | Syncfusion® +description: Checkout and learn here all the features about Chart Dimensions in Blazor Charts component and much more. +platform: chart-sdk +control: Chart documentation: ug --- -# Blazor Charts Dimensions +# Chart Dimensions in Blazor Charts Component N> * When no size is specified, the default height and width are 450px and 600px, respectively. @@ -61,7 +61,7 @@ The chart can be scaled to fit the container. As shown in the below example, the } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VXrHNnMrKObdFZel?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Changing Blazor Chart Size as Fit to Container](images/chart-dimensions/blazor-chart-size-for-container.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VjVqWLrhgORNWnqy?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Changing Blazor Chart Size as Fit to Container](images/chart-dimensions/blazor-chart-size-for-container.webp)" %} ## Size for chart @@ -105,7 +105,7 @@ The [Width](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SfCha } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VXVHZdWBKOuiSdXp?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Changing Blazor Chart Size in Pixel](images/chart-dimensions/blazor-chart-size-in-pixel.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hNLUCrhhUOHBRpDP?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Changing Blazor Chart Size in Pixel](images/chart-dimensions/blazor-chart-size-in-pixel.webp)" %} ### In percentage @@ -145,9 +145,9 @@ By setting the values of [Width](https://help.syncfusion.com/cr/blazor/Syncfusio } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LXVRjniVKOYcqiis?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Changing Blazor Chart Size in Percentage](images/chart-dimensions/blazor-chart-size-in-percentage.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hXLUMrVLAEHSsNxA?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Changing Blazor Chart Size in Percentage](images/chart-dimensions/blazor-chart-size-in-percentage.webp)" %} -N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=fluent2) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. +N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=bootstrap5) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. ## See also diff --git a/chart-sdk/blazor/charts/chart-print.md b/chart-sdk/blazor/charts/chart-print.md index 50bc72c03..4c9183a83 100644 --- a/chart-sdk/blazor/charts/chart-print.md +++ b/chart-sdk/blazor/charts/chart-print.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Charts Print and Export Examples | Syncfusion® -description: Learn how to print and export Blazor Charts using Syncfusion. Use PrintAsync for browser printing and export to image, SVG, or PDF. -platform: Blazor -control: Charts +title: Print and Export in Blazor Charts Component | Syncfusion® +description: Checkout and learn here all the features about Print and Export in Blazor Charts component and much more. +platform: chart-sdk +control: Chart documentation: ug --- -# Blazor Charts Print and Export +# Print and Export in Blazor Charts Component ## Print @@ -482,9 +482,9 @@ In the code example below, the chart is exported to Excel format. The exported E } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VjrdtRCVoMLHBfGP?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BNrStfNGMaalzwin?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} -N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=fluent2) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. +N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=bootstrap5) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. ## See Also diff --git a/chart-sdk/blazor/charts/chart-series.md b/chart-sdk/blazor/charts/chart-series.md index 0d6ef3425..59c176621 100644 --- a/chart-sdk/blazor/charts/chart-series.md +++ b/chart-sdk/blazor/charts/chart-series.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Charts Mixed Series Examples | Syncfusion® -description: Learn how to combine multiple chart types in Syncfusion Blazor Charts. Add several ChartSeries entries to render in declaration order. -platform: Blazor -control: Charts +title: Mixed Chart in Blazor Charts Component | Syncfusion® +description: Checkout and learn here all the features about the Mixed Chart in Blazor Charts component and much more. +platform: chart-sdk +control: Chart documentation: ug --- -# Blazor Charts Mixed Series +# Mixed Chart in Blazor Charts Component ## Multiple chart series @@ -115,7 +115,7 @@ N> Bar series cannot be combined with any other series as the axis orientation i ![Displaying Combination of Blazor Chart](images/multiple-series/blazor-chart-combination.webp) -N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=fluent2) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. +N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=bootstrap5) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. ## See also diff --git a/chart-sdk/blazor/charts/chart-sorting.md b/chart-sdk/blazor/charts/chart-sorting.md index b8f1ac455..19cbbfed5 100644 --- a/chart-sdk/blazor/charts/chart-sorting.md +++ b/chart-sdk/blazor/charts/chart-sorting.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Charts Sorting Examples | Syncfusion® -description: Learn how to sort Blazor Charts data in ascending or descending order. Set ChartSorting PropertyName to the Y-axis field to sort series. -platform: Blazor -control: Charts +title: Sorting in Blazor Charts Component | Syncfusion® +description: Checkout and learn here all the features about sorting functionality in Blazor Charts component and more +platform: chart-sdk +control: Chart documentation: ug --- -# Blazor Charts Sorting +# Sorting in Blazor Chart Component Sorting enables you to sort data in ascending or descending order. To sort the chart based on the y-axis value, set **Y** to the [PropertyName](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartSorting.html#Syncfusion_Blazor_Charts_ChartSorting_PropertyName) property. diff --git a/chart-sdk/blazor/charts/chart-types/area.md b/chart-sdk/blazor/charts/chart-types/area.md index d01a68c16..edc15500d 100644 --- a/chart-sdk/blazor/charts/chart-types/area.md +++ b/chart-sdk/blazor/charts/chart-types/area.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Area Chart Examples and Documentation | Syncfusion® -description: Learn how to create and customize Blazor Area Charts using Syncfusion. Display trends with filled area series, data labels, markers, and legends. -platform: Blazor -control: Charts +title: Area in Blazor Charts Component | Syncfusion® +description: Checkout and learn here all the features about the Area Chart in Blazor Charts component and much more details. +platform: chart-sdk +control: Chart documentation: ug --- -# Area Chart in Blazor +# Area in Blazor Charts Component ## Area @@ -42,9 +42,9 @@ The [Area Chart](https://www.syncfusion.com/blazor-components/blazor-charts/char } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rNrdtxMBfvnkGZZv?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Area Chart](../images/chart-types-images/blazor-area-chart.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LtVpXuWryXlXgwKd?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Area Chart](../images/chart-types-images/blazor-area-chart.webp)" %} -N> Refer to the [Blazor Area Charts](https://www.syncfusion.com/blazor-components/blazor-charts/chart-types/area-chart) feature page for more details and explore the [Blazor Area Chart Example](https://blazor.syncfusion.com/demos/chart/area?theme=fluent2) to see usage for time-dependent data and trend visualization. +N> Refer to the [Blazor Area Charts](https://www.syncfusion.com/blazor-components/blazor-charts/chart-types/area-chart) feature page for more details and explore the [Blazor Area Chart Example](https://blazor.syncfusion.com/demos/chart/area) to see usage for time-dependent data and trend visualization. ## Binding data with series @@ -79,7 +79,7 @@ You can bind data to the chart using the [`DataSource`](https://help.syncfusion. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LDrRZRWrzFGykRIF?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LtVpXuWryXlXgwKd?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Series customization @@ -118,7 +118,7 @@ The [Fill](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartS } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VjhntRMhJFljvXfU?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LjLpZEsAskSOfqwj?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} The [Fill](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartSeries.html#Syncfusion_Blazor_Charts_ChartSeries_Fill) property can be used to apply a gradient color to the area series. By configuring this property with gradient values will create a visually appealing effect in which the color transitions smoothly from one shade to another. @@ -160,7 +160,7 @@ The [Fill](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartS } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rXVxNHirpPlnWvIg?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VNrJNYMgWYHvmzqy?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Opacity** @@ -195,7 +195,7 @@ The [Opacity](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.Cha } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BtrRNRshJPONSIqi?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rZrzjOCAskcSagDx?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **DashArray** @@ -231,7 +231,7 @@ The [DashArray](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.C } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BDLnNRMBpluIrFPj?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rXhzZEiKLZhKgsrU?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Area Border @@ -270,7 +270,7 @@ The following properties in the [ChartSeriesBorder](https://help.syncfusion.com/ } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rZBnDRMrfuXDswUx?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LNVTXkiULjzABdzB?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Multicolored area @@ -321,7 +321,7 @@ To render a multicolored area series in a chart, a few configuration steps must ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BZLHZRsrJYZeXCET?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BNLztasALpNKGzvX?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Empty points @@ -361,7 +361,7 @@ Use the [`Mode`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hthnNRMLpkMNiZaB?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BthTjuWKrHZUaoWm?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Fill** @@ -398,7 +398,7 @@ Use the [`Fill`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BtrxXRMVfuMpwPRv?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hZLzDuiABnhktkFL?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Border** @@ -437,7 +437,7 @@ Use the [`Border`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Chart } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LDVdXRihfuMFOgLf?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rXBfDkMKhnzthxFm?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Events @@ -480,7 +480,7 @@ The [`OnSeriesRender`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.C } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rjVxXdWVTkLgMpAG?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hDBzXYWUrRxwmCnS?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ### Point render @@ -523,9 +523,9 @@ The [`OnPointRender`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Ch } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rtLdXnihTkBwciRf?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rjrptOsABxvHjKqa?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} -N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=fluent2) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. +N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=bootstrap5) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. ## See also diff --git a/chart-sdk/blazor/charts/chart-types/bar.md b/chart-sdk/blazor/charts/chart-types/bar.md index ef9ab6e14..529f4af4c 100644 --- a/chart-sdk/blazor/charts/chart-types/bar.md +++ b/chart-sdk/blazor/charts/chart-types/bar.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Bar Chart Examples and Documentation | Syncfusion® -description: Learn how to create and customize Blazor Bar Charts using Syncfusion. Compare frequency, count, total, or average across categories with horizontal bars. -platform: Blazor -control: Charts +title: Bar Charts in Blazor Charts Component | Syncfusion® +description: Checkout and learn here all the features about the Bar Charts in Blazor Charts component and much more. +platform: chart-sdk +control: Chart documentation: ug --- -# Bar Chart Series in Blazor +# Bar Charts in Blazor Charts Component ## Bar @@ -50,9 +50,9 @@ documentation: ug } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rjhRZnihTkKqtdDG?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Bar Chart](../images/chart-types-images/blazor-bar-chart.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hXLTNYsqpkzRkDLi?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Bar Chart](../images/chart-types-images/blazor-bar-chart.webp)" %} -N> Refer to the [Blazor Bar Charts](https://www.syncfusion.com/blazor-components/blazor-charts/chart-types/bar-chart) feature tour page to know about its other groundbreaking feature representations. Explore the [Blazor Bar Chart Example](https://blazor.syncfusion.com/demos/chart/bar?theme=fluent2) to compare values across categories by using horizontal bars. +N> Refer to the [Blazor Bar Charts](https://www.syncfusion.com/blazor-components/blazor-charts/chart-types/bar-chart) feature tour page to know about its other groundbreaking feature representations. Explore the [Blazor Bar Chart Example](https://blazor.syncfusion.com/demos/chart/bar?theme=bootstrap5) to compare values across categories by using horizontal bars. ## Binding data with series @@ -95,7 +95,7 @@ You can bind data to the chart using the [`DataSource`](https://help.syncfusion. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LXLxZdCByLcbweoO?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hXLTNYsqpkzRkDLi?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Series customization @@ -142,7 +142,7 @@ Use the [Fill](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.Ch } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rjLxjniBILFhYqNK?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hjrJNOMAzkGIHLBV?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} The [Fill](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartSeries.html#Syncfusion_Blazor_Charts_ChartSeries_Fill) property can be used to apply a gradient color to the bar series. By configuring the fill property with gradient values will create a visually appealing effect in which the color transitions smoothly from one shade to another. @@ -192,7 +192,7 @@ The [Fill](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartS } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LjVxtRshyBbnaDFN?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VZhJZYMUTOFVhLEz?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Opacity** @@ -235,7 +235,7 @@ The [Opacity](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.Cha } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LXrdtnihoBOCRLTR?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rjBJZOCKpYPQQtuq?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **DashArray** @@ -279,7 +279,7 @@ The [DashArray](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.C } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BZLRZnChIBOxisvd?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rtBTtuWUTuOhOKlj?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Series Border** @@ -323,7 +323,7 @@ The [ChartSeriesBorder](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BNLdtRiryqttwTLy?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rtBTtuWUTuOhOKlj?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ### Corner radius @@ -368,7 +368,7 @@ The [ChartCornerRadius](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor. ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LtVHZRiBIUDctvWV?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Bar Chart with corner radius](../images/chart-types-images/blazor-bar-chart-corner-radius.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rDBINTjfrHKsRaBF?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Bar Chart with corner radius](../images/chart-types-images/blazor-bar-chart-corner-radius.webp)" %} Customize the corner radius for individual points in the chart series using the [OnPointRender](https://blazor.syncfusion.com/documentation/chart/events#onpointrender) event by utilizing the [CornerRadius](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.PointRenderEventArgs.html#Syncfusion_Blazor_Charts_PointRenderEventArgs_CornerRadius) property in its event argument. @@ -418,7 +418,7 @@ Customize the corner radius for individual points in the chart series using the } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rDVHjHWhyKCVMxFD?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor bar chart with corner radius using OnPointRender event](../images/chart-types-images/blazor-bar-chart-corner-radius-using_onPointRenderEvent.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BZBejJXJVPrWIMKc?appbar=true&editor=true&result=true&errorlist=true&theme=bootstrap5" backgroundimage "[Blazor bar chart with corner radius using OnPointRender event](../images/chart-types-images/blazor-bar-chart-corner-radius-using_onPointRenderEvent.webp)" %} ## Bar spacing and width @@ -462,7 +462,7 @@ The [ColumnSpacing](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Char } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rZrdDRsheKCxNClo?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BNBfjaWUejsQPZoB?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ### Column width in pixels @@ -504,7 +504,7 @@ The [ColumnWidthInPixel](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor }; } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rXBHDdWVIABNQbUK?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Bar Chart with column width set in pixel](../images/chart-types-images/blazor-bar-chart-width-in-pixels.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rDreDxhnJqkknbxM?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Bar Chart with column width set in pixel](../images/chart-types-images/blazor-bar-chart-width-in-pixels.webp)" %} ## Grouped bar @@ -549,7 +549,7 @@ Group related series using the [GroupName](https://help.syncfusion.com/cr/blazor } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VZrHZdiLIAhohPFT?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rDrpZFrZMwknOUgV?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Empty points @@ -597,7 +597,7 @@ Use the [`Mode`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VZhxtxiVIqqsHRtF?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hNVpjaigoNLmAhdP?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Fill** @@ -641,7 +641,7 @@ Use the [`Fill`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hNVdXdMBSgqeDIhY?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hXBTNYCqIXKgENws?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Border** @@ -687,7 +687,7 @@ Use the [`Border`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Chart } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BZLRtnMhIgKFIhHp?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VNhpDYWAyDKOnNtK?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Events @@ -738,7 +738,7 @@ The [`OnSeriesRender`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.C } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BXVntHsVSKJLfplY?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VZVTjYMKyDTFzNmG?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ### Point render @@ -787,13 +787,13 @@ The [`OnPointRender`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Ch } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VDBHNnMVygzePqEH?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rZVJNaCUIXSpUkTS?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} -N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=fluent2) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. +N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=bootstrap5) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. ## See also -* [Creating stacked waterfall chart using Blazor bar chart](https://support.syncfusion.com/kb/article/11589/how-to-create-a-stacked-waterfall-chart-using-a-blazor-bar-chart) +* [Creating stacked waterfall chart using Blazor bar chart](https://support.syncfusion.com/kb/article/11589/creating-stacked-waterfall-chart-using-blazor-bar-chart) * [Data Label](../data-labels) * [Tooltip](../tool-tip) diff --git a/chart-sdk/blazor/charts/chart-types/box-whisker.md b/chart-sdk/blazor/charts/chart-types/box-whisker.md index 4d6e47f3b..0fd602dc5 100644 --- a/chart-sdk/blazor/charts/chart-types/box-whisker.md +++ b/chart-sdk/blazor/charts/chart-types/box-whisker.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Box and Whisker Chart Examples and Documentation | Syncfusion® -description: Learn how to visualize statistical distributions in Blazor Box and Whisker Charts using Syncfusion. Plot min, Q1, median, Q3, and max with five Y values. -platform: Blazor -control: Charts +title: Box and Whisker in Blazor Charts Component | Syncfusion® +description: Checkout and learn here all the features about the Box and Whisker Chart in Blazor Charts component and much more. +platform: chart-sdk +control: Chart documentation: ug --- -# Box and Whisker Chart in Blazor +# Box and Whisker in Blazor Charts Component ## Box and Whisker @@ -53,9 +53,9 @@ documentation: ug } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VZLHtdWLIfriQmSR?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Box and Whisker Charts](../images/othertypes/blazor-box-whisker-charts.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BZBzjFVZSMTofoJN?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Box and Whisker Charts](../images/othertypes/blazor-box-whisker-charts.webp)" %} -N> Refer to our [Blazor Box and Whisker Charts](https://www.syncfusion.com/blazor-components/blazor-charts/chart-types/box-and-whisker-chart) feature tour page to know about its other groundbreaking feature representations. Explore our [Blazor Box and Whisker Chart Example](https://blazor.syncfusion.com/demos/chart/box-and-whisker?theme=fluent2) to know how to render and configure the box and whisker type charts. +N> Refer to our [Blazor Box and Whisker Charts](https://www.syncfusion.com/blazor-components/blazor-charts/chart-types/box-and-whisker-chart) feature tour page to know about its other groundbreaking feature representations. Explore our [Blazor Box and Whisker Chart Example](https://blazor.syncfusion.com/demos/chart/box-and-whisker) to know how to render and configure the box and whisker type charts. ## Binding data with series @@ -97,7 +97,7 @@ You can bind data to the chart using the [`DataSource`](https://help.syncfusion. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LNBRjRiSgmkXRhxA?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BZBzjFVZSMTofoJN?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Series customization @@ -144,7 +144,7 @@ The [Fill](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartS ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rZrxXxWIgQYzlikX?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BZLzjbrNIWmRppje?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Opacity** @@ -186,7 +186,7 @@ The [Opacity](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.Cha } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VZrHXnsSqwukAuPl?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rXLJXPLjorqNXiVj?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **DashArray** @@ -228,7 +228,7 @@ The [DashArray](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.C } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VZhnXnWyqFtKfzNJ?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hjhTDPhNyVTUAEnI?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Series Border** @@ -271,7 +271,7 @@ The [ChartSeriesBorder](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rtLHXRiegbDcTmCs?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VNBztvBNILeJqLQs?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Box plot @@ -314,7 +314,7 @@ To change the rendering mode of the Box and Whisker series, use the [BoxPlotMode } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rZBRtdMSUviWggaq?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VtrJNbLZyqNmLSfX?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Show mean @@ -356,7 +356,7 @@ In Box and Whisker series, [ShowMean](https://help.syncfusion.com/cr/blazor/Sync } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VXrRXHWoKvsdqCcc?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hNLTjlrtyAViHspW?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Events @@ -405,7 +405,7 @@ The [`OnSeriesRender`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.C } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BtVRNHWeqviboKfo?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LNVfDvVZeKUSJylc?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ### Point render @@ -452,9 +452,9 @@ Use the [`OnPointRender`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazo } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rtBRDRiyKPhLAurZ?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VNVfZPBDSqpPmFsZ?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} -N> Refer to our [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore our [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=fluent2) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. +N> Refer to our [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore our [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=bootstrap5) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. ## See also diff --git a/chart-sdk/blazor/charts/chart-types/bubble.md b/chart-sdk/blazor/charts/chart-types/bubble.md index 70579e12e..d8eb44725 100644 --- a/chart-sdk/blazor/charts/chart-types/bubble.md +++ b/chart-sdk/blazor/charts/chart-types/bubble.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Bubble Chart Examples and Documentation | Syncfusion® -description: Learn how to create Blazor Bubble Charts using Syncfusion. Visualize three parameters—X, Y, and Size—where point size encodes an extra dimension. -platform: Blazor -control: Charts +title: Bubble in Blazor Charts Component | Syncfusion® +description: Checkout and learn here all the features about the Bubble Chart in Blazor Charts component and much more. +platform: chart-sdk +control: Chart documentation: ug --- -# Bubble Chart in Blazor +# Bubble in Blazor Charts Component ## Bubble @@ -56,9 +56,9 @@ documentation: ug } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hXLHXRiIgPLmJsJW?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Bubble Chart](../images/chart-types-images/blazor-bubble-chart.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hNVfZlVZAFsaTHgz?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Bubble Chart](../images/chart-types-images/blazor-bubble-chart.webp)" %} -N> Refer to the [Blazor Bubble Charts](https://www.syncfusion.com/blazor-components/blazor-charts/chart-types/bubble-chart) feature tour page to know about its other groundbreaking feature representations and also explore the [Blazor Bubble Chart Example](https://blazor.syncfusion.com/demos/chart/bubble?theme=fluent2) to know how to render and configure the bubble type charts. +N> Refer to the [Blazor Bubble Charts](https://www.syncfusion.com/blazor-components/blazor-charts/chart-types/bubble-chart) feature tour page to know about its other groundbreaking feature representations and also explore the [Blazor Bubble Chart Example](https://blazor.syncfusion.com/demos/chart/bubble?theme=bootstrap5) to know how to render and configure the bubble type charts. ## Binding data with series @@ -107,7 +107,7 @@ You can bind data to the chart using the [`DataSource`](https://help.syncfusion. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BthntHCeqFUtCIPZ?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hNVfZlVZAFsaTHgz?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Series customization @@ -160,7 +160,7 @@ The [Fill](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartS } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LXhdjHMoAFKfIESA?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hjBJjFLDKFITLPEy?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} The [Fill](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartSeries.html#Syncfusion_Blazor_Charts_ChartSeries_Fill) property can be used to apply a gradient color to the bubble series. By configuring this property with gradient values will create a visually appealing effect in which the color transitions smoothly from one shade to another. @@ -216,7 +216,7 @@ The [Fill](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartS } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rXLHNdWyAlKcXfvq?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BtBfZlVjgFdRuSQm?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Opacity** @@ -266,7 +266,7 @@ The [Opacity](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.Cha } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VDhxZRMSAlJCHoPy?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VDhpNbhjgvPifngh?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Bubble size mapping @@ -316,7 +316,7 @@ The [Size](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartS } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BDhRNdMoqbJTTDLC?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rtLfZPVXqYFMgJrs?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Empty points @@ -370,7 +370,7 @@ Use the [`Mode`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rZhRZnieAPfmPFbF?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LDrTZbhZqkBHEzZc?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Fill** @@ -421,7 +421,7 @@ Use the [`Fill`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VZrRjxWeglSMFShc?appbar=false&editor=false&result=false&errorlist=true&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VZLJjlrjqEAmyrpm?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Border** @@ -473,7 +473,7 @@ Use the [`Border`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Chart } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hZrnNHiSUvdFjRgJ?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VZrfNFBNAEzlQWwl?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Events @@ -530,7 +530,7 @@ The [`OnSeriesRender`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.C } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rXLRjnCyqlSkdJqC?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LZBJNbhjgEOdityZ?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ### Point render @@ -585,11 +585,11 @@ Use the [`OnPointRender`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazo } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BZrxXxiIUbdVMHTl?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rtBJtFhNpNKNdooM?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} -N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=fluent2) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. +N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=bootstrap5) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. ## See also * [Data Label](../data-labels) -* [Tooltip](../tool-tip) +* [Tooltip](../tool-tip) \ No newline at end of file diff --git a/chart-sdk/blazor/charts/chart-types/candle.md b/chart-sdk/blazor/charts/chart-types/candle.md index 513d958ac..b7765b584 100644 --- a/chart-sdk/blazor/charts/chart-types/candle.md +++ b/chart-sdk/blazor/charts/chart-types/candle.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Candle Chart Examples and Documentation | Syncfusion® -description: Learn how to render Blazor Candle Charts using Syncfusion. Visualize stock open, high, low, and close prices with a five-field data source per point. -platform: Blazor -control: Charts +title: Candle in Blazor Charts Component | Syncfusion® +description: Checkout and learn here all the features about the Candle Chart in Blazor Charts component and much more. +platform: chart-sdk +control: Chart documentation: ug --- -# Candle Chart in Blazor +# Candle in Blazor Charts Component ## Candle @@ -59,7 +59,7 @@ To render a [`Candle`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.C } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BDrdZRCoAPGoGeHq?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Candle Chart](../images/financial-types/blazor-candle-chart.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VjVpZFLtJkIBDGOn?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Candle Chart](../images/financial-types/blazor-candle-chart.webp)" %} ## Binding data with series @@ -101,7 +101,7 @@ You can bind data to the chart using the [`DataSource`](https://help.syncfusion. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hNVntHCoUbvirMxC?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VjVpZFLtJkIBDGOn?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Hollow candle @@ -162,7 +162,7 @@ The color of the candle will be defined by comparing with previous values. [Bull } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rZrRjHWoKvlgwilj?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hZhTtlrZzYcERtLX?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Solid candles @@ -205,7 +205,7 @@ The color of the candle will be defined by comparing with previous values. [Bull } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LDhRXdCoglYBaUNu?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hXrJZPrNfEvwlPNT?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Empty points @@ -252,7 +252,7 @@ Use the [`Mode`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VNBdjnMeqPOcrLzC?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VNrJNvhZyNKfjiBM?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Fill** @@ -295,7 +295,7 @@ Use the [`Fill`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BtVdjRsSgOtjCvAB?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BDBTZFLjSjxgzXQt?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Events @@ -343,7 +343,7 @@ The [`OnSeriesRender`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.C } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/htBdZRseKEtxCSJd?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BtBpXbhjyNwaIvNz?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ### Point render @@ -389,10 +389,10 @@ The [`OnPointRender`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Ch } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rNhHXxsSKYtgvlbT?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VXrfZbVDoNPkKESJ?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} -N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=fluent2) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. +N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=bootstrap5) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. ## See also diff --git a/chart-sdk/blazor/charts/chart-types/column.md b/chart-sdk/blazor/charts/chart-types/column.md index 2fe6e6d5c..76b47ada2 100644 --- a/chart-sdk/blazor/charts/chart-types/column.md +++ b/chart-sdk/blazor/charts/chart-types/column.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Column Chart Examples and Documentation | Syncfusion® -description: Learn how to create Blazor Column Charts using Syncfusion. Compare frequency, count, total, or average across categories with vertical bars. -platform: Blazor -control: Charts +title: Column Chart in Blazor Charts Component | Syncfusion® +description: Checkout and learn here all the features about the Column Chart in Blazor Charts component and much more. +platform: chart-sdk +control: Chart documentation: ug --- -# Column Chart in Blazor +# Column Chart in Blazor Charts Component ## Column @@ -56,9 +56,9 @@ To render a [Column Chart](https://www.syncfusion.com/blazor-components/blazor-c } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hXBnXxiyqOWhYDOS?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor column Chart.](../images/chart-types-images/blazor-column-chart.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rXVTDasqTXEkwQxd?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor column Chart.](../images/chart-types-images/blazor-column-chart.webp)" %} -N> Refer to our [Blazor Column Charts](https://www.syncfusion.com/blazor-components/blazor-charts/chart-types/column-chart) feature tour page to know about its other groundbreaking feature representations. Explore our [Blazor Column Charts Example](https://blazor.syncfusion.com/demos/chart/column?theme=fluent2) to compare **Frequency**, **Count**, **Total**, or **Average** of data in different categories. +N> Refer to our [Blazor Column Charts](https://www.syncfusion.com/blazor-components/blazor-charts/chart-types/column-chart) feature tour page to know about its other groundbreaking feature representations. Explore our [Blazor Column Charts Example](https://blazor.syncfusion.com/demos/chart/column?theme=bootstrap5) to compare **Frequency**, **Count**, **Total**, or **Average** of data in different categories. ## Binding data with series @@ -101,7 +101,7 @@ You can bind data to the chart using the [`DataSource`](https://help.syncfusion. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BDrHjHWSgYMeNwKb?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rXVTDasqTXEkwQxd?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Series customization @@ -148,7 +148,7 @@ The [Fill](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartS } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rZhRNHCygYCmymvy?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VNhzZaMUpCssORCj?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} The [Fill](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartSeries.html#Syncfusion_Blazor_Charts_ChartSeries_Fill) property can be used to apply a gradient color to the column series. By configuring this property with gradient values, you can create a visually appealing effect in which the color transitions smoothly from one shade to another. @@ -198,7 +198,7 @@ The [Fill](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartS } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hZBRjnMIUarXbVfv?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BjrpDYWUTiWFhKiA?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Opacity** @@ -241,7 +241,7 @@ The [Opacity](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.Cha } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rZVRDxieAOBLuoUJ?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LjhfXOMUzCryhKbs?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **DashArray** @@ -285,7 +285,7 @@ The [DashArray](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.C } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LZrHDHsIAaVPmprP?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LDVpDOCgzizWIYnW?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Series Border** @@ -331,7 +331,7 @@ The [ChartSeriesBorder](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BjrxjnsoKEUsCbux?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BDVptaigJiSoAyNW?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ### Corner radius @@ -370,7 +370,7 @@ The [ChartCornerRadius](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor. ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VthnDxiSAEqgSxbl?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Column Chart with corner radius](../images/chart-types-images/blazor-column-chart-corner-radius.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LZretpNTBvfSKfSg?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Column Chart with corner radius](../images/chart-types-images/blazor-column-chart-corner-radius.webp)" %} Customize the corner radius for individual points in the chart series using the [OnPointRender](https://blazor.syncfusion.com/documentation/chart/events#onpointrender) event by utilizing the [CornerRadius](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.PointRenderEventArgs.html#Syncfusion_Blazor_Charts_PointRenderEventArgs_CornerRadius) property in its event argument. @@ -420,7 +420,7 @@ Customize the corner radius for individual points in the chart series using the } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BDVRtRWogkzZfEYn?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor column chart with corner radius using OnPointRender event](../images/chart-types-images/blazor-column-chart-corner-radius-onPointRender.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LDLetfjzLvFuJDKv?appbar=true&editor=true&result=true&errorlist=true&theme=bootstrap5" backgroundimage "[Blazor column chart with corner radius using OnPointRender event](../images/chart-types-images/blazor-column-chart-corner-radius-onPointRender.webp)" %} ## Column space and width @@ -466,7 +466,7 @@ The [ColumnSpacing](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Char } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LZhHNnCyguJUqTKF?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rZVJZuWgzrbsWdYi?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ### Column width @@ -510,7 +510,7 @@ The [ColumnSpacing](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Char } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BDhnXRiygYJnCXlr?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rNBTjaiKzKALphJK?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ### Column width in pixel @@ -552,7 +552,7 @@ The [ColumnWidthInPixel](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor }; } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BjrnZRiyAufvOXUR?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Column Chart with column width set in pixel](../images/chart-types-images/blazor-column-chart-width-in-pixels.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LDhSNxBxzUFmUfTx?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Column Chart with column width set in pixel](../images/chart-types-images/blazor-column-chart-width-in-pixels.webp)" %} ## Grouped column @@ -597,7 +597,7 @@ Group series using [GroupName](https://help.syncfusion.com/cr/blazor/Syncfusion. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BjVxZxsIUEoCEiyh?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BDLAWrVdzxoVOMsL?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Empty points @@ -645,7 +645,7 @@ Use the [`Mode`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hDLHNHCSAuolbvrE?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LXrfZkMKzMEIFjsg?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Fill** @@ -689,7 +689,7 @@ Use the [`Fill`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hZhnjRMIAuHrtIby?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LtVJXYMKfhAQSZgW?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Border** @@ -735,7 +735,7 @@ Use the [`Border`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Chart } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rNrxNRMeAOnfcDoR?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LDBzDYCgTVpYKdZP?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Events @@ -786,7 +786,7 @@ The [`OnSeriesRender`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.C } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VZLxDxMyAOdwSFjV?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VjhTtkMAzUToYLEu?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ### Point render @@ -835,9 +835,9 @@ The [`OnPointRender`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Ch } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hNLRDRWIKkcsfKSD?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LjhJXOCAfqywAsbM?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} -N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=fluent2) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. +N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=bootstrap5) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. ## See also diff --git a/chart-sdk/blazor/charts/chart-types/error-bar.md b/chart-sdk/blazor/charts/chart-types/error-bar.md index 03e9e61fd..1613d1ac2 100644 --- a/chart-sdk/blazor/charts/chart-types/error-bar.md +++ b/chart-sdk/blazor/charts/chart-types/error-bar.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Error Bar Chart Examples and Documentation | Syncfusion® -description: Learn how to add error bars to Blazor Charts using Syncfusion. Show measurement uncertainty on series by enabling ChartErrorBarSettings. -platform: Blazor -control: Charts +title: Error Bar in Blazor Charts Component | Syncfusion® +description: Checkout and learn here all the features about Error Bar Chart in Blazor Charts component and much more. +platform: chart-sdk +control: Chart documentation: ug --- -# Error Bar Chart in Blazor +# Error Bar in Blazor Charts Component ## Error bar @@ -49,7 +49,7 @@ Error bars are graphical representations of the variability of data that are use } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/htVRjdCeAakdQhfU?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Line Chart with Error Bar](../images/othertypes/blazor-error-bar-chart.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hjrJXvLtoGKlZQco?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Line Chart with Error Bar](../images/othertypes/blazor-error-bar-chart.webp)" %} ## Error bar type @@ -91,7 +91,7 @@ To change the error bar rendering type, set [Type](https://help.syncfusion.com/c } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VXrdtdMeTtjZdXEM?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VXVptlLDSQfSIQbX?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Customizing error bar type @@ -134,7 +134,7 @@ To customize the error bar type, specify the [Type](https://help.syncfusion.com/ } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LDLxDdieptNJZxUC?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BNVpjbVteQTEHUBm?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Error bar mode @@ -176,7 +176,7 @@ Error bar mode is used to define whether the error bar line should be drawn hori } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LZLxtdMIzNWtKKBe?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LtrJXlrZemozoWbI?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Error bar direction @@ -218,7 +218,7 @@ To change the error bar direction to plus, minus, or both sides, use [Direction] } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LNrRNnioJZiBGwUC?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VNVfjbBNSQIYbupQ?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Customizing error bar cap @@ -261,7 +261,7 @@ To customize the error bar cap [Length](https://help.syncfusion.com/cr/blazor/Sy } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LZBdNxsozXMSwmCb?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VZVJXbVDIGdTeIOM?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Events @@ -312,7 +312,7 @@ The [`OnSeriesRender`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.C } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LXVdNHWoJtWGkuwQ?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/htBJjPrtyQcdqASQ?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ### Point render @@ -362,9 +362,9 @@ The [`OnPointRender`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Ch } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rtBdZdWoJtBNIRrS?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rjVzXbhXScaLsKPU?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} -N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=fluent2) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. +N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=bootstrap5) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. ## See also diff --git a/chart-sdk/blazor/charts/chart-types/high-low-open-close.md b/chart-sdk/blazor/charts/chart-types/high-low-open-close.md index 69faf4deb..f82df8bea 100644 --- a/chart-sdk/blazor/charts/chart-types/high-low-open-close.md +++ b/chart-sdk/blazor/charts/chart-types/high-low-open-close.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor High Low Open Close Chart Examples | Syncfusion® -description: Learn how to render Blazor High Low Open Close Charts using Syncfusion. Show stock open, high, low, and close values with a five-field data source. -platform: Blazor -control: Charts +title: High Low Open Close in Blazor Charts Component | Syncfusion® +description: Checkout and learn here all the features about High Low Open Close Chart in Blazor Charts component and more. +platform: chart-sdk +control: Chart documentation: ug --- -# High Low Open Close Chart in Blazor +# High Low Open Close in Blazor Charts Component ## High Low Open Close @@ -53,7 +53,7 @@ A detailed demonstration of the process for creating a HiloOpenClose chart using } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VXrHDHWeTigXIISL?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor High Low Open Close Chart](../images/chart-types-images/blazor-high-low-open-close-chart.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hjBJNlLNJmhnNTVP?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor High Low Open Close Chart](../images/chart-types-images/blazor-high-low-open-close-chart.webp)" %} ## Binding data with series @@ -93,7 +93,7 @@ You can bind data to the chart using the [`DataSource`](https://help.syncfusion. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hNVdDdMoTMUJToYf?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hjBJNlLNJmhnNTVP?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Series customization @@ -133,7 +133,7 @@ In [HiloOpenClose](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Chart } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hDVnXnieTWURuJPe?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VjhfDPhDJGyAaMRW?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Empty points @@ -178,7 +178,7 @@ Use the [`Mode`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rNVHtnWIJMgaOUQX?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LXhTNvLjJcGnFLlA?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Fill** @@ -219,7 +219,7 @@ Use the [`Fill`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hZVnNRWIJizLYwas?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VjVJZPVjzwkgtqWL?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Events @@ -266,7 +266,7 @@ The [`OnSeriesRender`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.C } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LDVRtniofCzoSfTr?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rjVTZvhNzPUybXnQ?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ### Point render @@ -311,9 +311,9 @@ The [`OnPointRender`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Ch } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LDhRZHiyfWzwnpEX?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VNhzDlBDpbdSnHLC?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} -N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=fluent2) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. +N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=bootstrap5) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. ## See also diff --git a/chart-sdk/blazor/charts/chart-types/high-low.md b/chart-sdk/blazor/charts/chart-types/high-low.md index f2a324bdf..3a2810eb7 100644 --- a/chart-sdk/blazor/charts/chart-types/high-low.md +++ b/chart-sdk/blazor/charts/chart-types/high-low.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Hilo Chart Examples and Documentation | Syncfusion® -description: Learn how to render Blazor Hilo Charts using Syncfusion. Plot stock high and low price movements over time for each data point. -platform: Blazor -control: Charts +title: Hilo in Blazor Charts Component | Syncfusion® +description: Checkout and learn here all the features about the Hilo Chart in Blazor Charts component and much more. +platform: chart-sdk +control: Chart documentation: ug --- -# Hilo Chart in Blazor +# Hilo in Blazor Charts Component ## Hilo @@ -58,9 +58,9 @@ This indicates that the data should be represented as a hilo chart, which shows } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hZhxZdsozWHsAlYC?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Hilo Chart](../images/financial-types/blazor-hilo-chart.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rZrzNPLjzSqgHuAy?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Hilo Chart](../images/financial-types/blazor-hilo-chart.webp)" %} -N> Refer to the [Blazor Hilo Chart](https://www.syncfusion.com/blazor-components/blazor-charts/chart-types/hilo-chart) feature tour page to know about its other groundbreaking feature representations and also explore the [Blazor Hilo Chart Example](https://blazor.syncfusion.com/demos/chart/hilo?theme=fluent2) to know how to render and configure the Hilo type series. +N> Refer to the [Blazor Hilo Chart](https://www.syncfusion.com/blazor-components/blazor-charts/chart-types/hilo-chart) feature tour page to know about its other groundbreaking feature representations and also explore the [Blazor Hilo Chart Example](https://blazor.syncfusion.com/demos/chart/hilo) to know how to render and configure the Hilo type series. ## Binding data with series @@ -105,7 +105,7 @@ You can bind data to the chart using the [`DataSource`](https://help.syncfusion. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VjVxtRiyTsxJclLp?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rZrzNPLjzSqgHuAy?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Series customization @@ -154,7 +154,7 @@ The [Fill](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartS } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VjrdNnCeTMnGqkcP?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BXBpjPVXpydPcQUK?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} The [Fill](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartSeries.html#Syncfusion_Blazor_Charts_ChartSeries_Fill) property can be used to apply a gradient color to the hilo series. By configuring this property with gradient values, you can create a visually appealing effect in which the color transitions smoothly from one shade to another. @@ -206,7 +206,7 @@ The [Fill](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartS } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hNrxNniozMGZWtxz?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hXrJjvrjpyuiQFNZ?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Opacity** @@ -252,7 +252,7 @@ The [Opacity](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.Cha } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hDVRtHCoJMwKKiLF?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VDBJXPhtpxNMtCrv?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Empty points @@ -302,7 +302,7 @@ Use the [`Mode`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hNBdDxMoJMGRJTSn?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BNVJtFVjpRrQLAvc?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Fill** @@ -349,7 +349,7 @@ Use the [`Fill`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VXrHXdCIfiQEAddE?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VXhJXvVDTnpBHPCo?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Events @@ -400,7 +400,7 @@ The [`OnSeriesRender`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.C } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LtBRNxCIfWvrJFiT?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rXLpNvLXpxyGcrgZ?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ### Point render @@ -449,9 +449,9 @@ The [`OnPointRender`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Ch } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LXrHNxWofWPJmGDm?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hthTXPBZzRmJfCpW?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} -N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=fluent2) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. +N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=bootstrap5) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. ## See also diff --git a/chart-sdk/blazor/charts/chart-types/histogram.md b/chart-sdk/blazor/charts/chart-types/histogram.md index dc8103eac..bc7b628cf 100644 --- a/chart-sdk/blazor/charts/chart-types/histogram.md +++ b/chart-sdk/blazor/charts/chart-types/histogram.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Histogram Chart Examples and Documentation | Syncfusion® -description: Learn how to render Blazor Histogram Charts using Syncfusion. Display large data distributions visually with bin-based frequency aggregation. -platform: Blazor -control: Charts +title: Histogram in Blazor Charts Component | Syncfusion® +description: Checkout and learn here all the features about the Histogram Chart in Blazor Charts component and more. +platform: chart-sdk +control: Chart documentation: ug --- -# Histogram Chart in Blazor +# Histogram in Blazor Charts Component ## Histogram @@ -65,7 +65,7 @@ documentation: ug } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VDBdDdseJCEZMSUR?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Histogram Chart](../images/othertypes/blazor-histogram-chart.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VjVpXPLjednCMkiw?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Histogram Chart](../images/othertypes/blazor-histogram-chart.webp)" %} ## Events @@ -132,7 +132,7 @@ The [`OnSeriesRender`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.C } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BjBnXxWSTsYhgybd?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VDrptbLDonwJmUEp?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ### Point render @@ -197,9 +197,9 @@ The [`OnPointRender`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Ch } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BDVdZHiozMuzKIBX?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rDhJXbLtoGiMbJGp?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} -N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=fluent2) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. +N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=bootstrap5) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. ## See also diff --git a/chart-sdk/blazor/charts/chart-types/line.md b/chart-sdk/blazor/charts/chart-types/line.md index f28cfb5a0..eebb11472 100644 --- a/chart-sdk/blazor/charts/chart-types/line.md +++ b/chart-sdk/blazor/charts/chart-types/line.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Line Chart Examples and Documentation | Syncfusion® -description: Learn how to create Blazor Line Charts using Syncfusion. Visualize time-dependent data and trends at equal intervals with markers and tooltips. -platform: Blazor -control: Charts +title: Line Chart in Blazor Charts Component | Syncfusion® +description: Checkout and learn here all the features about the Line Chart in Blazor Charts component and much more. +platform: chart-sdk +control: Chart documentation: ug --- -# Line Chart in Blazor +# Line Chart in Blazor Charts Component ## Line @@ -56,9 +56,9 @@ To render a [Line](https://www.syncfusion.com/blazor-components/blazor-charts/ch } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rXhnDRCIzVNIknqD?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Line Chart.](../images/chart-types-images/blazor-line-chart.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hNLfNkWrgrqqRINz?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Line Chart.](../images/chart-types-images/blazor-line-chart.webp)" %} -N> Refer to the [Blazor Line Chart](https://www.syncfusion.com/blazor-components/blazor-charts/chart-types/line-chart) feature tour page to know about its other groundbreaking feature representations. Explore the [Blazor Line Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=fluent2) to know how to represent time-dependent data, showing trends at equal intervals. +N> Refer to the [Blazor Line Chart](https://www.syncfusion.com/blazor-components/blazor-charts/chart-types/line-chart) feature tour page to know about its other groundbreaking feature representations. Explore the [Blazor Line Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=bootstrap5) to know how to represent time-dependent data, showing trends at equal intervals. ## Binding data with series @@ -101,7 +101,7 @@ You can bind data to the chart using the [`DataSource`](https://help.syncfusion. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BZBdDnMyfLXbaCor?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hNLfNkWrgrqqRINz?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Series customization @@ -148,7 +148,7 @@ The [Fill](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartS } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BtLnNHCyphiWonwH?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VNBpNasrAVmsWGMK?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} The [Fill](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartSeries.html#Syncfusion_Blazor_Charts_ChartSeries_Fill) property can be used to apply a gradient color to the line series. By configuring this property with gradient values, you can create a visually appealing effect in which the color transitions smoothly from one shade to another. @@ -198,7 +198,7 @@ The [Fill](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartS } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rtLHZxCyprCJFVwL?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LtrfDYCBKrPPwAeD?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Opacity** @@ -241,7 +241,7 @@ The [Fill](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartS } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VZrnDHCSThBjCtMr?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rDLzZuWVAgVSvsir?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **DashArray** @@ -284,7 +284,7 @@ The [Fill](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartS } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LjVxtxWeJrrLUWEu?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VXVzDuWBAUUspqiL?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Width** @@ -327,7 +327,7 @@ The [Fill](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartS } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VjrnDHMIpVBHrcAZ?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VtLJXkMhKAzqdmaj?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Multicolored line @@ -371,7 +371,7 @@ To render a multicolored line series in your chart, define the series [`Type`](h } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rXhxjniSJBhbQKvs?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hZhfZYMLUfkRrUcB?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Empty points @@ -419,7 +419,7 @@ Use the [`Mode`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LXhnXxCofrgjGfdG?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BtrTjasBgzXXURKs?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Fill** @@ -464,7 +464,7 @@ Use the [`Fill`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hZBdXRsefLKLEJTv?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/htBJXusBqzACyxwK?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Border** @@ -511,7 +511,7 @@ Use the [`Border`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Chart } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LDrnZnCyfhUSfkbD?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VthftYsrUzeKyodV?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Events @@ -562,7 +562,7 @@ The [`OnSeriesRender`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.C } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BtLdZxWoTLUcFLTc?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hDVTDkMhAIHPfJFn?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ### Point render @@ -612,9 +612,9 @@ The [`OnPointRender`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Ch } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VZBRZHCeJVTrcdBT?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VNLfDYsrUxgtYVoO?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} -N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=fluent2) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. +N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=bootstrap5) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. ## See also diff --git a/chart-sdk/blazor/charts/chart-types/pare-to.md b/chart-sdk/blazor/charts/chart-types/pare-to.md index 1122da610..0e99e0e2b 100644 --- a/chart-sdk/blazor/charts/chart-types/pare-to.md +++ b/chart-sdk/blazor/charts/chart-types/pare-to.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Pareto Chart Examples and Documentation | Syncfusion® -description: Learn how to create Blazor Pareto Charts using Syncfusion. Combine column and line series to show individual values and their cumulative totals. -platform: Blazor -control: Charts +title: Pareto in Blazor Charts Component | Syncfusion® +description: Checkout and learn here all the features about the Pareto chart in Blazor Charts component and much more. +platform: chart-sdk +control: Chart documentation: ug --- -# Pareto Chart in Blazor +# Pareto in Blazor Charts Component ## Pareto @@ -63,7 +63,7 @@ documentation: ug } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BjhntxiypUtzrGJW?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Pareto Chart](../images/othertypes/blazor-pareto-chart.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BZVptvWuVRmwVTbC?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Pareto Chart](../images/othertypes/blazor-pareto-chart.webp)" %} ## Binding data with series @@ -119,7 +119,7 @@ You can bind data to the chart using the [`DataSource`](https://help.syncfusion. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VDrHDHseTUXwimTq?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BZVptvWuVRmwVTbC?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Events @@ -182,7 +182,7 @@ The [`OnSeriesRender`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.C } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hDVRjdsIJAZkVFyp?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rtrTXPsYqgLVodRw?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ### Point render @@ -243,9 +243,9 @@ The [`OnPointRender`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Ch } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VXhdZHMozAsrnJzD?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BDrJNbMOKUJJkngK?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} -N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=fluent2) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. +N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=bootstrap5) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. ## See also diff --git a/chart-sdk/blazor/charts/chart-types/polar.md b/chart-sdk/blazor/charts/chart-types/polar.md index a348ec2ee..9341880e6 100644 --- a/chart-sdk/blazor/charts/chart-types/polar.md +++ b/chart-sdk/blazor/charts/chart-types/polar.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Polar Chart Examples and Documentation | Syncfusion® -description: Learn how to create Blazor Polar Charts using Syncfusion. Plot data by value and angle on a circular graph to compare quantitative aspects. -platform: Blazor -control: Charts +title: Polar in Blazor Charts Component | Syncfusion® +description: Checkout and learn here all the features about the Polar Chart in Blazor Charts component and much more. +platform: chart-sdk +control: Chart documentation: ug --- -# Polar Chart in Blazor +# Polar in Blazor Charts Component ## Polar @@ -51,9 +51,9 @@ To render a [polar](https://www.syncfusion.com/blazor-components/blazor-charts/c } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BDrnDdiSJqrCwMSK?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Polar Chart](../images/polar-radar/blazor-polar-chart.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BthpXPhXfsXrrssZ?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Polar Chart](../images/polar-radar/blazor-polar-chart.webp)" %} -N> Refer to our [Blazor Polar Chart](https://www.syncfusion.com/blazor-components/blazor-charts/chart-types/polar-chart) feature tour page to know about its other groundbreaking feature representations. Explore our [Blazor Polar Chart Example](https://blazor.syncfusion.com/demos/chart/polar-line?theme=fluent2) to know how to render and configure the Polar type chart. +N> Refer to our [Blazor Polar Chart](https://www.syncfusion.com/blazor-components/blazor-charts/chart-types/polar-chart) feature tour page to know about its other groundbreaking feature representations. Explore our [Blazor Polar Chart Example](https://blazor.syncfusion.com/demos/chart/polar-line) to know how to render and configure the Polar type chart. ## Binding data with series @@ -91,7 +91,7 @@ You can bind data to the chart using the [`DataSource`](https://help.syncfusion. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LZVdtxsyzKrTFWGn?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BthpXPhXfsXrrssZ?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Draw types @@ -134,7 +134,7 @@ To render a [line](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Chart } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BNVRNdCIJghGmvro?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LZVzDbVjfMVssote?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ### Spline @@ -173,7 +173,7 @@ To render a [spline](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Cha } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rjBRNHiyzgKtsCBO?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VthpNlLZTCqugtIw?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ### Area @@ -212,7 +212,7 @@ To render an [area](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Char } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hNhRXdiIJqgrYZwf?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rjBzjlBXTWSRXqYZ?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ### Stacked Area @@ -266,7 +266,7 @@ To render a [stacking area](https://help.syncfusion.com/cr/blazor/Syncfusion.Bla } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VZhxDdiofAgoWzIA?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LjhJNvrtTiQtUrwf?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ### Column @@ -305,7 +305,7 @@ To render a [column](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Cha } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BjrRDdsITATVQMOT?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VXrJZbhZfivRPCTM?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ### Stacked column @@ -356,7 +356,7 @@ To render a [stacking column](https://help.syncfusion.com/cr/blazor/Syncfusion.B } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VZrnjdsyzApeUTnS?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VXLJXbBDTLZKLCRn?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ### Range column @@ -403,7 +403,7 @@ To render a [range column](https://help.syncfusion.com/cr/blazor/Syncfusion.Blaz } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hNhRZnieJUzQwlAV?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rDLpjlhZfVAjIYyK?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ### Scatter @@ -444,7 +444,7 @@ To render a [scatter](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Ch } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rNhRDxMIzAetNcOQ?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LthfNlrDfBJUztOA?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Series customization @@ -487,7 +487,7 @@ To customize the start angle of the [Polar Chart](https://help.syncfusion.com/cr } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rXLHZnieJAImsbzI?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BZhTDPBZphQtaNHK?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ### Radius @@ -528,7 +528,7 @@ To customize the radius of the [Polar Chart](https://help.syncfusion.com/cr/blaz } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hXBRNHsIJgyOncQJ?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VXLJjFLZfLwTKJNf?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Empty points @@ -572,7 +572,7 @@ Use the [`Mode`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VZhnjRWepAHrgWIx?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VXBztbVZJhErYnKm?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Fill** @@ -612,7 +612,7 @@ Use the [`Fill`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rZLnZxWyTUHfdPob?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rtBJjFBjzqNSgVGn?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Border** @@ -654,7 +654,7 @@ Use the [`Border`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Chart } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rXhHDniopAHxuFeT?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BXhJtbhjTKiJHKjz?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Events @@ -700,7 +700,7 @@ The [`OnSeriesRender`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.C ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LNrnZHWSfKxuAHZh?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BDLTNPhDfKqtDxKX?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ### Point render @@ -745,9 +745,9 @@ The [`OnPointRender`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Ch } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BjVxNnMSpKGilirT?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rZLJDFBtfUpPvAFQ?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} -N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=fluent2) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. +N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=bootstrap5) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. ## See also diff --git a/chart-sdk/blazor/charts/chart-types/radar.md b/chart-sdk/blazor/charts/chart-types/radar.md index 5f54f18b9..b4fc080af 100644 --- a/chart-sdk/blazor/charts/chart-types/radar.md +++ b/chart-sdk/blazor/charts/chart-types/radar.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Radar Chart Examples and Documentation | Syncfusion® -description: Learn how to create Blazor Radar Charts using Syncfusion. Plot data by value and angle on a circular graph to compare qualitative aspects. -platform: Blazor -control: Charts +title: Radar in Blazor Charts Component | Syncfusion® +description: Checkout and learn here all the features about the Radar Chart in Blazor Charts component and much more. +platform: chart-sdk +control: Chart documentation: ug --- -# Radar Chart in Blazor +# Radar in Blazor Charts Component ## Radar @@ -54,9 +54,9 @@ To render a radar chart, set the series [Type](https://help.syncfusion.com/cr/bl } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hjVnjdMIfqQPknwH?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Radar Chart with Line Series](../images/polar-radar/blazor-radar-chart-line-series.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LjhfXbrXfzZtZPkh?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Radar Chart with Line Series](../images/polar-radar/blazor-radar-chart-line-series.webp)" %} -N> Refer to the [Blazor Radar Chart](https://www.syncfusion.com/blazor-components/blazor-charts/chart-types/radar-chart) feature tour page to know about its other groundbreaking feature representations. Explore the [Blazor Radar Chart Example](https://blazor.syncfusion.com/demos/chart/polar-line?theme=fluent2) to know how to render and configure the Radar type chart. +N> Refer to the [Blazor Radar Chart](https://www.syncfusion.com/blazor-components/blazor-charts/chart-types/radar-chart) feature tour page to know about its other groundbreaking feature representations. Explore the [Blazor Radar Chart Example](https://blazor.syncfusion.com/demos/chart/polar-line) to know how to render and configure the Radar type chart. ### Draw type @@ -97,7 +97,7 @@ Similar to the polar chart, use the [`DrawType`](https://help.syncfusion.com/cr/ } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hNBxXnsopAlLnwmd?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LjhfXbrXfzZtZPkh?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Binding data with series @@ -138,7 +138,7 @@ You can bind data to the chart using the [`DataSource`](https://help.syncfusion. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hXLnNRWepgvQLxld?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LjhfXbrXfzZtZPkh?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Series customization @@ -181,7 +181,7 @@ To customize the start angle of the [Radar Chart](https://help.syncfusion.com/cr } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VZVxjHiSzgaKIFvi?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LXBpZPhtzpLTqzjV?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ### Coefficient in axis @@ -222,9 +222,9 @@ To customize the radius of the [Radar Chart](https://help.syncfusion.com/cr/blaz } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rtLxtxCepqudAajV?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/htLJNPVjfzqCoYbb?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} -N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=fluent2) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. +N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=bootstrap5) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. ## Empty points Data points with `null`, `double.NaN` or `undefined` values are considered empty. Empty data points are ignored and not plotted on the chart. @@ -267,7 +267,7 @@ Use the [`Mode`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LjLRtnWSzfCCnrqO?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rjhpXlLtzzpCwIHl?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Fill** @@ -307,7 +307,7 @@ Use the [`Fill`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BjBdDdWoJpMcePDn?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VXLftFLZzTzHMHqg?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Border** @@ -349,7 +349,7 @@ Use the [`Border`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Chart } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BXrnZnWoffVsrkvy?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LZBTDFBNpJSRZBjo?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Events @@ -394,7 +394,7 @@ The [`OnSeriesRender`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.C } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/htrRZHMIzfhJuWQY?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LXBJZFhjfzHWXEmy?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ### Point render @@ -439,9 +439,9 @@ The [`OnPointRender`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Ch } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BNVHXRCyzpVwogJB?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rNrpNlrjpJdmOFva?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} -N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=fluent2) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. +N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=bootstrap5) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. ## See also diff --git a/chart-sdk/blazor/charts/chart-types/range-area.md b/chart-sdk/blazor/charts/chart-types/range-area.md index 6da2e5a1b..e9dd27145 100644 --- a/chart-sdk/blazor/charts/chart-types/range-area.md +++ b/chart-sdk/blazor/charts/chart-types/range-area.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Range Area Chart Examples and Documentation | Syncfusion® -description: Learn how to create Blazor Range Area Charts using Syncfusion. Visualize a range between high and low values per point with a filled area. -platform: Blazor -control: Charts +title: Range Area in Blazor Charts Component | Syncfusion® +description: Checkout and learn here all the features about Range Area Chart in Blazor Charts component and much more. +platform: chart-sdk +control: Chart documentation: ug --- -# Range Area Chart in Blazor +# Range Area in Blazor Charts Component ## Range area @@ -52,9 +52,9 @@ documentation: ug } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VDhdZHCSzfqGQwlI?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Range Area Chart](../images/chart-types-images/blazor-range-area-chart.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VXLKiLrRzNeaIzwr?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Range Area Chart](../images/chart-types-images/blazor-range-area-chart.webp)" %} -N> Refer to our [Blazor Range Area Chart](https://www.syncfusion.com/blazor-components/blazor-charts/chart-types/range-area-chart) feature tour page to know about its other groundbreaking feature representations. Explore our [Blazor Range Area Chart Example](https://blazor.syncfusion.com/demos/chart/range-area?theme=fluent2) to know how to show variations in the data values for a given time. +N> Refer to our [Blazor Range Area Chart](https://www.syncfusion.com/blazor-components/blazor-charts/chart-types/range-area-chart) feature tour page to know about its other groundbreaking feature representations. Explore our [Blazor Range Area Chart Example](https://blazor.syncfusion.com/demos/chart/range-area?theme=bootstrap5) to know how to show variations in the data values for a given time. ## Binding data with series @@ -94,7 +94,7 @@ You can bind data to the chart using the [`DataSource`](https://help.syncfusion. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VjLdDHCyfTfDRWBd?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VXLKiLrRzNeaIzwr?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Series customization @@ -136,7 +136,7 @@ The [Fill](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartS } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hjrxDxiSzzJUVgQP?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BjVJXFiuLpnrqRsI?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} The [Fill](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartSeries.html#Syncfusion_Blazor_Charts_ChartSeries_Fill) property can be used to apply a gradient color to the range area series. By configuring this property with gradient values, you can create a visually appealing effect in which the color transitions smoothly from one shade to another. @@ -181,7 +181,7 @@ The [Fill](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartS } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VXVxZRseJTJntkwj?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LNVTZvskLpbcrqUA?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Opacity** @@ -219,7 +219,7 @@ The [Opacity](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.Cha } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hDrdXxMIzzpYrBsM?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BNLTjbWOLyWjwVNg?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **DashArray** @@ -261,7 +261,7 @@ The [DashArray](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.C } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LDVHZnCIJTIWFeUy?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BjrKsLrRJtxArrAq?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Series Border** @@ -303,7 +303,7 @@ The [ChartSeriesBorder](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BDVdXdCITTopwXPG?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BjrKsLrRJtxArrAq?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Empty points @@ -347,7 +347,7 @@ Use the [`Mode`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LtBHXRMyJpIcphty?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rNrfjYCUVcRPTeWM?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Fill** @@ -388,7 +388,7 @@ Use the [`Fill`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rthxtniyJpdNNgqr?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VDrpZOMgBGvjLZRF?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Border** @@ -431,7 +431,7 @@ Use the [`Border`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Chart } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rZhdjxCyfJdVokYw?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BNBpXksArwOUEwRY?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Events @@ -478,7 +478,7 @@ The [`OnSeriesRender`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.C } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hDhHNxMIfJHejDAA?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LDhfDYWghlZFKfRQ?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ### Point render @@ -524,9 +524,9 @@ The [`OnPointRender`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Ch } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rNBHNdMITpHPsYOi?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BZrJZECqhFrrVKBi?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} -N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=fluent2) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. +N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=bootstrap5) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. ## See also diff --git a/chart-sdk/blazor/charts/chart-types/range-column.md b/chart-sdk/blazor/charts/chart-types/range-column.md index a268f85a6..132134d97 100644 --- a/chart-sdk/blazor/charts/chart-types/range-column.md +++ b/chart-sdk/blazor/charts/chart-types/range-column.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Range Column Chart Examples and Documentation | Syncfusion® -description: Learn how to create Blazor Range Column Charts using Syncfusion. Visualize min and max values per category as vertical bars with two Y values. -platform: Blazor -control: Charts +title: Range Column in Blazor Charts Component | Syncfusion® +description: Checkout and learn here all the features about Range Column Chart in Blazor Charts component and more. +platform: chart-sdk +control: Chart documentation: ug --- -# Range Column Chart in Blazor +# Range Column in Blazor Charts Component ## Range Column @@ -64,9 +64,9 @@ documentation: ug } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LNrRtRsoJJPUGkNx?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Range Column Chart](../images/chart-types-images/blazor-range-column-chart.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BDLgCLrnzdoaeqgs?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Range Column Chart](../images/chart-types-images/blazor-range-column-chart.webp)" %} -N> Refer to the [Blazor Range Column Chart](https://www.syncfusion.com/blazor-components/blazor-charts/chart-types/range-column-chart) feature tour page to know about its other groundbreaking feature representations. Explore the [Blazor Range Column Chart Example](https://blazor.syncfusion.com/demos/chart/range-column?theme=fluent2) to know how to show variations in the data values for a given time. +N> Refer to the [Blazor Range Column Chart](https://www.syncfusion.com/blazor-components/blazor-charts/chart-types/range-column-chart) feature tour page to know about its other groundbreaking feature representations. Explore the [Blazor Range Column Chart Example](https://blazor.syncfusion.com/demos/chart/range-column?theme=bootstrap5) to know how to show variations in the data values for a given time. ## Binding data with series @@ -119,7 +119,7 @@ You can bind data to the chart using the [`DataSource`](https://help.syncfusion. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rjLdtxMozTFEzDUv?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BDLgCLrnzdoaeqgs?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Series customization @@ -175,7 +175,7 @@ The [Fill](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartS } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hDBRZdCIpTaURVZk?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VXVTjPsuPHANPsBK?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} The [Fill](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartSeries.html#Syncfusion_Blazor_Charts_ChartSeries_Fill) property can be used to apply a gradient color to the range column series. By configuring this property with gradient values will create a visually appealing effect in which the color transitions smoothly from one shade to another. @@ -243,7 +243,7 @@ The [Fill](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartS } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rjVxDRsyTJYoEPWx?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hXLzXvrDDXLBCKlj?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Opacity** @@ -296,7 +296,7 @@ The [Opacity](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.Cha } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VtBHtnWyTpYlTLeU?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BDrfjlVjXDAdyObH?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **DashArray** @@ -352,7 +352,7 @@ The [DashArray](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.C } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BZhHjnCIJeDWqkHO?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LjrztbhXXZogMLpu?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Series Border** @@ -408,7 +408,7 @@ The [ChartSeriesBorder](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VNVHXnCofSNTXSUY?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LjrztbhXXZogMLpu?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Column Spacing** @@ -464,7 +464,7 @@ The [ColumnSpacing](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Char } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LXrRNdMezetGJwnh?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BjLUWrrnTnRLsksm?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ### Corner radius @@ -518,7 +518,7 @@ The [ChartCornerRadius](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor. }; } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rthdtdCIpeDkFZox?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Range Column Chart with corner radius](../images/chart-types-images/blazor-range-column-corner-radius.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BDBSDTtTAfxgaRes?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Range Column Chart with corner radius](../images/chart-types-images/blazor-range-column-corner-radius.webp)" %} Customize the corner radius for individual points in the chart series using the [OnPointRender](https://blazor.syncfusion.com/documentation/chart/events#onpointrender) event by utilizing the [CornerRadius](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.PointRenderEventArgs.html#Syncfusion_Blazor_Charts_PointRenderEventArgs_CornerRadius) property in its event argument. @@ -582,7 +582,7 @@ Customize the corner radius for individual points in the chart series using the } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BXLxDdWozSCBqmQz?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Range Column Chart with corner radius using OnPointRender event](../images/chart-types-images/blazor-range-column-corner-radius-onPointRender.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BNLejTXzqothXDiL?appbar=true&editor=true&result=true&errorlist=true&theme=bootstrap5" backgroundimage "[Blazor Range Column Chart with corner radius using OnPointRender event](../images/chart-types-images/blazor-range-column-corner-radius-onPointRender.webp)" %} ## Empty points @@ -644,7 +644,7 @@ Use the [`Mode`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LXhRXHsSToCooMTw?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VXBJDPLjtjuPynMF?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Fill** @@ -702,7 +702,7 @@ Use the [`Fill`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VZBxZHCSzoMbUwoq?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rNBztlBtDsChfQHL?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Border** @@ -764,7 +764,7 @@ Use the [`Border`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Chart } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rjBHZdCSJIrtedNG?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/htBzXFVjtshfELkG?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Events @@ -830,7 +830,7 @@ The [`OnSeriesRender`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.C } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hthnjHWeTSBqtbPB?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BthfZvBDXMSZESmh?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ### Point render @@ -888,9 +888,9 @@ The [`OnPointRender`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Ch } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BjhntdiypIBIURJF?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rjVztaigzJrTUPvR?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} -N> Refer to our [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore our [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=fluent2) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. +N> Refer to our [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore our [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=bootstrap5) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. ## See also diff --git a/chart-sdk/blazor/charts/chart-types/range-step-area.md b/chart-sdk/blazor/charts/chart-types/range-step-area.md index c3a1d5dd7..255e529dd 100644 --- a/chart-sdk/blazor/charts/chart-types/range-step-area.md +++ b/chart-sdk/blazor/charts/chart-types/range-step-area.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Range Step Area Chart Examples and Documentation | Syncfusion® -description: Learn how to create Blazor Range Step Area Charts using Syncfusion. Show continuous data as a step pattern between high and low values. -platform: Blazor -control: Charts +title: Range Step Area in Blazor Charts Component | Syncfusion® +description: Checkout and learn here all the features about Range Step Area Chart in Blazor Charts component and much more. +platform: chart-sdk +control: Chart documentation: ug --- -# Range Step Area Chart in Blazor +# Range Step Area in Blazor Charts Component ## Range Step Area @@ -58,7 +58,7 @@ documentation: ug } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VXhHNdCSTeUUWnBW?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Range Step Area Chart](../images/chart-types-images/blazor-range-step-area.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VNhJZlsOgSpJondZ?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Range Step Area Chart](../images/chart-types-images/blazor-range-step-area.webp)" %} ## Binding data with series @@ -105,9 +105,9 @@ You can bind data to the chart using the [`DataSource`](https://help.syncfusion. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rZhxNHCefyKmumOG?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VNhJZlsOgSpJondZ?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} -> Refer to the [Blazor Range Step Area Chart](https://www.syncfusion.com/blazor-components/blazor-charts/chart-types/range-step-area-chart) feature tour page to know about its other groundbreaking feature representations. Explore the [Blazor Range Step Area Chart Example](https://blazor.syncfusion.com/demos/chart/range-step-area?theme=fluent2) to know how to show variations in the data values for a given time. +> Refer to the [Blazor Range Step Area Chart](https://www.syncfusion.com/blazor-components/blazor-charts/chart-types/range-step-area-chart) feature tour page to know about its other groundbreaking feature representations. Explore the [Blazor Range Step Area Chart Example](https://blazor.syncfusion.com/demos/chart/range-step-area?theme=bootstrap5) to know how to show variations in the data values for a given time. ## Series customization @@ -158,7 +158,7 @@ The [Fill](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartS } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BXhxjdCepyztmnhW?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BjrJjFMuAepPfLMK?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} The [Fill](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartSeries.html#Syncfusion_Blazor_Charts_ChartSeries_Fill) property can be used to apply a gradient color to the range step area series. By configuring this property with gradient values will create a visually appealing effect in which the color transitions smoothly from one shade to another. @@ -212,7 +212,7 @@ The [Fill](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartS } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VXrxtRMSTSfKdkID?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BXrfZFWYKegwYTsm?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Opacity** @@ -259,7 +259,7 @@ The [Opacity](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.Cha } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BXrxtHseTefmBrTx?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hDLzDvWYKIIkDoAH?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **DashArray** @@ -306,7 +306,7 @@ The [DashArray](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.C } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VZLnjHWyTISDCWzj?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BjVztFsugovVdcLp?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **StepPosition** @@ -353,7 +353,7 @@ Use the [`StepPosition`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BXhHZxWyzoSLQhXO?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LZhTNliuUdrVOsTt?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Series Border** @@ -400,9 +400,9 @@ The [ChartSeriesBorder](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BjrxNxiopeSoKvyh?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BjVztFsugovVdcLp?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} -> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=fluent2) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. +> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=bootstrap5) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. ## Events @@ -456,7 +456,7 @@ The [`OnSeriesRender`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.C } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LtVRDnCyzyomeaIN?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hjVptbCagmtfNOtA?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ### Point render @@ -509,7 +509,7 @@ The [`OnPointRender`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Ch } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rtBdXRWeJSRsLBwT?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rtVJXkWKqjxGQeNS?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## See also diff --git a/chart-sdk/blazor/charts/chart-types/scatter.md b/chart-sdk/blazor/charts/chart-types/scatter.md index 9dcb152b7..0d21555e7 100644 --- a/chart-sdk/blazor/charts/chart-types/scatter.md +++ b/chart-sdk/blazor/charts/chart-types/scatter.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Scatter Chart Examples and Documentation | Syncfusion® -description: Learn how to create Blazor Scatter Charts using Syncfusion. Visualize the relationship between two numeric parameters as individual data points. -platform: Blazor -control: Charts +title: Scatter in Blazor Charts Component | Syncfusion® +description: Checkout and learn here all the features about the Scatter Chart in Blazor Charts component and much more. +platform: chart-sdk +control: Chart documentation: ug --- -# Scatter Chart in Blazor +# Scatter in Blazor Charts Component ## Scatter @@ -50,9 +50,9 @@ documentation: ug } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rtBdjxiSzymgPeku?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Scatter Chart](../images/chart-types-images/blazor-scatter-chart.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BDVfXFhZrfpVHHMy?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Scatter Chart](../images/chart-types-images/blazor-scatter-chart.webp)" %} -N> Refer to the [Blazor Scatter Chart](https://www.syncfusion.com/blazor-components/blazor-charts/chart-types/scatter-chart) feature tour page to know about its other groundbreaking feature representations. Explore the [Blazor Scatter Chart Example](https://blazor.syncfusion.com/demos/chart/scatter?theme=fluent2) to know how to plot data with two numeric parameters. +N> Refer to the [Blazor Scatter Chart](https://www.syncfusion.com/blazor-components/blazor-charts/chart-types/scatter-chart) feature tour page to know about its other groundbreaking feature representations. Explore the [Blazor Scatter Chart Example](https://blazor.syncfusion.com/demos/chart/scatter?theme=bootstrap5) to know how to plot data with two numeric parameters. ## Binding data with series @@ -95,7 +95,7 @@ You can bind data to the chart using the [`DataSource`](https://help.syncfusion. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rDhdZnsepecGWwBX?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BDVfXFhZrfpVHHMy?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Series customization @@ -142,7 +142,7 @@ The [Fill](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartS } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BDhdXdsSfylBdcFe?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/htrfXbhXVJoqDDfv?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} The [Fill](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartSeries.html#Syncfusion_Blazor_Charts_ChartSeries_Fill) property can be used to apply a gradient color to the scatter series. By configuring this property with gradient values, you can create a visually appealing effect in which the color transitions smoothly from one shade to another. @@ -203,7 +203,7 @@ The [Fill](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartS } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VNBxtnMSJIlIgsQI?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BXVftlhXLzbEWQlQ?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Opacity** @@ -250,7 +250,7 @@ The [Opacity](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.Cha } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hZLdtnCITSvcEUKe?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hNhTjFhNLoCriEer?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Shape** @@ -295,7 +295,7 @@ The [Shape](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.Chart } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rXVRjHMIToEtOwxC?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/htLptlrZVoTGBDGT?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Empty points @@ -346,7 +346,7 @@ Use the [`Mode`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rjLxXdsSzSkgnaRb?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VtLJXvLDrSGcnrLx?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Fill** @@ -393,7 +393,7 @@ Use the [`Fill`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LjVdDRMezIuReXth?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hNBJDbBjrelxszvS?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Border** @@ -444,7 +444,7 @@ Use the [`Border`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Chart } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BZBdjHWeJnDNJsoD?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BDBpjbrXVSOoenjQ?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Events @@ -500,7 +500,7 @@ The [`OnSeriesRender`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.C } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LDLdDxCypRtLEDhI?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LtBpNvrDVRtfleFJ?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ### Point render @@ -551,9 +551,9 @@ The [`OnPointRender`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Ch } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BZVxZdiyTnteGhgD?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BthJDPhDUwdAWIyK?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} -N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=fluent2) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. +N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=bootstrap5) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. ## See also diff --git a/chart-sdk/blazor/charts/chart-types/spline-area.md b/chart-sdk/blazor/charts/chart-types/spline-area.md index 307ff15dd..dc5fa0b7c 100644 --- a/chart-sdk/blazor/charts/chart-types/spline-area.md +++ b/chart-sdk/blazor/charts/chart-types/spline-area.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Spline Area Chart Examples and Documentation | Syncfusion® -description: Learn how to create Blazor Spline Area Charts using Syncfusion. Visualize time-dependent data with smooth curved boundaries and filled regions. -platform: Blazor -control: Charts +title: Spline Area in Blazor Charts Component | Syncfusion® +description: Checkout and learn here all the features about Spline Area Chart in Blazor Charts component and much more. +platform: chart-sdk +control: Chart documentation: ug --- -# Spline Area Chart in Blazor +# Spline Area in Blazor Charts Component ## Spline area @@ -50,9 +50,9 @@ documentation: ug } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LXrnDRCSzdWxgsyX?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Spline Area Chart](../images/chart-types-images/blazor-spline-area-chart.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VZhfXaCAqYANeOoh?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Spline Area Chart](../images/chart-types-images/blazor-spline-area-chart.webp)" %} -N> Refer to the [Blazor Spline Area Chart](https://www.syncfusion.com/blazor-components/blazor-charts/chart-types/spline-area-chart) feature tour page to know about its other groundbreaking feature representations. Explore the [Blazor Spline Area Chart Example](https://blazor.syncfusion.com/demos/chart/spline-area?theme=fluent2) to know how to connect the data points with smooth curves. +N> Refer to the [Blazor Spline Area Chart](https://www.syncfusion.com/blazor-components/blazor-charts/chart-types/spline-area-chart) feature tour page to know about its other groundbreaking feature representations. Explore the [Blazor Spline Area Chart Example](https://blazor.syncfusion.com/demos/chart/spline-area?theme=bootstrap5) to know how to connect the data points with smooth curves. ## Binding data with series @@ -95,7 +95,7 @@ You can bind data to the chart using the [`DataSource`](https://help.syncfusion. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rXrHZdCefnVDxJeZ?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VZhfXaCAqYANeOoh?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Series customization @@ -142,7 +142,7 @@ The [Fill](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartS } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rjVRDxiyfxhxkeQM?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BthTDECqUufPwlLm?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} The [Fill](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartSeries.html#Syncfusion_Blazor_Charts_ChartSeries_Fill) property can be used to apply a gradient color to the spline area series. By configuring this property with gradient values, you can create a visually appealing effect in which the color transitions smoothly from one shade to another. @@ -192,7 +192,7 @@ The [Fill](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartS } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BtBdXxWIfRKMpqJb?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hZrTXasAquooCQwR?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Opacity** @@ -236,7 +236,7 @@ The [Opacity](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.Cha } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VNVdDdsozRqynyGu?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VZLfjYiAqaxUiimx?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **DashArray** @@ -280,7 +280,7 @@ The [DashArray](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.C } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VNrxtHiIpxAvOywu?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hDLfZuiqUEmHRzWx?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Series Border** @@ -323,7 +323,7 @@ The [ChartSeriesBorder](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VjVdtRsopHJAzzaR?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hDLfZuiqUEmHRzWx?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Empty points @@ -371,7 +371,7 @@ Use the [`Mode`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VtBnDdiSzHTdmiAz?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VZBpDOWAUkEkACCP?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Fill** @@ -416,7 +416,7 @@ Use the [`Fill`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VtBdDRsIpnIDrqvW?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hXLzNusKJDMZQXEW?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Border** @@ -463,7 +463,7 @@ Use the [`Border`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Chart } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LDVdNdMopxIgkyDX?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hXrJtuMqTDVNZqYo?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Events @@ -514,7 +514,7 @@ The [`OnSeriesRender`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.C } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LZrHXdMoznSRMPEE?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hXLTXOMgptKfYVRT?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ### Point render @@ -564,9 +564,9 @@ The [`OnPointRender`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Ch } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LjBdjRiSznnWyaXm?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LZVJZYCUptJWVhWX?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} -N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=fluent2) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. +N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=bootstrap5) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. ## See also diff --git a/chart-sdk/blazor/charts/chart-types/spline-range-area.md b/chart-sdk/blazor/charts/chart-types/spline-range-area.md index f3da68451..d79d6f11f 100644 --- a/chart-sdk/blazor/charts/chart-types/spline-range-area.md +++ b/chart-sdk/blazor/charts/chart-types/spline-range-area.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Spline Range Area Chart Examples | Syncfusion® -description: Learn how to create Blazor Spline Range Area Charts using Syncfusion. Visualize high and low ranges with smooth curves over continuous time. -platform: Blazor -control: Charts +title: Spline Range Area in Blazor Charts component | Syncfusion® +description: Checkout and learn here all the features about Spline Range Area Chart in Blazor Charts component and much more. +platform: chart-sdk +control: Chart documentation: ug --- -# Spline Range Area Chart in Blazor +# Spline Range Area in Blazor Charts Component ## Spline Range Area @@ -50,9 +50,9 @@ documentation: ug } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LNrHNdWITGNWlHjS?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Spline Range Area Chart](../images/chart-types-images/blazor-spline-range-area-chart.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rjBqMVBdfdNOtUiF?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Spline Range Area Chart](../images/chart-types-images/blazor-spline-range-area-chart.webp)" %} -> Refer to the [Blazor Spline Range Area Chart](https://www.syncfusion.com/blazor-components/blazor-charts/chart-types/range-area-chart) feature tour page to know about its other groundbreaking feature representations. Explore the [Blazor Spline Range Area Chart Example](https://blazor.syncfusion.com/demos/chart/range-area?theme=fluent2) to know how to show variations in the data values for a given time. +> Refer to the [Blazor Spline Range Area Chart](https://www.syncfusion.com/blazor-components/blazor-charts/chart-types/range-area-chart) feature tour page to know about its other groundbreaking feature representations. Explore the [Blazor Spline Range Area Chart Example](https://blazor.syncfusion.com/demos/chart/range-area?theme=bootstrap5) to know how to show variations in the data values for a given time. ## Binding data with series @@ -91,7 +91,7 @@ You can bind data to the chart using the [`DataSource`](https://help.syncfusion. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BjhHDHieTmDeUYIH?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rjBqMVBdfdNOtUiF?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Series customization @@ -134,7 +134,7 @@ The [Fill](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartS } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hNBRNHMeTQMWnJQM?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VNVfDvCaUYLJHtBm?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} The [Fill](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartSeries.html#Syncfusion_Blazor_Charts_ChartSeries_Fill) property can be used to apply a gradient color to the spline range area series. By configuring this property with gradient values, you can create a visually appealing effect in which the color transitions smoothly from one shade to another. @@ -180,7 +180,7 @@ The [Fill](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartS } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BNhHDnsepGCoUwAK?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hZBzNvCEqYUQXrjC?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Opacity** @@ -219,7 +219,7 @@ The [Opacity](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.Cha } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BjhdZnMyTQWlBFEx?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LNLpDPWOKOILrqNs?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **DashArray** @@ -261,7 +261,7 @@ The [DashArray](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.C } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VtLHNdWoJQrhXhPz?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rtVKiVVHpnirchKL?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Border** @@ -303,7 +303,7 @@ The [DashArray](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.C } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VtLHjnCSzwBoePzM?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rtVKiVVHpnirchKL?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Empty points @@ -347,7 +347,7 @@ Use the [`Mode`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rDBxjRsSfcVvHscU?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hthzDOiUgzqrNpYT?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Fill** @@ -388,7 +388,7 @@ Use the [`Fill`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rXLntHiyTwUXlyoT?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hZVfXOsgKpAGzyOB?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Border** @@ -431,7 +431,7 @@ Use the [`Border`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Chart } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BjhRNRMIzmAxEhtP?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hNBJjaCqApyWTnmd?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Events @@ -478,7 +478,7 @@ The [`OnSeriesRender`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.C } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rtLnjHWITwKuVTJI?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hDBfZliuzDpTiTHL?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ### Point render @@ -524,9 +524,9 @@ The [`OnPointRender`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Ch } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VjBdXdiypwfsyFUJ?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hthJjOWAAyDCPNQg?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} -> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=fluent2) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. +> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=bootstrap5) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. ## See also diff --git a/chart-sdk/blazor/charts/chart-types/spline.md b/chart-sdk/blazor/charts/chart-types/spline.md index 0c51f50ce..fc37ae592 100644 --- a/chart-sdk/blazor/charts/chart-types/spline.md +++ b/chart-sdk/blazor/charts/chart-types/spline.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Spline Chart Examples and Documentation | Syncfusion® -description: Learn how to create Blazor Spline Charts using Syncfusion. Connect data points with smooth curves for visually continuous trends over time. -platform: Blazor -control: Charts +title: Spline in Blazor Charts Component | Syncfusion® +description: Checkout and learn here all the features about the Spline Chart in Blazor Charts component and much more. +platform: chart-sdk +control: Chart documentation: ug --- -# Spline Chart in Blazor +# Spline in Blazor Charts Component ## Spline @@ -50,9 +50,9 @@ documentation: ug } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rZhHtxMofGoshPEc?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Spline Chart](../images/chart-types-images/blazor-spline-chart.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rNrzNECVpIkCNalF?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Spline Chart](../images/chart-types-images/blazor-spline-chart.webp)" %} -N> Refer to the [Blazor Spline Chart](https://www.syncfusion.com/blazor-components/blazor-charts/chart-types/spline-chart) feature tour page to know about its other groundbreaking feature representations. Explore the [Blazor Spline Chart Example](https://blazor.syncfusion.com/demos/chart/spline?theme=fluent2) to know how to connect the data points with smooth curves. +N> Refer to the [Blazor Spline Chart](https://www.syncfusion.com/blazor-components/blazor-charts/chart-types/spline-chart) feature tour page to know about its other groundbreaking feature representations. Explore the [Blazor Spline Chart Example](https://blazor.syncfusion.com/demos/chart/spline?theme=bootstrap5) to know how to connect the data points with smooth curves. ## Binding data with series @@ -95,7 +95,7 @@ You can bind data to the chart using the [`DataSource`](https://help.syncfusion. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LjrxDRCeJwISAtJc?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rNrzNECVpIkCNalF?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Type of spline @@ -138,7 +138,7 @@ To specify the type of [Spline Chart](https://help.syncfusion.com/cr/blazor/Sync } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LNLHNHsyTcdqIjgI?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LjhfDECrfnTCtZRL?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Series customization @@ -185,7 +185,7 @@ The [Fill](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartS } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rXhnZnCSTQnGpWXO?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LZrJXkiLJnynkhnP?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} The [Fill](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartSeries.html#Syncfusion_Blazor_Charts_ChartSeries_Fill) property can be used to apply a gradient color to the spline series. By configuring this property with gradient values will create a visually appealing effect in which the color transitions smoothly from one shade to another. @@ -235,7 +235,7 @@ The [Fill](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartS } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/htVdXRWyTcwXZwlb?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hXBTtEMrfnbhFqAx?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Opacity** @@ -278,7 +278,7 @@ The [Opacity](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.Cha } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VZBHXRMopwGeAGlZ?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rtVpjaWVJHYZXtWY?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **DashArray** @@ -321,7 +321,7 @@ The [DashArray](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.C } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BDLxDdMoTQmwySCT?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hjBzjasVzwMBgJRe?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Width** @@ -364,7 +364,7 @@ The [Width](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.Chart } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rNhxZxCyzcmavFSk?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BXBfDYCrpmhBcEPx?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Empty points @@ -412,7 +412,7 @@ Use the [`Mode`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rNBnXnsyfGPqimfW?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/htVpXEWBJwUvJUOz?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Fill** @@ -457,7 +457,7 @@ Use the [`Fill`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hXhnXRWeJQlnPnRz?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rNrptEWrfGoDmItg?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} Use the [`Border`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartEmptyPointSettings.html#Syncfusion_Blazor_Charts_ChartEmptyPointSettings_Border) property to customize the [Width](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartEmptyPointBorder.html#Syncfusion_Blazor_Charts_ChartEmptyPointBorder_Width) and [Color](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartEmptyPointBorder.html#Syncfusion_Blazor_Charts_ChartEmptyPointBorder_Color) of the border for empty points. @@ -502,7 +502,7 @@ Use the [`Border`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Chart } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BDVnjRWepQOSJATJ?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BjVTjuCrTQHNhrUl?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Events @@ -553,7 +553,7 @@ The [`OnSeriesRender`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.C } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LDhxNRMofQOEoorL?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VjLpXuMLzmHEOphb?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ### Point render @@ -603,9 +603,9 @@ The [`OnPointRender`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Ch } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rXLHDnMoTvXKrEhR?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LZBzjYCrTmlVsnFi?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} -N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=fluent2) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. +N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=bootstrap5) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. ## See also diff --git a/chart-sdk/blazor/charts/chart-types/stack-area.md b/chart-sdk/blazor/charts/chart-types/stack-area.md index 7a207e60c..39e4b4857 100644 --- a/chart-sdk/blazor/charts/chart-types/stack-area.md +++ b/chart-sdk/blazor/charts/chart-types/stack-area.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor 100% Stacked Area Chart Examples | Syncfusion® -description: Learn how to render 100% Stacked Area Charts in Blazor using Syncfusion. Each series is shown as a percentage of the total, summing to 100. -platform: Blazor -control: Charts +title: 100% Stacked Area in Blazor Charts Component | Syncfusion® +description: Checkout and learn here all the features about 100% Stacked Area Chart in Blazor Charts component and much more. +platform: chart-sdk +control: Chart documentation: ug --- -# 100% Stacked Area Chart in Blazor +# 100% Stacked Area in Blazor Charts Component ## 100% Stacked Area Chart @@ -52,9 +52,9 @@ documentation: ug } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BtLRXRCyTFVmbpcI?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Stacked Area100 Chart](../images/chart-types-images/blazor-stacked-area-100-chart.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rNBAiVhnTxBScRGk?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Stacked Area100 Chart](../images/chart-types-images/blazor-stacked-area-100-chart.webp)" %} -N> Refer to the [Blazor 100% Stacked Area Chart](https://www.syncfusion.com/blazor-components/blazor-charts/chart-types/100-stacked-area-chart) feature tour page to know about its other groundbreaking feature representations. Explore the [Blazor 100% Stacked Area Chart Example](https://blazor.syncfusion.com/demos/chart/percent-stacked-area?theme=fluent2) to know how to render and configure the 100% Stacked Area type chart. +N> Refer to the [Blazor 100% Stacked Area Chart](https://www.syncfusion.com/blazor-components/blazor-charts/chart-types/100-stacked-area-chart) feature tour page to know about its other groundbreaking feature representations. Explore the [Blazor 100% Stacked Area Chart Example](https://blazor.syncfusion.com/demos/chart/percent-stacked-area?theme=bootstrap5) to know how to render and configure the 100% Stacked Area type chart. ## Binding data with series @@ -99,7 +99,7 @@ You can bind data to the chart using the [`DataSource`](https://help.syncfusion. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BjBRtRWITPqhAFbo?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rNBAiVhnTxBScRGk?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Series customization @@ -148,7 +148,7 @@ The [Fill](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartS } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LtrHNRCoJbURZQdi?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rjBztPikzoCgUnJJ?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} The [Fill](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartSeries.html#Syncfusion_Blazor_Charts_ChartSeries_Fill) property can be used to apply a gradient color to the 100% stacked area series. By configuring this property with gradient values will create a visually appealing effect in which the color transitions smoothly from one shade to another. @@ -218,7 +218,7 @@ The [Fill](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartS } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BthRZxsSTbAYSlxo?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BXVfjFsEJyUoObkx?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Opacity** @@ -263,7 +263,7 @@ The [Opacity](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.Cha } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hthxXnseJvTbQAnQ?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LXhpZFskTeJApMPq?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **DashArray** @@ -314,7 +314,7 @@ The [DashArray](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.C } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LDVxDnsoJvHTCPck?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LtLpNvCEpoorqjBb?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Series Border** @@ -365,7 +365,7 @@ The [ChartSeriesBorder](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VjhHNnCepFRdqRKC?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LXLAiBrHpHBFoZcx?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Empty points @@ -429,7 +429,7 @@ Use the [`Mode`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rXVntHCSfbdFQgrD?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hNrTZECqgmjYQlyI?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Fill** @@ -489,7 +489,7 @@ Use the [`Fill`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VNhdZHWepPmMVcOd?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rZLfjOMAKcWwKCGj?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Border** @@ -551,7 +551,7 @@ Use the [`Border`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Chart } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LjVnNHMIfPQgLkDk?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BjVpNasqqwTjdxmq?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Stack labels @@ -609,7 +609,7 @@ The [Visible](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.Cha } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rNBRXdsIJlwbPkhK?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rXByDxrngYpMFkxd?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ### Customization @@ -695,7 +695,7 @@ Customize the border of the stack labels using the [ChartStackLabelBorder](https }; } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VjLRjxMITFbsywsv?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BNBSZxVnqOcrRgBw?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Events @@ -759,7 +759,7 @@ The [`OnSeriesRender`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.C } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hZBdNHMozvbTNCmB?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BDhztliaTolOBJmw?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ### Point render @@ -816,9 +816,9 @@ The [`OnPointRender`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Ch } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LDBnZnWITllRijAH?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LXLTXuCUUmeoHyRh?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} -N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=fluent2) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. +N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=bootstrap5) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. ## See also diff --git a/chart-sdk/blazor/charts/chart-types/stack-bar.md b/chart-sdk/blazor/charts/chart-types/stack-bar.md index 42c10c274..157a3d083 100644 --- a/chart-sdk/blazor/charts/chart-types/stack-bar.md +++ b/chart-sdk/blazor/charts/chart-types/stack-bar.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor 100% Stacked Bar Chart Examples | Syncfusion® -description: Learn how to render 100% Stacked Bar Charts in Blazor using Syncfusion. Each segment is shown as a percentage share of the total per category. -platform: Blazor -control: Charts +title: 100% Stacked Bar in Blazor Charts Component | Syncfusion® +description: Checkout and learn here all the features about 100% Stacked Bar Chart in Blazor Charts component and much more. +platform: chart-sdk +control: Chart documentation: ug --- -# 100% Stacked Bar Chart in Blazor +# 100% Stacked Bar in Blazor Charts Component ## 100% Stacked Bar @@ -56,9 +56,9 @@ documentation: ug } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BZhnZdCeplYcrvqE?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Stacked Bar100 Chart](../images/chart-types-images/blazor-stacked-bar-100-chart.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VXBpNksqIVtklZvQ?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Stacked Bar100 Chart](../images/chart-types-images/blazor-stacked-bar-100-chart.webp)" %} -N> Refer to the [Blazor 100% Stacked Bar Chart](https://www.syncfusion.com/blazor-components/blazor-charts/chart-types/100-stacked-bar-chart) feature tour page to know about its other groundbreaking feature representations. You can also explore the [Blazor 100% Stacked Bar Chart Example](https://blazor.syncfusion.com/demos/chart/percent-stacked-bar?theme=fluent2) to know how to render and configure the 100% Stacked Bar type chart. +N> Refer to the [Blazor 100% Stacked Bar Chart](https://www.syncfusion.com/blazor-components/blazor-charts/chart-types/100-stacked-bar-chart) feature tour page to know about its other groundbreaking feature representations. You can also explore the [Blazor 100% Stacked Bar Chart Example](https://blazor.syncfusion.com/demos/chart/percent-stacked-bar?theme=bootstrap5) to know how to render and configure the 100% Stacked Bar type chart. ## Binding data with series @@ -107,7 +107,7 @@ You can bind data to the chart using the [`DataSource`](https://help.syncfusion. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rthRDHCSTEjAtIiD?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VXBpNksqIVtklZvQ?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Series customization @@ -160,7 +160,7 @@ The [Fill](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartS } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BjrRtnMITutyaPYS?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VZrpZYsKIrKbzufU?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} The [Fill](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartSeries.html#Syncfusion_Blazor_Charts_ChartSeries_Fill) property can be used to apply a gradient color to the 100% stacked bar series. By configuring this property with gradient values will create a visually appealing effect in which the color transitions smoothly from one shade to another. @@ -244,7 +244,7 @@ The [Fill](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartS } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LZLnjnCIJYXloKgl?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hDLfjEMKehTFTSff?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Opacity** @@ -293,7 +293,7 @@ The [Opacity](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.Cha } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VNhHZxCIJEijeiKq?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VXrztkMqIhobKOaD?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **DashArray** @@ -346,7 +346,7 @@ The [DashArray](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.C } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hNrxNRWopaMLRFUX?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rXBpDkMAeBRSeNjy?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Series Border** @@ -399,7 +399,7 @@ The [ChartSeriesBorder](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hXrntHCSzOCHgSkg?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rXBpDkMAeBRSeNjy?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ### Corner radius @@ -451,7 +451,7 @@ The [ChartCornerRadius](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LNVHjRiSJYrfvrJS?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Stacked bar 100 with corner radius](../images/chart-types-images/blazor-stacked-bar-100-chart-corner-radius.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BNVejpNfAyexsHPk?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Stacked bar 100 with corner radius](../images/chart-types-images/blazor-stacked-bar-100-chart-corner-radius.webp)" %} Customize the corner radius for individual points in the chart series using the [OnPointRender](https://blazor.syncfusion.com/documentation/chart/events#onpointrender) event by utilizing the [CornerRadius](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.PointRenderEventArgs.html#Syncfusion_Blazor_Charts_PointRenderEventArgs_CornerRadius) property in its event argument. @@ -508,7 +508,7 @@ Customize the corner radius for individual points in the chart series using the } } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rZLxNRCyJaVcVrNy?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Stacked bar 100 with corner radius using OnPointRender event](../images/chart-types-images/blazor-stacked-bar-100-chart-corner-radius-onPointRender.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LtVSNTZzKmxcZcBe?appbar=true&editor=true&result=true&errorlist=true&theme=bootstrap5" backgroundimage "[Blazor Stacked bar 100 with corner radius using OnPointRender event](../images/chart-types-images/blazor-stacked-bar-100-chart-corner-radius-onPointRender.webp)" %} ## Empty points @@ -563,7 +563,7 @@ Use the [`Mode`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LjLxDnWSJahaPsxP?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hNVfXEMAIhPsbKKj?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Fill** @@ -614,7 +614,7 @@ Use the [`Fill`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BDLxNxMozaghClCA?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VZLTNkCUehvvJXOw?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Border** @@ -667,7 +667,7 @@ Use the [`Border`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Chart } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LNrHjxMefYgTlZeZ?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VDLfNuMASAjCTbTh?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Stack labels @@ -739,7 +739,7 @@ The [Visible](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.Cha ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LtLRDnsIJaUQrCRx?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BNhojdrHpjhTEnIB?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ### Customization @@ -838,7 +838,7 @@ Customize the border of the stack labels using the [ChartStackLabelBorder](https } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VXBRDHWIfYqkaptg?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BXVIXnLHpDphNnvF?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Events @@ -910,7 +910,7 @@ The [`OnSeriesRender`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.C } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VNBxjHMyTkzBqjQw?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LNBJNYiqSKsXlnsN?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ### Point render @@ -958,9 +958,9 @@ The [`OnPointRender`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Ch } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rDVHZxMofafpzXIZ?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rtrpXusgoUVCdWTL?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} -N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=fluent2) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. +N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=bootstrap5) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. ## See also diff --git a/chart-sdk/blazor/charts/chart-types/stack-column.md b/chart-sdk/blazor/charts/chart-types/stack-column.md index 503f10fb1..4c1067abe 100644 --- a/chart-sdk/blazor/charts/chart-types/stack-column.md +++ b/chart-sdk/blazor/charts/chart-types/stack-column.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor 100% Stacked Column Chart Examples | Syncfusion® -description: Learn how to render 100% Stacked Column Charts in Blazor using Syncfusion. Each segment is shown as a percentage contribution to the total. -platform: Blazor -control: Charts +title: 100% Stacked Column in Blazor Charts Component | Syncfusion® +description: Checkout and learn here all the features about 100% Stacked Column Chart in Blazor Charts component and more. +platform: chart-sdk +control: Chart documentation: ug --- -# 100% Stacked Column Chart in Blazor +# 100% Stacked Column in Blazor Charts Component ## 100% Stacked Column @@ -56,9 +56,9 @@ documentation: ug } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rXhnNniyzESblqnr?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Stacked Column100 Chart](../images/chart-types-images/blazor-stacked-column-100-chart.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hjrfZusKfwGsxziN?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Stacked Column100 Chart](../images/chart-types-images/blazor-stacked-column-100-chart.webp)" %} -N> Refer to the [Blazor 100% Stacked Column Chart](https://www.syncfusion.com/blazor-components/blazor-charts/chart-types/100-stacked-column-chart) feature tour page to know about its other groundbreaking feature representations. Explore the [Blazor 100% Stacked Column Chart Example](https://blazor.syncfusion.com/demos/chart/percent-stacked-column?theme=fluent2) to know how to render and configure the 100% Stacked Column type chart. +N> Refer to the [Blazor 100% Stacked Column Chart](https://www.syncfusion.com/blazor-components/blazor-charts/chart-types/100-stacked-column-chart) feature tour page to know about its other groundbreaking feature representations. Explore the [Blazor 100% Stacked Column Chart Example](https://blazor.syncfusion.com/demos/chart/percent-stacked-column?theme=bootstrap5) to know how to render and configure the 100% Stacked Column type chart. ## Binding data with series @@ -107,7 +107,7 @@ You can bind data to the chart using the [`DataSource`](https://help.syncfusion. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VtrnNRCyTYdrHhbs?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hjrfZusKfwGsxziN?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Series customization @@ -160,7 +160,7 @@ The [Fill](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartS } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VjhRZnWeJkHSrFqa?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VXLJZEMqpcuWJVqq?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} The [Fill](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartSeries.html#Syncfusion_Blazor_Charts_ChartSeries_Fill) property can be used to apply a gradient color to the 100% stacked column series. By configuring this property with gradient values, you can create a visually appealing effect in which the color transitions smoothly from one shade to another. @@ -244,7 +244,7 @@ The [Fill](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartS } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LXLHDxsefYdQTnQk?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rNLpjuMAzvXXBMPY?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Opacity** @@ -293,7 +293,7 @@ The [Opacity](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.Cha } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LDBxNRMSzYROPFjN?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BXhzNEWUfbhCGWta?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **DashArray** @@ -346,7 +346,7 @@ The [DashArray](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.C } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hNhHDxWyTacVDDCd?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BjLfNkWqJvLPaVvE?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Series Border** @@ -399,7 +399,7 @@ The [ChartSeriesBorder](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BthnXnWefuQSuSGu?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BjLfNkWqJvLPaVvE?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ### Corner radius @@ -451,7 +451,7 @@ The [ChartCornerRadius](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor. ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/htBHXRMopumbBjUv?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Stacked Column 100 Chart with corner radius](../images/chart-types-images/blazor-stacked-column-100-chart-corner-radius.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BDrytzZpqmFAhCEn?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Stacked Column 100 Chart with corner radius](../images/chart-types-images/blazor-stacked-column-100-chart-corner-radius.webp)" %} Customize the corner radius for individual points in the chart series using the [OnPointRender](https://blazor.syncfusion.com/documentation/chart/events#onpointrender) event by utilizing the [CornerRadius](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.PointRenderEventArgs.html#Syncfusion_Blazor_Charts_PointRenderEventArgs_CornerRadius) property in its event argument. @@ -508,7 +508,7 @@ Customize the corner radius for individual points in the chart series using the } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rNrHDdMofElDqCaR?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Stacked Column 100 Chart with corner radius using OnPointRender event](../images/chart-types-images/blazor-stacked-column-100-chart-corner-radius-onPointRender.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hjroXTtTUvBXPRDt?appbar=true&editor=true&result=true&errorlist=true&theme=bootstrap5" backgroundimage "[Stacked Column 100 Chart with corner radius using OnPointRender event](../images/chart-types-images/blazor-stacked-column-100-chart-corner-radius-onPointRender.webp)" %} ## Empty points @@ -563,7 +563,7 @@ Use the [`Mode`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rDVdtRWIJEvUfXmj?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VtVTDOsUTvSZFJrs?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Fill** @@ -614,7 +614,7 @@ Use the [`Fill`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rDrntRsefOPySIQM?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rtBftOigTlvMAcAr?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Border** @@ -667,7 +667,7 @@ Use the [`Border`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Chart } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rXBHDdWeJYvQmFTF?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hZBzjOiKJPvwwvgy?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Stack labels @@ -737,7 +737,7 @@ The [Visible](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.Cha } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rjLRjdMITkuXBGmh?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VNrSNdhdTtoODqWV?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ### Customization @@ -834,7 +834,7 @@ Customize the border of the stack labels using the [ChartStackLabelBorder](https }; } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hXrxZdCofOkBnVJx?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BjByDnrnpjdwQmCP?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Events @@ -905,7 +905,7 @@ The [`OnSeriesRender`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.C } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rNLHZHiIpaEkHRlC?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BNrfXEWAJvYesKuJ?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ### Point render @@ -952,10 +952,10 @@ The [`OnPointRender`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Ch } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BjVnXnCofOOeRyeF?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LXLzjOsUzYZXkqsk?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} -N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=fluent2) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. +N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=bootstrap5) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. ## See also diff --git a/chart-sdk/blazor/charts/chart-types/stack-line.md b/chart-sdk/blazor/charts/chart-types/stack-line.md index 65920b941..b256f7ab7 100644 --- a/chart-sdk/blazor/charts/chart-types/stack-line.md +++ b/chart-sdk/blazor/charts/chart-types/stack-line.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor 100% Stacked Line Chart Examples | Syncfusion® -description: Learn how to render 100% Stacked Line Charts in Blazor using Syncfusion. Each series is shown as a percentage of the total, summing to 100. -platform: Blazor -control: Charts +title: 100% Stacked Line in Blazor Charts Component | Syncfusion® +description: Checkout and learn here all the features about 100% Stacked Line Chart in Blazor Charts component and more. +platform: chart-sdk +control: Chart documentation: ug --- -# 100% Stacked Line Chart in Blazor +# 100% Stacked Line in Blazor Charts Component ## 100% Stacked Line @@ -73,9 +73,9 @@ documentation: ug } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VthRZHCySWYQLCMB?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Stacked Line100 Chart](../images/chart-types-images/blazor-stacked-line-100-chart.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BthfjusLTJpWigyi?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Stacked Line100 Chart](../images/chart-types-images/blazor-stacked-line-100-chart.webp)" %} -N> Refer to the [Blazor 100% Stacked Line Chart](https://www.syncfusion.com/blazor-components/blazor-charts/chart-types/100-stacked-line-chart) feature tour page to know about its other groundbreaking feature representations. Explore the [Blazor 100% Stacked Line Chart Example](https://blazor.syncfusion.com/demos/chart/percent-stacked-line?theme=fluent2) to know how to render and configure the 100% Stacked Line type chart. +N> Refer to the [Blazor 100% Stacked Line Chart](https://www.syncfusion.com/blazor-components/blazor-charts/chart-types/100-stacked-line-chart) feature tour page to know about its other groundbreaking feature representations. Explore the [Blazor 100% Stacked Line Chart Example](https://blazor.syncfusion.com/demos/chart/percent-stacked-line?theme=bootstrap5) to know how to render and configure the 100% Stacked Line type chart. ## Binding data with series @@ -141,7 +141,7 @@ You can bind data to the chart using the [`DataSource`](https://help.syncfusion. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hjVRDxCyerZrprat?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BthfjusLTJpWigyi?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Series customization @@ -211,7 +211,7 @@ The [Fill](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartS } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hthxNxieIrNzQCBf?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VZhpNvMxVrNGkxdr?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} The [Fill](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartSeries.html#Syncfusion_Blazor_Charts_ChartSeries_Fill) property can be used to apply a gradient color to the 100% stacked line series. By configuring this property with gradient values, you can create a visually appealing effect in which the color transitions smoothly from one shade to another. @@ -295,7 +295,7 @@ The [Fill](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartS } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rtVRXnCeShjcVyCt?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BNBTXlMxLPhEYpdw?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Opacity** @@ -361,7 +361,7 @@ The [Opacity](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.Cha } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LjhdDHWySVtEpGxQ?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BjhJtPixLVgdYjtA?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Width** @@ -427,7 +427,7 @@ The [Width](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.Chart } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/htVdXxCoerirtjhT?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BjrTDFWRrUwyyFzg?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **DashArray** @@ -493,7 +493,7 @@ The [DashArray](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.C } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BDrnjHMIerWfoqWk?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BDhUsBrnVIxJdFqq?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Empty points @@ -557,7 +557,7 @@ Use the [`Mode`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hXhHXHWyIVMwIlBo?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BtBzjkCLTJvEceAo?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Fill** @@ -617,7 +617,7 @@ Use the [`Fill`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hDrdZxCSSBrigRxM?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VDhzZECrpyXsTCTm?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Border** @@ -679,7 +679,7 @@ Use the [`Border`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Chart } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VDrRjnMIIBLJhDsA?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BNhpjaihpyjGvmon?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Stack labels @@ -752,7 +752,7 @@ The [Visible](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.Cha }; } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rDBnNnWeoLUQpFre?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hXLeNxrxptwavgKW?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ### Customization @@ -854,7 +854,7 @@ Customize the border of the stack labels using the [ChartStackLabelBorder](https } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/htrHNRWyyhJDNHrU?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BDByZdBHfjFPhexI?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Events @@ -926,7 +926,7 @@ The [`OnSeriesRender`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.C } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rXhdNniIoLzVRzqt?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rNLpZvBiCLhmMMJU?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ### Point render @@ -997,9 +997,9 @@ The [`OnPointRender`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Ch } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LtBxNnseeLzIBMfv?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LXLpZlhMCrpBJvmA?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} -N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=fluent2) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. +N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=bootstrap5) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. ## See also diff --git a/chart-sdk/blazor/charts/chart-types/stacked-area.md b/chart-sdk/blazor/charts/chart-types/stacked-area.md index f182b4abd..624852a44 100644 --- a/chart-sdk/blazor/charts/chart-types/stacked-area.md +++ b/chart-sdk/blazor/charts/chart-types/stacked-area.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Stacked Area Chart Examples and Documentation | Syncfusion® -description: Learn how to create Blazor Stacked Area Charts using Syncfusion. Show individual contributions to a total over time by stacking Y values. -platform: Blazor -control: Charts +title: Stacked Area in Blazor Charts Component | Syncfusion® +description: Checkout and learn here all the features about Stacked Area Chart in Blazor Charts component and more. +platform: chart-sdk +control: Chart documentation: ug --- -# Stacked Area Chart in Blazor +# Stacked Area in Blazor Charts Component ## Stacked Area @@ -52,9 +52,9 @@ documentation: ug } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BjBHDxMySLSkqXCu?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Stacked Area Chart](../images/chart-types-images/blazor-stacked-area-chart.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LDhUsVLxzRMlYUSx?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Stacked Area Chart](../images/chart-types-images/blazor-stacked-area-chart.webp)" %} -N> Refer to the [Blazor Stacked Area Chart](https://www.syncfusion.com/blazor-components/blazor-charts/chart-types/stacked-area-chart) feature tour page to know about its other groundbreaking feature representations. Explore the [Blazor Stacked Area Chart Example](https://blazor.syncfusion.com/demos/chart/stacked-area?theme=fluent2) to know how to render and configure the Stacked Area type chart. +N> Refer to the [Blazor Stacked Area Chart](https://www.syncfusion.com/blazor-components/blazor-charts/chart-types/stacked-area-chart) feature tour page to know about its other groundbreaking feature representations. Explore the [Blazor Stacked Area Chart Example](https://blazor.syncfusion.com/demos/chart/stacked-area?theme=bootstrap5) to know how to render and configure the Stacked Area type chart. ## Binding data with series @@ -99,7 +99,7 @@ You can bind data to the chart using the [`DataSource`](https://help.syncfusion. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hjhxXdMeeVHrKRjX?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LDhUsVLxzRMlYUSx?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Series customization @@ -148,7 +148,7 @@ The [Fill](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartS } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BZBnjxWeSBneTQAO?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VDLTNPsufiIAQhTr?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} The [Fill](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartSeries.html#Syncfusion_Blazor_Charts_ChartSeries_Fill) property can be used to apply a gradient color to the stacked area series. By configuring this property with gradient values, you can create a visually appealing effect in which the color transitions smoothly from one shade to another. @@ -218,7 +218,7 @@ The [Fill](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartS } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BZBdtnWySVdwoIdH?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LNBpXbWYTilVqwGp?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Opacity** @@ -264,7 +264,7 @@ The [Opacity](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.Cha } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BNrRNxCeeVQXIarx?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hDLTXvsYzrjDnWhZ?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **DashArray** @@ -315,7 +315,7 @@ The [DashArray](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.C } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BtBxDdWoyVQfZHpg?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VjhKsrhdpxrCydRe?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Series Border** @@ -366,7 +366,7 @@ The [ChartSeriesBorder](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VjhxXniSoBGkVNPO?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VjhKsrhdpxrCydRe?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Empty points @@ -430,7 +430,7 @@ Use the [`Mode`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hDrRZdiyoBbKWrAT?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BXBpjEsgAolUQBDo?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Fill** @@ -490,7 +490,7 @@ Use the [`Fill`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rXBdjHWoIVbSTEdn?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rNhJXksUqIaKdTsV?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Border** @@ -552,7 +552,7 @@ Use the [`Border`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Chart } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BjLxZnieeVlFRacU?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VtBTNaCggdjLzXLg?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Stack labels @@ -616,7 +616,7 @@ The [Visible](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.Cha }; } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/htLHjHWIyLkijnpi?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hNryjdBnTsAhjnHH?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ### Customization @@ -708,7 +708,7 @@ Customize the border of the stack labels using the [ChartStackLabelBorder](https }; } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VNLHDxseyhkUUvoR?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BtLoDxLdfizfRptS?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Events @@ -772,7 +772,7 @@ The [`OnSeriesRender`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.C } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VNBnNnMyyrOenPZY?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LXVTjviYzAmlMaxt?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ### Point render @@ -843,9 +843,9 @@ The [`OnPointRender`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Ch } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rNhdZnsSILYwRKSs?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BXrfZuMAURdafsLu?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} -N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=fluent2) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. +N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=bootstrap5) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. ## See also diff --git a/chart-sdk/blazor/charts/chart-types/stacked-bar.md b/chart-sdk/blazor/charts/chart-types/stacked-bar.md index 8a4939f68..2b8aabd05 100644 --- a/chart-sdk/blazor/charts/chart-types/stacked-bar.md +++ b/chart-sdk/blazor/charts/chart-types/stacked-bar.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Stacked Bar Chart Examples and Documentation | Syncfusion® -description: Learn how to create Blazor Stacked Bar Charts using Syncfusion. Show individual Y values contributing to a total per category as horizontal bars. -platform: Blazor -control: Charts +title: Stacked Bar in Blazor Charts Component | Syncfusion® +description: Checkout and learn here all the features about Stacked Bar Chart in Blazor Charts component and much more. +platform: chart-sdk +control: Chart documentation: ug --- -# Stacked Bar Chart in Blazor +# Stacked Bar in Blazor Charts Component ## Stacked Bar @@ -56,9 +56,9 @@ documentation: ug } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rZBdXdMdiaLeBUGA?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Stacked Bar Chart](../images/chart-types-images/blazor-stacked-bar-chart.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LNLTtEsUyZmdwAXe?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Stacked Bar Chart](../images/chart-types-images/blazor-stacked-bar-chart.webp)" %} -N> Refer to the [Blazor Stacked Bar Chart](https://www.syncfusion.com/blazor-components/blazor-charts/chart-types/stacked-bar-chart) feature tour page to know about its other groundbreaking feature representations. Explore the [Blazor Stacked Bar Chart Example](https://blazor.syncfusion.com/demos/chart/stacked-bar?theme=fluent2) to know how to to render and configure the Stacked Bar type chart. +N> Refer to the [Blazor Stacked Bar Chart](https://www.syncfusion.com/blazor-components/blazor-charts/chart-types/stacked-bar-chart) feature tour page to know about its other groundbreaking feature representations. Explore the [Blazor Stacked Bar Chart Example](https://blazor.syncfusion.com/demos/chart/stacked-bar?theme=bootstrap5) to know how to to render and configure the Stacked Bar type chart. ## Binding data with series @@ -107,7 +107,7 @@ You can bind data to the chart using the [`DataSource`](https://help.syncfusion. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BNBHZnCRCugWVigJ?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LNLTtEsUyZmdwAXe?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Series customization @@ -160,7 +160,7 @@ The [Fill](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartS } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BthdXRiRsuUmCYNI?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LjhpZEiqICMUekYe?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} The [Fill](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartSeries.html#Syncfusion_Blazor_Charts_ChartSeries_Fill) property can be used to apply a gradient color to the stacked bar series. By configuring this property with gradient values, you can create a visually appealing effect in which the color transitions smoothly from one shade to another. @@ -244,7 +244,7 @@ The [Fill](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartS } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rjBHDxWHsOTUNDeN?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hthpjuCqesrLAxoa?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Opacity** @@ -293,7 +293,7 @@ The [Opacity](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.Cha } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rDLdtRMdVdmBJpaA?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rjBfXkWUeCAMCYmg?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **DashArray** @@ -346,7 +346,7 @@ The [DashArray](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.C } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rNBRtHMRLnFdktCO?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hNrTDEWKesAljlaK?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Series Border** @@ -399,7 +399,7 @@ The [ChartSeriesBorder](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VXBxjRMRhRujXbxu?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hNrTDEWKesAljlaK?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ### Corner radius @@ -451,7 +451,7 @@ The [ChartCornerRadius](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor. ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VXBRNxMnVHuVFmMW?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Stacked bar chart with corner radius](../images/chart-types-images/blazor-stacked-bar-chart-corner-radius.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hXLIXzXpqbHxThSx?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Stacked bar chart with corner radius](../images/chart-types-images/blazor-stacked-bar-chart-corner-radius.webp)" %} Customize the corner radius for individual points in the chart series using the [OnPointRender](https://blazor.syncfusion.com/documentation/chart/events#onpointrender) event by utilizing the [CornerRadius](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.PointRenderEventArgs.html#Syncfusion_Blazor_Charts_PointRenderEventArgs_CornerRadius) property in its event argument. @@ -507,7 +507,7 @@ Customize the corner radius for individual points in the chart series using the } } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VDhHjxWnBxubKzsB?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Stacked bar chart with corner radius using OnPointRender event](../images/chart-types-images/blazor-stacked-bar-chart-corner-radius-onPointRender.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VNVIjTXJKkhNeecS?appbar=true&editor=true&result=true&errorlist=true&theme=bootstrap5" backgroundimage "[Blazor Stacked bar chart with corner radius using OnPointRender event](../images/chart-types-images/blazor-stacked-bar-chart-corner-radius-onPointRender.webp)" %} ## Stacking group @@ -553,7 +553,7 @@ The [StackingGroup](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Char } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VjVHjdiHrwtUhRYG?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rDBzZFrZWEJlJFRK?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Empty points @@ -608,7 +608,7 @@ Use the [`Mode`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BjhRjniHBcZondri?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LjhJNaiKeMoNBCQx?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Fill** @@ -659,7 +659,7 @@ Use the [`Fill`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LtBdDxMHVmZbMLkX?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LjLTtaMAoConUbUM?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Border** @@ -712,7 +712,7 @@ Use the [`Border`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Chart } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BtVxXHsxLQCEXHur?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/htVTNuWAoCRpQIFu?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Stack labels @@ -781,7 +781,7 @@ The [Visible](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.Cha }; } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BjBdNnsnhchrKRfy?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hZrSNxhHTLzDPlkS?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ### Customization @@ -878,7 +878,7 @@ Customize the border of the stack labels using the [ChartStackLabelBorder](https }; } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VZBHtxixLcLyuZUY?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LtLeXRBdJVyXgzXA?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Events @@ -949,7 +949,7 @@ The [`OnSeriesRender`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.C } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rNLRtHiRrcUZRCYb?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BNBJjYMAosmGPGaJ?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ### Point render @@ -996,9 +996,9 @@ The [`OnPointRender`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Ch } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VZrdDxWnBwKgyLpP?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LZLztOMgIiFJUSqt?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} -N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=fluent2) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. +N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=bootstrap5) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. ## See also diff --git a/chart-sdk/blazor/charts/chart-types/stacked-column.md b/chart-sdk/blazor/charts/chart-types/stacked-column.md index 20ef7f3ee..033c8ac24 100644 --- a/chart-sdk/blazor/charts/chart-types/stacked-column.md +++ b/chart-sdk/blazor/charts/chart-types/stacked-column.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Stacked Column Chart Examples and Documentation | Syncfusion® -description: Learn how to create Blazor Stacked Column Charts using Syncfusion. Show individual Y values contributing to a total per category as vertical bars. -platform: Blazor -control: Charts +title: Stacked Column in Blazor Charts Component | Syncfusion® +description: Checkout and learn here all the features about Stacked Column Chart in Blazor Charts component and more. +platform: chart-sdk +control: Chart documentation: ug --- -# Stacked Column Chart in Blazor +# Stacked Column in Blazor Charts Component ## Stacked Column @@ -62,9 +62,9 @@ To render a [stacked column](https://www.syncfusion.com/blazor-components/blazor } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BDhnjxWnLcSBVHZf?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Stacked Column Chart](../images/chart-types-images/blazor-stacked-column-chart.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VjBJXasqJzvlIjSR?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Stacked Column Chart](../images/chart-types-images/blazor-stacked-column-chart.webp)" %} -N> Refer to the [Blazor Stacked Column Chart](https://www.syncfusion.com/blazor-components/blazor-charts/chart-types/stacked-column-chart) feature tour page to know about its other groundbreaking feature representations. Explore the [Blazor Stacked Column Chart Example](https://blazor.syncfusion.com/demos/chart/stacked-column?theme=fluent2) to know how to render and configure the Stacked Column type chart. +N> Refer to the [Blazor Stacked Column Chart](https://www.syncfusion.com/blazor-components/blazor-charts/chart-types/stacked-column-chart) feature tour page to know about its other groundbreaking feature representations. Explore the [Blazor Stacked Column Chart Example](https://blazor.syncfusion.com/demos/chart/stacked-column?theme=bootstrap5) to know how to render and configure the Stacked Column type chart. ## Binding data with series @@ -113,7 +113,7 @@ You can bind data to the chart using the [`DataSource`](https://help.syncfusion. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BDrHjdCdLmeImSVV?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VjBJXasqJzvlIjSR?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Series customization @@ -166,7 +166,7 @@ The [Fill](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartS } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BDVxNHWxBwSvSbwS?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LjrfDkMKfeMORbzp?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} The [Fill](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartSeries.html#Syncfusion_Blazor_Charts_ChartSeries_Fill) property can be used to apply a gradient color to the stacked column series. By configuring this property with gradient values, you can create a visually appealing effect in which the color transitions smoothly from one shade to another. @@ -250,7 +250,7 @@ The [Fill](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartS } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LtBHtHMnBcnCSzBf?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BtLztEWATezfZfuv?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Opacity** @@ -299,7 +299,7 @@ The [Opacity](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.Cha } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LZLHZdWdBmxfAoWN?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BthTtOsgJeIvtQui?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **DashArray** @@ -352,7 +352,7 @@ The [DashArray](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.C } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rjLdNxWnLmHHRMnP?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rXLpXEsqfecVJWHB?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Series Border** @@ -405,7 +405,7 @@ The [ChartSeriesBorder](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LtLxDHMHrQwXaiHy?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rXLpXEsqfecVJWHB?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ### Corner radius @@ -456,7 +456,7 @@ The [ChartCornerRadius](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BNBdNdCdBGmgIHRs?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Stacked column chart with corner radius](../images/chart-types-images/blazor-stacked-column-chart-corner-radius.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LZByXTjJqkyCcSge?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Stacked column chart with corner radius](../images/chart-types-images/blazor-stacked-column-chart-corner-radius.webp)" %} Customize the corner radius for individual points in the chart series using the [OnPointRender](https://blazor.syncfusion.com/documentation/chart/events#onpointrender) event by utilizing the [CornerRadius](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.PointRenderEventArgs.html#Syncfusion_Blazor_Charts_PointRenderEventArgs_CornerRadius) property in its event argument. @@ -513,7 +513,7 @@ Customize the corner radius for individual points in the chart series using the } } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rjrxNxMHLwcRTQWv?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Stacked column chart with corner radius using OnPointRender event](../images/chart-types-images/blazor-stacked-column-chart-corner-radius-onPointRender.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VXBIZpjfKYcxqQNe?appbar=true&editor=true&result=true&errorlist=true&theme=bootstrap5" backgroundimage "[Blazor Stacked column chart with corner radius using OnPointRender event](../images/chart-types-images/blazor-stacked-column-chart-corner-radius-onPointRender.webp)" %} ## Stacking group @@ -559,7 +559,7 @@ The [StackingGroup](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Char } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VXLHXRMdVwwOMgjM?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rjrqWBhRJHPHyIOf?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Empty points @@ -614,7 +614,7 @@ Use the [`Mode`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VDLHNdiHLcFgnkiu?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VNrJZOMgpnLtYgjH?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Fill** @@ -665,7 +665,7 @@ Use the [`Fill`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LZVnNRiRrmaiBKwd?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BNLpjYMqTRAYWJsJ?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Border** @@ -718,7 +718,7 @@ Use the [`Border`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Chart } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BNVnNHCxVcEGZVie?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LXrJXaMqTnowQIMp?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Stack labels @@ -787,7 +787,7 @@ The [Visible](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.Cha }; } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BthHjHsxVlDLeRlv?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LZBSjRhHzLworgii?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ### Customization @@ -884,7 +884,7 @@ Customize the border of the stack labels using the [ChartStackLabelBorder](https }; } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rjVxDnMdLPjYWRUo?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hZLStxVnzLkSWnhh?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Events @@ -955,7 +955,7 @@ The [`OnSeriesRender`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.C } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VjLnjxWdBvMKXGzD?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BtLTtEiqTnvuoeLx?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ### Point render @@ -1002,9 +1002,9 @@ The [`OnPointRender`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Ch } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LZVntHsxhvqGYcWY?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hthzDuMqfmTHohdi?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} -N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=fluent2) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. +N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=bootstrap5) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. ## See also diff --git a/chart-sdk/blazor/charts/chart-types/stacked-line.md b/chart-sdk/blazor/charts/chart-types/stacked-line.md index 230e36f39..d8e805fb3 100644 --- a/chart-sdk/blazor/charts/chart-types/stacked-line.md +++ b/chart-sdk/blazor/charts/chart-types/stacked-line.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Stacked Line Chart Examples and Documentation | Syncfusion® -description: Learn how to create Blazor Stacked Line Charts using Syncfusion. Compare each series contribution to the total over time by stacking lines. -platform: Blazor -control: Charts +title: Stacked Line Chart in Blazor Charts Component | Syncfusion® +description: Checkout and learn here all the features about Stacked Line Chart in Blazor Charts component and much more. +platform: chart-sdk +control: Chart documentation: ug --- -# Stacked Line Chart in Blazor +# Stacked Line Chart in Blazor Charts Component ## Stacked Line @@ -80,9 +80,9 @@ documentation: ug } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VNLxDniHhbeBoddc?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Stacked Line Chart](../images/chart-types-images/blazor-stacked-line-chart.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VXBzNOsLpWPFqTrE?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Stacked Line Chart](../images/chart-types-images/blazor-stacked-line-chart.webp)" %} -N> Refer to the [Blazor Stacked Line Chart](https://www.syncfusion.com/blazor-components/blazor-charts/chart-types/stacked-line-chart) feature tour page to know about its other groundbreaking feature representations. Explore the [Blazor Stacked Line Chart Example](https://blazor.syncfusion.com/demos/chart/stacked-line?theme=fluent2) to know how to render and configure the Stacked Line type chart. +N> Refer to the [Blazor Stacked Line Chart](https://www.syncfusion.com/blazor-components/blazor-charts/chart-types/stacked-line-chart) feature tour page to know about its other groundbreaking feature representations. Explore the [Blazor Stacked Line Chart Example](https://blazor.syncfusion.com/demos/chart/stacked-line?theme=bootstrap5) to know how to render and configure the Stacked Line type chart. ## Binding data with series @@ -155,7 +155,7 @@ You can bind data to the chart using the [`DataSource`](https://help.syncfusion. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hNrHZHiHVPSevmcX?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hNVKsVhdBSeqWaEP?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Series customization @@ -232,7 +232,7 @@ The [Fill](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartS } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LNhnXxWnhFoPdzAF?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hXrJNEiRhFnJvxNW?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} The [Fill](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartSeries.html#Syncfusion_Blazor_Charts_ChartSeries_Fill) property can be used to apply a gradient color to the stacked line series. By configuring this property with gradient values, you can create a visually appealing effect in which the color transitions smoothly from one shade to another. @@ -315,7 +315,7 @@ The [Fill](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartS }; } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VNLHtHiRLPdhlGhx?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hNLTtbMnzCNKzmNV?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Opacity** @@ -384,7 +384,7 @@ The [Opacity](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.Cha ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VZLRjHMnBbdSyWld?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VXhTNFMxqTtCGpWO?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Width** @@ -458,7 +458,7 @@ The [Width](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.Chart ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LjLdNxWdBFHvUhLe?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rDVTtlCxKpUgqisy?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **DashArray** @@ -531,7 +531,7 @@ The [DashArray](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.C } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rjhHtRixLbwicomq?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BDBKWVLRBIeyYwAD?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Empty points @@ -595,7 +595,7 @@ Use the [`Mode`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VZhRZRsdLbmfbFBK?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VZVJXkiLJqXivjQB?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Fill** @@ -655,7 +655,7 @@ Use the [`Fill`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VtLHZHsxhlcmPolB?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LZrpXYWrpUVKeYvo?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Border** @@ -717,7 +717,7 @@ Use the [`Border`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Chart } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VNVnDnCHLlPNytJI?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BXLTNOMLJAgFYYbg?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Stack labels @@ -790,7 +790,7 @@ The [Visible](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.Cha } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hNVHtxsxBFbghAjq?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hNVStnhHpUjFzPHz?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ### Customization @@ -890,7 +890,7 @@ Customize the border of the stack labels using the [ChartStackLabelBorder](https }; } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rXVRtdixVFFHAmdP?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VthyDnhRpUCdUdvZ?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Events @@ -978,7 +978,7 @@ The [`OnSeriesRender`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.C } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hXhnZHWHhblkODPV?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rZVpNEiKARThPPAR?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ### Point render @@ -1049,9 +1049,9 @@ The [`OnPointRender`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Ch } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VDhxtHsdhluVucrT?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VtrzjuiqgdSSdptl?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} -N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=fluent2) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. +N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=bootstrap5) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. ## See also diff --git a/chart-sdk/blazor/charts/chart-types/step-area.md b/chart-sdk/blazor/charts/chart-types/step-area.md index 1b6c615db..feffde7c9 100644 --- a/chart-sdk/blazor/charts/chart-types/step-area.md +++ b/chart-sdk/blazor/charts/chart-types/step-area.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Step Area Chart Examples and Documentation | Syncfusion® -description: Learn how to create Blazor Step Area Charts using Syncfusion. Connect data points with vertical and horizontal lines to form a step pattern. -platform: Blazor -control: Charts +title: Step Area in Blazor Charts Component | Syncfusion® +description: Checkout and learn here all the features about Step Area Chart in Blazor Charts component and much more. +platform: chart-sdk +control: Chart documentation: ug --- -# Step Area Chart in Blazor +# Step Area in Blazor Charts Component ## Step Area @@ -47,9 +47,9 @@ documentation: ug } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hjrdjnixrYNIReGk?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Step Area Chart](../images/chart-types-images/blazor-step-area-chart.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LDhUsBhHTngrkaFC?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Step Area Chart](../images/chart-types-images/blazor-step-area-chart.webp)" %} -N> Refer to the [Blazor Step Area Chart](https://www.syncfusion.com/blazor-components/blazor-charts/chart-types/step-area-chart) feature tour page to know about its other groundbreaking feature representations. Explore the [Blazor Step Area Chart Example](https://blazor.syncfusion.com/demos/chart/step-area?theme=fluent2) to know how to render and configure the Step Area type chart. +N> Refer to the [Blazor Step Area Chart](https://www.syncfusion.com/blazor-components/blazor-charts/chart-types/step-area-chart) feature tour page to know about its other groundbreaking feature representations. Explore the [Blazor Step Area Chart Example](https://blazor.syncfusion.com/demos/chart/step-area?theme=bootstrap5) to know how to render and configure the Step Area type chart. ## Binding data with series @@ -89,7 +89,7 @@ You can bind data to the chart using the [`DataSource`](https://help.syncfusion. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VjLnZHinBaXwgvDs?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LDhUsBhHTngrkaFC?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Series customization @@ -133,7 +133,7 @@ The [Fill](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartS } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BZLxjninhYsthOhS?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hZBpjlCufmZYLVMX?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} The [Fill](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartSeries.html#Syncfusion_Blazor_Charts_ChartSeries_Fill) property can be used to apply a gradient color to the step area series. By configuring this property with gradient values, you can create a visually appealing effect in which the color transitions smoothly from one shade to another. @@ -180,7 +180,7 @@ The [Fill](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartS } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/htrRZxMdhOMUCFUq?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BjrztPMEzcTnzOXU?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Opacity** @@ -220,7 +220,7 @@ The [Opacity](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.Cha } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VZLdjdsRLusPRRgx?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BNrzXbMuTcIuVPvx?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **DashArray** @@ -260,7 +260,7 @@ The [DashArray](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.C } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VthHtxWnVEVhLtCi?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rXrgWhBxpxgIqdqw?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Series Border** @@ -300,7 +300,7 @@ The [ChartSeriesBorder](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BjLHXxMnVOLpRtAj?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rXrgWhBxpxgIqdqw?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Show Risers** @@ -402,7 +402,7 @@ Use the [`Mode`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LtrxtxCxVkVcBhUx?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VZBpNYiKqFybwcxy?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Fill** @@ -444,7 +444,7 @@ Use the [`Fill`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BjhRjRMnVEKigbJh?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LDBftkMqAPbZoJkr?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Border** @@ -488,7 +488,7 @@ Use the [`Border`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Chart } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LjBdZxCdVuKpIPRW?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BZBzXuMqKvEjAFVY?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Events @@ -536,7 +536,7 @@ The [`OnSeriesRender`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.C ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hjrRDdiHBOAmvwJi?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BZVfjbMEJFUSbqGV?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ### Point render @@ -582,9 +582,9 @@ The [`OnPointRender`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Ch } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rNLxXnWnruJjtkFK?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rNVfZaWgUFkdqzow?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} -N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=fluent2) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. +N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=bootstrap5) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. ## See also diff --git a/chart-sdk/blazor/charts/chart-types/step-line.md b/chart-sdk/blazor/charts/chart-types/step-line.md index a7c6f930e..0dea4a42d 100644 --- a/chart-sdk/blazor/charts/chart-types/step-line.md +++ b/chart-sdk/blazor/charts/chart-types/step-line.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Step Line Chart Examples and Documentation | Syncfusion® -description: Learn how to create Blazor Step Line Charts using Syncfusion. Connect data points with horizontal and vertical lines for a staircase effect. -platform: Blazor -control: Charts +title: Step Line Chart in Blazor Charts Component | Syncfusion® +description: Checkout and learn here all the features about Step Line Chart in Blazor Charts component and much more. +platform: chart-sdk +control: Chart documentation: ug --- -# Step Line Chart in Blazor +# Step Line Chart in Blazor Charts Component ## Step Line @@ -50,7 +50,7 @@ documentation: ug } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BNVHjnWRVuSNRAkE?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Step Line Chart](../images/chart-types-images/blazor-step-line-chart.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BjhfXairAFPdRAGd?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Step Line Chart](../images/chart-types-images/blazor-step-line-chart.webp)" %} ## Binding data with series @@ -93,7 +93,7 @@ You can bind data to the chart using the [`DataSource`](https://help.syncfusion. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BNVHjnWRVuSNRAkE?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BjhfXairAFPdRAGd?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Series customization @@ -140,7 +140,7 @@ The [Fill](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartS } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rNVdXxCRrkoSCkVO?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rDVpjuCrqYtgCBif?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} The [Fill](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartSeries.html#Syncfusion_Blazor_Charts_ChartSeries_Fill) property can be used to apply a gradient color to the step line series. By configuring this property with gradient values, you can create a visually appealing effect in which the color transitions smoothly from one shade to another. @@ -191,7 +191,7 @@ The [Fill](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartS ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BthRDRCdBkSwvSig?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/htrpjOihAOWsDTFn?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Opacity** @@ -234,7 +234,7 @@ The [Opacity](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.Cha } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hNhnjHWnVunXJkim?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VjLpDYMLKkBsvVyk?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **DashArray** @@ -277,7 +277,7 @@ The [DashArray](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.C } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VtVnDRWRhYHVbJGc?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BNrTNYiLgaqPetFV?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Width** @@ -320,7 +320,7 @@ The [Width](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.Chart } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rtrdNxCHhORyFOnN?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hDVJDOMBUOTGcVIW?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Empty points @@ -368,7 +368,7 @@ Use the [`Mode`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hjhxNdMxBuxlLIiA?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/htrzNYshAkHtHcQv?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Fill** @@ -413,7 +413,7 @@ Use the [`Fill`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hZLnDxsnVuQWpvBY?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rZBpXYMhKalMzpKq?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Border** @@ -460,7 +460,7 @@ Use the [`Border`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Chart } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BtBHtdidBEmdJCag?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VXLzXuMhUuuubOsL?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Events @@ -511,7 +511,7 @@ The [`OnSeriesRender`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.C } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VNVdNxMHrkmFeAWJ?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LDVJNaCBJNMRpLYb?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ### Point render @@ -561,9 +561,9 @@ The [`OnPointRender`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Ch } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BXhxjnsxralsgfmL?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VZBfZaCVfDghVyhV?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} -N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=fluent2) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. +N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=bootstrap5) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. ## See also diff --git a/chart-sdk/blazor/charts/chart-types/vertical-chart.md b/chart-sdk/blazor/charts/chart-types/vertical-chart.md index a16fc41de..cef284ffa 100644 --- a/chart-sdk/blazor/charts/chart-types/vertical-chart.md +++ b/chart-sdk/blazor/charts/chart-types/vertical-chart.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Vertical Chart Examples and Documentation | Syncfusion® -description: Learn how to render a Blazor Vertical Chart using Syncfusion. Swap X and Y axis orientation by setting SfChart IsTransposed to true. -platform: Blazor -control: Charts +title: Vertical Chart in Blazor Charts Component | Syncfusion® +description: Checkout and learn here all the features about the Vertical Chart in Blazor Charts component and much more. +platform: chart-sdk +control: Chart documentation: ug --- -# Vertical Chart in Blazor +# Vertical Chart in Blazor Charts Component ## Vertical chart @@ -44,7 +44,7 @@ One can draw a vertical chart by changing the axis orientation, and all series t } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hDLRZHMBeLsOkQPq?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Vertical Spline Chart](../images/othertypes/blazor-vertical-spline-chart.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VtrzXFhjSvWwRZBo?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Vertical Spline Chart](../images/othertypes/blazor-vertical-spline-chart.webp)" %} ## Binding data with series @@ -81,7 +81,7 @@ You can bind data to the chart using the [`DataSource`](https://help.syncfusion. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LjhdXxWBILVIDJEo?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VtrzXFhjSvWwRZBo?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Empty points @@ -124,7 +124,7 @@ Use the [`Mode`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BjrnDxsBIrhkxwft?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VjLTXvhXoPpvTSiM?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Fill** @@ -163,7 +163,7 @@ Use the [`Fill`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BjLxZxCVeLASSsbV?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rjBzDbhNyvnMrQhi?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Border** @@ -204,7 +204,7 @@ Use the [`Border`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Chart } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rthntnsheBftGcYJ?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/htBpXvrDyvQhZCyn?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Events @@ -249,7 +249,7 @@ The [`OnSeriesRender`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.C } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rZVHXRsBeLToFsUO?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rNLTDFLZSllvdqCl?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ### Point render @@ -293,9 +293,9 @@ The [`OnPointRender`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Ch } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VtVdXxsrSrpbyEKM?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LXrztlLNoFEcaytl?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} -N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=fluent2) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. +N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=bootstrap5) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. ## See also diff --git a/chart-sdk/blazor/charts/chart-types/waterfall.md b/chart-sdk/blazor/charts/chart-types/waterfall.md index 8514578f4..aa766cd47 100644 --- a/chart-sdk/blazor/charts/chart-types/waterfall.md +++ b/chart-sdk/blazor/charts/chart-types/waterfall.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Waterfall Chart Examples and Documentation | Syncfusion® -description: Learn how to create Blazor Waterfall Charts using Syncfusion. Show the cumulative effect of sequential positive and negative values. -platform: Blazor -control: Charts +title: Waterfall in Blazor Charts Component | Syncfusion® +description: Checkout and learn here all the features about Waterfall Chart in Blazor Charts component and much more. +platform: chart-sdk +control: Chart documentation: ug --- -# Waterfall Chart in Blazor +# Waterfall in Blazor Charts Component ## Waterfall @@ -52,9 +52,9 @@ documentation: ug } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LZhRDHCLysdCeIuP?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Waterfall Chart](../images/othertypes/blazor-waterfall-chart.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BNhzNbVjepXCmPUR?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Waterfall Chart](../images/othertypes/blazor-waterfall-chart.webp)" %} -N> Explore the [Blazor Waterfall Chart Example](https://blazor.syncfusion.com/demos/chart/waterfall?theme=fluent2) to know how to render and configure the Waterfall type chart. +N> Explore the [Blazor Waterfall Chart Example](https://blazor.syncfusion.com/demos/chart/waterfall?theme=bootstrap5) to know how to render and configure the Waterfall type chart. ## Binding data with series @@ -99,7 +99,7 @@ You can bind data to the chart using the [`DataSource`](https://help.syncfusion. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rDBdZxWLIsnSbonu?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BNhzNbVjepXCmPUR?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Series customization @@ -145,7 +145,7 @@ The negative changes of waterfall charts are represented by using [NegativeFillC ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/htrxjHMLSMwZKzGF?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LjhTtuiqSypahHvu?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ### Corner radius @@ -189,7 +189,7 @@ The [ChartCornerRadius](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LjhdtxsBoiwxaGyi?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Waterfall Chart with corner radius](../images/chart-types-images/blazor-waterfall-chart-corner-radius.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VXBINztpgOESJjZh?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Waterfall Chart with corner radius](../images/chart-types-images/blazor-waterfall-chart-corner-radius.webp)" %} Customize the corner radius for individual points in the chart series using the [OnPointRender](https://blazor.syncfusion.com/documentation/chart/events#onpointrender) event by utilizing the [CornerRadius](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.PointRenderEventArgs.html#Syncfusion_Blazor_Charts_PointRenderEventArgs_CornerRadius) property in its event argument. @@ -242,7 +242,7 @@ Customize the corner radius for individual points in the chart series using the } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hjBdXRsLoCFTkiLm?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Waterfall Chart with corner radius using OnPointRender event](../images/chart-types-images/blazor-waterfall-chart-corner-radius-onPointRender.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VtrSZfDfpXVcpRWL?appbar=true&editor=true&result=true&errorlist=true&theme=bootstrap5" backgroundimage "[Blazor Waterfall Chart with corner radius using OnPointRender event](../images/chart-types-images/blazor-waterfall-chart-corner-radius-onPointRender.webp)" %} ## Empty points @@ -292,7 +292,7 @@ Use the [`Mode`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LthnZHCreWkCTHcl?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hDhptlBXopnVPtmr?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Fill** @@ -338,7 +338,7 @@ Use the [`Fill`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hZVnNHCrIMaylXLp?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LDLTXlVNSzGeHAIC?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Border** @@ -386,7 +386,7 @@ Use the [`Border`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Chart } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LjLHXRMhSVNijbaN?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rtrJNvBZIJlcWPCQ?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Events @@ -439,7 +439,7 @@ The [`OnSeriesRender`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.C } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VNrdDdsVyhZRSkVt?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rjhpZvrtIHLqzmYX?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ### Point render @@ -490,9 +490,9 @@ The [`OnPointRender`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Ch } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VjBnXnMLeBWgBnvV?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BDVJtbVtIdfizCZu?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} -N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=fluent2) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. +N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=bootstrap5) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. ## See also diff --git a/chart-sdk/blazor/charts/cross-hair-and-track-ball.md b/chart-sdk/blazor/charts/cross-hair-and-track-ball.md index 98976f1b5..ae08c421c 100644 --- a/chart-sdk/blazor/charts/cross-hair-and-track-ball.md +++ b/chart-sdk/blazor/charts/cross-hair-and-track-ball.md @@ -1,17 +1,17 @@ --- layout: post -title: Blazor Charts Crosshair and Trackball | Syncfusion® -description: Learn how to enable crosshair and trackball in Syncfusion Blazor Charts. Inspect data points with a tooltip on mouse move or touch. -platform: Blazor -control: Charts +title: Crosshair and Trackball in Blazor Charts Component | Syncfusion® +description: Checkout and learn here all the features about Crosshair and Trackball in Blazor Charts component and much more. +platform: chart-sdk +control: Chart documentation: ug --- -# Blazor Charts Crosshair and Trackball +# Crosshair and Trackball in Blazor Charts Component Inspect or target any data point on mouse move or touch with the help of crosshair. A thin horizontal line and vertical line indicate the data point with the information displayed in an interactive tooltip. The crosshair can be enabled using the [Enable](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartCrosshairSettings.html#Syncfusion_Blazor_Charts_ChartCrosshairSettings_Enable) property in the [ChartCrosshairSettings](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartCrosshairSettings.html). -A detailed walkthrough demonstrating how to enable and customize the crosshair and trackball in [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) is presented in the video below +A detailed walkthrough demonstrating how to enable and customize the crosshair and trackball in Blazor charts is presented in the video below {% youtube "youtube:https://www.youtube.com/watch?v=ASrWXJh0khI" %} @@ -274,9 +274,9 @@ The [HighlightCategory](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor. ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hNrHNxWheMMTwPXL?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Crosshair in Blazor Line Chart with highlight background](images/crosshair/blazor-line-chart-with-highlight-background-trackball.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LNBIjJjJztIfQRsg?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Crosshair in Blazor Line Chart with highlight background](images/crosshair/blazor-line-chart-with-highlight-background-trackball.webp)" %} -N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=fluent2) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. +N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=bootstrap5) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. ## See also diff --git a/chart-sdk/blazor/charts/data-editing.md b/chart-sdk/blazor/charts/data-editing.md index 58fcf567a..90fdf2f29 100644 --- a/chart-sdk/blazor/charts/data-editing.md +++ b/chart-sdk/blazor/charts/data-editing.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Charts Data Editing Examples | Syncfusion® -description: Learn how to enable drag-and-drop data editing in Syncfusion Blazor Charts. Set ChartDataEditSettings Enable to true with MinY, MaxY, and Fill. -platform: Blazor -control: Charts +title: Data Editing in Blazor Charts Component | Syncfusion® +description: Checkout and learn here all the features about the Data Editing in Blazor Charts component and much more. +platform: chart-sdk +control: Chart documentation: ug --- -# Blazor Charts Data Editing +# Data Editing in Blazor Charts Component Data editing allows rendered data points to be dragged and dropped at run time. The position or value of a point can be adjusted based on its y‑value. To enable data editing, set the [Enable](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartDataEditSettings.html#Syncfusion_Blazor_Charts_ChartDataEditSettings_Enable) property in the [ChartDataEditSettings](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartSeries.html#Syncfusion_Blazor_Charts_ChartSeries_ChartDataEditSettings) to **true**. Use the [Fill](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartDataEditSettings.html#Syncfusion_Blazor_Charts_ChartDataEditSettings_Fill) property to specify the edited point color, and the [MinY](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartDataEditSettings.html#Syncfusion_Blazor_Charts_ChartDataEditSettings_MinY) and [MaxY](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartDataEditSettings.html#Syncfusion_Blazor_Charts_ChartDataEditSettings_MaxY) properties to determine data editing's minimum and maximum range. @@ -71,7 +71,7 @@ Data editing allows rendered data points to be dragged and dropped at run time. ![Data Editing in Blazor Chart](images/data-editing/blazor-chart-data-editing.webp) -N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=fluent2) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. +N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=bootstrap5) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. ## See Also diff --git a/chart-sdk/blazor/charts/data-label-template.md b/chart-sdk/blazor/charts/data-label-template.md index b34daa63f..b997ec1bd 100644 --- a/chart-sdk/blazor/charts/data-label-template.md +++ b/chart-sdk/blazor/charts/data-label-template.md @@ -1,15 +1,15 @@ --- layout: post -title: Blazor Charts Data Label Template Examples | Syncfusion® -description: Learn how to customize data labels in Syncfusion Blazor Charts. Use a Template that casts context to ChartDataPointInfo for inline values. -platform: Blazor -control: Charts +title: Datalabel Template in Blazor Charts Component | Syncfusion® +description: Checkout and learn here all the features about the Datalabel Template in Blazor Charts component and much more. +platform: chart-sdk +control: Chart documentation: ug --- -# Blazor Charts Data Label Template +# Datalabel Template in Blazor Charts Component Text and interior information for a point can be bound from a datasource other than the x and y values. The implicit named parameter context can be used to access the aggregate values within the [Template](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartDataLabel.html#Syncfusion_Blazor_Charts_ChartDataLabel_Template). To retrieve aggregate values inside the template, type cast the context as [ChartDataPointInfo](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartDataPointInfo.html). The context attribute can also be used to modify the name of this implicit parameter. For example, the data label information can be accessed using context in the template as shown below. @@ -76,4 +76,4 @@ Text and interior information for a point can be bound from a datasource other t ![Blazor Chart Label with Template](images/data-label/blazor-chart-label-template.webp) -N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=fluent2) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. +N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=bootstrap5) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. diff --git a/chart-sdk/blazor/charts/data-labels.md b/chart-sdk/blazor/charts/data-labels.md index 3c1ff7096..d96004382 100644 --- a/chart-sdk/blazor/charts/data-labels.md +++ b/chart-sdk/blazor/charts/data-labels.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Charts Data Labels Examples | Syncfusion® -description: Learn how to show data labels on Syncfusion Blazor Charts. Enable ChartDataLabel Visible to display point values with auto-arrange. -platform: Blazor -control: Charts +title: Data Labels in Blazor Charts Component | Syncfusion® +description: Checkout and learn here all the features about the Data Labels in Blazor Charts component and much more. +platform: chart-sdk +control: Chart documentation: ug --- -# Blazor Charts Data Labels +# Data Labels in Blazor Charts Component [Data label](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartDataLabel.html) can be added to a [ChartSeries](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartSeries.html) by enabling the [Visible](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartDataLabel.html#Syncfusion_Blazor_Charts_ChartDataLabel_Visible) option in the data label settings. By default, the labels will organize themselves intelligently without overlapping. @@ -263,7 +263,7 @@ Data label can be customized using [Fill](https://help.syncfusion.com/cr/blazor/ ![Blazor Chart with Custom Label](images/data-label/blazor-chart-custom-label.webp) -N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=fluent2) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. +N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=bootstrap5) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. ## See also diff --git a/chart-sdk/blazor/charts/data-markers.md b/chart-sdk/blazor/charts/data-markers.md index c532994ab..3423bb3cb 100644 --- a/chart-sdk/blazor/charts/data-markers.md +++ b/chart-sdk/blazor/charts/data-markers.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Charts Data Markers Examples | Syncfusion® -description: Learn how to add data markers in Syncfusion Blazor Charts. Enable ChartMarker Visible to adorn each point with circle, square, or other shapes. -platform: Blazor -control: Charts +title: Markers in Blazor Charts Component | Syncfusion® +description: Checkout and learn here all the features about the available Markers in Blazor Charts component and much more. +platform: chart-sdk +control: Chart documentation: ug --- -# Blazor Charts Data Markers +# Markers in Blazor Charts Component [Data markers](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartCommonMarker.html) are used to provide information about the data points in a series. Each data point can be adorned with a shape. @@ -278,7 +278,7 @@ Markers color can be customized using [Fill](https://help.syncfusion.com/cr/blaz ![Blazor Line Chart with Custom Markers](images/marker/blazor-line-chart-custom-marker.webp) -N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=fluent2) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. +N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=bootstrap5) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. ## See also diff --git a/chart-sdk/blazor/charts/date-time-axis.md b/chart-sdk/blazor/charts/date-time-axis.md index 719e2873c..3c192465c 100644 --- a/chart-sdk/blazor/charts/date-time-axis.md +++ b/chart-sdk/blazor/charts/date-time-axis.md @@ -1,15 +1,15 @@ --- layout: post -title: Blazor Charts DateTime Axis Examples | Syncfusion® -description: Learn how to use the DateTime axis in Syncfusion Blazor Charts. Plot date-time values with a configurable label format such as yyyy or MMM. -platform: Blazor -control: Charts +title: DateTime Axis in Blazor Charts Component | Syncfusion® +description: Checkout and learn here all the features about DateTime Axis in Blazor Charts component and much more. +platform: chart-sdk +control: Chart documentation: ug --- -# Blazor Charts DateTime Axis +# DateTime Axis in Blazor Charts Component ## DateTime axis @@ -50,7 +50,7 @@ A detailed walkthrough for customizing the dateTime axis is provided in the vide } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hZhxDnCrJWRuHHpe?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Chart with DateTime Axis](images/datetime/blazor-line-chart-datetime-axis.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rXBAMLVBfMpwmDHF?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Chart with DateTime Axis](images/datetime/blazor-line-chart-datetime-axis.webp)" %} ## DateTime category axis @@ -87,7 +87,7 @@ The [DateTime Category](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VXhHjHsLfiGqdHKu?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Line Chart with DateTime Axis](images/datetime/blazor-line-chart-with-datetime-axis.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VjLAWVVVTCIjNxnP?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Line Chart with DateTime Axis](images/datetime/blazor-line-chart-with-datetime-axis.webp)" %} ### Range @@ -127,7 +127,7 @@ The axis range will be calculated automatically based on the provided data; howe } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rjhdZRMBTiwvqqLh?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Changing Blazor Line Chart DateTime Axis based on Range](images/datetime/blazor-line-chart-axis-based-on-range.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BZrUirVVpWyKBAAB?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Changing Blazor Line Chart DateTime Axis based on Range](images/datetime/blazor-line-chart-axis-based-on-range.webp)" %} ### Interval customization @@ -176,7 +176,7 @@ The [Interval](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.Ch } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VNVxNdMLfWvMcOcG?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Changing Blazor Line Chart DateTime Axis based on Interval](images/datetime/blazor-line-chart-axis-based-on-interval.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/htVgCLLrTWoQFSbR?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Changing Blazor Line Chart DateTime Axis based on Interval](images/datetime/blazor-line-chart-axis-based-on-interval.webp)" %} **Applying padding to the Range** @@ -221,7 +221,7 @@ When the [RangePadding](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VXhRjHiBzMFGgGhA?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Line Chart without RangePadding](images/datetime/blazor-line-chart-axis-based-on-range.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LXVnZLXqBdqfnaMB?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Line Chart without RangePadding](images/datetime/blazor-line-chart-axis-based-on-range.webp)" %} **DateTime - Round** @@ -258,7 +258,7 @@ When the [RangePadding](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VXVntxMLJVYeODlE?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rZBnZLZKrRHJgzgq?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **DateTime - Additional** @@ -294,7 +294,7 @@ When the [RangePadding](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BjLdXdirJqDBndTw?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LNLRZVjUBdFmrpNy?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Label format @@ -329,7 +329,7 @@ Using the [LabelFormat](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hDVntnMLpqjGHWfF?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Axis Label Formatting in Blazor Line Chart](images/datetime/blazor-line-chart-axis-label-format.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hDhdXhNgLdCIhTrD?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Axis Label Formatting in Blazor Line Chart](images/datetime/blazor-line-chart-axis-label-format.webp)" %} The table below shows the results of applying various popular date and time formats to the [LabelFormat](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartAxis.html#Syncfusion_Blazor_Charts_ChartAxis_LabelFormat) property. @@ -376,7 +376,7 @@ The table below shows the results of applying various popular date and time form -N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=fluent2) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. +N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=bootstrap5) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. ## See also diff --git a/chart-sdk/blazor/charts/events.md b/chart-sdk/blazor/charts/events.md index 5fff7c883..b75a5b9d6 100644 --- a/chart-sdk/blazor/charts/events.md +++ b/chart-sdk/blazor/charts/events.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Charts Events Examples and Reference | Syncfusion® -description: Learn how to subscribe to Syncfusion Blazor Charts events. Use ChartEvents for OnZoomStart, OnZoomEnd, OnDataLabelRender, and OnPointRender. -platform: Blazor -control: Charts +title: Events in Blazor Charts Component | Syncfusion® +description: Checkout and learn here all the features about the Events usage in Blazor Charts component and much more. +platform: chart-sdk +control: Chart documentation: ug --- -# Blazor Charts Events +# Events in Blazor Charts Component This section provides a list of chart component events that are triggered by corresponding chart actions. @@ -1547,4 +1547,4 @@ The following properties are available in the [SharedTooltipRenderEventArgs](htt ``` -N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=fluent2) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. +N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=bootstrap5) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. diff --git a/chart-sdk/blazor/charts/getting-started-wasm.md b/chart-sdk/blazor/charts/getting-started-wasm.md index b774b418f..7fa5219f6 100644 --- a/chart-sdk/blazor/charts/getting-started-wasm.md +++ b/chart-sdk/blazor/charts/getting-started-wasm.md @@ -1,121 +1,112 @@ --- layout: post -title: Getting Started with Blazor Charts in WASM App | Syncfusion® -description: Learn how to get started with Syncfusion Blazor Charts in a Blazor WebAssembly standalone app. Explore setup, packages, and first chart example. -platform: Blazor -control: Charts +title: Getting Started with Blazor Chart Component | Syncfusion® +description: Checkout and learn about getting started with Blazor Charts in Blazor WebAssembly (WASM) App using Visual Studio and more. +platform: chart-sdk +control: Chart documentation: ug --- -# Getting Started with Blazor Charts in WASM App +# Getting Started with Blazor Chart Component in Blazor WASM App -This section briefly explains how to include the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) component in a Blazor WebAssembly App using [Visual Studio](https://visualstudio.microsoft.com/vs/), [Visual Studio Code](https://code.visualstudio.com/), and the [.NET CLI](https://learn.microsoft.com/en-us/dotnet/core/tools/). +This section briefly explains how to include [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) component in a Blazor WebAssembly App using [Visual Studio](https://visualstudio.microsoft.com/vs/), [Visual Studio Code](https://code.visualstudio.com/), and the [.NET CLI](https://learn.microsoft.com/en-us/dotnet/core/tools/). -> **Ready to streamline your Blazor development?**
      Discover the full potential of Blazor components with AI Coding Assistants. Effortlessly integrate, configure, and enhance your projects with intelligent, context-aware code suggestions, streamlined setups, and real-time insights—all seamlessly integrated into your preferred AI-powered IDEs like VS Code, Cursor, Code Studio and more. [Explore AI Coding Assistants](https://blazor.syncfusion.com/documentation/ai-coding-assistant/overview) - -## Create a new Blazor WebAssembly (Standalone) App +> **Ready to streamline your Blazor development?**
      Discover the full potential of Blazor components with AI Coding Assistants. Effortlessly integrate, configure, and enhance your projects with intelligent, context-aware code suggestions, streamlined setups, and real-time insights—all seamlessly integrated into your preferred AI-powered IDEs like VS Code, Cursor, CodeStudio and more. [Explore AI Coding Assistants](https://blazor.syncfusion.com/documentation/ai-coding-assistant/overview) {% tabcontents %} {% tabcontent Visual Studio %} -Create a **Blazor WebAssembly App** using Visual Studio via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vs) or the [Syncfusion® Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-integration/template-studio). +## Prerequisites -{% endtabcontent %} +* [System requirements for Blazor components](https://blazor.syncfusion.com/documentation/system-requirements) -{% tabcontent Visual Studio Code %} +## Create a new Blazor App in Visual Studio -Run the following command to create a new Blazor WebAssembly App. +Create a **Blazor WebAssembly App** using Visual Studio via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vs) or the [Syncfusion® Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-integration/template-studio). For detailed instructions, refer to the [Blazor WASM App Getting Started](https://blazor.syncfusion.com/documentation/getting-started/blazor-webassembly-app) documentation. -{% tabs %} -{% highlight razor tabtitle="Terminal" %} +{% endtabcontent %} -dotnet new blazorwasm -o BlazorApp -cd BlazorApp +{% tabcontent Visual Studio Code %} -{% endhighlight %} -{% endtabs %} +## Prerequisites -Alternatively, create a **Blazor WebAssembly App** using Visual Studio Code via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vsc) or the [Syncfusion® Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-code-integration/create-project), or the [C# Dev Kit](https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csdevkit) extension. +* [System requirements for Blazor components](https://blazor.syncfusion.com/documentation/system-requirements) -{% endtabcontent %} +## Create a new Blazor App in Visual Studio Code -{% tabcontent .NET CLI %} +Create a **Blazor WebAssembly App** using Visual Studio Code via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vsc) or the [Syncfusion® Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-code-integration/create-project). For detailed instructions, refer to the [Blazor WASM App Getting Started](https://blazor.syncfusion.com/documentation/getting-started/blazor-webassembly-app?tabcontent=visual-studio-code) documentation. -Run the following command to create a new Blazor WebAssembly App. +Alternatively, create a WebAssembly application by using the following command in the integrated terminal (Ctrl+`). {% tabs %} -{% highlight razor tabtitle="Command Prompt" %} + +{% highlight c# tabtitle="Blazor WASM App" %} dotnet new blazorwasm -o BlazorApp cd BlazorApp {% endhighlight %} + {% endtabs %} {% endtabcontent %} -{% endtabcontents %} - -## Install the required Blazor package - -Install the [Syncfusion.Blazor.Charts](https://www.nuget.org/packages/Syncfusion.Blazor.Charts/) NuGet package. All Syncfusion Blazor packages are available on [nuget.org](https://www.nuget.org/packages?q=syncfusion.blazor). See the [NuGet packages](https://blazor.syncfusion.com/documentation/nuget-packages) topic for details. - -{% tabcontents %} - -{% tabcontent Visual Studio %} +{% tabcontent .NET CLI %} -1. Go to *Tools → NuGet Package Manager → Manage NuGet Packages for Solution*. -2. Search the required NuGet package (`Syncfusion.Blazor.Charts`) and install it. +## Prerequisites -Alternatively, you can install the package using the Package Manager Console with the following command. +Install the latest version of [.NET SDK](https://dotnet.microsoft.com/en-us/download). If the .NET SDK is already installed, determine the installed version by running the following command in a command prompt (Windows), terminal (macOS), or command shell (Linux). {% tabs %} -{% highlight razor tabtitle="Package Manager Console" %} +{% highlight c# tabtitle=".NET CLI" %} -Install-Package Syncfusion.Blazor.Charts -Version {{ site.releaseversion }} +dotnet --version {% endhighlight %} {% endtabs %} -{% endtabcontent %} - -{% tabcontent Visual Studio Code %} +## Create a Blazor WebAssembly App using .NET CLI -Open the terminal and run the following command. +Run the following command to create a new Blazor WebAssembly App in a command prompt (Windows) or terminal (macOS) or command shell (Linux). For detailed instructions, refer to the [Blazor WASM App Getting Started](https://blazor.syncfusion.com/documentation/getting-started/blazor-webassembly-app?tabcontent=.net-cli) documentation. {% tabs %} -{% highlight razor tabtitle="Terminal" %} +{% highlight c# tabtitle=".NET CLI" %} -dotnet add package Syncfusion.Blazor.Charts -v {{ site.releaseversion }} +dotnet new blazorwasm -o BlazorApp +cd BlazorApp {% endhighlight %} {% endtabs %} {% endtabcontent %} -{% tabcontent .NET CLI %} +{% endtabcontents %} + +## Install required Blazor packages + +Install the [Syncfusion.Blazor.Charts](https://www.nuget.org/packages/Syncfusion.Blazor.Charts/) NuGet package in your project using the NuGet Package Manager in Visual Studio (*Tools → NuGet Package Manager → Manage NuGet Packages for Solution*), or the integrated terminal in Visual Studio Code (dotnet add package Syncfusion.Blazor.Charts --version {{ site.releaseversion }}), or the .NET CLI. -Open the command prompt and run the following command. +Alternatively, run the following commands in the Package Manager Console to achieve the same. {% tabs %} -{% highlight razor tabtitle="Command Prompt" %} +{% highlight C# tabtitle="Package Manager" %} -dotnet add package Syncfusion.Blazor.Charts -v {{ site.releaseversion }} +Install-Package Syncfusion.Blazor.Charts -Version {{ site.releaseversion }} {% endhighlight %} {% endtabs %} -{% endtabcontent %} - -{% endtabcontents %} +N> All Syncfusion Blazor packages are available on [nuget.org](https://www.nuget.org/packages?q=syncfusion.blazor). See the [NuGet packages](https://blazor.syncfusion.com/documentation/nuget-packages) topic for details. ## Add import namespaces After the package is installed, open the **~/_Imports.razor** file and import the `Syncfusion.Blazor` and `Syncfusion.Blazor.Charts` namespaces. +N> The `~/` notation represents the root directory of your project. This file is typically located in your project's root folder. + {% tabs %} {% highlight razor tabtitle="~/_Imports.razor" %} @@ -125,38 +116,42 @@ After the package is installed, open the **~/_Imports.razor** file and import th {% endhighlight %} {% endtabs %} -## Register the Blazor service +## Register Blazor service -Open the **Program.cs** file in Blazor WebAssembly App and register the Blazor service and include the required namespace reference `using Syncfusion.Blazor;` at the top. +Register the Blazor service in the **Program.cs** file of your Blazor WebAssembly App. This step enables the Blazor components to work in your application. {% tabs %} {% highlight C# tabtitle="Program.cs" %} +.... +using Syncfusion.Blazor; +.... builder.Services.AddSyncfusionBlazor(); +.... {% endhighlight %} {% endtabs %} -## Add script resource +## Add script resources -Include the required [script references](https://blazor.syncfusion.com/documentation/common/adding-script-references) at the end of the `` section in the **~wwwroot/index.html** file to enable Charts functionality. +The JavaScript library needs to be included in your application. The script can be accessed from NuGet through [Static Web Assets](https://blazor.syncfusion.com/documentation/common/adding-script-references#static-web-assets). Include the script reference in the **~/index.html** file (this is the main HTML entry point of your WebAssembly application). -{% tabs %} -{% highlight html tabtitle="index.html" %} +```html -{% endhighlight %} -{% endtabs %} +``` + +N> Check out the [Adding Script Reference](https://blazor.syncfusion.com/documentation/common/adding-script-references) topic to learn different approaches for adding script references in the Blazor application. -## Add Blazor Charts component +## Add Blazor Chart component -Open a Razor file located in the **~/Pages/*.razor** (for example, **Home.razor**) and add the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) component inside the razor file. +Add the Blazor Chart component in the **~/Pages/Home.razor** file. {% tabs %} {% highlight razor tabtitle="Home.razor" %} -@* SfChart is the root container component for the chart *@ + @@ -164,51 +159,13 @@ Open a Razor file located in the **~/Pages/*.razor** (for example, **Home.razor* {% endhighlight %} {% endtabs %} -## Run the application - -{% tabcontents %} - -{% tabcontent Visual Studio %} - -Press Ctrl+F5 (Windows) or +F5 (macOS) to launch the application. The [Blazor Charts component](https://www.syncfusion.com/blazor-components/blazor-charts) will render in your default web browser. - -{% endtabcontent %} - -{% tabcontent Visual Studio Code %} - -Open the terminal and run the following command. - -{% tabs %} -{% highlight razor tabtitle="Terminal" %} - -dotnet run - -{% endhighlight %} -{% endtabs %} - -{% endtabcontent %} - -{% tabcontent .NET CLI %} - -Open the command prompt and run the following command. - -{% tabs %} -{% highlight razor tabtitle="Command Prompt" %} - -dotnet run - -{% endhighlight %} -{% endtabs %} - -{% endtabcontent %} - -{% endtabcontents %} +* Press Ctrl+F5 (Windows) or +F5 (macOS) to launch the application. This will render the Blazor Chart component in the default web browser. -{% previewsample "https://blazorplayground.syncfusion.com/embed/hNBRjRiBKleQGqKo?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Chart Component](images/getting-started/blazor-chart.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rZLzNsLepwXKBvNw?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Chart Component](images/getting-started/blazor-chart.webp)" %} -## Populate Blazor Charts with data +## Populate Blazor chart with data -To bind data for the Blazor charts component, you can assign an IEnumerable object to the [DataSource](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartSeries.html#Syncfusion_Blazor_Charts_ChartSeries_DataSource) property. It can also be provided as an instance of the [DataManager](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.DataManager.html). +To bind data for the chart component, you can assign an IEnumerable object to the [DataSource](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartSeries.html#Syncfusion_Blazor_Charts_ChartSeries_DataSource) property. It can also be provided as an instance of the [DataManager](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.DataManager.html). Map the data fields `Month` and `SalesValue` to the series [XName](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartSeries.html#Syncfusion_Blazor_Charts_ChartSeries_XName) and [YName](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartSeries.html#Syncfusion_Blazor_Charts_ChartSeries_YName) properties, then set the data to the [DataSource](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartSeries.html#Syncfusion_Blazor_Charts_ChartSeries_DataSource) property, and the [chart type](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartSeries.html#Syncfusion_Blazor_Charts_ChartSeries_Type) to **Column** because we will be viewing the data in a column chart. @@ -228,12 +185,11 @@ Map the data fields `Month` and `SalesValue` to the series [XName](https://help. -@code -{ +@code { public class SalesInfo { - public string Month { get; set; } - public double SalesValue { get; set; } + public string Month { get; set;} + public double SalesValue { get; set;} } public List Sales = new List @@ -251,12 +207,12 @@ Map the data fields `Month` and `SalesValue` to the series [XName](https://help. {% endhighlight %} {% endtabs %} -{% previewsample "https://blazorplayground.syncfusion.com/embed/BjrRZdMVgPGhfPSi?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Column Chart](images/getting-started/blazor-chart-column.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rtBTNiLezckHqsGf?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Column Chart](images/getting-started/blazor-chart-column.webp)" %} -N> [View Sample in GitHub](https://github.com/SyncfusionExamples/Blazor-Getting-Started-Examples/tree/main/Chart). +N> [View Sample in GitHub](https://github.com/SyncfusionExamples/Blazor-Getting-Started-Examples/tree/main/Chart) ## See also -1. [Getting Started with Blazor for Client-Side in .NET Core CLI](https://blazor.syncfusion.com/documentation/getting-started/blazor-webassembly-app) -2. [Getting Started with Blazor for Server-Side in Visual Studio](https://blazor.syncfusion.com/documentation/getting-started/blazor-web-app) -3. [Getting Started with Blazor for Server-Side in .NET Core CLI](https://blazor.syncfusion.com/documentation/getting-started/blazor-web-app) +* [Getting Started with Blazor for Client-Side in .NET Core CLI](https://blazor.syncfusion.com/documentation/getting-started/blazor-webassembly-app) +* [Getting Started with Blazor for Server-Side in Visual Studio](https://blazor.syncfusion.com/documentation/getting-started/blazor-web-app) +* [Getting Started with Blazor for Server-Side in .NET Core CLI](https://blazor.syncfusion.com/documentation/getting-started/blazor-web-app) diff --git a/chart-sdk/blazor/charts/getting-started-with-maui-app.md b/chart-sdk/blazor/charts/getting-started-with-maui-app.md index e3c1359c4..17aca17a6 100644 --- a/chart-sdk/blazor/charts/getting-started-with-maui-app.md +++ b/chart-sdk/blazor/charts/getting-started-with-maui-app.md @@ -1,49 +1,46 @@ --- layout: post -title: Getting Started with Blazor Charts in MAUI App | Syncfusion® -description: Learn how to get started with Syncfusion Blazor Charts in a Blazor MAUI hybrid app. Explore setup, packages, and first chart example. -platform: Blazor -control: Charts +title: Getting Started with Chart Component in Blazor MAUI App | Syncfusion® +description: Checkout and learn about the documentation for getting started with Blazor Chart Component in Blazor MAUI App. +platform: chart-sdk +control: Chart documentation: ug --- -# Getting Started with Blazor Charts in MAUI App +# Getting Started with Blazor Chart Component in Blazor MAUI App -This section explains the step-by-step process of integrating the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-Charts) component in your Blazor MAUI App using both [Visual Studio](https://visualstudio.microsoft.com/vs/) and [Visual Studio Code](https://code.visualstudio.com/), and the [.NET CLI](https://learn.microsoft.com/en-us/dotnet/core/tools/). +This section explains the step-by-step process of integrating the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) component in your Blazor MAUI App using both [Visual Studio](https://visualstudio.microsoft.com/vs/) and [Visual Studio Code](https://code.visualstudio.com/). -> **Ready to streamline your Blazor development?**
      Discover the full potential of Blazor components with AI Coding Assistants. Effortlessly integrate, configure, and enhance your projects with intelligent, context-aware code suggestions, streamlined setups, and real-time insights—all seamlessly integrated into your preferred AI-powered IDEs like VS Code, Cursor, Code Studio and more. [Explore AI Coding Assistants](https://blazor.syncfusion.com/documentation/ai-coding-assistant/overview) - -## Create a new MAUI Blazor Hybrid App +> **Ready to streamline your Blazor development?**
      Discover the full potential of Blazor components with AI Coding Assistants. Effortlessly integrate, configure, and enhance your projects with intelligent, context-aware code suggestions, streamlined setups, and real-time insights—all seamlessly integrated into your preferred AI-powered IDEs like VS Code, Cursor, CodeStudio and more. [Explore AI Coding Assistants](https://blazor.syncfusion.com/documentation/ai-coding-assistant/overview) {% tabcontents %} {% tabcontent Visual Studio %} -Create a Blazor MAUI App using Visual Studio via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/hybrid/tutorials/maui?view=aspnetcore-10.0). For detailed instructions, refer to the [Blazor MAUI App Getting Started](https://blazor.syncfusion.com/documentation/getting-started/maui-blazor-app) documentation. +## Prerequisites -{% endtabcontent %} +To use the MAUI project templates, install the Mobile development with the .NET extension for Visual Studio. For more details, refer to [here](https://learn.microsoft.com/en-us/dotnet/MAUI/get-started/installation?tabs=vswin) or the [Syncfusion® Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-integration/template-studio). -{% tabcontent Visual Studio Code %} +## Create a new Blazor MAUI App in Visual Studio -Run the following command to create a new MAUI Blazor Hybrid App. +Create a Blazor MAUI App using Visual Studio via [Microsoft Templates](https://learn.microsoft.com/en-us/dotnet/maui/get-started/first-app?pivots=devices-windows&view=net-maui-9.0&tabs=vswin). For detailed instructions, refer to the [Blazor MAUI App Getting Started](https://blazor.syncfusion.com/documentation/getting-started/maui-blazor-app) documentation. -{% tabs %} -{% highlight razor tabtitle="Terminal" %} +{% endtabcontent %} -dotnet new maui-blazor -o MauiBlazorApp -cd MauiBlazorApp +{% tabcontent Visual Studio Code %} -{% endhighlight %} -{% endtabs %} +## Prerequisites -{% endtabcontent %} +To use the MAUI project templates, install the Mobile development with the .NET extension for Visual Studio Code. For more details, refer to [here](https://learn.microsoft.com/en-us/dotnet/maui/get-started/installation?view=net-maui-9.0&tabs=visual-studio-code) or the [Syncfusion® Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-code-integration/create-project). + +## Create a new Blazor MAUI App in Visual Studio Code -{% tabcontent .NET CLI %} +Create a Blazor MAUI App using Visual Studio Code via [Microsoft Templates](https://learn.microsoft.com/en-us/dotnet/maui/get-started/first-app?pivots=devices-windows&view=net-maui-9.0&tabs=visual-studio-code) or the [Syncfusion® Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-code-integration/create-project). For detailed instructions, refer to the [Blazor MAUI App Getting Started](https://blazor.syncfusion.com/documentation/getting-started/maui-blazor-app) documentation. -Run the following command to create a new MAUI Blazor Hybrid App. +Alternatively, create a MAUI application by using the following command in the integrated terminal (Ctrl+`). {% tabs %} -{% highlight razor tabtitle="Command Prompt" %} +{% highlight c# tabtitle="Blazor MAUI App" %} dotnet new maui-blazor -o MauiBlazorApp cd MauiBlazorApp @@ -55,81 +52,47 @@ cd MauiBlazorApp {% endtabcontents %} -## Install the required Blazor package +## Install required Blazor packages -Install the [Syncfusion.Blazor.Charts](https://www.nuget.org/packages/Syncfusion.Blazor.Charts/) NuGet package. All Syncfusion Blazor packages are available on [nuget.org](https://www.nuget.org/packages?q=syncfusion.blazor). See the [NuGet packages](https://blazor.syncfusion.com/documentation/nuget-packages) topic for details. +Install the [Syncfusion.Blazor.Charts](https://www.nuget.org/packages/Syncfusion.Blazor.Charts/) NuGet package in your project using the NuGet Package Manager in Visual Studio (*Tools → NuGet Package Manager → Manage NuGet Packages for Solution*), or the integrated terminal in Visual Studio Code (dotnet add package Syncfusion.Blazor.Charts --version {{ site.releaseversion }}). -{% tabcontents %} - -{% tabcontent Visual Studio %} - -1. Go to *Tools → NuGet Package Manager → Manage NuGet Packages for Solution*. -2. Search the required NuGet package (`Syncfusion.Blazor.Charts`) and install it. - -Alternatively, you can install the same package using the Package Manager Console with the following command. +Alternatively, run the following command in the Package Manager Console to achieve the same. {% tabs %} -{% highlight razor tabtitle="Package Manager Console" %} +{% highlight C# tabtitle="Package Manager" %} Install-Package Syncfusion.Blazor.Charts -Version {{ site.releaseversion }} {% endhighlight %} {% endtabs %} -{% endtabcontent %} - -{% tabcontent Visual Studio Code %} - -Open the terminal and run the following command. - -{% tabs %} -{% highlight razor tabtitle="Terminal" %} - -dotnet add package Syncfusion.Blazor.Charts -v {{ site.releaseversion }} - -{% endhighlight %} -{% endtabs %} - -{% endtabcontent %} - -{% tabcontent .NET CLI %} - -Open the command prompt and run the following command. - -{% tabs %} -{% highlight razor tabtitle="Command Prompt" %} - -dotnet add package Syncfusion.Blazor.Charts -v {{ site.releaseversion }} - -{% endhighlight %} -{% endtabs %} - -{% endtabcontent %} - -{% endtabcontents %} +N> All Syncfusion Blazor packages are available on [nuget.org](https://www.nuget.org/packages?q=syncfusion.blazor). See the [NuGet packages](https://blazor.syncfusion.com/documentation/nuget-packages) topic for details. ## Add import namespaces -After the package is installed, open the **~/Components/_Imports.razor** file and import the `Syncfusion.Blazor` and `Syncfusion.Blazor.Charts` namespaces. +After the package is installed, open the **~/_Imports.razor** file and import the `Syncfusion.Blazor` and `Syncfusion.Blazor.Charts` namespaces. + +N> The `~/` notation represents the root directory of your project. This file is typically located in your project's root folder. {% tabs %} {% highlight razor tabtitle="~/_Imports.razor" %} -@using Syncfusion.Blazor +@using Syncfusion.Blazor @using Syncfusion.Blazor.Charts {% endhighlight %} {% endtabs %} -## Register the Blazor service +## Register Blazor service -Open the **MauiProgram.cs** file in Blazor MAUI App and register the Blazor service. +Register the Blazor service in the **~/MauiProgram.cs** file. This step enables the Blazor components to work in your application. {% tabs %} -{% highlight c# tabtitle="MauiProgram.cs" %} +{% highlight c# tabtitle="~/MauiProgram.cs" %} .... using Syncfusion.Blazor; + .... public static class MauiProgram @@ -145,26 +108,26 @@ public static class MauiProgram {% endhighlight %} {% endtabs %} -## Add script resource +## Add script resources -The script can be accessed from NuGet through [Static Web Assets](https://blazor.syncfusion.com/documentation/appearance/themes#static-web-assets). Include the [script references](https://blazor.syncfusion.com/documentation/common/adding-script-references) in the **~wwwroot/index.html** file. +The JavaScript library needs to be included in your application. The script can be accessed from NuGet through [Static Web Assets](https://blazor.syncfusion.com/documentation/common/adding-script-references#static-web-assets). Include the script reference in the **~/index.html** file (this is the main HTML entry point of your MAUI Blazor application). -{% tabs %} -{% highlight html tabtitle="index.html" %} +```html -{% endhighlight %} -{% endtabs %} +``` -## Add the Blazor Charts component +N> Check out the [Adding Script Reference](https://blazor.syncfusion.com/documentation/common/adding-script-references) topic to learn different approaches for adding script references in your Blazor application. -Open a Razor file located in the **~/Components/Pages/*.razor** (for example, **Home.razor**) and add the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-Charts) component inside the razor file. +## Add Blazor Chart component + +Add the Blazor Chart component in the **~/Pages/Home.razor** file. {% tabs %} {% highlight razor tabtitle="Home.razor" %} -@* SfChart is the root container component for the chart *@ + @@ -172,59 +135,23 @@ Open a Razor file located in the **~/Components/Pages/*.razor** (for example, ** {% endhighlight %} {% endtabs %} -## Run the application on Windows - -{% tabcontents %} - -{% tabcontent Visual Studio %} - -Press Ctrl+F5 (Windows) or +F5 (macOS) to launch the application. The Blazor Charts component will render in your default web browser. - -{% endtabcontent %} - -{% tabcontent Visual Studio Code %} - -Open the terminal and run the following command. - -{% tabs %} -{% highlight razor tabtitle="Terminal" %} - -dotnet run - -{% endhighlight %} -{% endtabs %} - -{% endtabcontent %} - -{% tabcontent .NET CLI %} - -Open the command prompt and run the following command. +### How to run the sample on windows -{% tabs %} -{% highlight razor tabtitle="Command Prompt" %} - -dotnet run - -{% endhighlight %} -{% endtabs %} - -{% endtabcontent %} - -{% endtabcontents %} +Run the sample in Windows Machine mode, and it will run Blazor MAUI in Windows. -![Blazor Charts Component](images/blazor-chart-maui-app.webp) +![Blazor Chart Component](images/blazor-chart-maui-app.webp) -## Run the application on Android +### How to run the sample on android -To run the Blazor Charts in a Blazor Android MAUI application using the Android emulator, follow these steps: +To run the Blazor Chart in a Blazor Android MAUI application using the Android emulator, follow these steps: Refer [here](https://learn.microsoft.com/en-us/dotnet/maui/android/emulator/device-manager#android-device-manager-on-windows) to install and launch the Android emulator. -N> If you encounter any errors while using the Android Emulator, refer to the following link for troubleshooting guidance [Troubleshooting Android Emulator](https://learn.microsoft.com/en-us/dotnet/maui/android/emulator/troubleshooting). +N> If you encounter any errors while using the Android Emulator, refer to the following link for troubleshooting guidance[Troubleshooting Android Emulator](https://learn.microsoft.com/en-us/dotnet/maui/android/emulator/troubleshooting). -![Blazor Charts Component](images/getting-started/blazor-chart.webp) +![Blazor Chart Component](images/getting-started/blazor-chart.webp) ## See also -1. [Getting Started with Blazor Web Assembly App in Visual Studio or .NET CLI](https://blazor.syncfusion.com/documentation/getting-started/blazor-webassembly-app) -2. [Getting Started with Blazor Web App in Visual Studio or .NET CLI](https://blazor.syncfusion.com/documentation/getting-started/blazor-web-app) +* [Getting Started with Blazor Web Assembly App in Visual Studio or .NET CLI](https://blazor.syncfusion.com/documentation/getting-started/blazor-webassembly-app) +* [Getting Started with Blazor Web App in Visual Studio or .NET CLI](https://blazor.syncfusion.com/documentation/getting-started/blazor-web-app) diff --git a/chart-sdk/blazor/charts/getting-started-with-web-app.md b/chart-sdk/blazor/charts/getting-started-with-web-app.md index 5598e7713..87c852a4f 100644 --- a/chart-sdk/blazor/charts/getting-started-with-web-app.md +++ b/chart-sdk/blazor/charts/getting-started-with-web-app.md @@ -1,122 +1,132 @@ --- layout: post -title: Getting Started with Blazor Charts in Web App | Syncfusion® -description: Learn how to get started with Syncfusion Blazor Charts in a Blazor Web App. Explore setup, server and client configuration, and first chart example. -platform: Blazor -control: Charts +title: Getting Started with Blazor Chart Component in WebApp | Syncfusion® +description: Checkout and learn about the documentation for getting started with Blazor Chart Component in Blazor Web App. +platform: chart-sdk +component: Chart documentation: ug --- -# Getting Started with Blazor Charts in Web App +# Getting Started with Blazor Chart Component in Blazor Web App -This section briefly explains how to include the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) component in your Blazor Web App using [Visual Studio](https://visualstudio.microsoft.com/vs/), [Visual Studio Code](https://code.visualstudio.com/), and the [.NET CLI](https://learn.microsoft.com/en-us/dotnet/core/tools/). +This section briefly explains how to include [Blazor Chart](https://www.syncfusion.com/blazor-components/blazor-charts) component in your Blazor Web App using [Visual Studio](https://visualstudio.microsoft.com/vs/), [Visual Studio Code](https://code.visualstudio.com/), and the [.NET CLI](https://learn.microsoft.com/en-us/dotnet/core/tools/). -> **Ready to streamline your Blazor development?**
      Discover the full potential of Blazor components with AI Coding Assistants. Effortlessly integrate, configure, and enhance your projects with intelligent, context-aware code suggestions, streamlined setups, and real-time insights—all seamlessly integrated into your preferred AI-powered IDEs like VS Code, Cursor, Code Studio and more. [Explore AI Coding Assistants](https://blazor.syncfusion.com/documentation/ai-coding-assistant/overview) - -## Create a new Blazor Web App +> **Ready to streamline your Blazor development?**
      Discover the full potential of Blazor components with AI Coding Assistants. Effortlessly integrate, configure, and enhance your projects with intelligent, context-aware code suggestions, streamlined setups, and real-time insights—all seamlessly integrated into your preferred AI-powered IDEs like VS Code, Cursor, CodeStudio and more. [Explore AI Coding Assistants](https://blazor.syncfusion.com/documentation/ai-coding-assistant/overview) {% tabcontents %} {% tabcontent Visual Studio %} -Create a **Blazor Web App** using Visual Studio via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vs) or the [Syncfusion® Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-integration/template-studio). +## Prerequisites -{% endtabcontent %} +* [System requirements for Blazor components](https://blazor.syncfusion.com/documentation/system-requirements) -{% tabcontent Visual Studio Code %} +## Create a new Blazor Web App in Visual Studio -Run the following command to create a new Blazor Web App. +Create a **Blazor Web App** using Visual Studio via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vs) or the [Syncfusion® Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-integration/template-studio). For detailed instructions, refer to the [Blazor Web App Getting Started](https://blazor.syncfusion.com/documentation/getting-started/blazor-web-app) documentation. -{% tabs %} -{% highlight razor tabtitle="Terminal" %} +{% endtabcontent %} -dotnet new blazor -o BlazorWebApp --interactivity Auto -cd BlazorWebApp -cd BlazorWebApp.Client +{% tabcontent Visual Studio Code %} -{% endhighlight %} -{% endtabs %} +## Prerequisites -Alternatively, create a **Blazor Web App** using Visual Studio Code via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vsc), the [Syncfusion® Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-code-integration/create-project), or the [C# Dev Kit](https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csdevkit) extension. +* [System requirements for Blazor components](https://blazor.syncfusion.com/documentation/system-requirements) -{% endtabcontent %} +## Create a new Blazor Web App in Visual Studio Code -{% tabcontent .NET CLI %} +Create a **Blazor Web App** using Visual Studio Code via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vsc) or the [Syncfusion® Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-code-integration/create-project). For detailed instructions, refer to the [Blazor Web App Getting Started](https://blazor.syncfusion.com/documentation/getting-started/blazor-web-app?tabcontent=visual-studio-code) documentation. -Run the following command to create a new Blazor Web App. +For example, in a Blazor Web App with the `Auto` interactive render mode, use the following commands in the integrated terminal (Ctrl+`). {% tabs %} -{% highlight razor tabtitle="Command Prompt" %} +{% highlight c# tabtitle="Blazor Web App" %} -dotnet new blazor -o BlazorWebApp --interactivity Auto +dotnet new blazor -o BlazorWebApp -int Auto cd BlazorWebApp -cd BlazorWebApp.Client {% endhighlight %} {% endtabs %} -{% endtabcontent %} - -{% endtabcontents %} +N> If the application is configured with WebAssembly or Auto render modes, you may optionally navigate to the client project directory to manage client-specific dependencies. Once the required changes are completed, ensure that you navigate back to the root project directory. -N> Configure the appropriate [Interactive render mode](https://learn.microsoft.com/en-us/aspnet/core/blazor/components/render-modes?view=aspnetcore-10.0#render-modes) and [Interactivity location](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vs) while creating a Blazor Web App. For detailed information, refer to the [interactive render mode documentation](https://blazor.syncfusion.com/documentation/common/interactive-render-mode). - -## Install the required Blazor package - -Install the [Syncfusion.Blazor.Charts](https://www.nuget.org/packages/Syncfusion.Blazor.Charts/) NuGet package. All Syncfusion Blazor packages are available on [nuget.org](https://www.nuget.org/packages?q=syncfusion.blazor). See the [NuGet packages](https://blazor.syncfusion.com/documentation/nuget-packages) topic for details. If using the `WebAssembly` or `Auto` render modes in the Blazor Web App, install this package in the `.Client` project. +``` +cd BlazorWebApp.Client +cd .. +``` -{% tabcontents %} +{% endtabcontent %} -{% tabcontent Visual Studio %} +{% tabcontent .NET CLI %} -1. Go to *Tools → NuGet Package Manager → Manage NuGet Packages for Solution*. -2. Search the required NuGet package (`Syncfusion.Blazor.Charts`) and install it. +## Prerequisites -Alternatively, you can install the same package using the Package Manager Console with the following command. +Install the latest version of [.NET SDK](https://dotnet.microsoft.com/en-us/download). If you previously installed the SDK, you can determine the installed version by executing the following command in a command prompt (Windows) or terminal (macOS) or command shell (Linux). {% tabs %} -{% highlight razor tabtitle="Package Manager Console" %} +{% highlight c# tabtitle=".NET CLI" %} -Install-Package Syncfusion.Blazor.Charts -Version {{ site.releaseversion }} +dotnet --version {% endhighlight %} {% endtabs %} -{% endtabcontent %} +## Create a Blazor Web App using .NET CLI -{% tabcontent Visual Studio Code %} +Run the following command to create a new Blazor Web App in a command prompt (Windows) or terminal (macOS) or command shell (Linux). For detailed instructions, refer to the [Blazor Web App Getting Started](https://blazor.syncfusion.com/documentation/getting-started/blazor-web-app?tabcontent=.net-cli) documentation. -Open the terminal and run the following command. +For example, in a Blazor Web App with the `Auto` interactive render mode, use the following commands: {% tabs %} -{% highlight razor tabtitle="Terminal" %} +{% highlight c# tabtitle=".NET CLI" %} -dotnet add package Syncfusion.Blazor.Charts -v {{ site.releaseversion }} +dotnet new blazor -o BlazorApp -int Auto +cd BlazorApp {% endhighlight %} {% endtabs %} + +This command creates a new Blazor Web App and places it in a new directory called `BlazorApp` inside your current location. See the [Create a Blazor App](https://dotnet.microsoft.com/en-us/learn/aspnet/blazor-tutorial/create) and [dotnet new CLI command](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?pivots=linux-macos&view=aspnetcore-8.0) topics for more details. + +N> If the application is configured with WebAssembly or Auto render modes, you may optionally navigate to the client project directory to manage client-specific dependencies. Once the required changes are completed, ensure that you navigate back to the root project directory. + +``` +cd BlazorWebApp.Client +cd .. +``` + {% endtabcontent %} -{% tabcontent .NET CLI %} +{% endtabcontents %} + +N> Configure the appropriate [Interactive render mode](https://learn.microsoft.com/en-us/aspnet/core/blazor/components/render-modes?view=aspnetcore-10.0#render-modes) and [Interactivity location](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vs) while creating a Blazor Web App. For detailed information, refer to the [interactive render mode documentation](https://blazor.syncfusion.com/documentation/common/interactive-render-mode). -Open the command prompt and run the following command. +## Install required Blazor packages + +Install the [Syncfusion.Blazor.Charts](https://www.nuget.org/packages/Syncfusion.Blazor.Charts/) NuGet package in your project using the NuGet Package Manager in Visual Studio (*Tools → NuGet Package Manager → Manage NuGet Packages for Solution*), or the integrated terminal in Visual Studio Code (dotnet add package Syncfusion.Blazor.Charts --version {{ site.releaseversion }}), or the .NET CLI. + +Alternatively, run the following command in the Package Manager Console to achieve the same. {% tabs %} -{% highlight razor tabtitle="Command Prompt" %} +{% highlight C# tabtitle="Package Manager" %} -dotnet add package Syncfusion.Blazor.Charts -v {{ site.releaseversion }} +Install-Package Syncfusion.Blazor.Charts -Version {{ site.releaseversion }} {% endhighlight %} {% endtabs %} -{% endtabcontent %} +If using the `WebAssembly` or `Auto` render modes in the Blazor Web App, install this package in the client project. -{% endtabcontents %} +N> All Syncfusion Blazor packages are available on [nuget.org](https://www.nuget.org/packages?q=syncfusion.blazor). See the [NuGet packages](https://blazor.syncfusion.com/documentation/nuget-packages) topic for details. ## Add import namespaces -After the package is installed, open the **~/_Imports.razor** file from the `.Client` project and import the `Syncfusion.Blazor` and `Syncfusion.Blazor.Charts` namespaces. +After the package is installed, open the **~/_Imports.razor** file from the client project and import the `Syncfusion.Blazor` and `Syncfusion.Blazor.Charts` namespaces. + +N> +- The `~/` notation represents the root directory of your project. This file is typically located in your project's root folder. +- If the **Interactive Render Mode** is set to `WebAssembly` or `Auto`, add these namespaces in both the server and client project **~/_Imports.razor** files. {% tabs %} {% highlight C# tabtitle="~/_Imports.razor" %} @@ -127,98 +137,69 @@ After the package is installed, open the **~/_Imports.razor** file from the `.Cl {% endhighlight %} {% endtabs %} -## Register the Blazor service +## Register Blazor service -Open the **Program.cs** file in Blazor Web App and register the Blazor service and include the required namespace reference `using Syncfusion.Blazor;` at the top. If the **Interactive Render Mode** is set to `WebAssembly` or `Auto`, register the Blazor service in **Program.cs** files of both the server and client projects in your Blazor Web App. +Register the Blazor service in the **Program.cs** file of your Blazor Web App. This step enables the Blazor components to work in your application. {% tabs %} -{% highlight C# tabtitle="Program.cs" %} +{% highlight c# tabtitle="Program.cs" %} +.... +using Syncfusion.Blazor; +.... builder.Services.AddSyncfusionBlazor(); +.... {% endhighlight %} {% endtabs %} -## Add script resource +N> If the **Interactive Render Mode** is set to `WebAssembly` or `Auto`, register the Blazor service in **Program.cs** files of both the server and client projects in your Blazor Web App. -Include the required [script references](https://blazor.syncfusion.com/documentation/common/adding-script-references) at the end of the `` section in the **App.razor** file to enable Charts functionality. +## Add script resources -{% tabs %} -{% highlight razor tabtitle="App.razor" %} +The JavaScript library needs to be included in your application. The script can be accessed from NuGet through [Static Web Assets](https://blazor.syncfusion.com/documentation/common/adding-script-references#static-web-assets). Include the script reference in the **~/Components/App.razor** file (this is the root layout file of your application). + +```html -{% endhighlight %} -{% endtabs %} +``` + +N> Check out the [Adding Script Reference](https://blazor.syncfusion.com/documentation/common/adding-script-references) topic to learn different approaches for adding script references in your Blazor application. -## Add Blazor Charts component +## Add Blazor Chart component -Open a Razor file located in the **~/Pages/*.razor** (for example, **Home.razor**) and add the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) component inside the `.Client` project razor file. +Add the Blazor Chart component in the **~/Components/Pages/Home.razor** file. If the interactivity location is set to `Per page/component` in the Web App, define a render mode at the top of the `~Pages/Home.razor` file. (For example, `InteractiveServer`, `InteractiveWebAssembly` or `InteractiveAuto`). -N> If the interactivity location is set to `Per page/component` in the Web App, define a render mode at the top of the razor file. (For example, `InteractiveServer`, `InteractiveWebAssembly` or `InteractiveAuto`). If the **Interactivity** is set to `Global` with `Auto` or `WebAssembly`, the render mode is automatically configured in the `App.razor` file by default. +N> If the **Interactivity Location** is set to `Global` with `Auto` or `WebAssembly`, the render mode is automatically configured in the `App.razor` file by default. {% tabs %} -{% highlight razor tabtitle="Home.razor" %} +{% highlight razor %} +@* desired render mode defined here *@ @rendermode InteractiveAuto -@* SfChart is the root container component for the chart *@ - - - - {% endhighlight %} {% endtabs %} -## Run the application - -{% tabcontents %} - -{% tabcontent Visual Studio %} - -Press Ctrl+F5 (Windows) or +F5 (macOS) to launch the application. The [Blazor Charts component](https://www.syncfusion.com/blazor-components/blazor-charts) will render in your default web browser. - -{% endtabcontent %} - -{% tabcontent Visual Studio Code %} - -Open the terminal and navigate to the main project folder (for example, `BlazorWebApp`) and run the following command. - {% tabs %} -{% highlight razor tabtitle="Terminal" %} - -cd .. -cd BlazorWebApp -dotnet run - -{% endhighlight %} -{% endtabs %} - -{% endtabcontent %} - -{% tabcontent .NET CLI %} - -Open the command prompt and navigate to the main project folder (for example, `BlazorWebApp`) and run the following command. +{% highlight razor tabtitle="Home.razor" %} -{% tabs %} -{% highlight razor tabtitle="Command Prompt" %} + + -cd .. -cd BlazorWebApp -dotnet run + {% endhighlight %} {% endtabs %} -{% endtabcontent %} - -{% endtabcontents %} +* Press Ctrl+F5 (Windows) or +F5 (macOS) to launch the application. This will render the Blazor Chart component in the default web browser. -{% previewsample "https://blazorplayground.syncfusion.com/embed/hNBRjRiBKleQGqKo?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Chart Component](images/getting-started/blazor-chart.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rZLzNsLepwXKBvNw?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Chart Component](images/getting-started/blazor-chart.webp)" %} -## Populate Blazor Charts with data +## Populate Blazor chart with data -To bind data for the Blazor charts component, you can assign an IEnumerable object to the [DataSource](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartSeries.html#Syncfusion_Blazor_Charts_ChartSeries_DataSource) property. It can also be provided as an instance of the [DataManager](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.DataManager.html). +To bind data for the chart component, you can assign an IEnumerable object to the [DataSource](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartSeries.html#Syncfusion_Blazor_Charts_ChartSeries_DataSource) property. It can also be provided as an instance of the [DataManager](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.DataManager.html). Map the data fields `Month` and `SalesValue` to the series [XName](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartSeries.html#Syncfusion_Blazor_Charts_ChartSeries_XName) and [YName](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartSeries.html#Syncfusion_Blazor_Charts_ChartSeries_YName) properties, then set the data to the [DataSource](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartSeries.html#Syncfusion_Blazor_Charts_ChartSeries_DataSource) property, and the [chart type](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartSeries.html#Syncfusion_Blazor_Charts_ChartSeries_Type) to **Column** because we will be viewing the data in a column chart. @@ -236,12 +217,11 @@ Map the data fields `Month` and `SalesValue` to the series [XName](https://help. -@code -{ +@code { public class SalesInfo { - public string Month { get; set; } - public double SalesValue { get; set; } + public string Month { get; set;} + public double SalesValue { get; set;} } public List Sales = new List @@ -259,7 +239,7 @@ Map the data fields `Month` and `SalesValue` to the series [XName](https://help. {% endhighlight %} {% endtabs %} -{% previewsample "https://blazorplayground.syncfusion.com/embed/BjrRZdMVgPGhfPSi?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Column Chart](images/getting-started/blazor-chart-column.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rtBTNiLezckHqsGf?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Column Chart](images/getting-started/blazor-chart-column.webp)" %} N> [View Sample in GitHub](https://github.com/SyncfusionExamples/Blazor-Getting-Started-Examples/tree/main/Chart). diff --git a/chart-sdk/blazor/charts/getting-started.md b/chart-sdk/blazor/charts/getting-started.md index 55ebbb2f5..e09877b68 100644 --- a/chart-sdk/blazor/charts/getting-started.md +++ b/chart-sdk/blazor/charts/getting-started.md @@ -1,123 +1,114 @@ --- layout: post -title: Getting Started with Blazor Charts in Server App | Syncfusion® -description: Learn how to get started with Syncfusion Blazor Charts in a Blazor Server App. Explore setup, NuGet packages, registration, and first chart example. -platform: Blazor -control: Charts +title: Getting Started | Blazor Chart Component | Syncfusion® +description: Checkout and learn about getting started with Blazor Charts component in Blazor Server App using Visual Studio and more. +platform: chart-sdk +control: Chart documentation: ug --- -# Getting Started with Blazor Charts in Server App +# Getting Started with Blazor Chart Component in Blazor Server App -This section briefly explains how to include the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) component in your Blazor Server App using [Visual Studio](https://visualstudio.microsoft.com/vs/), [Visual Studio Code](https://code.visualstudio.com/), and the [.NET CLI](https://learn.microsoft.com/en-us/dotnet/core/tools/). +This section briefly explains how to include [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) component in your Blazor Server App using [Visual Studio](https://visualstudio.microsoft.com/vs/), [Visual Studio Code](https://code.visualstudio.com/), and the [.NET CLI](https://learn.microsoft.com/en-us/dotnet/core/tools/). -> **Ready to streamline your Blazor development?**
      Discover the full potential of Blazor components with AI Coding Assistants. Effortlessly integrate, configure, and enhance your projects with intelligent, context-aware code suggestions, streamlined setups, and real-time insights—all seamlessly integrated into your preferred AI-powered IDEs like VS Code, Cursor, Code Studio and more. [Explore AI Coding Assistants](https://blazor.syncfusion.com/documentation/ai-coding-assistant/overview) - -## Create a new Blazor Server App +> **Ready to streamline your Blazor development?**
      Discover the full potential of Blazor components with AI Coding Assistants. Effortlessly integrate, configure, and enhance your projects with intelligent, context-aware code suggestions, streamlined setups, and real-time insights—all seamlessly integrated into your preferred AI-powered IDEs like VS Code, Cursor, CodeStudio and more. [Explore AI Coding Assistants](https://blazor.syncfusion.com/documentation/ai-coding-assistant/overview) {% tabcontents %} {% tabcontent Visual Studio %} -Create a **Blazor Server App** by using the **Blazor Web App** template in Visual Studio via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vs) or the [Syncfusion® Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-integration/template-studio). +## Prerequisites -{% endtabcontent %} +* [System requirements for Blazor components](https://blazor.syncfusion.com/documentation/system-requirements) -{% tabcontent Visual Studio Code %} +## Create a new Blazor App in Visual Studio -Run the following command to create a new Blazor Server App. +Create a **Blazor Server App** by using the **Blazor Web App** template in Visual Studio via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vs) or the [Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-integration/template-studio). For detailed instructions, refer to the [Blazor Server App Getting Started](https://blazor.syncfusion.com/documentation/getting-started/blazor-server-side-visual-studio) documentation. -{% tabs %} -{% highlight razor tabtitle="Terminal" %} +{% endtabcontent %} -dotnet new blazor -o BlazorApp --interactivity Server -cd BlazorApp +{% tabcontent Visual Studio Code %} -{% endhighlight %} -{% endtabs %} +## Prerequisites -Alternatively, create a **Blazor Server App** using Visual Studio Code via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vsc) or the [Syncfusion® Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-code-integration/create-project), or the [C# Dev Kit](https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csdevkit) extension. +* [System requirements for Blazor components](https://blazor.syncfusion.com/documentation/system-requirements) -{% endtabcontent %} +## Create a new Blazor App in Visual Studio Code -{% tabcontent .NET CLI %} +Create a **Blazor Server App** using Visual Studio Code via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vsc) or the [Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-code-integration/create-project). For detailed instructions, refer to the [Blazor Server App Getting Started](https://blazor.syncfusion.com/documentation/getting-started/blazor-server-side-visual-studio?tabcontent=visual-studio-code) documentation. -Run the following command to create a new Blazor Server App. +Alternatively, create a Server application by using the following command in the integrated terminal (Ctrl+`). {% tabs %} -{% highlight razor tabtitle="Command Prompt" %} -dotnet new blazor -o BlazorApp --interactivity Server +{% highlight c# tabtitle="Blazor Server App" %} + +dotnet new blazor -o BlazorApp -int Server cd BlazorApp {% endhighlight %} + {% endtabs %} {% endtabcontent %} -{% endtabcontents %} - -N> Configure the appropriate [Interactive render mode](https://learn.microsoft.com/en-us/aspnet/core/blazor/components/render-modes?view=aspnetcore-10.0#render-modes) and [Interactivity location](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vs) while creating a Blazor Server App. For detailed information, refer to the [interactive render mode documentation](https://blazor.syncfusion.com/documentation/common/interactive-render-mode). - -## Install the required Blazor package - -Install the [Syncfusion.Blazor.Charts](https://www.nuget.org/packages/Syncfusion.Blazor.Charts/) NuGet package. All Syncfusion Blazor packages are available on [nuget.org](https://www.nuget.org/packages?q=syncfusion.blazor). See the [NuGet packages](https://blazor.syncfusion.com/documentation/nuget-packages) topic for details. - -{% tabcontents %} - -{% tabcontent Visual Studio %} +{% tabcontent .NET CLI %} -1. Go to *Tools → NuGet Package Manager → Manage NuGet Packages for Solution*. -2. Search the required NuGet package (`Syncfusion.Blazor.Charts`) and install it. +## Prerequisites -Alternatively, you can install the same package using the Package Manager Console with the following command. +Install the latest version of [.NET SDK](https://dotnet.microsoft.com/en-us/download). If the .NET SDK is already installed, determine the installed version by running the following command in a command prompt (Windows), terminal (macOS), or command shell (Linux). {% tabs %} -{% highlight razor tabtitle="Package Manager Console" %} +{% highlight c# tabtitle=".NET CLI" %} -Install-Package Syncfusion.Blazor.Charts -Version {{ site.releaseversion }} +dotnet --version {% endhighlight %} {% endtabs %} -{% endtabcontent %} - -{% tabcontent Visual Studio Code %} +## Create a Blazor Server App using .NET CLI -Open the terminal and run the following command. +Run the following command to create a new Blazor Server App in a command prompt (Windows) or terminal (macOS) or command shell (Linux). For detailed instructions, refer to the [Blazor Server App Getting Started](https://blazor.syncfusion.com/documentation/getting-started/blazor-server-side-visual-studio?tabcontent=.net-cli) documentation. {% tabs %} -{% highlight razor tabtitle="Terminal" %} +{% highlight c# tabtitle=".NET CLI" %} -dotnet add package Syncfusion.Blazor.Charts -v {{ site.releaseversion }} +dotnet new blazor -o BlazorApp -int Server +cd BlazorApp {% endhighlight %} {% endtabs %} {% endtabcontent %} -{% tabcontent .NET CLI %} +{% endtabcontents %} + +N> Configure the appropriate [Interactive render mode](https://learn.microsoft.com/en-us/aspnet/core/blazor/components/render-modes?view=aspnetcore-10.0#render-modes) and [Interactivity location](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vs) while creating a Blazor Server App. For detailed information, refer to the [interactive render mode documentation](https://blazor.syncfusion.com/documentation/common/interactive-render-mode). + +## Install Blazor packages -Open the command prompt and run the following command. +Install the [Syncfusion.Blazor.Charts](https://www.nuget.org/packages/Syncfusion.Blazor.Charts/) NuGet package in your project using the NuGet Package Manager in Visual Studio (*Tools → NuGet Package Manager → Manage NuGet Packages for Solution*), or the integrated terminal in Visual Studio Code (dotnet add package Syncfusion.Blazor.Charts --version {{ site.releaseversion }}), or the .NET CLI. + +Alternatively, run the following command in the Package Manager Console to achieve the same. {% tabs %} -{% highlight razor tabtitle="Command Prompt" %} +{% highlight C# tabtitle="Package Manager" %} -dotnet add package Syncfusion.Blazor.Charts -v {{ site.releaseversion }} +Install-Package Syncfusion.Blazor.Charts -Version {{ site.releaseversion }} {% endhighlight %} {% endtabs %} -{% endtabcontent %} - -{% endtabcontents %} +N> All Syncfusion Blazor packages are available on [nuget.org](https://www.nuget.org/packages?q=syncfusion.blazor). See the [NuGet packages](https://blazor.syncfusion.com/documentation/nuget-packages) topic for details. ## Add import namespaces After the package is installed, open the **~/_Imports.razor** file and import the `Syncfusion.Blazor` and `Syncfusion.Blazor.Charts` namespaces. +N> The `~/` notation represents the root directory of your project. This file is typically located in your project's root folder. + {% tabs %} {% highlight razor tabtitle="~/_Imports.razor" %} @@ -127,93 +118,67 @@ After the package is installed, open the **~/_Imports.razor** file and import th {% endhighlight %} {% endtabs %} -## Register the Blazor service +## Register Blazor service -Open the **Program.cs** file in Blazor Server App and register the Blazor service and include the required namespace reference `using Syncfusion.Blazor;` at the top. +Register the Blazor service in the **Program.cs** file of your Blazor Server App. This step enables the Syncfusion components to work in your application. {% tabs %} {% highlight C# tabtitle="Program.cs" %} +.... +using Syncfusion.Blazor; +.... builder.Services.AddSyncfusionBlazor(); +.... {% endhighlight %} {% endtabs %} -## Add script resource +## Add script resources -Include the required [script references](https://blazor.syncfusion.com/documentation/common/adding-script-references) at the end of the `` section in the **App.razor** file to enable Charts functionality. +The Syncfusion JavaScript library needs to be included in your application. The script can be accessed from NuGet through [Static Web Assets](https://blazor.syncfusion.com/documentation/common/adding-script-references#static-web-assets). Include the script reference in the **~/Components/App.razor** file (this is the root layout file of your application). -{% tabs %} -{% highlight razor tabtitle="App.razor" %} +```html -{% endhighlight %} -{% endtabs %} +``` -## Add Blazor Charts component +N> Check out the [Adding Script Reference](https://blazor.syncfusion.com/documentation/common/adding-script-references) topic to learn different approaches for adding script references in the Blazor application. -Open a Razor file located in the **~/Pages/*.razor** (for example, **Home.razor**) and add the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) component inside the razor file. +## Add Blazor Chart component -N>If the interactivity location is set to `Per page/component`, define a render mode at the top of the razor file. (For example `InteractiveServer`). If the Interactivity is set to `Global`, the render mode is automatically configured in the `App.razor` file by default. +Add the Blazor Chart component in the **~/Components/Pages/Home.razor** file. If the interactivity location is set to `Per page/component`, define a render mode at the top of the `~Pages/Home.razor` file as shown below. + +N> If the Interactivity Location is set to `Global`, the render mode is automatically configured in the `App.razor` file by default. {% tabs %} -{% highlight razor tabtitle="Home.razor" %} +{% highlight razor %} +@* desired render mode defined here *@ @rendermode InteractiveServer -@* SfChart is the root container component for the chart *@ - - - {% endhighlight %} {% endtabs %} -## Run the application - -{% tabcontents %} - -{% tabcontent Visual Studio %} - -Press Ctrl+F5 (Windows) or +F5 (macOS) to launch the application. The [Blazor Charts component](https://www.syncfusion.com/blazor-components/blazor-charts) will render in your default web browser. - -{% endtabcontent %} - -{% tabcontent Visual Studio Code %} - -Open the terminal and run the following command. - {% tabs %} -{% highlight razor tabtitle="Terminal" %} - -dotnet run - -{% endhighlight %} -{% endtabs %} - -{% endtabcontent %} - -{% tabcontent .NET CLI %} - -Open the command prompt and run the following command. +{% highlight razor tabtitle="Home.razor" %} -{% tabs %} -{% highlight razor tabtitle="Command Prompt" %} + + -dotnet run + {% endhighlight %} {% endtabs %} -{% endtabcontent %} - -{% endtabcontents %} +* Press Ctrl+F5 (Windows) or +F5 (macOS) to launch the application. This will render the Blazor Chart component in the default web browser. -{% previewsample "https://blazorplayground.syncfusion.com/embed/hNBRjRiBKleQGqKo?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Chart Component](images/getting-started/blazor-chart.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rZLzNsLepwXKBvNw?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Chart Component](images/getting-started/blazor-chart.webp)" %} -## Populate Blazor Charts with data +## Populate Blazor chart with data -To bind data for the Blazor charts component, you can assign an IEnumerable object to the [DataSource](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartSeries.html#Syncfusion_Blazor_Charts_ChartSeries_DataSource) property. It can also be provided as an instance of the [DataManager](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.DataManager.html). +To bind data for the chart component, you can assign an IEnumerable object to the [DataSource](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartSeries.html#Syncfusion_Blazor_Charts_ChartSeries_DataSource) property. It can also be provided as an instance of the [DataManager](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.DataManager.html). Map the data fields `Month` and `SalesValue` to the series [XName](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartSeries.html#Syncfusion_Blazor_Charts_ChartSeries_XName) and [YName](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartSeries.html#Syncfusion_Blazor_Charts_ChartSeries_YName) properties, then set the data to the [DataSource](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartSeries.html#Syncfusion_Blazor_Charts_ChartSeries_DataSource) property, and the [chart type](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartSeries.html#Syncfusion_Blazor_Charts_ChartSeries_Type) to **Column** because we will be viewing the data in a column chart. @@ -231,12 +196,11 @@ Map the data fields `Month` and `SalesValue` to the series [XName](https://help. -@code -{ +@code { public class SalesInfo { - public string Month { get; set; } - public double SalesValue { get; set; } + public string Month { get; set;} + public double SalesValue { get; set;} } public List Sales = new List @@ -254,11 +218,11 @@ Map the data fields `Month` and `SalesValue` to the series [XName](https://help. {% endhighlight %} {% endtabs %} -{% previewsample "https://blazorplayground.syncfusion.com/embed/BjrRZdMVgPGhfPSi?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Column Chart](images/getting-started/blazor-chart-column.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rtBTNiLezckHqsGf?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Column Chart](images/getting-started/blazor-chart-column.webp)" %} N> [View Sample in GitHub](https://github.com/SyncfusionExamples/Blazor-Getting-Started-Examples/tree/main/Chart). ## See also -1. [Getting Started with Blazor Web Assembly App in Visual Studio or .NET CLI](https://blazor.syncfusion.com/documentation/getting-started/blazor-webassembly-app) -2. [Getting Started with Blazor Web App in Visual Studio or .NET CLI](https://blazor.syncfusion.com/documentation/getting-started/blazor-web-app) +* [Getting Started with Blazor Web Assembly App in Visual Studio or .NET CLI](https://blazor.syncfusion.com/documentation/getting-started/blazor-webassembly-app) +* [Getting Started with Blazor Web App in Visual Studio or .NET CLI](https://blazor.syncfusion.com/documentation/getting-started/blazor-web-app) diff --git a/chart-sdk/blazor/charts/gradient.md b/chart-sdk/blazor/charts/gradient.md index 8d1c653ee..f05340d9a 100644 --- a/chart-sdk/blazor/charts/gradient.md +++ b/chart-sdk/blazor/charts/gradient.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Charts Gradient Fill Examples | Syncfusion® -description: Learn how to apply linear or radial gradients in Syncfusion Blazor Charts. Use ChartLinearGradient and color stops on series, trendlines, and indicators. -platform: Blazor -control: Charts +title: Gradient in Blazor Charts Component | Syncfusion® +description: Checkout and learn about applying linear and radial gradients to series, trendlines and indicators in the Blazor Charts component. +platform: chart-sdk +control: Chart documentation: ug --- -# Blazor Charts Gradient +# Gradient in Blazor Charts Component Gradients add depth and modern styling to charts by smoothly blending multiple colors. The Charts component supports two gradient types: diff --git a/chart-sdk/blazor/charts/how-to/add-remove.md b/chart-sdk/blazor/charts/how-to/add-remove.md index 7467f030c..1cab7d560 100644 --- a/chart-sdk/blazor/charts/how-to/add-remove.md +++ b/chart-sdk/blazor/charts/how-to/add-remove.md @@ -1,15 +1,15 @@ --- layout: post -title: How to Add or Remove Series in Blazor Charts | Syncfusion® -description: Learn how to add or remove chart series dynamically in Blazor Charts using Syncfusion. Modify ChartSeriesCollection at runtime with simple code changes. -platform: Blazor -control: Charts +title: Add or Remove Series in Blazor Charts Component | Syncfusion® +description: Checkout and learn here all the features about Add or Remove Series in Blazor Charts component and more. +platform: chart-sdk +control: Chart documentation: ug --- -# How to Add or Remove Series in Blazor Charts +# Add or Remove Series in Blazor Charts Component The chart series can be dynamically added or removed by adding and removing a series to the [ChartSeriesCollection](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartSeriesCollection.html). Follow the steps below to dynamically add or remove a series. @@ -189,4 +189,4 @@ By clicking the **Add Chart Series** button a new series will be added to the ch } ``` -N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=fluent2) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. +N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=bootstrap5) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. diff --git a/chart-sdk/blazor/charts/how-to/axis-hide.md b/chart-sdk/blazor/charts/how-to/axis-hide.md index 1f3d420a5..072386f85 100644 --- a/chart-sdk/blazor/charts/how-to/axis-hide.md +++ b/chart-sdk/blazor/charts/how-to/axis-hide.md @@ -1,15 +1,15 @@ --- layout: post -title: How to Hide an Axis in Blazor Charts | Syncfusion® -description: Learn how to hide a chart axis in Blazor Charts using Syncfusion. Toggle the legend item of the series that uses the axis via YAxisName. -platform: Blazor -control: Charts +title: Hiding Axis in Blazor Charts Component | Syncfusion® +description: Checkout and learn here all the features about Hiding Axis in Blazor Charts component and much more details. +platform: chart-sdk +control: Chart documentation: ug --- -# How to Hide an Axis in Blazor Charts +# Hiding Axis in Blazor Charts Component The axis associated with the series can be hidden by toggling the legend item of the relevant series. Follow the steps below to hide the measure axis associated with the series. @@ -95,4 +95,4 @@ By clicking the legend items, one can now toggle the visibility of the associate } ``` -N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=fluent2) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. +N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=bootstrap5) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. diff --git a/chart-sdk/blazor/charts/how-to/convert-millisecond-to-date-time.md b/chart-sdk/blazor/charts/how-to/convert-millisecond-to-date-time.md index ad9890c0f..40c3720fe 100644 --- a/chart-sdk/blazor/charts/how-to/convert-millisecond-to-date-time.md +++ b/chart-sdk/blazor/charts/how-to/convert-millisecond-to-date-time.md @@ -1,15 +1,15 @@ --- layout: post -title: How to Convert Milliseconds to DateTime in Blazor Chart | Syncfusion® -description: Learn how to convert milliseconds to a DateTime value in Blazor Charts using Syncfusion. Use the OnZoomEnd event to convert axis range after zoom. -platform: Blazor -control: Charts +title: Convert millisecond to date time in Blazor Chart | Syncfusion® +description: Learn here all the features about Convert millisecond to date time in Blazor Charts component and more. +platform: chart-sdk +control: Chart documentation: ug --- -# How to Convert Milliseconds to DateTime in Blazor Charts +# Convert Millisecond to Date Time in Blazor Charts Component Chart converts the datetime to milliseconds to calculate the bounds, so all events for datetime axis returns the value in milliseconds. For example, after zoom completion, the ranges for axis will be in the milliseconds. By using the [OnZoomEnd](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartEvents.html#Syncfusion_Blazor_Charts_ChartEvents_OnZoomEnd) event, you can convert millisecond value to date time format. diff --git a/chart-sdk/blazor/charts/how-to/dynamic-points.md b/chart-sdk/blazor/charts/how-to/dynamic-points.md index 6711961b7..29c2467e0 100644 --- a/chart-sdk/blazor/charts/how-to/dynamic-points.md +++ b/chart-sdk/blazor/charts/how-to/dynamic-points.md @@ -1,13 +1,13 @@ --- layout: post -title: How to Add Dynamic Points in Blazor Charts | Syncfusion® -description: Learn how to add dynamic data points in Blazor Charts using Syncfusion. Use the ChartMouseClick event to add or remove points on click. -platform: Blazor -control: Charts +title: Dynamic Points in Blazor Charts Component | Syncfusion® +description: Checkout and learn here all the features about the Dynamic Points in Blazor Charts component and much more. +platform: chart-sdk +control: Chart documentation: ug --- -# How to Add Dynamic Points in Blazor Charts +# Dynamic Points in Blazor Charts Component We can use chart mouse/touch events to dynamically add or remove points from an existing data source by clicking within the chart area. These events allow us to obtain the location of the current cursor as X and Y values in the event arguments. The point's X and Y values can then be updated with new data from the existing data source. To achieve dynamic points, follow the steps outlined below. @@ -195,7 +195,7 @@ The below code snippet illustrates a chart that allows users to add new data and ![Dynamic Points](../images/dynamic-points.webp) -N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=fluent2) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. +N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=bootstrap4) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. ## See Also diff --git a/chart-sdk/blazor/charts/how-to/lazy-loading.md b/chart-sdk/blazor/charts/how-to/lazy-loading.md index c371f65cb..dce616436 100644 --- a/chart-sdk/blazor/charts/how-to/lazy-loading.md +++ b/chart-sdk/blazor/charts/how-to/lazy-loading.md @@ -1,13 +1,13 @@ --- layout: post -title: How to Enable Lazy Loading in Blazor Charts | Syncfusion® -description: Learn how to enable lazy loading in Blazor Charts using Syncfusion. Use the OnScrollChanged event to fetch data on demand for the visible range. -platform: Blazor -control: Charts +title: Lazy Loading in Blazor Charts Component | Syncfusion® +description: Checkout and Checkout and learn here all the features about Lazy Loading in Blazor Charts component and much more. +platform: chart-sdk +control: Chart documentation: ug --- -# How to Enable Lazy Loading in Blazor Charts +# Lazy Loading in Blazor Charts Component The lazy loading loads data for the chart on demand. The [OnScrollChanged](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartEvents.html#Syncfusion_Blazor_Charts_ChartEvents_OnScrollChanged) event will be fired by the chart, allowing us to get the minimum and maximum ranges of the axes and then upload the data to the chart. @@ -96,12 +96,12 @@ else ![LazyLoad Line](../images/lazyload-line.webp) -## Line +### Line -{% previewsample "https://blazorplayground.syncfusion.com/embed/LDLdtnWLeifIjcYa?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[LazyLoad Column](../images/lazyload-column.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LjVpZhLxzguqSeHM?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[LazyLoad Column](../images/lazyload-column.png)" %} -## Column +### Column -{% previewsample "https://blazorplayground.syncfusion.com/embed/VZBHjdMLyiSjFBzI?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BZrTXBLdpqQSSsSy?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} -N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=fluent2) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. +N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=bootstrap5) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. diff --git a/chart-sdk/blazor/charts/how-to/live-chart.md b/chart-sdk/blazor/charts/how-to/live-chart.md index 0149d17e3..80e01cda1 100644 --- a/chart-sdk/blazor/charts/how-to/live-chart.md +++ b/chart-sdk/blazor/charts/how-to/live-chart.md @@ -1,15 +1,15 @@ --- layout: post -title: How to Update Live Data in Blazor Charts | Syncfusion® -description: Learn how to update a Blazor Chart with live data using Syncfusion. Use a timer to refresh the DataSource and re-render the chart at intervals. -platform: Blazor -control: Charts +title: Live Chart in Blazor Charts Component | Syncfusion® +description: Checkout and learn here all the features about Live Chart in Blazor Charts component and much more details. +platform: chart-sdk +control: Chart documentation: ug --- -# How to Update Live Data in Blazor Charts +# Live Chart in Blazor Charts Component Live update in a chart can be achieved using the timer to update the datasource with real-time data and refresh the chart. Follow the steps below to update a chart with real-time data. @@ -161,4 +161,4 @@ The complete code snippet for the preceding steps is available below. ``` -N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=fluent2) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. +N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=bootstrap4) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. diff --git a/chart-sdk/blazor/charts/how-to/selected-data.md b/chart-sdk/blazor/charts/how-to/selected-data.md index e9fb3609c..807e671c5 100644 --- a/chart-sdk/blazor/charts/how-to/selected-data.md +++ b/chart-sdk/blazor/charts/how-to/selected-data.md @@ -1,13 +1,13 @@ --- layout: post -title: How to Get Selected Data in Blazor Charts | Syncfusion® -description: Learn how to get selected data in Blazor Charts using Syncfusion. Use the OnSelectionChanged event to read SelectedDataValues into your model. -platform: Blazor -control: Charts +title: Visualize grid data in chart in Blazor Charts Component | Syncfusion® +description: Checkout and learn here all the features about Visualize grid data in chart in Blazor Charts component and more. +platform: chart-sdk +control: Chart documentation: ug --- -# How to Get Selected Data in Blazor Charts +# Visualize Grid Data in Chart in Blazor Charts Component Use the chart's [OnSelectionChanged](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartEvents.html#Syncfusion_Blazor_Charts_ChartEvents_OnSelectionChanged) event to get the list of selected data from the chart. @@ -141,4 +141,4 @@ The complete code snippet is available below. ``` -N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=fluent2) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. +N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=bootstrap5) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. diff --git a/chart-sdk/blazor/charts/how-to/synchronized-chart.md b/chart-sdk/blazor/charts/how-to/synchronized-chart.md index 1b8a398e2..c3b4d515b 100644 --- a/chart-sdk/blazor/charts/how-to/synchronized-chart.md +++ b/chart-sdk/blazor/charts/how-to/synchronized-chart.md @@ -1,15 +1,15 @@ --- layout: post -title: How to Synchronize Charts in Blazor Charts | Syncfusion® -description: Learn how to synchronize Blazor Charts using Syncfusion. Share tooltip, cursor, and selection across charts by sharing X-Y coordinates. -platform: Blazor -control: Charts +title: Synchronized Chart in Blazor Charts Component | Syncfusion® +description: Checkout and learn here all the features about Synchronized Chart in Blazor Charts component and much more details. +platform: chart-sdk +control: Chart documentation: ug --- -# How to Synchronize Charts in Blazor Charts +# Synchronized Chart in Blazor Charts Component A synchronized chart has the ability to access and interact with two or more charts at the same time. This means that actions performed on one chart, such as positioning a cursor, clicking on a specific point, or activating a tooltip, are reflected simultaneously on corresponding positions or data points across other synchronized charts based on their X-Y coordinates. @@ -405,4 +405,4 @@ You can maintain constant zoom levels across multiple charts using the [OnZoomEn Check out the JSON file used for the above samples from here [Synchronized Chart Data](https://www.syncfusion.com/downloads/support/directtrac/general/ze/synchronized-data641318336). -N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=fluent2) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. +N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=bootstrap5) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. diff --git a/chart-sdk/blazor/charts/how-to/threshold.md b/chart-sdk/blazor/charts/how-to/threshold.md index ba4e01977..1309f9855 100644 --- a/chart-sdk/blazor/charts/how-to/threshold.md +++ b/chart-sdk/blazor/charts/how-to/threshold.md @@ -1,15 +1,15 @@ --- layout: post -title: How to Add a Threshold in Blazor Charts | Syncfusion® -description: Learn how to add a threshold to a Blazor Chart using Syncfusion. Mark a threshold value with a horizontal stripline bound to a vertical axis. -platform: Blazor -control: Charts +title: Threshold in Chart in Blazor Charts Component | Syncfusion® +description: Checkout and learn here all the features about Threshold in Chart in Blazor Charts component and more. +platform: chart-sdk +control: Chart documentation: ug --- -# How to Add a Threshold in Blazor Charts +# Threshold in Chart in Blazor Charts Component The threshold level can be indicated in the chart using the [ChartStripline](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartStripline.html). Follow the steps below to add a threshold to the chart. @@ -112,4 +112,4 @@ The complete code snippet for the preceding steps is available below. } ``` -N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=fluent2) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. +N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=bootstrap5) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. diff --git a/chart-sdk/blazor/charts/how-to/tool-tip-table.md b/chart-sdk/blazor/charts/how-to/tool-tip-table.md index 598d61fb8..a95e75387 100644 --- a/chart-sdk/blazor/charts/how-to/tool-tip-table.md +++ b/chart-sdk/blazor/charts/how-to/tool-tip-table.md @@ -1,13 +1,13 @@ --- layout: post -title: How to Show a Table in Tooltip in Blazor Charts | Syncfusion® -description: Learn how to show a table in a Blazor Charts tooltip using Syncfusion. Use ChartTooltipSettings Template with a Razor template to render HTML. -platform: Blazor -control: Charts +title: Table in Tooltip in Blazor Charts Component | Syncfusion® +description: Checkout and learn here all the features about Table in Tooltip in Blazor Charts component and much more. +platform: chart-sdk +control: Chart documentation: ug --- -# How to Show a Table in Tooltip in Blazor Charts +# Table in Tooltip in Blazor Charts Component A table type tooltip can be created using the [Template](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartTooltipSettings.html#Syncfusion_Blazor_Charts_ChartTooltipSettings_Template) property in [ChartTooltipSettings](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartTooltipSettings.html). Follow the steps below to display a table inside the tooltip. @@ -118,4 +118,4 @@ When the mouse is moved over the chart series points, the tooltip is displayed i ``` -N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=fluent2) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. +N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=bootstrap5) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. diff --git a/chart-sdk/blazor/charts/images/appearance/blazor-chart-title-position-custom.webp b/chart-sdk/blazor/charts/images/appearance/blazor-chart-title-position-custom.webp index 947005e9f..c597b741d 100644 Binary files a/chart-sdk/blazor/charts/images/appearance/blazor-chart-title-position-custom.webp and b/chart-sdk/blazor/charts/images/appearance/blazor-chart-title-position-custom.webp differ diff --git a/chart-sdk/blazor/charts/images/appearance/blazor-chart-title-position.webp b/chart-sdk/blazor/charts/images/appearance/blazor-chart-title-position.webp index b4306cc9e..72a299278 100644 Binary files a/chart-sdk/blazor/charts/images/appearance/blazor-chart-title-position.webp and b/chart-sdk/blazor/charts/images/appearance/blazor-chart-title-position.webp differ diff --git a/chart-sdk/blazor/charts/images/axis-customization/blazor-column-chart-axis-at-opposed-position.webp b/chart-sdk/blazor/charts/images/axis-customization/blazor-column-chart-axis-at-opposed-position.webp index 0dc149dd5..9bffe554f 100644 Binary files a/chart-sdk/blazor/charts/images/axis-customization/blazor-column-chart-axis-at-opposed-position.webp and b/chart-sdk/blazor/charts/images/axis-customization/blazor-column-chart-axis-at-opposed-position.webp differ diff --git a/chart-sdk/blazor/charts/images/axis-customization/blazor-column-chart-axis-title-alignment.webp b/chart-sdk/blazor/charts/images/axis-customization/blazor-column-chart-axis-title-alignment.webp index 2d4bcd506..52e3dd389 100644 Binary files a/chart-sdk/blazor/charts/images/axis-customization/blazor-column-chart-axis-title-alignment.webp and b/chart-sdk/blazor/charts/images/axis-customization/blazor-column-chart-axis-title-alignment.webp differ diff --git a/chart-sdk/blazor/charts/images/axis-customization/blazor-column-chart-axis-title.webp b/chart-sdk/blazor/charts/images/axis-customization/blazor-column-chart-axis-title.webp index 01ae8ec58..bcf24bebe 100644 Binary files a/chart-sdk/blazor/charts/images/axis-customization/blazor-column-chart-axis-title.webp and b/chart-sdk/blazor/charts/images/axis-customization/blazor-column-chart-axis-title.webp differ diff --git a/chart-sdk/blazor/charts/images/axis-customization/blazor-column-chart-cross-axis.webp b/chart-sdk/blazor/charts/images/axis-customization/blazor-column-chart-cross-axis.webp index f47170f1d..4b365a4cc 100644 Binary files a/chart-sdk/blazor/charts/images/axis-customization/blazor-column-chart-cross-axis.webp and b/chart-sdk/blazor/charts/images/axis-customization/blazor-column-chart-cross-axis.webp differ diff --git a/chart-sdk/blazor/charts/images/axis-customization/blazor-column-chart-custom-gridline.webp b/chart-sdk/blazor/charts/images/axis-customization/blazor-column-chart-custom-gridline.webp index 9d0594908..f48e854a6 100644 Binary files a/chart-sdk/blazor/charts/images/axis-customization/blazor-column-chart-custom-gridline.webp and b/chart-sdk/blazor/charts/images/axis-customization/blazor-column-chart-custom-gridline.webp differ diff --git a/chart-sdk/blazor/charts/images/axis-customization/blazor-column-chart-custom-tick-lines.webp b/chart-sdk/blazor/charts/images/axis-customization/blazor-column-chart-custom-tick-lines.webp index 4c94a6875..19fb59fb2 100644 Binary files a/chart-sdk/blazor/charts/images/axis-customization/blazor-column-chart-custom-tick-lines.webp and b/chart-sdk/blazor/charts/images/axis-customization/blazor-column-chart-custom-tick-lines.webp differ diff --git a/chart-sdk/blazor/charts/images/axis-customization/blazor-column-chart-inversed-axis.webp b/chart-sdk/blazor/charts/images/axis-customization/blazor-column-chart-inversed-axis.webp index 8a9d62a42..793559b26 100644 Binary files a/chart-sdk/blazor/charts/images/axis-customization/blazor-column-chart-inversed-axis.webp and b/chart-sdk/blazor/charts/images/axis-customization/blazor-column-chart-inversed-axis.webp differ diff --git a/chart-sdk/blazor/charts/images/axis-customization/blazor-column-chart-multiple-axes.webp b/chart-sdk/blazor/charts/images/axis-customization/blazor-column-chart-multiple-axes.webp index ab1023380..1081a8bc0 100644 Binary files a/chart-sdk/blazor/charts/images/axis-customization/blazor-column-chart-multiple-axes.webp and b/chart-sdk/blazor/charts/images/axis-customization/blazor-column-chart-multiple-axes.webp differ diff --git a/chart-sdk/blazor/charts/images/axis-labels/blazor-chart-axis-label-in-edge.webp b/chart-sdk/blazor/charts/images/axis-labels/blazor-chart-axis-label-in-edge.webp index 72c3d7ad1..76b57b37e 100644 Binary files a/chart-sdk/blazor/charts/images/axis-labels/blazor-chart-axis-label-in-edge.webp and b/chart-sdk/blazor/charts/images/axis-labels/blazor-chart-axis-label-in-edge.webp differ diff --git a/chart-sdk/blazor/charts/images/axis-labels/blazor-column-chart-axis-custom-label.webp b/chart-sdk/blazor/charts/images/axis-labels/blazor-column-chart-axis-custom-label.webp index d4e45fedc..a9db678f7 100644 Binary files a/chart-sdk/blazor/charts/images/axis-labels/blazor-column-chart-axis-custom-label.webp and b/chart-sdk/blazor/charts/images/axis-labels/blazor-column-chart-axis-custom-label.webp differ diff --git a/chart-sdk/blazor/charts/images/axis-labels/blazor-column-chart-axis-label-alignment.webp b/chart-sdk/blazor/charts/images/axis-labels/blazor-column-chart-axis-label-alignment.webp index 56617a495..d1bdbbc09 100644 Binary files a/chart-sdk/blazor/charts/images/axis-labels/blazor-column-chart-axis-label-alignment.webp and b/chart-sdk/blazor/charts/images/axis-labels/blazor-column-chart-axis-label-alignment.webp differ diff --git a/chart-sdk/blazor/charts/images/axis-labels/blazor-column-chart-axis-label-in-rotate45.webp b/chart-sdk/blazor/charts/images/axis-labels/blazor-column-chart-axis-label-in-rotate45.webp index 65a676021..eeb08f744 100644 Binary files a/chart-sdk/blazor/charts/images/axis-labels/blazor-column-chart-axis-label-in-rotate45.webp and b/chart-sdk/blazor/charts/images/axis-labels/blazor-column-chart-axis-label-in-rotate45.webp differ diff --git a/chart-sdk/blazor/charts/images/axis-labels/blazor-column-chart-axis-label-in-rotate90.webp b/chart-sdk/blazor/charts/images/axis-labels/blazor-column-chart-axis-label-in-rotate90.webp index 1c377c9c5..805b27fbf 100644 Binary files a/chart-sdk/blazor/charts/images/axis-labels/blazor-column-chart-axis-label-in-rotate90.webp and b/chart-sdk/blazor/charts/images/axis-labels/blazor-column-chart-axis-label-in-rotate90.webp differ diff --git a/chart-sdk/blazor/charts/images/axis-labels/blazor-column-chart-axis-label-overflow.webp b/chart-sdk/blazor/charts/images/axis-labels/blazor-column-chart-axis-label-overflow.webp index c1ecf17a1..2a7ac5013 100644 Binary files a/chart-sdk/blazor/charts/images/axis-labels/blazor-column-chart-axis-label-overflow.webp and b/chart-sdk/blazor/charts/images/axis-labels/blazor-column-chart-axis-label-overflow.webp differ diff --git a/chart-sdk/blazor/charts/images/axis-labels/blazor-column-chart-axis-label-position.webp b/chart-sdk/blazor/charts/images/axis-labels/blazor-column-chart-axis-label-position.webp index 4919b4707..b63bee3f0 100644 Binary files a/chart-sdk/blazor/charts/images/axis-labels/blazor-column-chart-axis-label-position.webp and b/chart-sdk/blazor/charts/images/axis-labels/blazor-column-chart-axis-label-position.webp differ diff --git a/chart-sdk/blazor/charts/images/axis-labels/blazor-column-chart-axis-label-trim.webp b/chart-sdk/blazor/charts/images/axis-labels/blazor-column-chart-axis-label-trim.webp index 36af5ceee..041fc12ba 100644 Binary files a/chart-sdk/blazor/charts/images/axis-labels/blazor-column-chart-axis-label-trim.webp and b/chart-sdk/blazor/charts/images/axis-labels/blazor-column-chart-axis-label-trim.webp differ diff --git a/chart-sdk/blazor/charts/images/axis-labels/blazor-column-chart-axis-line-break-label.webp b/chart-sdk/blazor/charts/images/axis-labels/blazor-column-chart-axis-line-break-label.webp index e206bd844..3e8119be9 100644 Binary files a/chart-sdk/blazor/charts/images/axis-labels/blazor-column-chart-axis-line-break-label.webp and b/chart-sdk/blazor/charts/images/axis-labels/blazor-column-chart-axis-line-break-label.webp differ diff --git a/chart-sdk/blazor/charts/images/axis-labels/blazor-column-chart-axis-text-template.webp b/chart-sdk/blazor/charts/images/axis-labels/blazor-column-chart-axis-text-template.webp index 61a15a05e..cb9e9f000 100644 Binary files a/chart-sdk/blazor/charts/images/axis-labels/blazor-column-chart-axis-text-template.webp and b/chart-sdk/blazor/charts/images/axis-labels/blazor-column-chart-axis-text-template.webp differ diff --git a/chart-sdk/blazor/charts/images/axis-labels/blazor-column-chart-custom-axis-label.webp b/chart-sdk/blazor/charts/images/axis-labels/blazor-column-chart-custom-axis-label.webp index 788c9a961..835d1aad2 100644 Binary files a/chart-sdk/blazor/charts/images/axis-labels/blazor-column-chart-custom-axis-label.webp and b/chart-sdk/blazor/charts/images/axis-labels/blazor-column-chart-custom-axis-label.webp differ diff --git a/chart-sdk/blazor/charts/images/axis-labels/blazor-column-chart-hide-smart-axis-label.webp b/chart-sdk/blazor/charts/images/axis-labels/blazor-column-chart-hide-smart-axis-label.webp index bfb94a49d..60c01a5cc 100644 Binary files a/chart-sdk/blazor/charts/images/axis-labels/blazor-column-chart-hide-smart-axis-label.webp and b/chart-sdk/blazor/charts/images/axis-labels/blazor-column-chart-hide-smart-axis-label.webp differ diff --git a/chart-sdk/blazor/charts/images/axis-labels/blazor-column-chart-label-customization.webp b/chart-sdk/blazor/charts/images/axis-labels/blazor-column-chart-label-customization.webp index e376fd744..97fed3d9c 100644 Binary files a/chart-sdk/blazor/charts/images/axis-labels/blazor-column-chart-label-customization.webp and b/chart-sdk/blazor/charts/images/axis-labels/blazor-column-chart-label-customization.webp differ diff --git a/chart-sdk/blazor/charts/images/axis-labels/blazor-column-chart-label-with-custom-border.webp b/chart-sdk/blazor/charts/images/axis-labels/blazor-column-chart-label-with-custom-border.webp index d5c516717..9476134ff 100644 Binary files a/chart-sdk/blazor/charts/images/axis-labels/blazor-column-chart-label-with-custom-border.webp and b/chart-sdk/blazor/charts/images/axis-labels/blazor-column-chart-label-with-custom-border.webp differ diff --git a/chart-sdk/blazor/charts/images/axis-labels/blazor-column-chart-multi-labels.webp b/chart-sdk/blazor/charts/images/axis-labels/blazor-column-chart-multi-labels.webp index 7af0a704d..35f44035a 100644 Binary files a/chart-sdk/blazor/charts/images/axis-labels/blazor-column-chart-multi-labels.webp and b/chart-sdk/blazor/charts/images/axis-labels/blazor-column-chart-multi-labels.webp differ diff --git a/chart-sdk/blazor/charts/images/category-axis/blazor-chart-axis-range-and-interval.webp b/chart-sdk/blazor/charts/images/category-axis/blazor-chart-axis-range-and-interval.webp index 59ddc1ce8..0e9a1659b 100644 Binary files a/chart-sdk/blazor/charts/images/category-axis/blazor-chart-axis-range-and-interval.webp and b/chart-sdk/blazor/charts/images/category-axis/blazor-chart-axis-range-and-interval.webp differ diff --git a/chart-sdk/blazor/charts/images/category-axis/blazor-chart-default-axis.webp b/chart-sdk/blazor/charts/images/category-axis/blazor-chart-default-axis.webp index 56076b71c..b440fbbce 100644 Binary files a/chart-sdk/blazor/charts/images/category-axis/blazor-chart-default-axis.webp and b/chart-sdk/blazor/charts/images/category-axis/blazor-chart-default-axis.webp differ diff --git a/chart-sdk/blazor/charts/images/category-axis/blazor-chart-index-category-axis.webp b/chart-sdk/blazor/charts/images/category-axis/blazor-chart-index-category-axis.webp index e7d67316f..1646dfe01 100644 Binary files a/chart-sdk/blazor/charts/images/category-axis/blazor-chart-index-category-axis.webp and b/chart-sdk/blazor/charts/images/category-axis/blazor-chart-index-category-axis.webp differ diff --git a/chart-sdk/blazor/charts/images/category-axis/blazor-diagram-label-position.webp b/chart-sdk/blazor/charts/images/category-axis/blazor-diagram-label-position.webp index 433414527..b2d6ae1d5 100644 Binary files a/chart-sdk/blazor/charts/images/category-axis/blazor-diagram-label-position.webp and b/chart-sdk/blazor/charts/images/category-axis/blazor-diagram-label-position.webp differ diff --git a/chart-sdk/blazor/charts/images/chart-dimensions/blazor-chart-size-for-container.webp b/chart-sdk/blazor/charts/images/chart-dimensions/blazor-chart-size-for-container.webp index 299393f44..1c550da8a 100644 Binary files a/chart-sdk/blazor/charts/images/chart-dimensions/blazor-chart-size-for-container.webp and b/chart-sdk/blazor/charts/images/chart-dimensions/blazor-chart-size-for-container.webp differ diff --git a/chart-sdk/blazor/charts/images/chart-dimensions/blazor-chart-size-in-percentage.webp b/chart-sdk/blazor/charts/images/chart-dimensions/blazor-chart-size-in-percentage.webp index 101ebc681..5d3f97182 100644 Binary files a/chart-sdk/blazor/charts/images/chart-dimensions/blazor-chart-size-in-percentage.webp and b/chart-sdk/blazor/charts/images/chart-dimensions/blazor-chart-size-in-percentage.webp differ diff --git a/chart-sdk/blazor/charts/images/chart-dimensions/blazor-chart-size-in-pixel.webp b/chart-sdk/blazor/charts/images/chart-dimensions/blazor-chart-size-in-pixel.webp index 89c5a83a1..654ec3c0f 100644 Binary files a/chart-sdk/blazor/charts/images/chart-dimensions/blazor-chart-size-in-pixel.webp and b/chart-sdk/blazor/charts/images/chart-dimensions/blazor-chart-size-in-pixel.webp differ diff --git a/chart-sdk/blazor/charts/images/chart-types-images/blazor-area-chart.webp b/chart-sdk/blazor/charts/images/chart-types-images/blazor-area-chart.webp index 5c27b2975..a57a93b8a 100644 Binary files a/chart-sdk/blazor/charts/images/chart-types-images/blazor-area-chart.webp and b/chart-sdk/blazor/charts/images/chart-types-images/blazor-area-chart.webp differ diff --git a/chart-sdk/blazor/charts/images/chart-types-images/blazor-bar-chart-corner-radius-using_onPointRenderEvent.webp b/chart-sdk/blazor/charts/images/chart-types-images/blazor-bar-chart-corner-radius-using_onPointRenderEvent.webp index 882b69872..5d3693af4 100644 Binary files a/chart-sdk/blazor/charts/images/chart-types-images/blazor-bar-chart-corner-radius-using_onPointRenderEvent.webp and b/chart-sdk/blazor/charts/images/chart-types-images/blazor-bar-chart-corner-radius-using_onPointRenderEvent.webp differ diff --git a/chart-sdk/blazor/charts/images/chart-types-images/blazor-bar-chart-corner-radius.webp b/chart-sdk/blazor/charts/images/chart-types-images/blazor-bar-chart-corner-radius.webp index 093a21095..aca71e07d 100644 Binary files a/chart-sdk/blazor/charts/images/chart-types-images/blazor-bar-chart-corner-radius.webp and b/chart-sdk/blazor/charts/images/chart-types-images/blazor-bar-chart-corner-radius.webp differ diff --git a/chart-sdk/blazor/charts/images/chart-types-images/blazor-bar-chart-width-in-pixels.webp b/chart-sdk/blazor/charts/images/chart-types-images/blazor-bar-chart-width-in-pixels.webp index 0dfc4c4bc..a2ecbfb0e 100644 Binary files a/chart-sdk/blazor/charts/images/chart-types-images/blazor-bar-chart-width-in-pixels.webp and b/chart-sdk/blazor/charts/images/chart-types-images/blazor-bar-chart-width-in-pixels.webp differ diff --git a/chart-sdk/blazor/charts/images/chart-types-images/blazor-bar-chart.webp b/chart-sdk/blazor/charts/images/chart-types-images/blazor-bar-chart.webp index c0627c1cc..449d17b98 100644 Binary files a/chart-sdk/blazor/charts/images/chart-types-images/blazor-bar-chart.webp and b/chart-sdk/blazor/charts/images/chart-types-images/blazor-bar-chart.webp differ diff --git a/chart-sdk/blazor/charts/images/chart-types-images/blazor-bubble-chart.webp b/chart-sdk/blazor/charts/images/chart-types-images/blazor-bubble-chart.webp index 0319f5fb9..4b4fc5ed3 100644 Binary files a/chart-sdk/blazor/charts/images/chart-types-images/blazor-bubble-chart.webp and b/chart-sdk/blazor/charts/images/chart-types-images/blazor-bubble-chart.webp differ diff --git a/chart-sdk/blazor/charts/images/chart-types-images/blazor-column-chart-corner-radius-onPointRender.webp b/chart-sdk/blazor/charts/images/chart-types-images/blazor-column-chart-corner-radius-onPointRender.webp index 48f2b17d1..3c993fa85 100644 Binary files a/chart-sdk/blazor/charts/images/chart-types-images/blazor-column-chart-corner-radius-onPointRender.webp and b/chart-sdk/blazor/charts/images/chart-types-images/blazor-column-chart-corner-radius-onPointRender.webp differ diff --git a/chart-sdk/blazor/charts/images/chart-types-images/blazor-column-chart-corner-radius.webp b/chart-sdk/blazor/charts/images/chart-types-images/blazor-column-chart-corner-radius.webp index 4f2a2958d..6f94da144 100644 Binary files a/chart-sdk/blazor/charts/images/chart-types-images/blazor-column-chart-corner-radius.webp and b/chart-sdk/blazor/charts/images/chart-types-images/blazor-column-chart-corner-radius.webp differ diff --git a/chart-sdk/blazor/charts/images/chart-types-images/blazor-column-chart-width-in-pixels.webp b/chart-sdk/blazor/charts/images/chart-types-images/blazor-column-chart-width-in-pixels.webp index f222a614a..a57b4bab1 100644 Binary files a/chart-sdk/blazor/charts/images/chart-types-images/blazor-column-chart-width-in-pixels.webp and b/chart-sdk/blazor/charts/images/chart-types-images/blazor-column-chart-width-in-pixels.webp differ diff --git a/chart-sdk/blazor/charts/images/chart-types-images/blazor-column-chart.webp b/chart-sdk/blazor/charts/images/chart-types-images/blazor-column-chart.webp index c336f4dad..7d8a7d62e 100644 Binary files a/chart-sdk/blazor/charts/images/chart-types-images/blazor-column-chart.webp and b/chart-sdk/blazor/charts/images/chart-types-images/blazor-column-chart.webp differ diff --git a/chart-sdk/blazor/charts/images/chart-types-images/blazor-high-low-open-close-chart.webp b/chart-sdk/blazor/charts/images/chart-types-images/blazor-high-low-open-close-chart.webp index 243cd9ef9..bac777a29 100644 Binary files a/chart-sdk/blazor/charts/images/chart-types-images/blazor-high-low-open-close-chart.webp and b/chart-sdk/blazor/charts/images/chart-types-images/blazor-high-low-open-close-chart.webp differ diff --git a/chart-sdk/blazor/charts/images/chart-types-images/blazor-line-chart.webp b/chart-sdk/blazor/charts/images/chart-types-images/blazor-line-chart.webp index 4075d3b05..e69040eb8 100644 Binary files a/chart-sdk/blazor/charts/images/chart-types-images/blazor-line-chart.webp and b/chart-sdk/blazor/charts/images/chart-types-images/blazor-line-chart.webp differ diff --git a/chart-sdk/blazor/charts/images/chart-types-images/blazor-pareto-chart.webp b/chart-sdk/blazor/charts/images/chart-types-images/blazor-pareto-chart.webp deleted file mode 100644 index cdd4b36ee..000000000 Binary files a/chart-sdk/blazor/charts/images/chart-types-images/blazor-pareto-chart.webp and /dev/null differ diff --git a/chart-sdk/blazor/charts/images/chart-types-images/blazor-range-area-chart.webp b/chart-sdk/blazor/charts/images/chart-types-images/blazor-range-area-chart.webp index 6002a9d2d..a6d693b4d 100644 Binary files a/chart-sdk/blazor/charts/images/chart-types-images/blazor-range-area-chart.webp and b/chart-sdk/blazor/charts/images/chart-types-images/blazor-range-area-chart.webp differ diff --git a/chart-sdk/blazor/charts/images/chart-types-images/blazor-range-column-chart.webp b/chart-sdk/blazor/charts/images/chart-types-images/blazor-range-column-chart.webp index 7fc887dac..d6d696444 100644 Binary files a/chart-sdk/blazor/charts/images/chart-types-images/blazor-range-column-chart.webp and b/chart-sdk/blazor/charts/images/chart-types-images/blazor-range-column-chart.webp differ diff --git a/chart-sdk/blazor/charts/images/chart-types-images/blazor-range-column-corner-radius-OnPointRender.webp b/chart-sdk/blazor/charts/images/chart-types-images/blazor-range-column-corner-radius-OnPointRender.webp index 8a1e21979..ec7e4fbf2 100644 Binary files a/chart-sdk/blazor/charts/images/chart-types-images/blazor-range-column-corner-radius-OnPointRender.webp and b/chart-sdk/blazor/charts/images/chart-types-images/blazor-range-column-corner-radius-OnPointRender.webp differ diff --git a/chart-sdk/blazor/charts/images/chart-types-images/blazor-range-column-corner-radius.webp b/chart-sdk/blazor/charts/images/chart-types-images/blazor-range-column-corner-radius.webp index fcb575862..ffa3b96f8 100644 Binary files a/chart-sdk/blazor/charts/images/chart-types-images/blazor-range-column-corner-radius.webp and b/chart-sdk/blazor/charts/images/chart-types-images/blazor-range-column-corner-radius.webp differ diff --git a/chart-sdk/blazor/charts/images/chart-types-images/blazor-range-step-area.webp b/chart-sdk/blazor/charts/images/chart-types-images/blazor-range-step-area.webp index acd0dc7d5..9d9ac71b9 100644 Binary files a/chart-sdk/blazor/charts/images/chart-types-images/blazor-range-step-area.webp and b/chart-sdk/blazor/charts/images/chart-types-images/blazor-range-step-area.webp differ diff --git a/chart-sdk/blazor/charts/images/chart-types-images/blazor-scatter-chart.webp b/chart-sdk/blazor/charts/images/chart-types-images/blazor-scatter-chart.webp index 391c71329..0b7a9fb43 100644 Binary files a/chart-sdk/blazor/charts/images/chart-types-images/blazor-scatter-chart.webp and b/chart-sdk/blazor/charts/images/chart-types-images/blazor-scatter-chart.webp differ diff --git a/chart-sdk/blazor/charts/images/chart-types-images/blazor-spline-area-chart.webp b/chart-sdk/blazor/charts/images/chart-types-images/blazor-spline-area-chart.webp index b16328455..015242482 100644 Binary files a/chart-sdk/blazor/charts/images/chart-types-images/blazor-spline-area-chart.webp and b/chart-sdk/blazor/charts/images/chart-types-images/blazor-spline-area-chart.webp differ diff --git a/chart-sdk/blazor/charts/images/chart-types-images/blazor-spline-chart.webp b/chart-sdk/blazor/charts/images/chart-types-images/blazor-spline-chart.webp index 7ac7bb7c8..1dbe50188 100644 Binary files a/chart-sdk/blazor/charts/images/chart-types-images/blazor-spline-chart.webp and b/chart-sdk/blazor/charts/images/chart-types-images/blazor-spline-chart.webp differ diff --git a/chart-sdk/blazor/charts/images/chart-types-images/blazor-spline-range-area-chart.webp b/chart-sdk/blazor/charts/images/chart-types-images/blazor-spline-range-area-chart.webp index d28c149fc..9018ff753 100644 Binary files a/chart-sdk/blazor/charts/images/chart-types-images/blazor-spline-range-area-chart.webp and b/chart-sdk/blazor/charts/images/chart-types-images/blazor-spline-range-area-chart.webp differ diff --git a/chart-sdk/blazor/charts/images/chart-types-images/blazor-stacked-area-100-chart.webp b/chart-sdk/blazor/charts/images/chart-types-images/blazor-stacked-area-100-chart.webp index 9835b7ff6..311ec6570 100644 Binary files a/chart-sdk/blazor/charts/images/chart-types-images/blazor-stacked-area-100-chart.webp and b/chart-sdk/blazor/charts/images/chart-types-images/blazor-stacked-area-100-chart.webp differ diff --git a/chart-sdk/blazor/charts/images/chart-types-images/blazor-stacked-area-chart.webp b/chart-sdk/blazor/charts/images/chart-types-images/blazor-stacked-area-chart.webp index 4384e6314..91448c5b5 100644 Binary files a/chart-sdk/blazor/charts/images/chart-types-images/blazor-stacked-area-chart.webp and b/chart-sdk/blazor/charts/images/chart-types-images/blazor-stacked-area-chart.webp differ diff --git a/chart-sdk/blazor/charts/images/chart-types-images/blazor-stacked-bar-100-chart-corner-radius-onPointrender.webp b/chart-sdk/blazor/charts/images/chart-types-images/blazor-stacked-bar-100-chart-corner-radius-onPointrender.webp index cfba06058..f0d845f58 100644 Binary files a/chart-sdk/blazor/charts/images/chart-types-images/blazor-stacked-bar-100-chart-corner-radius-onPointrender.webp and b/chart-sdk/blazor/charts/images/chart-types-images/blazor-stacked-bar-100-chart-corner-radius-onPointrender.webp differ diff --git a/chart-sdk/blazor/charts/images/chart-types-images/blazor-stacked-bar-100-chart-corner-radius.webp b/chart-sdk/blazor/charts/images/chart-types-images/blazor-stacked-bar-100-chart-corner-radius.webp index 36d7a196b..47c646d55 100644 Binary files a/chart-sdk/blazor/charts/images/chart-types-images/blazor-stacked-bar-100-chart-corner-radius.webp and b/chart-sdk/blazor/charts/images/chart-types-images/blazor-stacked-bar-100-chart-corner-radius.webp differ diff --git a/chart-sdk/blazor/charts/images/chart-types-images/blazor-stacked-bar-100-chart.webp b/chart-sdk/blazor/charts/images/chart-types-images/blazor-stacked-bar-100-chart.webp index 68d0567ec..081856ba7 100644 Binary files a/chart-sdk/blazor/charts/images/chart-types-images/blazor-stacked-bar-100-chart.webp and b/chart-sdk/blazor/charts/images/chart-types-images/blazor-stacked-bar-100-chart.webp differ diff --git a/chart-sdk/blazor/charts/images/chart-types-images/blazor-stacked-bar-chart-corner-radius-onPointRender.webp b/chart-sdk/blazor/charts/images/chart-types-images/blazor-stacked-bar-chart-corner-radius-onPointRender.webp index 9307084b8..9f389ba47 100644 Binary files a/chart-sdk/blazor/charts/images/chart-types-images/blazor-stacked-bar-chart-corner-radius-onPointRender.webp and b/chart-sdk/blazor/charts/images/chart-types-images/blazor-stacked-bar-chart-corner-radius-onPointRender.webp differ diff --git a/chart-sdk/blazor/charts/images/chart-types-images/blazor-stacked-bar-chart-corner-radius.webp b/chart-sdk/blazor/charts/images/chart-types-images/blazor-stacked-bar-chart-corner-radius.webp index 401ca6105..49b1a7e70 100644 Binary files a/chart-sdk/blazor/charts/images/chart-types-images/blazor-stacked-bar-chart-corner-radius.webp and b/chart-sdk/blazor/charts/images/chart-types-images/blazor-stacked-bar-chart-corner-radius.webp differ diff --git a/chart-sdk/blazor/charts/images/chart-types-images/blazor-stacked-bar-chart.webp b/chart-sdk/blazor/charts/images/chart-types-images/blazor-stacked-bar-chart.webp index 9cfdba6a1..b37b390d7 100644 Binary files a/chart-sdk/blazor/charts/images/chart-types-images/blazor-stacked-bar-chart.webp and b/chart-sdk/blazor/charts/images/chart-types-images/blazor-stacked-bar-chart.webp differ diff --git a/chart-sdk/blazor/charts/images/chart-types-images/blazor-stacked-column-100-chart-corner-radius-onPointRender.webp b/chart-sdk/blazor/charts/images/chart-types-images/blazor-stacked-column-100-chart-corner-radius-onPointRender.webp index a0fbdf974..b9e3e9092 100644 Binary files a/chart-sdk/blazor/charts/images/chart-types-images/blazor-stacked-column-100-chart-corner-radius-onPointRender.webp and b/chart-sdk/blazor/charts/images/chart-types-images/blazor-stacked-column-100-chart-corner-radius-onPointRender.webp differ diff --git a/chart-sdk/blazor/charts/images/chart-types-images/blazor-stacked-column-100-chart-corner-radius.webp b/chart-sdk/blazor/charts/images/chart-types-images/blazor-stacked-column-100-chart-corner-radius.webp index 52475f7d6..b16978017 100644 Binary files a/chart-sdk/blazor/charts/images/chart-types-images/blazor-stacked-column-100-chart-corner-radius.webp and b/chart-sdk/blazor/charts/images/chart-types-images/blazor-stacked-column-100-chart-corner-radius.webp differ diff --git a/chart-sdk/blazor/charts/images/chart-types-images/blazor-stacked-column-100-chart.webp b/chart-sdk/blazor/charts/images/chart-types-images/blazor-stacked-column-100-chart.webp index e9eeec73c..fb904e4ea 100644 Binary files a/chart-sdk/blazor/charts/images/chart-types-images/blazor-stacked-column-100-chart.webp and b/chart-sdk/blazor/charts/images/chart-types-images/blazor-stacked-column-100-chart.webp differ diff --git a/chart-sdk/blazor/charts/images/chart-types-images/blazor-stacked-column-chart-corner-radius-onPointRender.webp b/chart-sdk/blazor/charts/images/chart-types-images/blazor-stacked-column-chart-corner-radius-onPointRender.webp index 0daeea73d..1f8e96f56 100644 Binary files a/chart-sdk/blazor/charts/images/chart-types-images/blazor-stacked-column-chart-corner-radius-onPointRender.webp and b/chart-sdk/blazor/charts/images/chart-types-images/blazor-stacked-column-chart-corner-radius-onPointRender.webp differ diff --git a/chart-sdk/blazor/charts/images/chart-types-images/blazor-stacked-column-chart-corner-radius.webp b/chart-sdk/blazor/charts/images/chart-types-images/blazor-stacked-column-chart-corner-radius.webp index b3a2464bd..0de38f6a8 100644 Binary files a/chart-sdk/blazor/charts/images/chart-types-images/blazor-stacked-column-chart-corner-radius.webp and b/chart-sdk/blazor/charts/images/chart-types-images/blazor-stacked-column-chart-corner-radius.webp differ diff --git a/chart-sdk/blazor/charts/images/chart-types-images/blazor-stacked-column-chart.webp b/chart-sdk/blazor/charts/images/chart-types-images/blazor-stacked-column-chart.webp index 9d9da75f9..8f8db215f 100644 Binary files a/chart-sdk/blazor/charts/images/chart-types-images/blazor-stacked-column-chart.webp and b/chart-sdk/blazor/charts/images/chart-types-images/blazor-stacked-column-chart.webp differ diff --git a/chart-sdk/blazor/charts/images/chart-types-images/blazor-stacked-line-100-chart.webp b/chart-sdk/blazor/charts/images/chart-types-images/blazor-stacked-line-100-chart.webp index af36f21ac..f46918787 100644 Binary files a/chart-sdk/blazor/charts/images/chart-types-images/blazor-stacked-line-100-chart.webp and b/chart-sdk/blazor/charts/images/chart-types-images/blazor-stacked-line-100-chart.webp differ diff --git a/chart-sdk/blazor/charts/images/chart-types-images/blazor-stacked-line-chart.webp b/chart-sdk/blazor/charts/images/chart-types-images/blazor-stacked-line-chart.webp index 740ade3f0..1f9c6fb95 100644 Binary files a/chart-sdk/blazor/charts/images/chart-types-images/blazor-stacked-line-chart.webp and b/chart-sdk/blazor/charts/images/chart-types-images/blazor-stacked-line-chart.webp differ diff --git a/chart-sdk/blazor/charts/images/chart-types-images/blazor-step-area-chart.webp b/chart-sdk/blazor/charts/images/chart-types-images/blazor-step-area-chart.webp index d32e2c655..5573b7ee7 100644 Binary files a/chart-sdk/blazor/charts/images/chart-types-images/blazor-step-area-chart.webp and b/chart-sdk/blazor/charts/images/chart-types-images/blazor-step-area-chart.webp differ diff --git a/chart-sdk/blazor/charts/images/chart-types-images/blazor-step-line-chart.webp b/chart-sdk/blazor/charts/images/chart-types-images/blazor-step-line-chart.webp index 3da58b8e1..5abe23642 100644 Binary files a/chart-sdk/blazor/charts/images/chart-types-images/blazor-step-line-chart.webp and b/chart-sdk/blazor/charts/images/chart-types-images/blazor-step-line-chart.webp differ diff --git a/chart-sdk/blazor/charts/images/chart-types-images/blazor-vertical-spline-chart.webp b/chart-sdk/blazor/charts/images/chart-types-images/blazor-vertical-spline-chart.webp deleted file mode 100644 index e826c124f..000000000 Binary files a/chart-sdk/blazor/charts/images/chart-types-images/blazor-vertical-spline-chart.webp and /dev/null differ diff --git a/chart-sdk/blazor/charts/images/chart-types-images/blazor-waterfall-chart-corner-radius-onPointRender.webp b/chart-sdk/blazor/charts/images/chart-types-images/blazor-waterfall-chart-corner-radius-onPointRender.webp index 8f70d8312..f05888a9d 100644 Binary files a/chart-sdk/blazor/charts/images/chart-types-images/blazor-waterfall-chart-corner-radius-onPointRender.webp and b/chart-sdk/blazor/charts/images/chart-types-images/blazor-waterfall-chart-corner-radius-onPointRender.webp differ diff --git a/chart-sdk/blazor/charts/images/chart-types-images/lazyload-column.webp b/chart-sdk/blazor/charts/images/chart-types-images/lazyload-column.webp deleted file mode 100644 index 522096df4..000000000 Binary files a/chart-sdk/blazor/charts/images/chart-types-images/lazyload-column.webp and /dev/null differ diff --git a/chart-sdk/blazor/charts/images/crosshair/blazor-line-chart-with-highlight-background-trackball.webp b/chart-sdk/blazor/charts/images/crosshair/blazor-line-chart-with-highlight-background-trackball.webp index 910b4b53a..b0f36d85b 100644 Binary files a/chart-sdk/blazor/charts/images/crosshair/blazor-line-chart-with-highlight-background-trackball.webp and b/chart-sdk/blazor/charts/images/crosshair/blazor-line-chart-with-highlight-background-trackball.webp differ diff --git a/chart-sdk/blazor/charts/images/datetime/blazor-line-chart-axis-based-on-interval.webp b/chart-sdk/blazor/charts/images/datetime/blazor-line-chart-axis-based-on-interval.webp index 500d7fa42..eabdcc627 100644 Binary files a/chart-sdk/blazor/charts/images/datetime/blazor-line-chart-axis-based-on-interval.webp and b/chart-sdk/blazor/charts/images/datetime/blazor-line-chart-axis-based-on-interval.webp differ diff --git a/chart-sdk/blazor/charts/images/datetime/blazor-line-chart-axis-based-on-range.webp b/chart-sdk/blazor/charts/images/datetime/blazor-line-chart-axis-based-on-range.webp index 2ed85cbb1..20c2b796c 100644 Binary files a/chart-sdk/blazor/charts/images/datetime/blazor-line-chart-axis-based-on-range.webp and b/chart-sdk/blazor/charts/images/datetime/blazor-line-chart-axis-based-on-range.webp differ diff --git a/chart-sdk/blazor/charts/images/datetime/blazor-line-chart-axis-label-format.webp b/chart-sdk/blazor/charts/images/datetime/blazor-line-chart-axis-label-format.webp index d4718e923..a1a0a420f 100644 Binary files a/chart-sdk/blazor/charts/images/datetime/blazor-line-chart-axis-label-format.webp and b/chart-sdk/blazor/charts/images/datetime/blazor-line-chart-axis-label-format.webp differ diff --git a/chart-sdk/blazor/charts/images/datetime/blazor-line-chart-datetime-axis.webp b/chart-sdk/blazor/charts/images/datetime/blazor-line-chart-datetime-axis.webp index 3651527b8..386a4b193 100644 Binary files a/chart-sdk/blazor/charts/images/datetime/blazor-line-chart-datetime-axis.webp and b/chart-sdk/blazor/charts/images/datetime/blazor-line-chart-datetime-axis.webp differ diff --git a/chart-sdk/blazor/charts/images/datetime/blazor-line-chart-with-datetime-axis.webp b/chart-sdk/blazor/charts/images/datetime/blazor-line-chart-with-datetime-axis.webp index 5ff2843a9..efc0cab0d 100644 Binary files a/chart-sdk/blazor/charts/images/datetime/blazor-line-chart-with-datetime-axis.webp and b/chart-sdk/blazor/charts/images/datetime/blazor-line-chart-with-datetime-axis.webp differ diff --git a/chart-sdk/blazor/charts/images/financial-types/blazor-candle-chart.webp b/chart-sdk/blazor/charts/images/financial-types/blazor-candle-chart.webp index d2150142a..f15fd19f9 100644 Binary files a/chart-sdk/blazor/charts/images/financial-types/blazor-candle-chart.webp and b/chart-sdk/blazor/charts/images/financial-types/blazor-candle-chart.webp differ diff --git a/chart-sdk/blazor/charts/images/financial-types/blazor-hilo-chart.webp b/chart-sdk/blazor/charts/images/financial-types/blazor-hilo-chart.webp index 4943b6083..c164e45ef 100644 Binary files a/chart-sdk/blazor/charts/images/financial-types/blazor-hilo-chart.webp and b/chart-sdk/blazor/charts/images/financial-types/blazor-hilo-chart.webp differ diff --git a/chart-sdk/blazor/charts/images/getting-started/blazor-chart-column.webp b/chart-sdk/blazor/charts/images/getting-started/blazor-chart-column.webp index f7e4f525e..5e25086bc 100644 Binary files a/chart-sdk/blazor/charts/images/getting-started/blazor-chart-column.webp and b/chart-sdk/blazor/charts/images/getting-started/blazor-chart-column.webp differ diff --git a/chart-sdk/blazor/charts/images/getting-started/blazor-chart.webp b/chart-sdk/blazor/charts/images/getting-started/blazor-chart.webp index 6a92f6597..da351fe16 100644 Binary files a/chart-sdk/blazor/charts/images/getting-started/blazor-chart.webp and b/chart-sdk/blazor/charts/images/getting-started/blazor-chart.webp differ diff --git a/chart-sdk/blazor/charts/images/last value/blazor-column-chart-last-value-label-customization.webp b/chart-sdk/blazor/charts/images/last value/blazor-column-chart-last-value-label-customization.webp deleted file mode 100644 index a61c9824d..000000000 Binary files a/chart-sdk/blazor/charts/images/last value/blazor-column-chart-last-value-label-customization.webp and /dev/null differ diff --git a/chart-sdk/blazor/charts/images/last value/blazor-column-chart-last-value-label.webp b/chart-sdk/blazor/charts/images/last value/blazor-column-chart-last-value-label.webp deleted file mode 100644 index b622fe567..000000000 Binary files a/chart-sdk/blazor/charts/images/last value/blazor-column-chart-last-value-label.webp and /dev/null differ diff --git a/chart-sdk/blazor/charts/images/logarithmic-axis/blazor-chart-logarithmic-axis.webp b/chart-sdk/blazor/charts/images/logarithmic-axis/blazor-chart-logarithmic-axis.webp index 50165e81f..825dff40c 100644 Binary files a/chart-sdk/blazor/charts/images/logarithmic-axis/blazor-chart-logarithmic-axis.webp and b/chart-sdk/blazor/charts/images/logarithmic-axis/blazor-chart-logarithmic-axis.webp differ diff --git a/chart-sdk/blazor/charts/images/logarithmic-axis/blazor-line-chart-axis-based-on-range.webp b/chart-sdk/blazor/charts/images/logarithmic-axis/blazor-line-chart-axis-based-on-range.webp index 80ecc28b1..66af6ab8f 100644 Binary files a/chart-sdk/blazor/charts/images/logarithmic-axis/blazor-line-chart-axis-based-on-range.webp and b/chart-sdk/blazor/charts/images/logarithmic-axis/blazor-line-chart-axis-based-on-range.webp differ diff --git a/chart-sdk/blazor/charts/images/logarithmic-axis/blazor-line-chart-axis-custom-label-format.webp b/chart-sdk/blazor/charts/images/logarithmic-axis/blazor-line-chart-axis-custom-label-format.webp index 7d2080bdb..38f0e3c43 100644 Binary files a/chart-sdk/blazor/charts/images/logarithmic-axis/blazor-line-chart-axis-custom-label-format.webp and b/chart-sdk/blazor/charts/images/logarithmic-axis/blazor-line-chart-axis-custom-label-format.webp differ diff --git a/chart-sdk/blazor/charts/images/logarithmic-axis/blazor-line-chart-axis-with-label-format.webp b/chart-sdk/blazor/charts/images/logarithmic-axis/blazor-line-chart-axis-with-label-format.webp index dfad1db91..44cfc556d 100644 Binary files a/chart-sdk/blazor/charts/images/logarithmic-axis/blazor-line-chart-axis-with-label-format.webp and b/chart-sdk/blazor/charts/images/logarithmic-axis/blazor-line-chart-axis-with-label-format.webp differ diff --git a/chart-sdk/blazor/charts/images/logarithmic-axis/blazor-line-chart-logarithmic-axis-with-base.webp b/chart-sdk/blazor/charts/images/logarithmic-axis/blazor-line-chart-logarithmic-axis-with-base.webp index c02fd505c..6963a1e31 100644 Binary files a/chart-sdk/blazor/charts/images/logarithmic-axis/blazor-line-chart-logarithmic-axis-with-base.webp and b/chart-sdk/blazor/charts/images/logarithmic-axis/blazor-line-chart-logarithmic-axis-with-base.webp differ diff --git a/chart-sdk/blazor/charts/images/multiple-panes/blazor-chart-multiple-panes-with-column-span.webp b/chart-sdk/blazor/charts/images/multiple-panes/blazor-chart-multiple-panes-with-column-span.webp index b02aa0043..542c7ca5c 100644 Binary files a/chart-sdk/blazor/charts/images/multiple-panes/blazor-chart-multiple-panes-with-column-span.webp and b/chart-sdk/blazor/charts/images/multiple-panes/blazor-chart-multiple-panes-with-column-span.webp differ diff --git a/chart-sdk/blazor/charts/images/multiple-panes/blazor-chart-multiple-panes-with-column.webp b/chart-sdk/blazor/charts/images/multiple-panes/blazor-chart-multiple-panes-with-column.webp index ab59d3832..908d8b73d 100644 Binary files a/chart-sdk/blazor/charts/images/multiple-panes/blazor-chart-multiple-panes-with-column.webp and b/chart-sdk/blazor/charts/images/multiple-panes/blazor-chart-multiple-panes-with-column.webp differ diff --git a/chart-sdk/blazor/charts/images/multiple-panes/blazor-chart-multiple-panes-with-rows.webp b/chart-sdk/blazor/charts/images/multiple-panes/blazor-chart-multiple-panes-with-rows.webp index 88a75c3e8..5a3c0c8ba 100644 Binary files a/chart-sdk/blazor/charts/images/multiple-panes/blazor-chart-multiple-panes-with-rows.webp and b/chart-sdk/blazor/charts/images/multiple-panes/blazor-chart-multiple-panes-with-rows.webp differ diff --git a/chart-sdk/blazor/charts/images/multiple-panes/blazor-chart-multiple-span-with-rows-span.webp b/chart-sdk/blazor/charts/images/multiple-panes/blazor-chart-multiple-span-with-rows-span.webp index f371916f6..3ba686c2e 100644 Binary files a/chart-sdk/blazor/charts/images/multiple-panes/blazor-chart-multiple-span-with-rows-span.webp and b/chart-sdk/blazor/charts/images/multiple-panes/blazor-chart-multiple-span-with-rows-span.webp differ diff --git a/chart-sdk/blazor/charts/images/numeric-axis/blazor-line-chart-additional-range-padding.webp b/chart-sdk/blazor/charts/images/numeric-axis/blazor-line-chart-additional-range-padding.webp index dc4b890f6..5d412926f 100644 Binary files a/chart-sdk/blazor/charts/images/numeric-axis/blazor-line-chart-additional-range-padding.webp and b/chart-sdk/blazor/charts/images/numeric-axis/blazor-line-chart-additional-range-padding.webp differ diff --git a/chart-sdk/blazor/charts/images/numeric-axis/blazor-line-chart-auto-rangepadding.webp b/chart-sdk/blazor/charts/images/numeric-axis/blazor-line-chart-auto-rangepadding.webp index eca9d2acd..87dffb093 100644 Binary files a/chart-sdk/blazor/charts/images/numeric-axis/blazor-line-chart-auto-rangepadding.webp and b/chart-sdk/blazor/charts/images/numeric-axis/blazor-line-chart-auto-rangepadding.webp differ diff --git a/chart-sdk/blazor/charts/images/numeric-axis/blazor-line-chart-axis-range.webp b/chart-sdk/blazor/charts/images/numeric-axis/blazor-line-chart-axis-range.webp index 9c47ca8ee..586b73901 100644 Binary files a/chart-sdk/blazor/charts/images/numeric-axis/blazor-line-chart-axis-range.webp and b/chart-sdk/blazor/charts/images/numeric-axis/blazor-line-chart-axis-range.webp differ diff --git a/chart-sdk/blazor/charts/images/numeric-axis/blazor-line-chart-custom-label-format.webp b/chart-sdk/blazor/charts/images/numeric-axis/blazor-line-chart-custom-label-format.webp index a4a1e9a3c..9623e6cc0 100644 Binary files a/chart-sdk/blazor/charts/images/numeric-axis/blazor-line-chart-custom-label-format.webp and b/chart-sdk/blazor/charts/images/numeric-axis/blazor-line-chart-custom-label-format.webp differ diff --git a/chart-sdk/blazor/charts/images/numeric-axis/blazor-line-chart-grouping-separator.webp b/chart-sdk/blazor/charts/images/numeric-axis/blazor-line-chart-grouping-separator.webp index e3be8f1d9..223124cc3 100644 Binary files a/chart-sdk/blazor/charts/images/numeric-axis/blazor-line-chart-grouping-separator.webp and b/chart-sdk/blazor/charts/images/numeric-axis/blazor-line-chart-grouping-separator.webp differ diff --git a/chart-sdk/blazor/charts/images/numeric-axis/blazor-line-chart-label-format.webp b/chart-sdk/blazor/charts/images/numeric-axis/blazor-line-chart-label-format.webp index 8cd493abc..bd463076c 100644 Binary files a/chart-sdk/blazor/charts/images/numeric-axis/blazor-line-chart-label-format.webp and b/chart-sdk/blazor/charts/images/numeric-axis/blazor-line-chart-label-format.webp differ diff --git a/chart-sdk/blazor/charts/images/numeric-axis/blazor-line-chart-normal-range-padding.webp b/chart-sdk/blazor/charts/images/numeric-axis/blazor-line-chart-normal-range-padding.webp index dc358e530..4062dfb19 100644 Binary files a/chart-sdk/blazor/charts/images/numeric-axis/blazor-line-chart-normal-range-padding.webp and b/chart-sdk/blazor/charts/images/numeric-axis/blazor-line-chart-normal-range-padding.webp differ diff --git a/chart-sdk/blazor/charts/images/numeric-axis/blazor-line-chart-numeric-axis.webp b/chart-sdk/blazor/charts/images/numeric-axis/blazor-line-chart-numeric-axis.webp index 2062e870a..0712edd8e 100644 Binary files a/chart-sdk/blazor/charts/images/numeric-axis/blazor-line-chart-numeric-axis.webp and b/chart-sdk/blazor/charts/images/numeric-axis/blazor-line-chart-numeric-axis.webp differ diff --git a/chart-sdk/blazor/charts/images/numeric-axis/blazor-line-chart-range-without-padding.webp b/chart-sdk/blazor/charts/images/numeric-axis/blazor-line-chart-range-without-padding.webp index e7efb746b..499377f2d 100644 Binary files a/chart-sdk/blazor/charts/images/numeric-axis/blazor-line-chart-range-without-padding.webp and b/chart-sdk/blazor/charts/images/numeric-axis/blazor-line-chart-range-without-padding.webp differ diff --git a/chart-sdk/blazor/charts/images/numeric-axis/blazor-line-chart-round-range-padding.webp b/chart-sdk/blazor/charts/images/numeric-axis/blazor-line-chart-round-range-padding.webp index 21886a02b..0645f8b7f 100644 Binary files a/chart-sdk/blazor/charts/images/numeric-axis/blazor-line-chart-round-range-padding.webp and b/chart-sdk/blazor/charts/images/numeric-axis/blazor-line-chart-round-range-padding.webp differ diff --git a/chart-sdk/blazor/charts/images/othertypes/blazor-box-whisker-charts.webp b/chart-sdk/blazor/charts/images/othertypes/blazor-box-whisker-charts.webp index 1e524cd9a..f816e269e 100644 Binary files a/chart-sdk/blazor/charts/images/othertypes/blazor-box-whisker-charts.webp and b/chart-sdk/blazor/charts/images/othertypes/blazor-box-whisker-charts.webp differ diff --git a/chart-sdk/blazor/charts/images/othertypes/blazor-error-bar-chart.webp b/chart-sdk/blazor/charts/images/othertypes/blazor-error-bar-chart.webp index db59efb1f..e6d7c5167 100644 Binary files a/chart-sdk/blazor/charts/images/othertypes/blazor-error-bar-chart.webp and b/chart-sdk/blazor/charts/images/othertypes/blazor-error-bar-chart.webp differ diff --git a/chart-sdk/blazor/charts/images/othertypes/blazor-histogram-chart.webp b/chart-sdk/blazor/charts/images/othertypes/blazor-histogram-chart.webp index 7047f41d5..c3f8104a3 100644 Binary files a/chart-sdk/blazor/charts/images/othertypes/blazor-histogram-chart.webp and b/chart-sdk/blazor/charts/images/othertypes/blazor-histogram-chart.webp differ diff --git a/chart-sdk/blazor/charts/images/othertypes/blazor-waterfall-chart-corner-radius.webp b/chart-sdk/blazor/charts/images/othertypes/blazor-waterfall-chart-corner-radius.webp deleted file mode 100644 index fa820fccd..000000000 Binary files a/chart-sdk/blazor/charts/images/othertypes/blazor-waterfall-chart-corner-radius.webp and /dev/null differ diff --git a/chart-sdk/blazor/charts/images/othertypes/blazor-waterfall-chart.webp b/chart-sdk/blazor/charts/images/othertypes/blazor-waterfall-chart.webp index e762c7a74..5c689f8c5 100644 Binary files a/chart-sdk/blazor/charts/images/othertypes/blazor-waterfall-chart.webp and b/chart-sdk/blazor/charts/images/othertypes/blazor-waterfall-chart.webp differ diff --git a/chart-sdk/blazor/charts/images/polar-radar/blazor-polar-chart.webp b/chart-sdk/blazor/charts/images/polar-radar/blazor-polar-chart.webp index 2130d71af..b1ff55d69 100644 Binary files a/chart-sdk/blazor/charts/images/polar-radar/blazor-polar-chart.webp and b/chart-sdk/blazor/charts/images/polar-radar/blazor-polar-chart.webp differ diff --git a/chart-sdk/blazor/charts/images/polar-radar/blazor-radar-chart-line-series.webp b/chart-sdk/blazor/charts/images/polar-radar/blazor-radar-chart-line-series.webp index a5cbfcdca..c84d2f78d 100644 Binary files a/chart-sdk/blazor/charts/images/polar-radar/blazor-radar-chart-line-series.webp and b/chart-sdk/blazor/charts/images/polar-radar/blazor-radar-chart-line-series.webp differ diff --git a/chart-sdk/blazor/charts/images/selection/blazor-column-chart-programmatic-selection.webp b/chart-sdk/blazor/charts/images/selection/blazor-column-chart-programmatic-selection.webp index 00e7803f2..808f32968 100644 Binary files a/chart-sdk/blazor/charts/images/selection/blazor-column-chart-programmatic-selection.webp and b/chart-sdk/blazor/charts/images/selection/blazor-column-chart-programmatic-selection.webp differ diff --git a/chart-sdk/blazor/charts/images/strip-line/blazor-chart-custom-strip-text.webp b/chart-sdk/blazor/charts/images/strip-line/blazor-chart-custom-strip-text.webp index fa02f3d34..131ed0951 100644 Binary files a/chart-sdk/blazor/charts/images/strip-line/blazor-chart-custom-strip-text.webp and b/chart-sdk/blazor/charts/images/strip-line/blazor-chart-custom-strip-text.webp differ diff --git a/chart-sdk/blazor/charts/images/strip-line/blazor-chart-custom-stripline.webp b/chart-sdk/blazor/charts/images/strip-line/blazor-chart-custom-stripline.webp index a77a88dba..cccf4e297 100644 Binary files a/chart-sdk/blazor/charts/images/strip-line/blazor-chart-custom-stripline.webp and b/chart-sdk/blazor/charts/images/strip-line/blazor-chart-custom-stripline.webp differ diff --git a/chart-sdk/blazor/charts/images/strip-line/blazor-chart-horizontal-strip-line.webp b/chart-sdk/blazor/charts/images/strip-line/blazor-chart-horizontal-strip-line.webp index 99ac20789..7348b591f 100644 Binary files a/chart-sdk/blazor/charts/images/strip-line/blazor-chart-horizontal-strip-line.webp and b/chart-sdk/blazor/charts/images/strip-line/blazor-chart-horizontal-strip-line.webp differ diff --git a/chart-sdk/blazor/charts/images/strip-line/blazor-chart-segmented-stripline.webp b/chart-sdk/blazor/charts/images/strip-line/blazor-chart-segmented-stripline.webp index 9b1ddb5b7..e78e7c9e7 100644 Binary files a/chart-sdk/blazor/charts/images/strip-line/blazor-chart-segmented-stripline.webp and b/chart-sdk/blazor/charts/images/strip-line/blazor-chart-segmented-stripline.webp differ diff --git a/chart-sdk/blazor/charts/images/strip-line/blazor-chart-vertical-stripline.webp b/chart-sdk/blazor/charts/images/strip-line/blazor-chart-vertical-stripline.webp index 614841f07..17267b8c3 100644 Binary files a/chart-sdk/blazor/charts/images/strip-line/blazor-chart-vertical-stripline.webp and b/chart-sdk/blazor/charts/images/strip-line/blazor-chart-vertical-stripline.webp differ diff --git a/chart-sdk/blazor/charts/images/tooltip/blazor-chart-nearest-tooltip.webp b/chart-sdk/blazor/charts/images/tooltip/blazor-chart-nearest-tooltip.webp index 744b20b10..336755252 100644 Binary files a/chart-sdk/blazor/charts/images/tooltip/blazor-chart-nearest-tooltip.webp and b/chart-sdk/blazor/charts/images/tooltip/blazor-chart-nearest-tooltip.webp differ diff --git a/chart-sdk/blazor/charts/images/tooltip/blazor-tooltip-enable-highlight.webp b/chart-sdk/blazor/charts/images/tooltip/blazor-tooltip-enable-highlight.webp index 9639dd496..f2de87fa5 100644 Binary files a/chart-sdk/blazor/charts/images/tooltip/blazor-tooltip-enable-highlight.webp and b/chart-sdk/blazor/charts/images/tooltip/blazor-tooltip-enable-highlight.webp differ diff --git a/chart-sdk/blazor/charts/images/working-data/blazor-chart-data-binding.webp b/chart-sdk/blazor/charts/images/working-data/blazor-chart-data-binding.webp index b94e81ba3..c70d90579 100644 Binary files a/chart-sdk/blazor/charts/images/working-data/blazor-chart-data-binding.webp and b/chart-sdk/blazor/charts/images/working-data/blazor-chart-data-binding.webp differ diff --git a/chart-sdk/blazor/charts/images/working-data/blazor-chart-empty-point.webp b/chart-sdk/blazor/charts/images/working-data/blazor-chart-empty-point.webp index 48cb0858a..db771596f 100644 Binary files a/chart-sdk/blazor/charts/images/working-data/blazor-chart-empty-point.webp and b/chart-sdk/blazor/charts/images/working-data/blazor-chart-empty-point.webp differ diff --git a/chart-sdk/blazor/charts/images/working-data/blazor-chart-no-data-template.webp b/chart-sdk/blazor/charts/images/working-data/blazor-chart-no-data-template.webp index 84cb3bb68..394bd5cf0 100644 Binary files a/chart-sdk/blazor/charts/images/working-data/blazor-chart-no-data-template.webp and b/chart-sdk/blazor/charts/images/working-data/blazor-chart-no-data-template.webp differ diff --git a/chart-sdk/blazor/charts/images/working-data/blazor-chart-web-api-binding.webp b/chart-sdk/blazor/charts/images/working-data/blazor-chart-web-api-binding.webp index 00909d03c..66f3b1953 100644 Binary files a/chart-sdk/blazor/charts/images/working-data/blazor-chart-web-api-binding.webp and b/chart-sdk/blazor/charts/images/working-data/blazor-chart-web-api-binding.webp differ diff --git a/chart-sdk/blazor/charts/images/working-data/observable-collection.webp b/chart-sdk/blazor/charts/images/working-data/observable-collection.webp index f74d61bf7..ccf81ef9c 100644 Binary files a/chart-sdk/blazor/charts/images/working-data/observable-collection.webp and b/chart-sdk/blazor/charts/images/working-data/observable-collection.webp differ diff --git a/chart-sdk/blazor/charts/images/zoom/blazor-area-chart-scroll-bar-customization.webp b/chart-sdk/blazor/charts/images/zoom/blazor-area-chart-scroll-bar-customization.webp index 382086da8..f46389213 100644 Binary files a/chart-sdk/blazor/charts/images/zoom/blazor-area-chart-scroll-bar-customization.webp and b/chart-sdk/blazor/charts/images/zoom/blazor-area-chart-scroll-bar-customization.webp differ diff --git a/chart-sdk/blazor/charts/images/zoom/blazor-line-chart-scroll-bar-position.webp b/chart-sdk/blazor/charts/images/zoom/blazor-line-chart-scroll-bar-position.webp index b91424a74..1e8a47f64 100644 Binary files a/chart-sdk/blazor/charts/images/zoom/blazor-line-chart-scroll-bar-position.webp and b/chart-sdk/blazor/charts/images/zoom/blazor-line-chart-scroll-bar-position.webp differ diff --git a/chart-sdk/blazor/charts/images/zoom/blazor-line-chart-zoom-toolbar-position.webp b/chart-sdk/blazor/charts/images/zoom/blazor-line-chart-zoom-toolbar-position.webp index 1cba49e34..3056aec13 100644 Binary files a/chart-sdk/blazor/charts/images/zoom/blazor-line-chart-zoom-toolbar-position.webp and b/chart-sdk/blazor/charts/images/zoom/blazor-line-chart-zoom-toolbar-position.webp differ diff --git a/chart-sdk/blazor/charts/internationalization.md b/chart-sdk/blazor/charts/internationalization.md index bd5132efd..d5766026b 100644 --- a/chart-sdk/blazor/charts/internationalization.md +++ b/chart-sdk/blazor/charts/internationalization.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Charts Internationalization Examples | Syncfusion® -description: Learn how to globalize Syncfusion Blazor Charts. Configure LabelFormat for axis labels, data labels, and tooltips for cultures such as EUR or ja-JP. -platform: Blazor -control: Charts +title: Internationalization in Blazor Charts Component | Syncfusion® +description: Checkout and learn here all the features about Internationalization in Blazor Charts component and more. +platform: chart-sdk +control: Chart documentation: ug --- -# Blazor Charts Internationalization +# Internationalization in Blazor Charts Component Internationalization is the process of designing and developing a component that can be easily adapted for users from any culture, region, or language. Below elements in the [Chart](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SfChart.html) display content based on the internationalization configuration. @@ -82,7 +82,7 @@ Learn more about axis label format in-relation to axis types from the pages belo * [Logarithmic Label Format](./logarithmic-axis#label-format) * [Custom Label Format](./numeric-axis#custom-label-format) -N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=fluent2) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. +N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=bootstrap5) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. ## See also diff --git a/chart-sdk/blazor/charts/last-data-label.md b/chart-sdk/blazor/charts/last-data-label.md index 5d5a71c4d..59a77367e 100644 --- a/chart-sdk/blazor/charts/last-data-label.md +++ b/chart-sdk/blazor/charts/last-data-label.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Charts Last Data Label Examples | Syncfusion® -description: Learn how to highlight the most recent data point in Syncfusion Blazor Charts. Use ChartLastDataLabel ShowLabel with an indicator line. -platform: Blazor -control: Charts +title: Last Data Label in Blazor Charts Component | Syncfusion® +description: Checkout and learn here all the features about the Last Data Label in Blazor Charts component and much more. +platform: chart-sdk +control: Chart documentation: ug --- -# Blazor Charts Last Data Label +# Last Data Label in Blazor Charts Component The last data label feature highlights the most recent data point in a series by displaying a label along with an indicator line. This enhancement improves visibility and makes it easier to identify the latest value in the chart. The label can be enabled and customized using the [ChartLastDataLabel](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartLastDataLabel.html) property. @@ -54,7 +54,7 @@ To enable the last data label, set the [ShowLabel](https://help.syncfusion.com/c ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rNrxtdMrTSigLZcY?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Last Data Label in Blazor Column Chart](images/last-value/blazor-column-chart-last-value-label.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VXrotEjvfKbMpjHI?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Last Data Label in Blazor Column Chart](images/last-value/blazor-column-chart-last-value-label.webp)" %} ## Customization @@ -121,7 +121,7 @@ In the [ChartLastDataLabelFont](https://help.syncfusion.com/cr/blazor/Syncfusion ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LDhnDxiLJeWlqFlK?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Last Data Label in Blazor Column Chart Customization](images/last-value/blazor-column-chart-last-value-label-customization.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hjVojaDbzJnZIqnR?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Last Data Label in Blazor Column Chart Customization](images/last-value/blazor-column-chart-last-value-label-customization.webp)" %} ## See also @@ -129,4 +129,4 @@ In the [ChartLastDataLabelFont](https://help.syncfusion.com/cr/blazor/Syncfusion * [Tooltip](./tool-tip) * [Marker](./data-markers) -N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=fluent2) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. +N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=bootstrap5) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. diff --git a/chart-sdk/blazor/charts/legend.md b/chart-sdk/blazor/charts/legend.md index 314a29b68..9ae601c57 100644 --- a/chart-sdk/blazor/charts/legend.md +++ b/chart-sdk/blazor/charts/legend.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Charts Legend Configuration Examples | Syncfusion® -description: Learn how to display and customize legends in Syncfusion Blazor Charts. Enable ChartLegendSettings Visible and configure position and alignment. -platform: Blazor -control: Charts +title: Legend in Blazor Charts Component | Syncfusion® +description: Checkout and learn here all the features about the Legend and its customization in Blazor Charts component and much more. +platform: chart-sdk +control: Chart documentation: ug --- -# Blazor Charts Legend +# Legend in Blazor Charts Component The [legend](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartLegendSettings.html) provides information on the series shown in the chart. @@ -773,7 +773,7 @@ To use, add a `LegendItemTemplate` inside any [ChartSeries](https://help.syncfus ``` ![Legend Template in Blazor Column Chart](images/legend/blazor-column-chart-legend-template.webp) -N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=fluent2) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. +N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=bootstrap5) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. ## See also diff --git a/chart-sdk/blazor/charts/localization.md b/chart-sdk/blazor/charts/localization.md index a4098775c..4c4e5df27 100644 --- a/chart-sdk/blazor/charts/localization.md +++ b/chart-sdk/blazor/charts/localization.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Charts Localization Examples | Syncfusion® -description: Learn how to localize Syncfusion Blazor Charts. Configure the localization framework and culture settings for labels, tooltips, and legends. -platform: Blazor -control: Charts +title: Localization in Blazor Charts Component | Syncfusion® +description: Checkout and learn here all the features about the Localization in Blazor Charts component and much more. +platform: chart-sdk +control: Chart documentation: ug --- -# Blazor Charts Localization +# Localization in Blazor Charts Component The [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) component supports localization, enabling you to adapt the UI elements such as labels, tooltips, legends, and other text-based content to different languages and cultures. Localization is an essential feature for building globally accessible applications, as it ensures that users can interact with charts in their preferred language and regional settings. Localization in Blazor components is handled through the common localization framework provided by Syncfusion. By configuring localization properly, you can display translated text for chart elements and ensure consistent formatting based on cultural preferences such as date formats, number formats, and currency symbols. @@ -16,9 +16,9 @@ To implement localization in the [Blazor Charts](https://www.syncfusion.com/blaz By applying localization, the chart component can automatically adapt to the selected culture. For example, date values displayed on the axis will follow the regional format, and numeric values will be shown with appropriate separators and symbols. In addition to text translation, localization also improves the user experience by aligning with regional expectations. For instance, decimal separators may vary between cultures (e.g., . vs ,), and date formats can differ significantly. Proper localization ensures that such variations are handled seamlessly within the chart. -N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=fluent2) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. +N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=bootstrap4) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. -## Key Benefits of Localization in Charts +### Key Benefits of Localization in Charts - Enhances accessibility for global users - Improves readability and clarity of data @@ -26,7 +26,7 @@ N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/bla - Enables accurate representation of region-specific formats - Provides a consistent user experience across applications -## Localization can be particularly useful in the following scenarios: +### Localization can be particularly useful in the following scenarios: - Chart-based dashboards for multinational teams diff --git a/chart-sdk/blazor/charts/logarithmic-axis.md b/chart-sdk/blazor/charts/logarithmic-axis.md index 953f4df60..683245f8c 100644 --- a/chart-sdk/blazor/charts/logarithmic-axis.md +++ b/chart-sdk/blazor/charts/logarithmic-axis.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Charts Logarithmic Axis Examples | Syncfusion® -description: Learn how to use the logarithmic axis in Syncfusion Blazor Charts. Visualize data spanning many orders of magnitude in a single readable view. -platform: Blazor -control: Charts +title: Logarithmic Axis in Blazor Charts Component | Syncfusion® +description: Checkout and learn here all the features about Logarithmic Axis in Blazor Charts component and much more. +platform: chart-sdk +control: Chart documentation: ug --- -# Blazor Charts Logarithmic Axis +# Logarithmic Axis in Blazor Charts Component @@ -51,7 +51,7 @@ A detailed walkthrough for customizing the logarithmic axis is provided in the v } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rZLHNRMBJKWGoOWk?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Chart with Logarithmic Axis](images/logarithmic-axis/blazor-chart-logarithmic-axis.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hXLAMLhHLhczYuye?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Chart with Logarithmic Axis](images/logarithmic-axis/blazor-chart-logarithmic-axis.webp)" %} ## Range @@ -91,7 +91,7 @@ The axis range will be calculated automatically based on the provided data; howe } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rDhxXdWVpqLMgDHe?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Changing Blazor Line Chart Logarithmic Axis based on Range](images/logarithmic-axis/blazor-line-chart-axis-based-on-range.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hXrqChBHBgilgqlG?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Changing Blazor Line Chart Logarithmic Axis based on Range](images/logarithmic-axis/blazor-line-chart-axis-based-on-range.webp)" %} ## Logarithmic base @@ -131,7 +131,7 @@ Logarithmic base can be customized using the [LogBase](https://help.syncfusion. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hXhHZdMhTKqNmdhS?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Line Chart Logarithmic Axis with Base](images/logarithmic-axis/blazor-line-chart-logarithmic-axis-with-base.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LDVKWVLHhgBMKubZ?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Line Chart Logarithmic Axis with Base](images/logarithmic-axis/blazor-line-chart-logarithmic-axis-with-base.webp)" %} ## Logarithmic interval @@ -171,7 +171,7 @@ The interval can be customized using the [Interval](https://help.syncfusion.com/ } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BXBnZxCVJgKJLgey?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Changing Blazor Line Chart Logarithmic Axis based on Interval](images/logarithmic-axis/blazor-line-chart-axis-based-on-range.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LZhqMhVdrUVPPtnR?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Changing Blazor Line Chart Logarithmic Axis based on Interval](images/logarithmic-axis/blazor-line-chart-axis-based-on-range.webp)" %} ## Label format @@ -212,7 +212,7 @@ Using the [LabelFormat](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor. ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LNVnXxCBJqqwxiXU?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Line Chart Logarithmic Axis with Label Format](images/logarithmic-axis/blazor-line-chart-axis-with-label-format.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rZBUWrVHBqKsJuuA?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Line Chart Logarithmic Axis with Label Format](images/logarithmic-axis/blazor-line-chart-axis-with-label-format.webp)" %} The table below shows the results of applying some commonly used label formats to logarithmic values. @@ -311,9 +311,9 @@ Axis also supports custom label format using placeholders such as {value}K, wher } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VXLHXRCVJgpHHeDg?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Line Chart Logarithmic Axis with Custom Label Format](images/logarithmic-axis/blazor-line-chart-axis-custom-label-format.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rDrAMhrnBgqGAVip?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Line Chart Logarithmic Axis with Custom Label Format](images/logarithmic-axis/blazor-line-chart-axis-custom-label-format.webp)" %} -N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=fluent2) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. +N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=bootstrap5) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. ## See also diff --git a/chart-sdk/blazor/charts/multiple-panes.md b/chart-sdk/blazor/charts/multiple-panes.md index 7efb27c98..2ae158606 100644 --- a/chart-sdk/blazor/charts/multiple-panes.md +++ b/chart-sdk/blazor/charts/multiple-panes.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Charts Multiple Panes Examples | Syncfusion® -description: Learn how to divide Blazor Charts into multiple panes. Use ChartRows and ChartColumns to give each pane its own height, axis, and series. -platform: Blazor -control: Charts +title: Multiple Panes in Blazor Charts Component | Syncfusion® +description: Checkout and learn here all the features about Multiple Panes in Blazor Charts component and much more. +platform: chart-sdk +control: Chart documentation: ug --- -# Blazor Charts Multiple Panes +# Multiple Panes in Blazor Charts Component The chart area can be divided into multiple panes using [Rows](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartRow.html) and [Columns](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartColumn.html) settings. @@ -74,7 +74,7 @@ Use the chart's [Rows](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.C } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BjBxNHWLzJlLnsVV?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Rows with Multiple Panes in Blazor Chart](images/multiple-panes/blazor-chart-multiple-panes-with-rows.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VZrKiLhHhSDlvdrE?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Rows with Multiple Panes in Blazor Chart](images/multiple-panes/blazor-chart-multiple-panes-with-rows.webp)" %} The [Span](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.StockChartCommonAxis.html#Syncfusion_Blazor_Charts_StockChartCommonAxis_Span) property of the axis can be used to span the vertical axis across multiple rows. @@ -132,7 +132,7 @@ The [Span](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.StockC ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LtLdXnWhJflSYgFU?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Row spanning with Multiple Panes in Blazor Chart](images/multiple-panes/blazor-chart-multiple-span-with-rows-span.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hjrAWhLdhICspjQE?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Row spanning with Multiple Panes in Blazor Chart](images/multiple-panes/blazor-chart-multiple-span-with-rows-span.webp)" %} ## Columns @@ -196,7 +196,7 @@ Use the chart's [Columns](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazo } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hZBxXxMLffFEQEIX?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Columns with Multiple Panes in Blazor Chart](images/multiple-panes/blazor-chart-multiple-panes-with-column.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VNBqirLHryWphYTs?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Columns with Multiple Panes in Blazor Chart](images/multiple-panes/blazor-chart-multiple-panes-with-column.webp)" %} The [Span](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.StockChartCommonAxis.html#Syncfusion_Blazor_Charts_StockChartCommonAxis_Span) property of the axis can be used to span the horizontal axis across multiple column. @@ -252,9 +252,9 @@ The [Span](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.StockC } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BtBntdWBJfEgZHGh?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Column Spanning with Multiple Panes in Blazor Chart](images/multiple-panes/blazor-chart-multiple-panes-with-column-span.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VNVAWBLxhoCQMrEz?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Column Spanning with Multiple Panes in Blazor Chart](images/multiple-panes/blazor-chart-multiple-panes-with-column-span.webp)" %} -N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=fluent2) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. +N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=bootstrap5) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. ## See also diff --git a/chart-sdk/blazor/charts/numeric-axis.md b/chart-sdk/blazor/charts/numeric-axis.md index 9afe7b8ed..d33c9d5a2 100644 --- a/chart-sdk/blazor/charts/numeric-axis.md +++ b/chart-sdk/blazor/charts/numeric-axis.md @@ -1,15 +1,15 @@ --- layout: post -title: Blazor Charts Numeric Axis Examples | Syncfusion® -description: Learn how to use the numeric axis in Syncfusion Blazor Charts. Set ValueType to Double and customize range, interval, and label format. -platform: Blazor -control: Charts +title: Numeric Axis in Blazor Charts Component | Syncfusion® +description: Checkout and learn here all the features about the Numeric Axis in Blazor Charts component and much more. +platform: chart-sdk +control: Chart documentation: ug --- -# Blazor Charts Numeric Axis +# Numeric Axis in Blazor Charts Component Numeric axis can be used to represent numeric values in a chart. The [ValueType](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartAxis.html#Syncfusion_Blazor_Charts_ChartAxis_ValueType) of an axis is [Double](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ValueType.html#Syncfusion_Blazor_Charts_ValueType_Double) by default. @@ -48,7 +48,7 @@ A detailed walkthrough for customizing the numeric axis is provided in the video } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LDVdDdMhfCMeCwNB?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Line Chart with Numeric Axis](images/numeric-axis/blazor-line-chart-numeric-axis.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VNLgWLhVpXofZgyo?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Line Chart with Numeric Axis](images/numeric-axis/blazor-line-chart-numeric-axis.webp)" %} ## Range and interval @@ -86,7 +86,7 @@ The axis range will be calculated automatically based on the provided data; howe } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VXBnDnWhzMCbGeLQ?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Changing Blazor Line Chart Axis based on Range](images/numeric-axis/blazor-line-chart-axis-range.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BXrgiVrhJjoSuZwi?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Changing Blazor Line Chart Axis based on Range](images/numeric-axis/blazor-line-chart-axis-range.webp)" %} ## Range padding @@ -134,7 +134,7 @@ When the [RangePadding](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rtVRtHsVfihBPKoc?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Line Chart without RangePadding](images/numeric-axis/blazor-line-chart-range-without-padding.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BjhKWVBhTjobfVue?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Line Chart without RangePadding](images/numeric-axis/blazor-line-chart-range-without-padding.webp)" %} **Numeric - Round** @@ -172,7 +172,7 @@ When the [RangePadding](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LXrHZdCVfiBkfAhV?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Line Chart with Round RangePadding](images/numeric-axis/blazor-line-chart-round-range-padding.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hZrKMLhBztnCBwWc?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Line Chart with Round RangePadding](images/numeric-axis/blazor-line-chart-round-range-padding.webp)" %} **Numeric - Additional** @@ -210,7 +210,7 @@ When the [RangePadding](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VNrntxCVpigeAQrT?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Line Chart with Additional RangePadding](images/numeric-axis/blazor-line-chart-additional-range-padding.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VNhgWLrhpZRURFmO?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Line Chart with Additional RangePadding](images/numeric-axis/blazor-line-chart-additional-range-padding.webp)" %} **Numeric - Normal** @@ -248,7 +248,7 @@ When the [RangePadding](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hNLRNniLpMKkVdOy?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Line Chart with Normal RangePadding](images/numeric-axis/blazor-line-chart-normal-range-padding.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LtLKsrrrpXdxUwHH?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Line Chart with Normal RangePadding](images/numeric-axis/blazor-line-chart-normal-range-padding.webp)" %} **Numeric - Auto** @@ -287,7 +287,7 @@ When the [RangePadding](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VZVdXxWBpCTgCCYu?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Line Chart with Auto RangePadding](images/numeric-axis/blazor-line-chart-auto-rangepadding.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rjrUChBVTtmNHCaU?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Line Chart with Auto RangePadding](images/numeric-axis/blazor-line-chart-auto-rangepadding.webp)" %} ## Label format @@ -330,7 +330,7 @@ Using the [LabelFormat](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VDVHjdCVzipdaCzG?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Label Formatting in Blazor Line Chart](images/numeric-axis/blazor-line-chart-label-format.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rjhUChrhpjcKDKLn?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Label Formatting in Blazor Line Chart](images/numeric-axis/blazor-line-chart-label-format.webp)" %} The table below shows the results of applying various commonly used label formats to numeric data. @@ -440,7 +440,7 @@ To separate groups of thousands for numerical values, use the [UseGroupingSepara ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hthxNxMrJWegMTjl?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Grouping Separator in Blazor Line Chart](images/numeric-axis/blazor-line-chart-grouping-separator.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hDBJZqLnepVFKTog?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Grouping Separator in Blazor Line Chart](images/numeric-axis/blazor-line-chart-grouping-separator.webp)" %} ## Custom label format @@ -478,9 +478,9 @@ Axis also supports custom label format using placeholders such as {value}K, wher } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BtLxtnsBpioPAlGt?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Line Chart with Custom Label Format](images/numeric-axis/blazor-line-chart-custom-label-format.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LtBAiVLrzZGdUeri?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Line Chart with Custom Label Format](images/numeric-axis/blazor-line-chart-custom-label-format.webp)" %} -N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=fluent2) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. +N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=bootstrap5) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. ## See also diff --git a/chart-sdk/blazor/charts/selection.md b/chart-sdk/blazor/charts/selection.md index a522baa6d..f074c2a4d 100644 --- a/chart-sdk/blazor/charts/selection.md +++ b/chart-sdk/blazor/charts/selection.md @@ -1,15 +1,15 @@ --- layout: post -title: Blazor Charts Selection Examples | Syncfusion® -description: Learn how to enable selection in Syncfusion Blazor Charts. Choose Point, Series, Cluster, DragXY, or DragX modes for mouse or touch. -platform: Blazor -control: Charts +title: Selection in Blazor Charts Component | Syncfusion® +description: Checkout and learn here all the features about Selection feature in Blazor Charts component and much more. +platform: chart-sdk +control: Chart documentation: ug --- -# Blazor Charts Selection +# Selection in Blazor Charts Component The chart provides selection support for the series and its data points on mouse or touch action. @@ -372,7 +372,7 @@ A point or series can be selected programmatically on a chart using the [Selecte ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BXhnDnCLItVmzuTx?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Programmatically Selection in Blazor Column Chart](images/selection/blazor-column-chart-programmatic-selection.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rjVJtgBxfkYWmfSE?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Programmatically Selection in Blazor Column Chart](images/selection/blazor-column-chart-programmatic-selection.webp)" %} ## Legend Selection @@ -493,7 +493,7 @@ The custom style can be applied to selected points or series using the [Selectio ![Blazor Column Chart with Custom Style Selection](images/selection/blazor-chart-custom-style-selection.webp) -N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=fluent2) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. +N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=bootstrap5) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. ## See also diff --git a/chart-sdk/blazor/charts/series-label.md b/chart-sdk/blazor/charts/series-label.md index 563399237..4642189dc 100644 --- a/chart-sdk/blazor/charts/series-label.md +++ b/chart-sdk/blazor/charts/series-label.md @@ -1,14 +1,14 @@ --- layout: post -title: Blazor Charts Series Label Examples | Syncfusion® -description: Learn how to display series names inline in Syncfusion Blazor Charts. Use SeriesLabelSettings to improve readability of multi-series charts. +title: Series Label in Blazor Charts Component | Syncfusion +description: Check out and learn here all about the Series label in the Syncfusion Blazor Charts component and much more. platform: Blazor -control: Charts +control: Chart documentation: ug keywords: Blazor Chart series label, series label, chart labels, inline series labels, chart series customization, SeriesLabelSettings --- -# Blazor Charts Series Label +# Series Label in Blazor Charts Component The series label feature displays the name of each series directly within the chart area. This improves readability by helping users identify series inline and reduces reliance on the legend. @@ -191,4 +191,4 @@ In the `SeriesLabelFont`: * [Data Label](./data-labels) * [Legend](./legend) -N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page to explore the available chart features. You can also check the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=fluent2) to learn how chart types are used to visualize data trends over equal intervals. +N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page to explore the available chart features. You can also check the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=bootstrap5) to learn how chart types are used to visualize data trends over equal intervals. diff --git a/chart-sdk/blazor/charts/strip-line.md b/chart-sdk/blazor/charts/strip-line.md index a2589cd4a..132f3935c 100644 --- a/chart-sdk/blazor/charts/strip-line.md +++ b/chart-sdk/blazor/charts/strip-line.md @@ -1,15 +1,15 @@ --- layout: post -title: Blazor Charts Stripline Examples | Syncfusion® -description: Learn how to add striplines in Syncfusion Blazor Charts. Use ChartStripline to mark thresholds, ranges, or notable value bands. -platform: Blazor -control: Charts +title: Stripline in Blazor Charts Component | Syncfusion® +description: Checkout and learn here all the features about the Stripline in Blazor Charts component and much more. +platform: chart-sdk +control: Chart documentation: ug --- -# Blazor Charts Stripline +# Stripline in Blazor Charts Component @@ -58,7 +58,7 @@ By adding the [ChartStripline](https://help.syncfusion.com/cr/blazor/Syncfusion. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rthdDRCBpJybXKNs?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Chart with Horizontal Striplines](images/strip-line/blazor-chart-horizontal-strip-line.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rNhKCVVRhJcQliSp?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Chart with Horizontal Striplines](images/strip-line/blazor-chart-horizontal-strip-line.webp)" %} ## Vertical striplines @@ -102,7 +102,7 @@ By adding the [ChartStripline](https://help.syncfusion.com/cr/blazor/Syncfusion. } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hDhxNRiBzznsUStq?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Chart with Vertical Striplines](images/strip-line/blazor-chart-vertical-stripline.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rXLUsBBRLpbtIuIn?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Chart with Vertical Striplines](images/strip-line/blazor-chart-vertical-stripline.webp)" %} ## Striplines customization @@ -146,7 +146,7 @@ The [Start](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.Chart } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VZhxZHMhJpxeJULY?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Chart with Custom Striplines](images/strip-line/blazor-chart-custom-stripline.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rDVUCVLxVfbqQNji?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Chart with Custom Striplines](images/strip-line/blazor-chart-custom-stripline.webp)" %} ## Text customization @@ -193,7 +193,7 @@ The [Start](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.Chart } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/BtrdtdMVzTnbTmpK?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Chart with Custom Stripline Text](images/strip-line/blazor-chart-custom-strip-text.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rNVgWVLHBJlQDgKI?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Chart with Custom Stripline Text](images/strip-line/blazor-chart-custom-strip-text.webp)" %} ## Segmented stripline @@ -245,7 +245,7 @@ To create a stripline in a specific region with respect to a segment (segmented }; } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rjLRtdshppcHNygP?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Chart With Segmented Stripline](../chart/images/strip-line/blazor-chart-segmented-stripline.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rNLqMVhHrJGZtGLh?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Chart With Segmented Stripline](../chart/images/strip-line/blazor-chart-segmented-stripline.webp)" %} ## Stripline tooltip @@ -433,7 +433,7 @@ The [ChartStriplineTooltipBorder](https://help.syncfusion.com/cr/blazor/Syncfusi ![Blazor Chart with Customized Stripline Tooltip](images/strip-line/blazor-chart-stripline-tooltip-customized.webp) -N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=fluent2) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. +N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=bootstrap5) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. ## See also diff --git a/chart-sdk/blazor/charts/technical-indicators.md b/chart-sdk/blazor/charts/technical-indicators.md index e1c7bcab0..f5108b29f 100644 --- a/chart-sdk/blazor/charts/technical-indicators.md +++ b/chart-sdk/blazor/charts/technical-indicators.md @@ -1,15 +1,15 @@ --- layout: post -title: Blazor Charts Technical Indicators Examples | Syncfusion® -description: Learn how to add technical indicators in Syncfusion Blazor Charts. Use RSI, MACD, Bollinger, Accumulation Distribution, and seven more types. -platform: Blazor -control: Charts +title: Technical Indicators in Blazor Charts Component | Syncfusion® +description: Checkout and learn here all the features about Technical Indicators in Blazor Charts component and more. +platform: chart-sdk +control: Chart documentation: ug --- -# Blazor Charts Technical Indicators +# Technical Indicators in Blazor Charts Component A technical indicator is a mathematical calculation that forecasts financial market direction using historical price, volume, or open interest data. There are 10 different types of technical indicators that can be used with the chart. @@ -1644,7 +1644,7 @@ N> Technical indicators can also be added without series using [DataSource](http ``` -N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=fluent2) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. +N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=bootstrap4) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. ## See also diff --git a/chart-sdk/blazor/charts/tool-tip.md b/chart-sdk/blazor/charts/tool-tip.md index 9cef1aae2..de47a393c 100644 --- a/chart-sdk/blazor/charts/tool-tip.md +++ b/chart-sdk/blazor/charts/tool-tip.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Charts Tooltip Examples | Syncfusion® -description: Learn how to enable tooltips in Syncfusion Blazor Charts. Set ChartTooltipSettings Enable to true. Supports templates and custom formatting. -platform: Blazor -control: Charts +title: Tooltip in Blazor Charts Component | Syncfusion® +description: Checkout and learn here all the features about Tooltip and its customization in Blazor Charts component and much more. +platform: chart-sdk +control: Chart documentation: ug --- -# Blazor Charts Tooltip +# Tooltip in Blazor Charts Component @@ -335,7 +335,7 @@ By enabling the [EnableHighlight](https://help.syncfusion.com/cr/blazor/Syncfusi ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VZBRNniBJeIZMugw?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Chart tooltip with highlight series](images/tooltip/blazor-tooltip-enable-highlight.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BZretJjTJXQadkbO?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Chart tooltip with highlight series](images/tooltip/blazor-tooltip-enable-highlight.webp)" %} ## Displaying tooltip for nearest data point @@ -390,9 +390,9 @@ N> By default, `ShowNearestTooltip` property in [ChartSeries](https://help.syncf ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rjBRNxMrTSSSftnE?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Chart shows nearest tooltip](images/tooltip/blazor-chart-nearest-tooltip.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VtBoZJtzTMXtrCZt?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Chart shows nearest tooltip](images/tooltip/blazor-chart-nearest-tooltip.webp)" %} -N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=fluent2) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. +N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=bootstrap5) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. ## See also diff --git a/chart-sdk/blazor/charts/trend-lines.md b/chart-sdk/blazor/charts/trend-lines.md index 08ab39f3b..f69c2d8c2 100644 --- a/chart-sdk/blazor/charts/trend-lines.md +++ b/chart-sdk/blazor/charts/trend-lines.md @@ -1,15 +1,15 @@ --- layout: post -title: Blazor Charts Trendlines Examples | Syncfusion® -description: Learn how to add trendlines in Syncfusion Blazor Charts. Use Linear, Exponential, Logarithmic, Power, Polynomial, or MovingAverage. -platform: Blazor -control: Charts +title: Trendlines in Blazor Charts Component | Syncfusion® +description: Checkout and learn here all the features about the Trendlines in Blazor Charts component and much more. +platform: chart-sdk +control: Chart documentation: ug --- -# Blazor Charts Trendlines +# Trendlines in Blazor Charts Component Trendlines are used to show the price's direction and pace. Except for bar series, trendlines can be generated for Cartesian series like Line, Column, Scatter, Area, Candle, Hilo, and so on. In addition, a series can have multiple trendlines. There are six different types of trendlines that can be used on the chart. They are as follows: @@ -493,7 +493,7 @@ The value set to [BackwardForecast](https://help.syncfusion.com/cr/blazor/Syncfu The [Fill](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartTrendline.html#Syncfusion_Blazor_Charts_ChartTrendline_Fill) and [Width](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartTrendline.html#Syncfusion_Blazor_Charts_ChartTrendline_Width) properties are used to customize the appearance of the trendline. -N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=fluent2) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. +N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=bootstrap5) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. ## Show or hide a trendline diff --git a/chart-sdk/blazor/charts/working-with-data.md b/chart-sdk/blazor/charts/working-with-data.md index c66415a33..93e79a0df 100644 --- a/chart-sdk/blazor/charts/working-with-data.md +++ b/chart-sdk/blazor/charts/working-with-data.md @@ -1,15 +1,15 @@ --- layout: post -title: Blazor Charts Working with Data Examples | Syncfusion® -description: Learn how to bind data to Syncfusion Blazor Charts. Use IEnumerable via DataSource or SfDataManager for RESTful and remote data binding. -platform: Blazor -control: Charts +title: Working with Data in Blazor Charts Component | Syncfusion® +description: Checkout and learn here all the features about working with data in Blazor Charts component, it's elements and more. +platform: chart-sdk +control: Chart documentation: ug --- -# Blazor Charts Working with Data +# Working with Data in Blazor Charts Component The Chart uses [SfDataManager](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Data.SfDataManager.html), which supports both RESTful JSON data services binding and IEnumerable binding. The [DataSource](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartSeries.html#Syncfusion_Blazor_Charts_ChartSeries_DataSource) value can be set using either [SfDataManager](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Data.SfDataManager.html) property values or a list of business objects. @@ -54,7 +54,7 @@ An IEnumerable object can be assigned to the [DataSource](https://help.syncfusio } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LjrHNnCrgFYTMqKl?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Line Chart with Data Binding](images/working-data/blazor-chart-data-binding.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BjBKCrrVgRsckQvf?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Line Chart with Data Binding](images/working-data/blazor-chart-data-binding.webp)" %} N> By default, [SfDataManager](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Data.SfDataManager.html) uses **BlazorAdaptor** for list data-binding. @@ -172,7 +172,7 @@ Assign service data as an instance of [SfDataManager](https://help.syncfusion.co ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VNVdZnWhUuDQBhXs?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Remote Data Binding in Blazor Chart](images/working-data/blazor-chart-remote-data-binding.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hXBAihBrgvFhnbIU?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Remote Data Binding in Blazor Chart](images/working-data/blazor-chart-remote-data-binding.webp)" %} ### Binding with OData services @@ -201,7 +201,7 @@ The [WebApiAdaptor](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Data ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VDLnNHsLqurpOmXI?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Chart with Web API Binding](images/working-data/blazor-chart-web-api-binding.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LDLxXVDKBZhqezPa?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Chart with Web API Binding](images/working-data/blazor-chart-web-api-binding.webp)" %} ### Sending additional parameters to the server @@ -234,7 +234,7 @@ The following sample code shows how to send parameters using the Query property } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VtLRDdsrqEeGltNy?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BZBKCBBLKbOUqsQL?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Entity Framework @@ -503,7 +503,7 @@ The [ObservableCollection](https://learn.microsoft.com/en-us/dotnet/api/system.c } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hjBxjdCrgYnhNxJu?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Chart with Web API Binding](images/working-data/observable-collection.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VXVUiLBLAkpRpchN?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Chart with Web API Binding](images/working-data/observable-collection.webp)" %} ## Empty points @@ -552,7 +552,7 @@ Empty points are defined as data points having NaN values. Empty points can be c } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hZhHNdCVUkHSFMPH?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VtLUWVrBKOfaDiKg?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} **Customizing empty point** @@ -602,7 +602,7 @@ The [Fill](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartE } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/hXBHtdWhgEmNMoif?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Column Chart with Empty Points](images/working-data/blazor-chart-empty-point.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BjLgMVhLAaIiyPBB?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Column Chart with Empty Points](images/working-data/blazor-chart-empty-point.webp)" %} ## Handling No Data @@ -664,9 +664,9 @@ When no data is available to render in the chart, the [NoDataTemplate](https://h ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/VNVRXdWrgOwvpoNS?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[No Data Template in Blazor Chart](images/working-data/blazor-chart-no-data-template.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rDrSZEZbBiUMPlvJ?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[No Data Template in Blazor Chart](images/working-data/blazor-chart-no-data-template.gif)" %} -N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=fluent2) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. +N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=bootstrap5) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. ## See also diff --git a/chart-sdk/blazor/charts/zooming.md b/chart-sdk/blazor/charts/zooming.md index a05be326e..156ac3477 100644 --- a/chart-sdk/blazor/charts/zooming.md +++ b/chart-sdk/blazor/charts/zooming.md @@ -1,15 +1,15 @@ --- layout: post -title: Blazor Charts Zooming and Panning Examples | Syncfusion® -description: Learn how to enable zooming and panning in Syncfusion Blazor Charts. Use selection, mouse wheel, or pinch gestures via ChartZoomSettings. -platform: Blazor -control: Charts +title: Zooming in Blazor Charts Component | Syncfusion® +description: Checkout and learn here all the features about Zooming functionality in Blazor Charts component and much more. +platform: chart-sdk +control: Chart documentation: ug --- -# Blazor Charts Zooming and Panning +# Zooming in Blazor Charts Component -A detailed walkthrough demonstrating how to configure and use zooming and panning in the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) is presented in the video below. +A detailed walkthrough demonstrating how to configure and use zooming and panning in the Blazor charts is presented in the video below. {% youtube "youtube:https://www.youtube.com/watch?v=-fqwvVMI9Ec" %} @@ -242,7 +242,7 @@ The zoom toolbar in the chart can be repositioned using the [ChartZoomToolbarPos }; } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rtrxNHshpuQbgFmO?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Line Chart with Zooming Toolbar Positioning](./images/zoom/blazor-line-chart-zoom-toolbar-position.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VXroZHVnTUnzfkob?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Line Chart with Zooming Toolbar Positioning](./images/zoom/blazor-line-chart-zoom-toolbar-position.webp)" %} ## Enable pan @@ -416,7 +416,7 @@ The [Position](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.Ch }; } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/rDrnNHWBTaFegDhy?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Line Chart with customized scrollbar position](./images/zoom/blazor-line-chart-scroll-bar-position.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rNryXRBRpKfeaJfn?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Line Chart with customized scrollbar position](./images/zoom/blazor-line-chart-scroll-bar-position.webp)" %} ### Customization @@ -476,7 +476,7 @@ Scrollbar appearance and behavior are customizable using [ChartAxisScrollbarSett }; } ``` -{% previewsample "https://blazorplayground.syncfusion.com/embed/LZBRjxsrpOEMasUM?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Area Chart with scrollbar customization](images/zoom/blazor-area-chart-scroll-bar-customization.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hjBSXaDvCHkxWpZV?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Area Chart with scrollbar customization](images/zoom/blazor-area-chart-scroll-bar-customization.webp)" %} ## Auto interval on zooming @@ -543,7 +543,7 @@ The axis interval will be calculated automatically with respect to the zoomed ra ![Auto Interval on Zooming in Blazor Area Chart](images/zoom/blazor-area-chart-auto-interval-zooming.webp) -N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=fluent2) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. +N> Refer to the [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore the [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=bootstrap5) to know various chart types and how to represent time-dependent data, showing trends at equal intervals. ## See Also diff --git a/chart-sdk/blazor/linear-gauge/accessibility.md b/chart-sdk/blazor/linear-gauge/accessibility.md index e3f6315a1..3d3457882 100644 --- a/chart-sdk/blazor/linear-gauge/accessibility.md +++ b/chart-sdk/blazor/linear-gauge/accessibility.md @@ -1,6 +1,6 @@ --- layout: post -title: Accessibility in Blazor Linear Gauge | Syncfusion® +title: Accessibility in Blazor Linear Gauge | Syncfusion description: Discover the Blazor Linear Gauge accessibility compliance for WCAG 2.2, Section 508, WAI-ARIA roles, screen reader support, and axe-core validation. platform: Blazor control: Linear Gauge diff --git a/chart-sdk/blazor/range-selector/accessibility.md b/chart-sdk/blazor/range-selector/accessibility.md index 430c3c571..16ae43cf6 100644 --- a/chart-sdk/blazor/range-selector/accessibility.md +++ b/chart-sdk/blazor/range-selector/accessibility.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Range Selector Accessibility Guide | Syncfusion® -description: Learn about accessibility in Syncfusion Blazor Range Selector with keyboard navigation, screen reader support, and WCAG 2.2 compliance. -platform: Blazor +title: Accessibility in Blazor Range Selector Component | Syncfusion® +description: Checkout and learn here all about Accessibility using Keyboard navigation in Blazor Range Selector component with examples and much more details. +platform: chart-sdk control: Range Selector documentation: ug --- -# Blazor Range Selector Accessibility +# Accessibility in Blazor Range Selector Component The Blazor Range Selector component followed the accessibility guidelines and standards, including [ADA](https://www.ada.gov/), [Section 508](https://www.section508.gov/), [WCAG 2.2](https://www.w3.org/TR/WCAG22/) standards, and [WCAG roles](https://www.w3.org/TR/wai-aria/#roles) that are commonly used to evaluate accessibility. diff --git a/chart-sdk/blazor/range-selector/custom.md b/chart-sdk/blazor/range-selector/custom.md index 9ff3b2d11..de0c542fc 100644 --- a/chart-sdk/blazor/range-selector/custom.md +++ b/chart-sdk/blazor/range-selector/custom.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Range Selector Customization Examples | Syncfusion® -description: Configure Syncfusion Blazor Range Selector with RangeNavigatorStyleSettings, SelectedRegionColor, and UnselectedRegionColor for a tailored look. -platform: Blazor +title: Customization in Blazor Range Selector Component | Syncfusion® +description: Checkout and learn here all about customization in Blazor Range Selector component with examples and much more details. +platform: chart-sdk control: Range Selector documentation: ug --- -# Blazor Range Selector Customization +# Customization in Blazor Range Selector Component ## Navigator Appearance diff --git a/chart-sdk/blazor/range-selector/data.md b/chart-sdk/blazor/range-selector/data.md index db1a6c794..461bb9810 100644 --- a/chart-sdk/blazor/range-selector/data.md +++ b/chart-sdk/blazor/range-selector/data.md @@ -1,15 +1,15 @@ --- layout: post -title: Blazor Range Selector Type of Data Examples | Syncfusion® -description: Learn about the supported data types in Syncfusion Blazor Range Selector, including Numeric, DateTime, and logarithmic value types. -platform: Blazor +title: Type of Data in Blazor Range Selector Component | Syncfusion® +description: Checkout and learn here all about type of data in Blazor Range Selector component with examples and much more details. +platform: chart-sdk control: Range Selector documentation: ug --- -# Blazor Range Selector Type of Data +# Type of Data in Blazor Range Selector Component ## Numeric diff --git a/chart-sdk/blazor/range-selector/events.md b/chart-sdk/blazor/range-selector/events.md index 8f3640531..243200c0a 100644 --- a/chart-sdk/blazor/range-selector/events.md +++ b/chart-sdk/blazor/range-selector/events.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Range Selector Events Examples and Reference | Syncfusion® -description: Learn about events in Syncfusion Blazor Range Selector such as Loaded, Changed, OnTooltipRender, and SelectorRender with usage examples. -platform: Blazor +title: Events in Blazor Range Selector Component | Syncfusion® +description: Checkout and learn here all about events in Blazor Range Selector component with examples and much more details. +platform: chart-sdk control: Range Selector documentation: ug --- -# Blazor Range Selector Events +# Events in Blazor Range Selector Component This section describes about the Range Selector component's events, that is triggered when appropriate actions are performed. The events should be provided to the Range Selector through the **RangeNavigatorEvents** component. diff --git a/chart-sdk/blazor/range-selector/export.md b/chart-sdk/blazor/range-selector/export.md index 8144699a8..9080ad3d6 100644 --- a/chart-sdk/blazor/range-selector/export.md +++ b/chart-sdk/blazor/range-selector/export.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Range Selector Print and Export Examples | Syncfusion® -description: Learn how to print and export Syncfusion Blazor Range Selector using PrintAsync, or export to image, SVG, and PDF formats. -platform: Blazor +title: Print and Export in Blazor Range Selector Component | Syncfusion® +description: Checkout and learn here all about print and export in Blazor Range Selector component with examples and much more details. +platform: chart-sdk control: Range Selector documentation: ug --- -# Blazor Range Selector Print and Export +# Print and Export in Blazor Range Selector Component ## Print diff --git a/chart-sdk/blazor/range-selector/getting-started-webapp.md b/chart-sdk/blazor/range-selector/getting-started-webapp.md index 2551d5bd9..7ce5b7d4a 100644 --- a/chart-sdk/blazor/range-selector/getting-started-webapp.md +++ b/chart-sdk/blazor/range-selector/getting-started-webapp.md @@ -1,52 +1,46 @@ --- layout: post -title: Getting Started with Blazor Range Selector in Web App | Syncfusion® -description: Learn how to get started with Syncfusion Blazor Range Selector in a Blazor Web App, including server and client setup, packages, and first chart. -platform: Blazor +title: Getting Started with Range Selector in Blazor Web App | Syncfusion® +description: Check out the documentation for getting started with Blazor Range Selector Components in Blazor Web App with examples and much more details. +platform: chart-sdk control: Range Selector documentation: ug --- -# Blazor Range Selector Getting Started in Web App +# Getting Started with Blazor Range Selector in Web App -This section briefly explains how to include the [Blazor Range Selector](https://www.syncfusion.com/blazor-components/blazor-range-selector) (RangeNavigator) component in your Blazor Web App using [Visual Studio](https://visualstudio.microsoft.com/vs/), [Visual Studio Code](https://code.visualstudio.com/), and the [.NET CLI](https://learn.microsoft.com/en-us/dotnet/core/tools/). - -## Create a new Blazor Web App +This section briefly explains about how to include [Blazor Range Selector](https://www.syncfusion.com/blazor-components/blazor-range-selector) (RangeNavigator) component in your Blazor Web App using [Visual Studio](https://visualstudio.microsoft.com/vs/), [Visual Studio Code](https://code.visualstudio.com/), and the [.NET CLI](https://learn.microsoft.com/en-us/dotnet/core/tools/). {% tabcontents %} {% tabcontent Visual Studio %} -Create a **Blazor Web App** using Visual Studio via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vs) or the [Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-integration/template-studio). For detailed instructions, refer to the [Blazor Web App Getting Started](https://blazor.syncfusion.com/documentation/getting-started/blazor-web-app) documentation. +## Prerequisites -{% endtabcontent %} +* [System requirements for Blazor components](https://blazor.syncfusion.com/documentation/system-requirements) -{% tabcontent Visual Studio Code %} +## Create a new Blazor Web App in Visual Studio -Run the following command to create a new Blazor Web App. +Create a **Blazor Web App** using Visual Studio via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vs) or the [Syncfusion® Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-integration/template-studio). For detailed instructions, refer to the [Blazor Web App Getting Started](https://blazor.syncfusion.com/documentation/getting-started/blazor-web-app) documentation. -{% tabs %} -{% highlight razor tabtitle="Terminal" %} +{% endtabcontent %} -dotnet new blazor -o BlazorWebApp --interactivity Auto -cd BlazorWebApp -cd BlazorWebApp.Client +{% tabcontent Visual Studio Code %} -{% endhighlight %} -{% endtabs %} +## Prerequisites -Alternatively, create a **Blazor Web App** using Visual Studio Code via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vsc), the [Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-code-integration/create-project), or the [C# Dev Kit](https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csdevkit) extension. +* [System requirements for Blazor components](https://blazor.syncfusion.com/documentation/system-requirements) -{% endtabcontent %} +## Create a new Blazor Web App in Visual Studio Code -{% tabcontent .NET CLI %} +Create a **Blazor Web App** using Visual Studio Code via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vsc) or the [Syncfusion® Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-code-integration/create-project). For detailed instructions, refer to the [Blazor Web App Getting Started](https://blazor.syncfusion.com/documentation/getting-started/blazor-web-app?tabcontent=visual-studio-code) documentation. -Run the following command to create a new Blazor Web App. +For example, in a Blazor Web App with the `Auto` interactive render mode, use the following commands in the integrated terminal (Ctrl+`): {% tabs %} -{% highlight razor tabtitle="Command Prompt" %} +{% highlight c# tabtitle="Blazor Web App" %} -dotnet new blazor -o BlazorWebApp --interactivity Auto +dotnet new blazor -o BlazorWebApp -int Auto cd BlazorWebApp cd BlazorWebApp.Client @@ -55,72 +49,67 @@ cd BlazorWebApp.Client {% endtabcontent %} -{% endtabcontents %} - -N> Configure the appropriate [Interactive render mode](https://learn.microsoft.com/en-us/aspnet/core/blazor/components/render-modes?view=aspnetcore-10.0#render-modes) and [Interactivity location](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vs) while creating a Blazor Web App. For detailed information, refer to the [interactive render mode documentation](https://blazor.syncfusion.com/documentation/common/interactive-render-mode). - -## Install the required Blazor packages - -Install [Syncfusion.Blazor.RangeNavigator](https://www.nuget.org/packages/Syncfusion.Blazor.RangeNavigator) and [Syncfusion.Blazor.Themes](https://www.nuget.org/packages/Syncfusion.Blazor.Themes/) NuGet packages. All Syncfusion Blazor packages are available on [nuget.org](https://www.nuget.org/packages?q=syncfusion.blazor). See the [NuGet packages](https://blazor.syncfusion.com/documentation/nuget-packages) topic for details. If using the `WebAssembly` or `Auto` render modes in the Blazor Web App, install these packages in the `.Client` project. - -{% tabcontents %} - -{% tabcontent Visual Studio %} +{% tabcontent .NET CLI %} -1. Go to *Tools → NuGet Package Manager → Manage NuGet Packages for Solution*. -2. Search the required NuGet packages (`Syncfusion.Blazor.RangeNavigator` and `Syncfusion.Blazor.Themes`) and install them. +## Prerequisites -Alternatively, you can install the same packages using the Package Manager Console with the following commands. +Install the latest version of [.NET SDK](https://dotnet.microsoft.com/en-us/download). If you previously installed the SDK, determine the installed version by executing the following command in a command prompt (Windows) or terminal (macOS) or command shell (Linux). {% tabs %} -{% highlight razor tabtitle="Package Manager Console" %} +{% highlight c# tabtitle=".NET CLI" %} -Install-Package Syncfusion.Blazor.RangeNavigator -Version {{ site.releaseversion }} -Install-Package Syncfusion.Blazor.Themes -Version {{ site.releaseversion }} +dotnet --version {% endhighlight %} {% endtabs %} -{% endtabcontent %} +## Create a Blazor Web App using .NET CLI -{% tabcontent Visual Studio Code %} +Run the following command to create a new Blazor Web App in a command prompt (Windows) or terminal (macOS) or command shell (Linux). For detailed instructions, refer to the [Blazor Web App Getting Started](https://blazor.syncfusion.com/documentation/getting-started/blazor-web-app?tabcontent=.net-cli) documentation. -Open the terminal and run the following commands. +For example, in a Blazor Web App with the `Auto` interactive render mode, use the following commands: {% tabs %} -{% highlight razor tabtitle="Terminal" %} +{% highlight c# tabtitle="Blazor Web App" %} -dotnet add package Syncfusion.Blazor.RangeNavigator -v {{ site.releaseversion }} -dotnet add package Syncfusion.Blazor.Themes -v {{ site.releaseversion }} +dotnet new blazor -o BlazorWebApp -int Auto +cd BlazorWebApp +cd BlazorWebApp.Client {% endhighlight %} {% endtabs %} {% endtabcontent %} -{% tabcontent .NET CLI %} +{% endtabcontents %} + +N> Configure the appropriate [Interactive render mode](https://learn.microsoft.com/en-us/aspnet/core/blazor/components/render-modes?view=aspnetcore-10.0#render-modes) and [Interactivity location](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vs) while creating a Blazor Web App. For detailed information, refer to the [interactive render mode documentation](https://blazor.syncfusion.com/documentation/common/interactive-render-mode). + +## Install required Blazor packages -Open the command prompt and run the following commands. +Install [Syncfusion.Blazor.RangeNavigator](https://www.nuget.org/packages/Syncfusion.Blazor.RangeNavigator) and [Syncfusion.Blazor.Themes](https://www.nuget.org/packages/Syncfusion.Blazor.Themes/) NuGet packages in your project using the NuGet Package Manager in Visual Studio (*Tools → NuGet Package Manager → Manage NuGet Packages for Solution*), or the integrated terminal in Visual Studio Code (`dotnet add package`), or the .NET CLI. + +Alternatively, run the following commands in the Package Manager Console to achieve the same. {% tabs %} -{% highlight razor tabtitle="Command Prompt" %} +{% highlight C# tabtitle="Package Manager" %} -dotnet add package Syncfusion.Blazor.RangeNavigator -v {{ site.releaseversion }} -dotnet add package Syncfusion.Blazor.Themes -v {{ site.releaseversion }} +Install-Package Syncfusion.Blazor.RangeNavigator -Version {{ site.releaseversion }} +Install-Package Syncfusion.Blazor.Themes -Version {{ site.releaseversion }} {% endhighlight %} {% endtabs %} -{% endtabcontent %} +If using the `WebAssembly` or `Auto` render modes in the Blazor Web App, install these packages in the client project. -{% endtabcontents %} +N> All Syncfusion Blazor packages are available on [nuget.org](https://www.nuget.org/packages?q=syncfusion.blazor). See the [NuGet packages](https://blazor.syncfusion.com/documentation/nuget-packages) topic for details. ## Add import namespaces -After the packages are installed, open the **~/_Imports.razor** file in the `.Client` project and import the `Syncfusion.Blazor` and `Syncfusion.Blazor.Charts` namespaces. +After the packages are installed, open the **~/_Imports.razor** file in the client project and import the `Syncfusion.Blazor` and `Syncfusion.Blazor.Charts` namespaces. {% tabs %} -{% highlight razor tabtitle="~/_Imports.razor" %} +{% highlight C# tabtitle="~/_Imports.razor" %} @using Syncfusion.Blazor @using Syncfusion.Blazor.Charts @@ -128,9 +117,9 @@ After the packages are installed, open the **~/_Imports.razor** file in the `.Cl {% endhighlight %} {% endtabs %} -## Register the Blazor service +## Register Blazor service -Open the **Program.cs** file in Blazor Web App and register the Blazor service. If the **Interactive Render Mode** is set to `WebAssembly` or `Auto`, register the Blazor service in **Program.cs** files of both the server and client projects in your Blazor Web App. +Register the Blazor service in the **Program.cs** file of your Blazor Web App. {% tabs %} {% highlight c# tabtitle="Program.cs" %} @@ -144,32 +133,40 @@ builder.Services.AddSyncfusionBlazor(); {% endhighlight %} {% endtabs %} +N> If the **Interactive Render Mode** is set to `WebAssembly` or `Auto`, register the Blazor service in **Program.cs** files of both the server and client projects in your Blazor Web App. + ## Add stylesheet and script resources -The theme stylesheet and script can be accessed from NuGet through [Static Web Assets](https://blazor.syncfusion.com/documentation/appearance/themes#static-web-assets). Include the [stylesheet](https://blazor.syncfusion.com/documentation/appearance/themes) and [script references](https://blazor.syncfusion.com/documentation/common/adding-script-references) in the **~/Components/App.razor** file. +The theme stylesheet and script can be accessed from NuGet through [Static Web Assets](https://blazor.syncfusion.com/documentation/appearance/themes#static-web-assets). Include the stylesheet and script references in the **~/Components/App.razor** file. -{% tabs %} -{% highlight razor tabtitle="App.razor" %} +```html -... -... +.... -{% endhighlight %} -{% endtabs %} +``` + +N> Check out the [Blazor Themes](https://blazor.syncfusion.com/documentation/appearance/themes) topic to discover various methods ([Static Web Assets](https://blazor.syncfusion.com/documentation/appearance/themes#static-web-assets), [CDN](https://blazor.syncfusion.com/documentation/appearance/themes#cdn-reference), and [CRG](https://blazor.syncfusion.com/documentation/common/custom-resource-generator)) for referencing themes in your Blazor application. Also, check out the [Adding Script Reference](https://blazor.syncfusion.com/documentation/common/adding-script-references) topic to learn different approaches for adding script references in your Blazor application. ## Add Blazor Range Selector component -Open a Razor file located in the **~/Pages/*.razor** (for example, **Home.razor**) and add the [Blazor Range Selector](https://www.syncfusion.com/blazor-components/blazor-range-selector) component inside the `.Client` project razor file. +Add the Blazor Range Selector component in the **~/Components/Pages/*.razor** file. If the interactivity location is set to `Per page/component` in the Web App, define a render mode at the top of the `~/Pages/*.razor` file. (For example, `InteractiveServer`, `InteractiveWebAssembly` or `InteractiveAuto`). -N> If the interactivity location is set to `Per page/component` in the Web App, define a render mode at the top of the razor file. (For example, `InteractiveServer`, `InteractiveWebAssembly` or `InteractiveAuto`). If the **Interactivity** is set to `Global` with `Auto` or `WebAssembly`, the render mode is automatically configured in the `App.razor` file by default. +N> If the **Interactivity Location** is set to `Global` with `Auto` or `WebAssembly`, the render mode is automatically configured in the `App.razor` file by default. {% tabs %} -{% highlight razor tabtitle="Home.razor" %} +{% highlight razor %} +@* desired render mode define here *@ @rendermode InteractiveAuto +{% endhighlight %} +{% endtabs %} + +{% tabs %} +{% highlight razor tabtitle="Home.razor" %} + @@ -179,7 +176,7 @@ N> If the interactivity location is set to `Per page/component` in the Web App, ## Populate Blazor Range Navigator with Data -To bind the data for the Range Navigator component, assign an `IEnumerable` object to the [DataSource](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.RangeNavigatorSeries.html#Syncfusion_Blazor_Charts_RangeNavigatorSeries_DataSource) property. It can also be provided as an instance of the [DataManager](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.DataManager.html). +To bind the data for the Range Navigator component, assign a `IEnumerable` object to the [DataSource](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.RangeNavigatorSeries.html#Syncfusion_Blazor_Charts_RangeNavigatorSeries_DataSource) property. It can also be provided as an instance of the [DataManager](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.DataManager.html). {% tabs %} {% highlight razor tabtitle="Home.razor" %} @@ -206,7 +203,7 @@ To bind the data for the Range Navigator component, assign an `IEnumerable` obje {% endhighlight %} {% endtabs %} -Now map `Date` and `Close` fields from the data source to [XName](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.RangeNavigatorSeries.html#Syncfusion_Blazor_Charts_RangeNavigatorSeries_XName) and [YName](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.RangeNavigatorSeries.html#Syncfusion_Blazor_Charts_RangeNavigatorSeries_YName) properties of the [RangeNavigatorSeries](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.RangeNavigatorSeries.html) and then set the `StockDetails` to [DataSource](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.RangeNavigatorSeries.html#Syncfusion_Blazor_Charts_RangeNavigatorSeries_DataSource) property. +Now map `Date` and `Close` fields from the datasource to [XName](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.RangeNavigatorSeries.html#Syncfusion_Blazor_Charts_RangeNavigatorSeries_XName) and [YName](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.RangeNavigatorSeries.html#Syncfusion_Blazor_Charts_RangeNavigatorSeries_YName) properties of the [RangeNavigatorSeries](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.RangeNavigatorSeries.html) and then set the `StockDetails` to [DataSource](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.RangeNavigatorSeries.html#Syncfusion_Blazor_Charts_RangeNavigatorSeries_DataSource) property. {% tabs %} {% highlight razor tabtitle="Home.razor" %} @@ -220,56 +217,15 @@ Now map `Date` and `Close` fields from the data source to [XName](https://help.s {% endhighlight %} {% endtabs %} -## Run the application - -{% tabcontents %} - -{% tabcontent Visual Studio %} - -Press Ctrl+F5 (Windows) or +F5 (macOS) to launch the application. The Blazor Range Selector component will render in your default web browser. - -{% endtabcontent %} - -{% tabcontent Visual Studio Code %} - -Open the terminal and navigate to the main project folder (for example, `BlazorWebApp`) and run the following command. - -{% tabs %} -{% highlight razor tabtitle="Terminal" %} - -cd .. -cd BlazorWebApp -dotnet run - -{% endhighlight %} -{% endtabs %} - -{% endtabcontent %} +Press Ctrl+F5 (Windows) or +F5 (macOS) to launch the application. This will render the Blazor Range Selector component in the default web browser. -{% tabcontent .NET CLI %} - -Open the command prompt and navigate to the main project folder (for example, `BlazorWebApp`) and run the following command. - -{% tabs %} -{% highlight razor tabtitle="Command Prompt" %} - -cd .. -cd BlazorWebApp -dotnet run - -{% endhighlight %} -{% endtabs %} - -{% endtabcontent %} - -{% endtabcontents %} - -{% previewsample "https://blazorplayground.syncfusion.com/embed/VjBnjGDipsUUzNYM?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor RangeNavigator Component](images/blazor-range-navigator.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BZrJDWAtULnzQnOO?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor RangeNavigator Component](images/blazor-range-navigator.webp)" %} N> [View Sample in GitHub](https://github.com/SyncfusionExamples/Blazor-Getting-Started-Examples/tree/main/RangeSelector). ## See also -1. [Getting Started with Blazor WebAssembly App](https://blazor.syncfusion.com/documentation/getting-started/blazor-webassembly-app) -2. [Getting Started with Blazor for Server-Side in Visual Studio](https://blazor.syncfusion.com/documentation/getting-started/blazor-server-side-visual-studio) -3. [Getting Started with Blazor Web App](https://blazor.syncfusion.com/documentation/getting-started/blazor-web-app) \ No newline at end of file +* [Getting Started with Blazor for Client-Side in .NET Core CLI](https://blazor.syncfusion.com/documentation/getting-started/blazor-webassembly-dotnet-cli) +* [Getting Started with Blazor for Server-Side in Visual Studio](https://blazor.syncfusion.com/documentation/getting-started/blazor-server-side-visual-studio) +* [Getting Started with Blazor for Server-Side in .NET Core CLI](https://blazor.syncfusion.com/documentation/getting-started/blazor-server-side-dotnet-cli) + diff --git a/chart-sdk/blazor/range-selector/getting-started.md b/chart-sdk/blazor/range-selector/getting-started.md index 6548cd0cb..d1e539a2b 100644 --- a/chart-sdk/blazor/range-selector/getting-started.md +++ b/chart-sdk/blazor/range-selector/getting-started.md @@ -1,122 +1,109 @@ --- layout: post -title: Getting Started with Blazor Range Selector in WASM App | Syncfusion® -description: Learn how to get started with Syncfusion Blazor Range Selector in a Blazor WebAssembly app, including setup, packages, and first chart. -platform: Blazor +title: Getting Started with Blazor Range Selector Component | Syncfusion +description: Checkout and learn about getting started with Blazor Range Selector component in Blazor WebAssembly Application with examples and much more details. +platform: chart-sdk control: Range Selector documentation: ug --- -# Blazor Range Selector Getting Started in WASM App +# Getting Started with Blazor Range Selector (RangeNavigator) Component -This section briefly explains how to include the [Blazor Range Selector](https://www.syncfusion.com/blazor-components/blazor-range-selector) component in a Blazor WebAssembly App using [Visual Studio](https://visualstudio.microsoft.com/vs/), [Visual Studio Code](https://code.visualstudio.com/), and the [.NET CLI](https://learn.microsoft.com/en-us/dotnet/core/tools/). - -## Create a new Blazor WASM App +This section briefly explains about how to include [Blazor Range Selector](https://www.syncfusion.com/blazor-components/blazor-range-selector) component in a Blazor WebAssembly App using [Visual Studio](https://visualstudio.microsoft.com/vs/), [Visual Studio Code](https://code.visualstudio.com/), and the [.NET CLI](https://learn.microsoft.com/en-us/dotnet/core/tools/). {% tabcontents %} {% tabcontent Visual Studio %} -Create a **Blazor WebAssembly App** using Visual Studio via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vs) or the [Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-integration/template-studio). For detailed instructions, refer to the [Blazor WebAssembly App Getting Started](https://blazor.syncfusion.com/documentation/getting-started/blazor-webassembly-app) documentation. +## Prerequisites -{% endtabcontent %} +* [System requirements for Blazor components](https://blazor.syncfusion.com/documentation/system-requirements) -{% tabcontent Visual Studio Code %} +## Create a new Blazor App in Visual Studio -Run the following command to create a new Blazor WebAssembly App. +Create a **Blazor WebAssembly App** using Visual Studio via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vs) or the [Syncfusion® Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-integration/template-studio). For detailed instructions, refer to the [Blazor WASM App Getting Started](https://blazor.syncfusion.com/documentation/getting-started/blazor-webassembly-app) documentation. -{% tabs %} -{% highlight razor tabtitle="Terminal" %} +{% endtabcontent %} -dotnet new blazorwasm -o BlazorApp -cd BlazorApp +{% tabcontent Visual Studio Code %} -{% endhighlight %} -{% endtabs %} +## Prerequisites -Alternatively, create a **Blazor WebAssembly App** using Visual Studio Code via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vsc), the [Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-code-integration/create-project), or the [C# Dev Kit](https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csdevkit) extension. +* [System requirements for Blazor components](https://blazor.syncfusion.com/documentation/system-requirements) -{% endtabcontent %} +## Create a new Blazor App in Visual Studio Code -{% tabcontent .NET CLI %} +Create a **Blazor WebAssembly App** using Visual Studio Code via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vsc) or the [Syncfusion® Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-code-integration/create-project). For detailed instructions, refer to the [Blazor WASM App Getting Started](https://blazor.syncfusion.com/documentation/getting-started/blazor-webassembly-app?tabcontent=visual-studio-code) documentation. -Run the following command to create a new Blazor WebAssembly App. +Alternatively, create a WebAssembly application by using the following command in the integrated terminal (Ctrl+`). {% tabs %} -{% highlight razor tabtitle="Command Prompt" %} + +{% highlight c# tabtitle="Blazor WASM App" %} dotnet new blazorwasm -o BlazorApp cd BlazorApp {% endhighlight %} + {% endtabs %} {% endtabcontent %} -{% endtabcontents %} - -## Install the required Blazor packages - -Install [Syncfusion.Blazor.RangeNavigator](https://www.nuget.org/packages/Syncfusion.Blazor.RangeNavigator/) and [Syncfusion.Blazor.Themes](https://www.nuget.org/packages/Syncfusion.Blazor.Themes/) NuGet packages. All Syncfusion Blazor packages are available on [nuget.org](https://www.nuget.org/packages?q=syncfusion.blazor). See the [NuGet packages](https://blazor.syncfusion.com/documentation/nuget-packages) topic for details. - -{% tabcontents %} - -{% tabcontent Visual Studio %} +{% tabcontent .NET CLI %} -1. Go to *Tools → NuGet Package Manager → Manage NuGet Packages for Solution*. -2. Search the required NuGet packages (`Syncfusion.Blazor.RangeNavigator` and `Syncfusion.Blazor.Themes`) and install them. +## Prerequisites -Alternatively, you can install the same packages using the Package Manager Console with the following commands. +Install the latest version of [.NET SDK](https://dotnet.microsoft.com/en-us/download). If the .NET SDK is already installed, determine the installed version by running the following command in a command prompt (Windows), terminal (macOS), or command shell (Linux). {% tabs %} -{% highlight razor tabtitle="Package Manager Console" %} +{% highlight c# tabtitle=".NET CLI" %} -Install-Package Syncfusion.Blazor.RangeNavigator -Version {{ site.releaseversion }} -Install-Package Syncfusion.Blazor.Themes -Version {{ site.releaseversion }} +dotnet --version {% endhighlight %} {% endtabs %} -{% endtabcontent %} - -{% tabcontent Visual Studio Code %} +## Create a Blazor WebAssembly App using .NET CLI -Open the terminal and run the following commands. +Run the following command to create a new Blazor WebAssembly App in a command prompt (Windows) or terminal (macOS) or command shell (Linux). For detailed instructions, refer to the [Blazor WASM App Getting Started](https://blazor.syncfusion.com/documentation/getting-started/blazor-webassembly-app?tabcontent=.net-cli) documentation. {% tabs %} -{% highlight razor tabtitle="Terminal" %} +{% highlight c# tabtitle=".NET CLI" %} -dotnet add package Syncfusion.Blazor.RangeNavigator -v {{ site.releaseversion }} -dotnet add package Syncfusion.Blazor.Themes -v {{ site.releaseversion }} +dotnet new blazorwasm -o BlazorApp +cd BlazorApp {% endhighlight %} {% endtabs %} {% endtabcontent %} -{% tabcontent .NET CLI %} +{% endtabcontents %} + +## Install required Blazor packages + +Install [Syncfusion.Blazor.RangeNavigator](https://www.nuget.org/packages/Syncfusion.Blazor.RangeNavigator/) and [Syncfusion.Blazor.Themes](https://www.nuget.org/packages/Syncfusion.Blazor.Themes/) NuGet packages in your project using the NuGet Package Manager in Visual Studio (*Tools → NuGet Package Manager → Manage NuGet Packages for Solution*), or the integrated terminal in Visual Studio Code (`dotnet add package`), or the .NET CLI. -Open the command prompt and run the following commands. +Alternatively, run the following commands in the Package Manager Console to achieve the same. {% tabs %} -{% highlight razor tabtitle="Command Prompt" %} +{% highlight C# tabtitle="Package Manager" %} -dotnet add package Syncfusion.Blazor.RangeNavigator -v {{ site.releaseversion }} -dotnet add package Syncfusion.Blazor.Themes -v {{ site.releaseversion }} +Install-Package Syncfusion.Blazor.RangeNavigator -Version {{ site.releaseversion }} +Install-Package Syncfusion.Blazor.Themes -Version {{ site.releaseversion }} {% endhighlight %} {% endtabs %} -{% endtabcontent %} - -{% endtabcontents %} +N> All Syncfusion Blazor packages are available on [nuget.org](https://www.nuget.org/packages?q=syncfusion.blazor). See the [NuGet packages](https://blazor.syncfusion.com/documentation/nuget-packages) topic for details. ## Add import namespaces After the packages are installed, open the **~/_Imports.razor** file and import the `Syncfusion.Blazor` and `Syncfusion.Blazor.Charts` namespaces. {% tabs %} -{% highlight razor tabtitle="~/_Imports.razor" %} +{% highlight C# tabtitle="~/_Imports.razor" %} @using Syncfusion.Blazor @using Syncfusion.Blazor.Charts @@ -124,12 +111,12 @@ After the packages are installed, open the **~/_Imports.razor** file and import {% endhighlight %} {% endtabs %} -## Register the Blazor service +## Register Blazor service -Open the **Program.cs** file in Blazor WebAssembly App and register the Blazor service. +Register the Blazor service in the **Program.cs** file of your Blazor WebAssembly App. {% tabs %} -{% highlight c# tabtitle="Program.cs" %} +{% highlight C# tabtitle="Program.cs" %} .... using Syncfusion.Blazor; @@ -142,25 +129,24 @@ builder.Services.AddSyncfusionBlazor(); ## Add stylesheet and script resources -The theme stylesheet and script can be accessed from NuGet through [Static Web Assets](https://blazor.syncfusion.com/documentation/appearance/themes#static-web-assets). Include the [stylesheet](https://blazor.syncfusion.com/documentation/appearance/themes) and [script references](https://blazor.syncfusion.com/documentation/common/adding-script-references) in the **~wwwroot/index.html** file. +The theme stylesheet and script can be accessed from NuGet through [Static Web Assets](https://blazor.syncfusion.com/documentation/appearance/themes#static-web-assets). Include the stylesheet and script references in the **~/index.html** file. -{% tabs %} -{% highlight html tabtitle="index.html" %} +```html -... -... +.... -{% endhighlight %} -{% endtabs %} +``` + +N> Check out the [Blazor Themes](https://blazor.syncfusion.com/documentation/appearance/themes) topic to discover various methods ([Static Web Assets](https://blazor.syncfusion.com/documentation/appearance/themes#static-web-assets), [CDN](https://blazor.syncfusion.com/documentation/appearance/themes#cdn-reference), and [CRG](https://blazor.syncfusion.com/documentation/common/custom-resource-generator)) for referencing themes in the Blazor application. Also, check out the [Adding Script Reference](https://blazor.syncfusion.com/documentation/common/adding-script-references) topic to learn different approaches for adding script references in the Blazor application. ## Add Blazor Range Selector component -Open a Razor file located in the **~/Pages/*.razor** (for example, **Home.razor**) and add the [Blazor Range Selector](https://www.syncfusion.com/blazor-components/blazor-range-selector) component inside the razor file. +Add the Blazor Range Selector component in the **~/Pages/Index.razor** file. {% tabs %} -{% highlight razor tabtitle="Home.razor" %} +{% highlight razor tabtitle="Index.razor" %} @@ -171,10 +157,10 @@ Open a Razor file located in the **~/Pages/*.razor** (for example, **Home.razor* ## Populate Blazor Range Navigator with Data -To bind the data for the Range Navigator component, assign an `IEnumerable` object to the [DataSource](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.RangeNavigatorSeries.html#Syncfusion_Blazor_Charts_RangeNavigatorSeries_DataSource) property. It can also be provided as an instance of the [DataManager](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.DataManager.html). +To bind the data for the Range Navigator component, assign a `IEnumerable` object to the [DataSource](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.RangeNavigatorSeries.html#Syncfusion_Blazor_Charts_RangeNavigatorSeries_DataSource) property. It can also be provided as an instance of the [DataManager](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.DataManager.html). {% tabs %} -{% highlight razor tabtitle="Home.razor" %} +{% highlight razor tabtitle="Index.razor" %} @code { public class StockPrice @@ -198,10 +184,10 @@ To bind the data for the Range Navigator component, assign an `IEnumerable` obje {% endhighlight %} {% endtabs %} -Now map `Date` and `Close` fields from the data source to [XName](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.RangeNavigatorSeries.html#Syncfusion_Blazor_Charts_RangeNavigatorSeries_XName) and [YName](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.RangeNavigatorSeries.html#Syncfusion_Blazor_Charts_RangeNavigatorSeries_YName) properties of the [RangeNavigatorSeries](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.RangeNavigatorSeries.html) and then set the `StockDetails` to [DataSource](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.RangeNavigatorSeries.html#Syncfusion_Blazor_Charts_RangeNavigatorSeries_DataSource) property. +Now map `Date` and `Close` fields from the datasource to [XName](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.RangeNavigatorSeries.html#Syncfusion_Blazor_Charts_RangeNavigatorSeries_XName) and [YName](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.RangeNavigatorSeries.html#Syncfusion_Blazor_Charts_RangeNavigatorSeries_YName) properties of the [RangeNavigatorSeries](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.RangeNavigatorSeries.html) and then set the `StockDetails` to [DataSource](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.RangeNavigatorSeries.html#Syncfusion_Blazor_Charts_RangeNavigatorSeries_DataSource) property. {% tabs %} -{% highlight razor tabtitle="Home.razor" %} +{% highlight razor tabtitle="Index.razor" %} @@ -212,52 +198,14 @@ Now map `Date` and `Close` fields from the data source to [XName](https://help.s {% endhighlight %} {% endtabs %} -## Run the application - -{% tabcontents %} - -{% tabcontent Visual Studio %} - -Press Ctrl+F5 (Windows) or +F5 (macOS) to launch the application. The Blazor Range Selector component will render in your default web browser. - -{% endtabcontent %} - -{% tabcontent Visual Studio Code %} - -Open the terminal and run the following command. - -{% tabs %} -{% highlight razor tabtitle="Terminal" %} - -dotnet run - -{% endhighlight %} -{% endtabs %} - -{% endtabcontent %} - -{% tabcontent .NET CLI %} - -Open the command prompt and run the following command. - -{% tabs %} -{% highlight razor tabtitle="Command Prompt" %} - -dotnet run - -{% endhighlight %} -{% endtabs %} - -{% endtabcontent %} - -{% endtabcontents %} +Press Ctrl+F5 (Windows) or +F5 (macOS) to launch the application. This will render the Blazor Range Selector component in the default web browser. -{% previewsample "https://blazorplayground.syncfusion.com/embed/BDhdZctWzWQIJXca?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor RangeNavigator Component](images/blazor-range-navigator.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BZrJDWAtULnzQnOO?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor RangeNavigator Component](images/blazor-range-navigator.webp)" %} N> [View Sample in GitHub](https://github.com/SyncfusionExamples/Blazor-Getting-Started-Examples/tree/main/RangeSelector). ## See also -1. [Getting Started with Blazor WebAssembly App](https://blazor.syncfusion.com/documentation/getting-started/blazor-webassembly-app) -2. [Getting Started with Blazor for Server-Side in Visual Studio](https://blazor.syncfusion.com/documentation/getting-started/blazor-server-side-visual-studio) -3. [Getting Started with Blazor Web App](https://blazor.syncfusion.com/documentation/getting-started/blazor-web-app) +* [Getting Started with Blazor for Client-Side in .NET Core CLI](https://blazor.syncfusion.com/documentation/getting-started/blazor-webassembly-app) +* [Getting Started with Blazor for Server-Side in Visual Studio](https://blazor.syncfusion.com/documentation/getting-started/blazor-server-side-visual-studio) +* [Getting Started with Blazor for Server-Side in .NET Core CLI](https://blazor.syncfusion.com/documentation/getting-started/blazor-web-app) diff --git a/chart-sdk/blazor/range-selector/grid-tick.md b/chart-sdk/blazor/range-selector/grid-tick.md index 26635e1e2..86c6a8271 100644 --- a/chart-sdk/blazor/range-selector/grid-tick.md +++ b/chart-sdk/blazor/range-selector/grid-tick.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Range Selector Grid Lines Examples | Syncfusion® -description: Learn how to customize grid lines and tick lines in Syncfusion Blazor Range Selector, including Width, Color, and DashArray settings. -platform: Blazor +title: Grid Lines and Tick Lines in Blazor Range Selector | Syncfusion® +description: Learn here all about grid lines and tick lines in Blazor Range Selector component with examples and much more details. +platform: chart-sdk control: Range Selector documentation: ug --- -# Blazor Range Selector Grid Lines and Tick Lines +# Grid Lines and Tick Lines in Blazor Range Selector Component ## Gridline Customization diff --git a/chart-sdk/blazor/range-selector/images/blazor-range-navigator.webp b/chart-sdk/blazor/range-selector/images/blazor-range-navigator.webp index 674524125..29e516209 100644 Binary files a/chart-sdk/blazor/range-selector/images/blazor-range-navigator.webp and b/chart-sdk/blazor/range-selector/images/blazor-range-navigator.webp differ diff --git a/chart-sdk/blazor/range-selector/labels.md b/chart-sdk/blazor/range-selector/labels.md index 68cbdd0ca..b549d3fa4 100644 --- a/chart-sdk/blazor/range-selector/labels.md +++ b/chart-sdk/blazor/range-selector/labels.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Range Selector Labels Examples | Syncfusion® -description: Learn how to configure labels in Syncfusion Blazor Range Selector, including multi-level labels, format, and LabelPosition options. -platform: Blazor +title: Labels in Blazor Range Selector Component | Syncfusion® +description: Checkout and learn here all about labels in Blazor Range Selector component with examples and much more details. +platform: chart-sdk control: Range Selector documentation: ug --- -# Blazor Range Selector Labels +# Labels in Blazor Range Selector Component ## Multi-level labels diff --git a/chart-sdk/blazor/range-selector/light-weight.md b/chart-sdk/blazor/range-selector/light-weight.md index 5575c0563..c78749ad5 100644 --- a/chart-sdk/blazor/range-selector/light-weight.md +++ b/chart-sdk/blazor/range-selector/light-weight.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Range Selector Lightweight Examples | Syncfusion® -description: Learn how to enable lightweight mode in Syncfusion Blazor Range Selector to render the navigator without a chart when DataSource is empty. -platform: Blazor +title: Lightweight in Blazor Range Selector Component | Syncfusion® +description: Checkout and learn here all about lightweight in Blazor Range Selector component with examples and much more details. +platform: chart-sdk control: Range Selector documentation: ug --- -# Blazor Range Selector Lightweight +# Lightweight in Blazor Range Selector Component By default, when the [DataSource](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SfRangeNavigator.html#Syncfusion_Blazor_Charts_SfRangeNavigator_DataSource) for [RangeNavigatorSeries](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.RangeNavigatorSeries.html) is empty, a lightweight Range Selector will be shown without Chart. diff --git a/chart-sdk/blazor/range-selector/period-selector.md b/chart-sdk/blazor/range-selector/period-selector.md index c5f779651..a6bee0247 100644 --- a/chart-sdk/blazor/range-selector/period-selector.md +++ b/chart-sdk/blazor/range-selector/period-selector.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Range Selector Period Selector Examples | Syncfusion® -description: Learn how to configure the period selector in Syncfusion Blazor Range Selector to let users choose time ranges with pre-defined intervals. -platform: Blazor +title: Period Selector in Blazor Range Selector Component | Syncfusion® +description: Checkout and learn here all about period selector in Blazor Range Selector component with examples and much more details. +platform: chart-sdk control: Range Selector documentation: ug --- -# Blazor Range Selector Period Selector +# Period Selector in Blazor Range Selector Component The period selector allows to choose a time range with specific periods. diff --git a/chart-sdk/blazor/range-selector/r-t-l.md b/chart-sdk/blazor/range-selector/r-t-l.md index 330e56a27..9ff743566 100644 --- a/chart-sdk/blazor/range-selector/r-t-l.md +++ b/chart-sdk/blazor/range-selector/r-t-l.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Range Selector RTL Examples | Syncfusion® -description: Learn how to enable right-to-left (RTL) rendering in Syncfusion Blazor Range Selector using the EnableRtl property with code samples. -platform: Blazor +title: RTL in Blazor Range Selector Component | Syncfusion® +description: Checkout and learn here all about RTL in Blazor Range Selector component with examples and much more details. +platform: chart-sdk control: Range Selector documentation: ug --- -# Blazor Range Selector RTL +# RTL in Blazor Range Selector Component The Range Selector supports right-to-left (RTL), which can be enabled with the [EnableRtl](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SfRangeNavigator.html#Syncfusion_Blazor_Charts_SfRangeNavigator_EnableRtl) property. diff --git a/chart-sdk/blazor/range-selector/range.md b/chart-sdk/blazor/range-selector/range.md index bf59f1cbe..85463e63e 100644 --- a/chart-sdk/blazor/range-selector/range.md +++ b/chart-sdk/blazor/range-selector/range.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Range Selector Range Examples | Syncfusion® -description: Learn how to select a range in Syncfusion Blazor Range Selector using thumbs, label taps, or the Value property for one-way and two-way binding. -platform: Blazor +title: Range in Blazor Range Selector Component | Syncfusion® +description: Checkout and learn here all about range in Blazor Range Selector component with examples and much more details. +platform: chart-sdk control: Range Selector documentation: ug --- -# Blazor Range Selector Range +# Range in Blazor Range Selector Component The Range Selector's left and right thumbs are used to indicate the selected range in the large collection of data. A range can be selected in the following ways: diff --git a/chart-sdk/blazor/range-selector/series-type.md b/chart-sdk/blazor/range-selector/series-type.md index 13a3b7032..be75ee56b 100644 --- a/chart-sdk/blazor/range-selector/series-type.md +++ b/chart-sdk/blazor/range-selector/series-type.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Range Selector Series Type Examples | Syncfusion® -description: Learn about the supported series types in Syncfusion Blazor Range Selector, including Line, Area, and StepLine series. -platform: Blazor +title: Series Type in Blazor Range Selector Component | Syncfusion® +description: Checkout and learn here all about Series Type in Blazor Range Selector component with examples and much more details. +platform: chart-sdk control: Range Selector documentation: ug --- -# Blazor Range Selector Series Type +# Series Type in Blazor Range Selector Component To render the data, the Range Selector supports three types of series. diff --git a/chart-sdk/blazor/range-selector/style-appearance.md b/chart-sdk/blazor/range-selector/style-appearance.md index 40178e134..3db4ac75e 100644 --- a/chart-sdk/blazor/range-selector/style-appearance.md +++ b/chart-sdk/blazor/range-selector/style-appearance.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Range Selector Style and Appearance Examples | Syncfusion® -description: Customize the visual style of Syncfusion Blazor Range Selector with CSS selectors, theme variables, and ID-based styling for full control. -platform: Blazor +title: Style and Appearance in Blazor Range Selector | Syncfusion® +description: Check out and learn about Style and Appearance customization in Blazor Range Selector component with examples and much more details. +platform: chart-sdk control: Range Selector documentation: ug --- -# Blazor Range Selector Style and Appearance +# Style and Appearance in Blazor Range Navigator Component Style and Appearance provide options to customize the visual design of the **Syncfusion Blazor Range Navigator** component, ensuring consistency with your application’s branding and theme. diff --git a/chart-sdk/blazor/range-selector/tool-tip.md b/chart-sdk/blazor/range-selector/tool-tip.md index 314dcb05d..ad0085acd 100644 --- a/chart-sdk/blazor/range-selector/tool-tip.md +++ b/chart-sdk/blazor/range-selector/tool-tip.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Range Selector Tooltip Examples | Syncfusion® -description: Learn how to enable and customize tooltips in Syncfusion Blazor Range Selector, including slider tooltips that show the selected start and end values. -platform: Blazor +title: Tooltip in Blazor Range Selector Component | Syncfusion® +description: Checkout and learn here all about tooltip in Blazor Range Selector component with examples and much more details. +platform: chart-sdk control: Range Selector documentation: ug --- -# Blazor Range Selector Tooltip +# Tooltip in Blazor Range Selector Component diff --git a/chart-sdk/blazor/range-selector/working-with-data.md b/chart-sdk/blazor/range-selector/working-with-data.md index 635b067f8..e30bff847 100644 --- a/chart-sdk/blazor/range-selector/working-with-data.md +++ b/chart-sdk/blazor/range-selector/working-with-data.md @@ -1,15 +1,15 @@ --- layout: post -title: Blazor Range Selector Working with Data Examples | Syncfusion® -description: Learn how to bind data to Syncfusion Blazor Range Selector using SfDataManager, RESTful JSON services, or IEnumerable with code samples. -platform: Blazor -control: Range Selector +title: Working with Data in Blazor Range Selector Component | Syncfusion® +description: Checkout and learn here all about Working with Data in Blazor Range Selector Component with examples and much more details. +platform: chart-sdk +control: Chart documentation: ug --- -# Blazor Range Selector Working with Data +# Working with Data in Blazor Range Selector Component The Range Selector uses [SfDataManager](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Data.SfDataManager.html), which supports both RESTful JSON data services binding and IEnumerable binding. The [DataSource](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.RangeNavigatorSeries.html#Syncfusion_Blazor_Charts_RangeNavigatorSeries_DataSource) value can be set using either [SfDataManager](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Data.SfDataManager.html) property value or a list of business objects. @@ -184,7 +184,7 @@ Range Selector supports **DynamicObject** data source when the model type is unk ### Binding with OData v4 services -The [SfDataManager](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Data.SfDataManager.html) can retrieve and consume OData v4 services, which is an upgraded version of OData protocols. Refer to the [OData documentation](https://docs.oasis-open.org/odata/odata/v4.0/errata03/os/complete/part1-protocol/odata-v4.0-errata03-os-part1-protocol-complete.html) for additional information on OData v4 services. To bind an OData v4 service, use the **ODataV4Adaptor**. +The [SfDataManager](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Data.SfDataManager.html) can retrieve and consume OData v4 services, which is an upgraded version of OData protocols. Refer to the [OData documentation](http://docs.oasis-open.org/odata/odata/v4.0/errata03/os/complete/part1-protocol/odata-v4.0-errata03-os-part1-protocol-complete.html#_Toc453752197) for additional information on OData v4 services. To bind an OData v4 service, use the **ODataV4Adaptor**. ```cshtml @@ -303,4 +303,4 @@ The [ObservableCollection](https://learn.microsoft.com/en-us/dotnet/api/system.c ![Blazor Chart with Web API Binding](images/working-data/blazor-range-observable-collection.webp) -N> Refer to our [Blazor Range Selector](https://www.syncfusion.com/blazor-components/blazor-range-selector) feature tour page for its groundbreaking feature representations and also explore our [Blazor Range Selector Example](https://blazor.syncfusion.com/demos/range-selector/range-navigator?theme=fluent2) to know various Range Selector types and how to represent time-dependent data, showing trends at equal intervals. \ No newline at end of file +N> Refer to our [Blazor Range Selector](https://www.syncfusion.com/blazor-components/blazor-range-selector) feature tour page for its groundbreaking feature representations and also explore our [Blazor Range Selector Example](https://blazor.syncfusion.com/demos/range-selector/range-navigator) to know various Range Selector types and how to represent time-dependent data, showing trends at equal intervals. \ No newline at end of file diff --git a/chart-sdk/blazor/smith-chart/accessibility.md b/chart-sdk/blazor/smith-chart/accessibility.md index 35386da58..ef9db0845 100644 --- a/chart-sdk/blazor/smith-chart/accessibility.md +++ b/chart-sdk/blazor/smith-chart/accessibility.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Smith Chart Accessibility Examples | Syncfusion® -description: Learn how to enable accessibility in Syncfusion Blazor Smith Chart with keyboard navigation, screen reader support, and WCAG 2.2 compliance. -platform: Blazor +title: Accessibility in Blazor Smith Chart Component | Syncfusion +description: Checkout and learn here all about Accessibility using Keyboard navigation in Blazor Smith Chart component and more. +platform: chart-sdk control: Smith Chart documentation: ug --- -# Blazor Smith Chart Accessibility +# Accessibility in Blazor Smith Chart Component The Blazor Smith Chart component followed the accessibility guidelines and standards, including [ADA](https://www.ada.gov/), [Section 508](https://www.section508.gov/), [WCAG 2.2](https://www.w3.org/TR/WCAG22/) standards, and [WCAG roles](https://www.w3.org/TR/wai-aria/#roles) that are commonly used to evaluate accessibility. diff --git a/chart-sdk/blazor/smith-chart/events.md b/chart-sdk/blazor/smith-chart/events.md index c9b869c0e..76fd3a71b 100644 --- a/chart-sdk/blazor/smith-chart/events.md +++ b/chart-sdk/blazor/smith-chart/events.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Smith Chart Events Examples and Reference | Syncfusion® -description: Learn about events in Syncfusion Blazor Smith Chart such as Loaded, OnLegendItemRender, OnSeriesRender, and TooltipRender with usage examples. -platform: Blazor +title: Events in Blazor Smith Chart Component | Syncfusion® +description: Checkout and learn here all the features about events in Blazor Smith Chart component and much more details. +platform: chart-sdk control: Smith Chart documentation: ug --- -# Blazor Smith Chart Events +# Events in Blazor Smith Chart Component This section describes about the Smith Chart component's events that will be triggered when appropriate actions are performed. The events should be provided to the Smith Chart through the **SmithChartEvents** component. diff --git a/chart-sdk/blazor/smith-chart/getting-started-webapp.md b/chart-sdk/blazor/smith-chart/getting-started-webapp.md index 5f5fa338f..21955cc39 100644 --- a/chart-sdk/blazor/smith-chart/getting-started-webapp.md +++ b/chart-sdk/blazor/smith-chart/getting-started-webapp.md @@ -1,52 +1,46 @@ --- layout: post -title: Getting Started with Blazor Smith Chart in Web App | Syncfusion® -description: Learn how to get started with Syncfusion Blazor Smith Chart in a Blazor Web App, including server and client setup, packages, and first chart. -platform: Blazor +title: Getting started with Smith Chart in Blazor Web App | Syncfusion® +description: Check out the documentation for getting started with Blazor Smith Chart Component in Blazor Web App. +platform: chart-sdk control: Smith Chart documentation: ug --- -# Blazor Smith Chart Getting Started in Web App +# Getting Started with Blazor Smith Chart in Blazor Web App -This section briefly explains how to include the [Blazor Smith Chart](https://www.syncfusion.com/blazor-components/blazor-smith-chart) component in your Blazor Web App using [Visual Studio](https://visualstudio.microsoft.com/vs/), [Visual Studio Code](https://code.visualstudio.com/), and the [.NET CLI](https://learn.microsoft.com/en-us/dotnet/core/tools/). - -## Create a new Blazor Web App +This section briefly explains about how to include [Blazor Smith Chart](https://www.syncfusion.com/blazor-components/blazor-smith-chart) component in your Blazor Web App using [Visual Studio](https://visualstudio.microsoft.com/vs/), [Visual Studio Code](https://code.visualstudio.com/), and the [.NET CLI](https://learn.microsoft.com/en-us/dotnet/core/tools/). {% tabcontents %} {% tabcontent Visual Studio %} -Create a **Blazor Web App** using Visual Studio via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vs) or the [Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-integration/template-studio). For detailed instructions, refer to the [Blazor Web App Getting Started](https://blazor.syncfusion.com/documentation/getting-started/blazor-web-app) documentation. +## Prerequisites -{% endtabcontent %} +* [System requirements for Blazor components](https://blazor.syncfusion.com/documentation/system-requirements) -{% tabcontent Visual Studio Code %} +## Create a new Blazor Web App in Visual Studio -Run the following command to create a new Blazor Web App. +Create a **Blazor Web App** using Visual Studio via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vs) or the [Syncfusion® Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-integration/template-studio). For detailed instructions, refer to the [Blazor Web App Getting Started](https://blazor.syncfusion.com/documentation/getting-started/blazor-web-app) documentation. -{% tabs %} -{% highlight razor tabtitle="Terminal" %} +{% endtabcontent %} -dotnet new blazor -o BlazorWebApp --interactivity Auto -cd BlazorWebApp -cd BlazorWebApp.Client +{% tabcontent Visual Studio Code %} -{% endhighlight %} -{% endtabs %} +## Prerequisites -Alternatively, create a **Blazor Web App** using Visual Studio Code via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vsc), the [Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-code-integration/create-project), or the [C# Dev Kit](https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csdevkit) extension. +* [System requirements for Blazor components](https://blazor.syncfusion.com/documentation/system-requirements) -{% endtabcontent %} +## Create a new Blazor Web App in Visual Studio Code -{% tabcontent .NET CLI %} +Create a **Blazor Web App** using Visual Studio Code via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vsc) or the [Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-code-integration/create-project). For detailed instructions, refer to the [Blazor Web App Getting Started](https://blazor.syncfusion.com/documentation/getting-started/blazor-web-app?tabcontent=visual-studio-code) documentation. -Run the following command to create a new Blazor Web App. +For example, in a Blazor Web App with the `Auto` interactive render mode, use the following commands in the integrated terminal (Ctrl+`): {% tabs %} -{% highlight razor tabtitle="Command Prompt" %} +{% highlight c# tabtitle="Blazor Web App" %} -dotnet new blazor -o BlazorWebApp --interactivity Auto +dotnet new blazor -o BlazorWebApp -int Auto cd BlazorWebApp cd BlazorWebApp.Client @@ -55,69 +49,74 @@ cd BlazorWebApp.Client {% endtabcontent %} -{% endtabcontents %} +{% tabcontent .NET CLI %} -N> Configure the appropriate [Interactive render mode](https://learn.microsoft.com/en-us/aspnet/core/blazor/components/render-modes?view=aspnetcore-10.0#render-modes) and [Interactivity location](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vs) while creating a Blazor Web App. For detailed information, refer to the [interactive render mode documentation](https://blazor.syncfusion.com/documentation/common/interactive-render-mode). +## Prerequisites -## Install the required Blazor package +Install the latest version of [.NET SDK](https://dotnet.microsoft.com/en-us/download). If you previously installed the SDK, determine the installed version by executing the following command in a command prompt (Windows) or terminal (macOS) or command shell (Linux). -Install the [Syncfusion.Blazor.SmithChart](https://www.nuget.org/packages/Syncfusion.Blazor.SmithChart) NuGet package. All Syncfusion Blazor packages are available on [nuget.org](https://www.nuget.org/packages?q=syncfusion.blazor). See the [NuGet packages](https://blazor.syncfusion.com/documentation/nuget-packages) topic for details. If using the `WebAssembly` or `Auto` render modes in the Blazor Web App, install this package in the `.Client` project. +{% tabs %} +{% highlight c# tabtitle=".NET CLI" %} -{% tabcontents %} +dotnet --version -{% tabcontent Visual Studio %} +{% endhighlight %} +{% endtabs %} -1. Go to *Tools → NuGet Package Manager → Manage NuGet Packages for Solution*. -2. Search the required NuGet package (`Syncfusion.Blazor.SmithChart`) and install it. +## Create a Blazor Web App using .NET CLI -Alternatively, you can install the same package using the Package Manager Console with the following command. +Run the following command to create a new Blazor Web App in a command prompt (Windows) or terminal (macOS) or command shell (Linux). For detailed instructions, refer to the [Blazor Web App Getting Started](https://blazor.syncfusion.com/documentation/getting-started/blazor-web-app?tabcontent=.net-cli) documentation. + +For example, in a Blazor Web App with the `Auto` interactive render mode, use the following commands: {% tabs %} -{% highlight razor tabtitle="Package Manager Console" %} +{% highlight c# tabtitle="Blazor Web App" %} -Install-Package Syncfusion.Blazor.SmithChart -Version {{ site.releaseversion }} +dotnet new blazor -o BlazorWebApp -int Auto +cd BlazorWebApp +cd BlazorWebApp.Client {% endhighlight %} {% endtabs %} {% endtabcontent %} -{% tabcontent Visual Studio Code %} +{% endtabcontents %} -Open the terminal and run the following command. +N> Configure the appropriate [Interactive render mode](https://learn.microsoft.com/en-us/aspnet/core/blazor/components/render-modes?view=aspnetcore-10.0#render-modes) and [Interactivity location](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vs) while creating a Blazor Web App. For detailed information, refer to the [interactive render mode documentation](https://blazor.syncfusion.com/documentation/common/interactive-render-mode). -{% tabs %} -{% highlight razor tabtitle="Terminal" %} +## Install required Blazor packages -dotnet add package Syncfusion.Blazor.SmithChart -v {{ site.releaseversion }} +Install the [Syncfusion.Blazor.SmithChart](https://www.nuget.org/packages/Syncfusion.Blazor.SmithChart) NuGet package using one of the following methods. -{% endhighlight %} -{% endtabs %} +**Visual Studio (NuGet Package Manager)**: -{% endtabcontent %} +1. Go to *Tools → NuGet Package Manager → Manage NuGet Packages for Solution*. +2. Search the required NuGet package (`Syncfusion.Blazor.SmithChart`) and install it. -{% tabcontent .NET CLI %} +**Visual Studio Code or .NET CLI**: -Open the command prompt and run the following command. +Open the terminal or command prompt and run the following command: {% tabs %} -{% highlight razor tabtitle="Command Prompt" %} +{% highlight C# tabtitle=".NET CLI" %} dotnet add package Syncfusion.Blazor.SmithChart -v {{ site.releaseversion }} {% endhighlight %} {% endtabs %} -{% endtabcontent %} -{% endtabcontents %} +If using the `WebAssembly` or `Auto` render modes in the Blazor Web App, install this package in the client project. + +N> All Blazor packages are available on [nuget.org](https://www.nuget.org/packages?q=syncfusion.blazor). See the [NuGet packages](https://blazor.syncfusion.com/documentation/nuget-packages) topic for details. ## Add import namespaces -After the package is installed, open the **~/_Imports.razor** file in the `.Client` project and import the `Syncfusion.Blazor` and `Syncfusion.Blazor.Charts` namespaces. +After the packages are installed, open the **~/_Imports.razor** file in the client project and import the `Syncfusion.Blazor` and `Syncfusion.Blazor.Charts` namespaces. {% tabs %} -{% highlight razor tabtitle="~/_Imports.razor" %} +{% highlight C# tabtitle="~/_Imports.razor" %} @using Syncfusion.Blazor @using Syncfusion.Blazor.Charts @@ -125,9 +124,9 @@ After the package is installed, open the **~/_Imports.razor** file in the `.Clie {% endhighlight %} {% endtabs %} -## Register the Blazor service +## Register Blazor service -Open the **Program.cs** file in Blazor Web App and register the Blazor service. If the **Interactive Render Mode** is set to `WebAssembly` or `Auto`, register the Blazor service in **Program.cs** files of both the server and client projects in your Blazor Web App. +Register the Blazor service in the **Program.cs** file of your Blazor Web App. {% tabs %} {% highlight c# tabtitle="Program.cs" %} @@ -141,23 +140,26 @@ builder.Services.AddSyncfusionBlazor(); {% endhighlight %} {% endtabs %} -## Add script resource +N> If the **Interactive Render Mode** is set to `WebAssembly` or `Auto`, register the Blazor service in **Program.cs** files of both the server and client projects in your Blazor Web App. -The script can be accessed from NuGet through [Static Web Assets](https://blazor.syncfusion.com/documentation/appearance/themes#static-web-assets). Include the [script references](https://blazor.syncfusion.com/documentation/common/adding-script-references) in the **App.razor** file. +## Add script resources -{% tabs %} -{% highlight razor tabtitle="App.razor" %} +The script can be accessed from NuGet through [Static Web Assets](https://blazor.syncfusion.com/documentation/appearance/themes#static-web-assets). Include the script reference in the **~/Components/App.razor** file. + +```html -{% endhighlight %} -{% endtabs %} +``` + +N> Check out the [Adding Script Reference](https://blazor.syncfusion.com/documentation/common/adding-script-references) topic to learn different approaches for adding script references in your Blazor application. ## Add Blazor Smith Chart component -Open a Razor file located in the **~/Pages/*.razor** (for example, **Home.razor**) and add the [Blazor Smith Chart](https://www.syncfusion.com/blazor-components/blazor-smith-chart) component inside the `.Client` project razor file. +* Open a Razor file located in the **~/Components/Pages** (for example, **Home.razor**) and add the Blazor Smith Chart component inside the razor file. +* If the interactivity location is set to `Per page/component` in the Web App, define a render mode at the top of the razor file. (For example, `InteractiveServer`, `InteractiveWebAssembly` or `InteractiveAuto`). -N> If the interactivity location is set to `Per page/component` in the Web App, define a render mode at the top of the razor file. (For example, `InteractiveServer`, `InteractiveWebAssembly` or `InteractiveAuto`). If the **Interactivity** is set to `Global` with `Auto` or `WebAssembly`, the render mode is automatically configured in the `App.razor` file by default. +N> If the **Interactivity Location** is set to `Global` with `Auto` or `WebAssembly`, the render mode is automatically configured in the `App.razor` file by default. {% tabs %} {% highlight razor tabtitle="Home.razor" %} @@ -245,57 +247,29 @@ The following sample demonstrates adding two series to Smith Chart in both ways. {% endhighlight %} {% endtabs %} -**Run the application** +### Run the application -{% tabcontents %} +**Visual Studio**: -{% tabcontent Visual Studio %} +* Press Ctrl+F5 (Windows) or +F5 (macOS) to launch the application. The Blazor Smith Chart component will render in your default web browser. -Press Ctrl+F5 (Windows) or +F5 (macOS) to launch the application. The Blazor Smith Chart component will render in your default web browser. +**Visual Studio Code or .NET CLI**: -{% endtabcontent %} +1. Open the terminal (Visual Studio Code) or command prompt (.NET CLI) and navigate to the `Client` project folder. +2. Run the following command: -{% tabcontent Visual Studio Code %} - -Open the terminal and navigate to the main project folder (for example, `BlazorWebApp`) and run the following command. + ``` + dotnet run + ``` +3. The application will start and display in your default web browser. -{% tabs %} -{% highlight razor tabtitle="Terminal" %} - -cd .. -cd BlazorWebApp -dotnet run - -{% endhighlight %} -{% endtabs %} - -{% endtabcontent %} - -{% tabcontent .NET CLI %} - -Open the command prompt and navigate to the main project folder (for example, `BlazorWebApp`) and run the following command. - -{% tabs %} -{% highlight razor tabtitle="Command Prompt" %} - -cd .. -cd BlazorWebApp -dotnet run - -{% endhighlight %} -{% endtabs %} - -{% endtabcontent %} - -{% endtabcontents %} - -{% previewsample "https://blazorplayground.syncfusion.com/embed/VNVHDwtdNfWZoMYS?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Smith Chart with Transmission Series](./images/blazor-smith-chart-series.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BjLzXCAtAueCOnlF?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Smith Chart with Transmission Series](./images/blazor-smith-chart-series.webp)" %} N> [View Sample in GitHub](https://github.com/SyncfusionExamples/Blazor-Getting-Started-Examples/tree/main/SmithChart). ## Adding Title -Title can be added to the Smith Chart to provide quick information to the users about the context of the rendered component. Add a title by using the [Text](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SmithChartTitle.html#Syncfusion_Blazor_Charts_SmithChartTitle_Text) property in the [SmithChartTitle](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SmithChartTitle.html). +Title can be added to the Smith Chart to provide a quick information to the users about the context of the rendered component. Add a title by using the [Text](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SmithChartTitle.html#Syncfusion_Blazor_Charts_SmithChartTitle_Text) property in the [SmithChartTitle](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SmithChartTitle.html). {% tabs %} {% highlight razor tabtitle="Home.razor" %} @@ -320,9 +294,9 @@ Title can be added to the Smith Chart to provide quick information to the users {% endhighlight %} {% endtabs %} -N> Refer to the [code block](#adding-series-to-blazor-smith-chart) to know about the property value of `FirstTransmissionSeries` and `SecondTransmissionSeries`. +N> Refer to the [code block](#adding-series-to-smith-chart) to know about the property value of `FirstTransmissionSeries` and `SecondTransmissionSeries`. -{% previewsample "https://blazorplayground.syncfusion.com/embed/LZhnNQZnXJUOelcl?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Smith Chart with Title](./images/blazor-smith-chart-with-title.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VZBJXMUNfrbavmEP?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Smith Chart with Title](./images/blazor-smith-chart-with-title.webp)" %} ## Enable Marker @@ -352,9 +326,9 @@ To display marker for particular series, set the [Visible](https://help.syncfusi {% endhighlight %} {% endtabs %} -N> Refer to the [code block](#adding-series-to-blazor-smith-chart) to know about the property value of `FirstTransmissionSeries` and `SecondTransmissionSeries`. +N> Refer to the [code block](#adding-series-to-smith-chart) to know about the property value of `FirstTransmissionSeries` and `SecondTransmissionSeries`. -{% previewsample "https://blazorplayground.syncfusion.com/embed/htBRNQtxDpolNtnK?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Smith Chart with Marker](./images/blazor-smith-chart-marker.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hjBJZMANTVYSwBSX?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Smith Chart with Marker](./images/blazor-smith-chart-marker.webp)" %} ## Enable Data Label @@ -386,9 +360,9 @@ To display data label for particular marker series, set the [Visible](https://he {% endhighlight %} {% endtabs %} -N> Refer to the [code block](#adding-series-to-blazor-smith-chart) to know the property value of `FirstTransmissionSeries` and `SecondTransmissionSeries`. +N> Refer to the [code block](#adding-series-to-smith-chart) to know the property value of `FirstTransmissionSeries` and `SecondTransmissionSeries`. -{% previewsample "https://blazorplayground.syncfusion.com/embed/VZLRXQtnZIhAzZyP?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Smith Chart with Data Label](./images/blazor-smith-chart-data-label.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LZLzjCANJgZtmWaL?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Smith Chart with Data Label](./images/blazor-smith-chart-data-label.webp)" %} ## Enable Legend @@ -420,9 +394,9 @@ Use legend for the Smith Chart by setting the [Visible](https://help.syncfusion. {% endhighlight %} {% endtabs %} -N> Refer to the [code block](#adding-series-to-blazor-smith-chart) to know the property value of the `FirstTransmissionSeries` and the `SecondTransmissionSeries`. +N> Refer to the [code block](#adding-series-to-smith-chart) to know the property value of the `FirstTransmissionSeries` and the `SecondTransmissionSeries`. -{% previewsample "https://blazorplayground.syncfusion.com/embed/rNrxDQXdjSfyMzcn?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Smith Chart with Legend](./images/blazor-smith-chart-legend.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LNLfDCAjfUjfvoAi?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Smith Chart with Legend](./images/blazor-smith-chart-legend.webp)" %} ## Enable Tooltip @@ -456,11 +430,14 @@ When space constraints prevents from displaying information using data labels, t {% endhighlight %} {% endtabs %} -N> Refer to the [code block](#adding-series-to-blazor-smith-chart) to know about the property value of the `FirstTransmissionSeries` and the `SecondTransmissionSeries`. +N> Refer to the [code block](#adding-series-to-smith-chart) to know about the property value of the `FirstTransmissionSeries` and the `SecondTransmissionSeries`. -{% previewsample "https://blazorplayground.syncfusion.com/embed/BNVdZmtnjyRfnAoC?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Smith Chart with Tooltip](./images/blazor-smith-chart-tooltip.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BNhztsKjJAXFyuof?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Smith Chart with Tooltip](./images/blazor-smith-chart-tooltip.webp)" %} ## See also -1. [Getting Started with Blazor WebAssembly App](https://blazor.syncfusion.com/documentation/getting-started/blazor-webassembly-app) -2. [Getting Started with Blazor Server App](https://blazor.syncfusion.com/documentation/getting-started/blazor-server-side-visual-studio) +* [Getting Started with Blazor for Client-Side in .NET Core CLI](https://blazor.syncfusion.com/documentation/getting-started/blazor-webassembly-app) + +* [Getting Started with Blazor for Server-Side in Visual Studio](https://blazor.syncfusion.com/documentation/getting-started/blazor-server-side-visual-studio) + +* [Getting Started with Blazor for Server-Side in .NET Core CLI](https://blazor.syncfusion.com/documentation/getting-started/blazor-web-app) \ No newline at end of file diff --git a/chart-sdk/blazor/smith-chart/getting-started.md b/chart-sdk/blazor/smith-chart/getting-started.md index 92ddec66b..6d296afc1 100644 --- a/chart-sdk/blazor/smith-chart/getting-started.md +++ b/chart-sdk/blazor/smith-chart/getting-started.md @@ -1,119 +1,108 @@ --- layout: post -title: Getting Started with Blazor Smith Chart in WASM App | Syncfusion® -description: Learn how to get started with Syncfusion Blazor Smith Chart in a Blazor WebAssembly app, including setup, packages, and first chart. -platform: Blazor +title: Getting Started with Blazor Smith Chart Component | Syncfusion® +description: Check out the documentation for getting started with Blazor Smith Chart Component in Blazor WebAssembly Application. +platform: chart-sdk control: Smith Chart documentation: ug --- -# Blazor Smith Chart Getting Started in WASM App +# Getting Started with Blazor Smith Chart Component -This section briefly explains how to include the [Blazor Smith Chart](https://www.syncfusion.com/blazor-components/blazor-smith-chart) component in a Blazor WebAssembly App using [Visual Studio](https://visualstudio.microsoft.com/vs/), [Visual Studio Code](https://code.visualstudio.com/), and the [.NET CLI](https://learn.microsoft.com/en-us/dotnet/core/tools/). - -## Create a new Blazor WebAssembly App +This section briefly explains about how to include [Blazor Smith Chart](https://www.syncfusion.com/blazor-components/blazor-smith-chart) component in a Blazor WebAssembly App using [Visual Studio](https://visualstudio.microsoft.com/vs/), [Visual Studio Code](https://code.visualstudio.com/), and the [.NET CLI](https://learn.microsoft.com/en-us/dotnet/core/tools/). {% tabcontents %} {% tabcontent Visual Studio %} -Create a **Blazor WebAssembly App** using Visual Studio via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vs) or the [Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-integration/template-studio). For detailed instructions, refer to the [Blazor WebAssembly App Getting Started](https://blazor.syncfusion.com/documentation/getting-started/blazor-webassembly-app) documentation. +## Prerequisites -{% endtabcontent %} +* [System requirements for Blazor components](https://blazor.syncfusion.com/documentation/system-requirements) -{% tabcontent Visual Studio Code %} +## Create a new Blazor App in Visual Studio -Run the following command to create a new Blazor WebAssembly App. +Create a **Blazor WebAssembly App** using Visual Studio via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vs) or the [Syncfusion® Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-integration/template-studio). For detailed instructions, refer to the [Blazor WASM App Getting Started](https://blazor.syncfusion.com/documentation/getting-started/blazor-webassembly-app) documentation. -{% tabs %} -{% highlight razor tabtitle="Terminal" %} +{% endtabcontent %} -dotnet new blazorwasm -o BlazorApp -cd BlazorApp +{% tabcontent Visual Studio Code %} -{% endhighlight %} -{% endtabs %} +## Prerequisites -Alternatively, create a **Blazor WebAssembly App** using Visual Studio Code via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vsc), the [Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-code-integration/create-project), or the [C# Dev Kit](https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csdevkit) extension. +* [System requirements for Blazor components](https://blazor.syncfusion.com/documentation/system-requirements) -{% endtabcontent %} +## Create a new Blazor App in Visual Studio Code -{% tabcontent .NET CLI %} +Create a **Blazor WebAssembly App** using Visual Studio Code via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vsc) or the [Syncfusion® Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-code-integration/create-project). For detailed instructions, refer to the [Blazor WASM App Getting Started](https://blazor.syncfusion.com/documentation/getting-started/blazor-webassembly-app?tabcontent=visual-studio-code) documentation. -Run the following command to create a new Blazor WebAssembly App. +Alternatively, create a WebAssembly application by using the following command in the integrated terminal (Ctrl+`). {% tabs %} -{% highlight razor tabtitle="Command Prompt" %} + +{% highlight c# tabtitle="Blazor WASM App" %} dotnet new blazorwasm -o BlazorApp cd BlazorApp {% endhighlight %} + {% endtabs %} {% endtabcontent %} -{% endtabcontents %} - -## Install the required Blazor package - -Install [Syncfusion.Blazor.SmithChart](https://www.nuget.org/packages/Syncfusion.Blazor.SmithChart/) NuGet package. All Syncfusion Blazor packages are available on [nuget.org](https://www.nuget.org/packages?q=syncfusion.blazor). See the [NuGet packages](https://blazor.syncfusion.com/documentation/nuget-packages) topic for details. - -{% tabcontents %} - -{% tabcontent Visual Studio %} +{% tabcontent .NET CLI %} -1. Go to *Tools → NuGet Package Manager → Manage NuGet Packages for Solution*. -2. Search the required NuGet package (`Syncfusion.Blazor.SmithChart`) and install it. +## Prerequisites -Alternatively, you can install the same package using the Package Manager Console with the following command. +Install the latest version of [.NET SDK](https://dotnet.microsoft.com/en-us/download). If the .NET SDK is already installed, determine the installed version by running the following command in a command prompt (Windows), terminal (macOS), or command shell (Linux). {% tabs %} -{% highlight razor tabtitle="Package Manager Console" %} +{% highlight c# tabtitle=".NET CLI" %} -Install-Package Syncfusion.Blazor.SmithChart -Version {{ site.releaseversion }} +dotnet --version {% endhighlight %} {% endtabs %} -{% endtabcontent %} +## Create a Blazor WebAssembly App using .NET CLI -{% tabcontent Visual Studio Code %} - -Open the terminal and run the following command. +Run the following command to create a new Blazor WebAssembly App in a command prompt (Windows) or terminal (macOS) or command shell (Linux). For detailed instructions, refer to the [Blazor WASM App Getting Started](https://blazor.syncfusion.com/documentation/getting-started/blazor-webassembly-app?tabcontent=.net-cli) documentation. {% tabs %} -{% highlight razor tabtitle="Terminal" %} +{% highlight c# tabtitle=".NET CLI" %} -dotnet add package Syncfusion.Blazor.SmithChart -v {{ site.releaseversion }} +dotnet new blazorwasm -o BlazorApp +cd BlazorApp {% endhighlight %} {% endtabs %} {% endtabcontent %} -{% tabcontent .NET CLI %} +{% endtabcontents %} + +## Install required Blazor packages -Open the command prompt and run the following command. +Install [Syncfusion.Blazor.SmithChart](https://www.nuget.org/packages/Syncfusion.Blazor.SmithChart/) NuGet package in your project using the NuGet Package Manager in Visual Studio (*Tools → NuGet Package Manager → Manage NuGet Packages for Solution*), or the integrated terminal in Visual Studio Code (`dotnet add package`), or the .NET CLI. + +Alternatively, run the following command in the Package Manager Console to achieve the same. {% tabs %} -{% highlight razor tabtitle="Command Prompt" %} +{% highlight C# tabtitle="Package Manager" %} -dotnet add package Syncfusion.Blazor.SmithChart -v {{ site.releaseversion }} +Install-Package Syncfusion.Blazor.SmithChart -Version {{ site.releaseversion }} {% endhighlight %} {% endtabs %} -{% endtabcontent %} - -{% endtabcontents %} +N> All Syncfusion Blazor packages are available on [nuget.org](https://www.nuget.org/packages?q=syncfusion.blazor). See the [NuGet packages](https://blazor.syncfusion.com/documentation/nuget-packages) topic for details. ## Add import namespaces After the package is installed, open the **~/_Imports.razor** file and import the `Syncfusion.Blazor` and `Syncfusion.Blazor.Charts` namespaces. {% tabs %} -{% highlight razor tabtitle="~/_Imports.razor" %} +{% highlight C# tabtitle="~/_Imports.razor" %} @using Syncfusion.Blazor @using Syncfusion.Blazor.Charts @@ -121,12 +110,12 @@ After the package is installed, open the **~/_Imports.razor** file and import th {% endhighlight %} {% endtabs %} -## Register the Blazor service +## Register Blazor service -Open the **Program.cs** file in Blazor WebAssembly App and register the Blazor service. +Register the Blazor service in the **Program.cs** file of your Blazor WebAssembly App. {% tabs %} -{% highlight c# tabtitle="Program.cs" %} +{% highlight C# tabtitle="Program.cs" %} .... using Syncfusion.Blazor; @@ -137,24 +126,24 @@ builder.Services.AddSyncfusionBlazor(); {% endhighlight %} {% endtabs %} -## Add script resource +## Add script resources -The script can be accessed from NuGet through [Static Web Assets](https://blazor.syncfusion.com/documentation/appearance/themes#static-web-assets). Include the [script references](https://blazor.syncfusion.com/documentation/common/adding-script-references) in the **~wwwroot/index.html** file. +The script can be accessed from NuGet through [Static Web Assets](https://blazor.syncfusion.com/documentation/appearance/themes#static-web-assets). Include the script reference in the **~/index.html** file. -{% tabs %} -{% highlight html tabtitle="index.html" %} +```html -{% endhighlight %} -{% endtabs %} +``` + +N> Check out the [Adding Script Reference](https://blazor.syncfusion.com/documentation/common/adding-script-references) topic to learn different approaches for adding script references in the Blazor application. ## Add Blazor Smith Chart component -Open a Razor file located in the **~/Pages/*.razor** (for example, **Home.razor**) and add the [Blazor Smith Chart](https://www.syncfusion.com/blazor-components/blazor-smith-chart) component inside the razor file. +Add the Blazor Smith Chart component in the **~/Pages/Index.razor** file. {% tabs %} -{% highlight razor tabtitle="Home.razor" %} +{% highlight razor tabtitle="Index.razor" %} @using Syncfusion.Blazor.Charts @@ -179,7 +168,7 @@ The following sample demonstrates adding two series to Smith Chart in both ways. * Second series `Transmission2` shows `Points` bound series. {% tabs %} -{% highlight razor tabtitle="Home.razor" %} +{% highlight razor tabtitle="Index.razor" %} @using Syncfusion.Blazor.Charts @@ -237,54 +226,16 @@ The following sample demonstrates adding two series to Smith Chart in both ways. {% endhighlight %} {% endtabs %} -**Run the application** - -{% tabcontents %} - -{% tabcontent Visual Studio %} - -Press Ctrl+F5 (Windows) or +F5 (macOS) to launch the application. The Blazor Smith Chart component will render in your default web browser. - -{% endtabcontent %} - -{% tabcontent Visual Studio Code %} - -Open the terminal and run the following command. - -{% tabs %} -{% highlight razor tabtitle="Terminal" %} - -dotnet run - -{% endhighlight %} -{% endtabs %} - -{% endtabcontent %} - -{% tabcontent .NET CLI %} - -Open the command prompt and run the following command. - -{% tabs %} -{% highlight razor tabtitle="Command Prompt" %} - -dotnet run - -{% endhighlight %} -{% endtabs %} - -{% endtabcontent %} +Press Ctrl+F5 (Windows) or +F5 (macOS) to launch the application. This will render the Blazor Smith Chart component in the default web browser. -{% endtabcontents %} - -{% previewsample "https://blazorplayground.syncfusion.com/embed/rthnXQXdjSlWLoSP?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Smith Chart with Transmission Series](./images/blazor-smith-chart-series.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BjLzXCAtAueCOnlF?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Smith Chart with Transmission Series](./images/blazor-smith-chart-series.webp)" %} ## Adding Title -Title can be added to the Smith Chart to provide quick information to the users about the context of the rendered component. Add a title by using the [Text](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SmithChartTitle.html#Syncfusion_Blazor_Charts_SmithChartTitle_Text) property in the [SmithChartTitle](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SmithChartTitle.html). +Title can be added to the Smith Chart to provide a quick information to the users about the context of the rendered component. Add a title by using the [Text](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SmithChartTitle.html#Syncfusion_Blazor_Charts_SmithChartTitle_Text) property in the [SmithChartTitle](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SmithChartTitle.html). {% tabs %} -{% highlight razor tabtitle="Home.razor" %} +{% highlight razor tabtitle="Index.razor" %} @using Syncfusion.Blazor.Charts @@ -306,16 +257,16 @@ Title can be added to the Smith Chart to provide quick information to the users {% endhighlight %} {% endtabs %} -N> Refer to the [code block](#adding-series-to-blazor-smith-chart) to know about the property value of `FirstTransmissionSeries` and `SecondTransmissionSeries`. +N> Refer to the [code block](#adding-series-to-smith-chart) to know about the property value of `FirstTransmissionSeries` and `SecondTransmissionSeries`. -{% previewsample "https://blazorplayground.syncfusion.com/embed/BXhHNctntSvooJRX?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Smith Chart with Title](./images/blazor-smith-chart-with-title.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VZBJXMUNfrbavmEP?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Smith Chart with Title](./images/blazor-smith-chart-with-title.webp)" %} ## Enable Marker To display marker for particular series, set the [Visible](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SmithChartSeriesMarker.html#Syncfusion_Blazor_Charts_SmithChartSeriesMarker_Visible) property to **true** in the [SmithChartSeriesMarker](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SmithChartSeriesMarker.html). {% tabs %} -{% highlight razor tabtitle="Home.razor" %} +{% highlight razor tabtitle="Index.razor" %} @using Syncfusion.Blazor.Charts @@ -338,16 +289,16 @@ To display marker for particular series, set the [Visible](https://help.syncfusi {% endhighlight %} {% endtabs %} -N> Refer to the [code block](#adding-series-to-blazor-smith-chart) to know about the property value of `FirstTransmissionSeries` and `SecondTransmissionSeries`. +N> Refer to the [code block](#adding-series-to-smith-chart) to know about the property value of `FirstTransmissionSeries` and `SecondTransmissionSeries`. -{% previewsample "https://blazorplayground.syncfusion.com/embed/rjBRZGNnZSvOvSFA?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Smith Chart with Marker](./images/blazor-smith-chart-marker.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hjBJZMANTVYSwBSX?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Smith Chart with Marker](./images/blazor-smith-chart-marker.webp)" %} ## Enable Data Label To display data label for particular marker series, set the [Visible](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SmithChartSeriesDatalabel.html#Syncfusion_Blazor_Charts_SmithChartSeriesDatalabel_Visible) property to **true** in the [SmithChartSeriesDatalabel](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SmithChartSeriesDatalabel.html). {% tabs %} -{% highlight razor tabtitle="Home.razor" %} +{% highlight razor tabtitle="Index.razor" %} @using Syncfusion.Blazor.Charts @@ -372,16 +323,16 @@ To display data label for particular marker series, set the [Visible](https://he {% endhighlight %} {% endtabs %} -N> Refer to the [code block](#adding-series-to-blazor-smith-chart) to know the property value of `FirstTransmissionSeries` and `SecondTransmissionSeries`. +N> Refer to the [code block](#adding-series-to-smith-chart) to know the property value of `FirstTransmissionSeries` and `SecondTransmissionSeries`. -{% previewsample "https://blazorplayground.syncfusion.com/embed/LZrHjQNHjeOQYYJP?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Smith Chart with Data Label](./images/blazor-smith-chart-data-label.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LZLzjCANJgZtmWaL?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Smith Chart with Data Label](./images/blazor-smith-chart-data-label.webp)" %} ## Enable Legend Use legend for the Smith Chart by setting the [Visible](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SmithChartLegendSettings.html#Syncfusion_Blazor_Charts_SmithChartLegendSettings_Visible) property to **true** in the [SmithChartLegendSettings](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SmithChartLegendSettings.html). The legend name can be changed by using the [Name](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SmithchartSeries.html#Syncfusion_Blazor_Charts_SmithChartSeries_Name) property in the [SmithChartSeries](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SmithchartSeries.html). {% tabs %} -{% highlight razor tabtitle="Home.razor" %} +{% highlight razor tabtitle="Index.razor" %} @using Syncfusion.Blazor.Charts @@ -406,16 +357,16 @@ Use legend for the Smith Chart by setting the [Visible](https://help.syncfusion. {% endhighlight %} {% endtabs %} -N> Refer to the [code block](#adding-series-to-blazor-smith-chart) to know the property value of the `FirstTransmissionSeries` and the `SecondTransmissionSeries`. +N> Refer to the [code block](#adding-series-to-smith-chart) to know the property value of the `FirstTransmissionSeries` and the `SecondTransmissionSeries`. -{% previewsample "https://blazorplayground.syncfusion.com/embed/LjVRNcNRXHXPJqsY?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Smith Chart with Legend](./images/blazor-smith-chart-legend.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/LNLfDCAjfUjfvoAi?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Smith Chart with Legend](./images/blazor-smith-chart-legend.webp)" %} ## Enable Tooltip When space constraints prevents from displaying information using data labels, the tooltip comes in handy. The tooltip can be enabled by setting the [Visible](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SmithChartSeriesTooltip.html#Syncfusion_Blazor_Charts_SmithChartSeriesTooltip_Visible) property to **true** in the [SmithChartSeriesTooltip](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SmithChartSeriesTooltip.html). {% tabs %} -{% highlight razor tabtitle="Home.razor" %} +{% highlight razor tabtitle="Index.razor" %} @using Syncfusion.Blazor.Charts @@ -442,13 +393,16 @@ When space constraints prevents from displaying information using data labels, t {% endhighlight %} {% endtabs %} -N> Refer to the [code block](#adding-series-to-blazor-smith-chart) to know about the property value of the `FirstTransmissionSeries` and the `SecondTransmissionSeries`. +N> Refer to the [code block](#adding-series-to-smith-chart) to know about the property value of the `FirstTransmissionSeries` and the `SecondTransmissionSeries`. -{% previewsample "https://blazorplayground.syncfusion.com/embed/VNLRZcNHjnCqvITq?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Smith Chart with Tooltip](./images/blazor-smith-chart-tooltip.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BNhztsKjJAXFyuof?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Smith Chart with Tooltip](./images/blazor-smith-chart-tooltip.webp)" %} N> [View Sample in GitHub](https://github.com/SyncfusionExamples/Blazor-Getting-Started-Examples/tree/main/SmithChart). ## See also -1. [Getting Started with Blazor Web App](https://blazor.syncfusion.com/documentation/getting-started/blazor-web-app) -2. [Getting Started with Blazor Server App](https://blazor.syncfusion.com/documentation/getting-started/blazor-server-side-visual-studio) +* [Getting Started with Blazor for Client-Side in .NET Core CLI](https://blazor.syncfusion.com/documentation/getting-started/blazor-webassembly-app) + +* [Getting Started with Blazor for Server-Side in Visual Studio](https://blazor.syncfusion.com/documentation/getting-started/blazor-server-side-visual-studio) + +* [Getting Started with Blazor for Server-Side in .NET Core CLI](https://blazor.syncfusion.com/documentation/getting-started/blazor-web-app) diff --git a/chart-sdk/blazor/smith-chart/images/blazor-smith-chart-data-label.webp b/chart-sdk/blazor/smith-chart/images/blazor-smith-chart-data-label.webp index a0bc4669e..1374e0d09 100644 Binary files a/chart-sdk/blazor/smith-chart/images/blazor-smith-chart-data-label.webp and b/chart-sdk/blazor/smith-chart/images/blazor-smith-chart-data-label.webp differ diff --git a/chart-sdk/blazor/smith-chart/images/blazor-smith-chart-legend.webp b/chart-sdk/blazor/smith-chart/images/blazor-smith-chart-legend.webp index 9c8e137f7..2659fef99 100644 Binary files a/chart-sdk/blazor/smith-chart/images/blazor-smith-chart-legend.webp and b/chart-sdk/blazor/smith-chart/images/blazor-smith-chart-legend.webp differ diff --git a/chart-sdk/blazor/smith-chart/images/blazor-smith-chart-marker.webp b/chart-sdk/blazor/smith-chart/images/blazor-smith-chart-marker.webp index 76546e665..8d2438f9a 100644 Binary files a/chart-sdk/blazor/smith-chart/images/blazor-smith-chart-marker.webp and b/chart-sdk/blazor/smith-chart/images/blazor-smith-chart-marker.webp differ diff --git a/chart-sdk/blazor/smith-chart/images/blazor-smith-chart-series.webp b/chart-sdk/blazor/smith-chart/images/blazor-smith-chart-series.webp index 3d71aee40..0c3f48c67 100644 Binary files a/chart-sdk/blazor/smith-chart/images/blazor-smith-chart-series.webp and b/chart-sdk/blazor/smith-chart/images/blazor-smith-chart-series.webp differ diff --git a/chart-sdk/blazor/smith-chart/images/blazor-smith-chart-tooltip.webp b/chart-sdk/blazor/smith-chart/images/blazor-smith-chart-tooltip.webp index 1a87eead7..1145cae1b 100644 Binary files a/chart-sdk/blazor/smith-chart/images/blazor-smith-chart-tooltip.webp and b/chart-sdk/blazor/smith-chart/images/blazor-smith-chart-tooltip.webp differ diff --git a/chart-sdk/blazor/smith-chart/images/blazor-smith-chart-with-title.webp b/chart-sdk/blazor/smith-chart/images/blazor-smith-chart-with-title.webp index 8c227e260..b8ae38f01 100644 Binary files a/chart-sdk/blazor/smith-chart/images/blazor-smith-chart-with-title.webp and b/chart-sdk/blazor/smith-chart/images/blazor-smith-chart-with-title.webp differ diff --git a/chart-sdk/blazor/smith-chart/smith-chart-axis.md b/chart-sdk/blazor/smith-chart/smith-chart-axis.md index 7ffbaf695..3aa02c910 100644 --- a/chart-sdk/blazor/smith-chart/smith-chart-axis.md +++ b/chart-sdk/blazor/smith-chart/smith-chart-axis.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Smith Chart Axis Examples | Syncfusion® -description: Learn how to configure and customize the axis in Syncfusion Blazor Smith Chart, including horizontal and radial axis labels and tick lines. -platform: Blazor +title: Axis in Blazor Smith Chart Component | Syncfusion® +description: Checkout and learn here all the features about axis in Blazor Smith Chart component and much more details. +platform: chart-sdk control: Smith Chart documentation: ug --- -# Blazor Smith Chart Axis +# Axis in Blazor Smith Chart Component Smith Chart supports two different types of axes. They are: * **Horizontal Axis** - The axis is drawn as a straight line in the horizontal direction of the Smith Chart. diff --git a/chart-sdk/blazor/smith-chart/smith-chart-dimensions.md b/chart-sdk/blazor/smith-chart/smith-chart-dimensions.md index 41ad71ac2..771318a18 100644 --- a/chart-sdk/blazor/smith-chart/smith-chart-dimensions.md +++ b/chart-sdk/blazor/smith-chart/smith-chart-dimensions.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Smith Chart Dimensions and Sizing | Syncfusion® -description: Learn how to set the size of Syncfusion Blazor Smith Chart using CSS or the Width and Height API with code samples. -platform: Blazor +title: Dimensions in Blazor Smith Chart Component | Syncfusion® +description: Checkout and learn here all the features about dimensions in Blazor Smith Chart component and much more. +platform: chart-sdk control: Smith Chart documentation: ug --- -# Blazor Smith Chart Dimensions +# Dimensions in Blazor Smith Chart Component The dimensions of the Smith Chart can be modified in the following ways. diff --git a/chart-sdk/blazor/smith-chart/smith-chart-legend.md b/chart-sdk/blazor/smith-chart/smith-chart-legend.md index 452d093bc..ae09fc4e1 100644 --- a/chart-sdk/blazor/smith-chart/smith-chart-legend.md +++ b/chart-sdk/blazor/smith-chart/smith-chart-legend.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Smith Chart Legend Examples | Syncfusion® -description: Learn how to enable and customize the legend in Syncfusion Blazor Smith Chart, including position, alignment, and SmithChartLegendSettings. -platform: Blazor +title: Legend in Blazor Smith Chart Component | Syncfusion® +description: Checkout and learn here all the features about Legend in Blazor Smith Chart component and much more details. +platform: chart-sdk control: Smith Chart documentation: ug --- -# Blazor Smith Chart Legend +# Legend in Blazor Smith Chart Component In the Smith Chart, a legend is a key containing symbols and descriptions. It can be interpreted in various colors, shapes, or other identifiers based on the data, and it provides valuable information for interpreting what the Smith Chart is displaying. In simple words, the legend is used to denote the series rendered in the Smith Chart. diff --git a/chart-sdk/blazor/smith-chart/smith-chart-marker.md b/chart-sdk/blazor/smith-chart/smith-chart-marker.md index cfd6a7eb1..9471c7abe 100644 --- a/chart-sdk/blazor/smith-chart/smith-chart-marker.md +++ b/chart-sdk/blazor/smith-chart/smith-chart-marker.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Smith Chart Markers and Data Labels Examples | Syncfusion® -description: Learn how to add and customize markers and data labels in Syncfusion Blazor Smith Chart, including shape, size, position, and label format. -platform: Blazor +title: Marker and Data labels in Blazor Smith Chart Component | Syncfusion® +description: Checkout and learn here all the features about marker and data labels in Blazor Smith Chart component and more. +platform: chart-sdk control: Smith Chart documentation: ug --- -# Blazor Smith Chart Markers and Data Labels +# Marker and Data labels in Blazor Smith Chart Component Markers and data labels are used to provide information about the data points in the series. Both the marker and the datalabel are disabled by default in the Smith Chart. Both can be enabled by making the [Visible](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SmithChartSeriesMarker.html#Syncfusion_Blazor_Charts_SmithChartSeriesMarker_Visible) property in the marker and the datalabel settings to **true**. diff --git a/chart-sdk/blazor/smith-chart/smith-chart-print.md b/chart-sdk/blazor/smith-chart/smith-chart-print.md index 77cf65ea4..200356a59 100644 --- a/chart-sdk/blazor/smith-chart/smith-chart-print.md +++ b/chart-sdk/blazor/smith-chart/smith-chart-print.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Smith Chart Print and Export Examples | Syncfusion® -description: Learn how to print and export Syncfusion Blazor Smith Chart using PrintAsync, or export to image, SVG, and PDF formats. -platform: Blazor +title: Print and Export in Blazor Smith Chart Component | Syncfusion® +description: Checkout and learn here all the features about print and export in Blazor Smith Chart component and more. +platform: chart-sdk control: Smith Chart documentation: ug --- -# Blazor Smith Chart Print and Export +# Print and Export in Blazor Smith Chart Component ## Print diff --git a/chart-sdk/blazor/smith-chart/smith-chart-series.md b/chart-sdk/blazor/smith-chart/smith-chart-series.md index c27609f59..49df6d631 100644 --- a/chart-sdk/blazor/smith-chart/smith-chart-series.md +++ b/chart-sdk/blazor/smith-chart/smith-chart-series.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Smith Chart Series Examples | Syncfusion® -description: Learn how to add and customize series in Syncfusion Blazor Smith Chart, including Fill, Width, Opacity, and Visibility properties. -platform: Blazor +title: Series in Blazor Smith Chart Component | Syncfusion® +description: Checkout and learn here all the features about series in Blazor Smith Chart component and much more details. +platform: chart-sdk control: Smith Chart documentation: ug --- -# Blazor Smith Chart Series +# Series in Blazor Smith Chart Component The [SmithChartSeries](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SmithChartSeries.html#properties) is the visual representation of the data. Using the following options in the [SmithChartSeries](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SmithChartSeries.html#properties), each series can be customized in the Smith Chart. diff --git a/chart-sdk/blazor/smith-chart/smith-chart-tool-tip.md b/chart-sdk/blazor/smith-chart/smith-chart-tool-tip.md index d362f9d2a..849f3176e 100644 --- a/chart-sdk/blazor/smith-chart/smith-chart-tool-tip.md +++ b/chart-sdk/blazor/smith-chart/smith-chart-tool-tip.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Smith Chart Tooltip Examples | Syncfusion® -description: Learn how to enable and customize tooltips in Syncfusion Blazor Smith Chart, including format, template, and styling options. -platform: Blazor +title: Tooltip in Blazor Smith Chart Component | Syncfusion® +description: Checkout and learn here all the features about tooltip in Blazor Smith Chart component and much more details. +platform: chart-sdk control: Smith Chart documentation: ug --- -# Blazor Smith Chart Tooltip +# Tooltip in Blazor Smith Chart Component When the mouse is moved over a point in the Smith Chart, a tooltip will appear displaying information about the point. By default, the tooltip is disabled. To enable the tooltip, set the [Visible](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SmithChartSeriesTooltip.html#Syncfusion_Blazor_Charts_SmithChartSeriesTooltip_Visible) property to **true** in the [SmithChartSeriesTooltip](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SmithChartSeriesTooltip.html). diff --git a/chart-sdk/blazor/smith-chart/title-subtitle.md b/chart-sdk/blazor/smith-chart/title-subtitle.md index c9e3cd6f7..0a1755082 100644 --- a/chart-sdk/blazor/smith-chart/title-subtitle.md +++ b/chart-sdk/blazor/smith-chart/title-subtitle.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Smith Chart Title and Subtitle Examples | Syncfusion® -description: Learn how to add a title and subtitle to Syncfusion Blazor Smith Chart, including text, alignment, and font styling options. -platform: Blazor +title: Title and Subtitle in Blazor Smith Chart Component | Syncfusion® +description: Checkout and learn here all the features about title and subtitle in Blazor Smith Chart component and more. +platform: chart-sdk control: Smith Chart documentation: ug --- -# Blazor Smith Chart Title and Subtitle +# Title and Subtitle in Blazor Smith Chart Component ## Enable Title diff --git a/chart-sdk/blazor/sparkline-charts/accessibility.md b/chart-sdk/blazor/sparkline-charts/accessibility.md index a017072b6..980d85ecb 100644 --- a/chart-sdk/blazor/sparkline-charts/accessibility.md +++ b/chart-sdk/blazor/sparkline-charts/accessibility.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Sparkline Charts Accessibility Examples | Syncfusion® -description: Learn about accessibility in Syncfusion Blazor Sparkline, including keyboard navigation, screen reader support, and WCAG 2.2 compliance. -platform: Blazor -control: Sparkline Charts +title: Accessibility in Blazor Sparkline Component | Syncfusion® +description: Learn about accessibility, keyboard navigation, and compliance in the Blazor Sparkline component and much more details. +platform: chart-sdk +control: Sparkline documentation: ug --- -# Blazor Sparkline Charts Accessibility +# Accessibility in Blazor Sparkline Component The Blazor Sparkline component follows accessibility guidelines and standards, including [ADA](https://www.ada.gov/), [Section 508](https://www.section508.gov/), [WCAG 2.2](https://www.w3.org/TR/WCAG22/), and [WCAG roles](https://www.w3.org/TR/wai-aria/#roles). diff --git a/chart-sdk/blazor/sparkline-charts/appearance.md b/chart-sdk/blazor/sparkline-charts/appearance.md index d4a1e799c..0045c3975 100644 --- a/chart-sdk/blazor/sparkline-charts/appearance.md +++ b/chart-sdk/blazor/sparkline-charts/appearance.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Sparkline Charts Appearance Examples | Syncfusion® -description: Learn how to customize the appearance of Syncfusion Blazor Sparkline, including RTL, padding, border, and background options. -platform: Blazor +title: Appearance in Blazor Sparkline Component | Syncfusion® +description: Check out and learn here all the features about appearance customization in the Blazor Sparkline component. +platform: chart-sdk control: Sparkline Charts documentation: ug --- -# Blazor Sparkline Charts Appearance +# Appearance in Blazor Sparkline Component The rendering direction, padding, border, and background appearance of the Sparkline can be customized. @@ -30,7 +30,7 @@ Right-to-left (RTL) rendering is supported and can be enabled by setting the [En ## Border -The border can be enabled and customized by specifying the [Color](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.BorderSettings.html#Syncfusion_Blazor_Charts_BorderSettings_Color) and [Width](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.BorderSettings.html#Syncfusion_Blazor_Charts_BorderSettings_Width) properties of [SparklineContainerAreaBorder](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SparklineContainerAreaBorder.html). +The border can be enabled and customized by specifying the [Color](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.BorderSettings.html#Syncfusion_Blazor_Charts_BorderSettings_Color) and [Width](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.BorderSettings.html#Syncfusion_Blazor_Charts_BorderSettings_Width) properties of [SparklineContainerAreaBorder](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor~Syncfusion.Blazor.Charts.SparklineContainerAreaBorder.html). ```cshtml diff --git a/chart-sdk/blazor/sparkline-charts/axis-customization.md b/chart-sdk/blazor/sparkline-charts/axis-customization.md index d0ea308fc..b603dabbe 100644 --- a/chart-sdk/blazor/sparkline-charts/axis-customization.md +++ b/chart-sdk/blazor/sparkline-charts/axis-customization.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Sparkline Charts Axis Customization Examples | Syncfusion® -description: Learn how to customize the axis in Syncfusion Blazor Sparkline, including ValueType, Numeric, Category, and DateTime axis options. -platform: Blazor +title: Axis Customization in Blazor Sparkline Component | Syncfusion® +description: Check out and learn here all about axis customization options in Blazor Sparkline component and more. +platform: chart-sdk control: Sparkline Charts documentation: ug --- -# Blazor Sparkline Charts Axis Customization +# Axis Customization in Blazor Sparkline Component ## Change the Value Type of the Sparkline Chart diff --git a/chart-sdk/blazor/sparkline-charts/chart-types.md b/chart-sdk/blazor/sparkline-charts/chart-types.md index bb850f560..95f21af0f 100644 --- a/chart-sdk/blazor/sparkline-charts/chart-types.md +++ b/chart-sdk/blazor/sparkline-charts/chart-types.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Sparkline Charts Chart Types Examples | Syncfusion® -description: Learn about the chart types available in Syncfusion Blazor Sparkline, including Line, Column, Area, and WinLoss shapes. -platform: Blazor +title: Chart Types in Blazor Sparkline Component | Syncfusion® +description: Check out and learn the features about the different chart types available in the Blazor Sparkline component. +platform: chart-sdk control: Sparkline Charts documentation: ug --- -# Blazor Sparkline Charts Chart Types +# Chart Types in Blazor Sparkline Component Different shapes can be used to represent the Sparkline Chart by specifying the [Type](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SfSparkline-1.html#Syncfusion_Blazor_Charts_SfSparkline_1_Type) property. diff --git a/chart-sdk/blazor/sparkline-charts/data-labels.md b/chart-sdk/blazor/sparkline-charts/data-labels.md index d7f23a8ce..99d26e357 100644 --- a/chart-sdk/blazor/sparkline-charts/data-labels.md +++ b/chart-sdk/blazor/sparkline-charts/data-labels.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Sparkline Charts Data Labels Examples | Syncfusion® -description: Learn how to enable and customize data labels in Syncfusion Blazor Sparkline, including special points, format, and label position. -platform: Blazor +title: Data Labels in Blazor Sparkline Component | Syncfusion® +description: Check out and learn how to configure and customize Data Labels in Blazor Sparkline component and much more details. +platform: chart-sdk control: Sparkline Charts documentation: ug --- -# Blazor Sparkline Charts Data Labels +# Data Labels in Blazor Sparkline Component To improve readability, data labels display the value of data points. @@ -43,9 +43,9 @@ The following properties can be used to customize Sparkline data labels: * [Fill](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SparklineDataLabelSettings.html#Syncfusion_Blazor_Charts_SparklineDataLabelSettings_Fill) – Specifies color for the Data Label * [Opacity](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SparklineDataLabelSettings.html#Syncfusion_Blazor_Charts_SparklineDataLabelSettings_Opacity) – Specifies opacity of the data label [Fill](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SparklineDataLabelSettings.html#Syncfusion_Blazor_Charts_SparklineDataLabelSettings_Fill) color * [EdgeLabelMode](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SparklineDataLabelSettings.html#Syncfusion_Blazor_Charts_SparklineDataLabelSettings_EdgeLabelMode) – Specifies controlling option when the label comes in the edge. Available options are the [Shift](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.EdgeLabelMode.html#Syncfusion_Blazor_Charts_EdgeLabelMode_Shift), the [None](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.EdgeLabelMode.html#Syncfusion_Blazor_Charts_EdgeLabelMode_None) and the [Hide](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.EdgeLabelMode.html#Syncfusion_Blazor_Charts_EdgeLabelMode_Hide) -* [SparklineFont](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SparklineFont.html) – Customize the Data Label font family, font style, font weight, color, opacity and size -* [SparklineDataLabelBorder](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SparklineDataLabelBorder.html) – Specifies the color and the width for the Data Label border -* [SparklineDataLabelOffset](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SparklineDataLabelOffset.html) – Specifies the label offset position from its default position +* [SparklineFont](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor~Syncfusion.Blazor.Charts.SparklineFont.html) – Customize the Data Label font family, font style, font weight, color, opacity and size +* [SparklineDataLabelBorder](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor~Syncfusion.Blazor.Charts.SparklineDataLabelBorder.html) – Specifies the color and the width for the Data Label border +* [SparklineDataLabelOffset](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor~Syncfusion.Blazor.Charts.SparklineDataLabelOffset.html) – Specifies the label offset position from its default position ```cshtml diff --git a/chart-sdk/blazor/sparkline-charts/dimensions.md b/chart-sdk/blazor/sparkline-charts/dimensions.md index c6da2487c..68fe79d15 100644 --- a/chart-sdk/blazor/sparkline-charts/dimensions.md +++ b/chart-sdk/blazor/sparkline-charts/dimensions.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Sparkline Charts Dimensions and Sizing | Syncfusion® -description: Learn how to set the size of Syncfusion Blazor Sparkline using container width, height, and inline CSS with code samples. -platform: Blazor +title: Dimensions in Blazor Sparkline Component | Syncfusion® +description: Check out and learn how to set and customize dimensions in the Blazor Sparkline component and much more details. +platform: chart-sdk control: Sparkline Charts documentation: ug --- -# Blazor Sparkline Charts Dimensions +# Dimensions in Blazor Sparkline Component ## Size for the Container diff --git a/chart-sdk/blazor/sparkline-charts/events.md b/chart-sdk/blazor/sparkline-charts/events.md index bade84b55..20a1143e1 100644 --- a/chart-sdk/blazor/sparkline-charts/events.md +++ b/chart-sdk/blazor/sparkline-charts/events.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Sparkline Charts Events Examples and Reference | Syncfusion® -description: Learn about events in Syncfusion Blazor Sparkline such as Loaded, OnMarkerRender, OnDataLabelRender, and AxisLabelRender with examples. -platform: Blazor +title: Events in Blazor Sparkline Component | Syncfusion® +description: Check out and learn about available events and event handling in the Blazor Sparkline component and much more details. +platform: chart-sdk control: Sparkline Charts documentation: ug --- -# Blazor Sparkline Charts Events +# Events in Blazor Sparkline Component This section describes the Sparkline component's events that are triggered when actions are performed. Events are provided through the [SparklineEvents](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SparklineEvents.html) component. diff --git a/chart-sdk/blazor/sparkline-charts/getting-started-webapp.md b/chart-sdk/blazor/sparkline-charts/getting-started-webapp.md index 4f3de0548..5b0019e62 100644 --- a/chart-sdk/blazor/sparkline-charts/getting-started-webapp.md +++ b/chart-sdk/blazor/sparkline-charts/getting-started-webapp.md @@ -1,52 +1,46 @@ --- layout: post -title: Getting Started with Blazor Sparkline Charts in Web App | Syncfusion® -description: Learn how to get started with Syncfusion Blazor Sparkline in a Blazor Web App, including server and client setup, packages, and first chart. -platform: Blazor +title: Getting started with Sparkline in Blazor Web App | Syncfusion® +description: Check out the documentation for getting started with Blazor Sparkline Component in Blazor Web App and much more details. +platform: chart-sdk control: Sparkline Charts documentation: ug --- -# Blazor Sparkline Charts Getting Started in Web App +# Getting Started with Blazor Sparkline in Blazor Web App -This section briefly explains how to include [Blazor Sparkline Charts](https://www.syncfusion.com/blazor-components/blazor-sparkline) component in your Blazor Web App using [Visual Studio](https://visualstudio.microsoft.com/vs/), [Visual Studio Code](https://code.visualstudio.com/), and the [.NET CLI](https://learn.microsoft.com/en-us/dotnet/core/tools/). - -## Create a new Blazor Web App +This section briefly explains about how to include [Blazor Sparkline](https://www.syncfusion.com/blazor-components/blazor-sparkline) component in your Blazor Web App using [Visual Studio](https://visualstudio.microsoft.com/vs/), [Visual Studio Code](https://code.visualstudio.com/), and the [.NET CLI](https://learn.microsoft.com/en-us/dotnet/core/tools/). {% tabcontents %} {% tabcontent Visual Studio %} -Create a **Blazor Web App** using Visual Studio via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vs) or the [Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-integration/template-studio). For detailed instructions, refer to the [Blazor Web App Getting Started](https://blazor.syncfusion.com/documentation/getting-started/blazor-web-app) documentation. +## Prerequisites -{% endtabcontent %} +* [System requirements for Blazor components](https://blazor.syncfusion.com/documentation/system-requirements) -{% tabcontent Visual Studio Code %} +## Create a new Blazor Web App in Visual Studio -Run the following command to create a new Blazor Web App. +Create a **Blazor Web App** using Visual Studio via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vs) or the [Syncfusion® Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-integration/template-studio). For detailed instructions, refer to the [Blazor Web App Getting Started](https://blazor.syncfusion.com/documentation/getting-started/blazor-web-app) documentation. -{% tabs %} -{% highlight razor tabtitle="Terminal" %} +{% endtabcontent %} -dotnet new blazor -o BlazorWebApp --interactivity Auto -cd BlazorWebApp -cd BlazorWebApp.Client +{% tabcontent Visual Studio Code %} -{% endhighlight %} -{% endtabs %} +## Prerequisites -Alternatively, create a **Blazor Web App** using Visual Studio Code via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vsc), the [Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-code-integration/create-project), or the [C# Dev Kit](https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csdevkit) extension. +* [System requirements for Blazor components](https://blazor.syncfusion.com/documentation/system-requirements) -{% endtabcontent %} +## Create a new Blazor Web App in Visual Studio Code -{% tabcontent .NET CLI %} +Create a **Blazor Web App** using Visual Studio Code via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vsc) or the [Syncfusion® Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-code-integration/create-project). For detailed instructions, refer to the [Blazor Web App Getting Started](https://blazor.syncfusion.com/documentation/getting-started/blazor-web-app?tabcontent=visual-studio-code) documentation. -Run the following command to create a new Blazor Web App. +For example, in a Blazor Web App with the `Auto` interactive render mode, use the following commands in the integrated terminal (Ctrl+`): {% tabs %} -{% highlight razor tabtitle="Command Prompt" %} +{% highlight c# tabtitle="Blazor Web App" %} -dotnet new blazor -o BlazorWebApp --interactivity Auto +dotnet new blazor -o BlazorWebApp -int Auto cd BlazorWebApp cd BlazorWebApp.Client @@ -55,66 +49,70 @@ cd BlazorWebApp.Client {% endtabcontent %} -{% endtabcontents %} +{% tabcontent .NET CLI %} -N> Configure the appropriate [Interactive render mode](https://learn.microsoft.com/en-us/aspnet/core/blazor/components/render-modes?view=aspnetcore-10.0#render-modes) and [Interactivity location](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vs) while creating a Blazor Web App. For detailed information, refer to the [interactive render mode documentation](https://blazor.syncfusion.com/documentation/common/interactive-render-mode). +## Prerequisites -## Install the required Blazor package +Install the latest version of [.NET SDK](https://dotnet.microsoft.com/en-us/download). If you previously installed the SDK, determine the installed version by executing the following command in a command prompt (Windows) or terminal (macOS) or command shell (Linux). -Install the [Syncfusion.Blazor.Sparkline](https://www.nuget.org/packages/Syncfusion.Blazor.Sparkline) NuGet package. All Syncfusion Blazor packages are available on [nuget.org](https://www.nuget.org/packages?q=syncfusion.blazor). See the [NuGet packages](https://blazor.syncfusion.com/documentation/nuget-packages) topic for details. If using the `WebAssembly` or `Auto` render modes in the Blazor Web App, install this package in the `.Client` project. +{% tabs %} +{% highlight c# tabtitle=".NET CLI" %} -{% tabcontents %} +dotnet --version -{% tabcontent Visual Studio %} +{% endhighlight %} +{% endtabs %} -1. Go to *Tools → NuGet Package Manager → Manage NuGet Package for Solution*. -2. Search the required NuGet package (`Syncfusion.Blazor.Sparkline`) and install it. +## Create a Blazor Web App using .NET CLI + +Run the following command to create a new Blazor Web App in a command prompt (Windows) or terminal (macOS) or command shell (Linux). For detailed instructions, refer to the [Blazor Web App Getting Started](https://blazor.syncfusion.com/documentation/getting-started/blazor-web-app?tabcontent=.net-cli) documentation. -Alternatively, you can install the same package using the Package Manager Console with the following command. +For example, in a Blazor Web App with the `Auto` interactive render mode, use the following commands: {% tabs %} -{% highlight razor tabtitle="Package Manager Console" %} +{% highlight c# tabtitle="Blazor Web App" %} -Install-Package Syncfusion.Blazor.Sparkline -Version {{ site.releaseversion }} +dotnet new blazor -o BlazorWebApp -int Auto +cd BlazorWebApp +cd BlazorWebApp.Client {% endhighlight %} {% endtabs %} {% endtabcontent %} -{% tabcontent Visual Studio Code %} +{% endtabcontents %} -Open the terminal and run the following command. +N> Configure the appropriate [Interactive render mode](https://learn.microsoft.com/en-us/aspnet/core/blazor/components/render-modes?view=aspnetcore-10.0#render-modes) and [Interactivity location](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vs) while creating a Blazor Web App. For detailed information, refer to the [interactive render mode documentation](https://blazor.syncfusion.com/documentation/common/interactive-render-mode). -{% tabs %} -{% highlight razor tabtitle="Terminal" %} +## Install required Blazor packages -dotnet add package Syncfusion.Blazor.Sparkline -v {{ site.releaseversion }} +Install the [Syncfusion.Blazor.Sparkline](https://www.nuget.org/packages/Syncfusion.Blazor.Sparkline) NuGet package using one of the following methods. -{% endhighlight %} -{% endtabs %} +**Visual Studio (NuGet Package Manager)**: -{% endtabcontent %} +1. Go to *Tools → NuGet Package Manager → Manage NuGet Packages for Solution*. +2. Search the required NuGet package (`Syncfusion.Blazor.Sparkline`) and install it. -{% tabcontent .NET CLI %} +**Visual Studio Code or .NET CLI**: -Open the command prompt and run the following command. +Open the terminal or command prompt and run the following command: {% tabs %} -{% highlight razor tabtitle="Command Prompt" %} +{% highlight C# tabtitle=".NET CLI" %} dotnet add package Syncfusion.Blazor.Sparkline -v {{ site.releaseversion }} {% endhighlight %} {% endtabs %} -{% endtabcontent %} +If using the `WebAssembly` or `Auto` render modes in the Blazor Web App, install this package in the client project. -{% endtabcontents %} +N> All Syncfusion Blazor packages are available on [nuget.org](https://www.nuget.org/packages?q=syncfusion.blazor). See the [NuGet packages](https://blazor.syncfusion.com/documentation/nuget-packages) topic for details. ## Add import namespaces -After the packages are installed, open the **~/_Imports.razor** file in the `.Client` project and import the `Syncfusion.Blazor` and `Syncfusion.Blazor.Charts` namespaces. +After the packages are installed, open the **~/_Imports.razor** file in the client project and import the `Syncfusion.Blazor` and `Syncfusion.Blazor.Charts` namespaces. {% tabs %} {% highlight C# tabtitle="~/_Imports.razor" %} @@ -125,9 +123,9 @@ After the packages are installed, open the **~/_Imports.razor** file in the `.Cl {% endhighlight %} {% endtabs %} -## Register the Blazor service +## Register Blazor service -Open the **Program.cs** file in Blazor Web App and register the Blazor service. If the **Interactive Render Mode** is set to `WebAssembly` or `Auto`, register the Blazor service in **Program.cs** files of both the server and client projects in your Blazor Web App. +Register the Blazor service in the **Program.cs** file of your Blazor Web App. {% tabs %} {% highlight c# tabtitle="Program.cs" %} @@ -141,23 +139,26 @@ builder.Services.AddSyncfusionBlazor(); {% endhighlight %} {% endtabs %} +N> If the **Interactive Render Mode** is set to `WebAssembly` or `Auto`, register the Blazor service in **Program.cs** files of both the server and client projects in your Blazor Web App. + ## Add script resources -The script can be accessed from NuGet through [Static Web Assets](https://blazor.syncfusion.com/documentation/appearance/themes#static-web-assets). Include the [script references](https://blazor.syncfusion.com/documentation/common/adding-script-references) in the **App.razor** file. +The script can be accessed from NuGet through [Static Web Assets](https://blazor.syncfusion.com/documentation/appearance/themes#static-web-assets). Include the script reference in the **~/Components/App.razor** file. -{% tabs %} -{% highlight html tabtitle="App.razor" %} +```html -{% endhighlight %} -{% endtabs %} +``` -## Add Blazor Sparkline Charts component +N> Check out the [Adding Script Reference](https://blazor.syncfusion.com/documentation/common/adding-script-references) topic to learn different approaches for adding script references in your Blazor application. -Open a Razor file located in the **~/Pages/*.razor** (for example, **Home.razor**) and add the [Blazor Sparkline Charts](https://www.syncfusion.com/blazor-components/blazor-sparkline) component inside the razor file. +## Add Blazor Sparkline component -N> If the interactivity location is set to `Per page/component` in the Web App, define a render mode at the top of the razor file. (For example, `InteractiveServer`, `InteractiveWebAssembly` or `InteractiveAuto`). If the **Interactivity** is set to `Global` with `Auto` or `WebAssembly`, the render mode is automatically configured in the `App.razor` file by default. +* Open a Razor file located in the **~/Components/Pages** (for example, **Home.razor**) and add the Blazor Sparkline component inside the razor file. +* If the interactivity location is set to `Per page/component` in the Web App, define a render mode at the top of the razor file. (For example, `InteractiveServer`, `InteractiveWebAssembly` or `InteractiveAuto`). + +N> If the **Interactivity Location** is set to `Global` with `Auto` or `WebAssembly`, the render mode is automatically configured in the `App.razor` file by default. {% tabs %} {% highlight razor tabtitle="Home.razor" %} @@ -171,9 +172,9 @@ N> If the interactivity location is set to `Per page/component` in the Web App, {% endhighlight %} {% endtabs %} -## Populate Blazor Sparkline Charts with data +## Populate Blazor Sparkline with Data -To bind data for the Sparkline Charts component, assign a `IEnumerable` object to the [DataSource](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SfSparkline-1.html#Syncfusion_Blazor_Charts_SfSparkline_1_DataSource) property. It can also be provided as an instance of the [DataManager](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.DataManager.html). +To bind data for the Sparkline component, assign a `IEnumerable` object to the [DataSource](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SfSparkline-1.html#Syncfusion_Blazor_Charts_SfSparkline_1_DataSource) property. It can also be provided as an instance of the [DataManager](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.DataManager.html). {% tabs %} {% highlight razor tabtitle="Home.razor" %} @@ -183,7 +184,7 @@ To bind data for the Sparkline Charts component, assign a `IEnumerable` object t { public string Month { get; set; } public double Celsius { get; set; } - } + }; public List ClimateData = new List { new WeatherReport { Month= "Jan", Celsius= 34 }, new WeatherReport { Month= "Feb", Celsius= 36 }, @@ -203,7 +204,7 @@ To bind data for the Sparkline Charts component, assign a `IEnumerable` object t {% endhighlight %} {% endtabs %} -Now map the `Month` and the `Celsius` fields from the datasource to [XName](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SfSparkline-1.html#Syncfusion_Blazor_Charts_SfSparkline_1_XName) and [YName](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SfSparkline-1.html#Syncfusion_Blazor_Charts_SfSparkline_1_YName) properties for x-axis and y-axis in the Sparkline Charts and then set the `ClimateData` to [DataSource](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SfSparkline-1.html#Syncfusion_Blazor_Charts_SfSparkline_1_DataSource) property. Because the `Month` field is a value-based category, the [ValueType](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SfSparkline-1.html#Syncfusion_Blazor_Charts_SfSparkline_1_ValueType) property is used to specify it. +Now map the `Month` and the `Celsius` fields from the datasource to [XName](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SfSparkline-1.html#Syncfusion_Blazor_Charts_SfSparkline_1_XName) and [YName](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SfSparkline-1.html#Syncfusion_Blazor_Charts_SfSparkline_1_YName) properties for x-axis and y-axis in the Sparkline and then set the `ClimateData` to [DataSource](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SfSparkline-1.html#Syncfusion_Blazor_Charts_SfSparkline_1_DataSource) property. Because the `Month` field is a value-based category, the [ValueType](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SfSparkline-1.html#Syncfusion_Blazor_Charts_SfSparkline_1_ValueType) property is used to specify it. {% tabs %} {% highlight razor tabtitle="Home.razor" %} @@ -220,57 +221,29 @@ Now map the `Month` and the `Celsius` fields from the datasource to [XName](http {% endhighlight %} {% endtabs %} -## Run the application +### Run the application -{% tabcontents %} +**Visual Studio**: -{% tabcontent Visual Studio %} +* Press Ctrl+F5 (Windows) or +F5 (macOS) to launch the application. The Blazor Sparkline component will render in your default web browser. -Press Ctrl+F5 (Windows) or +F5 (macOS) to launch the application. The Blazor Sparkline Charts component will render in your default web browser. +**Visual Studio Code or .NET CLI**: -{% endtabcontent %} +1. Open the terminal (Visual Studio Code) or command prompt (.NET CLI) and navigate to the `Client` project folder. +2. Run the following command: -{% tabcontent Visual Studio Code %} + ``` + dotnet run + ``` +3. The application will start and display in your default web browser. -Open the terminal and navigate to the main project folder (for example, `BlazorWebApp`) and run the following command. - -{% tabs %} -{% highlight razor tabtitle="Terminal" %} - -cd .. -cd BlazorWebApp -dotnet run - -{% endhighlight %} -{% endtabs %} - -{% endtabcontent %} - -{% tabcontent .NET CLI %} - -Open the command prompt and navigate to the main project folder (for example, `BlazorWebApp`) and run the following command. - -{% tabs %} -{% highlight razor tabtitle="Command Prompt" %} - -cd .. -cd BlazorWebApp -dotnet run - -{% endhighlight %} -{% endtabs %} - -{% endtabcontent %} - -{% endtabcontents %} - -{% previewsample "https://blazorplayground.syncfusion.com/embed/rZVdDQDRtmNUMSyI?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Sparkline Charts](./images/blazor-sparkline.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rjrJXWqjfqKBvkdq?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Sparkline Chart](./images/blazor-sparkline.webp)" %} N> [View Sample in GitHub](https://github.com/SyncfusionExamples/Blazor-Getting-Started-Examples/tree/main/Sparkline). -## Blazor Sparkline Charts types +## Blazor Sparkline chart types -Change the Sparkline Charts type using the [Type](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SfSparkline-1.html#Syncfusion_Blazor_Charts_SfSparkline_1_Type) property set to **Line**, **Column**, **WinLoss**, **Pie** or **Area**. Here, the Sparkline type is set to **Area**. +Change the Sparkline type using the [Type](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SfSparkline-1.html#Syncfusion_Blazor_Charts_SfSparkline_1_Type) property set to **Line**, **Column**, **WinLoss**, **Pie** or **Area**. Here, the Sparkline type is set to **Area**. {% tabs %} {% highlight razor tabtitle="Home.razor" %} @@ -288,13 +261,13 @@ Change the Sparkline Charts type using the [Type](https://help.syncfusion.com/cr {% endhighlight %} {% endtabs %} -{% previewsample "https://blazorplayground.syncfusion.com/embed/VDBdZcZdNmrZAISz?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Sparkline Area Chart](./images/blazor-area-sparkline.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/BjLTtsqNTqqdYsqg?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Sparkline Area Chart](./images/blazor-area-sparkline.webp)" %} -N> Refer to [code block](#populate-blazor-sparkline-charts-with-data) to know about the property value of the **ClimateData**. +N> Refer to [code block](#populate-sparkline-with-data) to know about the property value of **ClimateData**. ## Adding Data Label -Add the Data Labels to improve the readability of the Sparkline Charts component. This can be achieved by setting the [Visible](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SparklineDataLabelSettings.html#Syncfusion_Blazor_Charts_SparklineDataLabelSettings_Visible) property to **true** in the [SparklineDataLabelSettings](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SparklineDataLabelSettings.html). +Add the Data Labels to improve the readability of the Sparkline component. This can be achieved by setting the [Visible](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SparklineDataLabelSettings.html#Syncfusion_Blazor_Charts_SparklineDataLabelSettings_Visible) property to **true** in the [SparklineDataLabelSettings](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SparklineDataLabelSettings.html). Available types are: @@ -322,9 +295,9 @@ Available types are: {% endhighlight %} {% endtabs %} -N> Refer to the [code block](#populate-sparkline-with-data) to know about the property value of the **ClimateData**. +N> Refer to the [code block](#populate-sparkline-with-data) to know about the property value of **ClimateData**. -{% previewsample "https://blazorplayground.syncfusion.com/embed/hNVRXGjdtQApBCIY?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Sparkline Charts with Data Label](./images/blazor-sparkline-data-label.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VDrJXsqtfqzDdTTI?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Sparkline Chart with Data Label](./images/blazor-sparkline-data-label.webp)" %} ## Enable tooltip @@ -350,9 +323,14 @@ When space constraints prevent from displaying information using Data Labels, th N> Refer to the [code block](#populate-sparkline-with-data) to know about the property value of the **ClimateData**. -{% previewsample "https://blazorplayground.syncfusion.com/embed/LjBHNmNdXmcKOFsY?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Sparkline Charts with Tooltip](./images/blazor-sparkline-tooltip.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rZLfDsUNfgJpNFjr?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Sparkline Chart with Tooltip](./images/blazor-sparkline-tooltip.webp)" %} ## See also -1. [Getting Started with Blazor WebAssembly App](https://blazor.syncfusion.com/documentation/getting-started/blazor-webassembly-app) -2. [Getting Started with Blazor Server App](https://blazor.syncfusion.com/documentation/getting-started/blazor-server-side-visual-studio) +* [Getting Started with Blazor for Client-Side in .NET Core CLI](https://blazor.syncfusion.com/documentation/getting-started/blazor-webassembly-dotnet-cli) + +* [Getting Started with Blazor for Server-Side in Visual Studio](https://blazor.syncfusion.com/documentation/getting-started/blazor-server-side-visual-studio) + +* [Getting Started with Blazor for Server-Side in .NET Core CLI](https://blazor.syncfusion.com/documentation/getting-started/blazor-server-side-dotnet-cli) + +N> You can also explore our [Blazor Sparkline Chart example](https://blazor.syncfusion.com/demos/sparkline/default-functionalities?theme=bootstrap5) that shows you how to render and configure the sparkline chart. \ No newline at end of file diff --git a/chart-sdk/blazor/sparkline-charts/getting-started.md b/chart-sdk/blazor/sparkline-charts/getting-started.md index d78fbc5a4..de5b87206 100644 --- a/chart-sdk/blazor/sparkline-charts/getting-started.md +++ b/chart-sdk/blazor/sparkline-charts/getting-started.md @@ -1,112 +1,101 @@ --- layout: post -title: Getting Started with Blazor Sparkline Charts in WASM App | Syncfusion® -description: Learn how to get started with Syncfusion Blazor Sparkline in a Blazor WebAssembly app, including setup, packages, and first chart. -platform: Blazor +title: Getting Started with Blazor Sparkline Component | Syncfusion® +description: Checkout and learn about getting started with Blazor Sparkline component in Blazor WebAssembly Application. +platform: chart-sdk control: Sparkline Charts documentation: ug --- -# Blazor Sparkline Charts Getting Started in WASM App +# Getting Started with Blazor Sparkline Component -This section briefly explains how to include [Blazor Sparkline Charts](https://www.syncfusion.com/blazor-components/blazor-sparkline) component in a Blazor WebAssembly App using [Visual Studio](https://visualstudio.microsoft.com/vs/), [Visual Studio Code](https://code.visualstudio.com/), and the [.NET CLI](https://learn.microsoft.com/en-us/dotnet/core/tools/). - -## Create a new Blazor WASM App +This section briefly explains about how to include [Blazor Sparkline](https://www.syncfusion.com/blazor-components/blazor-sparkline) component in a Blazor WebAssembly App using [Visual Studio](https://visualstudio.microsoft.com/vs/), [Visual Studio Code](https://code.visualstudio.com/), and the [.NET CLI](https://learn.microsoft.com/en-us/dotnet/core/tools/). {% tabcontents %} {% tabcontent Visual Studio %} -Create a **Blazor WebAssembly App** using Visual Studio via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vs) or the [Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-integration/template-studio). For detailed instructions, refer to the [Blazor WebAssembly App Getting Started](https://blazor.syncfusion.com/documentation/getting-started/blazor-webassembly-app) documentation. +## Prerequisites -{% endtabcontent %} +* [System requirements for Blazor components](https://blazor.syncfusion.com/documentation/system-requirements) -{% tabcontent Visual Studio Code %} +## Create a new Blazor App in Visual Studio -Run the following command to create a new Blazor WebAssembly App. +Create a **Blazor WebAssembly App** using Visual Studio via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vs) or the [Syncfusion® Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-integration/template-studio). For detailed instructions, refer to the [Blazor WASM App Getting Started](https://blazor.syncfusion.com/documentation/getting-started/blazor-webassembly-app) documentation. -{% tabs %} -{% highlight razor tabtitle="Terminal" %} +{% endtabcontent %} -dotnet new blazorwasm -o BlazorApp -cd BlazorApp +{% tabcontent Visual Studio Code %} -{% endhighlight %} -{% endtabs %} +## Prerequisites -Alternatively, create a **Blazor WebAssembly App** using Visual Studio Code via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vsc), the [Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-code-integration/create-project), or the [C# Dev Kit](https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csdevkit) extension. +* [System requirements for Blazor components](https://blazor.syncfusion.com/documentation/system-requirements) -{% endtabcontent %} +## Create a new Blazor App in Visual Studio Code -{% tabcontent .NET CLI %} +Create a **Blazor WebAssembly App** using Visual Studio Code via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-10.0&pivots=vsc) or the [Syncfusion® Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-code-integration/create-project). For detailed instructions, refer to the [Blazor WASM App Getting Started](https://blazor.syncfusion.com/documentation/getting-started/blazor-webassembly-app?tabcontent=visual-studio-code) documentation. -Run the following command to create a new Blazor WebAssembly App. +Alternatively, create a WebAssembly application by using the following command in the integrated terminal (Ctrl+`). {% tabs %} -{% highlight razor tabtitle="Command Prompt" %} + +{% highlight c# tabtitle="Blazor WASM App" %} dotnet new blazorwasm -o BlazorApp cd BlazorApp {% endhighlight %} + {% endtabs %} {% endtabcontent %} -{% endtabcontents %} - -## Install the required Blazor package - -Install [Syncfusion.Blazor.Sparkline](https://www.nuget.org/packages/Syncfusion.Blazor.Sparkline/) NuGet package. All Syncfusion Blazor packages are available on [nuget.org](https://www.nuget.org/packages?q=syncfusion.blazor). See the [NuGet packages](https://blazor.syncfusion.com/documentation/nuget-packages) topic for details. - -{% tabcontents %} - -{% tabcontent Visual Studio %} +{% tabcontent .NET CLI %} -1. Go to *Tools → NuGet Package Manager → Manage NuGet Package for Solution*. -2. Search the required NuGet package (`Syncfusion.Blazor.Sparkline`) and install it. +## Prerequisites -Alternatively, you can install the same package using the Package Manager Console with the following command. +Install the latest version of [.NET SDK](https://dotnet.microsoft.com/en-us/download). If the .NET SDK is already installed, determine the installed version by running the following command in a command prompt (Windows), terminal (macOS), or command shell (Linux). {% tabs %} -{% highlight razor tabtitle="Package Manager Console" %} +{% highlight c# tabtitle=".NET CLI" %} -Install-Package Syncfusion.Blazor.Sparkline -Version {{ site.releaseversion }} +dotnet --version {% endhighlight %} {% endtabs %} -{% endtabcontent %} +## Create a Blazor WebAssembly App using .NET CLI -{% tabcontent Visual Studio Code %} - -Open the terminal and run the following command. +Run the following command to create a new Blazor WebAssembly App in a command prompt (Windows) or terminal (macOS) or command shell (Linux). For detailed instructions, refer to the [Blazor WASM App Getting Started](https://blazor.syncfusion.com/documentation/getting-started/blazor-webassembly-app?tabcontent=.net-cli) documentation. {% tabs %} -{% highlight razor tabtitle="Terminal" %} +{% highlight c# tabtitle=".NET CLI" %} -dotnet add package Syncfusion.Blazor.Sparkline -v {{ site.releaseversion }} +dotnet new blazorwasm -o BlazorApp +cd BlazorApp {% endhighlight %} {% endtabs %} {% endtabcontent %} -{% tabcontent .NET CLI %} +{% endtabcontents %} + +## Install required Blazor packages -Open the command prompt and run the following command. +Install [Syncfusion.Blazor.Sparkline](https://www.nuget.org/packages/Syncfusion.Blazor.Sparkline/) NuGet package in your project using the NuGet Package Manager in Visual Studio (*Tools → NuGet Package Manager → Manage NuGet Packages for Solution*), or the integrated terminal in Visual Studio Code (`dotnet add package`), or the .NET CLI. + +Alternatively, run the following command in the Package Manager Console to achieve the same. {% tabs %} -{% highlight razor tabtitle="Command Prompt" %} +{% highlight C# tabtitle="Package Manager" %} -dotnet add package Syncfusion.Blazor.Sparkline -v {{ site.releaseversion }} +Install-Package Syncfusion.Blazor.Sparkline -Version {{ site.releaseversion }} {% endhighlight %} {% endtabs %} -{% endtabcontent %} - -{% endtabcontents %} +N> All Syncfusion Blazor packages are available on [nuget.org](https://www.nuget.org/packages?q=syncfusion.blazor). See the [NuGet packages](https://blazor.syncfusion.com/documentation/nuget-packages) topic for details. ## Add import namespaces @@ -121,9 +110,9 @@ After the package is installed, open the **~/_Imports.razor** file and import th {% endhighlight %} {% endtabs %} -## Register the Blazor service +## Register Blazor service -Open the **Program.cs** file in Blazor WebAssembly App and register the Blazor service. +Register the Blazor service in the **Program.cs** file of your Blazor WebAssembly App. {% tabs %} {% highlight C# tabtitle="Program.cs" %} @@ -139,22 +128,22 @@ builder.Services.AddSyncfusionBlazor(); ## Add script resources -The script can be accessed from NuGet through [Static Web Assets](https://blazor.syncfusion.com/documentation/appearance/themes#static-web-assets). Include the [script references](https://blazor.syncfusion.com/documentation/common/adding-script-references) in the **~wwwroot/index.html** file. +The script can be accessed from NuGet through [Static Web Assets](https://blazor.syncfusion.com/documentation/appearance/themes#static-web-assets). Include the script reference in the **~/index.html** file. -{% tabs %} -{% highlight html tabtitle="index.html" %} +```html -{% endhighlight %} -{% endtabs %} +``` + +N> Check out the [Adding Script Reference](https://blazor.syncfusion.com/documentation/common/adding-script-references) topic to learn different approaches for adding script references in the Blazor application. -## Add Blazor Sparkline Charts component +## Add Blazor Sparkline component -Open a Razor file located in the **~/Pages/*.razor** (for example, **Home.razor**) and add the [Blazor Sparkline Charts](https://www.syncfusion.com/blazor-components/blazor-sparkline) component inside the razor file. +Add the Blazor Sparkline component in the **~/Pages/Index.razor** file. {% tabs %} -{% highlight razor tabtitle="Home.razor" %} +{% highlight razor tabtitle="Index.razor" %} @@ -163,19 +152,19 @@ Open a Razor file located in the **~/Pages/*.razor** (for example, **Home.razor* {% endhighlight %} {% endtabs %} -## Populate Blazor Sparkline Charts with data +## Populate Blazor Sparkline with Data -To bind data for the Sparkline Charts component, assign a `IEnumerable` object to the [DataSource](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SfSparkline-1.html#Syncfusion_Blazor_Charts_SfSparkline_1_DataSource) property. It can also be provided as an instance of the [DataManager](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.DataManager.html). +To bind data for the Sparkline component, assign a `IEnumerable` object to the [DataSource](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SfSparkline-1.html#Syncfusion_Blazor_Charts_SfSparkline_1_DataSource) property. It can also be provided as an instance of the [DataManager](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.DataManager.html). {% tabs %} -{% highlight razor tabtitle="Home.razor" %} +{% highlight razor tabtitle="Index.razor" %} @code { public class WeatherReport { public string Month { get; set; } public double Celsius { get; set; } - } + }; public List ClimateData = new List { new WeatherReport { Month= "Jan", Celsius= 34 }, new WeatherReport { Month= "Feb", Celsius= 36 }, @@ -195,10 +184,10 @@ To bind data for the Sparkline Charts component, assign a `IEnumerable` object t {% endhighlight %} {% endtabs %} -Now map the `Month` and the `Celsius` fields from the datasource to [XName](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SfSparkline-1.html#Syncfusion_Blazor_Charts_SfSparkline_1_XName) and [YName](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SfSparkline-1.html#Syncfusion_Blazor_Charts_SfSparkline_1_YName) properties for x-axis and y-axis in the Sparkline Charts and then set the `ClimateData` to [DataSource](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SfSparkline-1.html#Syncfusion_Blazor_Charts_SfSparkline_1_DataSource) property. Because the `Month` field is a value-based category, the [ValueType](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SfSparkline-1.html#Syncfusion_Blazor_Charts_SfSparkline_1_ValueType) property is used to specify it. +Now map the `Month` and the `Celsius` fields from the datasource to [XName](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SfSparkline-1.html#Syncfusion_Blazor_Charts_SfSparkline_1_XName) and [YName](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SfSparkline-1.html#Syncfusion_Blazor_Charts_SfSparkline_1_YName) properties for x-axis and y-axis in the Sparkline and then set the `ClimateData` to [DataSource](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SfSparkline-1.html#Syncfusion_Blazor_Charts_SfSparkline_1_DataSource) property. Because the `Month` field is a value-based category, the [ValueType](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SfSparkline-1.html#Syncfusion_Blazor_Charts_SfSparkline_1_ValueType) property is used to specify it. {% tabs %} -{% highlight razor tabtitle="Home.razor" %} +{% highlight razor tabtitle="Index.razor" %} Ctrl+F5 (Windows) or +F5 (macOS) to launch the application. This will render the Blazor Sparkline component in the default web browser. -{% tabcontent Visual Studio %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rjrJXWqjfqKBvkdq?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Sparkline Chart](./images/blazor-sparkline.webp)" %} -Press Ctrl+F5 (Windows) or +F5 (macOS) to launch the application. The Blazor Sparkline Charts component will render in your default web browser. +## Blazor Sparkline chart types -{% endtabcontent %} - -{% tabcontent Visual Studio Code %} - -Open the terminal and run the following command. +Change the Sparkline type using the [Type](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SfSparkline-1.html#Syncfusion_Blazor_Charts_SfSparkline_1_Type) property set to **Line**, **Column**, **WinLoss**, **Pie** or **Area**. Here, the Sparkline type is set to **Area**. {% tabs %} -{% highlight razor tabtitle="Terminal" %} - -dotnet run - -{% endhighlight %} -{% endtabs %} - -{% endtabcontent %} - -{% tabcontent .NET CLI %} - -Open the command prompt and run the following command. - -{% tabs %} -{% highlight razor tabtitle="Command Prompt" %} - -dotnet run - -{% endhighlight %} -{% endtabs %} - -{% endtabcontent %} - -{% endtabcontents %} - -{% previewsample "https://blazorplayground.syncfusion.com/embed/LtVdXGZdXGmYzGQO?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Sparkline Charts](./images/blazor-sparkline.webp)" %} - -## Blazor Sparkline Charts types - -Change the Sparkline Charts type using the [Type](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SfSparkline-1.html#Syncfusion_Blazor_Charts_SfSparkline_1_Type) property set to **Line**, **Column**, **WinLoss**, **Pie** or **Area**. Here, the Sparkline type is set to **Area**. - -{% tabs %} -{% highlight razor tabtitle="Home.razor" %} +{% highlight razor tabtitle="Index.razor" %} Refer to [code block](#populate-blazor-sparkline-charts-with-data) to know about the property value of the **ClimateData**. +N> Refer to [code block](#populate-sparkline-with-data) to know about the property value of **ClimateData**. ## Adding Data Label -Add the Data Labels to improve the readability of the Sparkline Charts component. This can be achieved by setting the [Visible](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SparklineDataLabelSettings.html#Syncfusion_Blazor_Charts_SparklineDataLabelSettings_Visible) property to **true** in the [SparklineDataLabelSettings](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SparklineDataLabelSettings.html). +Add the Data Labels to improve the readability of the Sparkline component. This can be achieved by setting the [Visible](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SparklineDataLabelSettings.html#Syncfusion_Blazor_Charts_SparklineDataLabelSettings_Visible) property to **true** in the [SparklineDataLabelSettings](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SparklineDataLabelSettings.html). Available types are: @@ -292,7 +243,7 @@ Available types are: * Negative {% tabs %} -{% highlight razor tabtitle="Home.razor" %} +{% highlight razor tabtitle="Index.razor" %} Refer to the [code block](#populate-sparkline-with-data) to know about the property value of the **ClimateData**. +N> Refer to the [code block](#populate-sparkline-with-data) to know about the property value of **ClimateData**. -{% previewsample "https://blazorplayground.syncfusion.com/embed/LjrdtGtxDwlFlrSn?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Sparkline Chart with Data Label](./images/blazor-sparkline-data-label.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VDrJXsqtfqzDdTTI?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Sparkline Chart with Data Label](./images/blazor-sparkline-data-label.webp)" %} ## Enable tooltip When space constraints prevent from displaying information using Data Labels, the tooltip comes in handy. The tooltip can be enabled by setting the [Visible](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SparklineTooltipSettings-1.html#Syncfusion_Blazor_Charts_SparklineTooltipSettings_1_Visible) property to **true** in the [SparklineTooltipSettings](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SparklineTooltipSettings-1.html). {% tabs %} -{% highlight razor tabtitle="Home.razor" %} +{% highlight razor tabtitle="Index.razor" %} Refer to the [code block](#populate-sparkline-with-data) to know about the property value of the **ClimateData**. -{% previewsample "https://blazorplayground.syncfusion.com/embed/htrxZGZRZcYIIukq?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" backgroundimage "[Blazor Sparkline Charts with Tooltip](./images/blazor-sparkline-tooltip.webp)" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rZLfDsUNfgJpNFjr?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Sparkline Chart with Tooltip](./images/blazor-sparkline-tooltip.webp)" %} N> [View Sample in GitHub](https://github.com/SyncfusionExamples/Blazor-Getting-Started-Examples/tree/main/Sparkline). ## See also -1. [Getting Started with Blazor for Client-Side in .NET Core CLI](https://blazor.syncfusion.com/documentation/getting-started/blazor-webassembly-app) +* [Getting Started with Blazor for Client-Side in .NET Core CLI](https://blazor.syncfusion.com/documentation/getting-started/blazor-webassembly-app) + +* [Getting Started with Blazor for Server-Side in Visual Studio](https://blazor.syncfusion.com/documentation/getting-started/blazor-server-side-visual-studio) -2. [Getting Started with Blazor for Server-Side in Visual Studio](https://blazor.syncfusion.com/documentation/getting-started/blazor-server-side-visual-studio) +* [Getting Started with Blazor for Server-Side in .NET Core CLI](https://blazor.syncfusion.com/documentation/getting-started/blazor-web-app) -3. [Getting Started with Blazor Web App](https://blazor.syncfusion.com/documentation/getting-started/blazor-web-app) +N> You can also explore our [Blazor Sparkline Chart example](https://blazor.syncfusion.com/demos/sparkline/default-functionalities?theme=bootstrap5) that shows you how to render and configure the sparkline chart. diff --git a/chart-sdk/blazor/sparkline-charts/globalization.md b/chart-sdk/blazor/sparkline-charts/globalization.md index df1c7e39e..c3ca50720 100644 --- a/chart-sdk/blazor/sparkline-charts/globalization.md +++ b/chart-sdk/blazor/sparkline-charts/globalization.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Sparkline Charts Globalization Examples | Syncfusion® -description: Learn how to use globalization in Syncfusion Blazor Sparkline to format numbers, dates, and times for different cultures. -platform: Blazor +title: Globalization in Blazor Sparkline Component | Syncfusion® +description: Check out and learn about globalization support in the Blazor Sparkline component for better adaptability. +platform: chart-sdk control: Sparkline Charts documentation: ug --- -# Blazor Sparkline Charts Globalization +# Globalization in Blazor Sparkline Component Globalization is the process of designing and developing a component to work in different cultures or locations. In the Sparkline component, the [Format](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SfSparkline-1.html#Syncfusion_Blazor_Charts_SfSparkline_1_Format) property is used to globalize number, date, and time values. The following example shows the tooltip globalized to currency format in the Deutsch culture. diff --git a/chart-sdk/blazor/sparkline-charts/images/blazor-area-sparkline.webp b/chart-sdk/blazor/sparkline-charts/images/blazor-area-sparkline.webp index d4eecf82c..c6838b301 100644 Binary files a/chart-sdk/blazor/sparkline-charts/images/blazor-area-sparkline.webp and b/chart-sdk/blazor/sparkline-charts/images/blazor-area-sparkline.webp differ diff --git a/chart-sdk/blazor/sparkline-charts/images/blazor-sparkline-data-label.webp b/chart-sdk/blazor/sparkline-charts/images/blazor-sparkline-data-label.webp index f097b44c7..a002f0c7c 100644 Binary files a/chart-sdk/blazor/sparkline-charts/images/blazor-sparkline-data-label.webp and b/chart-sdk/blazor/sparkline-charts/images/blazor-sparkline-data-label.webp differ diff --git a/chart-sdk/blazor/sparkline-charts/images/blazor-sparkline-tooltip.webp b/chart-sdk/blazor/sparkline-charts/images/blazor-sparkline-tooltip.webp index 283ee2d67..0ede7983e 100644 Binary files a/chart-sdk/blazor/sparkline-charts/images/blazor-sparkline-tooltip.webp and b/chart-sdk/blazor/sparkline-charts/images/blazor-sparkline-tooltip.webp differ diff --git a/chart-sdk/blazor/sparkline-charts/images/blazor-sparkline.webp b/chart-sdk/blazor/sparkline-charts/images/blazor-sparkline.webp index b1df316c0..64b5d98a7 100644 Binary files a/chart-sdk/blazor/sparkline-charts/images/blazor-sparkline.webp and b/chart-sdk/blazor/sparkline-charts/images/blazor-sparkline.webp differ diff --git a/chart-sdk/blazor/sparkline-charts/localization.md b/chart-sdk/blazor/sparkline-charts/localization.md index 8b00fb563..d21c4783b 100644 --- a/chart-sdk/blazor/sparkline-charts/localization.md +++ b/chart-sdk/blazor/sparkline-charts/localization.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Sparkline Charts Localization Examples | Syncfusion® -description: Learn how to localize Syncfusion Blazor Sparkline using LoadCldrData and setCulture, with tooltip format and RTL examples. -platform: Blazor +title: Localization in Blazor Sparkline Charts Component | Syncfusion® +description: Learn about localization support in the Blazor Sparkline Charts component, including culture and RTL settings. +platform: chart-sdk control: Sparkline Charts documentation: ug --- -# Blazor Sparkline Charts Localization +# Localization in Blazor Sparkline Charts Component The Sparkline Charts component supports localization. The default culture is `en-US`. The culture can be changed using the `LoadCldrData` and `setCulture` methods. diff --git a/chart-sdk/blazor/sparkline-charts/markers.md b/chart-sdk/blazor/sparkline-charts/markers.md index c24f0cfd4..59b78dcab 100644 --- a/chart-sdk/blazor/sparkline-charts/markers.md +++ b/chart-sdk/blazor/sparkline-charts/markers.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Sparkline Charts Markers Examples | Syncfusion® -description: Learn how to add and customize markers in Syncfusion Blazor Sparkline using SparklineMarkerSettings for special points and styles. -platform: Blazor +title: Markers in Blazor Sparkline Component | Syncfusion® +description: Check out and learn about marker options and customization in the Blazor Sparkline component and much more details. +platform: chart-sdk control: Sparkline Charts documentation: ug --- -# Blazor Sparkline Charts Markers +# Markers in Blazor Sparkline Component Data markers provide information about data points in the Sparkline series. diff --git a/chart-sdk/blazor/sparkline-charts/methods.md b/chart-sdk/blazor/sparkline-charts/methods.md index 92ac4cf0b..97749e9ab 100644 --- a/chart-sdk/blazor/sparkline-charts/methods.md +++ b/chart-sdk/blazor/sparkline-charts/methods.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Sparkline Charts Methods Examples | Syncfusion® -description: Learn about available methods in Syncfusion Blazor Sparkline, including how to use RefreshAsync with @ref to update the chart. -platform: Blazor +title: Methods in Blazor Sparkline Component | Syncfusion® +description: Learn about available methods in the Blazor Sparkline component, including how to refresh the chart. +platform: chart-sdk control: Sparkline Charts documentation: ug --- -# Blazor Sparkline Charts Methods +# Methods in Blazor Sparkline Component The `@ref` property can be used to create an object reference for the Sparkline component and call its methods. diff --git a/chart-sdk/blazor/sparkline-charts/range-band.md b/chart-sdk/blazor/sparkline-charts/range-band.md index 343959434..1268e1916 100644 --- a/chart-sdk/blazor/sparkline-charts/range-band.md +++ b/chart-sdk/blazor/sparkline-charts/range-band.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Sparkline Charts Range Band Examples | Syncfusion® -description: Learn how to customize range bands in Syncfusion Blazor Sparkline to highlight y-axis ranges with StartRange, EndRange, color, and opacity. -platform: Blazor +title: Range Band in Blazor Sparkline Component | Syncfusion® +description: Explore and understand how to customize range bands in the Blazor Sparkline component for better visuals. +platform: chart-sdk control: Sparkline Charts documentation: ug --- -# Blazor Sparkline Charts Range Band +# Range Band in Blazor Sparkline Component A range band represents a specific range on the Sparkline y-axis, improving readability or highlighting quality by specifying the [StartRange](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SparklineRangeBand.html#Syncfusion_Blazor_Charts_SparklineRangeBand_StartRange) and [EndRange](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SparklineRangeBand.html#Syncfusion_Blazor_Charts_SparklineRangeBand_EndRange) properties in the [SparklineRangeBand](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SparklineRangeBand.html) within [SparklineRangeBandSettings](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SparklineRangeBandSettings.html). diff --git a/chart-sdk/blazor/sparkline-charts/special-points-customization.md b/chart-sdk/blazor/sparkline-charts/special-points-customization.md index 983652035..b3e10cebc 100644 --- a/chart-sdk/blazor/sparkline-charts/special-points-customization.md +++ b/chart-sdk/blazor/sparkline-charts/special-points-customization.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Sparkline Charts Special Points Customization | Syncfusion® -description: Learn how to customize special points in Syncfusion Blazor Sparkline, including Start, End, High, Low, and Negative point colors. -platform: Blazor +title: Special Points Customization in Blazor Sparkline | Syncfusion® +description: Learn here all the features about special points customization in Blazor Sparkline component and much more details. +platform: chart-sdk control: Sparkline Charts documentation: ug --- -# Blazor Sparkline Charts Special Points Customization +# Special Points Customization in Blazor Sparkline Component ## Add Custom Color for Special Points diff --git a/chart-sdk/blazor/sparkline-charts/user-interaction.md b/chart-sdk/blazor/sparkline-charts/user-interaction.md index 0b26d2a47..48fd957d7 100644 --- a/chart-sdk/blazor/sparkline-charts/user-interaction.md +++ b/chart-sdk/blazor/sparkline-charts/user-interaction.md @@ -1,13 +1,13 @@ --- layout: post -title: Blazor Sparkline Charts User Interaction Examples | Syncfusion® -description: Learn about user interaction features in Syncfusion Blazor Sparkline, including tooltip and tracker line with format examples. -platform: Blazor +title: User Interaction in Blazor Sparkline Component | Syncfusion® +description: Check out and learn here all the features about user interaction in Blazor Sparkline component and much more details. +platform: chart-sdk control: Sparkline Charts documentation: ug --- -# Blazor Sparkline Charts User Interaction +# User Interaction in Blazor Sparkline Component User interaction features in the Sparkline include the tooltip and the tracker line. diff --git a/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/doughnut.JPG b/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/doughnut.JPG new file mode 100644 index 000000000..4d8cf3519 Binary files /dev/null and b/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/doughnut.JPG differ diff --git a/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/doughnut_angle.JPG b/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/doughnut_angle.JPG new file mode 100644 index 000000000..fd6dca368 Binary files /dev/null and b/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/doughnut_angle.JPG differ diff --git a/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/doughnut_colormapping.png b/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/doughnut_colormapping.png new file mode 100644 index 000000000..fe1f76b2c Binary files /dev/null and b/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/doughnut_colormapping.png differ diff --git a/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/doughnut_elevation.png b/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/doughnut_elevation.png new file mode 100644 index 000000000..cd0a538f3 Binary files /dev/null and b/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/doughnut_elevation.png differ diff --git a/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/doughnut_explode.JPG b/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/doughnut_explode.JPG new file mode 100644 index 000000000..60d67e035 Binary files /dev/null and b/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/doughnut_explode.JPG differ diff --git a/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/doughnut_explodeAll.JPG b/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/doughnut_explodeAll.JPG new file mode 100644 index 000000000..033a3d002 Binary files /dev/null and b/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/doughnut_explodeAll.JPG differ diff --git a/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/doughnut_grouping.JPG b/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/doughnut_grouping.JPG new file mode 100644 index 000000000..1893f3c76 Binary files /dev/null and b/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/doughnut_grouping.JPG differ diff --git a/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/doughnut_innerRadius.JPG b/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/doughnut_innerRadius.JPG new file mode 100644 index 000000000..0b55cdc17 Binary files /dev/null and b/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/doughnut_innerRadius.JPG differ diff --git a/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/doughnut_roundCorner.JPG b/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/doughnut_roundCorner.JPG new file mode 100644 index 000000000..fb9ac6808 Binary files /dev/null and b/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/doughnut_roundCorner.JPG differ diff --git a/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/doughnut_size.JPG b/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/doughnut_size.JPG new file mode 100644 index 000000000..d6dbd50ae Binary files /dev/null and b/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/doughnut_size.JPG differ diff --git a/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/overfilled-radial-bar.jpg b/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/overfilled-radial-bar.jpg new file mode 100644 index 000000000..1173e217b Binary files /dev/null and b/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/overfilled-radial-bar.jpg differ diff --git a/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/pie.JPG b/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/pie.JPG new file mode 100644 index 000000000..d14b81f0c Binary files /dev/null and b/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/pie.JPG differ diff --git a/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/pie_angle.JPG b/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/pie_angle.JPG new file mode 100644 index 000000000..7edfb0382 Binary files /dev/null and b/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/pie_angle.JPG differ diff --git a/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/pie_explode.JPG b/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/pie_explode.JPG new file mode 100644 index 000000000..423b3aff9 Binary files /dev/null and b/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/pie_explode.JPG differ diff --git a/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/pie_explodeAll.JPG b/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/pie_explodeAll.JPG new file mode 100644 index 000000000..c33e227b0 Binary files /dev/null and b/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/pie_explodeAll.JPG differ diff --git a/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/pie_grouping.JPG b/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/pie_grouping.JPG new file mode 100644 index 000000000..68fb2c278 Binary files /dev/null and b/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/pie_grouping.JPG differ diff --git a/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/pie_radius.JPG b/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/pie_radius.JPG new file mode 100644 index 000000000..946e1a990 Binary files /dev/null and b/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/pie_radius.JPG differ diff --git a/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/pie_sizing.JPG b/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/pie_sizing.JPG new file mode 100644 index 000000000..af1d5e454 Binary files /dev/null and b/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/pie_sizing.JPG differ diff --git a/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/radialbar.JPG b/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/radialbar.JPG new file mode 100644 index 000000000..bd39b44d9 Binary files /dev/null and b/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/radialbar.JPG differ diff --git a/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/radialbar_dataLabel.JPG b/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/radialbar_dataLabel.JPG new file mode 100644 index 000000000..b04009118 Binary files /dev/null and b/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/radialbar_dataLabel.JPG differ diff --git a/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/radialbar_innerRadius.JPG b/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/radialbar_innerRadius.JPG new file mode 100644 index 000000000..b1db520ec Binary files /dev/null and b/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/radialbar_innerRadius.JPG differ diff --git a/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/radialbar_roundCorner.JPG b/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/radialbar_roundCorner.JPG new file mode 100644 index 000000000..0fcc0e26c Binary files /dev/null and b/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/radialbar_roundCorner.JPG differ diff --git a/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/radialbar_sizing.JPG b/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/radialbar_sizing.JPG new file mode 100644 index 000000000..12af832e3 Binary files /dev/null and b/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/radialbar_sizing.JPG differ diff --git a/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/trackcustomization.png b/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/trackcustomization.png new file mode 100644 index 000000000..dc3b4a29f Binary files /dev/null and b/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/trackcustomization.png differ diff --git a/chart-sdk/flutter/3d-circular-charts/how-to/how-to-section-images/Adding-code-snippent.png b/chart-sdk/flutter/3d-circular-charts/how-to/how-to-section-images/Adding-code-snippent.png new file mode 100644 index 000000000..de0c8c9e6 Binary files /dev/null and b/chart-sdk/flutter/3d-circular-charts/how-to/how-to-section-images/Adding-code-snippent.png differ diff --git a/chart-sdk/flutter/3d-circular-charts/how-to/how-to-section-images/code-snippet.png b/chart-sdk/flutter/3d-circular-charts/how-to/how-to-section-images/code-snippet.png new file mode 100644 index 000000000..cb9a63553 Binary files /dev/null and b/chart-sdk/flutter/3d-circular-charts/how-to/how-to-section-images/code-snippet.png differ diff --git a/chart-sdk/flutter/3d-circular-charts/how-to/how-to-section-images/compile-code.png b/chart-sdk/flutter/3d-circular-charts/how-to/how-to-section-images/compile-code.png new file mode 100644 index 000000000..ae2372de7 Binary files /dev/null and b/chart-sdk/flutter/3d-circular-charts/how-to/how-to-section-images/compile-code.png differ diff --git a/chart-sdk/flutter/3d-circular-charts/how-to/how-to-section-images/copy-package.png b/chart-sdk/flutter/3d-circular-charts/how-to/how-to-section-images/copy-package.png new file mode 100644 index 000000000..5194bb95b Binary files /dev/null and b/chart-sdk/flutter/3d-circular-charts/how-to/how-to-section-images/copy-package.png differ diff --git a/chart-sdk/flutter/3d-circular-charts/how-to/how-to-section-images/copy-version.png b/chart-sdk/flutter/3d-circular-charts/how-to/how-to-section-images/copy-version.png new file mode 100644 index 000000000..b6517860d Binary files /dev/null and b/chart-sdk/flutter/3d-circular-charts/how-to/how-to-section-images/copy-version.png differ diff --git a/chart-sdk/flutter/sparkcharts/how-to/how-to-section-images/custom-widget.png b/chart-sdk/flutter/3d-circular-charts/how-to/how-to-section-images/custom-widget.png similarity index 100% rename from chart-sdk/flutter/sparkcharts/how-to/how-to-section-images/custom-widget.png rename to chart-sdk/flutter/3d-circular-charts/how-to/how-to-section-images/custom-widget.png diff --git a/chart-sdk/flutter/3d-circular-charts/how-to/how-to-section-images/dependency.png b/chart-sdk/flutter/3d-circular-charts/how-to/how-to-section-images/dependency.png new file mode 100644 index 000000000..f68a78670 Binary files /dev/null and b/chart-sdk/flutter/3d-circular-charts/how-to/how-to-section-images/dependency.png differ diff --git a/chart-sdk/flutter/3d-circular-charts/how-to/how-to-section-images/import-package-flutterflow.png b/chart-sdk/flutter/3d-circular-charts/how-to/how-to-section-images/import-package-flutterflow.png new file mode 100644 index 000000000..6d3f2b988 Binary files /dev/null and b/chart-sdk/flutter/3d-circular-charts/how-to/how-to-section-images/import-package-flutterflow.png differ diff --git a/chart-sdk/flutter/3d-circular-charts/how-to/how-to-section-images/page.png b/chart-sdk/flutter/3d-circular-charts/how-to/how-to-section-images/page.png new file mode 100644 index 000000000..1db67aaf1 Binary files /dev/null and b/chart-sdk/flutter/3d-circular-charts/how-to/how-to-section-images/page.png differ diff --git a/chart-sdk/flutter/3d-circular-charts/images/annotation/annotation_positioning.jpg b/chart-sdk/flutter/3d-circular-charts/images/annotation/annotation_positioning.jpg new file mode 100644 index 000000000..804297426 Binary files /dev/null and b/chart-sdk/flutter/3d-circular-charts/images/annotation/annotation_positioning.jpg differ diff --git a/chart-sdk/flutter/3d-circular-charts/images/annotation/default_annotation.jpg b/chart-sdk/flutter/3d-circular-charts/images/annotation/default_annotation.jpg new file mode 100644 index 000000000..dfe934be2 Binary files /dev/null and b/chart-sdk/flutter/3d-circular-charts/images/annotation/default_annotation.jpg differ diff --git a/chart-sdk/flutter/3d-circular-charts/images/annotation/watermark.jpg b/chart-sdk/flutter/3d-circular-charts/images/annotation/watermark.jpg new file mode 100644 index 000000000..1f250c4c0 Binary files /dev/null and b/chart-sdk/flutter/3d-circular-charts/images/annotation/watermark.jpg differ diff --git a/chart-sdk/flutter/3d-circular-charts/images/chart-title/chart_title.jpg b/chart-sdk/flutter/3d-circular-charts/images/chart-title/chart_title.jpg new file mode 100644 index 000000000..c60ebd815 Binary files /dev/null and b/chart-sdk/flutter/3d-circular-charts/images/chart-title/chart_title.jpg differ diff --git a/chart-sdk/flutter/3d-circular-charts/images/circular-customization/color-mapping.jpg b/chart-sdk/flutter/3d-circular-charts/images/circular-customization/color-mapping.jpg new file mode 100644 index 000000000..2ed971897 Binary files /dev/null and b/chart-sdk/flutter/3d-circular-charts/images/circular-customization/color-mapping.jpg differ diff --git a/chart-sdk/flutter/3d-circular-charts/images/circular-customization/color_palette.jpg b/chart-sdk/flutter/3d-circular-charts/images/circular-customization/color_palette.jpg new file mode 100644 index 000000000..ec4e2371a Binary files /dev/null and b/chart-sdk/flutter/3d-circular-charts/images/circular-customization/color_palette.jpg differ diff --git a/chart-sdk/flutter/3d-circular-charts/images/circular-customization/doughnut_radial.jpg b/chart-sdk/flutter/3d-circular-charts/images/circular-customization/doughnut_radial.jpg new file mode 100644 index 000000000..28b97e30e Binary files /dev/null and b/chart-sdk/flutter/3d-circular-charts/images/circular-customization/doughnut_radial.jpg differ diff --git a/chart-sdk/flutter/3d-circular-charts/images/circular-customization/emptypointcustomization.jpg b/chart-sdk/flutter/3d-circular-charts/images/circular-customization/emptypointcustomization.jpg new file mode 100644 index 000000000..427a8216e Binary files /dev/null and b/chart-sdk/flutter/3d-circular-charts/images/circular-customization/emptypointcustomization.jpg differ diff --git a/chart-sdk/flutter/3d-circular-charts/images/circular-customization/emptypoints.jpg b/chart-sdk/flutter/3d-circular-charts/images/circular-customization/emptypoints.jpg new file mode 100644 index 000000000..2d19c48b3 Binary files /dev/null and b/chart-sdk/flutter/3d-circular-charts/images/circular-customization/emptypoints.jpg differ diff --git a/chart-sdk/flutter/3d-circular-charts/images/circular-customization/pie_imageshader.jpg b/chart-sdk/flutter/3d-circular-charts/images/circular-customization/pie_imageshader.jpg new file mode 100644 index 000000000..0922b7d89 Binary files /dev/null and b/chart-sdk/flutter/3d-circular-charts/images/circular-customization/pie_imageshader.jpg differ diff --git a/chart-sdk/flutter/3d-circular-charts/images/circular-customization/pie_linear.jpg b/chart-sdk/flutter/3d-circular-charts/images/circular-customization/pie_linear.jpg new file mode 100644 index 000000000..f792f13f6 Binary files /dev/null and b/chart-sdk/flutter/3d-circular-charts/images/circular-customization/pie_linear.jpg differ diff --git a/chart-sdk/flutter/3d-circular-charts/images/circular-customization/pie_pointshadermapper.jpg b/chart-sdk/flutter/3d-circular-charts/images/circular-customization/pie_pointshadermapper.jpg new file mode 100644 index 000000000..b17932305 Binary files /dev/null and b/chart-sdk/flutter/3d-circular-charts/images/circular-customization/pie_pointshadermapper.jpg differ diff --git a/chart-sdk/flutter/3d-circular-charts/images/circular-customization/pie_rendermode.jpg b/chart-sdk/flutter/3d-circular-charts/images/circular-customization/pie_rendermode.jpg new file mode 100644 index 000000000..115d32ca8 Binary files /dev/null and b/chart-sdk/flutter/3d-circular-charts/images/circular-customization/pie_rendermode.jpg differ diff --git a/chart-sdk/flutter/3d-circular-charts/images/circular-customization/radialbar_sweep.jpg b/chart-sdk/flutter/3d-circular-charts/images/circular-customization/radialbar_sweep.jpg new file mode 100644 index 000000000..23fe788da Binary files /dev/null and b/chart-sdk/flutter/3d-circular-charts/images/circular-customization/radialbar_sweep.jpg differ diff --git a/chart-sdk/flutter/3d-circular-charts/images/circular-customization/sortings.jpg b/chart-sdk/flutter/3d-circular-charts/images/circular-customization/sortings.jpg new file mode 100644 index 000000000..0c6397412 Binary files /dev/null and b/chart-sdk/flutter/3d-circular-charts/images/circular-customization/sortings.jpg differ diff --git a/chart-sdk/flutter/3d-circular-charts/images/datalabel/circular_overflow.jpg b/chart-sdk/flutter/3d-circular-charts/images/datalabel/circular_overflow.jpg new file mode 100644 index 000000000..07c79773a Binary files /dev/null and b/chart-sdk/flutter/3d-circular-charts/images/datalabel/circular_overflow.jpg differ diff --git a/chart-sdk/flutter/3d-circular-charts/images/datalabel/circular_saturation.png b/chart-sdk/flutter/3d-circular-charts/images/datalabel/circular_saturation.png new file mode 100644 index 000000000..b4f7277c2 Binary files /dev/null and b/chart-sdk/flutter/3d-circular-charts/images/datalabel/circular_saturation.png differ diff --git a/chart-sdk/flutter/3d-circular-charts/images/datalabel/connector_line.jpg b/chart-sdk/flutter/3d-circular-charts/images/datalabel/connector_line.jpg new file mode 100644 index 000000000..8042e099d Binary files /dev/null and b/chart-sdk/flutter/3d-circular-charts/images/datalabel/connector_line.jpg differ diff --git a/chart-sdk/flutter/3d-circular-charts/images/datalabel/datalabel_0_value.png b/chart-sdk/flutter/3d-circular-charts/images/datalabel/datalabel_0_value.png new file mode 100644 index 000000000..8c6041d8f Binary files /dev/null and b/chart-sdk/flutter/3d-circular-charts/images/datalabel/datalabel_0_value.png differ diff --git a/chart-sdk/flutter/3d-circular-charts/images/datalabel/datalabel_format.jpg b/chart-sdk/flutter/3d-circular-charts/images/datalabel/datalabel_format.jpg new file mode 100644 index 000000000..b7aa6836e Binary files /dev/null and b/chart-sdk/flutter/3d-circular-charts/images/datalabel/datalabel_format.jpg differ diff --git a/chart-sdk/flutter/3d-circular-charts/images/datalabel/datalabel_position.jpg b/chart-sdk/flutter/3d-circular-charts/images/datalabel/datalabel_position.jpg new file mode 100644 index 000000000..c847f8ff4 Binary files /dev/null and b/chart-sdk/flutter/3d-circular-charts/images/datalabel/datalabel_position.jpg differ diff --git a/chart-sdk/flutter/3d-circular-charts/images/datalabel/datalabel_template.jpg b/chart-sdk/flutter/3d-circular-charts/images/datalabel/datalabel_template.jpg new file mode 100644 index 000000000..c20355254 Binary files /dev/null and b/chart-sdk/flutter/3d-circular-charts/images/datalabel/datalabel_template.jpg differ diff --git a/chart-sdk/flutter/3d-circular-charts/images/datalabel/default_datalabel.jpg b/chart-sdk/flutter/3d-circular-charts/images/datalabel/default_datalabel.jpg new file mode 100644 index 000000000..818ccaffe Binary files /dev/null and b/chart-sdk/flutter/3d-circular-charts/images/datalabel/default_datalabel.jpg differ diff --git a/chart-sdk/flutter/3d-circular-charts/images/datalabel/smart_datalabel.jpg b/chart-sdk/flutter/3d-circular-charts/images/datalabel/smart_datalabel.jpg new file mode 100644 index 000000000..4dfd84be4 Binary files /dev/null and b/chart-sdk/flutter/3d-circular-charts/images/datalabel/smart_datalabel.jpg differ diff --git a/chart-sdk/flutter/3d-circular-charts/images/datalabel/use_series_color.jpg b/chart-sdk/flutter/3d-circular-charts/images/datalabel/use_series_color.jpg new file mode 100644 index 000000000..b38f7e657 Binary files /dev/null and b/chart-sdk/flutter/3d-circular-charts/images/datalabel/use_series_color.jpg differ diff --git a/chart-sdk/flutter/3d-circular-charts/images/datalabel/value_mapper.jpg b/chart-sdk/flutter/3d-circular-charts/images/datalabel/value_mapper.jpg new file mode 100644 index 000000000..40ca087cb Binary files /dev/null and b/chart-sdk/flutter/3d-circular-charts/images/datalabel/value_mapper.jpg differ diff --git a/chart-sdk/flutter/3d-circular-charts/images/export-circular-chart/pdf_view.png b/chart-sdk/flutter/3d-circular-charts/images/export-circular-chart/pdf_view.png new file mode 100644 index 000000000..4ae8d6be2 Binary files /dev/null and b/chart-sdk/flutter/3d-circular-charts/images/export-circular-chart/pdf_view.png differ diff --git a/chart-sdk/flutter/3d-circular-charts/images/getting-started/data_source.JPG b/chart-sdk/flutter/3d-circular-charts/images/getting-started/data_source.JPG new file mode 100644 index 000000000..d14b81f0c Binary files /dev/null and b/chart-sdk/flutter/3d-circular-charts/images/getting-started/data_source.JPG differ diff --git a/chart-sdk/flutter/3d-circular-charts/images/getting-started/datalabel.png b/chart-sdk/flutter/3d-circular-charts/images/getting-started/datalabel.png new file mode 100644 index 000000000..9c5a59db2 Binary files /dev/null and b/chart-sdk/flutter/3d-circular-charts/images/getting-started/datalabel.png differ diff --git a/chart-sdk/flutter/3d-circular-charts/images/getting-started/legend.png b/chart-sdk/flutter/3d-circular-charts/images/getting-started/legend.png new file mode 100644 index 000000000..59b4ea845 Binary files /dev/null and b/chart-sdk/flutter/3d-circular-charts/images/getting-started/legend.png differ diff --git a/chart-sdk/flutter/3d-circular-charts/images/getting-started/title_chart.jpg b/chart-sdk/flutter/3d-circular-charts/images/getting-started/title_chart.jpg new file mode 100644 index 000000000..3c4b27105 Binary files /dev/null and b/chart-sdk/flutter/3d-circular-charts/images/getting-started/title_chart.jpg differ diff --git a/chart-sdk/flutter/3d-circular-charts/images/getting-started/tooltip.png b/chart-sdk/flutter/3d-circular-charts/images/getting-started/tooltip.png new file mode 100644 index 000000000..ac74c5b83 Binary files /dev/null and b/chart-sdk/flutter/3d-circular-charts/images/getting-started/tooltip.png differ diff --git a/chart-sdk/flutter/3d-circular-charts/images/legend/customized_legend.jpg b/chart-sdk/flutter/3d-circular-charts/images/legend/customized_legend.jpg new file mode 100644 index 000000000..bb567f4a7 Binary files /dev/null and b/chart-sdk/flutter/3d-circular-charts/images/legend/customized_legend.jpg differ diff --git a/chart-sdk/flutter/3d-circular-charts/images/legend/default_legend.jpg b/chart-sdk/flutter/3d-circular-charts/images/legend/default_legend.jpg new file mode 100644 index 000000000..031d3e555 Binary files /dev/null and b/chart-sdk/flutter/3d-circular-charts/images/legend/default_legend.jpg differ diff --git a/chart-sdk/flutter/3d-circular-charts/images/legend/legend_position.jpg b/chart-sdk/flutter/3d-circular-charts/images/legend/legend_position.jpg new file mode 100644 index 000000000..7ebcb42c6 Binary files /dev/null and b/chart-sdk/flutter/3d-circular-charts/images/legend/legend_position.jpg differ diff --git a/chart-sdk/flutter/3d-circular-charts/images/legend/legend_template.jpg b/chart-sdk/flutter/3d-circular-charts/images/legend/legend_template.jpg new file mode 100644 index 000000000..1553e507d Binary files /dev/null and b/chart-sdk/flutter/3d-circular-charts/images/legend/legend_template.jpg differ diff --git a/chart-sdk/flutter/3d-circular-charts/images/legend/legend_title.jpg b/chart-sdk/flutter/3d-circular-charts/images/legend/legend_title.jpg new file mode 100644 index 000000000..900ce3bf7 Binary files /dev/null and b/chart-sdk/flutter/3d-circular-charts/images/legend/legend_title.jpg differ diff --git a/chart-sdk/flutter/3d-circular-charts/images/legend/overflow_wrap.jpg b/chart-sdk/flutter/3d-circular-charts/images/legend/overflow_wrap.jpg new file mode 100644 index 000000000..287616c25 Binary files /dev/null and b/chart-sdk/flutter/3d-circular-charts/images/legend/overflow_wrap.jpg differ diff --git a/chart-sdk/flutter/3d-circular-charts/images/legend/toggle_visibility.jpg b/chart-sdk/flutter/3d-circular-charts/images/legend/toggle_visibility.jpg new file mode 100644 index 000000000..67c640d2a Binary files /dev/null and b/chart-sdk/flutter/3d-circular-charts/images/legend/toggle_visibility.jpg differ diff --git a/chart-sdk/flutter/3d-circular-charts/images/overview/chart_legend_circular.png b/chart-sdk/flutter/3d-circular-charts/images/overview/chart_legend_circular.png new file mode 100644 index 000000000..c56e5e6ac Binary files /dev/null and b/chart-sdk/flutter/3d-circular-charts/images/overview/chart_legend_circular.png differ diff --git a/chart-sdk/flutter/3d-circular-charts/images/overview/chart_types_circular.png b/chart-sdk/flutter/3d-circular-charts/images/overview/chart_types_circular.png new file mode 100644 index 000000000..5eee776c0 Binary files /dev/null and b/chart-sdk/flutter/3d-circular-charts/images/overview/chart_types_circular.png differ diff --git a/chart-sdk/flutter/3d-circular-charts/images/overview/overview.png b/chart-sdk/flutter/3d-circular-charts/images/overview/overview.png new file mode 100644 index 000000000..ced2f464a Binary files /dev/null and b/chart-sdk/flutter/3d-circular-charts/images/overview/overview.png differ diff --git a/chart-sdk/flutter/3d-circular-charts/images/rtl-support/circular_legend_rtl.jpg b/chart-sdk/flutter/3d-circular-charts/images/rtl-support/circular_legend_rtl.jpg new file mode 100644 index 000000000..3ba78fc55 Binary files /dev/null and b/chart-sdk/flutter/3d-circular-charts/images/rtl-support/circular_legend_rtl.jpg differ diff --git a/chart-sdk/flutter/3d-circular-charts/images/rtl-support/circular_tooltip_rtl.jpg b/chart-sdk/flutter/3d-circular-charts/images/rtl-support/circular_tooltip_rtl.jpg new file mode 100644 index 000000000..ccafb3ee1 Binary files /dev/null and b/chart-sdk/flutter/3d-circular-charts/images/rtl-support/circular_tooltip_rtl.jpg differ diff --git a/chart-sdk/flutter/3d-circular-charts/images/selection/customizing_segments.jpg b/chart-sdk/flutter/3d-circular-charts/images/selection/customizing_segments.jpg new file mode 100644 index 000000000..d437e9c4b Binary files /dev/null and b/chart-sdk/flutter/3d-circular-charts/images/selection/customizing_segments.jpg differ diff --git a/chart-sdk/flutter/3d-circular-charts/images/selection/default_selection.jpg b/chart-sdk/flutter/3d-circular-charts/images/selection/default_selection.jpg new file mode 100644 index 000000000..5c4f22ec8 Binary files /dev/null and b/chart-sdk/flutter/3d-circular-charts/images/selection/default_selection.jpg differ diff --git a/chart-sdk/flutter/3d-circular-charts/images/selection/deselection.gif b/chart-sdk/flutter/3d-circular-charts/images/selection/deselection.gif new file mode 100644 index 000000000..99dd59852 Binary files /dev/null and b/chart-sdk/flutter/3d-circular-charts/images/selection/deselection.gif differ diff --git a/chart-sdk/flutter/3d-circular-charts/images/selection/multi_select.jpg b/chart-sdk/flutter/3d-circular-charts/images/selection/multi_select.jpg new file mode 100644 index 000000000..54322d318 Binary files /dev/null and b/chart-sdk/flutter/3d-circular-charts/images/selection/multi_select.jpg differ diff --git a/chart-sdk/flutter/3d-circular-charts/images/tooltip/customized_tooltip.jpg b/chart-sdk/flutter/3d-circular-charts/images/tooltip/customized_tooltip.jpg new file mode 100644 index 000000000..69c9e7fda Binary files /dev/null and b/chart-sdk/flutter/3d-circular-charts/images/tooltip/customized_tooltip.jpg differ diff --git a/chart-sdk/flutter/3d-circular-charts/images/tooltip/default_tooltip.jpg b/chart-sdk/flutter/3d-circular-charts/images/tooltip/default_tooltip.jpg new file mode 100644 index 000000000..3efa6dbe0 Binary files /dev/null and b/chart-sdk/flutter/3d-circular-charts/images/tooltip/default_tooltip.jpg differ diff --git a/chart-sdk/flutter/3d-circular-charts/images/tooltip/tooltip_pointer.jpg b/chart-sdk/flutter/3d-circular-charts/images/tooltip/tooltip_pointer.jpg new file mode 100644 index 000000000..4a1498609 Binary files /dev/null and b/chart-sdk/flutter/3d-circular-charts/images/tooltip/tooltip_pointer.jpg differ diff --git a/chart-sdk/flutter/3d-circular-charts/images/tooltip/tooltip_template.jpg b/chart-sdk/flutter/3d-circular-charts/images/tooltip/tooltip_template.jpg new file mode 100644 index 000000000..62e3f27c2 Binary files /dev/null and b/chart-sdk/flutter/3d-circular-charts/images/tooltip/tooltip_template.jpg differ diff --git a/chart-sdk/flutter/barcode-generator/accessibility.md b/chart-sdk/flutter/barcode-generator/accessibility.md index 1ac5e2bd0..7c2a039ab 100644 --- a/chart-sdk/flutter/barcode-generator/accessibility.md +++ b/chart-sdk/flutter/barcode-generator/accessibility.md @@ -1,7 +1,7 @@ --- layout: post -title: Accessibility in Flutter Barcodes | Syncfusion® -description: Learn about accessibility support in Syncfusion® Flutter Barcodes (SfBarcodeGenerator), including screen readers, keyboard navigation, and more. +title: Accessibility in Flutter Barcodes widget | Syncfusion +description: Learn here all about Accessibility feature of Syncfusion Flutter Barcodes (SfBarcodeGenerator) widget and more. platform: chart-sdk control: SfBarcodeGenerator documentation: ug @@ -14,14 +14,10 @@ documentation: ug The [`SfBarcodeGenerator`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/SfBarcodeGenerator-class.html) [theming](https://help.syncfusion.com/flutter/themes) support offers a consistent and standardized look, as well as the ability to customize colors for all UI elements. You can customize colors for the following elements: -* [Bar color](https://help.syncfusion.com/chart-sdk/flutter/barcode-generator/barcode-customization) -* [Background color](https://help.syncfusion.com/chart-sdk/flutter/barcode-generator/barcode-customization) +* [Bar color](https://help.syncfusion.com/flutter/barcode/barcode-customization) +* [Background color](https://help.syncfusion.com/flutter/barcode/barcode-customization) ## Large fonts The [`SfBarcodeGenerator`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/SfBarcodeGenerator-class.html) automatically adjusts font size based on device settings and scales according to the [`MediaQueryData.textScaleFactor`](https://api.flutter.dev/flutter/widgets/MediaQueryData/textScaleFactor.html). It also allows you to change the font size of all text elements in the barcode generator. -* [Input value of barcode](https://help.syncfusion.com/chart-sdk/flutter/barcode-generator/barcode-customization#text-customization) - -## Screen reader support - -The [`SfBarcodeGenerator`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/SfBarcodeGenerator-class.html) supports Flutter's built-in [`Semantics`](https://api.flutter.dev/flutter/widgets/Semantics-class.html) framework, which provides voice-over and TalkBack screen reader support. You can wrap the barcode generator in a [`Semantics`](https://api.flutter.dev/flutter/widgets/Semantics-class.html) widget and provide a descriptive label using the label property so that screen readers can announce the barcode's input value. Alternatively, the [`Semantics`](https://api.flutter.dev/flutter/widgets/Semantics-class.html) widget can be placed on the parent container holding the [`SfBarcodeGenerator`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/SfBarcodeGenerator-class.html). This improves accessibility for visually impaired users, especially since barcodes are inherently visual elements that cannot be interpreted by screen readers without a meaningful label. \ No newline at end of file +* [Input value of barcode](https://help.syncfusion.com/flutter/barcode/barcode-customization#text-customization) \ No newline at end of file diff --git a/chart-sdk/flutter/barcode-generator/barcode-customization.md b/chart-sdk/flutter/barcode-generator/barcode-customization.md index c99d37691..9ee712b55 100644 --- a/chart-sdk/flutter/barcode-generator/barcode-customization.md +++ b/chart-sdk/flutter/barcode-generator/barcode-customization.md @@ -1,7 +1,8 @@ --- layout: post -title: Customization in Flutter Barcodes | Syncfusion® -description: Learn about customization options in Syncfusion® Flutter Barcodes (SfBarcodeGenerator), including appearance, sizing, colors, and styling. +title: Customization in Flutter Barcodes widget | Syncfusion +description: Learn all about the customization features of the Syncfusion Flutter Barcodes (SfBarcodeGenerator) widget and more. +platform: chart-sdk platform: chart-sdk control: SfBarcodeGenerator documentation: ug @@ -9,174 +10,120 @@ documentation: ug # Customization in Flutter Barcodes (SfBarcodeGenerator) -To get started with the Flutter Barcode Generator and set up the package, refer to the [Getting Started with Flutter Barcodes](https://help.syncfusion.com/chart-sdk/flutter/barcode-generator/getting-started) documentation. - ## Text customization **Displaying input value** To display the input value of the barcode, enable its [`showValue`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/SfBarcodeGenerator/showValue.html) property. By default, it is set to false. -{% tabs %} - {% highlight dart %} - import 'package:flutter/material.dart'; - import 'package:syncfusion_flutter_barcodes/barcodes.dart'; - - void main() { - runApp(MyApp()); - } - - class MyApp extends StatelessWidget { - @override - Widget build(BuildContext context) { - return Scaffold( - backgroundColor: Colors.white, - body: Center( - child: Container( - height: 150, - width: 300, - child: SfBarcodeGenerator(value: '12634388927', showValue: true), - ), + @override + Widget build(BuildContext context) { + return Scaffold( + backgroundColor: Colors.white, + body: Center( + child: Container( + height: 150, + width: 300, + child: SfBarcodeGenerator(value: '12634388927', showValue: true), ), - ); - } + ), + ); } {% endhighlight %} -{% endtabs %} - ![show text](images/text-customization/show-text.jpg) **Text style customization** The text style can be customized using the [`textStyle`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/SfBarcodeGenerator/textStyle.html) property of the barcode generator. -{% tabs %} - {% highlight dart %} - import 'package:flutter/material.dart'; - import 'package:syncfusion_flutter_barcodes/barcodes.dart'; - - void main() { - runApp(MyApp()); - } - - class MyApp extends StatelessWidget { - @override - Widget build(BuildContext context) { - return Scaffold( - backgroundColor: Colors.white, - body: Center( - child: Container( - height: 150, - width: 300, - child: SfBarcodeGenerator( - value: '12634388927', - textStyle: TextStyle( - fontFamily: 'Times', - fontSize: 16, - fontStyle: FontStyle.italic, - fontWeight: FontWeight.bold, - color: Colors.red, - ), - showValue: true, + @override + Widget build(BuildContext context) { + return Scaffold( + backgroundColor: Colors.white, + body: Center( + child: Container( + height: 150, + width: 300, + child: SfBarcodeGenerator( + value: '12634388927', + textStyle: TextStyle( + fontFamily: 'Times', + fontSize: 16, + fontStyle: FontStyle.italic, + fontWeight: FontWeight.bold, + color: Colors.red, ), + showValue: true, ), ), - ); - } + ), + ); } {% endhighlight %} -{% endtabs %} - ![text customization](images/text-customization/text-style.jpg) **Text spacing** Control the space between the text and the barcode with the [`textSpacing`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/SfBarcodeGenerator/textSpacing.html) property of barcode generator. By default, it is set to 2. -{% tabs %} - {% highlight dart %} - import 'package:flutter/material.dart'; - import 'package:syncfusion_flutter_barcodes/barcodes.dart'; - - void main() { - runApp(MyApp()); - } - - class MyApp extends StatelessWidget { - @override - Widget build(BuildContext context) { - return Scaffold( - backgroundColor: Colors.white, - body: Center( - child: Container( - height: 150, - width: 300, - child: SfBarcodeGenerator( - value: '12634388927', - textSpacing: 25, - showValue: true, - ), + @override + Widget build(BuildContext context) { + return Scaffold( + backgroundColor: Colors.white, + body: Center( + child: Container( + height: 150, + width: 300, + child: SfBarcodeGenerator( + value: '12634388927', + textSpacing: 25, + showValue: true, ), ), - ); - } + ), + ); } {% endhighlight %} -{% endtabs %} - ![text spacing](images/text-customization/text-spacing.jpg) **Horizontal text alignment** The horizontal text alignment can be managed with the [`textAlign`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/SfBarcodeGenerator/textAlign.html) property of barcode generator. Position the displayed text at the [`start`](https://api.flutter.dev/flutter/dart-ui/TextAlign.html#start), [`center`](https://api.flutter.dev/flutter/dart-ui/TextAlign.html#center) or [`end`](https://api.flutter.dev/flutter/dart-ui/TextAlign.html#end) of the control. The default value of [`textAlign`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/SfBarcodeGenerator/textAlign.html) property is center. -{% tabs %} - {% highlight dart %} - - import 'package:flutter/material.dart'; - import 'package:syncfusion_flutter_barcodes/barcodes.dart'; - - void main() { - runApp(MyApp()); - } - - class MyApp extends StatelessWidget { - @override - Widget build(BuildContext context) { - return Scaffold( - backgroundColor: Colors.white, - body: Center( - child: Container( - height: 150, - width: 240, - child: SfBarcodeGenerator( - value: '12634', - textAlign: TextAlign.end, - showValue: true, - ), + + @override + Widget build(BuildContext context) { + return Scaffold( + backgroundColor: Colors.white, + body: Center( + child: Container( + height: 150, + width: 240, + child: SfBarcodeGenerator( + value: '12634', + textAlign: TextAlign.end, + showValue: true, ), ), - ); - } + ), + ); } {% endhighlight %} -{% endtabs %} - ![text align](images/text-customization/text-align.png) ## Bar customization @@ -187,245 +134,167 @@ Both one-dimensional and two-dimensional symbologies support the [`module`](http For one-dimensional barcodes, if not set, the smallest bar line size depends on the available width. -The following code snippet shows the one-dimensional barcode with the [`module`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/Symbology/module.html) property. The only difference between this and the sample without the `module` property is the `module` value passed to the symbology. - -{% tabs %} +The following code snippet shows the one dimensional barcode with [`module`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/Symbology/module.html) property, {% highlight dart %} - import 'package:flutter/material.dart'; - import 'package:syncfusion_flutter_barcodes/barcodes.dart'; - - void main() { - runApp(MyApp()); - } - - class MyApp extends StatelessWidget { - @override - Widget build(BuildContext context) { - return Scaffold( - backgroundColor: Colors.white, - body: Center( - child: Container( - height: 150, - width: 230, - child: SfBarcodeGenerator( - backgroundColor: Color.fromRGBO(193, 250, 250, 1), - value: '123456789', - showValue: true, - symbology: Codabar(module: 1), - ), + @override + Widget build(BuildContext context) { + return Scaffold( + backgroundColor: Colors.white, + body: Center( + child: Container( + height: 150, + width: 230, + child: SfBarcodeGenerator( + backgroundColor: Color.fromRGBO(193, 250, 250, 1), + value: '123456789', + showValue: true, + symbology: Codabar(module: 1), ), ), - ); - } + ), + ); } -{% endhighlight %} - -{% endtabs %} + {% endhighlight %} ![with module value](images/text-customization/with-module.jpg) N> In the image above, the smallest bar line width is 1 logical pixel. -The following code snippet shows the one-dimensional barcode without the [`module`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/Symbology/module.html) property. - -{% tabs %} +Below code snippet shows the one dimensional barcode without the [`module`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/Symbology/module.html) property, {% highlight dart %} - import 'package:flutter/material.dart'; - import 'package:syncfusion_flutter_barcodes/barcodes.dart'; - - void main() { - runApp(MyApp()); - } - - class MyApp extends StatelessWidget { - @override - Widget build(BuildContext context) { - return Scaffold( - backgroundColor: Colors.white, - body: Center( - child: Container( - height: 150, - width: 230, - child: SfBarcodeGenerator( - backgroundColor: Color.fromRGBO(193, 250, 250, 1), - value: '123456789', - showValue: true, - symbology: Codabar(), - ), + @override + Widget build(BuildContext context) { + return Scaffold( + backgroundColor: Colors.white, + body: Center( + child: Container( + height: 150, + width: 230, + child: SfBarcodeGenerator( + backgroundColor: Color.fromRGBO(193, 250, 250, 1), + value: '123456789', + showValue: true, + symbology: Codabar(), ), ), - ); - } + ), + ); } -{% endhighlight %} - -{% endtabs %} + {% endhighlight %} ![without module value](images/text-customization/without-module.jpg) -For two-dimensional barcodes, if the [`module`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/Symbology/module.html) property is not set, the smallest dot size is calculated based on the minimum of available width or height. - -The following code snippet shows the two-dimensional barcode with the [`module`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/Symbology/module.html) property. +For two dimensional barcode , if the [`module`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/Symbology/module.html) property is not set, the smallest dot size is calculated based on the minimum of available width or height. -{% tabs %} +The following code snippet shows the two dimensional barcode with [`module`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/Symbology/module.html) property, {% highlight dart %} - import 'package:flutter/material.dart'; - import 'package:syncfusion_flutter_barcodes/barcodes.dart'; - - void main() { - runApp(MyApp()); - } - - class MyApp extends StatelessWidget { - @override - Widget build(BuildContext context) { - return Scaffold( - backgroundColor: Colors.white, - body: Center( - child: Container( - height: 150, - width: 230, - child: SfBarcodeGenerator( - backgroundColor: Color.fromRGBO(193, 250, 250, 1), - value: '123456789', - symbology: QRCode(module: 2), - ), + @override + Widget build(BuildContext context) { + return Scaffold( + backgroundColor: Colors.white, + body: Center( + child: Container( + height: 150, + width: 230, + child: SfBarcodeGenerator( + backgroundColor: Color.fromRGBO(193, 250, 250, 1), + value: '123456789', + symbology: QRCode(module: 2), ), ), - ); - } + ), + ); } -{% endhighlight %} - -{% endtabs %} + {% endhighlight %} -![QR with module value](images/text-customization/qr-with-module.jpg) + ![QR with module value](images/text-customization/qr-with-module.jpg) -The following code snippet shows the two-dimensional barcode without the [`module`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/Symbology/module.html) property. + Below code snippet shows the two dimensional barcode without the [`module`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/Symbology/module.html) property, -{% tabs %} + {% highlight dart %} -{% highlight dart %} - - import 'package:flutter/material.dart'; - import 'package:syncfusion_flutter_barcodes/barcodes.dart'; - - void main() { - runApp(MyApp()); - } - - class MyApp extends StatelessWidget { - @override - Widget build(BuildContext context) { - return Scaffold( - backgroundColor: Colors.white, - body: Center( - child: Container( - height: 150, - width: 230, - child: SfBarcodeGenerator( - backgroundColor: Color.fromRGBO(193, 250, 250, 1), - value: '123456789', - symbology: QRCode(), - ), + @override + Widget build(BuildContext context) { + return Scaffold( + backgroundColor: Colors.white, + body: Center( + child: Container( + height: 150, + width: 230, + child: SfBarcodeGenerator( + backgroundColor: Color.fromRGBO(193, 250, 250, 1), + value: '123456789', + symbology: QRCode(), ), ), - ); - } + ), + ); } -{% endhighlight %} - -{% endtabs %} + {% endhighlight %} -![QR without module value](images/text-customization/qr-without-module.jpg) + ![QR without module value](images/text-customization/qr-without-module.jpg) **Bar color customization** -Customize the barcode's bar color using the [`barColor`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/SfBarcodeGenerator/barColor.html) property as shown in the following code snippet. - -{% tabs %} +Customize the barcode's bar color using the [`barColor`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/SfBarcodeGenerator/barColor.html) property as like the following code snippet, {% highlight dart %} - import 'package:flutter/material.dart'; - import 'package:syncfusion_flutter_barcodes/barcodes.dart'; - - void main() { - runApp(MyApp()); - } - - class MyApp extends StatelessWidget { - @override - Widget build(BuildContext context) { - return Scaffold( - backgroundColor: Colors.white, - body: Center( - child: Container( - height: 150, - width: 240, - child: SfBarcodeGenerator( - value: '12634', - barColor: Colors.deepPurple, - ), + @override + Widget build(BuildContext context) { + return Scaffold( + backgroundColor: Colors.white, + body: Center( + child: Container( + height: 150, + width: 240, + child: SfBarcodeGenerator( + value: '12634', + barColor: Colors.deepPurple, ), ), - ); - } + ), + ); } {% endhighlight %} -{% endtabs %} - ![bar color](images/text-customization/bar-color.jpg) **Background color customization** -You can customize the barcode's background color with the [`backgroundColor`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/SfBarcodeGenerator/backgroundColor.html) property of barcode generator as shown in the following code snippet. - -{% tabs %} +You can customize the barcode's background color with the [`backgroundColor`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/SfBarcodeGenerator/backgroundColor.html) property of barcode generator as like the below code snippet, {% highlight dart %} - import 'package:flutter/material.dart'; - import 'package:syncfusion_flutter_barcodes/barcodes.dart'; - - void main() { - runApp(MyApp()); - } - - class MyApp extends StatelessWidget { - @override - Widget build(BuildContext context) { - return Scaffold( - backgroundColor: Colors.white, - body: Center( - child: Container( - height: 150, - width: 230, - child: SfBarcodeGenerator( - backgroundColor: Color.fromRGBO(193, 250, 250, 1), - value: '123456789', - symbology: Codabar(), - ), + @override + Widget build(BuildContext context) { + return Scaffold( + backgroundColor: Colors.white, + body: Center( + child: Container( + height: 150, + width: 230, + child: SfBarcodeGenerator( + backgroundColor: Color.fromRGBO(193, 250, 250, 1), + value: '123456789', + symbology: Codabar(), ), ), - ); - } + ), + ); } {% endhighlight %} -{% endtabs %} - ![background color](images/text-customization/background-color.jpg) diff --git a/chart-sdk/flutter/barcode-generator/getting-started.md b/chart-sdk/flutter/barcode-generator/getting-started.md index 4f070832e..f27d6a150 100644 --- a/chart-sdk/flutter/barcode-generator/getting-started.md +++ b/chart-sdk/flutter/barcode-generator/getting-started.md @@ -1,13 +1,13 @@ --- layout: post -title: Getting Started with Flutter Barcodes | Syncfusion® -description: Learn how to get started with the Syncfusion® Flutter Barcodes (SfBarcodeGenerator). Explore setup, barcode generation, and customization options. +title: Getting started with Flutter Barcodes widget | Syncfusion +description: Learn here about getting started with Syncfusion Flutter Barcodes (SfBarcodeGenerator) widget, its elements, and more. platform: chart-sdk control: SfBarcodeGenerator documentation: ug --- -# Getting Started with Flutter Barcodes (SfBarcodeGenerator) +# Getting started with Flutter Barcodes (SfBarcodeGenerator) This section explains the steps required to add the barcode and set its symbology. This section covers only basic features needed to get started with Syncfusion® barcode generator widget. @@ -20,8 +20,6 @@ Create a simple project using the instructions given in the [Getting Started wit Add the Syncfusion® Flutter Barcode dependency to your pubspec.yaml file. -{% tabs %} - {% highlight dart %} dependencies: @@ -30,73 +28,50 @@ Add the Syncfusion® Flutter Barcode dependency to your pubspec.ya {% endhighlight %} -{% endtabs %} - -N> Here **xx.x.xx** denotes the current version of the [Syncfusion® Flutter Barcodes](https://pub.dev/packages/syncfusion_flutter_barcodes/versions) package. You can check the latest version available on [pub.dev](https://pub.dev/packages/syncfusion_flutter_barcodes/install). +N> Here **xx.x.xx** denotes the current version of the [Syncfusion® Flutter Barcodes](https://pub.dev/packages/syncfusion_flutter_barcodes/versions) package. **Get packages** Run the following command to get the required packages. -{% tabs %} - {% highlight dart %} $ flutter pub get {% endhighlight %} -{% endtabs %} - **Import package** Import the following package in your Dart code. -{% tabs %} - {% highlight dart %} import 'package:syncfusion_flutter_barcodes/barcodes.dart'; {% endhighlight %} -{% endtabs %} - ## Initialize the barcode -Add the Barcode Generator widget as a child of any widget. Here, the widget is added as a child of the container widget and the height to the container is specified (otherwise, it will occupy the full available height). - -{% tabs %} +Add the Barcode Generator widget as a child of any widget. Here, the widget is added as a child of the container widget and the height to the container is specified (otherwise it will take full container height). {% highlight dart %} - import 'package:flutter/material.dart'; - import 'package:syncfusion_flutter_barcodes/barcodes.dart'; - - void main() { - runApp(MyApp()); - } - - class MyApp extends StatelessWidget { - @override - Widget build(BuildContext context) { - return MaterialApp( - home: Scaffold( - body: Center( - child: Container( - height: 150, - child: SfBarcodeGenerator(value: 'http://www.syncfusion.com'), - ), + @override + Widget build(BuildContext context) { + return MaterialApp( + home: Scaffold( + body: Center( + child: Container( + height: 150, + child: SfBarcodeGenerator(value: 'http://www.syncfusion.com'), ), ), - ); - } + ), + ); } {% endhighlight %} -{% endtabs %} - N> The default symbology of SfBarcodeGenerator is [`Code128`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/Code128-class.html). ![Initialize barcode generator](images/getting-started/getting_started1.jpg) @@ -105,83 +80,57 @@ N> The default symbology of SfBarcodeGenerator is [`Code128`](https://pub.dev/do You can set the required symbology type to the barcode generator based on input value by initializing the [`symbology`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/Symbology-class.html) property. In the following code snippet, the QR code is set as the barcode symbology. -{% tabs %} - {% highlight dart %} - import 'package:flutter/material.dart'; - import 'package:syncfusion_flutter_barcodes/barcodes.dart'; - - void main() { - runApp(MyApp()); - } - - class MyApp extends StatelessWidget { - @override - Widget build(BuildContext context) { - return MaterialApp( - home: Scaffold( - body: Center( - child: Container( - height: 350, - width: 350, - child: SfBarcodeGenerator( - value: 'http://www.syncfusion.com', - symbology: QRCode(), - ), + @override + Widget build(BuildContext context) { + return MaterialApp( + home: Scaffold( + body: Center( + child: Container( + height: 350, + width: 350, + child: SfBarcodeGenerator( + value: 'http://www.syncfusion.com', + symbology: QRCode(), ), ), ), - ); - } + ), + ); } {% endhighlight %} -{% endtabs %} - ![symbology to barcode](images/getting-started/getting_started2.jpg) ## Display input value -The provided input value can be displayed below the barcode by enabling the [`showValue`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/SfBarcodeGenerator/showValue.html) property of barcode as shown in the following code snippet. - -{% tabs %} +The provided input value can be displayed below the barcode by enabling the [`showValue`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/SfBarcodeGenerator/showValue.html) property of barcode as like the following code snippet, {% highlight dart %} - import 'package:flutter/material.dart'; - import 'package:syncfusion_flutter_barcodes/barcodes.dart'; - - void main() { - runApp(MyApp()); - } - - class MyApp extends StatelessWidget { - @override - Widget build(BuildContext context) { - return MaterialApp( - home: Scaffold( - body: Center( - child: Container( - height: 350, - width: 350, - child: SfBarcodeGenerator( - value: 'http://www.syncfusion.com', - showValue: true, - textSpacing: 15, - symbology: QRCode(), - ), + @override + Widget build(BuildContext context) { + return MaterialApp( + home: Scaffold( + body: Center( + child: Container( + height: 350, + width: 350, + child: SfBarcodeGenerator( + value: 'http://www.syncfusion.com', + showValue: true, + textSpacing: 15, + symbology: QRCode(), ), ), ), - ); - } + ), + ); } {% endhighlight %} -{% endtabs %} - ![Text to barcode](images/getting-started/getting_started3.jpg) diff --git a/chart-sdk/flutter/barcode-generator/how-to/custom-widget-on-flutterflow.md b/chart-sdk/flutter/barcode-generator/how-to/custom-widget-on-flutterflow.md index ad16ea432..d6b8f4c1a 100644 --- a/chart-sdk/flutter/barcode-generator/how-to/custom-widget-on-flutterflow.md +++ b/chart-sdk/flutter/barcode-generator/how-to/custom-widget-on-flutterflow.md @@ -1,77 +1,75 @@ --- layout: post -title: How to Add Barcodes in FlutterFlow | Syncfusion® -description: Learn how to add and use Syncfusion® Flutter Barcodes (SfBarcodeGenerator) in FlutterFlow, including setup, integration, and configuration. +title: Barcodes Widget in FlutterFlow | Syncfusion +description: You can learn here all about adding Syncfusion Flutter Barcodes (SfBarcodeGenerator) widget in FlutterFlow. platform: chart-sdk control: SfBarcodeGenerator documentation: ug --- -# How to Add Barcodes in FlutterFlow (SfBarcodeGenerator) +# How to add Syncfusion® Barcodes widget in FlutterFlow? ## Overview -[FlutterFlow](https://app.flutterflow.io/dashboard) enables you to create native applications using its graphical interface, reducing the need to write extensive amounts of code. Additionally, it offers the capability to include custom widgets that are not included in the default [FlutterFlow](https://app.flutterflow.io/dashboard) widget collection. This article explains how to incorporate our `SfBarcodeGenerator` widget as a custom widget in [FlutterFlow](https://app.flutterflow.io/dashboard). - -To get started with the Flutter Barcode Generator and set up the package, refer to the [Getting Started with Flutter Barcodes](https://help.syncfusion.com/chart-sdk/flutter/barcode-generator/getting-started) documentation. +[FlutterFlow](https://app.flutterflow.io/dashboard) enables you to create native applications using its graphical interface, reducing the need to write extensive amounts of code. Additionally, it offers the capability to include custom widgets that are not included in the default [FlutterFlow](https://app.flutterflow.io/dashboard) widget collection. This article explains how to incorporate our SfBarcodeGenerator widget as a custom widget in [FlutterFlow](https://app.flutterflow.io/dashboard). ### Create a new project Navigate to the [FlutterFlow dashboard](https://app.flutterflow.io/dashboard) and click the `+ Create New` button to create a new project. -### Create the custom widget +### Creating the custom widget 1. Navigate to the `Custom Code` section in the left side navigation menu. 2. Click on the `+ Add` button to open a dropdown menu, then select `Widget`. 3. Update the widget name as desired. -4. Click on the `View Boilerplate Code` button on the right side, represented by the `[]` icon. +4. Click the `View Boilerplate Code` button on the right side, represented by this icon `[]`. 5. A popup will appear with startup code; locate the button labeled ` Copy to Editor` and click on it. 6. Save the widget. ![Custom Widget](how-to-section-images/custom-widget.png) -### Add the Barcodes widget as a dependency +### Add Barcodes widget as a dependency -1. Click on `+ Add Dependency`; a text editor will appear. +1. Click on `+ Add Dependency`, a text editor will appear. 2. Navigate to [Syncfusion® Flutter Barcodes](https://pub.dev/packages/syncfusion_flutter_barcodes) in [pub.dev](https://pub.dev/) and copy the dependency name and version using the `Copy to Clipboard` option. ![Version](how-to-section-images/copy-version.png) -3. Paste the copied dependency into the text editor, then click `Refresh` and save it. +3. Paste the copied dependency into the text editor, then click `Refresh` and `Save` it. -N> The live version of [Syncfusion® Flutter Barcodes](https://pub.dev/packages/syncfusion_flutter_barcodes) has been migrated to the latest version of Flutter SDK. To ensure compatibility, check [FlutterFlow](https://app.flutterflow.io/dashboard)'s current Flutter version and obtain the corresponding version of [Syncfusion® Flutter Barcodes](https://pub.dev/packages/syncfusion_flutter_barcodes) by referring to the [SDK compatibility](https://help.syncfusion.com/flutter/system-requirements#sdk-version-compatibility). +>**Note**: The live version of [Syncfusion® Flutter Barcodes](https://pub.dev/packages/syncfusion_flutter_barcodes) has been migrated to the latest version of Flutter SDK. To ensure compatibility, check [FlutterFlow](https://app.flutterflow.io/dashboard)'s current Flutter version and obtain the corresponding version of [Syncfusion® Flutter Barcodes](https://pub.dev/packages/syncfusion_flutter_barcodes) by referring to the [SDK compatibility](https://help.syncfusion.com/flutter/system-requirements#sdk-version-compatibility). ![Dependency](how-to-section-images/dependency.png) -N> If you are using an older version of a dependency instead of the latest one, remove the caret symbol (^) prefix in the version number after pasting the dependency. For example, change `^21.3.0` to `21.3.0`. +>**Note**: If you are using an older version of a dependency instead of the latest one, remove the caret symbol (^) prefix in the version number after pasting the dependency. For example, change `^21.3.0` to `21.3.0`. -N> Since [Syncfusion® Flutter Barcodes](https://pub.dev/packages/syncfusion_flutter_barcodes) depends on the [Syncfusion® Flutter Core](https://pub.dev/packages/syncfusion_flutter_core) package, make sure to add it as a dependency following the same steps mentioned above. +>**Note**: Since [Syncfusion® Flutter Barcodes](https://pub.dev/packages/syncfusion_flutter_barcodes) depends on the [Syncfusion® Flutter Core](https://pub.dev/packages/syncfusion_flutter_core) package, make sure to add it as a dependency following the same steps mentioned above. ### Import the package 1. Navigate to the `Installing` tab on the [Syncfusion® Flutter Barcodes](https://pub.dev/packages/syncfusion_flutter_barcodes) page. Under the `Import it` section, copy the package import statement. ![Package](how-to-section-images/copy-package.png) -2. Paste the copied import statement into the code editor, and then save it. +2. Paste the copied import statement into the code editor and then `Save` it. ![Import](how-to-section-images/import-package-flutterflow.png) -### Add a widget code snippet in the code editor +### Add widget code snippet in code editor -1. Navigate to the [Example](https://pub.dev/packages/syncfusion_flutter_barcodes/example) tab on the [Syncfusion® Flutter Barcodes](https://pub.dev/packages/syncfusion_flutter_barcodes) page, and copy the widget-specific code. +1. Navigate to the [Example](https://pub.dev/packages/syncfusion_flutter_barcodes/example) tab in [Syncfusion® Flutter Barcodes](https://pub.dev/packages/syncfusion_flutter_barcodes) and copy the widget specific codes. ![Code](how-to-section-images/code-snippet.png) -2. Paste the copied code sample into the code editor, click `Format Code`, and then save it. +2. Paste the copied code sample into the code editor, click `Format Code`, and `Save` it. ![Code snippet](how-to-section-images/Adding-code-snippent.png) -### Compile the code +### Compiling the codes -1. Click the `Compile Code` button located in the top right corner. +1. Click the 'Compile Code' button located in the top right corner. 2. If there are no errors, save the process. If errors are present, fix them and compile the code again. Once the code has been successfully compiled, save the process. ![Compile code](how-to-section-images/compile-code.png) -N> The compilation progress takes 2 to 3 minutes to complete. +>**Note**: The compilation progress takes 2 to 3 minutes to complete. -### Use the custom widget +### Utilizing the custom widget 1. Navigate to `Widget Palette` located in the left side navigation menu. 2. Click on the `Components` tab. -3. Your custom widget will be under `Custom Code Widgets`. Drag and drop the custom widget onto your page. +3. Your custom widget will be under `Custom Code Widgets`. Drag and drop the custom widget to your page. ![Page](how-to-section-images/page.png) diff --git a/chart-sdk/flutter/barcode-generator/one-dimensional.md b/chart-sdk/flutter/barcode-generator/one-dimensional.md index 855a29b44..c6263141c 100644 --- a/chart-sdk/flutter/barcode-generator/one-dimensional.md +++ b/chart-sdk/flutter/barcode-generator/one-dimensional.md @@ -1,17 +1,15 @@ --- layout: post -title: One-Dimensional Symbology in Flutter Barcodes | Syncfusion® -description: Learn about one-dimensional symbology support in Syncfusion® Flutter Barcodes (SfBarcodeGenerator), including Code128, EAN, UPC, Codabar, and Code39. +title: One-dimensional symbology in Flutter Barcodes widget | Syncfusion +description: Learn here all about One-dimensional symbology feature of Syncfusion Flutter Barcodes (SfBarcodeGenerator) widget and more. platform: chart-sdk control: SfBarcodeGenerator documentation: ug --- -# One-Dimensional Symbology in Flutter Barcodes (SfBarcodeGenerator) +# One-dimensional symbology in Flutter Barcodes (SfBarcodeGenerator) -To get started with the Flutter Barcode Generator and set up the package, refer to the [Getting Started with Flutter Barcodes](https://help.syncfusion.com/chart-sdk/flutter/barcode-generator/getting-started) documentation. - -One-dimensional barcodes represent data by varying the widths and spacings of parallel lines. These barcode types are also known as linear barcodes. The Syncfusion® flutter barcode generator supports the following one-dimensional barcode types: +One-dimensional barcodes represent data by varying the widths and spacings of parallel lines. These barcode types are also known as linear barcode types. The Syncfusion® flutter barcode generator supports the following one-dimensional barcode types: * [`Codabar`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/Codabar-class.html) * [`Code39`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/Code39-class.html) @@ -34,40 +32,27 @@ One-dimensional barcodes represent data by varying the widths and spacings of pa * Each character has three bars and four spaces. * Uses characters of A, B, C, D as start and stop characters. -{% tabs %} - {% highlight dart %} - import 'package:flutter/material.dart'; - import 'package:syncfusion_flutter_barcodes/barcodes.dart'; - - void main() { - runApp(MyApp()); - } - - class MyApp extends StatelessWidget { - @override - Widget build(BuildContext context) { - return Scaffold( - backgroundColor: Colors.white, - body: Center( - child: Container( - height: 150, - child: SfBarcodeGenerator( - value: '123456789', - showValue: true, - symbology: Codabar(module: 2), - ), + @override + Widget build(BuildContext context) { + return Scaffold( + backgroundColor: Colors.white, + body: Center( + child: Container( + height: 150, + child: SfBarcodeGenerator( + value: '123456789', + showValue: true, + symbology: Codabar(module: 2), ), ), - ); - } + ), + ); } {% endhighlight %} -{% endtabs %} - ![codabar symbology](images/one-dimensional/codabar.jpg) ## Code39 @@ -77,127 +62,88 @@ One-dimensional barcodes represent data by varying the widths and spacings of pa * Allows character set of digits (0-9), upper case alphabets (A-Z), and symbols like space, minus (-), plus (+), period (.), dollar sign ($), slash (/), and percent (%). * Each character is encoded with 5 bars and 4 spaces where 3 are wide and 6 are narrow. -{% tabs %} - {% highlight dart %} - import 'package:flutter/material.dart'; - import 'package:syncfusion_flutter_barcodes/barcodes.dart'; - - void main() { - runApp(MyApp()); - } - - class MyApp extends StatelessWidget { - @override - Widget build(BuildContext context) { - return Scaffold( - backgroundColor: Colors.white, - body: Center( - child: Container( - height: 150, - child: SfBarcodeGenerator( - value: 'CODE39', - showValue: true, - symbology: Code39(module: 2), - ), + @override + Widget build(BuildContext context) { + return Scaffold( + backgroundColor: Colors.white, + body: Center( + child: Container( + height: 150, + child: SfBarcodeGenerator( + value: 'CODE39', + showValue: true, + symbology: Code39(module: 2), ), ), - ); - } + ), + ); } {% endhighlight %} -{% endtabs %} - ![code39 symbology](images/one-dimensional/code39.jpg) -The [`enableCheckSum`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/Code39/enableCheckSum.html) property of [`Code39`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/Code39-class.html) barcode allows you to add the check digit along with the input value. The default value of [`enableCheckSum`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/Code39/enableCheckSum.html) property is true. +The [`enableCheckSum`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/Code39/enableCheckSum.html) property of [`Code39`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/Code39-class.html) barcode allows to add the check digit along with the input value. The default value of [`enableCheckSum`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/Code39/enableCheckSum.html) property is true. ## Code39 Extended [`Code39 Extended`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/Code39Extended-class.html) symbology is an extended version of Code39 that supports all 128 ASCII characters set. So, it encodes lower case alphabets (a-z) as well as special characters. -{% tabs %} - {% highlight dart %} - import 'package:flutter/material.dart'; - import 'package:syncfusion_flutter_barcodes/barcodes.dart'; - - void main() { - runApp(MyApp()); - } - - class MyApp extends StatelessWidget { - @override - Widget build(BuildContext context) { - return Scaffold( - backgroundColor: Colors.white, - body: Center( - child: Container( - height: 150, - child: SfBarcodeGenerator( - value: '051091', - showValue: true, - symbology: Code39Extended(module: 2), - ), + @override + Widget build(BuildContext context) { + return Scaffold( + backgroundColor: Colors.white, + body: Center( + child: Container( + height: 150, + child: SfBarcodeGenerator( + value: '051091', + showValue: true, + symbology: Code39Extended(module: 2), ), ), - ); - } + ), + ); } {% endhighlight %} -{% endtabs %} - ![code39 extended symbology](images/one-dimensional/code39-extended.jpg) -Like [`Code39`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/Code39-class.html), the [`Code39 Extended`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/Code39Extended-class.html) supports the [`enableCheckSum`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/Code39/enableCheckSum.html) property. +As like [`Code39`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/Code39-class.html), the [`Code39 Extended`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/Code39Extended-class.html) supports the [`enableCheckSum`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/Code39/enableCheckSum.html) property. ## Code93 -[`Code93`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/Code93-class.html) is designed to complement and enhance [`Code39`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/Code39-class.html). It represents the complete ASCII character set using a combination of two characters. It is a continuous, variable-length symbology and produces a denser code. +[`Code93`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/Code93-class.html) is designed to complement and enhance [`Code39`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/Code39-class.html). It represents the complete ASCII character set by using a combination of 2 characters. It is a continuous, variable-length symbology and produces a denser code. * Encodes character set of uppercase alphabets (A-Z), digits (0-9), and special characters such as asterisk (*), dash (-), dollar ($), percent (%), Space, dot (.), slash (/), plus (+) and so on. * The asterisk (*) is not a true encoding character, but it is the start and stop symbol for [`Code93`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/Code93-class.html) Symbology. -{% tabs %} - {% highlight dart %} - import 'package:flutter/material.dart'; - import 'package:syncfusion_flutter_barcodes/barcodes.dart'; - - void main() { - runApp(MyApp()); - } - - class MyApp extends StatelessWidget { - @override - Widget build(BuildContext context) { - return Scaffold( - backgroundColor: Colors.white, - body: Center( - child: Container( - height: 150, - child: SfBarcodeGenerator( - value: '01234567', - showValue: true, - symbology: Code93(module: 2), - ), + @override + Widget build(BuildContext context) { + return Scaffold( + backgroundColor: Colors.white, + body: Center( + child: Container( + height: 150, + child: SfBarcodeGenerator( + value: '01234567', + showValue: true, + symbology: Code93(module: 2), ), ), - ); - } + ), + ); } {% endhighlight %} -{% endtabs %} - ![code93 symbology](images/one-dimensional/code93.jpg) ## Code128 @@ -206,160 +152,108 @@ Like [`Code39`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest The [`Code128`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/Code128-class.html) symbology encodes the input symbols supported by [`Code128A`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/Code128A-class.html), [`Code128B`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/Code128B-class.html), [`Code128C`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/Code128C-class.html). The default symbology type of barcode generator is [`Code128`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/Code128-class.html) -{% tabs %} - {% highlight dart %} - import 'package:flutter/material.dart'; - import 'package:syncfusion_flutter_barcodes/barcodes.dart'; - - void main() { - runApp(MyApp()); - } - - class MyApp extends StatelessWidget { - @override - Widget build(BuildContext context) { - return Scaffold( - backgroundColor: Colors.white, - body: Center( - child: Container( - height: 150, - child: SfBarcodeGenerator( - value: 'CODE128', - showValue: true, - symbology: Code128(module: 2), - ), + @override + Widget build(BuildContext context) { + return Scaffold( + backgroundColor: Colors.white, + body: Center( + child: Container( + height: 150, + child: SfBarcodeGenerator( + value: 'CODE128', + showValue: true, + symbology: Code128(module: 2), ), ), - ); - } + ), + ); } {% endhighlight %} -{% endtabs %} - ![code128 symbology](images/one-dimensional/code128.jpg) ## Code128A [`Code128A`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/Code128A-class.html) (or Chars Set A) includes all the standard upper case U.S. alphanumeric keyboard characters and punctuation characters together with the control characters, (characters with ASCII values from 0 to 95 inclusive), and seven special characters. -{% tabs %} - {% highlight dart %} - import 'package:flutter/material.dart'; - import 'package:syncfusion_flutter_barcodes/barcodes.dart'; - - void main() { - runApp(MyApp()); - } - - class MyApp extends StatelessWidget { - @override - Widget build(BuildContext context) { - return Scaffold( - backgroundColor: Colors.white, - body: Center( - child: Container( - height: 150, - child: SfBarcodeGenerator( - value: 'CODE128A', - showValue: true, - symbology: Code128A(module: 2), - ), + @override + Widget build(BuildContext context) { + return Scaffold( + backgroundColor: Colors.white, + body: Center( + child: Container( + height: 150, + child: SfBarcodeGenerator( + value: 'CODE128A', + showValue: true, + symbology: Code128A(module: 2), ), ), - ); - } + ), + ); } {% endhighlight %} -{% endtabs %} - ![code128A symbology](images/one-dimensional/code128A.jpg) ## Code128B [`Code128B`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/Code128B-class.html) (or Chars Set B) includes all the standard upper case alphanumeric keyboard characters and punctuation characters together with lower case alphabetic characters (characters with ASCII values from 32 to 127 inclusive), and seven special characters. -{% tabs %} - {% highlight dart %} - import 'package:flutter/material.dart'; - import 'package:syncfusion_flutter_barcodes/barcodes.dart'; - - void main() { - runApp(MyApp()); - } - - class MyApp extends StatelessWidget { - @override - Widget build(BuildContext context) { - return Scaffold( - backgroundColor: Colors.white, - body: Center( - child: Container( - height: 150, - child: SfBarcodeGenerator( - value: 'CODE128B', - showValue: true, - symbology: Code128B(module: 2), - ), + @override + Widget build(BuildContext context) { + return Scaffold( + backgroundColor: Colors.white, + body: Center( + child: Container( + height: 150, + child: SfBarcodeGenerator( + value: 'CODE128B', + showValue: true, + symbology: Code128B(module: 2), ), ), - ); - } + ), + ); } {% endhighlight %} -{% endtabs %} - ![code128B symbology](images/one-dimensional/code128B.jpg) ## Code128C -[`Code128C`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/Code128C-class.html) (or Chars Set C) includes a set of 100 digit pairs from 00 to 99 inclusive, as well as three special characters. This allows numeric data to be encoded as two data digits per symbol character, effectively twice the density of standard data. - -{% tabs %} +[`Code128C`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/Code128C-class.html) (or Chars Set C) includes a set of 100 digit pairs from 00 to 99 inclusive, as well as three special characters. This allows numeric data to be encoded as two data digits per symbol character effectively twice the density of standard data. {% highlight dart %} - import 'package:flutter/material.dart'; - import 'package:syncfusion_flutter_barcodes/barcodes.dart'; - - void main() { - runApp(MyApp()); - } - - class MyApp extends StatelessWidget { - @override - Widget build(BuildContext context) { - return Scaffold( - backgroundColor: Colors.white, - body: Center( - child: Container( - height: 150, - child: SfBarcodeGenerator( - value: '1234567890', - showValue: true, - symbology: Code128C(module: 2), - ), + @override + Widget build(BuildContext context) { + return Scaffold( + backgroundColor: Colors.white, + body: Center( + child: Container( + height: 150, + child: SfBarcodeGenerator( + value: '1234567890', + showValue: true, + symbology: Code128C(module: 2), ), ), - ); - } + ), + ); } {% endhighlight %} -{% endtabs %} - ![code128C symbology](images/one-dimensional/code128c.jpg) **Code 128 Special characters** @@ -372,166 +266,114 @@ The last seven characters of Code Sets A and B (character values 96 - 102) and t * This type is mainly used for worldwide retail. -{% tabs %} - {% highlight dart %} - import 'package:flutter/material.dart'; - import 'package:syncfusion_flutter_barcodes/barcodes.dart'; - - void main() { - runApp(MyApp()); - } - - class MyApp extends StatelessWidget { - @override - Widget build(BuildContext context) { - return Scaffold( - backgroundColor: Colors.white, - body: Center( - child: Container( - height: 150, - child: SfBarcodeGenerator( - value: '72527273070', - showValue: true, - symbology: UPCA(module: 2), - ), + @override + Widget build(BuildContext context) { + return Scaffold( + backgroundColor: Colors.white, + body: Center( + child: Container( + height: 150, + child: SfBarcodeGenerator( + value: '72527273070', + showValue: true, + symbology: UPCA(module: 2), ), ), - ); - } + ), + ); } {% endhighlight %} -{% endtabs %} - ![UPCA symbology](images/one-dimensional/upca-symbology.png) ## UPC-E -As like [`UPC-A`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/UPCA-class.html), the [`UPC-E`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/UPCE-class.html) symbology supports only numeric character. It is a zero suppressed version of [`UPC-A`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/UPCA-class.html) symbology where it uses only 6 digits of product code and does not use the middle guard. By default, the number system (0) is added at the front and check digit at the end along with 6 digits of the input product code. +As like [`UPC-A`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/UPCA-class.html), the [`UPC-E`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/UPCE-class.html) symbology supports only numeric character. It is a zero suppressed version of [`UPC-A`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/UPCA-class.html) symbology where it uses only 6 digits of product code and does not use the middle guard. By default, the number system(0) will add at the front and check digit at the end along with 6 digits of the input product code. * This type is mainly used on products with very small packaging details. -{% tabs %} - {% highlight dart %} - import 'package:flutter/material.dart'; - import 'package:syncfusion_flutter_barcodes/barcodes.dart'; - - void main() { - runApp(MyApp()); - } - - class MyApp extends StatelessWidget { - @override - Widget build(BuildContext context) { - return Scaffold( - backgroundColor: Colors.white, - body: Center( - child: Container( - height: 150, - child: SfBarcodeGenerator( - value: '310194', - showValue: true, - symbology: UPCE(module: 2), - ), + @override + Widget build(BuildContext context) { + return Scaffold( + backgroundColor: Colors.white, + body: Center( + child: Container( + height: 150, + child: SfBarcodeGenerator( + value: '310194', + showValue: true, + symbology: UPCE(module: 2), ), ), - ); - } + ), + ); } {% endhighlight %} -{% endtabs %} - ![UPCE symbology](images/one-dimensional/upce.png) ## EAN-13 -[`EAN-13`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/EAN13-class.html), based on the UPC-A standard. Like [`UPC-A`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/UPCA-class.html), it supports only the numeric character. It encodes the 12 digits of input data with the check digit at its end. - -* The difference between the [`UPCA`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/UPCA-class.html) and [`EAN13`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/EAN13-class.html) is that number system used in the [`EAN13`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/EAN13-class.html) is 2 digits ranges from 00 to 99 whereas the number system used in [`UPCA`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/UPCA-class.html) is single digits range from 0 to 9. +[`EAN-13`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/EAN13-class.html), based on the UPC-A standard. As like [`UPC-A`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/UPCA-class.html), it supports only the numeric character. It encodes the 12 digits of input data with the check digit at its end. -{% tabs %} +* This difference between the [`UPCA`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/UPCA-class.html) and [`EAN13`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/EAN13-class.html) is that number system used in the [`EAN13`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/EAN13-class.html) is 2 digits ranges from 00 to 99 whereas the number system used in [`UPCA`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/UPCA-class.html) is single digits range from 0 to 9. {% highlight dart %} - import 'package:flutter/material.dart'; - import 'package:syncfusion_flutter_barcodes/barcodes.dart'; - - void main() { - runApp(MyApp()); - } - - class MyApp extends StatelessWidget { - @override - Widget build(BuildContext context) { - return Scaffold( - backgroundColor: Colors.white, - body: Center( - child: Container( - height: 150, - child: SfBarcodeGenerator( - value: '9735940564824', - showValue: true, - symbology: EAN13(module: 2), - ), + @override + Widget build(BuildContext context) { + return Scaffold( + backgroundColor: Colors.white, + body: Center( + child: Container( + height: 150, + child: SfBarcodeGenerator( + value: '9735940564824', + showValue: true, + symbology: EAN13(module: 2), ), ), - ); - } + ), + ); } {% endhighlight %} -{% endtabs %} - ![EAN13 symbology](images/one-dimensional/ean-13.png) ## EAN-8 [`EAN8`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/EAN8-class.html) is equivalent to the [`UPCE`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/UPCE-class.html) for small packaging details. It is shorter than the [`EAN13`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/EAN13-class.html) barcode and it is longer than [`UPCE`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/UPCE-class.html). -Like [`EAN13`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/EAN13-class.html) and [`UPCE`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/UPCE-class.html), it encodes 7 digits of numeric data with the check digit at its end. - -{% tabs %} +As like [`EAN13`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/EAN13-class.html) and [`UPCE`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/UPCE-class.html), it encodes 7 digits of numeric data with the check digit at its end. {% highlight dart %} - import 'package:flutter/material.dart'; - import 'package:syncfusion_flutter_barcodes/barcodes.dart'; - - void main() { - runApp(MyApp()); - } - - class MyApp extends StatelessWidget { - @override - Widget build(BuildContext context) { - return Scaffold( - backgroundColor: Colors.white, - body: Center( - child: Container( - height: 150, - child: SfBarcodeGenerator( - value: '11223344', - showValue: true, - symbology: EAN8(module: 2), - ), + @override + Widget build(BuildContext context) { + return Scaffold( + backgroundColor: Colors.white, + body: Center( + child: Container( + height: 150, + child: SfBarcodeGenerator( + value: '11223344', + showValue: true, + symbology: EAN8(module: 2), ), ), - ); - } + ), + ); } {% endhighlight %} -{% endtabs %} - ![EAN8 symbology](images/one-dimensional/ean-8.png) -All the one-dimensional symbologies support the [`module`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/Symbology/module.html) property. The property is used to define the size of the smallest line or dot of the barcode. If this property is not set, the size of the smallest line of the barcode is calculated based on the available size and total number of bars for the provided input value. \ No newline at end of file +All the one dimensional symbology supports the [`module`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/Symbology/module.html) property. The property is used to define the size of the smallest line or dot of the barcode. If this property is not set, the size of the smallest line of the barcode is calculated based on the available size and total number of bars for the provided input value. \ No newline at end of file diff --git a/chart-sdk/flutter/barcode-generator/overview.md b/chart-sdk/flutter/barcode-generator/overview.md index e0ba159cc..af106d088 100644 --- a/chart-sdk/flutter/barcode-generator/overview.md +++ b/chart-sdk/flutter/barcode-generator/overview.md @@ -1,18 +1,16 @@ --- layout: post -title: About Flutter Barcode Generator | Syncfusion® -description: Learn about the Syncfusion® Flutter Barcodes (SfBarcodeGenerator), its features, barcode symbologies, and customization options. +title: About Flutter Barcodes widget | Syncfusion +description: Learn here all about introduction of Syncfusion Flutter Barcodes (SfBarcodeGenerator) widget, its features, and more. platform: chart-sdk control: SfBarcodeGenerator documentation: ug --- -# About Flutter Barcode Generator (SfBarcodeGenerator) +# Flutter Barcodes (SfBarcodeGenerator) Overview The Syncfusion® Flutter Barcode Generator is a data visualization widget designed to generate and display data in a machine-readable format. It offers an efficient way to encode text using supported symbology types. -To get started with the Flutter Barcode Generator, refer to the [Getting Started with Flutter Barcodes](https://help.syncfusion.com/chart-sdk/flutter/barcode-generator/getting-started) documentation. - ![Overview flutter barcode](images/getting-started/overview1.jpg) ![Overview flutter QR Code](images/getting-started/getting_started3.jpg) @@ -26,7 +24,7 @@ To quickly get started with our Flutter Barcode Generator widget, watch the tuto * **One-dimensional barcodes** - The Barcode Generator supports different one-dimensional barcode symbologies such as [`Code128`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/Code128-class.html), [`EAN8`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/EAN8-class.html), [`EAN13`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/EAN13-class.html), [`UPC-A`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/UPCA-class.html), [`UPC-E`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/UPCE-class.html), [`Code39`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/Code39-class.html), [`Code39 Extended`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/Code39Extended-class.html), [`Code93`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/Code93-class.html), and [`Codabar`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/Codabar-class.html). * **Two-dimensional barcode** - Barcode Generator supports popular [`QR code`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/QRCode-class.html) and [`Data Matrix`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/DataMatrix-class.html). -* **Barcode customization** - Customize the visual appearance of barcodes using the [`backgroundColor`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/SfBarcodeGenerator/backgroundColor.html) and [`barColor`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/SfBarcodeGenerator/barColor.html) properties and adjust the size of smallest line or dot of the code using the [`module`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/Symbology/module.html) property. +* **Barcode customization** - Customize the visual appearance of barcodes using the backgroundColor and barColor properties and adjust the size of smallest line or dot of the code using the [`module`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/Symbology/module.html) property. * **Text customization** - Configure to display the barcode value and customize the position and style of the barcode text. -You can get the barcode sample in the following link: [`Flutter Barcode Examples`](https://github.com/syncfusion/flutter-examples/tree/master/lib/samples/barcodes). \ No newline at end of file +You can get the sample in the following link: [`Flutter Barcodes`](https://github.com/syncfusion/flutter-examples). \ No newline at end of file diff --git a/chart-sdk/flutter/barcode-generator/two-dimensional.md b/chart-sdk/flutter/barcode-generator/two-dimensional.md index 3be4daf6c..0c959304a 100644 --- a/chart-sdk/flutter/barcode-generator/two-dimensional.md +++ b/chart-sdk/flutter/barcode-generator/two-dimensional.md @@ -1,17 +1,15 @@ --- layout: post -title: Two-Dimensional Symbology in Flutter Barcodes | Syncfusion® -description: Learn about two-dimensional symbology support in Syncfusion® Flutter Barcodes (SfBarcodeGenerator), including QR Code, Data Matrix, and PDF417. +title: Two-dimensional symbology in Flutter Barcodes widget | Syncfusion +description: Learn here all about Two-dimensional symbology feature of Syncfusion Flutter Barcodes (SfBarcodeGenerator) widget and more. platform: chart-sdk control: SfBarcodeGenerator documentation: ug --- -# Two-Dimensional Symbology in Flutter Barcodes (SfBarcodeGenerator) +# Two-dimensional symbology in Flutter Barcodes (SfBarcodeGenerator) -To get started with the Flutter Barcode Generator and set up the package, refer to the [Getting Started with Flutter Barcodes](https://help.syncfusion.com/chart-sdk/flutter/barcode-generator/getting-started) documentation. - -Two-dimensional barcode is a way to represent information by using the two-dimensional approach. It is similar to one-dimensional barcode, but can represent more data per unit area. The barcode generator control supports the following two-dimensional symbology: +Two dimensional Barcode is a way to represent information by using the two-dimensional approach. It is similar to one dimensional Barcode, but can represent more data per unit area. The barcode generator control supports the following two dimensional symbology: * [`QR Code`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/QRCode-class.html) * [`Data Matrix`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/DataMatrix-class.html) @@ -24,41 +22,28 @@ A [`QR Code`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/b * Each version has its own capacity. By default, the barcode control automatically sets the version according to the length of the input text. * The QR Barcodes are designed for industrial uses and also commonly used in consumer advertising. -{% tabs %} - {% highlight dart %} - import 'package:flutter/material.dart'; - import 'package:syncfusion_flutter_barcodes/barcodes.dart'; - - void main() { - runApp(MyApp()); - } - - class MyApp extends StatelessWidget { - @override - Widget build(BuildContext context) { - return Scaffold( - backgroundColor: Colors.white, - body: Center( - child: Container( - height: 300, - width: 300, - child: SfBarcodeGenerator( - value: 'www.syncfusion.com', - showValue: true, - symbology: QRCode(), - ), + @override + Widget build(BuildContext context) { + return Scaffold( + backgroundColor: Colors.white, + body: Center( + child: Container( + height: 300, + width: 300, + child: SfBarcodeGenerator( + value: 'www.syncfusion.com', + showValue: true, + symbology: QRCode(), ), ), - ); - } + ), + ); } {% endhighlight %} -{% endtabs %} - ![qr-code](images/two-dimensional/qr-code.jpg) The data that can be stored in the QR code depends upon the following property: @@ -68,102 +53,76 @@ The data that can be stored in the QR code depends upon the following property: * [`Input mode`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/QRCode/inputMode.html) -Like one-dimensional symbology, the two-dimensional symbology also supports the [`module`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/Symbology/module.html) property. +As like one dimensional symbology, the two dimensional symbology also supports the [`module`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/Symbology/module.html) property. The property is used to define the size of the smallest line or dot of the barcode. If this property is not set, the size of the smallest dot of the barcode is calculated based on the available size. **Error correction level** The [`errorCorrectionLevel`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/QRCode/errorCorrectionLevel.html) property employs error correction to generate a series of error correction code words that are added to the data code word sequence in order to enable the symbol to withstand damage without loss of data. By default, its value is set as high. -Low - It recovers the data up to 7% -Medium - It recovers the data up to 15% -Quartile - It recovers the data up to 25% -High - It recovers the data up to 30% - -{% tabs %} +Low - it recovers the data up to 7% +Medium - it recovers the data up to 15% +Quartile - it recovers the data up to 25% +High - it recovers the data up to 30% {% highlight dart %} - import 'package:flutter/material.dart'; - import 'package:syncfusion_flutter_barcodes/barcodes.dart'; - - void main() { - runApp(MyApp()); - } - - class MyApp extends StatelessWidget { - @override - Widget build(BuildContext context) { - return Scaffold( - backgroundColor: Colors.white, - body: Center( - child: Container( - height: 300, - width: 300, - child: SfBarcodeGenerator( - value: 'www.syncfusion.com', - showValue: true, - symbology: QRCode(errorCorrectionLevel: ErrorCorrectionLevel.high), - ), + @override + Widget build(BuildContext context) { + return Scaffold( + backgroundColor: Colors.white, + body: Center( + child: Container( + height: 300, + width: 300, + child: SfBarcodeGenerator( + value: 'www.syncfusion.com', + showValue: true, + symbology: QRCode(errorCorrectionLevel: ErrorCorrectionLevel.high), ), ), - ); - } + ), + ); } {% endhighlight %} -{% endtabs %} - ![error correction level](images/two-dimensional/qr-code.jpg) The data can be read from the damaged image based on the error correction level, -![error correction level](images/two-dimensional/error-correction.jpg) +![eror correction level](images/two-dimensional/error-correction.jpg) **Input mode** -The [`inputMode`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/QRCode/inputMode.html) property allows you to select a specific set of input characters. You may select the most suitable input mode. By default, its value is set as [`binaryMode`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/QRInputMode.html). - -Numeric - supports from 0 to 9 -AlphaNumeric - supports 0 to 9, A to Z, space, $, %, *, +, -,., /, : -Binary - supports byte data (0-255) +The [`inputMode`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/QRCode/inputMode.html) property allows you to select a specific set of input characters. You may select the most suitable input mode. By default, its value is set as [`binaryMode`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/QRInputMode-class.html). -{% tabs %} +numeric - supports from 0 to 9 +alphaNumeric - supports 0 to 9, A to Z, space, $, %, *, +, -,., /, : +binary - supports Shift JIS characters {% highlight dart %} - import 'package:flutter/material.dart'; - import 'package:syncfusion_flutter_barcodes/barcodes.dart'; - - void main() { - runApp(MyApp()); - } - - class MyApp extends StatelessWidget { - @override - Widget build(BuildContext context) { - return Scaffold( - backgroundColor: Colors.white, - body: Center( - child: Container( - height: 300, - width: 300, - child: SfBarcodeGenerator( - value: '1263438892737643894930872', - showValue: true, - symbology: QRCode(inputMode: QRInputMode.numeric), - ), + @override + Widget build(BuildContext context) { + return Scaffold( + backgroundColor: Colors.white, + body: Center( + child: Container( + height: 300, + width: 300, + child: SfBarcodeGenerator( + value: '1263438892737643894930872', + showValue: true, + symbology: QRCode(inputMode: QRInputMode.numeric), ), ), - ); - } + ), + ); } {% endhighlight %} -{% endtabs %} - ![input mode](images/two-dimensional/input-mode.jpg) **QR code version** @@ -174,85 +133,59 @@ The QR Code uses version from 1 to 40. Version 1 measures 21 modules x 21 module The number of modules increases in steps of 4 modules per side up to Version 40 that measures 177 modules x 177 modules. -{% tabs %} - {% highlight dart %} - import 'package:flutter/material.dart'; - import 'package:syncfusion_flutter_barcodes/barcodes.dart'; - - void main() { - runApp(MyApp()); - } - - class MyApp extends StatelessWidget { - @override - Widget build(BuildContext context) { - return Scaffold( - backgroundColor: Colors.white, - body: Center( - child: Container( - height: 300, - width: 300, - child: SfBarcodeGenerator( - value: 'www.syncfusion.com', - showValue: true, - symbology: QRCode(codeVersion: QRCodeVersion.version09), - ), + @override + Widget build(BuildContext context) { + return Scaffold( + backgroundColor: Colors.white, + body: Center( + child: Container( + height: 300, + width: 300, + child: SfBarcodeGenerator( + value: 'www.syncfusion.com', + showValue: true, + symbology: QRCode(codeVersion: QRCodeVersion.version09), ), ), - ); - } + ), + ); } {% endhighlight %} -{% endtabs %} - ![QR version](images/two-dimensional/version09.jpg) ## Data Matrix -[`Data Matrix`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/DataMatrix-class.html) barcode is a two-dimensional barcode that consists of a grid of dark and light dots or blocks forming a square or rectangular symbol. The data encoded in the barcode can either be numbers or alphanumeric. They are widely used in printed media such as labels and letters. You can read it easily with the help of a barcode reader and mobile phones. - -{% tabs %} +[`Data Matrix`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/DataMatrix-class.html) barcode is a two dimensional barcode that consists of a grid of dark and light dots or blocks forming a square or rectangular symbol. The data encoded in the barcode can either be numbers or alphanumeric. They are widely used in printed media such as labels and letters. You can read it easily with the help of a barcode reader and mobile phones. {% highlight dart %} - import 'package:flutter/material.dart'; - import 'package:syncfusion_flutter_barcodes/barcodes.dart'; - - void main() { - runApp(MyApp()); - } - - class MyApp extends StatelessWidget { - @override - Widget build(BuildContext context) { - return Scaffold( - backgroundColor: Colors.white, - body: Center( - child: Container( - height: 300, - width: 300, - child: SfBarcodeGenerator( - value: 'www.syncfusion.com', - showValue: true, - symbology: DataMatrix(), - ), + @override + Widget build(BuildContext context) { + return Scaffold( + backgroundColor: Colors.white, + body: Center( + child: Container( + height: 300, + width: 300, + child: SfBarcodeGenerator( + value: 'www.syncfusion.com', + showValue: true, + symbology: DataMatrix(), ), ), - ); - } + ), + ); } {% endhighlight %} -{% endtabs %} - ![Data matrix](images/two-dimensional/data-matrix.png) -**Data Matrix format** +**Data matrix format** Length - Data Matrix can store up to 2335 alphanumeric characters or 3116 numbers from the ASCII range. @@ -264,18 +197,18 @@ Type - Data Matrix supports the following data types, The [`encoded data size`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/DataMatrix/dataMatrixSize.html) depends upon the length and data type of provided input values. -**Encoding methods** +**Encoding Methods** -Data Matrix supports the following [`encoding types`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/DataMatrix/encoding.html), +Data Matrix supports following [`encoding types`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/DataMatrix/encoding.html), * Auto * ASCII * ASCIINumeric * Base256 -By default, the encoding type is `auto`. +By default, the encoding types is `auto`. -When the encoding type is `ASCII`, the code word will be calculated as follows, +When the encoding type is `ASCII`, the code word will be calculated as like follows, Code word = ASCII value + 1. @@ -285,7 +218,7 @@ When the encoding type is `base256`, then the first code word will be calculated The `base256` value ranges from 128 to 255. -When the encoding type is `ASCIINumeric`, then the code word will be calculated as follows, +When the encoding type is `ASCIINumeric`, then the code word will be calculated as like follows, Code word = numerical value pair + 130. diff --git a/chart-sdk/flutter/cartesian-chart/accessibility.md b/chart-sdk/flutter/cartesian-chart/accessibility.md index f073c67b8..ff6859c40 100644 --- a/chart-sdk/flutter/cartesian-chart/accessibility.md +++ b/chart-sdk/flutter/cartesian-chart/accessibility.md @@ -1,54 +1,54 @@ --- layout: post -title: Accessibility in Flutter Cartesian Chart | Syncfusion® -description: The accessibility support in Flutter Cartesian Chart offers sufficient contrast, large fonts, and tappable targets for an inclusive user experience. +title: Accessibility in Flutter Cartesian Charts widget | Syncfusion +description: Learn here all about Accessibility feature of Syncfusion Flutter Cartesian Charts (SfCartesianChart) widget and more. platform: chart-sdk control: Chart documentation: ug --- -# Accessibility in Flutter Cartesian Chart +# Accessibility in Flutter Cartesian Charts (SfCartesianChart) ## Sufficient contrast The [`SfCartesianChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCartesianChart-class.html) [`theming`](https://help.syncfusion.com/flutter/themes) support offers a consistent and standardized look, as well as the ability to set the colors for all UI elements. -The colors can be customized for the following chart elements. -* [Chart title](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/chart-title) -* [Axis title](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/axis-customization#axis-title) -* [Axis label](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/axis-customization#axis-label-customization) -* [Series color palette](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#color-palette) -* [Color mapping for data points](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#color-mapping-for-data-points) -* [Gradient fill](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#gradient-fill) -* [Data label](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/marker-datalabel#data-label) -* [Legend title](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/legend#legend-title) -* [Legend item text](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/legend#customizing-legend) -* [Series tooltip](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/tooltip#customizing-the-appearance) -* [Trackball tooltip](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/trackball-crosshair#trackball) -* [Crosshair tooltip](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/trackball-crosshair#show-axis-tooltip) -* [Plot band](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/axis-customization#plot-bands) -* [Empty points data](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#empty-point-customization) -* [Selected data points](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/selection#customizing-the-segments) -* [Selection zooming](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/zoom-pan#selection-zooming) +The customization of colors can be done for the following chart elements. +* [Chart title](https://help.syncfusion.com/flutter/cartesian-charts/chart-title) +* [Axis title](https://help.syncfusion.com/flutter/cartesian-charts/axis-customization#axis-title) +* [Axis label](https://help.syncfusion.com/flutter/cartesian-charts/axis-customization#axis-label-customization) +* [Series color palette](https://help.syncfusion.com/flutter/cartesian-charts/series-customization#color-palette) +* [Color mapping for data points](https://help.syncfusion.com/flutter/cartesian-charts/series-customization#color-mapping-for-data-points) +* [Gradient fill](https://help.syncfusion.com/flutter/cartesian-charts/series-customization#gradient-fill) +* [Data label](https://help.syncfusion.com/flutter/cartesian-charts/marker-datalabel#data-label) +* [Legend title](https://help.syncfusion.com/flutter/cartesian-charts/legend#legend-title) +* [Legend item text](https://help.syncfusion.com/flutter/cartesian-charts/legend#customizing-legend) +* [Series tooltip](https://help.syncfusion.com/flutter/cartesian-charts/tooltip#customizing-the-appearance) +* [Trackball tooltip](https://help.syncfusion.com/flutter/cartesian-charts/trackball-crosshair#trackball) +* [Crosshair tooltip](https://help.syncfusion.com/flutter/cartesian-charts/trackball-crosshair#show-axis-tooltip) +* [Plot band](https://help.syncfusion.com/flutter/cartesian-charts/axis-customization#plot-bands) +* [Empty points data](https://help.syncfusion.com/flutter/cartesian-charts/series-customization#empty-point-customization) +* [Selected data points](https://help.syncfusion.com/flutter/cartesian-charts/selection#customizing-the-segments) +* [Selection zooming](https://help.syncfusion.com/flutter/cartesian-charts/zoom-pan#selection-zooming) ## Large fonts -The [`SfCartesianChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCartesianChart-class.html) font size can be adjusted automatically based on device settings, and the font size is scaled based on the [`MediaQueryData.textScaler`](https://api.flutter.dev/flutter/widgets/MediaQueryData/textScaler.html). It also allows you to change the font size of all elements in the Cartesian chart. -* [Chart title](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/chart-title) -* [Axis title](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/axis-customization#axis-title) -* [Axis label](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/axis-customization#axis-label-customization) -* [Data label](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/marker-datalabel#data-label) -* [Legend title](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/legend#legend-title) -* [Legend item text](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/legend#customizing-legend) -* [Series tooltip](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/tooltip#customizing-the-appearance) -* [Trackball tooltip](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/trackball-crosshair#trackball) -* [Crosshair tooltip](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/trackball-crosshair#show-axis-tooltip) -* [Plot band text](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/axis-customization#plot-bands) +The [`SfCartesianChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCartesianChart-class.html) font size can be adjusted automatically based on device settings and the font size scaled based on the [`MediaQueryData.textScaler`](https://api.flutter.dev/flutter/widgets/MediaQueryData/textScaler.html). It also allows you to change the font size of all elements in Cartesian chart. +* [Chart title](https://help.syncfusion.com/flutter/cartesian-charts/chart-title) +* [Axis title](https://help.syncfusion.com/flutter/cartesian-charts/axis-customization#axis-title) +* [Axis label](https://help.syncfusion.com/flutter/cartesian-charts/axis-customization#axis-label-customization) +* [Data label](https://help.syncfusion.com/flutter/cartesian-charts/marker-datalabel#data-label) +* [Legend title](https://help.syncfusion.com/flutter/cartesian-charts/legend#legend-title) +* [Legend item text](https://help.syncfusion.com/flutter/cartesian-charts/legend#customizing-legend) +* [Series tooltip](https://help.syncfusion.com/flutter/cartesian-charts/tooltip#customizing-the-appearance) +* [Trackball tooltip](https://help.syncfusion.com/flutter/cartesian-charts/trackball-crosshair#trackball) +* [Crosshair tooltip](https://help.syncfusion.com/flutter/cartesian-charts/trackball-crosshair#show-axis-tooltip) +* [Plot band text](https://help.syncfusion.com/flutter/cartesian-charts/axis-customization#plot-bands) ## Easily tappable targets -The [`SfCartesianChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCartesianChart-class.html) provides callback support to notify when the essential elements in the chart are tapped. -* [Axis label](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/callbacks#onaxislabeltapped) -* [Data points](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/callbacks#onpointtapped) -* [Data label](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/callbacks#ondatalabeltapped) -* [Legend](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/callbacks#onlegendtapped) +The [`SfCartesianChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCartesianChart-class.html) provides callback support to notify when tapping on the essential elements in the chart. +* [Axis label](https://help.syncfusion.com/flutter/cartesian-charts/callbacks#onaxislabeltapped) +* [Data points](https://help.syncfusion.com/flutter/cartesian-charts/callbacks#onpointtapped) +* [Data label](https://help.syncfusion.com/flutter/cartesian-charts/callbacks#ondatalabeltapped) +* [Legend](https://help.syncfusion.com/flutter/cartesian-charts/callbacks#onlegendtapped) diff --git a/chart-sdk/flutter/cartesian-chart/annotations.md b/chart-sdk/flutter/cartesian-chart/annotations.md index 7e9899da2..f9a1719f8 100644 --- a/chart-sdk/flutter/cartesian-chart/annotations.md +++ b/chart-sdk/flutter/cartesian-chart/annotations.md @@ -1,15 +1,15 @@ --- layout: post -title: Annotation in Flutter Cartesian Chart | Syncfusion® -description: The annotation support in Flutter Cartesian Chart offers custom content placement within the chart area to highlight insights and enhance visualization. +title: Annotation in Flutter Cartesian Charts | Syncfusion +description: Step-by-step guide to control annotations in Syncfusion Flutter Cartesian Charts (SfCartesianChart)—learn to add, style annotations, and more key features. platform: chart-sdk control: Chart documentation: ug --- -# Annotation in Flutter Cartesian Chart +# Flutter Cartesian Charts Annotation (SfCartesianChart) -The chart supports annotations, which allow you to mark a specific area of interest in the chart area. You can add custom widgets using this annotation feature as shown below. +Chart supports annotations which, allows you to mark the specific area of interest in the chart area. You can add custom widgets using this annotations feature as depicted below. {% tabs %} {% highlight dart %} @@ -47,11 +47,11 @@ The chart supports annotations, which allow you to mark a specific area of inter ## Positioning the annotation -The [`x`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CartesianChartAnnotation/x.html) and [`y`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CartesianChartAnnotation/y.html) values can be specified with axis units, pixel units, or percentage units, and these can be identified by using the [`coordinateUnit`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CartesianChartAnnotation/coordinateUnit.html) property. When [`CoordinateUnit.logicalPixel`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CoordinateUnit.html#logicalPixel) is specified, the annotation will be placed with respect to pixel values. When [`CoordinateUnit.point`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CoordinateUnit.html#point) is specified, the annotation will be placed with respect to series point values. +The [`x`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CartesianChartAnnotation/x.html) and [`y`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CartesianChartAnnotation/y.html) values can be specified with axis units or pixel units or percentage units, and these can be identified by using [`coordinateUnit`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CartesianChartAnnotation/coordinateUnit.html) property. When logicalPixel is specified, the annotation will be placed with respect to pixel values. When point is specified, the annotation will be placed with respect to series point values. **Positioning based on coordinateUnit as point** -To position the annotation based on the axis, set the [`x`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CartesianChartAnnotation/x.html) and [`y`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CartesianChartAnnotation/y.html) properties based on axis range values, and set the [`coordinateUnit`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CartesianChartAnnotation/coordinateUnit.html) value to [`CoordinateUnit.point`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CoordinateUnit.html#point). +To position the annotation based on axis, set the [`x`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CartesianChartAnnotation/x.html) and [`y`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CartesianChartAnnotation/y.html) properties based on axis range values, and set the [`coordinateUnit`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CartesianChartAnnotation/coordinateUnit.html) value as [`CoordinateUnit.point`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CoordinateUnit.html#point). {% tabs %} @@ -88,7 +88,7 @@ To position the annotation based on the axis, set the [`x`](https://pub.dev/docu **Positioning based on coordinateUnit as pixels** -To position the annotation based on pixel values, set the [`coordinateUnit`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CartesianChartAnnotation/coordinateUnit.html) value to [`CoordinateUnit.logicalPixel`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CoordinateUnit.html#logicalPixel), and set the pixel values in the [`x`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CartesianChartAnnotation/x.html) and [`y`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CartesianChartAnnotation/y.html) properties of the annotation as shown in the following code snippet. +To position the annotation based on the pixel values, set the [`CoordinateUnit`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CartesianChartAnnotation/coordinateUnit.html) value as [`CoordinateUnit.logicalPixel`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CoordinateUnit.html#logicalPixel), and the pixel values in [`x`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CartesianChartAnnotation/x.html) and [`y`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CartesianChartAnnotation/y.html) properties of annotation as shown in the following code snippet. {% tabs %} {% highlight dart hl_lines="15" %} @@ -126,7 +126,7 @@ To position the annotation based on pixel values, set the [`coordinateUnit`](htt **Positioning based on coordinateUnit as percentage** -To position the annotation based on percentage values, set the [`coordinateUnit`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CartesianChartAnnotation/coordinateUnit.html) value to [`CoordinateUnit.percentage`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CoordinateUnit.html#percentage), and set the percentage values in the [`x`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CartesianChartAnnotation/x.html) and [`y`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CartesianChartAnnotation/y.html) properties of the annotation as shown in the following code snippet. +To position the annotation based on the percentage values, set the [`CoordinateUnit`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CartesianChartAnnotation/coordinateUnit.html) value as [`CoordinateUnit.percentage`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CoordinateUnit.html#percentage), and the percentage values in [`x`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CartesianChartAnnotation/x.html) and [`y`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CartesianChartAnnotation/y.html) properties of annotation as shown in the following code snippet. {% tabs %} @@ -183,7 +183,7 @@ To position the annotation based on percentage values, set the [`coordinateUnit` **Positioning based on region** -Annotations can be placed with respect to either [`AnnotationRegion.plotArea`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/AnnotationRegion.html#plotArea) or [`AnnotationRegion.chart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/AnnotationRegion.html#chart) by using the [`region`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CartesianChartAnnotation/region.html) property. +Annotations can be placed with respect to either [`AnnotationRegion.plotArea`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/AnnotationRegion.html#plotArea) or [`AnnotationRegion.chart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/AnnotationRegion.html#chart) using [`region`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CartesianChartAnnotation/region.html) property. {% tabs %} {% highlight dart hl_lines="13" %} @@ -218,9 +218,9 @@ Annotations can be placed with respect to either [`AnnotationRegion.plotArea`](h ## Alignment of annotation -[`CartesianChartAnnotation`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CartesianChartAnnotation-class.html) can be aligned to the center, near, or far using the [`horizontalAlignment`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CartesianChartAnnotation/horizontalAlignment.html) and [`verticalAlignment`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CartesianChartAnnotation/verticalAlignment.html) properties of the annotation. +[`CartesianChartAnnotation`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CartesianChartAnnotation-class.html) can be aligned to center, near and far using the [`horizontalAlignment`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CartesianChartAnnotation/horizontalAlignment.html) and [`verticalAlignment`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CartesianChartAnnotation/verticalAlignment.html) properties of annotation. -The following code example demonstrates how to set the [`horizontalAlignment`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CartesianChartAnnotation/horizontalAlignment.html) for an annotation. +The following code example demonstrates how to set the [`horizontalAlignment`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CartesianChartAnnotation/horizontalAlignment.html) for annotation {% tabs %} {% highlight dart hl_lines="17" %} @@ -256,7 +256,7 @@ The following code example demonstrates how to set the [`horizontalAlignment`](h ## Adding multiple annotations -You can add multiple annotations to the chart by adding multiple widgets to the [`annotations`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCartesianChart/annotations.html) property, as shown in the following code snippet. +You can add multiple annotations to the Chart by adding multiple widgets to the [`annotations`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCartesianChart/annotations.html) property as depicted in below code snippet. {% tabs %} {% highlight dart %} @@ -454,4 +454,4 @@ Chart supports watermark which allows you to mark the specific area of interest ![Chart with Watermark](images/annotation/watermark.png) ->**Note**: `chartData` in the above code snippets is a class type list and holds the data for binding to the chart series. Refer [Bind data source](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/getting-started#bind-data-source) topic for more details. \ No newline at end of file +>**Note**: `chartData` in the above code snippets is a class type list and holds the data for binding to the chart series. Refer [Bind data source](https://help.syncfusion.com/flutter/cartesian-charts/getting-started#bind-data-source) topic for more details. \ No newline at end of file diff --git a/chart-sdk/flutter/cartesian-chart/axis-customization.md b/chart-sdk/flutter/cartesian-chart/axis-customization.md index 58abbe6f6..4ff374a9f 100644 --- a/chart-sdk/flutter/cartesian-chart/axis-customization.md +++ b/chart-sdk/flutter/cartesian-chart/axis-customization.md @@ -1,21 +1,21 @@ --- layout: post -title: Axis Customization in Flutter Cartesian Chart | Syncfusion® -description: The axis customization support in Flutter Cartesian Chart offers control over axis labels, ticks, ranges, and intervals for tailored data visualization. +title: Axis Customization in Flutter Cartesian Charts | Syncfusion +description: Step-by-step guide to control axes in Syncfusion Flutter Cartesian Charts—configure axis titles, labels, grid lines, and key features. platform: chart-sdk control: Cartesian Charts documentation: ug --- -# Axis Customization in Flutter Cartesian Chart +# Flutter Cartesian Charts Axis Customization (SfCartesianChart) ## Common axis features -Customization of features such as axis titles, labels, grid lines, and tick lines is common to all axes. Each of these features is explained in this section. +Customization of features such as axis title, labels, grid lines and tick lines are common to all the axes. Each of these features are explained in this section. ### Axis Visibility -Axis visibility can be controlled using the [`isVisible`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartAxis/isVisible.html) property of the axis. The default value of [`isVisible`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartAxis/isVisible.html) is `true`. When axis visibility is set to false, the axis elements such as ticks, labels, and title will be hidden. +Axis visibility can be controlled using the [`isVisible`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartAxis/isVisible.html) property of axis. Default value of [`isVisible`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartAxis/isVisible.html) is `true`. When the axis visibility is set to false, then the axis elements like ticks, labels, title, etc will be hidden. {% tabs %} {% highlight dart hl_lines="9" %} @@ -43,7 +43,7 @@ Axis visibility can be controlled using the [`isVisible`](https://pub.dev/docume ### Axis title -The [`title`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartAxis/title.html) property of the axis provides options to customize the text and font of the axis title. The axis does not display a title by default. The title can be customized using the following properties, +The [`title`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartAxis/title.html) property in axis provides options to customize the text and font of axis title. Axis does not display title by default. The title can be customized using following properties, * [`text`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/AxisTitle/text.html) - used to set the title for axis. * [`textStyle`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/AxisTitle/textStyle.html) - used to change the text color, size, font family, font style, and font weight. @@ -87,7 +87,7 @@ The [`title`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/cha ### Axis label rotation -The [`labelRotation`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartAxis/labelRotation.html) property of the axis can be used to rotate the axis labels. The default value of the [`labelRotation`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartAxis/labelRotation.html) property is 0. +The [`labelRotation`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartAxis/labelRotation.html) property of axis can be used to rotate the axis labels position. Default value of [`labelRotation`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartAxis/labelRotation.html) property is 0. {% tabs %} {% highlight dart hl_lines="9" %} @@ -115,7 +115,7 @@ The [`labelRotation`](https://pub.dev/documentation/syncfusion_flutter_charts/la ### Axis line customization -[`SfCartesianChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCartesianChart-class.html) provides support for customizing the style of the axis line by defining the [`axisLine`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartAxis/axisLine.html) property, as shown in the following code snippet. +[`SfCartesianChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCartesianChart-class.html) provides support to customize the style of the axis line by defining the [`axisLine`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartAxis/axisLine.html) property as shown in the below code snippet. * [`color`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/AxisLine/color.html) - used to change the stroke color of axis line. * [`width`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/AxisLine/width.html) - used to change the stroke width of axis line. @@ -150,7 +150,7 @@ The [`labelRotation`](https://pub.dev/documentation/syncfusion_flutter_charts/la ### Axis label customization -The [`labelStyle`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartAxis/labelStyle.html) property of the axis provides options to customize the font of the axis label. The axis label can be customized using the following properties, +The [`labelStyle`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartAxis/labelStyle.html) property in axis provides options to customize the font of axis label. The axis label can be customized using following properties, * [`labelStyle`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartAxis/labelStyle.html) - used to change the text color, size, font family, font style, and font weight. * [`color`](https://api.flutter.dev/flutter/painting/TextStyle/color.html) - used to change the color of the axis label. @@ -190,7 +190,7 @@ The [`labelStyle`](https://pub.dev/documentation/syncfusion_flutter_charts/lates ### Axis border customization -The color and width of the axis border can be customized with the [`borderColor`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartAxis/borderColor.html) and [`borderWidth`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartAxis/borderWidth.html) properties, respectively. The border type can be changed using the [`axisBorderType`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartAxis/axisBorderType.html) property, and the default value is [`AxisBorderType.rectangle`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/AxisBorderType.html#rectangle). Another value of [`axisBorderType`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartAxis/axisBorderType.html) is [`AxisBorderType.withoutTopAndBottom`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/AxisBorderType.html#withoutTopAndBottom). +The color and width of the axis border can be customized with [`borderColor`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartAxis/borderColor.html) and [`borderWidth`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartAxis/borderWidth.html) properties respectively. The border types can be changed using the [`axisBorderType`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartAxis/axisBorderType.html) property and the default value is [`AxisBorderType.rectangle`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/AxisBorderType.html#rectangle). Another value of [`axisBorderType`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartAxis/axisBorderType.html) is [`AxisBorderType.withoutTopAndBottom`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/AxisBorderType.html#withoutTopAndBottom). * [`AxisBorderType.rectangle`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/AxisBorderType.html#rectangle) - Renders the border as a rectangle around a label. * [`AxisBorderType.withoutTopAndBottom`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/AxisBorderType.html#withoutTopAndBottom) - Renders the border without the top and bottom of a rectangle. @@ -265,8 +265,7 @@ On setting the [`enableAxisAnimation`](https://pub.dev/documentation/syncfusion_ ### Formatting axis label content -The [`labelFormat`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/NumericAxis/labelFormat.html) property is used to add a prefix or suffix to the axis label. - +The [`labelFormat`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/NumericAxis/labelFormat.html) property is used to add prefix or suffix with the axis label. {% tabs %} {% highlight dart hl_lines="11" %} @@ -298,7 +297,7 @@ Also refer [number format](./axis-types#formatting-the-labels) and [date format] ### Label and tick positioning -Axis labels and ticks can be positioned inside or outside the chart area by using the [`labelPosition`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartAxis/labelPosition.html) and [`tickPosition`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartAxis/tickPosition.html) properties of `ChartAxis`. By default, labels and ticks are positioned outside the chart area. +Axis labels and ticks can be positioned inside or outside the chart area by using [`labelPosition`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartAxis/labelPosition.html) and [`tickPosition`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartAxis/tickPosition.html) properties of ChartAxis. By default labels and ticks will be positioned outside the chart area. {% tabs %} {% highlight dart hl_lines="8 9" %} @@ -326,7 +325,7 @@ Axis labels and ticks can be positioned inside or outside the chart area by usin ### Edge label placement -Labels with long text at the edges of an axis may appear partially outside the chart. The [`edgeLabelPlacement`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartAxis/edgeLabelPlacement.html) property can be used to avoid partially displayed labels at the corners. The default value of this property is [`EdgeLabelPlacement.none`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/EdgeLabelPlacement.html#none). Other available options of [`edgeLabelPlacement`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartAxis/edgeLabelPlacement.html) are shift and hide. The [`EdgeLabelPlacement.shift`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/EdgeLabelPlacement.html#shift) option moves the edge labels inside the axis bounds, while the [`EdgeLabelPlacement.hide`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/EdgeLabelPlacement.html#hide) option hides the edge labels. +Labels with long text at the edges of an axis may appear partially outside the chart. The [`edgeLabelPlacement`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartAxis/edgeLabelPlacement.html) property can be used to avoid the partial appearance of labels at the corners. Default value of this property is [`EdgeLabelPlacement.none`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/EdgeLabelPlacement.html#none). Other available options of [`edgeLabelPlacement`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartAxis/edgeLabelPlacement.html) are shift and hide. [`EdgeLabelPlacement.shift`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/EdgeLabelPlacement.html#shift) option will move the edge labels inside the axis bounds, where the [`EdgeLabelPlacement.hide`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/EdgeLabelPlacement.html#hide) option will hides the edge labels. {% tabs %} {% highlight dart hl_lines="9" %} @@ -354,7 +353,7 @@ Labels with long text at the edges of an axis may appear partially outside the c ### Grid lines customization -The [`width`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/MajorGridLines/width.html) property is used to control the visibility of grid lines. The [`majorGridLines`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartAxis/majorGridLines.html) and [`minorGridLines`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartAxis/minorGridLines.html) properties in an axis are used to customize the major grid lines and minor grid lines of an axis, respectively. You can change the width, dashes, and color of grid lines. By default, minor grid lines are not visible. +The [`width`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/MajorGridLines/width.html) property is used to control the visibility of grid lines. [`majorGridLines`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartAxis/majorGridLines.html) and [`minorGridLines`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartAxis/minorGridLines.html) properties in axis are used to customize the major grid lines and minor grid lines of an axis respectively. We have provided options to change the width, dashes, color of grid lines. By default minor grid lines will not be visible. {% tabs %} {% highlight dart %} @@ -391,7 +390,7 @@ The [`width`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/cha ### Tick lines customization -The [`majorTickLines`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartAxis/majorTickLines.html) and [`minorTickLines`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartAxis/minorTickLines.html) properties in an axis are used to customize the major tick lines and minor tick lines of an axis, respectively. You can customize the [`width`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/MajorTickLines/width.html), [`size`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/MajorTickLines/size.html), [`color`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/MajorTickLines/color.html), and [`minorTicksPerInterval`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartAxis/minorTicksPerInterval.html) properties of the tick lines. By default, minor tick lines are not visible. +The [`majorTickLines`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartAxis/majorTickLines.html) and [`minorTickLines`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartAxis/minorTickLines.html) properties in axis are used to customize the major tick lines of an axis and minor tick lines of an axis respectively. We have provided options to customize the [`width`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/MajorTickLines/width.html), [`size`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/MajorTickLines/size.html), [`color`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/MajorTickLines/color.html) and [`minorTicksPerInterval`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartAxis/minorTicksPerInterval.html) of tick lines. By default minor tick lines will not be visible. {% tabs %} {% highlight dart %} @@ -428,7 +427,7 @@ The [`majorTickLines`](https://pub.dev/documentation/syncfusion_flutter_charts/l ### Inversing axis -An axis can be inversed using the [`isInversed`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartAxis/isInversed.html) property of the axis. The default value of the [`isInversed`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartAxis/isInversed.html) property is `false`. +Axis can be inversed using the [`isInversed`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartAxis/isInversed.html) property of an axis. Default value of [`isInversed`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartAxis/isInversed.html) property is `false`. {% tabs %} {% highlight dart hl_lines="9" %} @@ -456,7 +455,7 @@ An axis can be inversed using the [`isInversed`](https://pub.dev/documentation/s ### Placing axes at the opposite side -The [`opposedPosition`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartAxis/opposedPosition.html) property of the axis can be used to place the axis on the opposite side of its default position. The default value of the [`opposedPosition`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartAxis/opposedPosition.html) property is `false`. +The [`opposedPosition`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartAxis/opposedPosition.html) property of axis can be used to place the axis at the opposite side of its default position. Default value of [`opposedPosition`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartAxis/opposedPosition.html) property is `false`. {% tabs %} {% highlight dart hl_lines="9" %} @@ -484,7 +483,7 @@ The [`opposedPosition`](https://pub.dev/documentation/syncfusion_flutter_charts/ ### Maximum number of labels per 100 logical pixels -By default, a maximum of three labels are displayed for every 100 logical pixels on an axis. The maximum number of labels that should be present within 100 logical pixels can be customized using the [`maximumLabels`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartAxis/maximumLabels.html) property of the axis. This property is applicable only for automatic range calculation and will not work if you set a value for the `interval` property of the axis. +By default, a maximum of 3 labels are displayed for each 100 logical pixels in axis. The maximum number of labels that should be present within 100 logical pixels length can be customized using the [`maximumLabels`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartAxis/maximumLabels.html) property of an axis. This property is applicable only for automatic range calculation and will not work if you set value for `interval` property of an axis. {% tabs %} {% highlight dart hl_lines="8" %} @@ -563,7 +562,7 @@ The [`initialVisibleMaximum`](https://pub.dev/documentation/syncfusion_flutter_c ### Plot offset -The [`plotOffset`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartAxis/plotOffset.html) property is used to offset the rendering of the axis at the start and end positions. The following code snippet demonstrates how to apply plot offset to an axis. +The [`plotOffset`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartAxis/plotOffset.html) property is used to offset the rendering of the axis at start and end position. The following code snippet demonstrates how to apply the plot offset of an axis. {% tabs %} {% highlight dart hl_lines="9" %} @@ -647,7 +646,7 @@ The [`plotOffsetEnd`](https://pub.dev/documentation/syncfusion_flutter_charts/la ## Smart axis labels -Axis labels may overlap with each other based on chart dimensions and label size. The [`labelIntersectAction`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartAxis/labelIntersectAction.html) property of the axis is used to avoid overlapping axis labels. The default value of the [`labelIntersectAction`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartAxis/labelIntersectAction.html) is [`AxisLabelIntersectAction.hide`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/AxisLabelIntersectAction.html#hide). Other available values are [`AxisLabelIntersectAction.none`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/AxisLabelIntersectAction.html#none), [`AxisLabelIntersectAction.wrap`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/AxisLabelIntersectAction.html#wrap), [`AxisLabelIntersectAction.multipleRows`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/AxisLabelIntersectAction.html#multipleRows), [`AxisLabelIntersectAction.rotate45`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/AxisLabelIntersectAction.html#rotate45), and [`AxisLabelIntersectAction.rotate90`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/AxisLabelIntersectAction.html#rotate90). +Axis labels may overlap with each other based on chart dimensions and label size. The [`labelIntersectAction`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartAxis/labelIntersectAction.html) property of axis is used to avoid overlapping of axis labels. The default value of the [`labelIntersectAction`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartAxis/labelIntersectAction.html) is [`AxisLabelIntersectAction.hide`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/AxisLabelIntersectAction.html#hide). Other available values are [`AxisLabelIntersectAction.none`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/AxisLabelIntersectAction.html#none), [`AxisLabelIntersectAction.wrap`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/AxisLabelIntersectAction.html#wrap), [`AxisLabelIntersectAction.multipleRows`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/AxisLabelIntersectAction.html#multipleRows), [`AxisLabelIntersectAction.rotate45`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/AxisLabelIntersectAction.html#rotate45) and [`AxisLabelIntersectAction.rotate90`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/AxisLabelIntersectAction.html#rotate90). {% tabs %} {% highlight dart hl_lines="9" %} @@ -830,11 +829,10 @@ Plot band can be added to the category axis by specifying index values to the [` child: SfCartesianChart( primaryXAxis:CategoryAxis( plotBands: [ - PlotBand( - isVisible: true, - start: 1, - end: 2,), - ], + PlotBand( + isVisible: true, + start: 1, + end: 2, ), ) ) @@ -1249,7 +1247,7 @@ To toggle this functionality, [`anchorRangeToVisiblePoints`](https://pub.dev/doc ![Auto_Range_Calculation](images/axis-customization/auto_range_calculation.gif) -### See Also +#### See Also * [Synchronize on-demand loading in the Cartesian charts](https://support.syncfusion.com/kb/article/11533/how-to-synchronize-on-demand-loading-in-the-cartesian-charts-sfcartesianchart). diff --git a/chart-sdk/flutter/cartesian-chart/axis-types.md b/chart-sdk/flutter/cartesian-chart/axis-types.md index 32791177f..ae18ac84e 100644 --- a/chart-sdk/flutter/cartesian-chart/axis-types.md +++ b/chart-sdk/flutter/cartesian-chart/axis-types.md @@ -1,17 +1,17 @@ --- layout: post -title: Axis Types in Flutter Cartesian Chart | Syncfusion® -description: The axis types support in Flutter Cartesian Chart offers numeric, category, date-time, logarithmic, and custom axes for diverse data visualization needs. +title: Axis Types in Flutter Cartesian Charts | Syncfusion +description: Step-by-step guide to explore axis types in Syncfusion Flutter Cartesian Charts—learn about numeric, category, date-time axes, and key features. platform: chart-sdk control: Chart documentation: ug --- -# Types of Axis in Flutter Cartesian Chart +# Flutter Cartesian Charts Axis Types (SfCartesianChart) -Charts typically have two axes that are used to measure and categorize data: a vertical (Y) axis and a horizontal (X) axis. +Charts typically have two axes that are used to measure and categorize data: a vertical (Y) axis, and a horizontal (X) axis. -The vertical (Y) axis always uses a numerical scale. The horizontal (X) axis supports the following types of scale: +The vertical(Y) axis always uses numerical scale. Horizontal(X) axis supports the following types of scale: * Category * Numeric @@ -21,7 +21,7 @@ The vertical (Y) axis always uses a numerical scale. The horizontal (X) axis sup ## Numeric axis -Numeric axis uses a numerical scale and displays numbers as labels. By default, [`NumericAxis`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/NumericAxis-class.html) is set for both the horizontal axis and the vertical axis. +Numeric axis uses numerical scale and displays numbers as labels. By default, [`NumericAxis`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/NumericAxis-class.html) is set to both horizontal axis and vertical axis. {% tabs %} {% highlight dart hl_lines="14 15" %} @@ -74,7 +74,7 @@ Numeric axis uses a numerical scale and displays numbers as labels. By default, ### Inversed numeric axis -By using the [`isInversed`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartAxis/isInversed.html) property in Cartesian charts, the numeric axis can be inverted. The axis is rendered from the minimum value to the maximum value by default and can be inverted from the maximum value to the minimum value. +By using the [`isInversed`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartAxis/isInversed.html) property in Cartesian charts, the numeric axis can be inverted. Axis is rendered from the minimum value to the maximum value by default, and can be inverted from the maximum value to the minimum value. {% tabs %} {% highlight dart hl_lines="18 19" %} @@ -123,7 +123,7 @@ By using the [`isInversed`](https://pub.dev/documentation/syncfusion_flutter_cha ### Customizing range -To customize the range of an axis, use the [`minimum`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/NumericAxis/minimum.html) and [`maximum`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/NumericAxis/maximum.html) properties of [`NumericAxis`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/NumericAxis/NumericAxis.html). By default, a nice range is calculated automatically based on the provided data. +To customize the range of an axis, use the [`minimum`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/NumericAxis/minimum.html) and [`maximum`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/NumericAxis/maximum.html) properties of [`NumericAxis`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/NumericAxis/NumericAxis.html). By default, nice range will be calculated automatically based on the provided data. {% tabs %} {% highlight dart hl_lines="15 16" %} @@ -164,7 +164,7 @@ To customize the range of an axis, use the [`minimum`](https://pub.dev/documenta ### Customizing interval -Axis interval can be customized using the [`interval`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartAxis/interval.html) property of [`ChartAxis`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartAxis-class.html). By default, a nice interval is calculated based on the minimum and maximum values of the provided data. +Axis interval can be customized using the [`interval`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartAxis/interval.html) property of [`ChartAxis`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartAxis-class.html). By default, nice interval will be calculated based on the minimum and maximum values of the provided data. {% tabs %} {% highlight dart hl_lines="9" %} @@ -1519,4 +1519,4 @@ By using the [`isInversed`](https://pub.dev/documentation/syncfusion_flutter_cha * [Applying currency format to axis labels](https://support.syncfusion.com/kb/article/9852/how-to-apply-the-currency-format-to-the-axis-labels-sfcartesianchart). ->**Note**: `chartData` in the above code snippets is a class type list and holds the data for binding to the chart series. Refer [Bind data source](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/getting-started#bind-data-source) topic for more details. +>**Note**: `chartData` in the above code snippets is a class type list and holds the data for binding to the chart series. Refer [Bind data source](https://help.syncfusion.com/flutter/cartesian-charts/getting-started#bind-data-source) topic for more details. diff --git a/chart-sdk/flutter/cartesian-chart/callbacks.md b/chart-sdk/flutter/cartesian-chart/callbacks.md index ea63b0ddd..c3ffcba1f 100644 --- a/chart-sdk/flutter/cartesian-chart/callbacks.md +++ b/chart-sdk/flutter/cartesian-chart/callbacks.md @@ -1,15 +1,15 @@ --- layout: post -title: Callbacks in Flutter Cartesian Chart | Syncfusion® -description: The callback support in Flutter Cartesian Chart offers events for selection, zooming, tooltips, axes, rendering, and user interactions. +title: Callbacks in Flutter Cartesian Charts | Syncfusion +description: Step-by-step guide to handle callback events in Syncfusion Flutter Cartesian Charts—handle tooltip, data label, legend, and configure key features. platform: chart-sdk control: Chart documentation: ug --- -# Callbacks in Flutter Cartesian Chart +# Flutter Cartesian Charts Callback Events (SfCartesianChart) -This document describes the callbacks available for the Cartesian chart. +This document describes the callbacks available for the Cartesian chart ## onTooltipRender @@ -556,7 +556,7 @@ Triggers when tapping the axis label. The [`onAxisLabelTapped`](https://pub.dev {% endhighlight %} {% endtabs %} -### See Also +#### See Also * [Navigating to an hyperlink on axis label tap](https://support.syncfusion.com/kb/article/10658/how-to-navigate-to-a-hyperlink-when-clicked-on-chart-axis-label-sfcartesianchart). @@ -1053,7 +1053,7 @@ Triggers while swiping on the plot area. Whenever the swiping happens on th {% endhighlight %} {% endtabs %} -### See Also +#### See Also * [Achieve sliding viewport functionality using Cartesian chart](https://support.syncfusion.com/kb/article/11332/how-to-achieve-sliding-viewport-functionality-using-cartesian-chart-sfcartesianchart). @@ -1198,7 +1198,7 @@ Defaults to `null`. The [`onCreateShader`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CartesianSeries/onCreateShader.html) provides options to get the outer rect, inner rect, and render type (either series or legend) using [`ChartShaderDetails`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartShaderDetails-class.html) class. The onCreateShader callback is called once while rendering -the data points and legend. For further reference on this callback, Check the [`Gradient fill`](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#gradient-fill) section. +the data points and legend. For further reference on this callback, Check the [`Gradient fill`](https://help.syncfusion.com/flutter/cartesian-charts/series-customization#gradient-fill) section. {% tabs %} {% highlight dart %} @@ -1287,7 +1287,7 @@ Defaults to `null`. {% endhighlight %} {% endtabs %} -### See Also +#### See Also * [Format the date-time axis labels in Cartesian chart](https://support.syncfusion.com/kb/article/11396/how-to-format-the-date-time-axis-labels-in-cartesian-chart-sfcartesianchart). @@ -1368,7 +1368,7 @@ Triggers while rendering the multi-level labels. Text and text styles such as co {% endhighlight %} {% endtabs %} -### See Also +#### See Also * [Customize the tooltip using its callback event](https://support.syncfusion.com/kb/article/9958/how-to-customize-the-tooltip-using-callback-events-sfcartesianchart). @@ -1380,4 +1380,4 @@ Triggers while rendering the multi-level labels. Text and text styles such as co * [To Synchronize panning in multiple charts](https://support.syncfusion.com/kb/article/9939/how-to-synchronize-panning-in-multiple-charts-sfcartesianchart). ->**Note**: `chartData` in the above code snippets is a class type list and holds the data for binding to the chart series. Refer [Bind data source](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/getting-started#bind-data-source) topic for more details. \ No newline at end of file +>**Note**: `chartData` in the above code snippets is a class type list and holds the data for binding to the chart series. Refer [Bind data source](https://help.syncfusion.com/flutter/cartesian-charts/getting-started#bind-data-source) topic for more details. \ No newline at end of file diff --git a/chart-sdk/flutter/cartesian-chart/chart-appearance.md b/chart-sdk/flutter/cartesian-chart/chart-appearance.md index 96e7a98db..1e1c8d6b5 100644 --- a/chart-sdk/flutter/cartesian-chart/chart-appearance.md +++ b/chart-sdk/flutter/cartesian-chart/chart-appearance.md @@ -1,17 +1,17 @@ --- layout: post -title: Customization in Flutter Cartesian Chart | Syncfusion® -description: The customization support in Flutter Cartesian Chart offers extensive control over chart appearance, layout, styling, colors, and interactive behavior. +title: Customization in Flutter Cartesian Charts | Syncfusion +description: Step-by-step guide to control chart appearance in Syncfusion Flutter Cartesian Charts—learn to set chart size, margin, border, and more key features. platform: chart-sdk control: Chart documentation: ug --- -# Customization in Flutter Cartesian Chart +# Flutter Cartesian Charts Customization (SfCartesianChart) ## Chart sizing -The chart renders based on the parent widget size. If you need the chart to be rendered in a specific size, set the size (width/height) on the parent widget. +Chart renders based on the parent widget size. If you need the chart to be rendered in specific size, then set the size(width/height) to the parent widget. You can also customize the following properties: * [`backgroundColor`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCartesianChart/backgroundColor.html) - used to change the background color of the chart. @@ -112,7 +112,7 @@ You can customize the plot area of the chart using the below properties. ![Chart plot area](images/appearance/plot_area_customization.jpg) -### See Also +#### See Also * [Rendering a background image in the plot area of the Cartesian chart](https://support.syncfusion.com/kb/article/9741/how-to-render-the-cartesian-chart-sfcartesianchart-with-background-image-for-plot-area). diff --git a/chart-sdk/flutter/cartesian-chart/chart-title.md b/chart-sdk/flutter/cartesian-chart/chart-title.md index 23629ea4c..4874c977a 100644 --- a/chart-sdk/flutter/cartesian-chart/chart-title.md +++ b/chart-sdk/flutter/cartesian-chart/chart-title.md @@ -1,15 +1,15 @@ --- layout: post -title: Chart title in Flutter Cartesian Chart | Syncfusion® -description: The chart title support in Flutter Cartesian Chart offers customizable titles with appearance settings to enhance context and visual presentation. +title: Chart title in Flutter Cartesian Charts widget | Syncfusion +description: Learn here all about Chart title feature of Syncfusion Flutter Cartesian Charts (SfCartesianChart) widget and more. platform: chart-sdk control: Chart documentation: ug --- -# Chart title in Flutter Cartesian Chart +# Chart title in Flutter Cartesian Charts (SfCartesianChart) -You can define and customize the chart title using the [`title`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCartesianChart/title.html) property of [`SfCartesianChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCartesianChart-class.html). The [`text`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartTitle/text.html) property of [`ChartTitle`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartTitle-class.html) is used to set the title text. +You can define and customize the Chart title using the [`title`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCartesianChart/title.html) property of [`SfCartesianChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCartesianChart-class.html). The [`text`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartTitle/text.html) property of [`ChartTitle`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartTitle-class.html) is used to set the text for the title. The following properties can be used to customize its appearance. @@ -23,7 +23,7 @@ The following properties can be used to customize its appearance. * [`fontSize`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartTitle/textStyle.html) - used to change the font size for the chart title. -## Text Alignment +### Text Alignment You can align the title text content horizontally to the near, center or far of the chart using the [`alignment`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartTitle/alignment.html) property of the [`title`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCartesianChart/title.html). diff --git a/chart-sdk/flutter/cartesian-chart/chart-types/area-chart.md b/chart-sdk/flutter/cartesian-chart/chart-types/area-chart.md index 60b918f64..d46baaa5e 100644 --- a/chart-sdk/flutter/cartesian-chart/chart-types/area-chart.md +++ b/chart-sdk/flutter/cartesian-chart/chart-types/area-chart.md @@ -1,15 +1,15 @@ --- layout: post -title: Area Chart in Flutter Cartesian Chart | Syncfusion® -description: The area chart support in Flutter Cartesian Chart offers filled line visualizations to highlight trends, variations, and magnitudes across data points. +title: Area Chart in Flutter Cartesian Charts | Syncfusion +description: Step-by-step guide to create and customize Area Chart in Syncfusion Flutter Cartesian Charts—add area series, style, and configure key features. platform: chart-sdk control: Chart documentation: ug --- -# Area Chart in Flutter Cartesian Chart +# Flutter Cartesian Charts Area Chart (SfCartesianChart) -To create a Flutter area chart quickly, you can watch this video. +To create a Flutter area chart quickly, you can check this video. @@ -259,14 +259,14 @@ The [`isTransposed`](https://pub.dev/documentation/syncfusion_flutter_charts/lat ![Vertical area chart](cartesian-chart-types-images/vertical_area.png) -### See Also +#### See Also -* [Color palette](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#color-palette) -* [Color mapping](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#color-mapping-for-data-points) -* [Animation](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#animation) -* [Gradient](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#gradient-fill) -* [Empty points](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#empty-points) -* [Sorting](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#sorting) +* [Color palette](/flutter/cartesian-charts/series-customization#color-palette) +* [Color mapping](/flutter/cartesian-charts/series-customization#color-mapping-for-data-points) +* [Animation](/flutter/cartesian-charts/series-customization#animation) +* [Gradient](/flutter/cartesian-charts/series-customization#gradient-fill) +* [Empty points](/flutter/cartesian-charts/series-customization#empty-points) +* [Sorting](/flutter/cartesian-charts/series-customization#sorting) >**Note**: You can refer to our [Flutter Area Chart](https://www.syncfusion.com/flutter-widgets/flutter-charts/chart-types/area-chart) feature tour page for its groundbreaking feature representations. You can also explore our [Flutter Area Chart example](https://flutter.syncfusion.com/#/cartesian-charts/chart-types/area/default-area-chart) that shows how to easily configure with built-in support for creating stunning visual effects. \ No newline at end of file diff --git a/chart-sdk/flutter/cartesian-chart/chart-types/bar-chart.md b/chart-sdk/flutter/cartesian-chart/chart-types/bar-chart.md index 763d5565d..c2b2d4cac 100644 --- a/chart-sdk/flutter/cartesian-chart/chart-types/bar-chart.md +++ b/chart-sdk/flutter/cartesian-chart/chart-types/bar-chart.md @@ -1,15 +1,15 @@ --- layout: post -title: Bar Chart in Flutter Cartesian Chart | Syncfusion® -description: The bar chart support in Flutter Cartesian Chart offers horizontal or vertical data comparison with customizable styling and flexible data representation. +title: Bar Chart in Flutter Cartesian Charts | Syncfusion +description: Step-by-step guide to create and customize Bar Chart in Syncfusion Flutter Cartesian Charts—add bar series, style, and configure key features. platform: chart-sdk control: Chart documentation: ug --- -# Bar Chart in Flutter Cartesian Chart +# Flutter Cartesian Charts Bar Chart (SfCartesianChart) -To create a Flutter bar chart quickly, you can watch this video. +To create a Flutter bar chart quickly, you can check this video. @@ -188,7 +188,7 @@ Also refer, [color palette](./series-customization#color-palette), [color mappin >**Note**: You can refer to our [Flutter Bar Chart](https://www.syncfusion.com/flutter-widgets/flutter-charts/chart-types/bar-chart) feature tour page for its groundbreaking feature representations. You can also explore our [Flutter Bar Chart example](https://flutter.syncfusion.com/#/cartesian-charts/chart-types/bar/default-bar-chart) that shows how to easily configure with built-in support for creating stunning visual effects. -### See Also +#### See Also * [Create vertical bar chart](https://support.syncfusion.com/kb/article/10833/how-to-create-vertical-bar-chart-in-flutter-using-cartesian-charts-widget-sfcartesianchart). diff --git a/chart-sdk/flutter/cartesian-chart/chart-types/box-and-whisker-chart.md b/chart-sdk/flutter/cartesian-chart/chart-types/box-and-whisker-chart.md index 44842dfa5..6e2e85b6e 100644 --- a/chart-sdk/flutter/cartesian-chart/chart-types/box-and-whisker-chart.md +++ b/chart-sdk/flutter/cartesian-chart/chart-types/box-and-whisker-chart.md @@ -1,15 +1,15 @@ --- layout: post -title: Box and Whisker Chart in Flutter Cartesian Chart | Syncfusion® -description: The box and whisker chart support in Flutter Cartesian Chart offers statistical data visualization to display distribution, quartiles, and outliers effectively. +title: Box and Whisker Chart in Flutter Cartesian Charts widget | Syncfusion +description: Learn here all about box and whisker chart of Syncfusion Flutter Cartesian Charts (SfCartesianChart) widget and more. platform: chart-sdk control: Chart documentation: ug --- -# Box and Whisker Chart in Flutter Cartesian Chart +# Box and Whisker Chart in Flutter Cartesian Charts (SfCartesianChart) -The [Flutter Box and Whisker Charts](https://www.syncfusion.com/flutter-widgets/flutter-charts/chart-types/box-and-whisker-chart) can be used to visualize a group of numerical data through their quartiles. It is also referred to as a box plot. Box plots may also have lines extending vertically from the boxes (whiskers), indicating variability outside the upper and lower quartiles. +The [Flutter Box and Whisker Charts](https://www.syncfusion.com/flutter-widgets/flutter-charts/chart-types/box-and-whisker-chart) can be used to visualize a group of numerical data through their quartiles. It is also referred to as box plot. Box plots may also have lines extending vertically from the boxes (whiskers) indicating variability outside the upper and lower quartiles. To render a Box and Whisker chart, create an instance of [`BoxAndWhiskerSeries`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/BoxAndWhiskerSeries-class.html), and add it to the [`series`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCartesianChart/series.html) collection property of [`SfCartesianChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCartesianChart/SfCartesianChart.html). The following properties can be used to customize the appearance. @@ -49,11 +49,11 @@ To render a Box and Whisker chart, create an instance of [`BoxAndWhiskerSeries`] ![box and whisker chart](cartesian-chart-types-images/box_and_whisker.png) -## See Also +#### See Also -* [Color palette](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#color-palette) -* [Color mapping](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#color-mapping-for-data-points) -* [Animation](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#animation) -* [Gradient](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#gradient-fill) -* [Empty points](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#empty-points) -* [Sorting](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#sorting) \ No newline at end of file +* [Color palette](/flutter/cartesian-charts/series-customization#color-palette) +* [Color mapping](/flutter/cartesian-charts/series-customization#color-mapping-for-data-points) +* [Animation](/flutter/cartesian-charts/series-customization#animation) +* [Gradient](/flutter/cartesian-charts/series-customization#gradient-fill) +* [Empty points](/flutter/cartesian-charts/series-customization#empty-points) +* [Sorting](/flutter/cartesian-charts/series-customization#sorting) \ No newline at end of file diff --git a/chart-sdk/flutter/cartesian-chart/chart-types/bubble-chart.md b/chart-sdk/flutter/cartesian-chart/chart-types/bubble-chart.md index 0c143b710..552423011 100644 --- a/chart-sdk/flutter/cartesian-chart/chart-types/bubble-chart.md +++ b/chart-sdk/flutter/cartesian-chart/chart-types/bubble-chart.md @@ -1,17 +1,17 @@ --- layout: post -title: Bubble Chart in Flutter Cartesian Chart | Syncfusion® -description: The bubble chart support in Flutter Cartesian Chart offers multi-dimensional data visualization using varying bubble sizes to represent additional values. +title: Bubble Chart in Flutter Cartesian Charts | Syncfusion +description: Step-by-step guide to create and customize Bubble Chart in Syncfusion Flutter Cartesian Charts—add bubble series, style, and configure key features. platform: chart-sdk control: Chart documentation: ug --- -# Bubble Chart in Flutter Cartesian Chart +# Flutter Cartesian Charts Bubble Chart (SfCartesianChart) To render a bubble chart, create an instance of [`BubbleSeries`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/BubbleSeries-class.html), and add it to the [`series`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCartesianChart/series.html) collection property of [`SfCartesianChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCartesianChart-class.html). -Bubble chart requires three fields (X, Y, and Size) to plot a point. Here, [`sizeValueMapper`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/BubbleSeries/sizeValueMapper.html) is used to map the size of each bubble segment from the data source. +Bubble chart requires three fields (X, Y, and Size) to plot a point. Here, [`sizeValueMapper`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/BubbleSeries/sizeValueMapper.html) is used to map the size of each bubble segment from data source. * [`color`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartSeries/color.html) - changes the color of the series. * [`opacity`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartSeries/opacity.html) - controls the transparency of the chart series. diff --git a/chart-sdk/flutter/cartesian-chart/chart-types/candle-chart.md b/chart-sdk/flutter/cartesian-chart/chart-types/candle-chart.md index c4255b46e..d5ce2b48c 100644 --- a/chart-sdk/flutter/cartesian-chart/chart-types/candle-chart.md +++ b/chart-sdk/flutter/cartesian-chart/chart-types/candle-chart.md @@ -1,15 +1,15 @@ --- layout: post -title: Candle Chart in Flutter Cartesian Chart | Syncfusion® -description: The candle chart support in Flutter Cartesian Chart offers financial data visualization with open, high, low, and close values for trend analysis. +title: Candle Chart in Flutter Cartesian Charts | Syncfusion +description: Step-by-step guide to create and customize Candle Chart in Syncfusion Flutter Cartesian Charts—add candle series, style, and configure key features. platform: chart-sdk control: Chart documentation: ug --- -# Candle Chart in Flutter Cartesian Chart +# Flutter Cartesian Charts Candle Chart (SfCartesianChart) -To create a Flutter candle chart quickly, you can watch this video. +To create a Flutter candle chart quickly, you can check this video. @@ -176,7 +176,7 @@ The [`borderRadius`](https://pub.dev/documentation/syncfusion_flutter_charts/lat ![Rounded corners](cartesian-chart-types-images\candle_round_corner.png) -### See Also +#### See Also * [Rendering flutter candlestick chart](https://support.syncfusion.com/kb/article/10683/how-to-render-flutter-candlestick-chart-using-the-charts-widget-sfcartesianchart). @@ -239,10 +239,10 @@ The following are the types of indication when the combination of high, low, ope ![Candle Indication](cartesian-chart-types-images/candle_indication.jpg) -### See Also +#### See Also -* [Color palette](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#color-palette) -* [Color mapping](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#color-mapping-for-data-points) -* [Animation](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#animation) -* [Empty points](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#empty-points) -* [Sorting](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#sorting) \ No newline at end of file +* [Color palette](/flutter/cartesian-charts/series-customization#color-palette) +* [Color mapping](/flutter/cartesian-charts/series-customization#color-mapping-for-data-points) +* [Animation](/flutter/cartesian-charts/series-customization#animation) +* [Empty points](/flutter/cartesian-charts/series-customization#empty-points) +* [Sorting](/flutter/cartesian-charts/series-customization#sorting) \ No newline at end of file diff --git a/chart-sdk/flutter/cartesian-chart/chart-types/column-chart.md b/chart-sdk/flutter/cartesian-chart/chart-types/column-chart.md index 78118b99e..e1f78dd5b 100644 --- a/chart-sdk/flutter/cartesian-chart/chart-types/column-chart.md +++ b/chart-sdk/flutter/cartesian-chart/chart-types/column-chart.md @@ -1,13 +1,13 @@ --- layout: post -title: Column Chart in Flutter Cartesian Chart | Syncfusion® -description: The column chart support in Flutter Cartesian Chart offers vertical data comparison with customizable styling to visualize trends and category-based values. +title: Column Chart in Flutter Cartesian Charts | Syncfusion +description: Step-by-step guide to create and customize Column Chart in Syncfusion Flutter Cartesian Charts—add column series, style, and configure key features. platform: chart-sdk control: Chart documentation: ug --- -# Column Chart in Flutter Cartesian Chart +# Flutter Cartesian Charts Column Chart (SfCartesianChart) To render a column chart, create an instance of [`ColumnSeries`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ColumnSeries-class.html), and add it to the [`series`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCartesianChart/series.html) collection property of [`SfCartesianChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCartesianChart/SfCartesianChart.html). The following properties can be used to customize the appearance: @@ -194,7 +194,7 @@ The [`borderRadius`](https://pub.dev/documentation/syncfusion_flutter_charts/lat ![Rounded corners](cartesian-chart-types-images/rounded_column.jpg) -### See Also +#### See Also * [Rendering each data points with different border radius in column charts](https://support.syncfusion.com/kb/article/10378/how-to-set-different-border-radius-for-each-rect-series-data-points-by-extending-the). @@ -247,13 +247,13 @@ Renders columns with tracks. A track is a rectangular bar rendered from the star ![Track](cartesian-chart-types-images/track_column.jpg) -### See Also +#### See Also -* [Color palette](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#color-palette) -* [Color mapping](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#color-mapping-for-data-points) -* [Animation](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#animation) -* [Gradient](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#gradient-fill) -* [Empty points](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#empty-points) -* [Sorting](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#sorting) +* [Color palette](/flutter/cartesian-charts/series-customization#color-palette) +* [Color mapping](/flutter/cartesian-charts/series-customization#color-mapping-for-data-points) +* [Animation](/flutter/cartesian-charts/series-customization#animation) +* [Gradient](/flutter/cartesian-charts/series-customization#gradient-fill) +* [Empty points](/flutter/cartesian-charts/series-customization#empty-points) +* [Sorting](/flutter/cartesian-charts/series-customization#sorting) >**Note**: You can refer to our [Flutter Column Chart](https://www.syncfusion.com/flutter-widgets/flutter-charts/chart-types/column-chart) feature tour page for its groundbreaking feature representations. \ No newline at end of file diff --git a/chart-sdk/flutter/cartesian-chart/chart-types/error-bar-chart.md b/chart-sdk/flutter/cartesian-chart/chart-types/error-bar-chart.md index bcaf790d7..60d160dcc 100644 --- a/chart-sdk/flutter/cartesian-chart/chart-types/error-bar-chart.md +++ b/chart-sdk/flutter/cartesian-chart/chart-types/error-bar-chart.md @@ -1,13 +1,13 @@ --- layout: post -title: Error bar chart in Flutter Cartesian Chart | Syncfusion® -description: The error bar chart support in Flutter Cartesian Chart offers data variability visualization with customizable error indicators for accurate analysis. +title: Error bar chart in Flutter Cartesian Charts widget | Syncfusion +description: Learn here all about error bar chart of Syncfusion Flutter Cartesian Charts (SfCartesianChart) widget and more. platform: chart-sdk control: Chart documentation: ug --- -# Error bar chart in Flutter Cartesian Chart +# Error bar chart in Flutter Cartesian Charts (SfCartesianChart) Error bars are graphical representations of the variability of data and used on graphs to indicate the error or uncertainty in a reported measurement. @@ -286,11 +286,11 @@ The [`capLength`](https://pub.dev/documentation/syncfusion_flutter_charts/latest ![Error bar cap length](cartesian-chart-types-images/error_bar_caplength.png) -### See Also +#### See Also -* [Color palette](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#color-palette) -* [Color mapping](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#color-mapping-for-data-points) -* [Animation](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#animation) -* [Gradient](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#gradient-fill) -* [Empty points](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#empty-points) -* [Sorting](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#sorting) \ No newline at end of file +* [Color palette](/flutter/cartesian-charts/series-customization#color-palette) +* [Color mapping](/flutter/cartesian-charts/series-customization#color-mapping-for-data-points) +* [Animation](/flutter/cartesian-charts/series-customization#animation) +* [Gradient](/flutter/cartesian-charts/series-customization#gradient-fill) +* [Empty points](/flutter/cartesian-charts/series-customization#empty-points) +* [Sorting](/flutter/cartesian-charts/series-customization#sorting) \ No newline at end of file diff --git a/chart-sdk/flutter/cartesian-chart/chart-types/fast-line-chart.md b/chart-sdk/flutter/cartesian-chart/chart-types/fast-line-chart.md index 83e62023d..f01430979 100644 --- a/chart-sdk/flutter/cartesian-chart/chart-types/fast-line-chart.md +++ b/chart-sdk/flutter/cartesian-chart/chart-types/fast-line-chart.md @@ -1,13 +1,13 @@ --- layout: post -title: Fast Line Chart in Flutter Cartesian Chart | Syncfusion® -description: The fast line chart support in Flutter Cartesian Chart offers high-performance rendering for large datasets, enabling smooth and efficient trend visualization. +title: Fast Line Chart in Flutter Cartesian Charts | Syncfusion +description: Step-by-step guide to create and customize Fast Line Chart in Syncfusion Flutter Cartesian Charts—add fast line series, style, and configure key features. platform: chart-sdk control: Chart documentation: ug --- -# Fast Line Chart in Flutter Cartesian Chart +# Flutter Cartesian Charts Fast Line Chart (SfCartesianChart) [`FastLineSeries`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/FastLineSeries-class.html) is a line chart that loads faster than [`LineSeries`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/LineSeries-class.html). You can use this when there are a large number of points to be loaded in a chart. To render a fast line chart, create an instance of [`FastLineSeries`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/FastLineSeries-class.html), and add it to the [`series`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCartesianChart/series.html) collection property of [`SfCartesianChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCartesianChart-class.html). The following properties can be used to customize the appearance of fast line segment: @@ -45,11 +45,11 @@ documentation: ug ![Fast line chart](cartesian-chart-types-images/fastline.jpg) -## See Also +#### See Also -* [Color palette](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#color-palette) -* [Color mapping](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#color-mapping-for-data-points) -* [Animation](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#animation) -* [Gradient](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#gradient-fill) -* [Empty points](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#empty-points) -* [Sorting](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#sorting) \ No newline at end of file +* [Color palette](/flutter/cartesian-charts/series-customization#color-palette) +* [Color mapping](/flutter/cartesian-charts/series-customization#color-mapping-for-data-points) +* [Animation](/flutter/cartesian-charts/series-customization#animation) +* [Gradient](/flutter/cartesian-charts/series-customization#gradient-fill) +* [Empty points](/flutter/cartesian-charts/series-customization#empty-points) +* [Sorting](/flutter/cartesian-charts/series-customization#sorting) \ No newline at end of file diff --git a/chart-sdk/flutter/cartesian-chart/chart-types/hilo-chart.md b/chart-sdk/flutter/cartesian-chart/chart-types/hilo-chart.md index 85d45ccde..d6b1a2ac2 100644 --- a/chart-sdk/flutter/cartesian-chart/chart-types/hilo-chart.md +++ b/chart-sdk/flutter/cartesian-chart/chart-types/hilo-chart.md @@ -1,13 +1,13 @@ --- layout: post -title: HiLo Chart in Flutter Cartesian Chart | Syncfusion® -description: The HiLo chart support in Flutter Cartesian Chart offers visualization of high and low values across categories for effective range analysis. +title: HiLo Chart in Flutter Cartesian Charts widget | Syncfusion +description: Learn here all about hiLo chart of Syncfusion Flutter Cartesian Charts (SfCartesianChart) widget and more. platform: chart-sdk control: Chart documentation: ug --- -# HiLo Chart in Flutter Cartesian Chart +# HiLo Chart in Flutter Cartesian Charts (SfCartesianChart) To create a Flutter hilo chart quickly, you can check this video. @@ -55,10 +55,10 @@ To render a HiLo chart, create an instance of [`HiloSeries`](https://pub.dev/doc ![hiLo chart](cartesian-chart-types-images/hilo_chart.png) -## See Also +#### See Also -* [Color palette](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#color-palette) -* [Color mapping](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#color-mapping-for-data-points) -* [Animation](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#animation) -* [Empty points](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#empty-points) -* [Sorting](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#sorting) \ No newline at end of file +* [Color palette](/flutter/cartesian-charts/series-customization#color-palette) +* [Color mapping](/flutter/cartesian-charts/series-customization#color-mapping-for-data-points) +* [Animation](/flutter/cartesian-charts/series-customization#animation) +* [Empty points](/flutter/cartesian-charts/series-customization#empty-points) +* [Sorting](/flutter/cartesian-charts/series-customization#sorting) \ No newline at end of file diff --git a/chart-sdk/flutter/cartesian-chart/chart-types/histogram-chart.md b/chart-sdk/flutter/cartesian-chart/chart-types/histogram-chart.md index 30ff674a8..944007132 100644 --- a/chart-sdk/flutter/cartesian-chart/chart-types/histogram-chart.md +++ b/chart-sdk/flutter/cartesian-chart/chart-types/histogram-chart.md @@ -1,13 +1,13 @@ --- layout: post -title: Histogram Chart in Flutter Cartesian Chart | Syncfusion® -description: The histogram chart support in Flutter Cartesian Chart offers data distribution visualization by grouping values into bins for statistical analysis. +title: Histogram Chart in Flutter Cartesian Charts widget | Syncfusion +description: Learn here all about histogram chart of Syncfusion Flutter Cartesian Charts (SfCartesianChart) widget and more. platform: chart-sdk control: Chart documentation: ug --- -# Histogram Chart in Flutter Cartesian Chart +# Histogram Chart in Flutter Cartesian Charts (SfCartesianChart) Histogram chart is a graphical representation that organizes a group of data points into user-specified ranges. It is similar in appearance to a bar chart. The histogram condenses a data series into an easily interpreted visual by taking many data points and grouping them into logical ranges. @@ -164,11 +164,11 @@ You can collapse the normal distribution curve using the [`showNormalDistributio ![histogram chart](cartesian-chart-types-images/Histogram.png) -## See Also +#### See Also -* [Color palette](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#color-palette) -* [Color mapping](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#color-mapping-for-data-points) -* [Animation](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#animation) -* [Gradient](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#gradient-fill) -* [Empty points](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#empty-points) -* [Sorting](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#sorting) \ No newline at end of file +* [Color palette](/flutter/cartesian-charts/series-customization#color-palette) +* [Color mapping](/flutter/cartesian-charts/series-customization#color-mapping-for-data-points) +* [Animation](/flutter/cartesian-charts/series-customization#animation) +* [Gradient](/flutter/cartesian-charts/series-customization#gradient-fill) +* [Empty points](/flutter/cartesian-charts/series-customization#empty-points) +* [Sorting](/flutter/cartesian-charts/series-customization#sorting) \ No newline at end of file diff --git a/chart-sdk/flutter/cartesian-chart/chart-types/line-chart.md b/chart-sdk/flutter/cartesian-chart/chart-types/line-chart.md index 2d869f9a0..c7fb66e13 100644 --- a/chart-sdk/flutter/cartesian-chart/chart-types/line-chart.md +++ b/chart-sdk/flutter/cartesian-chart/chart-types/line-chart.md @@ -1,13 +1,13 @@ --- layout: post -title: Line Chart in Flutter Cartesian Chart | Syncfusion® -description: The line chart support in Flutter Cartesian Chart offers trend visualization with customizable lines, markers, and styling for effective data analysis. +title: Line Chart in Flutter Cartesian Charts widget | Syncfusion +description: Learn here all about line chart of Syncfusion Flutter Cartesian Charts (SfCartesianChart) widget and more. platform: chart-sdk control: Chart documentation: ug --- -# Line Chart in Flutter Cartesian Chart +# Line Chart in Flutter Cartesian Charts (SfCartesianChart) To create a Flutter line chart quickly, you can check this video. @@ -102,7 +102,7 @@ The [`dashArray`](https://pub.dev/documentation/syncfusion_flutter_charts/latest ![Dashed line chart](cartesian-chart-types-images/dashed_line.jpg) -### See Also +#### See Also * [Applying dashed pattern for line chart](https://support.syncfusion.com/kb/article/10763/how-to-create-dash-pattern-line-chart-in-flutter-using-cartesian-charts-widget). @@ -153,11 +153,11 @@ To render a multi-colored line series, map the individual colors to the data usi ![Multi-colored line](cartesian-chart-types-images/multiColored_line.jpg) -### See Also +#### See Also -* [Color palette](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#color-palette) -* [Color mapping](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#color-mapping-for-data-points) -* [Animation](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#animation) -* [Gradient](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#gradient-fill) -* [Empty points](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#empty-points) -* [Sorting](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#sorting) \ No newline at end of file +* [Color palette](/flutter/cartesian-charts/series-customization#color-palette) +* [Color mapping](/flutter/cartesian-charts/series-customization#color-mapping-for-data-points) +* [Animation](/flutter/cartesian-charts/series-customization#animation) +* [Gradient](/flutter/cartesian-charts/series-customization#gradient-fill) +* [Empty points](/flutter/cartesian-charts/series-customization#empty-points) +* [Sorting](/flutter/cartesian-charts/series-customization#sorting) \ No newline at end of file diff --git a/chart-sdk/flutter/cartesian-chart/chart-types/ohlc-chart.md b/chart-sdk/flutter/cartesian-chart/chart-types/ohlc-chart.md index ec3827183..192d3a361 100644 --- a/chart-sdk/flutter/cartesian-chart/chart-types/ohlc-chart.md +++ b/chart-sdk/flutter/cartesian-chart/chart-types/ohlc-chart.md @@ -1,13 +1,13 @@ --- layout: post -title: Open High Low Close in Flutter Cartesian Chart | Syncfusion® -description: The open high low close chart support in Flutter Cartesian Chart offers financial data visualization for market analysis. +title: Open High Low Close in Flutter Cartesian Charts widget | Syncfusion +description: Learn here all about open high low close chart of Syncfusion Flutter Cartesian Charts (SfCartesianChart) widget and more. platform: chart-sdk control: Chart documentation: ug --- -# Open High Low Close in Flutter Cartesian Chart +# Open High Low Close in Flutter Cartesian Charts (SfCartesianChart) To create a Flutter open high low close chart quickly, you can check this video. @@ -65,7 +65,7 @@ To render a OpenHighLowClose chart, create an instance of [` HiloOpenCloseSeries ![hiLoopenclose chart](cartesian-chart-types-images/hilo_open_close.png) -## See Also +#### See Also * [Display volume data of financial series](https://support.syncfusion.com/kb/article/11479/display-volume-data-of-financial-series-in-flutter-cartesian-chart). @@ -125,10 +125,10 @@ The following are the types of indication when the combination of high, low, ope ![OHLC Indication](cartesian-chart-types-images/hilo_open_close_indication.jpg) -### See Also +#### See Also -* [Color palette](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#color-palette) -* [Color mapping](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#color-mapping-for-data-points) -* [Animation](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#animation) -* [Empty points](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#empty-points) -* [Sorting](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#sorting) \ No newline at end of file +* [Color palette](/flutter/cartesian-charts/series-customization#color-palette) +* [Color mapping](/flutter/cartesian-charts/series-customization#color-mapping-for-data-points) +* [Animation](/flutter/cartesian-charts/series-customization#animation) +* [Empty points](/flutter/cartesian-charts/series-customization#empty-points) +* [Sorting](/flutter/cartesian-charts/series-customization#sorting) \ No newline at end of file diff --git a/chart-sdk/flutter/cartesian-chart/chart-types/range-area-chart.md b/chart-sdk/flutter/cartesian-chart/chart-types/range-area-chart.md index 324c9538c..bca7074af 100644 --- a/chart-sdk/flutter/cartesian-chart/chart-types/range-area-chart.md +++ b/chart-sdk/flutter/cartesian-chart/chart-types/range-area-chart.md @@ -1,13 +1,13 @@ --- layout: post -title: Range Area Chart in Flutter Cartesian Chart | Syncfusion® -description: The range area chart support in Flutter Cartesian Chart offers visualization of value ranges between upper and lower bounds to highlight data variation. +title: Range area Chart in Flutter Cartesian Charts widget | Syncfusion +description: Learn here all about range area Chart of Syncfusion Flutter Cartesian Charts (SfCartesianChart) widget and more. platform: chart-sdk control: Chart documentation: ug --- -# Range Area Chart in Flutter Cartesian Chart +# Range area Chart in Flutter Cartesian Charts (SfCartesianChart) To create a Flutter range area chart quickly, you can check this video. @@ -57,7 +57,7 @@ Since the [`RangeAreaSeries`](https://pub.dev/documentation/syncfusion_flutter_c ![Range area chart](cartesian-chart-types-images/range_area.png) -## Border customization +### Border customization The borders of the range area chart can be customized using the [`borderDrawMode`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/RangeAreaSeries/borderDrawMode.html) property. The default value of the [`RangeAreaBorderMode`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/RangeAreaBorderMode.html) property is `all` and the other value is `excludeSides`. @@ -94,11 +94,11 @@ The borders of the range area chart can be customized using the [`borderDrawMode ![Range area border](cartesian-chart-types-images/range_area_border.png) -### See Also +#### See Also -* [Color palette](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#color-palette) -* [Color mapping](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#color-mapping-for-data-points) -* [Animation](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#animation) -* [Gradient](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#gradient-fill) -* [Empty points](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#empty-points) -* [Sorting](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#sorting) \ No newline at end of file +* [Color palette](/flutter/cartesian-charts/series-customization#color-palette) +* [Color mapping](/flutter/cartesian-charts/series-customization#color-mapping-for-data-points) +* [Animation](/flutter/cartesian-charts/series-customization#animation) +* [Gradient](/flutter/cartesian-charts/series-customization#gradient-fill) +* [Empty points](/flutter/cartesian-charts/series-customization#empty-points) +* [Sorting](/flutter/cartesian-charts/series-customization#sorting) \ No newline at end of file diff --git a/chart-sdk/flutter/cartesian-chart/chart-types/range-column-chart.md b/chart-sdk/flutter/cartesian-chart/chart-types/range-column-chart.md index da25e996c..dbd3da5f7 100644 --- a/chart-sdk/flutter/cartesian-chart/chart-types/range-column-chart.md +++ b/chart-sdk/flutter/cartesian-chart/chart-types/range-column-chart.md @@ -1,13 +1,13 @@ --- layout: post -title: Range Column Chart in Flutter Cartesian Chart | Syncfusion® -description: The range column chart support in Flutter Cartesian Chart offers visualization of value ranges using columns to compare upper and lower bounds effectively. +title: Range Column Chart in Flutter Cartesian Charts | Syncfusion +description: Step-by-step guide to create and customize Range Column Chart in Syncfusion Flutter Cartesian Charts—add range column series, style, and configure key features. platform: chart-sdk control: Chart documentation: ug --- -# Range Column Chart in Flutter Cartesian Chart +# Flutter Cartesian Charts Range Column Chart (SfCartesianChart) To create a Flutter range column chart quickly, you can check this video. @@ -145,11 +145,11 @@ The [`isTransposed`](https://pub.dev/documentation/syncfusion_flutter_charts/lat {% endhighlight %} {% endtabs %} -### See Also +#### See Also -* [Color palette](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#color-palette) -* [Color mapping](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#color-mapping-for-data-points) -* [Animation](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#animation) -* [Gradient](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#gradient-fill) -* [Empty points](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#empty-points) -* [Sorting](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#sorting) \ No newline at end of file +* [Color palette](/flutter/cartesian-charts/series-customization#color-palette) +* [Color mapping](/flutter/cartesian-charts/series-customization#color-mapping-for-data-points) +* [Animation](/flutter/cartesian-charts/series-customization#animation) +* [Gradient](/flutter/cartesian-charts/series-customization#gradient-fill) +* [Empty points](/flutter/cartesian-charts/series-customization#empty-points) +* [Sorting](/flutter/cartesian-charts/series-customization#sorting) \ No newline at end of file diff --git a/chart-sdk/flutter/cartesian-chart/chart-types/scatter-chart.md b/chart-sdk/flutter/cartesian-chart/chart-types/scatter-chart.md index d119263c5..51ce8c248 100644 --- a/chart-sdk/flutter/cartesian-chart/chart-types/scatter-chart.md +++ b/chart-sdk/flutter/cartesian-chart/chart-types/scatter-chart.md @@ -1,13 +1,13 @@ --- layout: post -title: Scatter Chart in Flutter Cartesian Chart | Syncfusion® -description: The scatter chart support in Flutter Cartesian Chart offers visualization of data relationships and distributions using customizable data points. +title: Scatter Chart in Flutter Cartesian Charts | Syncfusion +description: Step-by-step guide to create and customize Scatter Chart in Syncfusion Flutter Cartesian Charts—add scatter series, style, and configure key features. platform: chart-sdk control: Chart documentation: ug --- -# Scatter Chart in Flutter Cartesian Chart +# Flutter Cartesian Charts Scatter Chart (SfCartesianChart) To render a scatter chart, create an instance of [`ScatterSeries`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ScatterSeries-class.html), and add it to the [`series`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCartesianChart/series.html) collection property of [`SfCartesianChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCartesianChart-class.html). The following properties can be used to customize the scatter segment appearance. @@ -103,11 +103,11 @@ The [`height`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/ch ![Scatter shape](cartesian-chart-types-images/scatter_shape.jpg) -### See Also +#### See Also -* [Color palette](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#color-palette) -* [Color mapping](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#color-mapping-for-data-points) -* [Animation](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#animation) -* [Gradient](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#gradient-fill) -* [Empty points](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#empty-points) -* [Sorting](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#sorting) +* [Color palette](/flutter/cartesian-charts/series-customization#color-palette) +* [Color mapping](/flutter/cartesian-charts/series-customization#color-mapping-for-data-points) +* [Animation](/flutter/cartesian-charts/series-customization#animation) +* [Gradient](/flutter/cartesian-charts/series-customization#gradient-fill) +* [Empty points](/flutter/cartesian-charts/series-customization#empty-points) +* [Sorting](/flutter/cartesian-charts/series-customization#sorting) diff --git a/chart-sdk/flutter/cartesian-chart/chart-types/spline-area-chart.md b/chart-sdk/flutter/cartesian-chart/chart-types/spline-area-chart.md index e2c2e83eb..0e2337c3c 100644 --- a/chart-sdk/flutter/cartesian-chart/chart-types/spline-area-chart.md +++ b/chart-sdk/flutter/cartesian-chart/chart-types/spline-area-chart.md @@ -1,13 +1,13 @@ --- layout: post -title: Spline Area Chart in Flutter Cartesian Chart | Syncfusion® -description: The spline area chart support in Flutter Cartesian Chart offers smooth, filled curve visualizations to highlight trends and variations across data points. +title: Spline Area Chart in Flutter Cartesian Charts | Syncfusion +description: Step-by-step guide to customize Spline Area Chart in Syncfusion Flutter Cartesian Charts—add, style, and configure spline area series, and key features. platform: chart-sdk control: Chart documentation: ug --- -# Spline Area Chart in Flutter Cartesian Chart +# Flutter Cartesian Charts Spline Area Chart (SfCartesianChart) To render a spline area chart, create an instance of [`SplineAreaSeries`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SplineAreaSeries-class.html), and add it to the [`series`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCartesianChart/series.html) collection property of [`SfCartesianChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCartesianChart/SfCartesianChart.html). The following properties can be used to customize the appearance of the spline area chart: @@ -160,11 +160,11 @@ The [`dashArray`](https://pub.dev/documentation/syncfusion_flutter_charts/latest -### See Also +#### See Also -* [Color palette](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#color-palette) -* [Color mapping](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#color-mapping-for-data-points) -* [Animation](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#animation) -* [Gradient](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#gradient-fill) -* [Empty points](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#empty-points) -* [Sorting](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#sorting) \ No newline at end of file +* [Color palette](/flutter/cartesian-charts/series-customization#color-palette) +* [Color mapping](/flutter/cartesian-charts/series-customization#color-mapping-for-data-points) +* [Animation](/flutter/cartesian-charts/series-customization#animation) +* [Gradient](/flutter/cartesian-charts/series-customization#gradient-fill) +* [Empty points](/flutter/cartesian-charts/series-customization#empty-points) +* [Sorting](/flutter/cartesian-charts/series-customization#sorting) \ No newline at end of file diff --git a/chart-sdk/flutter/cartesian-chart/chart-types/spline-chart.md b/chart-sdk/flutter/cartesian-chart/chart-types/spline-chart.md index e31ae4969..633ba9191 100644 --- a/chart-sdk/flutter/cartesian-chart/chart-types/spline-chart.md +++ b/chart-sdk/flutter/cartesian-chart/chart-types/spline-chart.md @@ -1,13 +1,13 @@ --- layout: post -title: Spline Chart in Flutter Cartesian Chart | Syncfusion® -description: The spline chart support in Flutter Cartesian Chart offers smooth curve visualizations to display trends and patterns with enhanced visual continuity. +title: Spline Chart in Flutter Cartesian Charts | Syncfusion +description: Step-by-step guide to create and customize Spline Chart in Syncfusion Flutter Cartesian Charts—add spline series, style, and configure key features. platform: chart-sdk control: Chart documentation: ug --- -# Spline Chart in Flutter Cartesian Chart +# Flutter Cartesian Charts Spline Chart (SfCartesianChart) To render a spline chart, create an instance of [`SplineSeries`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SplineSeries-class.html), and add it to the [`series`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCartesianChart/series.html) collection property of [`SfCartesianChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCartesianChart/SfCartesianChart.html). The following properties can be used to customize the appearance of the spline segment: @@ -199,11 +199,11 @@ The [`isTransposed`](https://pub.dev/documentation/syncfusion_flutter_charts/lat ![Vertical spline chart](cartesian-chart-types-images/inversed-spline.png) -### See Also +#### See Also -* [Color palette](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#color-palette) -* [Color mapping](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#color-mapping-for-data-points) -* [Animation](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#animation) -* [Gradient](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#gradient-fill) -* [Empty points](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#empty-points) -* [Sorting](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#sorting) \ No newline at end of file +* [Color palette](/flutter/cartesian-charts/series-customization#color-palette) +* [Color mapping](/flutter/cartesian-charts/series-customization#color-mapping-for-data-points) +* [Animation](/flutter/cartesian-charts/series-customization#animation) +* [Gradient](/flutter/cartesian-charts/series-customization#gradient-fill) +* [Empty points](/flutter/cartesian-charts/series-customization#empty-points) +* [Sorting](/flutter/cartesian-charts/series-customization#sorting) \ No newline at end of file diff --git a/chart-sdk/flutter/cartesian-chart/chart-types/spline-range-area-chart.md b/chart-sdk/flutter/cartesian-chart/chart-types/spline-range-area-chart.md index 1ab826819..37f8fadd6 100644 --- a/chart-sdk/flutter/cartesian-chart/chart-types/spline-range-area-chart.md +++ b/chart-sdk/flutter/cartesian-chart/chart-types/spline-range-area-chart.md @@ -1,13 +1,13 @@ --- layout: post -title: Spline Range Area Chart in Flutter Cartesian Chart | Syncfusion® -description: The spline range area chart support in Flutter Cartesian Chart offers smooth visualization of value ranges between upper and lower bounds across data points. +title: Spline range area in Flutter Cartesian Charts widget | Syncfusion +description: Learn here all about spline range area chart of Syncfusion Flutter Cartesian Charts (SfCartesianChart) widget and more. platform: chart-sdk control: Chart documentation: ug --- -# Spline Range Area Chart in Flutter Cartesian Chart +# Spline range area Chart in Flutter Cartesian Charts (SfCartesianChart) To create a Flutter spline range area chart quickly, you can check this video. @@ -139,11 +139,11 @@ The borders of the spline range area chart can be customized using the [`borderD ![splinerangearea_bordermode](cartesian-chart-types-images/splinerangearea_bordermode.png) -### See Also +#### See Also -* [Color palette](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#color-palette) -* [Color mapping](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#color-mapping-for-data-points) -* [Animation](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#animation) -* [Gradient](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#gradient-fill) -* [Empty points](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#empty-points) -* [Sorting](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#sorting) \ No newline at end of file +* [Color palette](/flutter/cartesian-charts/series-customization#color-palette) +* [Color mapping](/flutter/cartesian-charts/series-customization#color-mapping-for-data-points) +* [Animation](/flutter/cartesian-charts/series-customization#animation) +* [Gradient](/flutter/cartesian-charts/series-customization#gradient-fill) +* [Empty points](/flutter/cartesian-charts/series-customization#empty-points) +* [Sorting](/flutter/cartesian-charts/series-customization#sorting) \ No newline at end of file diff --git a/chart-sdk/flutter/cartesian-chart/chart-types/stacked-area-100-chart.md b/chart-sdk/flutter/cartesian-chart/chart-types/stacked-area-100-chart.md index 4c4a92571..7bd77488e 100644 --- a/chart-sdk/flutter/cartesian-chart/chart-types/stacked-area-100-chart.md +++ b/chart-sdk/flutter/cartesian-chart/chart-types/stacked-area-100-chart.md @@ -1,14 +1,14 @@ --- layout: post -title: 100% Stacked Area Chart in Flutter Cartesian Chart | Syncfusion® -description: The 100% stacked area chart support in Flutter Cartesian Chart offers proportional trend visualization, showing each series contribution as a percentage. +title: 100% Stacked area in Flutter Cartesian Charts widget | Syncfusion +description: Learn here all about 100% stacked area chart of Syncfusion Flutter Cartesian Charts (SfCartesianChart) widget and more. platform: chart-sdk control: Chart documentation: ug --- -# 100% Stacked Area Chart in Flutter Cartesian Chart +# 100% Stacked area Chart in Flutter Cartesian Charts (SfCartesianChart) To create a Flutter 100% stacked area chart quickly, you can check this video. @@ -66,11 +66,11 @@ To render a 100% stacked area chart, create an instance of [`StackedArea100Serie ![Stacked 100Area chart](cartesian-chart-types-images/stacked_area_100.png) -## See Also +#### See Also -* [Color palette](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#color-palette) -* [Color mapping](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#color-mapping-for-data-points) -* [Animation](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#animation) -* [Gradient](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#gradient-fill) -* [Empty points](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#empty-points) -* [Sorting](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#sorting) \ No newline at end of file +* [Color palette](/flutter/cartesian-charts/series-customization#color-palette) +* [Color mapping](/flutter/cartesian-charts/series-customization#color-mapping-for-data-points) +* [Animation](/flutter/cartesian-charts/series-customization#animation) +* [Gradient](/flutter/cartesian-charts/series-customization#gradient-fill) +* [Empty points](/flutter/cartesian-charts/series-customization#empty-points) +* [Sorting](/flutter/cartesian-charts/series-customization#sorting) \ No newline at end of file diff --git a/chart-sdk/flutter/cartesian-chart/chart-types/stacked-area-chart.md b/chart-sdk/flutter/cartesian-chart/chart-types/stacked-area-chart.md index 7f3e305b0..0aa0d4741 100644 --- a/chart-sdk/flutter/cartesian-chart/chart-types/stacked-area-chart.md +++ b/chart-sdk/flutter/cartesian-chart/chart-types/stacked-area-chart.md @@ -1,13 +1,13 @@ --- layout: post -title: Stacked Area Chart in Flutter Cartesian Chart | Syncfusion® -description: The stacked area chart support in Flutter Cartesian Chart offers visualization of cumulative trends by stacking series values to show overall contribution. +title: Stacked area Chart in Flutter Cartesian Charts | Syncfusion +description: Learn here all about stacked area chart of Syncfusion Flutter Cartesian Charts (SfCartesianChart) widget and more. platform: chart-sdk control: Chart documentation: ug --- -# Stacked Area Chart in Flutter Cartesian Chart +# Stacked area Chart in Flutter Cartesian Charts (SfCartesianChart) To create a Flutter stacked area chart quickly, you can check this video. @@ -177,11 +177,11 @@ You can show the cumulative data label values using the [`showCumulativeValues`] ![Stacked area cumulative](cartesian-chart-types-images/stacked_area_cumulative.jpg) -### See Also +#### See Also -* [Color palette](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#color-palette) -* [Color mapping](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#color-mapping-for-data-points) -* [Animation](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#animation) -* [Gradient](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#gradient-fill) -* [Empty points](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#empty-points) -* [Sorting](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#sorting) \ No newline at end of file +* [Color palette](/flutter/cartesian-charts/series-customization#color-palette) +* [Color mapping](/flutter/cartesian-charts/series-customization#color-mapping-for-data-points) +* [Animation](/flutter/cartesian-charts/series-customization#animation) +* [Gradient](/flutter/cartesian-charts/series-customization#gradient-fill) +* [Empty points](/flutter/cartesian-charts/series-customization#empty-points) +* [Sorting](/flutter/cartesian-charts/series-customization#sorting) \ No newline at end of file diff --git a/chart-sdk/flutter/cartesian-chart/chart-types/stacked-bar-100-chart.md b/chart-sdk/flutter/cartesian-chart/chart-types/stacked-bar-100-chart.md index 8370fc145..ec9b5de78 100644 --- a/chart-sdk/flutter/cartesian-chart/chart-types/stacked-bar-100-chart.md +++ b/chart-sdk/flutter/cartesian-chart/chart-types/stacked-bar-100-chart.md @@ -1,13 +1,13 @@ --- layout: post -title: 100% Stacked Bar Chart in Flutter Cartesian Chart | Syncfusion® -description: The 100% stacked bar chart support in Flutter Cartesian Chart offers proportional data comparison, showing each series contribution as a percentage of the total +title: 100% Stacked bar in Flutter Cartesian Charts widget | Syncfusion +description: Learn here all about 100% stacked bar chart of Syncfusion Flutter Cartesian Charts (SfCartesianChart) widget and more. platform: chart-sdk control: Chart documentation: ug --- -# 100% Stacked Bar Chart in Flutter Cartesian Chart +# 100% Stacked bar Chart in Flutter Cartesian Charts (SfCartesianChart) To create a Flutter 100% stacked bar chart quickly, you can check this video. @@ -129,11 +129,11 @@ The [`width`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/cha ![Stacked 100 bar width and spacing](cartesian-chart-types-images/stacked_bar_100_sizing.png) -### See Also +#### See Also -* [Color palette](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#color-palette) -* [Color mapping](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#color-mapping-for-data-points) -* [Animation](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#animation) -* [Gradient](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#gradient-fill) -* [Empty points](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#empty-points) -* [Sorting](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#sorting) +* [Color palette](/flutter/cartesian-charts/series-customization#color-palette) +* [Color mapping](/flutter/cartesian-charts/series-customization#color-mapping-for-data-points) +* [Animation](/flutter/cartesian-charts/series-customization#animation) +* [Gradient](/flutter/cartesian-charts/series-customization#gradient-fill) +* [Empty points](/flutter/cartesian-charts/series-customization#empty-points) +* [Sorting](/flutter/cartesian-charts/series-customization#sorting) diff --git a/chart-sdk/flutter/cartesian-chart/chart-types/stacked-bar-chart.md b/chart-sdk/flutter/cartesian-chart/chart-types/stacked-bar-chart.md index 4198dfb11..8b01e89a8 100644 --- a/chart-sdk/flutter/cartesian-chart/chart-types/stacked-bar-chart.md +++ b/chart-sdk/flutter/cartesian-chart/chart-types/stacked-bar-chart.md @@ -1,13 +1,13 @@ --- layout: post -title: Stacked Bar Chart in Flutter Cartesian Chart | Syncfusion® -description: The stacked bar chart support in Flutter Cartesian Chart offers cumulative data comparison by stacking series values to show overall contribution. +title: Stacked Bar Chart in Flutter Cartesian Charts | Syncfusion +description: Step-by-step guide to create and customize Stacked Bar Chart in Syncfusion Flutter Cartesian Charts—add stacked bar series, style, and configure key features. platform: chart-sdk control: Chart documentation: ug --- -# Stacked Bar Chart in Flutter Cartesian Chart +# Flutter Cartesian Charts Stacked Bar Chart (SfCartesianChart) To create a Flutter stacked bar chart quickly, you can check this video. @@ -166,11 +166,11 @@ You can show the cumulative data label values using the [`showCumulativeValues`] ![Stacked bar cumulative](cartesian-chart-types-images/stacked_bar_cumulative.jpg) -### See Also +#### See Also -* [Color palette](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#color-palette) -* [Color mapping](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#color-mapping-for-data-points) -* [Animation](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#animation) -* [Gradient](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#gradient-fill) -* [Empty points](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#empty-points) -* [Sorting](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#sorting) \ No newline at end of file +* [Color palette](/flutter/cartesian-charts/series-customization#color-palette) +* [Color mapping](/flutter/cartesian-charts/series-customization#color-mapping-for-data-points) +* [Animation](/flutter/cartesian-charts/series-customization#animation) +* [Gradient](/flutter/cartesian-charts/series-customization#gradient-fill) +* [Empty points](/flutter/cartesian-charts/series-customization#empty-points) +* [Sorting](/flutter/cartesian-charts/series-customization#sorting) \ No newline at end of file diff --git a/chart-sdk/flutter/cartesian-chart/chart-types/stacked-column-100-chart.md b/chart-sdk/flutter/cartesian-chart/chart-types/stacked-column-100-chart.md index 327a102f6..1c7c1ecdc 100644 --- a/chart-sdk/flutter/cartesian-chart/chart-types/stacked-column-100-chart.md +++ b/chart-sdk/flutter/cartesian-chart/chart-types/stacked-column-100-chart.md @@ -1,13 +1,13 @@ --- layout: post -title: 100% Stacked Column Chart in Flutter Cartesian Chart | Syncfusion® -description: The 100% stacked column chart support in Flutter Cartesian Chart offers proportional data comparison, showing each series contribution as a percentage. +title: 100% Stacked column in Flutter Cartesian Charts widget | Syncfusion +description: Learn here all about 100% stacked Column chart of Syncfusion Flutter Cartesian Charts (SfCartesianChart) widget and more. platform: chart-sdk control: Chart documentation: ug --- -# 100% Stacked Column Chart in Flutter Cartesian Chart +# 100% Stacked column in Flutter Cartesian Charts (SfCartesianChart) To create a Flutter 100% stacked column chart quickly, you can check this video. @@ -108,11 +108,11 @@ The [`width`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/cha ![Stacked 100 column width and spacing](cartesian-chart-types-images/stacked_column_100_size.png) -### See Also +#### See Also -* [Color palette](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#color-palette) -* [Color mapping](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#color-mapping-for-data-points) -* [Animation](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#animation) -* [Gradient](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#gradient-fill) -* [Empty points](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#empty-points) -* [Sorting](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#sorting) \ No newline at end of file +* [Color palette](/flutter/cartesian-charts/series-customization#color-palette) +* [Color mapping](/flutter/cartesian-charts/series-customization#color-mapping-for-data-points) +* [Animation](/flutter/cartesian-charts/series-customization#animation) +* [Gradient](/flutter/cartesian-charts/series-customization#gradient-fill) +* [Empty points](/flutter/cartesian-charts/series-customization#empty-points) +* [Sorting](/flutter/cartesian-charts/series-customization#sorting) \ No newline at end of file diff --git a/chart-sdk/flutter/cartesian-chart/chart-types/stacked-column-chart.md b/chart-sdk/flutter/cartesian-chart/chart-types/stacked-column-chart.md index 92732e3e7..33597d0f6 100644 --- a/chart-sdk/flutter/cartesian-chart/chart-types/stacked-column-chart.md +++ b/chart-sdk/flutter/cartesian-chart/chart-types/stacked-column-chart.md @@ -1,13 +1,13 @@ --- layout: post -title: Stacked Column Chart in Flutter Cartesian Chart | Syncfusion® -description: The stacked column chart support in Flutter Cartesian Chart offers cumulative data comparison by stacking series values to show overall contribution. +title: Stacked Column Chart in Flutter Cartesian Charts | Syncfusion +description: Step-by-step guide to create and customize Stacked Column Chart in Syncfusion Flutter Cartesian Charts—add stacked column series, and configure key features. platform: chart-sdk control: Chart documentation: ug --- -# Stacked Column Chart in Flutter Cartesian Chart +# Flutter Cartesian Charts Stacked Column Chart (SfCartesianChart) To create a Flutter stacked column chart quickly, you can check this video. @@ -213,12 +213,12 @@ You can show the cumulative data label values using the [`showCumulativeValues`] ![Stacked column cumulative](cartesian-chart-types-images/stacked_column_cumulative.jpg) -### See Also +#### See Also * [Cumulative and non-cumulative values on the stacked column charts](https://support.syncfusion.com/kb/article/11406/how-to-show-cumulative-and-non-cumulative-values-on-the-stacked-column-charts). -* [Color palette](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#color-palette) -* [Color mapping](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#color-mapping-for-data-points) -* [Animation](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#animation) -* [Gradient](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#gradient-fill) -* [Empty points](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#empty-points) -* [Sorting](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#sorting) \ No newline at end of file +* [Color palette](/flutter/cartesian-charts/series-customization#color-palette) +* [Color mapping](/flutter/cartesian-charts/series-customization#color-mapping-for-data-points) +* [Animation](/flutter/cartesian-charts/series-customization#animation) +* [Gradient](/flutter/cartesian-charts/series-customization#gradient-fill) +* [Empty points](/flutter/cartesian-charts/series-customization#empty-points) +* [Sorting](/flutter/cartesian-charts/series-customization#sorting) \ No newline at end of file diff --git a/chart-sdk/flutter/cartesian-chart/chart-types/stacked-line-100-chart.md b/chart-sdk/flutter/cartesian-chart/chart-types/stacked-line-100-chart.md index d51d9e0ed..29c9c41f8 100644 --- a/chart-sdk/flutter/cartesian-chart/chart-types/stacked-line-100-chart.md +++ b/chart-sdk/flutter/cartesian-chart/chart-types/stacked-line-100-chart.md @@ -1,13 +1,13 @@ --- layout: post -title: 100% Stacked Line Chart in Flutter Cartesian Chart | Syncfusion® -description: The 100% stacked line chart support in Flutter Cartesian Chart offers proportional trend visualization, showing each series contribution as a percentage. +title: 100% Stacked line in Flutter Cartesian Charts widget | Syncfusion +description: Learn here all about 100% stacked line chart of Syncfusion Flutter Cartesian Charts (SfCartesianChart) widget and more. platform: chart-sdk control: Chart documentation: ug --- -# 100% Stacked Line Chart in Flutter Cartesian Chart +# 100% Stacked line Chart in Flutter Cartesian Charts (SfCartesianChart) To create a Flutter 100% stacked line chart quickly, you can check this video. @@ -114,11 +114,11 @@ The [`dashArray`](https://pub.dev/documentation/syncfusion_flutter_charts/latest ![Dashed line chart](cartesian-chart-types-images/stacked_line_100_dashes.png) -### See Also +#### See Also -* [Color palette](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#color-palette) -* [Color mapping](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#color-mapping-for-data-points) -* [Animation](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#animation) -* [Gradient](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#gradient-fill) -* [Empty points](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#empty-points) -* [Sorting](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#sorting) \ No newline at end of file +* [Color palette](/flutter/cartesian-charts/series-customization#color-palette) +* [Color mapping](/flutter/cartesian-charts/series-customization#color-mapping-for-data-points) +* [Animation](/flutter/cartesian-charts/series-customization#animation) +* [Gradient](/flutter/cartesian-charts/series-customization#gradient-fill) +* [Empty points](/flutter/cartesian-charts/series-customization#empty-points) +* [Sorting](/flutter/cartesian-charts/series-customization#sorting) \ No newline at end of file diff --git a/chart-sdk/flutter/cartesian-chart/chart-types/stacked-line-chart.md b/chart-sdk/flutter/cartesian-chart/chart-types/stacked-line-chart.md index 1cd9ac9f0..6da76653a 100644 --- a/chart-sdk/flutter/cartesian-chart/chart-types/stacked-line-chart.md +++ b/chart-sdk/flutter/cartesian-chart/chart-types/stacked-line-chart.md @@ -1,13 +1,13 @@ --- layout: post -title: Stacked Line Chart in Flutter Cartesian Chart | Syncfusion® -description: The stacked line chart support in Flutter Cartesian Chart offers cumulative trend visualization by stacking series values to show overall contribution. +title: Stacked Line Chart in Flutter Cartesian Charts | Syncfusion +description: Step-by-step guide to create and customize Stacked Line Chart in Syncfusion Flutter Cartesian Charts—add stacked line series, and configure key features. platform: chart-sdk control: Chart documentation: ug --- -# Stacked Line Chart in Flutter Cartesian Chart +# Flutter Cartesian Charts Stacked Line Chart (SfCartesianChart) To create a Flutter stacked line chart quickly, you can check this video. @@ -181,11 +181,11 @@ You can show the cumulative data label values using the [`showCumulativeValues`] ![Stacked line cumulative](cartesian-chart-types-images/stacked_line_cumulative.jpg) -### See Also +#### See Also -* [Color palette](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#color-palette) -* [Color mapping](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#color-mapping-for-data-points) -* [Animation](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#animation) -* [Gradient](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#gradient-fill) -* [Empty points](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#empty-points) -* [Sorting](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#sorting) \ No newline at end of file +* [Color palette](/flutter/cartesian-charts/series-customization#color-palette) +* [Color mapping](/flutter/cartesian-charts/series-customization#color-mapping-for-data-points) +* [Animation](/flutter/cartesian-charts/series-customization#animation) +* [Gradient](/flutter/cartesian-charts/series-customization#gradient-fill) +* [Empty points](/flutter/cartesian-charts/series-customization#empty-points) +* [Sorting](/flutter/cartesian-charts/series-customization#sorting) \ No newline at end of file diff --git a/chart-sdk/flutter/cartesian-chart/chart-types/step-area-chart.md b/chart-sdk/flutter/cartesian-chart/chart-types/step-area-chart.md index 2208a8aee..4481217d9 100644 --- a/chart-sdk/flutter/cartesian-chart/chart-types/step-area-chart.md +++ b/chart-sdk/flutter/cartesian-chart/chart-types/step-area-chart.md @@ -1,13 +1,13 @@ --- layout: post -title: Step Area Chart in Flutter Cartesian Chart | Syncfusion® -description: The step area chart support in Flutter Cartesian Chart offers stepped, filled visualizations to highlight changes that occur at discrete intervals. +title: Step area Chart in Flutter Cartesian Charts widget | Syncfusion +description: Learn here all about step area chart of Syncfusion Flutter Cartesian Charts (SfCartesianChart) widget and more. platform: chart-sdk control: Chart documentation: ug --- -# Step Area Chart in Flutter Cartesian Chart +# Step area Chart in Flutter Cartesian Charts (SfCartesianChart) To render a step area chart, create an instance of [`StepAreaSeries`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/StepAreaSeries-class.html), and add it to the [`series`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCartesianChart/series.html) collection property of [`SfCartesianChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCartesianChart/SfCartesianChart.html). The following properties can be used to customize the appearance of the step area chart. @@ -81,11 +81,11 @@ The [`dashArray`](https://pub.dev/documentation/syncfusion_flutter_charts/latest ![Dashed step area chart](cartesian-chart-types-images/step_area_dashed.png) -### See Also +#### See Also -* [Color palette](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#color-palette) -* [Color mapping](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#color-mapping-for-data-points) -* [Animation](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#animation) -* [Gradient](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#gradient-fill) -* [Empty points](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#empty-points) -* [Sorting](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#sorting) \ No newline at end of file +* [Color palette](/flutter/cartesian-charts/series-customization#color-palette) +* [Color mapping](/flutter/cartesian-charts/series-customization#color-mapping-for-data-points) +* [Animation](/flutter/cartesian-charts/series-customization#animation) +* [Gradient](/flutter/cartesian-charts/series-customization#gradient-fill) +* [Empty points](/flutter/cartesian-charts/series-customization#empty-points) +* [Sorting](/flutter/cartesian-charts/series-customization#sorting) \ No newline at end of file diff --git a/chart-sdk/flutter/cartesian-chart/chart-types/step-line-chart.md b/chart-sdk/flutter/cartesian-chart/chart-types/step-line-chart.md index 7a9dd6c73..32ea89dc1 100644 --- a/chart-sdk/flutter/cartesian-chart/chart-types/step-line-chart.md +++ b/chart-sdk/flutter/cartesian-chart/chart-types/step-line-chart.md @@ -1,13 +1,13 @@ --- layout: post -title: Step Line Chart in Flutter Cartesian Chart | Syncfusion® -description: The step line chart support in Flutter Cartesian Chart offers stepped trend visualization to represent data changes that occur at distinct intervals. +title: Step line Chart in Flutter Cartesian Charts widget | Syncfusion +description: Learn here all about step line chart of Syncfusion Flutter Cartesian Charts (SfCartesianChart) widget and more. platform: chart-sdk control: Chart documentation: ug --- -# Step Line Chart in Flutter Cartesian Chart +# Step line Chart in Flutter Cartesian Charts (SfCartesianChart) To render a step line chart, create an instance of [`StepLineSeries`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/StepLineSeries-class.html), and add it to the [`series`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCartesianChart/series.html) collection property of [`SfCartesianChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCartesianChart-class.html). The following properties can be used to customize the appearance of the step line chart: @@ -96,11 +96,11 @@ The [`dashArray`](https://pub.dev/documentation/syncfusion_flutter_charts/latest ![Step line chart](cartesian-chart-types-images/dashed_stepline.jpg) -### See Also +#### See Also -* [Color palette](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#color-palette) -* [Color mapping](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#color-mapping-for-data-points) -* [Animation](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#animation) -* [Gradient](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#gradient-fill) -* [Empty points](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#empty-points) -* [Sorting](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#sorting) \ No newline at end of file +* [Color palette](/flutter/cartesian-charts/series-customization#color-palette) +* [Color mapping](/flutter/cartesian-charts/series-customization#color-mapping-for-data-points) +* [Animation](/flutter/cartesian-charts/series-customization#animation) +* [Gradient](/flutter/cartesian-charts/series-customization#gradient-fill) +* [Empty points](/flutter/cartesian-charts/series-customization#empty-points) +* [Sorting](/flutter/cartesian-charts/series-customization#sorting) \ No newline at end of file diff --git a/chart-sdk/flutter/cartesian-chart/chart-types/waterfall-chart.md b/chart-sdk/flutter/cartesian-chart/chart-types/waterfall-chart.md index 27fa4b8f3..c6d7899f8 100644 --- a/chart-sdk/flutter/cartesian-chart/chart-types/waterfall-chart.md +++ b/chart-sdk/flutter/cartesian-chart/chart-types/waterfall-chart.md @@ -1,13 +1,13 @@ --- layout: post -title: Waterfall Chart in Flutter Cartesian Chart | Syncfusion® -description: The waterfall chart support in Flutter Cartesian Chart offers visualization of cumulative positive and negative changes to analyze value progression. +title: Waterfall Chart in Flutter Cartesian Charts widget | Syncfusion +description: Learn here all about waterfall chart of Syncfusion Flutter Cartesian Charts (SfCartesianChart) widget and more. platform: chart-sdk control: Chart documentation: ug --- -# Waterfall Chart in Flutter Cartesian Chart +# Waterfall Chart in Flutter Cartesian Charts (SfCartesianChart) The waterfall chart explains gradual changes in the quantitative value of an entity that is subject to changes by increments or decrements. Using the waterfall chart, you can quickly illustrate changes in revenues. @@ -80,11 +80,11 @@ To render a waterfall chart, create an instance of [`WaterfallSeries`](https://p ![waterfall_chart](cartesian-chart-types-images/waterfall_series.png) -## See Also +#### See Also -* [Color palette](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#color-palette) -* [Color mapping](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#color-mapping-for-data-points) -* [Animation](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#animation) -* [Gradient](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#gradient-fill) -* [Empty points](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#empty-points) -* [Sorting](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/series-customization#sorting) +* [Color palette](/flutter/cartesian-charts/series-customization#color-palette) +* [Color mapping](/flutter/cartesian-charts/series-customization#color-mapping-for-data-points) +* [Animation](/flutter/cartesian-charts/series-customization#animation) +* [Gradient](/flutter/cartesian-charts/series-customization#gradient-fill) +* [Empty points](/flutter/cartesian-charts/series-customization#empty-points) +* [Sorting](/flutter/cartesian-charts/series-customization#sorting) diff --git a/chart-sdk/flutter/cartesian-chart/charts-type.md b/chart-sdk/flutter/cartesian-chart/charts-type.md index f64a1eebb..5b075929e 100644 --- a/chart-sdk/flutter/cartesian-chart/charts-type.md +++ b/chart-sdk/flutter/cartesian-chart/charts-type.md @@ -1,15 +1,15 @@ --- layout: post -title: Chart Types in Flutter Cartesian Chart | Syncfusion® -description: The chart types support in Flutter Cartesian Chart offers a wide range of chart series to visualize trends, comparisons, distributions, and financial data. +title: Chart Types in Flutter Cartesian Charts | Syncfusion +description: Step-by-step guide to explore chart types in Syncfusion Flutter Cartesian Charts—compare, select, and configure key features for each type. platform: chart-sdk control: Chart documentation: ug --- -# Chart Types in Flutter Cartesian Chart +# Flutter Cartesian Charts Chart Types (SfCartesianChart) -This page helps you navigate the chart types available in the Syncfusion®® Flutter Cartesian Charts widgets. +This page helps to navigate to the Chart types available in the Syncfusion® Flutter Cartesian Charts widgets. @@ -17,7 +17,7 @@ This page helps you navigate the chart types available in the Syncfusion®& Line Chart @@ -25,7 +25,7 @@ This page helps you navigate the chart types available in the Syncfusion®& Fast line Chart @@ -33,7 +33,7 @@ This page helps you navigate the chart types available in the Syncfusion®& Area Chart @@ -41,7 +41,7 @@ This page helps you navigate the chart types available in the Syncfusion®& Spline Chart @@ -49,7 +49,7 @@ This page helps you navigate the chart types available in the Syncfusion®& Column Chart @@ -57,15 +57,15 @@ This page helps you navigate the chart types available in the Syncfusion®& Bar Chart @@ -73,7 +73,7 @@ This page helps you navigate the chart types available in the Syncfusion®& Scatter Chart @@ -81,7 +81,7 @@ This page helps you navigate the chart types available in the Syncfusion®& Step line Chart @@ -89,7 +89,7 @@ This page helps you navigate the chart types available in the Syncfusion®& Range column Chart @@ -97,7 +97,7 @@ This page helps you navigate the chart types available in the Syncfusion®& Range area Chart @@ -105,7 +105,7 @@ This page helps you navigate the chart types available in the Syncfusion®& Spline area Chart @@ -113,7 +113,7 @@ This page helps you navigate the chart types available in the Syncfusion®& Spline range area Chart @@ -121,7 +121,7 @@ This page helps you navigate the chart types available in the Syncfusion®& Step area Chart @@ -129,7 +129,7 @@ This page helps you navigate the chart types available in the Syncfusion®& Histogram Chart @@ -137,7 +137,7 @@ This page helps you navigate the chart types available in the Syncfusion®& Stacked line Chart @@ -145,7 +145,7 @@ This page helps you navigate the chart types available in the Syncfusion®& Stacked area Chart @@ -153,7 +153,7 @@ This page helps you navigate the chart types available in the Syncfusion®& Stacked column Chart @@ -161,7 +161,7 @@ This page helps you navigate the chart types available in the Syncfusion®& Stacked bar Chart @@ -169,7 +169,7 @@ This page helps you navigate the chart types available in the Syncfusion®& Stacked area 100 Chart @@ -177,7 +177,7 @@ This page helps you navigate the chart types available in the Syncfusion®& Stacked column 100 Chart @@ -185,7 +185,7 @@ This page helps you navigate the chart types available in the Syncfusion®& Stacked bar 100 Chart @@ -193,7 +193,7 @@ This page helps you navigate the chart types available in the Syncfusion®& Stacked line 100 Chart @@ -201,7 +201,7 @@ This page helps you navigate the chart types available in the Syncfusion®& HiLo Chart @@ -209,7 +209,7 @@ This page helps you navigate the chart types available in the Syncfusion®& OHLC Chart @@ -217,7 +217,7 @@ This page helps you navigate the chart types available in the Syncfusion®& Candle Chart @@ -225,7 +225,7 @@ This page helps you navigate the chart types available in the Syncfusion®& Box and Whisker Chart @@ -233,7 +233,7 @@ This page helps you navigate the chart types available in the Syncfusion®& Waterfall Chart @@ -241,7 +241,7 @@ This page helps you navigate the chart types available in the Syncfusion®& Error bar Chart
      - Line Chart Link + Link
      - Fast line Chart Link + Link
      - Area Chart Link + Link
      - Spline Chart Link + Link
      - Column Chart Link + Link
      - Bar Chart Link + Link
      - Scatter Chart + Bubble Chart - Scatter Chart Link + Link
      - Scatter Chart Link + Link
      - Step line Chart Link + Link
      - Range column Chart Link + Link
      - Range area Chart Link + Link
      - Spline area Chart Link + Link
      - Spline range area Chart Link + Link
      - Step area Chart Link + Link
      - Histogram Chart Link + Link
      - Stacked line Chart Link + Link
      - Stacked area Chart Link + Link
      - Stacked column Chart Link + Link
      - Stacked bar Chart Link + Link
      - Stacked area 100 Chart Link + Link
      - Stacked column 100 Chart Link + Link
      - Stacked bar 100 Chart Link + Link
      - Stacked line 100 Chart Link + Link
      - HiLo Chart Link + Link
      - OHLC Chart Link + Link
      - Candle Chart Link + Link
      - Box and Whisker Chart Link + Link
      - Waterfall Chart Link + Link
      - Error bar Chart Link + Link
      diff --git a/chart-sdk/flutter/cartesian-chart/export-cartesian-chart.md b/chart-sdk/flutter/cartesian-chart/export-cartesian-chart.md index a501a02d0..05a351ec0 100644 --- a/chart-sdk/flutter/cartesian-chart/export-cartesian-chart.md +++ b/chart-sdk/flutter/cartesian-chart/export-cartesian-chart.md @@ -1,15 +1,15 @@ --- layout: post -title: Exporting in Flutter Cartesian Chart | Syncfusion® -description: The exporting support in Flutter Cartesian Chart offers image and document export options for easy sharing, reporting, and presentation. +title: Exporting in Flutter Cartesian Charts | Syncfusion +description: Step-by-step guide to export Syncfusion Flutter Cartesian Charts (SfCartesianChart) as images or PDF—learn to export charts programmatically, customize export settings, and more key features. platform: chart-sdk control: Chart documentation: ug --- -# Exporting in Flutter Cartesian Chart +# Flutter Cartesian Charts Exporting (SfCartesianChart) -[`SfCartesianChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCartesianChart-class.html) provides support for exporting the Cartesian chart as a PNG image or a PDF document. +[`SfCartesianChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCartesianChart-class.html) provides support to export the Cartesian chart as a PNG image or as a PDF document. ## Export image diff --git a/chart-sdk/flutter/cartesian-chart/getting-started.md b/chart-sdk/flutter/cartesian-chart/getting-started.md index 601c81c45..f2038cbe7 100644 --- a/chart-sdk/flutter/cartesian-chart/getting-started.md +++ b/chart-sdk/flutter/cartesian-chart/getting-started.md @@ -1,17 +1,17 @@ --- layout: post -title: Getting Started with Flutter Cartesian Chart | Syncfusion -description: Learn how to get started with Flutter Cartesian Chart provides step-by-step guidance to create, configure, and display interactive charts quickly. +title: Getting started with Flutter Cartesian Charts | Syncfusion +description: Step-by-step guide to set up Syncfusion Flutter Cartesian Charts—add dependencies, import, create SfCartesianChart, and configure key features. platform: chart-sdk control: Chart documentation: ug --- -# Getting Started with Flutter Cartesian Chart +# Flutter Cartesian Charts Getting Started (SfCartesianChart) -This section explains the steps required to populate the chart with data, title, data labels, legend, and tooltips. This section covers only the essential features needed to get started with the chart. +This section explains the steps required to populate the chart with data, title, data labels, legend, and tooltips. This section covers only the minimal features needed to know to get started with the chart. -To get started quickly with our Flutter chart widget, you can watch this video. +To get started quickly with our Flutter chart widget, you can check out this video. @@ -22,7 +22,7 @@ Create a simple project using the instructions given in the [Getting Started wit **Add dependency** -Add the Syncfusion®® Flutter Chart dependency to your pubspec.yaml file. +Add the Syncfusion® Flutter Chart dependency to your pub spec file. {% tabs %} {% highlight dart %} @@ -34,7 +34,7 @@ Add the Syncfusion®® Flutter Chart dependency to your pubspec.ya {% endhighlight %} {% endtabs %} ->**Note**: Here **xx.x.xx** denotes the current version of [`Syncfusion® Flutter Charts`](https://pub.dev/packages/syncfusion_flutter_charts/versions) package. +>**Note**: Here **xx.x.xx** denotes the current version of [`Syncfusion Flutter Charts`](https://pub.dev/packages/syncfusion_flutter_charts/versions) package. **Get packages** @@ -62,7 +62,7 @@ Import the following package in your Dart code. ## Initialize chart -Once the package has been imported, initialize the chart as a child of any widget. SfCartesianChart is used to render charts that are plotted in Cartesian coordinates. Here, as we are plotting a line chart, initialize the SfCartesianChart widget as a child of the Container widget. +Once the package has been imported, initialize the chart as a child of any widget. SfCartesianChart is used to render all kinds of charts which need to be plotted in Cartesian coordinates. Here, as we are plotting line chart, initialize SfCartesianChart widget as a child of Container widget. {% tabs %} {% highlight dart hl_lines="7" %} @@ -131,7 +131,7 @@ Based on your data, initialize the appropriate axis type and series type. In the ![Bind data source in Flutter Charts.](images/getting-started/flutter-charts-data-source.jpg) -### See Also +#### See Also * [Bind data from the list to the Flutter Cartesian chart](https://support.syncfusion.com/kb/article/10935/how-to-bind-data-from-the-list-to-the-flutter-cartesian-chart-sfcartesianchart). @@ -144,7 +144,7 @@ To know more about how to create Flutter Charts from JSON data, you can watch th ## Add title -You can add a [`title`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCartesianChart/title.html) to the chart to provide quick information about the plotted data. The chart title can be set as demonstrated in the following code snippet. +You can add a [`title`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCartesianChart/title.html) to the chart to provide quick information to users about the data plotted in the chart. The title to chart can be set as demonstrated in the following code snippet. {% tabs %} {% highlight dart %} @@ -244,9 +244,9 @@ You can add data labels to improve the readability of the chart using the [`data The legend provides information about the series rendered in the chart. -You can enable the legend in a chart by setting the [`isVisible`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/Legend/isVisible.html) property to true in [`legend`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/Legend-class.html). +You can use legend in chart by setting the [`isVisible`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/Legend/isVisible.html) property to true in [`legend`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/Legend-class.html). -Additionally, the series [`name`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartSeries/name.html) property can be used to set the label for each series. The labels will be displayed in the corresponding legend. +Additionally, the series [`name`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartSeries/name.html) property can be used to set the label for each series. The labels will be displayed in corresponding legends. {% tabs %} {% highlight dart %} @@ -357,10 +357,10 @@ The [`tooltipBehavior`](https://pub.dev/documentation/syncfusion_flutter_charts/ ![Tooltip in Flutter Charts.](images/getting-started/flutter-charts-tooltip.png) -You can find the complete getting started example from this [link](https://support.syncfusion.com/kb/article/9941/how-to-integrate-syncfusion-charts-in-flutter-web-application-sfcartesianchart). +You can find the complete getting started example from this [`link`](https://support.syncfusion.com/kb/article/9941/how-to-integrate-syncfusion-charts-in-flutter-web-application-sfcartesianchart). ->**Note**: You can refer to our [`Flutter Charts`](https://www.syncfusion.com/flutter-widgets/flutter-charts) feature tour page for its feature highlights. You can also explore our [`Flutter Charts example`](https://flutter.syncfusion.com/#/cartesian-charts/chart-types/line/default-line-chart) to see how to render various chart types and configure them with built-in support for creating visual effects. +>**Note**: You can refer to our [`Flutter Charts`](https://www.syncfusion.com/flutter-widgets/flutter-charts) feature tour page for its groundbreaking feature representations. You can also explore our [`Flutter Charts example`](https://flutter.syncfusion.com/#/cartesian-charts/chart-types/line/default-line-chart) that shows how to render various chart types as well as how to easily configure with built-in support for creating stunning visual effects. -### See Also +#### See Also * [Integrate Syncfusion® Flutter charts in Flutter web Application](https://support.syncfusion.com/kb/article/9941/how-to-integrate-syncfusion-charts-in-flutter-web-application-sfcartesianchart). diff --git a/chart-sdk/flutter/cartesian-chart/how-to/custom-widget-on-flutterflow.md b/chart-sdk/flutter/cartesian-chart/how-to/custom-widget-on-flutterflow.md index ebff64004..fc908dd12 100644 --- a/chart-sdk/flutter/cartesian-chart/how-to/custom-widget-on-flutterflow.md +++ b/chart-sdk/flutter/cartesian-chart/how-to/custom-widget-on-flutterflow.md @@ -1,13 +1,13 @@ --- layout: post -title: How to add Syncfusion® Cartesian Chart in FlutterFlow | Syncfusion® -description: Add Syncfusion® Cartesian Chart in FlutterFlow to visualize data with interactive chart features, customizable axes, and rich data presentation options. +title: Flutter Cartesian Charts in FlutterFlow | Syncfusion +description: Step-by-step guide to add and use Syncfusion Flutter Cartesian Charts widget in FlutterFlow—learn to create a custom widget, add dependencies, import packages, use code snippets, and integrate charts visually. platform: chart-sdk control: Chart documentation: ug --- -# How to add Syncfusion® Cartesian Chart in FlutterFlow +# How to add Syncfusion® Cartesian Chart widget in FlutterFlow? ## Overview diff --git a/chart-sdk/flutter/cartesian-chart/legend.md b/chart-sdk/flutter/cartesian-chart/legend.md index 48d72db11..dc5c9a836 100644 --- a/chart-sdk/flutter/cartesian-chart/legend.md +++ b/chart-sdk/flutter/cartesian-chart/legend.md @@ -1,15 +1,15 @@ --- layout: post -title: Legend in Flutter Cartesian Chart | Syncfusion® -description: The legend support in Flutter Cartesian Chart offers customizable legend items, layouts, and positioning to improve chart readability. +title: Legend in Flutter Cartesian Charts | Syncfusion +description: Step-by-step guide to control legends in Syncfusion Flutter Cartesian Charts—enable, position, style, and configure key features. platform: chart-sdk control: Chart documentation: ug --- -# Legend in Flutter Cartesian Chart +# Flutter Cartesian Charts Legend (SfCartesianChart) -The [`legend`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCartesianChart/legend.html) contains a list of chart series or data points in the chart. The information provided in each legend item helps identify the corresponding data series in the chart. +The [`legend`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCartesianChart/legend.html) contains a list of chart series/data points in chart. The information provided in each legend item helps to identify the corresponding data series in chart. {% tabs %} {% highlight dart hl_lines="9" %} @@ -557,4 +557,4 @@ You can customize the appearance of legend items with your template by using [`l {% endhighlight %} {% endtabs %} ->**Note**: `chartData` in the above code snippets is a class type list and holds the data for binding to the chart series. Refer [Bind data source](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/getting-started#bind-data-source) topic for more details. +>**Note**: `chartData` in the above code snippets is a class type list and holds the data for binding to the chart series. Refer [Bind data source](https://help.syncfusion.com/flutter/cartesian-charts/getting-started#bind-data-source) topic for more details. diff --git a/chart-sdk/flutter/cartesian-chart/localization.md b/chart-sdk/flutter/cartesian-chart/localization.md index 9acd6377b..74f2e3d82 100644 --- a/chart-sdk/flutter/cartesian-chart/localization.md +++ b/chart-sdk/flutter/cartesian-chart/localization.md @@ -1,15 +1,15 @@ --- layout: post -title: Localization in Flutter Cartesian Chart | Syncfusion® -description: The localization support in Flutter Cartesian Chart offers region-specific formatting and translated chart elements for global audience support. +title: Localization in Flutter Cartesian Charts widget | Syncfusion +description: Learn here all about Localization feature of Syncfusion Flutter Cartesian Charts (SfCartesianChart) widget and more. platform: chart-sdk control: Chart documentation: ug --- -# Localization in Flutter Cartesian Chart +# Localization in Flutter Cartesian Charts (SfCartesianChart) -By default, the Cartesian charts widget supports US English localization. You can change it to other languages by specifying the [`MaterialApp`](https://api.flutter.dev/flutter/material/MaterialApp/MaterialApp.html) properties and adding the `flutter_localizations` package to your application. +By default, the Cartesian charts widget supports US English localizations. You can change the other languages by specifying the [`MaterialApp`](https://api.flutter.dev/flutter/material/MaterialApp/MaterialApp.html) properties and adding the `flutter_localizations` package to your application. To use `flutter_localizations`, add the package as dependency to `pubspec.yaml` file. diff --git a/chart-sdk/flutter/cartesian-chart/marker-datalabel.md b/chart-sdk/flutter/cartesian-chart/marker-datalabel.md index ab20a52a1..24cd9ad87 100644 --- a/chart-sdk/flutter/cartesian-chart/marker-datalabel.md +++ b/chart-sdk/flutter/cartesian-chart/marker-datalabel.md @@ -1,17 +1,17 @@ --- layout: post -title: Marker and Data Label in Flutter Cartesian Chart | Syncfusion® -description: The marker and data label support in Flutter Cartesian Chart offers customizable markers and labels to enhance data visibility and interpretation. +title: Marker and Data Label Customization in Flutter Cartesian Charts | Syncfusion +description: Step-by-step guide to control markers and data labels in Syncfusion Flutter Cartesian Charts—enable, style, and configure key features. platform: chart-sdk control: Chart documentation: ug --- -# Marker and Data Label in Flutter Cartesian Chart +# Flutter Cartesian Charts Marker and Data Label (SfCartesianChart) ## Marker -Markers are used to provide information about the exact point location. You can add a shape to adorn each data point. Markers can be enabled by using the [`isVisible`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/MarkerSettings/isVisible.html) property of [`markerSettings`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartSeries/markerSettings.html). You can use the following properties to customize their appearance. +Markers are used to provide information about the exact point location. You can add a shape to adorn each data point. Markers can be enabled by using the [`isVisible`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/MarkerSettings/isVisible.html) property of [`markerSettings`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartSeries/markerSettings.html). You can use the following properties to customize the appearance. * [`color`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/MarkerSettings/color.html) - used to change the color of the marker shape. * [`borderWidth`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/MarkerSettings/borderWidth.html) - used to change the stroke width of the marker shape. @@ -581,4 +581,4 @@ If the user didn't provide text color to the data label, then by default, the sa ![label_saturation](images/marker-datalabel/cartesian_saturation.png) ->**Note**: `chartData` in the above code snippets is a class type list and holds the data for binding to the chart series. Refer [Bind data source](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/getting-started#bind-data-source) topic for more details. +>**Note**: `chartData` in the above code snippets is a class type list and holds the data for binding to the chart series. Refer [Bind data source](https://help.syncfusion.com/flutter/cartesian-charts/getting-started#bind-data-source) topic for more details. diff --git a/chart-sdk/flutter/cartesian-chart/methods.md b/chart-sdk/flutter/cartesian-chart/methods.md index 7870f0615..69a113302 100644 --- a/chart-sdk/flutter/cartesian-chart/methods.md +++ b/chart-sdk/flutter/cartesian-chart/methods.md @@ -1,13 +1,13 @@ --- layout: post -title: Methods in Flutter Cartesian Chart | Syncfusion® -description: The methods in Flutter Cartesian Chart documentation provide publicly accessible APIs for performing chart-related operations programmatically. +title: Methods in Flutter Cartesian Charts | Syncfusion +description: Step-by-step guide to use methods in Syncfusion Flutter Cartesian Charts—show or hide tooltips, trackball, zoom, and configure key features. platform: chart-sdk control: Chart documentation: ug --- -# Methods in Flutter Cartesian Chart +# Flutter Cartesian Charts Methods (SfCartesianChart) ## Methods in Plot band @@ -15,7 +15,7 @@ documentation: ug The `drawRect` method is used to customize the appearance of the plot band. -The following code sample shows how to customize the appearance of the plot band by using the drawRect method. +This following code sample shows how to customize the appearance of the plot band by using drawRect method. {% tabs %} {% highlight dart %} @@ -1245,7 +1245,7 @@ The [`drawHorizontalAxisTooltip`](https://pub.dev/documentation/syncfusion_flutt The [`drawVerticalAxisTooltip`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CrosshairBehavior/drawVerticalAxisTooltip.html) method is used to customize the tooltip label, position, and style for vertical axis tooltip. -For further reference, please consult the [`drawHorizontalAxisTooltip`](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/methods#drawhorizontalaxistooltip-method-in-crosshairbehavior) code sample. +For further reference, please consult the [`drawHorizontalAxisTooltip`](https://help.syncfusion.com/flutter/cartesian-charts/methods#drawhorizontalaxistooltip-method-in-crosshairbehavior) code sample. ![Crosshair Vertical Axis Tooltip](images\trackball-crosshair/custom_crosshair_vertical_tooltip.png) @@ -2272,7 +2272,7 @@ Widget build(BuildContext context) { {% endhighlight %} {% endtabs %} -### See Also +#### See Also * [Rendering real time live charts using updateDataSource method](https://support.syncfusion.com/kb/article/10783/how-to-create-flutter-real-time-charts-using-the-cartesian-charts-widget-sfcartesianchart). @@ -2371,10 +2371,10 @@ and funnel charts. {% endhighlight %} {% endtabs %} -### See Also +#### See Also * [Show or hide tooltip dynamically in Cartesian chart](https://support.syncfusion.com/kb/article/9957/how-to-show-or-hide-the-tooltip-dynamically-in-flutter-cartesian-charts-sfcartesianchart). * [Show or hide trackball dynamically in Cartesian chart](https://support.syncfusion.com/kb/article/9960/how-to-show-or-hide-trackball-dynamically-in-flutter-cartesian-charts-sfcartesianchart). * [Show or hide crosshair dynamically in Cartesian chart](https://support.syncfusion.com/kb/article/9911/how-to-show-or-hide-crosshair-dynamically-in-flutter-cartesian-charts-sfcartesianchart). ->**Note**: `chartData` in the above code snippets is a class type list and holds the data for binding to the chart series. Refer [Bind data source](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/getting-started#bind-data-source) topic for more details. +>**Note**: `chartData` in the above code snippets is a class type list and holds the data for binding to the chart series. Refer [Bind data source](https://help.syncfusion.com/flutter/cartesian-charts/getting-started#bind-data-source) topic for more details. diff --git a/chart-sdk/flutter/cartesian-chart/multiple-charts.md b/chart-sdk/flutter/cartesian-chart/multiple-charts.md index bed2b558e..9a97c35e2 100644 --- a/chart-sdk/flutter/cartesian-chart/multiple-charts.md +++ b/chart-sdk/flutter/cartesian-chart/multiple-charts.md @@ -1,17 +1,17 @@ --- layout: post -title: Multiple Charts in Flutter Cartesian Chart | Syncfusion® -description: The multiple charts support in Flutter Cartesian Chart offers displaying and arranging multiple chart instances to compare and analyze datasets together. +title: Multiple Charts in Flutter Cartesian Charts | Syncfusion +description: Step-by-step guide to create multiple charts in Syncfusion Flutter Cartesian Charts—add series, use axes, combine types, and configure key features. platform: chart-sdk control: Chart documentation: ug --- -# Multiple Charts in Flutter Cartesian Chart +# Flutter Cartesian Charts Multiple Charts (SfCartesianChart) ## Multiple series -You can add multiple series to the [`series`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCartesianChart/series.html) property of the [`SfCartesianChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCartesianChart-class.html) class. By default, all the series are rendered based on the [`PrimaryXAxis`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCartesianChart/primaryXAxis.html) and [`PrimaryYAxis`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCartesianChart/primaryYAxis.html) in [`SfCartesianChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCartesianChart-class.html). If you want to plot a different unit or value that is specific to a particular series, specify a separate axis for that series using the [`xAxisName`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CartesianSeries/xAxisName.html) and [`yAxisName`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CartesianSeries/yAxisName.html) properties of the series. +You can add multiple series to the [`series`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCartesianChart/series.html) property of the [`SfCartesianChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCartesianChart-class.html) class. By default, all the series are rendered based on the [`PrimaryXAxis`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCartesianChart/primaryXAxis.html) and [`PrimaryYAxis`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCartesianChart/primaryYAxis.html) in [`SfCartesianChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCartesianChart-class.html). If you want to plot different unit or value that is specific to a particular series, specify separate axis for that series using the [`xAxisName`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CartesianSeries/xAxisName.html) and [`yAxisName`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CartesianSeries/yAxisName.html) properties of series. {% tabs %} {% highlight dart %} @@ -123,5 +123,5 @@ Also refer [multiple axes](./axis-customization#multiple-axes) for customizing t * Cartesian type series cannot be combined with circular series (pie, doughnut, and radial bar). >**Note**: -* `chartData` in the above code snippets is a class type list and holds the data for binding to the chart series. Refer [Bind data source](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/getting-started#bind-data-source) topic for more details. +* `chartData` in the above code snippets is a class type list and holds the data for binding to the chart series. Refer [Bind data source](https://help.syncfusion.com/flutter/cartesian-charts/getting-started#bind-data-source) topic for more details. * You can refer to our [Flutter Combination Chart](https://www.syncfusion.com/flutter-widgets/flutter-charts/chart-types/combination-chart) feature tour page for its groundbreaking feature representations. \ No newline at end of file diff --git a/chart-sdk/flutter/cartesian-chart/on-demand-loading.md b/chart-sdk/flutter/cartesian-chart/on-demand-loading.md index 00d6af61f..6e907c9b5 100644 --- a/chart-sdk/flutter/cartesian-chart/on-demand-loading.md +++ b/chart-sdk/flutter/cartesian-chart/on-demand-loading.md @@ -1,15 +1,15 @@ --- layout: post -title: On-demand loading in Flutter Cartesian Chart | Syncfusion® -description: The on-demand loading support in Flutter Cartesian Chart offers dynamic data loading as users interact, improving performance with large datasets. +title: On-demand loading in Flutter Cartesian Charts widget | Syncfusion +description: Learn here all about On-demand loading feature of Syncfusion Flutter Cartesian Charts (SfCartesianChart) widget and more. platform: chart-sdk control: Chart documentation: ug --- -# On-demand loading in Flutter Cartesian Chart +# On-demand loading in Flutter Cartesian Charts (SfCartesianChart) -[`SfCartesianChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCartesianChart-class.html) provides support for returning a widget that can be used to load more data to the chart when the visible range reaches the end while dragging in the chart, with the help of the [`loadMoreIndicatorBuilder`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCartesianChart/loadMoreIndicatorBuilder.html) builder. +[`SfCartesianChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCartesianChart-class.html) provides support to return a widget which can be used to load more data to the chart when the visible range reaches the end on dragging in the chart with the help of the [`loadMoreIndicatorBuilder`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCartesianChart/loadMoreIndicatorBuilder.html) builder. To learn more about how to lazy load data while panning in Flutter Charts, you can watch this video. @@ -69,8 +69,8 @@ The example below demonstrates the infinite scrolling by showing the ci ![Infinite_scrolling](images/on-demand-loading/infinite_scrolling.gif) ->**Note**: `chartData` in the above code snippets is a class type list and holds the data for binding to the chart series. Refer [Bind data source](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/getting-started#bind-data-source) topic for more details. +>**Note**: `chartData` in the above code snippets is a class type list and holds the data for binding to the chart series. Refer [Bind data source](https://help.syncfusion.com/flutter/cartesian-charts/getting-started#bind-data-source) topic for more details. -### See Also +#### See Also * [Lazily load more data to the chart](https://support.syncfusion.com/kb/article/10855/how-to-lazily-load-more-data-to-the-chart-sfcartesianchart). \ No newline at end of file diff --git a/chart-sdk/flutter/cartesian-chart/overview.md b/chart-sdk/flutter/cartesian-chart/overview.md index d62ab5eea..8286f7092 100644 --- a/chart-sdk/flutter/cartesian-chart/overview.md +++ b/chart-sdk/flutter/cartesian-chart/overview.md @@ -1,15 +1,15 @@ --- layout: post -title: About Syncfusion® Flutter Cartesian Chart | Syncfusion® -description: Learn here all about introduction of Syncfusion® Flutter Cartesian Chart widget, its features, and more details +title: Overview of Flutter Cartesian Charts | Syncfusion +description: Step-by-step guide about Syncfusion Flutter Cartesian Charts—explore chart types, axis types, legends, and configure key features for Flutter apps. platform: chart-sdk control: Chart documentation: ug --- -# About Syncfusion® Flutter Cartesian Chart +# Flutter Cartesian Charts Overview (SfCartesianChart) -Syncfusion® Flutter Cartesian Charts (SfCartesianChart) widget is written natively in Dart for creating beautiful, high-performance Cartesian charts that are used to craft high-quality applications using Flutter. +Syncfusion® Flutter Cartesian Charts (SfCartesianChart) widget is written natively in Dart for creating beautiful and high-performance Cartesian charts, which are used to craft high-quality applications using Flutter. ![Overview flutter chart](images/overview/overview.png) @@ -41,6 +41,6 @@ To get started quickly with our Flutter chart widget, you can check out this vid >**Note**: You can refer to our [Flutter Charts](https://www.syncfusion.com/flutter-widgets/flutter-charts) feature tour page for its groundbreaking feature representations. You can also explore our [Flutter Charts example](https://flutter.syncfusion.com/#/cartesian-charts/chart-types/line/default-line-chart) that shows how to render various chart types as well as how to easily configure with built-in support for creating stunning visual effects. -### See Also +#### See Also * [Integrating syncfusion® flutter charts in a flutter web application](https://support.syncfusion.com/kb/article/9941/how-to-integrate-syncfusion-charts-in-flutter-web-application-sfcartesianchart). \ No newline at end of file diff --git a/chart-sdk/flutter/cartesian-chart/right-to-left.md b/chart-sdk/flutter/cartesian-chart/right-to-left.md index e349f4063..1dcf76a4d 100644 --- a/chart-sdk/flutter/cartesian-chart/right-to-left.md +++ b/chart-sdk/flutter/cartesian-chart/right-to-left.md @@ -1,15 +1,15 @@ --- layout: post -title: Right To Left (RTL) support in Flutter Cartesian Chart | Syncfusion® -description: The RTL support in Flutter Cartesian Chart offers right-to-left rendering for chart elements, improving usability in RTL language applications. +title: RTL support in Flutter Cartesian Charts widget | Syncfusion +description: Learn here about the RTL support in Syncfusion Flutter Cartesian Charts (SfCartesianChart) widget and more. platform: chart-sdk control: Chart documentation: ug --- -# Right To Left (RTL) in Flutter Cartesian Chart +# Right To Left (RTL) in Flutter Cartesian Chart (SfCartesianChart) -Cartesian chart supports right-to-left rendering. However, chart axes, series, and other chart elements render the same for both LTR and RTL except for trackball, tooltip, and legend. +Cartesian chart supports the right to left rendering. However chart axis, series, and other chart elements rendering will be the same for both LTR and RTL except trackball, tooltip, and legend. ## RTL rendering ways diff --git a/chart-sdk/flutter/cartesian-chart/selection.md b/chart-sdk/flutter/cartesian-chart/selection.md index 98c96ea38..09cfce4a6 100644 --- a/chart-sdk/flutter/cartesian-chart/selection.md +++ b/chart-sdk/flutter/cartesian-chart/selection.md @@ -1,15 +1,15 @@ --- layout: post -title: Selection in Flutter Cartesian Chart | Syncfusion® -description: The selection support in Flutter Cartesian Chart offers interactive point and series selection with customizable styles to highlight data insights. +title: Selection in Flutter Cartesian Charts widget | Syncfusion +description: Learn here all about Selection feature of Syncfusion Flutter Cartesian Charts (SfCartesianChart) widget and more. platform: chart-sdk control: Chart documentation: ug --- -# Selection in Flutter Cartesian Chart +# Selection in Flutter Cartesian Charts (SfCartesianChart) -The selection feature in the chart lets you select a segment in a series or the series itself. This feature allows you to select either an individual segment or a cluster of segments in the chart series. +The selection feature in chart let you to select a segment in a series or the series itself. This feature allows you to select either individual or cluster of segments in the chart series. {% tabs %} {% highlight dart %} @@ -357,10 +357,10 @@ Defaults to `true`. ![Toggle selection](images/selection/cartesian_deselection.gif) -Also refer [selection event](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/callbacks#onselectionchanged) for customizing the selection further. +Also refer [selection event](https://help.syncfusion.com/flutter/cartesian-charts/callbacks#onselectionchanged) for customizing the selection further. -### See Also +#### See Also * [Dynamically selecting the data points in a chart](https://support.syncfusion.com/kb/article/10146/how-to-select-the-data-points-dynamically-in-cartesian-charts-sfcartesianchart). ->**Note**: `chartData` in the above code snippets is a class type list and holds the data for binding to the chart series. Refer [Bind data source](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/getting-started#bind-data-source) topic for more details. +>**Note**: `chartData` in the above code snippets is a class type list and holds the data for binding to the chart series. Refer [Bind data source](https://help.syncfusion.com/flutter/cartesian-charts/getting-started#bind-data-source) topic for more details. diff --git a/chart-sdk/flutter/cartesian-chart/series-customization.md b/chart-sdk/flutter/cartesian-chart/series-customization.md index 3fe2adc76..d45038fb8 100644 --- a/chart-sdk/flutter/cartesian-chart/series-customization.md +++ b/chart-sdk/flutter/cartesian-chart/series-customization.md @@ -1,17 +1,17 @@ --- layout: post -title: Series Customization in Flutter Cartesian Chart | Syncfusion® -description: The series customization support in Flutter Cartesian Chart offers control over colors, borders, spacing, animations, and series appearance. +title: Series Customization in Flutter Cartesian Charts | Syncfusion +description: Step-by-step guide to control series in Syncfusion Flutter Cartesian Charts—enable animation, handle empty points, and configure key features. platform: chart-sdk control: Chart documentation: ug --- -# Series Customization in Flutter Cartesian Chart +# Flutter Cartesian Charts Series Customization (SfCartesianChart) ## Animation -[`SfCartesianChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCartesianChart-class.html) provides animation support for the series. The series are animated during rendering. Animation is enabled by default, and you can control the duration of the animation using the [`animationDuration`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartSeries/animationDuration.html) property. You can disable the animation by setting this property to 0. +[`SfCartesianChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCartesianChart-class.html) provides animation support for the series. Series will be animated during rendering. Animation is enabled by default, and you can control the duration of the animation using [`animationDuration`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartSeries/animationDuration.html) property. You can disable the animation by setting this property to 0. {% tabs %} {% highlight dart hl_lines="13" %} @@ -692,8 +692,8 @@ The chart’s data source can be sorted using the [`sortingOrder`](https://pub.d ![Sorting](images/cartesian-customization/sortings.jpg) -### See Also +#### See Also * [Rendering a chart using JSON data retrieved from a fire base](https://support.syncfusion.com/kb/article/10589/how-to-render-the-flutter-chart-using-json-data-stored-in-firebase-database). ->**Note**: `chartData` in the above code snippets is a class type list and holds the data for binding to the chart series. Refer [Bind data source](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/getting-started#bind-data-source) topic for more details. +>**Note**: `chartData` in the above code snippets is a class type list and holds the data for binding to the chart series. Refer [Bind data source](https://help.syncfusion.com/flutter/cartesian-charts/getting-started#bind-data-source) topic for more details. diff --git a/chart-sdk/flutter/cartesian-chart/technical-indicators.md b/chart-sdk/flutter/cartesian-chart/technical-indicators.md index 1440c70bb..67c8d9dad 100644 --- a/chart-sdk/flutter/cartesian-chart/technical-indicators.md +++ b/chart-sdk/flutter/cartesian-chart/technical-indicators.md @@ -1,13 +1,13 @@ --- layout: post -title: Technical Indicators in Flutter Cartesian Chart | Syncfusion® -description: The technical indicators support in Flutter Cartesian Chart offers built-in financial indicators to analyze trends, momentum, and market movements effectively. +title: Technical Indicators in Flutter Cartesian Charts | Syncfusion +description: Step-by-step guide to add technical indicators in Syncfusion Flutter Cartesian Charts—configure AD, ATR, EMA, MACD, RSI, and key features. platform: chart-sdk control: Chart documentation: ug --- -# Technical Indicators in Flutter Cartesian Chart +# Flutter Cartesian Charts Technical Indicators (SfCartesianChart) The different types of technical indicators available in the chart are as follows: @@ -26,7 +26,7 @@ The different types of technical indicators available in the chart are as follow ## Adding Technical indicator into Chart -To render any indicator, add it to the [`TechnicalIndicators`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/TechnicalIndicator-class.html) collection using the indicators in [`SfCartesianChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCartesianChart-class.html). The following properties can be used to customize the appearance: +To render any indicator, add it to the [`TechnicalIndicators`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/TechnicalIndicator-class.html) collection using the indicators in [`SfCartesianChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCartesianChart-class.html).The following properties can be used to customize the appearance: * [`isVisible`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/TechnicalIndicator/isVisible.html) - To check the visibility of the indicator. * [`period`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/AtrIndicator/period.html)- Used to indicates the moving average period. @@ -759,9 +759,9 @@ Refer the following example below ![Binding data source to Indicators](images/technical-indicators/indicator_binding.jpg) -### See Also +#### See Also -* [Refer this link for technical indicators callback](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/callbacks#onrenderdetailsupdate). +* [Refer this link for technical indicators callback](https://help.syncfusion.com/flutter/cartesian-charts/callbacks#onrenderdetailsupdate). * [Bind data source to technical indicators in Flutter Cartesian chart](https://support.syncfusion.com/kb/article/11420/bind-data-source-to-technical-indicators-in-flutter-cartesian-chart). @@ -790,4 +790,4 @@ Refer the following example below * [`Weighted moving average indicator`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/WmaIndicator-class.html) (WMA) - can be rendered with five value mappers ([`xValueMapper`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/TechnicalIndicator/xValueMapper.html), [`lowValueMapper`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/TechnicalIndicator/lowValueMapper.html), [`highValueMapper`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/TechnicalIndicator/highValueMapper.html), [`openValueMapper`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/TechnicalIndicator/openValueMapper.html), [`closeValueMapper`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/TechnicalIndicator/closeValueMapper.html)). ->**Note**: `chartData` in the above code snippets is a class type list and holds the data for binding to the chart series. Refer [Bind data source](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/getting-started#bind-data-source) topic for more details. +>**Note**: `chartData` in the above code snippets is a class type list and holds the data for binding to the chart series. Refer [Bind data source](https://help.syncfusion.com/flutter/cartesian-charts/getting-started#bind-data-source) topic for more details. diff --git a/chart-sdk/flutter/cartesian-chart/tooltip.md b/chart-sdk/flutter/cartesian-chart/tooltip.md index 16742808c..cf104b868 100644 --- a/chart-sdk/flutter/cartesian-chart/tooltip.md +++ b/chart-sdk/flutter/cartesian-chart/tooltip.md @@ -1,15 +1,15 @@ --- layout: post -title: Tooltip in Flutter Cartesian Chart | Syncfusion® -description: The tooltip support in Flutter Cartesian Chart offers interactive data insights with customizable content and appearance for better user engagement. +title: Tooltip in Flutter Cartesian Charts | Syncfusion +description: Step-by-step guide to control tooltips in Syncfusion Flutter Cartesian Charts—enable, format, style tooltips, and configure key features. platform: chart-sdk control: Chart documentation: ug --- -# Tooltip in Flutter Cartesian Chart +# Flutter Cartesian Charts Tooltip (SfCartesianChart) -The chart provides tooltip support for all the series. It is used to show information about the segment when you tap on the segment. To enable the tooltip, you can set the [`enable`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/TooltipBehavior/enable.html) property of [`tooltipBehavior`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/TooltipBehavior-class.html) to *true*. By default, the tooltip is set to *false*. You need to set the [`enableTooltip`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartSeries/enableTooltip.html) property to *true* to enable the tooltip for a particular series only. +Chart provides tooltip support for all the series. It is used to show information about the segment when you tap on the segment. To enable the tooltip, you can set the [`enable`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/TooltipBehavior/enable.html) property of [`tooltipBehavior`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/TooltipBehavior-class.html) to *true*. By default, the tooltip is set to *false*. You need to set [`enableTooltip`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartSeries/enableTooltip.html) property to *true* to enable tooltip for a particular series alone. The tooltip state will be preserved on the device's orientation change and on browser resize. For example, if the tooltip's [`duration`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/TooltipBehavior/duration.html) is set to 10,000ms, and when you change the orientation of your device from portrait to landscape after 5,000ms of tooltip display, the tooltip will be displayed for the next 5,000ms in landscape mode before disappearing. @@ -55,7 +55,7 @@ The tooltip state will be preserved on the device's orientation change and on br ![Tooltip](images/tooltip/default_tooltip.jpg) -## See Also +#### See Also * [Activate chart tooltip after the chart got rendered](https://support.syncfusion.com/kb/article/10627/how-to-activate-chart-tooltip-initially-after-the-chart-widget-got-rendered). diff --git a/chart-sdk/flutter/cartesian-chart/trackball-crosshair.md b/chart-sdk/flutter/cartesian-chart/trackball-crosshair.md index fbaae00ce..5d3cb3dfc 100644 --- a/chart-sdk/flutter/cartesian-chart/trackball-crosshair.md +++ b/chart-sdk/flutter/cartesian-chart/trackball-crosshair.md @@ -1,17 +1,17 @@ --- layout: post -title: Trackball and Crosshair in Flutter Cartesian Chart | Syncfusion® -description: The trackball and crosshair support in Flutter Cartesian Chart offers precise data inspection with interactive pointers for accurate analysis and comparison. +title: Trackball and Crosshair Customization in Flutter Cartesian Charts | Syncfusion +description: Step-by-step guide to control trackball and crosshair in Syncfusion Flutter Cartesian Charts—enable, format, style, and configure key features. platform: chart-sdk control: Chart documentation: ug --- -# Trackball and Crosshair in Flutter Cartesian Chart +# Flutter Cartesian Charts Trackball and Crosshair (SfCartesianChart) ## Trackball -The trackball feature displays the tooltip for the data points that are closer to the point where you touch the chart area. This feature can be used instead of the data label feature when you cannot show data labels for all data points due to space constraints. It can be enabled using the [`enable`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/TrackballBehavior/enable.html) property of [`trackballBehavior`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCartesianChart/trackballBehavior.html). The trackball is activated once you long-press anywhere on the chart area. Once activated, it appears in the UI and moves based on your touch movement until you stop touching the chart. +Trackball feature displays the tooltip for the data points that are closer to the point where you touch on the chart area. This feature, especially, can be used instead of data label feature when you cannot show data labels for all data points due to space constraint. This feature can be enabled using [`enable`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/TrackballBehavior/enable.html) property of [`trackballBehavior`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCartesianChart/trackballBehavior.html). Trackball will be activated once you long-press anywhere on the chart area. Once it is activated, it will appear in the UI and move based on your touch movement until you stop touching on the chart. The trackball state will be preserved on the device's orientation change and on browser resize. For example, if the trackball's [`hideDelay`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/TrackballBehavior/hideDelay.html) is set to 10,000ms, and when you change the orientation of your device from portrait to landscape after 5,000ms of trackball display, the trackball will be displayed for the next 5,000ms in landscape mode before disappearing. @@ -891,10 +891,10 @@ The ActivationMode enum contains the following values: {% endhighlight %} {% endtabs %} -Also refer [`crosshair`](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/callbacks#oncrosshairpositionchanging) and [`trackball`](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/callbacks#ontrackballpositionchanging) events for customizing the crosshair and trackball further. +Also refer [`crosshair`](https://help.syncfusion.com/flutter/cartesian-charts/callbacks#oncrosshairpositionchanging) and [`trackball`](https://help.syncfusion.com/flutter/cartesian-charts/callbacks#ontrackballpositionchanging) events for customizing the crosshair and trackball further. #### See Also * [Disabling trackball tooltip for particular series in Cartesian chart](https://support.syncfusion.com/kb/article/10176/how-to-disable-trackball-tooltip-for-particular-series-in-cartesian-charts-sfcartesianchart). ->**Note**: `chartData` in the above code snippets is a class type list and holds the data for binding to the chart series. Refer [Bind data source](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/getting-started#bind-data-source) topic for more details. +>**Note**: `chartData` in the above code snippets is a class type list and holds the data for binding to the chart series. Refer [Bind data source](https://help.syncfusion.com/flutter/cartesian-charts/getting-started#bind-data-source) topic for more details. diff --git a/chart-sdk/flutter/cartesian-chart/trendline.md b/chart-sdk/flutter/cartesian-chart/trendline.md index a1eea3560..4fe3db09b 100644 --- a/chart-sdk/flutter/cartesian-chart/trendline.md +++ b/chart-sdk/flutter/cartesian-chart/trendline.md @@ -1,15 +1,15 @@ --- layout: post -title: Trendlines in Flutter Cartesian Chart | Syncfusion® -description: The trendlines support in Flutter Cartesian Chart offers built-in trend analysis by displaying data patterns and forecasting directions visually. +title: Trendlines in Flutter Cartesian Charts widget | Syncfusion +description: Learn here all about Trendlines feature of Syncfusion Flutter Cartesian Charts (SfCartesianChart) widget and more. platform: chart-sdk control: Chart documentation: ug --- -# Trendlines in Flutter Cartesian Chart +# Trendlines in Flutter Cartesian Charts (SfCartesianChart) -Trendlines are used to show the direction and speed of price changes. +Trendlines are used to show the direction and speed of price. Trendlines can be generated for the Cartesian type series (Line, Column, Scatter, Area, Candle, HiLo, etc.) except bar type series. You can add more than one trendline to a series. @@ -534,6 +534,6 @@ Chart will display details about the points through tooltip when user interactio ![tooltip](images/trendline/tooltip.png) -Also refer [`trendline event`](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/callbacks#onrenderdetailsupdate-trendline) for customizing the tooltip further. +Also refer [`trendline event`](https://help.syncfusion.com/flutter/cartesian-charts/callbacks#onrenderdetailsupdate-trendline) for customizing the tooltip further. ->**Note**: `chartData` in the above code snippets is a class type list and holds the data for binding to the chart series. Refer [Bind data source](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/getting-started#bind-data-source) topic for more details. +>**Note**: `chartData` in the above code snippets is a class type list and holds the data for binding to the chart series. Refer [Bind data source](https://help.syncfusion.com/flutter/cartesian-charts/getting-started#bind-data-source) topic for more details. diff --git a/chart-sdk/flutter/cartesian-chart/zoom-pan.md b/chart-sdk/flutter/cartesian-chart/zoom-pan.md index d1dc8e177..f9ed56329 100644 --- a/chart-sdk/flutter/cartesian-chart/zoom-pan.md +++ b/chart-sdk/flutter/cartesian-chart/zoom-pan.md @@ -1,13 +1,13 @@ --- layout: post -title: Zooming and Panning in Flutter Cartesian Chart | Syncfusion® -description: The zooming and panning support in Flutter Cartesian Chart offers intuitive navigation to explore, inspect, and analyze large datasets efficiently. +title: Zooming and Panning in Flutter Cartesian Charts | Syncfusion +description: Step-by-step guide to enable zooming and panning in Syncfusion Flutter Cartesian Charts—use pinch, double-tap, selection, and configure key features. platform: chart-sdk control: Chart documentation: ug --- -# Zooming and Panning in Flutter Cartesian Chart +# Flutter Cartesian Charts Zooming and Panning (SfCartesianChart) ## Pinch zooming @@ -50,7 +50,7 @@ Pinch zooming can be enabled by setting the [`enablePinching`](https://pub.dev/d ## Directional zooming -The directional zooming feature improves the zoom experience by allowing users to zoom in and out in a specific direction (horizontal, vertical, or diagonal) based on their finger gesture. To enable this feature, set the [`enableDirectionalZooming`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ZoomPanBehavior/enableDirectionalZooming.html) property to `true`. The default value is `false`. The following code sample demonstrates how to enable directional zooming. +The directional zooming feature improves the zoom experience by allowing users to zoom in and out in a specific direction (horizontal, vertical, or diagonal) based on their finger gesture. To enable this feature, set the [`enableDirectionalZooming`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ZoomPanBehavior/enableDirectionalZooming.html) property to `true`, the default value is `false`. The following code sample demonstrates how to enable directional zooming. {% tabs %} {% highlight dart hl_lines="7" %} @@ -391,7 +391,7 @@ Also refer [`zooming`](./callbacks#onzooming), [`zoom start`](./callbacks#onzoom ### Calculate range based on visible points -The [`anchorRangeToVisiblePoints`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartAxis/anchorRangeToVisiblePoints.html) property can be used to calculate the value axis range based on the visible points. When the property is set to false the value axis range will be calculated based on all the data points in the chart irrespective of visible points. For further reference, check this [AutoRangeCalculation](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/axis-customization#auto-range-calculation) section. +The [`anchorRangeToVisiblePoints`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartAxis/anchorRangeToVisiblePoints.html) property can be used to calculate the value axis range based on the visible points. When the property is set to false the value axis range will be calculated based on all the data points in the chart irrespective of visible points. For further reference, check this [AutoRangeCalculation](https://help.syncfusion.com/flutter/cartesian-charts/axis-customization#auto-range-calculation) section. #### See Also diff --git a/chart-sdk/flutter/circular-chart/accessibility.md b/chart-sdk/flutter/circular-chart/accessibility.md index d8fbd0a99..b2af5b032 100644 --- a/chart-sdk/flutter/circular-chart/accessibility.md +++ b/chart-sdk/flutter/circular-chart/accessibility.md @@ -1,41 +1,41 @@ --- layout: post -title: Accessibility in Flutter Circular Chart | Syncfusion® -description: The accessibility support in Flutter Circular Chart offers sufficient contrast, large fonts, and tappable targets for an inclusive user experience. +title: Accessibility in Flutter Circular Charts widget | Syncfusion +description: Learn here all about Accessibility feature of Syncfusion Flutter Circular Charts (SfCircularChart) widget and more. platform: chart-sdk control: Chart documentation: ug --- -# Accessibility in Flutter Circular Chart +# Accessibility in Flutter Circular Charts (SfCircularChart) ## Sufficient contrast -The [`SfCircularChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCircularChart-class.html) [`theming`](https://help.syncfusion.com/flutter/themes) support offers a consistent and standardized look, as well as the ability to set colors for all UI elements. +The [`SfCircularChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCircularChart-class.html) [`theming`](https://help.syncfusion.com/flutter/themes) support offers a consistent and standardized look, as well as the ability to set the colors for all UI elements. The customization of colors can be done for the following chart elements. -* [Chart title](https://help.syncfusion.com/chart-sdk/flutter/circular-chart/chart-title) -* [Series palette](https://help.syncfusion.com/chart-sdk/flutter/circular-chart/circular-series-customization#color-palette) -* [Color mapping for data points](https://help.syncfusion.com/chart-sdk/flutter/circular-chart/circular-series-customization#color-mapping-for-data-points) -* [Shader for data points](https://help.syncfusion.com/chart-sdk/flutter/circular-chart/circular-series-customization#gradient-and-image-shader) -* [Data label](https://help.syncfusion.com/chart-sdk/flutter/circular-chart/datalabel) -* [Legend title](https://help.syncfusion.com/chart-sdk/flutter/circular-chart/legend#legend-title) -* [Legend item text](https://help.syncfusion.com/chart-sdk/flutter/circular-chart/legend#customizing-legend) -* [Series tooltip](https://help.syncfusion.com/chart-sdk/flutter/circular-chart/tooltip#customizing-the-appearance) -* [Selected segments](https://help.syncfusion.com/chart-sdk/flutter/circular-chart/selection#customizing-the-segments) +* [Chart title](https://help.syncfusion.com/flutter/circular-charts/chart-title) +* [Series palette](https://help.syncfusion.com/flutter/circular-charts/circular-series-customization#color-palette) +* [Color mapping for data points](https://help.syncfusion.com/flutter/circular-charts/circular-series-customization#color-mapping-for-data-points) +* [Shader for data points](https://help.syncfusion.com/flutter/circular-charts/circular-series-customization#gradient-and-image-shader) +* [Data label](https://help.syncfusion.com/flutter/circular-charts/datalabel) +* [Legend title](https://help.syncfusion.com/flutter/circular-charts/legend#legend-title) +* [Legend item text](https://help.syncfusion.com/flutter/circular-charts/legend#customizing-legend) +* [Series tooltip](https://help.syncfusion.com/flutter/circular-charts/tooltip#customizing-the-appearance) +* [Selected segments](https://help.syncfusion.com/flutter/circular-charts/selection#customizing-the-segments) ## Large fonts -The [`SfCircularChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCircularChart-class.html) font size can be adjusted automatically based on device settings and scaled based on the [`MediaQueryData.textScaler`](https://api.flutter.dev/flutter/widgets/MediaQueryData/textScaler.html). It also allows you to change the font size of all elements in the circular chart. -* [Chart title](https://help.syncfusion.com/chart-sdk/flutter/circular-chart/chart-title) -* [Data label](https://help.syncfusion.com/chart-sdk/flutter/circular-chart/datalabel) -* [Legend title](https://help.syncfusion.com/chart-sdk/flutter/circular-chart/legend#legend-title) -* [Legend item text](https://help.syncfusion.com/chart-sdk/flutter/circular-chart/legend#customizing-legend) -* [Series tooltip](https://help.syncfusion.com/chart-sdk/flutter/circular-chart/tooltip#customizing-the-appearance) +The [`SfCircularChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCircularChart-class.html) font size can be adjusted automatically based on device settings and the font size scaled based on the [`MediaQueryData.textScaler`](https://api.flutter.dev/flutter/widgets/MediaQueryData/textScaler.html). It also allows you to change the font size of all elements in Circular chart. +* [Chart title](https://help.syncfusion.com/flutter/circular-charts/chart-title) +* [Data label](https://help.syncfusion.com/flutter/circular-charts/datalabel) +* [Legend title](https://help.syncfusion.com/flutter/circular-charts/legend#legend-title) +* [Legend item text](https://help.syncfusion.com/flutter/circular-charts/legend#customizing-legend) +* [Series tooltip](https://help.syncfusion.com/flutter/circular-charts/tooltip#customizing-the-appearance) ## Easily tappable targets -The [`SfCircularChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCircularChart-class.html) provides callback support to notify when tapping essential elements in the chart. -* [Data points](https://help.syncfusion.com/chart-sdk/flutter/circular-chart/callbacks#onpointtap) -* [Data labels](https://help.syncfusion.com/chart-sdk/flutter/circular-chart/callbacks#ondatalabeltapped) -* [Legend](https://help.syncfusion.com/chart-sdk/flutter/circular-chart/callbacks#onlegendtapped) \ No newline at end of file +The [`SfCircularChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCircularChart-class.html) provides callback support to notify when tapping on the essential elements in the chart. +* [Data points](https://help.syncfusion.com/flutter/circular-charts/callbacks#onpointtap) +* [Data labels](https://help.syncfusion.com/flutter/circular-charts/callbacks#ondatalabeltapped) +* [Legend](https://help.syncfusion.com/flutter/circular-charts/callbacks#onlegendtapped) \ No newline at end of file diff --git a/chart-sdk/flutter/circular-chart/annotations.md b/chart-sdk/flutter/circular-chart/annotations.md index fce8d7cc2..3e637e0d2 100644 --- a/chart-sdk/flutter/circular-chart/annotations.md +++ b/chart-sdk/flutter/circular-chart/annotations.md @@ -1,15 +1,15 @@ --- layout: post -title: Annotation in Flutter Circular Chart | Syncfusion® -description: The annotation support in Flutter Circular Chart offers custom content placement within the chart area to highlight insights and enhance visualization. +title: Annotation in Flutter Circular Charts widget | Syncfusion +description: Learn here all about Annotation feature of Syncfusion Flutter Circular Charts (SfCircularChart) widget and more. platform: chart-sdk control: Chart documentation: ug --- -# Annotation in Flutter Circular Chart +# Annotation in Flutter Circular Charts (SfCircularChart) -The chart supports annotations, which allow you to mark a specific area of interest in the chart area. You can add custom widgets using this annotation feature, as shown below. +Chart supports annotations which allows you to mark the specific area of interest in the chart area. You can add the custom widgets using this annotations feature as depicted below. {% tabs %} {% highlight dart %} @@ -43,13 +43,13 @@ The chart supports annotations, which allow you to mark a specific area of inter ## Positioning the annotation -The [`horizontalAlignment`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CircularChartAnnotation/horizontalAlignment.html) and [`verticalAlignment`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CircularChartAnnotation/verticalAlignment.html) values can be specified to align the annotation widget horizontally or vertically, and the [`radius`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CircularChartAnnotation/radius.html) property can be used to place the annotation, with values ranging from `0%` to `100%`. +The [`horizontalAlignment`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CircularChartAnnotation/horizontalAlignment.html) and [`verticalAlignment`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CircularChartAnnotation/verticalAlignment.html) values can be specified to align the annotation widget either horizontally or vertically, and the also the property [`radius`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CircularChartAnnotation/radius.html) can be used for placing the annotation whose values range from `0%` to `100%`. Defaults to `0%`. **Positioning based on Alignment and Radius** -To place the annotation based on the radius value, set the [`radius`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CircularChartAnnotation/radius.html). To change the annotation alignment, use the [`horizontalAlignment`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CircularChartAnnotation/horizontalAlignment.html) and [`verticalAlignment`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CircularChartAnnotation/verticalAlignment.html) properties, as shown in the following code snippet. +To place the annotation based on the radius values, set the [`radius`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CircularChartAnnotation/radius.html), and for changing the alignment of the annotation use the [`horizontalAlignment`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CircularChartAnnotation/horizontalAlignment.html) and [`verticalAlignment`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CircularChartAnnotation/verticalAlignment.html) properties of annotation are shown in the following code snippet. {% tabs %} {% highlight dart %} @@ -85,7 +85,7 @@ To place the annotation based on the radius value, set the [`radius`](https://pu ## Chart with watermark -The chart supports watermark, which allows you to mark a specific area of interest in the chart area. You can add custom widgets and watermarks using this annotation feature, as shown below. +Chart supports watermark which allows you to mark the specific area of interest in the chart area. You can add the custom widgets and watermarks using this annotations feature as depicted below. {% tabs %} {% highlight dart %} diff --git a/chart-sdk/flutter/circular-chart/callbacks.md b/chart-sdk/flutter/circular-chart/callbacks.md index 660651373..aa5a914f9 100644 --- a/chart-sdk/flutter/circular-chart/callbacks.md +++ b/chart-sdk/flutter/circular-chart/callbacks.md @@ -1,13 +1,13 @@ --- layout: post -title: Callbacks in Flutter Circular Chart | Syncfusion® -description: The callback support in Flutter Circular Chart offers events for selection, legend, data labels, tooltips, and rendering to enable interactive experiences. +title: Callbacks in Flutter Circular Charts widget | Syncfusion +description: Learn here all about available Callbacks feature of Syncfusion Flutter Circular Charts (SfCircularChart) widget and more. platform: chart-sdk control: Chart documentation: ug --- -# Callbacks in Flutter Circular Chart +# Callbacks in Flutter Circular Charts (SfCircularChart) Circular chart contains the below listed callbacks @@ -157,7 +157,7 @@ Triggers when tapping on the series point. The [`onPointTap`](https://pub.dev/do {% endhighlight %} {% endtabs %} -### See Also +#### See Also * [Show the tapped point value at the center of the doughnut chart](https://support.syncfusion.com/kb/article/11377/how-to-show-the-tapped-point-value-at-the-center-of-the-doughnut-chart-sfcircularchart). diff --git a/chart-sdk/flutter/circular-chart/chart-appearance.md b/chart-sdk/flutter/circular-chart/chart-appearance.md index ed4592b8a..2c267312f 100644 --- a/chart-sdk/flutter/circular-chart/chart-appearance.md +++ b/chart-sdk/flutter/circular-chart/chart-appearance.md @@ -1,17 +1,17 @@ --- layout: post -title: Customization in Flutter Circular Chart | Syncfusion® -description: The customization support in Flutter Circular Chart offers extensive control over chart appearance, series styling, colors, animations, and layout settings. +title: Customization in Flutter Circular Charts widget | Syncfusion +description: Learn here all about Customization of Syncfusion Flutter Circular Charts (SfCircularChart) widget and more. platform: chart-sdk control: Chart documentation: ug --- -# Customization in Flutter Circular Chart +# Customization in Flutter Circular Charts (SfCircularChart) ## Chart sizing -The chart renders based on the parent widget size. If you need the chart to be rendered in a specific size, set the size (width and height) on the parent widget. By default, initializing only the [`SfCircularChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCircularChart-class.html) without defining any of its properties renders a white screen. +Chart renders based on the parent widget size. If you need the chart to be rendered in specific size, then set the size(width/height) to the parent widget. By default initializing only the [`SfCircularChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCircularChart-class.html) without defining any of its properties renders a white screen. {% tabs %} {% highlight dart hl_lines="8 10" %} @@ -38,7 +38,7 @@ The chart renders based on the parent widget size. If you need the chart to be r ## Chart margin -The chart margin can be specified using the [`margin`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCircularChart/margin.html) property. +Margin to the chart can be specified using the [`margin`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCircularChart/margin.html) property. {% tabs %} {% highlight dart hl_lines="13" %} @@ -68,7 +68,7 @@ The chart margin can be specified using the [`margin`](https://pub.dev/documenta ## Chart area customization -You can customize the chart area using the following properties. +You can customize the area of the chart using the below properties. * [`backgroundColor`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCircularChart/backgroundColor.html) - used to change the chart area background color. * [`backgroundImage`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCircularChart/backgroundImage.html) - used to set the image path. diff --git a/chart-sdk/flutter/circular-chart/chart-title.md b/chart-sdk/flutter/circular-chart/chart-title.md index f12976c09..80747c9cf 100644 --- a/chart-sdk/flutter/circular-chart/chart-title.md +++ b/chart-sdk/flutter/circular-chart/chart-title.md @@ -1,17 +1,17 @@ --- layout: post -title: Chart title in Flutter Circular Chart | Syncfusion® -description: The chart title support in Flutter Circular Chart offers customizable titles with appearance settings to enhance context and visual presentation. +title: Chart title in Flutter Circular Charts widget | Syncfusion +description: Learn here all about Chart title feature of Syncfusion Flutter Circular Charts (SfCircularChart) widget and more. platform: chart-sdk control: Chart documentation: ug --- -# Chart title in Flutter Circular Chart +# Chart title in Flutter Circular Charts (SfCircularChart) -You can define and customize the chart title using the [`title`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCircularChart/title.html) property of [`SfCircularChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCircularChart-class.html). The [`text`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartTitle/text.html) property of [`ChartTitle`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartTitle-class.html) is used to set the title text. +You can define and customize the chart title using [`title`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCircularChart/title.html) property of [`SfCircularChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCircularChart-class.html). The [`text`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartTitle/text.html) property of [`ChartTitle`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartTitle-class.html) is used to set the text for the title. -The following properties can be used to customize its appearance. +Following properties can be used to customize its appearance. * [`backgroundColor`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartTitle/backgroundColor.html) - used to change the background color. * [`borderColor`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartTitle/borderColor.html) - used to change the border color. @@ -23,9 +23,9 @@ The following properties can be used to customize its appearance. * [`fontSize`](https://api.flutter.dev/flutter/painting/TextStyle/fontSize.html) - used to change the font size for the chart title. -## Text Alignment +### Text Alignment -You can align the title text content horizontally to the near, center, or far of the chart using the [`alignment`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartTitle/alignment.html) property of the [`title`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCircularChart/title.html). +You can align the title text content horizontally to the near, center or far of the chart using the [`alignment`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartTitle/alignment.html) property of the [`title`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCircularChart/title.html). {% tabs %} {% highlight dart %} diff --git a/chart-sdk/flutter/circular-chart/chart-types/doughnut-chart.md b/chart-sdk/flutter/circular-chart/chart-types/doughnut-chart.md index 94298cf67..030f223bc 100644 --- a/chart-sdk/flutter/circular-chart/chart-types/doughnut-chart.md +++ b/chart-sdk/flutter/circular-chart/chart-types/doughnut-chart.md @@ -1,20 +1,20 @@ --- layout: post -title: Doughnut Chart in Flutter Circular Chart | Syncfusion® -description: The doughnut chart support in Flutter Circular Chart offers customizable ring-shaped visualizations to display proportions and part-to-whole relationships. +title: Doughnut Chart in Flutter Circular Charts | Syncfusion +description: Step-by-step guide to create and customize Doughnut Chart in Syncfusion Flutter Circular Charts—add, style, and configure doughnut series, and key features. platform: chart-sdk control: Chart documentation: ug --- -# Doughnut Chart in Flutter Circular Chart +# Flutter Circular Charts Doughnut Chart (SfCircularChart) -To create a Flutter doughnut chart quickly, you can watch this video. +To create a Flutter doughnut chart quickly, you can check this video. -To render a doughnut chart, create an instance of [`DoughnutSeries`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/DoughnutSeries-class.html), and add it to the [`series`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCircularChart/series.html) collection property of [`SfCircularChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCircularChart-class.html). The following properties can be used to customize the appearance of a doughnut segment: +To render a doughnut chart, create an instance of [`DoughnutSeries`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/DoughnutSeries-class.html), and add it to the [`series`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCircularChart/series.html) collection property of [`SfCircularChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCircularChart-class.html). The following properties can be used to customize the appearance of doughnut segment: * [`opacity`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartSeries/opacity.html) - controls the transparency of the chart series. * [`strokeWidth`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartSeries/borderWidth.html) - changes the stroke width of the series. @@ -101,7 +101,7 @@ The [`cornerStyle`](https://pub.dev/documentation/syncfusion_flutter_charts/late ## Doughnut with center elevation -You can use the annotations property in charts to provide center elevation text in doughnut charts, as shown below: +You can use the Annotations property in charts, to provide center elevation text in doughnut charts as shown below: {% tabs %} {% highlight dart %} @@ -150,7 +150,7 @@ You can use the annotations property in charts to provide center elevation text ## Doughnut with color mapping -You can use the [`pointColorMapper`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartSeries/pointColorMapper.html) property to provide different color mappings to doughnut charts, as shown below: +You can use the [`pointColorMapper`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartSeries/pointColorMapper.html) property to provide different color mappings to the doughnut charts as shown below: {% tabs %} {% highlight dart %} @@ -185,7 +185,7 @@ You can use the [`pointColorMapper`](https://pub.dev/documentation/syncfusion_fl ## Changing the doughnut size -You can use the [`radius`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CircularSeries/radius.html) property to change the diameter of the doughnut chart with respect to the plot area. The default value of this property is `80%`. +You can use the [`radius`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CircularSeries/radius.html) property to change the diameter of the doughnut chart with respect to the plot area. The default value of this property is 80%. {% tabs %} {% highlight dart hl_lines="13" %} @@ -219,7 +219,7 @@ You can use the [`radius`](https://pub.dev/documentation/syncfusion_flutter_char ## Changing doughnut inner radius -You can change the inner radius of the doughnut chart using the [`innerRadius`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CircularSeries/innerRadius.html) property with respect to the plot area. The value ranges from `0%` to `100%`. +You can change the inner radius of doughnut chart using the [`innerRadius`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CircularSeries/innerRadius.html) property with respect to the plot area. The value ranges from 0% to 100%. {% tabs %} {% highlight dart hl_lines="13" %} @@ -362,7 +362,7 @@ Using the [`explodeAll`](https://pub.dev/documentation/syncfusion_flutter_charts ## Grouping data points -The small segments in the doughnut chart can be grouped into the **Others** category using the [`groupTo`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CircularSeries/groupTo.html) and [`groupMode`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CircularSeries/groupMode.html) properties of [`DoughnutSeries`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/DoughnutSeries-class.html). The [`groupMode`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CircularSeries/groupMode.html) property is used to specify the grouping type based on the actual data point value or the points length, and the [`groupTo`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CircularSeries/groupTo.html) property is used to set the limit for grouping data points into a single slice. The grouped segment is labeled as **Others** in the legend and toggled like any other segment. The default value of the [`groupTo`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CircularSeries/groupTo.html) property is `null`, and the default value of the [`groupMode`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CircularSeries/groupMode.html) property is [`CircularChartGroupMode.point`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CircularChartGroupMode.html#point). +The small segments in the doughnut chart can be grouped into **others** category using the [`groupTo`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CircularSeries/groupTo.html) and [`groupMode`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CircularSeries/groupMode.html) properties of [`DoughnutSeries`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/DoughnutSeries-class.html). The [`groupMode`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CircularSeries/groupMode.html) property is used to specify the grouping type based on the actual data point value or by points length, and the [`groupTo`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CircularSeries/groupTo.html) property is used to set the limit to group data points into a single slice. The grouped segment is labeled as **Others** in legend and toggled as any other segment. The default value of the [`groupTo`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CircularSeries/groupTo.html) property is null, and the default value of [`groupMode`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CircularSeries/groupMode.html) property is [`CircularChartGroupMode.point`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CircularChartGroupMode.html#point). {% tabs %} {% highlight dart hl_lines="13 14" %} diff --git a/chart-sdk/flutter/circular-chart/chart-types/pie-chart.md b/chart-sdk/flutter/circular-chart/chart-types/pie-chart.md index b056e2ce7..582ffcc88 100644 --- a/chart-sdk/flutter/circular-chart/chart-types/pie-chart.md +++ b/chart-sdk/flutter/circular-chart/chart-types/pie-chart.md @@ -1,20 +1,20 @@ --- layout: post -title: Pie Chart in Flutter Circular Chart | Syncfusion® -description: The pie chart support in Flutter Circular Chart offers customizable slice-based visualizations to represent proportions and part-to-whole relationships. +title: Pie Chart in Flutter Circular Charts | Syncfusion +description: Step-by-step guide to create and customize Pie Chart in Syncfusion Flutter Circular Charts—add, style, and configure pie series, and key features. platform: chart-sdk control: Chart documentation: ug --- -# Pie Chart in Flutter Circular Chart +# Flutter Circular Charts Pie Chart (SfCircularChart) -To create a Flutter pie chart quickly, you can watch this video. +To create a Flutter pie chart quickly, you can check this video. -To render a pie chart, create an instance of [`PieSeries`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/PieSeries-class.html), and add it to the [`series`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCircularChart/series.html) collection property of [`SfCircularChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCircularChart-class.html). The following properties can be used to customize the appearance of a pie segment: +To render a pie chart, create an instance of [`PieSeries`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/PieSeries-class.html), and add it to the [`series`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCircularChart/series.html) collection property of [`SfCircularChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCircularChart-class.html). The following properties can be used to customize the appearance of pie segment: * [`opacity`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartSeries/opacity.html) - controls the transparency of the chart series. * [`strokeWidth`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartSeries/borderWidth.html) - changes the stroke width of the series. @@ -208,7 +208,7 @@ Using the [`explodeAll`](https://pub.dev/documentation/syncfusion_flutter_charts ## Grouping data points -The small segments in the pie chart can be grouped into the **Others** category using the [`groupTo`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CircularSeries/groupTo.html) and [`groupMode`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CircularSeries/groupMode.html) properties of [`PieSeries`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/PieSeries-class.html). The [`groupMode`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CircularSeries/groupMode.html) property specifies the grouping type based on the actual data point value or the points length, and the [`groupTo`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CircularSeries/groupTo.html) property sets the limit for grouping data points into a single slice. The grouped segment is labeled as **Others** in the legend and toggled like any other segment. The default value of the [`groupTo`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CircularSeries/groupTo.html) property is `null`, and the default value of the [`groupMode`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CircularSeries/groupMode.html) property is [`CircularChartGroupMode.point`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CircularChartGroupMode.html#point). +The small segments in the pie chart can be grouped into **others** category using the [`groupTo`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CircularSeries/groupTo.html) and [`groupMode`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CircularSeries/groupMode.html) properties of [`PieSeries`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/PieSeries-class.html). The [`groupMode`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CircularSeries/groupMode.html) property specifies the grouping type based on the actual data point value or by points length, and the [`groupTo`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CircularSeries/groupTo.html) property sets the limit to group data points into a single slice. The grouped segment is labeled as **Others** in legend and toggled as any other segment. The default value of the [`groupTo`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CircularSeries/groupTo.html) property is null, and the default value of [`groupMode`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CircularSeries/groupMode.html) property is [`CircularChartGroupMode.point`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CircularChartGroupMode.html#point). {% tabs %} {% highlight dart hl_lines="12 14" %} @@ -243,7 +243,7 @@ The small segments in the pie chart can be grouped into the **Others** category ## Various radius for each slice -The [`pointRadiusMapper`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CircularSeries/pointRadiusMapper.html) maps the field name that is considered when calculating the radius of the data points. +The [`pointRadiusMapper`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CircularSeries/pointRadiusMapper.html) maps the field name, which will be considered for calculating the radius of the data points. {% tabs %} {% highlight dart %} diff --git a/chart-sdk/flutter/circular-chart/chart-types/radial-bar-chart.md b/chart-sdk/flutter/circular-chart/chart-types/radial-bar-chart.md index 887d354ec..ad2d00bc4 100644 --- a/chart-sdk/flutter/circular-chart/chart-types/radial-bar-chart.md +++ b/chart-sdk/flutter/circular-chart/chart-types/radial-bar-chart.md @@ -1,28 +1,28 @@ --- layout: post -title: Radial Bar Chart in Flutter Circular Chart | Syncfusion® -description: The radial bar chart support in Flutter Circular Chart offers customizable radial visuals to represent values, progress, and comparative data effectively. +title: Radial Bar Chart in Flutter Circular Charts | Syncfusion +description: Step-by-step guide to create and customize Radial Bar Chart in Syncfusion Flutter Circular Charts—add, style, and configure radial bar series, and key features. platform: chart-sdk control: Chart documentation: ug --- -# Radial Bar Chart in Flutter Circular Chart +# Flutter Circular Charts Radial Bar Chart (SfCircularChart) -To create a Flutter radial bar chart quickly, you can watch this video. +To create a Flutter radial bar chart quickly, you can check this video. -The radial bar chart is used to show comparisons among categories using circular shapes. To render a radial bar chart, create an instance of [`RadialBarSeries`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/RadialBarSeries-class.html), and add it to the [`series`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCircularChart/series.html) collection property of [`SfCircularChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCircularChart-class.html). The following properties can be used to customize the appearance of a radial bar segment: +The radial bar chart is used for showing the comparisons among the categories using the circular shapes. To render a radial bar chart, create an instance of [`RadialBarSeries`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/RadialBarSeries-class.html), and add to the [`series`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCircularChart/series.html) collection property of [`SfCircularChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCircularChart-class.html). The following properties can be used to customize the appearance of radial bar segment: * [`opacity`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartSeries/opacity.html) - controls the transparency of the chart series. * [`strokeWidth`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartSeries/borderWidth.html) - changes the stroke width of the series. * [`strokeColor`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CircularSeries/borderColor.html) - changes the stroke color of the series. * [`pointColorMapper`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartSeries/pointColorMapper.html) - maps the color for individual points from the data source. * [`gap`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CircularSeries/gap.html) - changes the spacing between two individual segments. The default value of spacing is 1%. -* [`maximumValue`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/RadialBarSeries/maximumValue.html) - represents the entire span of an individual circle. The default value of this property is `null`. +* [`maximumValue`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/RadialBarSeries/maximumValue.html) - represents the entire span of an individual circle. The default value of the this property is null. * [`pointShaderMapper`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CircularSeries/pointShaderMapper.html) - maps the shader (gradient or image shader) for individual points from the data source. {% tabs %} @@ -100,7 +100,7 @@ You can use the [`radius`](https://pub.dev/documentation/syncfusion_flutter_char ## Changing the radial bar inner radius -You can change the inner radius of the radial bar chart using the [`innerRadius`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CircularSeries/innerRadius.html) property with respect to the plot area. The value ranges from `0%` to `100%`. +You can change the inner radius of radial bar chart using the [`innerRadius`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CircularSeries/innerRadius.html) property with respect to the plot area. The value ranges from 0% to 100%. {% tabs %} {% highlight dart hl_lines="13" %} @@ -131,7 +131,7 @@ You can change the inner radius of the radial bar chart using the [`innerRadius` ## Rounded corners -The [`cornerStyle`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CircularSeries/cornerStyle.html) property specifies the corner type for the radial bar chart. The corners can be customized using the [`CornerStyle.bothFlat`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CornerStyle.html#bothFlat), [`CornerStyle.bothCurve`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CornerStyle.html#bothCurve), [`CornerStyle.startCurve`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CornerStyle.html#startCurve), and [`CornerStyle.endCurve`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CornerStyle.html#endCurve) options. The default value of this property is [`CornerStyle.bothFlat`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CornerStyle.html#bothFlat). +The [`cornerStyle`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CircularSeries/cornerStyle.html) property specifies the corner type for radial bar chart. The corners can be customized using the [`CornerStyle.bothFlat`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CornerStyle.html#bothFlat), [`CornerStyle.bothCurve`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CornerStyle.html#bothCurve), [`CornerStyle.startCurve`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CornerStyle.html#startCurve), and [`CornerStyle.endCurve`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CornerStyle.html#endCurve) options. The default value of this property is [`CornerStyle.bothFlat`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CornerStyle.html#bothFlat). {% tabs %} {% highlight dart hl_lines="13" %} @@ -165,11 +165,11 @@ The [`cornerStyle`](https://pub.dev/documentation/syncfusion_flutter_charts/late ## Track customization The radial bar series renders above the track area. The following properties are used to customize the appearance. -* [`trackColor`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/RadialBarSeries/trackColor.html) - changes the color of the track area. -* [`trackBorderColor`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/RadialBarSeries/trackBorderColor.html) - changes the stroke color of the track area. -* [`trackBorderWidth`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/RadialBarSeries/trackBorderWidth.html) - changes the stroke width of the track area. -* [`trackOpacity`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/RadialBarSeries/trackOpacity.html) - specifies the opacity of the track area. -* [`useSeriesColor`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/RadialBarSeries/useSeriesColor.html) - uses the point color for filling the track area. +[`trackColor`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/RadialBarSeries/trackColor.html) - changes the color of the track area. +[`trackBorderColor`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/RadialBarSeries/trackBorderColor.html) - changes the stroke color of the track area. +[`trackBorderWidth`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/RadialBarSeries/trackBorderWidth.html) - changes the stroke width of the track area. +[`trackOpacity`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/RadialBarSeries/trackOpacity.html) - specifies the opacity of the track area. +[`useSeriesColor`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/RadialBarSeries/useSeriesColor.html) - uses the point color for filling the track area. {% tabs %} {% highlight dart hl_lines="14 15" %} @@ -210,7 +210,7 @@ The radial bar series renders above the track area. The following properties are ## Rendering data labels -Data labels can be enabled using the [`isVisible`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/DataLabelSettings/isVisible.html) property of [`dataLabelSettings`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartSeries/dataLabelSettings.html). The appearance of the label can be customized using the following properties: +Data labels can be enabled using the [`isVisible`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/DataLabelSettings/isVisible.html) property of [`dataLabelSettings`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartSeries/dataLabelSettings.html). The appearance of label can be customized using the following properties: * [`color`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/DataLabelSettings/color.html) - changes the label background color. * [`textStyle`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/DataLabelSettings/textStyle.html) - changes the text color, size, font family, fontStyle, and font weight. diff --git a/chart-sdk/flutter/circular-chart/charts-type.md b/chart-sdk/flutter/circular-chart/charts-type.md index e17ba7eb3..5301eb87b 100644 --- a/chart-sdk/flutter/circular-chart/charts-type.md +++ b/chart-sdk/flutter/circular-chart/charts-type.md @@ -1,15 +1,15 @@ --- layout: post -title: Chart Types in Flutter Circular Chart | Syncfusion® -description: The chart types support in Flutter Circular Chart offers pie, doughnut, radial bar charts for diverse data visualization needs. +title: Chart Types in Flutter Circular Charts widget | Syncfusion +description: Learn here all about available chart types of Syncfusion Flutter Circular Charts (SfCircularChart) widget and more. platform: chart-sdk control: Chart documentation: ug --- -# Chart Types in Flutter Circular Chart +# Chart Types in Flutter Circular Charts (SfCircularChart) -This page helps you navigate to the chart types available in the Syncfusion® Flutter Circular Charts widgets. +This page helps to navigate to the Chart types available in the Syncfusion® Flutter Circular Charts widgets. @@ -17,7 +17,7 @@ This page helps you navigate to the chart types available in the Syncfusion Pie Chart @@ -25,7 +25,7 @@ This page helps you navigate to the chart types available in the Syncfusion Doughnut Chart @@ -33,7 +33,7 @@ This page helps you navigate to the chart types available in the Syncfusion Radial Bar Chart
      - Pie Chart Link + Link
      - Doughnut Chart Link + Link
      - Radial Bar Chart Link + Link
      diff --git a/chart-sdk/flutter/circular-chart/circular-series-customization.md b/chart-sdk/flutter/circular-chart/circular-series-customization.md index 2c2a2f6f4..be549547f 100644 --- a/chart-sdk/flutter/circular-chart/circular-series-customization.md +++ b/chart-sdk/flutter/circular-chart/circular-series-customization.md @@ -1,17 +1,17 @@ --- layout: post -title: Series Customization in Flutter Circular Chart | Syncfusion® -description: The series customization support in Flutter Circular Chart offers control over colors, borders, spacing, animations, and segment appearance. +title: Series Customization in Flutter Circular Charts | Syncfusion +description: Step-by-step guide to create and customize series in Syncfusion Flutter Circular Charts—add, style, and configure series, and key features. platform: chart-sdk control: Chart documentation: ug --- -# Series Customization in Flutter Circular Chart +# Flutter Circular Charts Series customization (SfCircularChart) ## Animation -[`SfCircularChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCircularChart-class.html) provides animation support for the series. Series will be animated while rendering. Animation is enabled by default. You can also control the duration of the animation using the [`animationDuration`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartSeries/animationDuration.html) property. You can disable the animation by setting the value to 0. +[`SfCircularChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCircularChart-class.html) provides animation support for the series. Series will be animated while rendering. Animation is enabled by default, you can also control the duration of the animation using [`animationDuration`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartSeries/animationDuration.html) property. You can disable the animation by setting 0 value to that property. {% tabs %} {% highlight dart hl_lines="14" %} @@ -43,7 +43,7 @@ documentation: ug ### Animation delay -The [`animationDelay`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartSeries/animationDelay.html) property is used to specify the delay duration of the series animation. This takes a millisecond value as input. By default, the series animates for the specified duration. If [`animationDelay`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartSeries/animationDelay.html) is specified, then the series begins to animate after the specified duration. Defaults to `0`. +The [`animationDelay`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartSeries/animationDelay.html) property is used to specify the delay duration of the series animation. This takes milliseconds value as input. By default, the series will get animated for the specified duration. If [`animationDelay`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartSeries/animationDelay.html) is specified, then the series will begin to animate after the specified duration. Defaults to `0`. {% tabs %} {% highlight dart hl_lines="17" %} @@ -84,12 +84,12 @@ The [`animationDelay`](https://pub.dev/documentation/syncfusion_flutter_charts/l ### Dynamic animation -[`SfCircularChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCircularChart-class.html) also provides dynamic animation support for the series. The series can be dynamically added to the chart, and it animates by setting the timer value. When you set the [`animationDuration`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartSeries/animationDuration.html) value to 0, the series is not animated. +[`SfCircularChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCircularChart-class.html) also provide the dynamic animation support for the series. The series can be dynamically added to the charts, it will animate by setting the timer value. when you set the [`animationDuration`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartSeries/animationDuration.html) value to 0, the series won't be animated. ## Color Palette -[`SfCircularChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCircularChart-class.html) provides support for a color palette property called [`palette`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCircularChart/palette.html) for the data points in the chart series. If the series color is not specified, then the series is rendered with an appropriate palette color. Ten colors are available by default. +[`SfCircularChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCircularChart-class.html) provides support for color palette property called [`palette`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCircularChart/palette.html) for the data points in the chart series. If the series color is not specified, then the series will be rendered with appropriate palette color. Ten colors are available by default. {% tabs %} @@ -164,7 +164,8 @@ The [`pointColorMapper`](https://pub.dev/documentation/syncfusion_flutter_charts ## Gradient and image shader -The [`onCreateShader`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCircularChart/onCreateShader.html) callback is used to fill the circular chart series data points with gradient and image shader. This callback is called once while rendering the data points and legend. +The [`onCreateShader`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCircularChart/onCreateShader.html) callback is used to fill the circular chart series data points with gradient and image shader. This callback is called once while rendering +the data points and legend. >**Note**: All the data points of the circular chart are considered together as a single segment and the shader is applied commonly. @@ -539,7 +540,7 @@ The [`pointRenderMode`](https://pub.dev/documentation/syncfusion_flutter_charts/ ## Empty points The data points that has null value are considered as empty points. Empty data points are ignored and not plotted in the chart. By using [`emptyPointSettings`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartSeries/emptyPointSettings.html) property in series, you can decide the action taken for empty points. Available [`modes`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/EmptyPointMode.html) are [`EmptyPointMode.gap`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/EmptyPointMode.html#gap), [`EmptyPointMode.zero`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/EmptyPointMode.html#zero), [`EmptyPointMode.drop`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/EmptyPointMode.html#drop) and [`EmptyPointMode.average`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/EmptyPointMode.html#average). Default mode of the empty point is [`EmptyPointMode.gap`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/EmptyPointMode.html#gap). -Data points that have null values are considered empty points. Empty data points are ignored and not plotted in the chart. By using the [`emptyPointSettings`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartSeries/emptyPointSettings.html) property in a series, you can decide the action taken for empty points. Available [`modes`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/EmptyPointMode.html) are [`EmptyPointMode.gap`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/EmptyPointMode.html#gap), [`EmptyPointMode.zero`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/EmptyPointMode.html#zero), [`EmptyPointMode.drop`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/EmptyPointMode.html#drop), and [`EmptyPointMode.average`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/EmptyPointMode.html#average). The d + {% tabs %} {% highlight dart %} @@ -658,6 +659,6 @@ The chart’s data source can be sorted using the [`sortingOrder`](https://pub.d ![Sorting](images/circular-customization/sortings.jpg) -### See Also +#### See Also * [Creating a circular drilldown chart using SfCircular charts](https://support.syncfusion.com/kb/article/10175/how-to-drilldown-with-syncfusion-flutter-chart-widget-sfcircularchart). diff --git a/chart-sdk/flutter/circular-chart/datalabel.md b/chart-sdk/flutter/circular-chart/datalabel.md index f5df5b5bf..66fe046ba 100644 --- a/chart-sdk/flutter/circular-chart/datalabel.md +++ b/chart-sdk/flutter/circular-chart/datalabel.md @@ -1,15 +1,15 @@ --- layout: post -title: Data Labels in Flutter Circular Chart | Syncfusion® -description: The data label support in Flutter Circular Chart offers customizable labels, smart positioning, and flexible formatting for clear data presentation. +title: Flutter Circular Charts Data Label Guide | Syncfusion +description: Step-by-step guide to create and customize data labels in Syncfusion Flutter Circular Charts—add, style, and configure data labels, and key features. platform: chart-sdk control: Chart documentation: ug --- -# Data Labels in Flutter Circular Chart +# Flutter Circular Charts Data label (SfCircularChart) -Data labels can be added to a chart series by enabling the [`isVisible`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/DataLabelSettings/isVisible.html) property in the [`dataLabelSettings`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartSeries/dataLabelSettings.html). You can use the following properties to customize their appearance. +Data label can be added to a chart series by enabling the [`isVisible`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/DataLabelSettings/isVisible.html) property in the [`dataLabelSettings`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartSeries/dataLabelSettings.html). You can use the following properties to customize the appearance. * [`color`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/DataLabelSettings/color.html) - used to change the background color of the data label shape. * [`borderWidth`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/DataLabelSettings/borderWidth.html) - used to change the stroke width of the data label shape. @@ -64,7 +64,7 @@ Data labels can be added to a chart series by enabling the [`isVisible`](https:/ ## Formatting label content -Data labels consider the format used in the circular series by default. In the following code snippet, we have specified the format for the data label in the [`dataLabelMapper`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartSeries/dataLabelMapper.html), and the same format is applied to the data label. +Data label considers the format used in the Circular series by default. In the below code snippet, we have specified format for the data label in the [`dataLabelMapper`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartSeries/dataLabelMapper.html) and you can see that the same format is applied to the data label. {% tabs %} {% highlight dart %} @@ -107,7 +107,7 @@ Data labels consider the format used in the circular series by default. In the f ## Positioning the labels -The [`labelAlignment`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/DataLabelSettings/labelAlignment.html) property is used to position circular chart data labels at [`ChartDataLabelAlignment.top`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartDataLabelAlignment.html#top), [`ChartDataLabelAlignment.bottom`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartDataLabelAlignment.html#bottom), [`ChartDataLabelAlignment.auto`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartDataLabelAlignment.html#auto), [`ChartDataLabelAlignment.outer`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartDataLabelAlignment.html#outer), and [`ChartDataLabelAlignment.middle`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartDataLabelAlignment.html#middle). By default, labels are positioned as [`ChartDataLabelAlignment.auto`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartDataLabelAlignment.html#auto). You can move the labels horizontally and vertically using the OffsetX and OffsetY properties, respectively. +The [`labelAlignment`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/DataLabelSettings/labelAlignment.html) property is used to position the Circular chart type data labels at [`ChartDataLabelAlignment.top`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartDataLabelAlignment.html#top), [`ChartDataLabelAlignment.bottom`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartDataLabelAlignment.html#bottom), [`ChartDataLabelAlignment.auto`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartDataLabelAlignment.html#auto), [`ChartDataLabelAlignment.outer`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartDataLabelAlignment.html#outer) and [`ChartDataLabelAlignment.middle`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartDataLabelAlignment.html#middle) position of the actual data point position. By default, labels are [`ChartDataLabelAlignment.auto`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartDataLabelAlignment.html#auto) positioned. You can move the labels horizontally and vertically using OffsetX and OffsetY properties respectively. The [`labelPosition`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/DataLabelSettings/labelPosition.html) property is used to place the circular series data labels either [`ChartDataLabelPosition.inside`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartDataLabelPosition.html#inside) or [`ChartDataLabelPosition.outside`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartDataLabelPosition.html#outside). By default the label of circular chart is placed [`ChartDataLabelPosition.inside`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartDataLabelPosition.html#inside) the series. @@ -147,7 +147,7 @@ The [`labelPosition`](https://pub.dev/documentation/syncfusion_flutter_charts/la ## Smart labels -This feature is used to arrange data labels smartly and avoid intersections when labels overlap. The enum property [`LabelIntersectAction.shift`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/LabelIntersectAction.html#shift) in [`labelIntersectAction`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/DataLabelSettings/labelIntersectAction.html) is used to arrange data labels smartly when labels intersect. By default, the label intersection action property is [`LabelIntersectAction.shift`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/LabelIntersectAction.html#shift). +This feature is used to arrange the data labels smartly and avoid the intersection when there is overlapping of labels. The enum property called the [`LabelIntersectAction.shift`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/LabelIntersectAction.html#shift) in [`labelIntersectAction`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/DataLabelSettings/labelIntersectAction.html) is used to arrange the data labels smartly when labels get intersect. By default, the label intersection action property is [`LabelIntersectAction.shift`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/LabelIntersectAction.html#shift). If the [`labelPosition`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/DataLabelSettings/labelPosition.html) is [`ChartDataLabelPosition.inside`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartDataLabelPosition.html#inside) and the [`labelIntersectAction`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/DataLabelSettings/labelIntersectAction.html) is [`LabelIntersectAction.shift`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/LabelIntersectAction.html#shift), then the overlapped labels will shift to outside the slices and arrange smartly. If the [`labelPosition`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/DataLabelSettings/labelPosition.html) is [`ChartDataLabelPosition.inside`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartDataLabelPosition.html#inside) and the [`labelIntersectAction`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/DataLabelSettings/labelIntersectAction.html) is [`LabelIntersectAction.hide`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/LabelIntersectAction.html#hide), then the overlapped labels will be hidden. diff --git a/chart-sdk/flutter/circular-chart/export-circular-chart.md b/chart-sdk/flutter/circular-chart/export-circular-chart.md index de3be0aff..920afe3d8 100644 --- a/chart-sdk/flutter/circular-chart/export-circular-chart.md +++ b/chart-sdk/flutter/circular-chart/export-circular-chart.md @@ -1,19 +1,19 @@ --- layout: post -title: Exporting in Flutter Circular Chart | Syncfusion® -description: The exporting support in Flutter Circular Chart offers image and document export options for easy sharing, reporting, and presentation. +title: Exporting in Flutter Circular Charts widget | Syncfusion +description: Learn here all about Exporting feature of Syncfusion Flutter Circular Charts (SfCircularChart) widget and more. platform: chart-sdk control: Chart documentation: ug --- -# Exporting in Flutter Circular Chart +# Exporting in Flutter Circular Charts (SfCircularChart) [`SfCircularChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCircularChart-class.html) provides support to export the circular chart as a PNG image or as PDF document. ## Export image -To export the circular chart as a PNG image, you can get the image by calling the [`toImage`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCircularChartState/toImage.html) method on the repaint boundary. +To export the circular chart as a PNG image, we can get the image by calling [`toImage`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCircularChartState/toImage.html) method in repaint boundary. {% tabs %} {% highlight dart %} @@ -111,7 +111,7 @@ Similar to the above way, we can also export the rendered circular chart as a PD **Add dependency** -Add the following additional packages to the dependencies in your pubspec.yaml file: +Add the following additional packages to the dependencies in your pubspec.yaml file. {% highlight dart %} diff --git a/chart-sdk/flutter/circular-chart/getting-started.md b/chart-sdk/flutter/circular-chart/getting-started.md index 61fe558ff..ff1a1d2bd 100644 --- a/chart-sdk/flutter/circular-chart/getting-started.md +++ b/chart-sdk/flutter/circular-chart/getting-started.md @@ -1,17 +1,17 @@ --- layout: post -title: Getting Started with Flutter Circular Chart | Syncfusion® -description: Learn how to get started with Flutter Circular Chart provides step-by-step guidance to create, configure, and display interactive circular charts quickly. +title: Getting Started with Flutter Circular Charts | Syncfusion +description: Step-by-step guide to set up Syncfusion Flutter Circular Charts—add dependencies, import, create SfCircularChart, and configure key features. platform: chart-sdk control: Chart documentation: ug --- -# Getting Started with Flutter Circular Chart +# Flutter Circular Charts Getting Started (SfCircularChart) This section explains the steps required to populate the chart with data, title, data labels, legend, and tooltips. This section covers only the minimal features needed to know to get started with the chart. -To get started quickly with our Flutter chart widget, you can check out this video. +To get start quickly with our Flutter chart widget, you can check out this video. @@ -22,7 +22,7 @@ Create a simple project using the instructions given in the [Getting Started wit **Add dependency** -Add the Syncfusion® [Flutter Chart](https://www.syncfusion.com/flutter-widgets/flutter-charts) dependency to your pubspec.yaml file. +Add the Syncfusion® [Flutter Chart](https://www.syncfusion.com/flutter-widgets/flutter-charts) dependency to your pub spec file. {% tabs %} {% highlight dart %} @@ -33,7 +33,7 @@ Add the Syncfusion® [Flutter Chart](https://www.syncfusion.com/fl {% endhighlight %} {% endtabs %} ->**Note**: Here **xx.x.xx** denotes the current version of [`Syncfusion® Flutter Charts`](https://pub.dev/packages/syncfusion_flutter_charts/versions) package. +>**Note**: Here **xx.x.xx** denotes the current version of [`Syncfusion Flutter Charts`](https://pub.dev/packages/syncfusion_flutter_charts/versions) package. **Get packages** @@ -61,7 +61,7 @@ Import the following package in your Dart code. ## Initialize chart -Once the package has been imported, initialize the chart as a child of any widget. SfCircularChart can be used to render pie, doughnut and radial bar charts. Here, since we are rendering a pie chart, initialize the SfCircularChart widget as a child of a Container widget. +Once the package has been imported, initialize the chart as a child of any widget. SfCircularChart can be used to render pie, doughnut and radial bar charts. Here, as we are rendering pie chart, initialize SfCircularChart widget as a child of Container widget. {% tabs %} {% highlight dart hl_lines="7" %} @@ -85,7 +85,7 @@ Once the package has been imported, initialize the chart as a child of any widge ## Bind data source -Based on your data, initialize the appropriate series type. In the series, you need to map the data source and the fields for x and y data points. Here, a pie series is rendered, as demonstrated in the following code snippet. +Based on your data, initialize the series type. In the series, you need to map the data source and the fields for x and y data points. Here, pie series is rendered that is demonstrated in the following code snippet. {% tabs %} {% highlight dart %} @@ -127,7 +127,7 @@ Based on your data, initialize the appropriate series type. In the series, you n ## Add title -You can add a [`title`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCircularChart/title.html) to the chart to provide quick information to users about the data plotted in the chart. The chart title can be set as demonstrated in the following code snippet. +You can add a [`title`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCircularChart/title.html) to the chart to provide quick information to users about the data plotted in the chart. The title to chart can be set as demonstrated in the following code snippet. {% tabs %} {% highlight dart hl_lines="10" %} @@ -213,7 +213,7 @@ You can add data labels to improve the readability of the chart using the [`data The legend provides information about the series rendered in the chart. -You can enable the legend in the chart by setting the [`isVisible`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/Legend/isVisible.html) property to true in [`legend`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCircularChart/legend.html). +You can use legend in chart by setting the [`isVisible`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/Legend/isVisible.html) property to true in [`legend`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCircularChart/legend.html). {% tabs %} {% highlight dart hl_lines="8" %} @@ -257,7 +257,7 @@ You can enable the legend in the chart by setting the [`isVisible`](https://pub. The tooltip is used when you cannot display information using the data labels due to space constraints. -The [`tooltipBehavior`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCircularChart/tooltipBehavior.html) property in chart is used to enable and customize the tooltip for all the series. The [`enableTooltip`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartSeries/enableTooltip.html) property in series is used to toggle the tooltip visibility of each series. The tooltip can be enabled as demonstrated in the following code snippet. +The [`tooltipBehavior`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCircularChart/tooltipBehavior.html) property in chart is used to enable and customize the tooltip for all the series whereas the [`enableTooltip`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartSeries/enableTooltip.html) property in series is used to toggle the tooltip visibility of each series. The tooltip can be enabled as demonstrated in the following code snippet. {% tabs %} {% highlight dart hl_lines="5" %} diff --git a/chart-sdk/flutter/circular-chart/how-to/custom-widget-on-flutterflow.md b/chart-sdk/flutter/circular-chart/how-to/custom-widget-on-flutterflow.md index 48c60699c..29b1ef5f9 100644 --- a/chart-sdk/flutter/circular-chart/how-to/custom-widget-on-flutterflow.md +++ b/chart-sdk/flutter/circular-chart/how-to/custom-widget-on-flutterflow.md @@ -1,17 +1,17 @@ --- layout: post -title: How to add Syncfusion® Circular Chart in FlutterFlow | Syncfusion® -description: Add Syncfusion® Flutter Circular Chart in FlutterFlow to create compact, interactive charts that visualize trends and data patterns with ease. +title: Circular Chart Widget in FlutterFlow | Syncfusion +description: Learn here all about adding Syncfusion Flutter Circular Chart (SfCircularChart) widget in FlutterFlow. platform: chart-sdk control: Chart documentation: ug --- -# How to add Syncfusion® Circular Chart in FlutterFlow +# How to add Syncfusion® Circular Chart widget in FlutterFlow? ## Overview -[FlutterFlow](https://app.flutterflow.io/dashboard) enables you to create native applications using its graphical interface, reducing the need to write extensive amounts of code. Additionally, it offers the capability to include custom widgets that are not included in the default [FlutterFlow](https://app.flutterflow.io/dashboard) widget collection. This article explains how to incorporate our `SfCircularChart` widget as a custom widget in [FlutterFlow](https://app.flutterflow.io/dashboard). +[FlutterFlow](https://app.flutterflow.io/dashboard) enables you to create native applications using its graphical interface, reducing the need to write extensive amounts of code. Additionally, it offers the capability to include custom widgets that are not included in the default [FlutterFlow](https://app.flutterflow.io/dashboard) widget collection. This article explains how to incorporate our SfCircularChart widget as a custom widget in [FlutterFlow](https://app.flutterflow.io/dashboard). ### Create a new project @@ -19,35 +19,35 @@ Navigate to the [FlutterFlow dashboard](https://app.flutterflow.io/dashboard) an ### Creating the custom widget -1. Navigate to the `Custom Code` section in the left-side navigation menu. -2. Click the `+ Add` button to open a dropdown menu, then select `Widget`. +1. Navigate to the `Custom Code` section in the left side navigation menu. +2. Click on the `+ Add` button to open a dropdown menu, then select `Widget`. 3. Update the widget name as desired. -4. Click the `View Boilerplate Code` button on the right side, represented by the `[]` icon. -5. A popup appears with startup code; locate the ` Copy to Editor` button and click it. +4. Click the `View Boilerplate Code` button on the right side, represented by this icon `[]`. +5. A popup will appear with startup code; locate the button labeled ` Copy to Editor` and click on it. 6. Save the widget. ![Custom Widget](how-to-section-images/custom-widget.png) ### Add Circular Chart widget as a dependency -1. Click `+ Add Dependency`; a text editor appears. -2. Navigate to [Syncfusion® Flutter Charts](https://pub.dev/packages/syncfusion_flutter_charts) on [pub.dev](https://pub.dev/) and copy the dependency name and version using the `Copy to Clipboard` option. +1. Click on `+ Add Dependency`, a text editor will appear. +2. Navigate to [Syncfusion® Flutter Charts](https://pub.dev/packages/syncfusion_flutter_charts) in [pub.dev](https://pub.dev/) and copy the dependency name and version using the `Copy to Clipboard` option. ![Version](how-to-section-images/copy-version.png) -3. Paste the copied dependency into the text editor, then click `Refresh` and `Save`. +3. Paste the copied dependency into the text editor, then click `Refresh` and `Save` it. ->**Note**: The latest version of [Syncfusion® Flutter Charts](https://pub.dev/packages/syncfusion_flutter_charts) has been migrated to the latest Flutter SDK. To ensure compatibility, check [FlutterFlow](https://app.flutterflow.io/dashboard)'s current Flutter version and obtain the corresponding version of [Syncfusion® Flutter Charts](https://pub.dev/packages/syncfusion_flutter_charts) by referring to the [SDK compatibility](https://help.syncfusion.com/flutter/system-requirements#sdk-version-compatibility). +>**Note**: The live version of [Syncfusion® Flutter Charts](https://pub.dev/packages/syncfusion_flutter_charts) has been migrated to the latest version of Flutter SDK. To ensure compatibility, check [FlutterFlow](https://app.flutterflow.io/dashboard)'s current Flutter version and obtain the corresponding version of [Syncfusion® Flutter Charts](https://pub.dev/packages/syncfusion_flutter_charts) by referring to the [SDK compatibility](https://help.syncfusion.com/flutter/system-requirements#sdk-version-compatibility). ![Dependency](how-to-section-images/dependency.png) ->**Note**: If you are using an older version of a dependency instead of the latest one, remove the caret symbol (^) prefix from the version number after pasting the dependency. For example, change `^21.3.0` to `21.3.0`. +>**Note**: If you are using an older version of a dependency instead of the latest one, remove the caret symbol (^) prefix in the version number after pasting the dependency. For example, change `^21.3.0` to `21.3.0`. ->**Note**: Since [Syncfusion® Flutter Charts](https://pub.dev/packages/syncfusion_flutter_charts) depends on the [Syncfusion® Flutter Core](https://pub.dev/packages/syncfusion_flutter_core) package, make sure to add it as a dependency by following the same steps mentioned above. +>**Note**: Since [Syncfusion® Flutter Charts](https://pub.dev/packages/syncfusion_flutter_charts) depends on the [Syncfusion® Flutter Core](https://pub.dev/packages/syncfusion_flutter_core) package, make sure to add it as a dependency following the same steps mentioned above. ### Import the package 1. Navigate to the `Installing` tab on the [Syncfusion® Flutter Charts](https://pub.dev/packages/syncfusion_flutter_charts) page. Under the `Import it` section, copy the package import statement. ![Package](how-to-section-images/copy-package.png) -2. Paste the copied import statement into the code editor, and then `Save` it. +2. Paste the copied import statement into the code editor and then `Save` it. ![Import](how-to-section-images/import-package-flutterflow.png) ### Add widget code snippet in code editor diff --git a/chart-sdk/flutter/circular-chart/legend.md b/chart-sdk/flutter/circular-chart/legend.md index 41cf81a73..dff9a52fd 100644 --- a/chart-sdk/flutter/circular-chart/legend.md +++ b/chart-sdk/flutter/circular-chart/legend.md @@ -1,15 +1,15 @@ --- layout: post -title: Legend in Flutter Circular Chart | Syncfusion® -description: The legend support in Flutter Circular Chart offers customizable legend items, layouts, and positioning to improve chart readability. +title: Legend in Flutter Circular Charts | Syncfusion +description: Step-by-step guide to create and customize legend in Syncfusion Flutter Circular Charts—add, style, and configure legend, and key features. platform: chart-sdk control: Chart documentation: ug --- -# Legend in Flutter Circular Chart +# Flutter Circular Charts Legend (SfCircularChart) -The [`legend`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCircularChart/legend.html) contains the list of data points in the chart. The information provided in each legend item helps identify the corresponding data points in the chart. +The [`legend`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCircularChart/legend.html) contains list of data points in chart. The information provided in each legend item helps to identify the corresponding data points in chart. {% tabs %} {% highlight dart hl_lines="13" %} @@ -52,7 +52,7 @@ The [`legend`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/ch ## Customizing legend -The [`name`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartSeries/name.html) property of [`CircularSeries`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CircularSeries-class.html) is used to define the label for the corresponding series legend item, and for [`CircularSeries`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CircularSeries-class.html) chart types, the values mapped with [`xValueMapper`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartSeries/xValueMapper.html) are displayed by default. The appearance of the label can be customized using the following properties. +The [`name`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartSeries/name.html) property of [`CircularSeries`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CircularSeries-class.html) is used to define the label for the corresponding series legend item and for [`CircularSeries`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CircularSeries-class.html) type chart by default values mapped with [`xValueMapper`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartSeries/xValueMapper.html) will be displayed. The appearance of the label can be customized using the below properties. * [`borderWidth`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/Legend/borderWidth.html) - used to change the stroke width of the legend shape. * [`borderColor`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/Legend/borderColor.html) - used to change the stroke color of the legend shape. * [`backgroundColor`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/Legend/backgroundColor.html) - used to change the background color of legend shape. @@ -151,7 +151,7 @@ The following properties can be used to define and customize the [`title`](https ## Toggles the series visibility -You can control the visibility of the series by tapping the legend item. You can enable this feature by setting the [`toggleSeriesVisibility`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/Legend/toggleSeriesVisibility.html) property to true. +You can control the visibility of the series by tapping the legend item. You can enable this feature by enabling the [`toggleSeriesVisibility`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/Legend/toggleSeriesVisibility.html) property. {% tabs %} {% highlight dart hl_lines="10" %} @@ -185,7 +185,7 @@ You can control the visibility of the series by tapping the legend item. You can ## Legend visibility -The [`isVisible`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/Legend/isVisible.html) property of [`legend`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCircularChart/legend.html) is used to toggle the visibility of the legend. +The [`isVisible`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/Legend/isVisible.html) property of [`legend`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCircularChart/legend.html) is used to toggle the visibility of legend. {% tabs %} {% highlight dart hl_lines="9" %} @@ -218,7 +218,7 @@ The [`isVisible`](https://pub.dev/documentation/syncfusion_flutter_charts/latest ## Legend overflow -The legend items can be placed in multiple rows, or scrolling can be enabled using the [`overflowMode`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/Legend/overflowMode.html) property if the total legend items exceed the available size. The default value of the [`overflowMode`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/Legend/overflowMode.html) property is [`LegendItemOverflowMode.scroll`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/LegendItemOverflowMode.html#scroll). +The legend items can be placed in multiple rows or scroll can be enabled using the [`overflowMode`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/Legend/overflowMode.html) property if size of the total legend items exceeds the available size. The default value of the [`overflowMode`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/Legend/overflowMode.html) property is [`LegendItemOverflowMode.scroll`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/LegendItemOverflowMode.html#scroll). {% tabs %} {% highlight dart hl_lines="10" %} @@ -255,7 +255,7 @@ The legend items can be placed in multiple rows, or scrolling can be enabled usi ## Positioning the legend -You can change the position of the legend inside the chart. The following properties are used to customize the position of the legend. [`LegendPosition.auto`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/LegendPosition.html#auto) will place the legend at the right if the chart's width is greater than its height. Otherwise, the legend will be placed at the bottom. +You can change the position of the legend inside the chart. The following properties are used to customize the position of legend. [`LegendPosition.auto`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/LegendPosition.html#auto) position will place the legend at the right, if the chart's width is greater than the chart's height. Else the legend will be placed at the bottom position. * [`position`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/Legend/position.html) - used to position the legend relatively. The available options are auto, bottom, left, right, and top. Defaults to [`LegendPosition.auto`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/LegendPosition.html#auto). * [`orientation`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/Legend/orientation.html) - used to change the orientation of the legend, the default value is [`LegendItemOrientation.auto`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/LegendItemOrientation.html#auto). Also you can set this to [`LegendItemOrientation.horizontal`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/LegendItemOrientation.html#horizontal) or [`LegendItemOrientation.vertical`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/LegendItemOrientation.html#vertical). diff --git a/chart-sdk/flutter/circular-chart/methods.md b/chart-sdk/flutter/circular-chart/methods.md index 0a3f25423..16f2df1cf 100644 --- a/chart-sdk/flutter/circular-chart/methods.md +++ b/chart-sdk/flutter/circular-chart/methods.md @@ -1,13 +1,13 @@ --- layout: post -title: Methods in Flutter Circular Chart | Syncfusion® -description: The methods in Flutter Circular Chart documentation provide publicly accessible APIs for performing chart-related operations programmatically. +title: Methods in Flutter Circular Charts widget | Syncfusion +description: Learn here all about available Methods of Syncfusion Flutter Circular Charts (SfCircularChart) widget and more. platform: chart-sdk control: Chart documentation: ug --- -# Methods in Flutter Circular Chart +# Methods in Flutter Circular Charts (SfCircularChart) ## Methods in tooltipBehavior @@ -73,7 +73,7 @@ The [`show`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/char The [`showByIndex`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/TooltipBehavior/showByIndex.html) method is used to display the tooltip at the specified series and point index. -The following arguments are given to the [`showByIndex`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/TooltipBehavior/showByIndex.html) method: +The below mentioned arguments are given to the [`showByIndex`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/TooltipBehavior/showByIndex.html) method: [`seriesIndex`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/TooltipArgs/seriesIndex.html) - index of the series for which the pointIndex is specified. @@ -136,7 +136,7 @@ The following arguments are given to the [`showByIndex`](https://pub.dev/documen The [`showByPixel`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/TooltipBehavior/showByPixel.html) method is used to display the tooltip at the specified x and y-positions. -x and y are logical pixel values used to position the tooltip. +x & y - logical pixel values to position the tooltip. {% tabs %} {% highlight dart %} @@ -192,7 +192,7 @@ x and y are logical pixel values used to position the tooltip. ### Hide method in tooltipBehavior -The [`hide`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/TooltipBehavior/hide.html) method is used to hide the displayed tooltip programmatically. +The [`hide`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/TooltipBehavior/hide.html) method is used to hide the displaying tooltip programmatically. {% tabs %} {% highlight dart %} @@ -313,9 +313,9 @@ The [`selectDataPoints`](https://pub.dev/documentation/syncfusion_flutter_charts ## PixelToPoint -Converts a logical pixel value to the data point value. +Converts logical pixel value to the data point value. -The [`pixelToPoint`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CircularSeriesController/pixelToPoint.html) method takes a logical pixel value as input and returns a chart data point. +The [`pixelToPoint`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CircularSeriesController/pixelToPoint.html) method takes logical pixel value as input and returns a chart data point. >**Note**: The method will return the center value of the segment. diff --git a/chart-sdk/flutter/circular-chart/overview.md b/chart-sdk/flutter/circular-chart/overview.md index aca03acc4..7d18f6887 100644 --- a/chart-sdk/flutter/circular-chart/overview.md +++ b/chart-sdk/flutter/circular-chart/overview.md @@ -1,32 +1,32 @@ --- layout: post -title: About Syncfusion® Flutter Circular Chart widget | Syncfusion® -description: Learn here all about introduction of Syncfusion® Flutter Circular Charts widget, its features, and more details. +title: About Flutter Circular Charts widget | Syncfusion +description: Learn here all about introduction of Syncfusion Flutter Circular Charts (SfCircularChart) widget, its features, and more. platform: chart-sdk control: Chart documentation: ug --- -# About Syncfusion® Flutter Circular Chart +# Flutter Circular Charts (SfCircularChart) Overview -Syncfusion® Flutter Circular Charts (SfCircularChart) widget is written natively in Dart for creating beautiful and high-performance circular charts, which are used to build high-quality Flutter applications. +Syncfusion® Flutter Circular Charts (SfCircularChart) widget is written natively in Dart for creating beautiful and high-performance Circular charts, which are used to craft high-quality applications using Flutter. ![Overview Flutter chart](images/overview/overview.png) -To get started quickly with our Flutter circular chart widget, you can watch this video. +To get started quickly with our Flutter circular chart widget, you can check out this video. ## Key Features -* **Chart types** - Supports three series types: [`pie`](https://www.syncfusion.com/flutter-widgets/flutter-charts/chart-types/pie-chart), [`doughnut`](https://www.syncfusion.com/flutter-widgets/flutter-charts/chart-types/doughnut-chart), and [`radial bar`](https://www.syncfusion.com/flutter-widgets/flutter-charts/chart-types/radial-bar-chart). Each type represents data in a unique style. These charts are user-friendly and provide enhanced UI visualization. +* **Chart types** - Supports 3 different series types such as [`pie`](https://www.syncfusion.com/flutter-widgets/flutter-charts/chart-types/pie-chart), [`doughnut`](https://www.syncfusion.com/flutter-widgets/flutter-charts/chart-types/doughnut-chart), and [`radial bar`](https://www.syncfusion.com/flutter-widgets/flutter-charts/chart-types/radial-bar-chart) series. Each type represents data in a unique style. These charts are user-friendly and provide enhanced UI visualization. ![Chart Types](images/overview/chart_types_circular.png) -* **User interaction** - The end-user experience is enhanced by user interaction features such as callbacks, selection, tooltip, and explode in the chart. +* **User interaction** - The end-user experience is greatly enhanced by including the user interaction features such as callbacks, selection, tooltip, and explode in chart. -* **Legends** - Display additional information about the chart series. The chart legend can also be used to collapse the series. Legends can be wrapped or scrolled if an item exceeds the available bounds. +* **Legends** - Display additional information about the chart series. The chart legend can also be used to collapse the series. The legends can be wrapped or scrolled if an item exceeds the available bounds. ![Legend](images/overview/chart_legend_circular.png) diff --git a/chart-sdk/flutter/circular-chart/right-to-left.md b/chart-sdk/flutter/circular-chart/right-to-left.md index 50c686e57..d17fbfb71 100644 --- a/chart-sdk/flutter/circular-chart/right-to-left.md +++ b/chart-sdk/flutter/circular-chart/right-to-left.md @@ -1,15 +1,15 @@ --- layout: post -title: RTL support in Flutter Circular Chart | Syncfusion® -description: The RTL support in Flutter Circular Chart offers right-to-left rendering for chart elements, improving usability in RTL language applications. +title: RTL support in Flutter Circular Charts widget | Syncfusion +description: Learn here about the RTL support in Syncfusion Flutter Circular Charts (SfCircularChart) widget and more. platform: chart-sdk control: Chart documentation: ug --- -# RTL support in Flutter Circular Chart +# Right To Left (RTL) in Flutter Circular Chart (SfCircularChart) -Circular charts support right-to-left rendering. However, series and other chart elements render the same for both LTR and RTL, except for the legend and tooltip. +Circular chart supports right to left rendering. But series and other chart elements rendering will be the same for both LTR and RTL except legend and tooltip. ## RTL rendering ways @@ -17,7 +17,7 @@ Right to left rendering can be switched in the following ways: ### Wrapping the SfCircularChart with Directionality widget -To change the rendering direction from right to left, you can wrap the [`SfCircularChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCircularChart-class.html) widget inside the [`Directionality`](https://api.flutter.dev/flutter/widgets/Directionality-class.html) widget and set the [`textDirection`](https://api.flutter.dev/flutter/widgets/Directionality/textDirection.html) property to [`TextDirection.rtl`](https://api.flutter.dev/flutter/dart-ui/TextDirection.html#rtl). +To change the rendering direction from right to left, you can wrap the [`SfCircularChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCircularChart-class.html) widget inside the [`Directionality`](https://api.flutter.dev/flutter/widgets/Directionality-class.html) widget and set the [`textDirection`](https://api.flutter.dev/flutter/widgets/Directionality/textDirection.html) property as [`TextDirection.rtl`](https://api.flutter.dev/flutter/dart-ui/TextDirection.html#rtl). {% tabs %} {% highlight dart hl_lines="5" %} diff --git a/chart-sdk/flutter/circular-chart/selection.md b/chart-sdk/flutter/circular-chart/selection.md index 09a5561db..3b9817cde 100644 --- a/chart-sdk/flutter/circular-chart/selection.md +++ b/chart-sdk/flutter/circular-chart/selection.md @@ -1,15 +1,15 @@ --- layout: post -title: Selection in Flutter Circular Chart | Syncfusion® -description: The selection support in Flutter Circular Chart offers interactive point and segment selection with customizable styles to highlight data insights. +title: Selection in Flutter Circular Charts widget | Syncfusion +description: Learn here all about Selection feature of Syncfusion Flutter Circular Charts (SfCircularChart) widget and more. platform: chart-sdk control: Chart documentation: ug --- -# Selection in Flutter Circular Chart +# Selection in Flutter Circular Charts (SfCircularChart) -The selection feature in the chart lets you select a segment in a series or the series itself. This feature allows you to select either an individual segment or a cluster of segments in the chart series. +The selection feature in chart lets you select a segment in a series or the series itself. This features allows you to select either individual or cluster of segments in the chart series. {% tabs %} {% highlight dart hl_lines="7" %} @@ -51,7 +51,7 @@ The selection feature in the chart lets you select a segment in a series or the ## Customizing the segments -You can customize the segments using the following properties. +You can customize the segments using the below properties. * [`selectedColor`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SelectionBehavior/selectedColor.html) - used to change the background color of selected segment. * [`unselectedColor`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SelectionBehavior/unselectedColor.html) - used to change the background color of unselected segment. @@ -127,8 +127,8 @@ Multiple selection can be enabled using the [`enableMultiSelection`](https://pub ## Toggle selection -You can decide whether to deselect the selected data point or series, or keep it selected when interacted with again, by setting the [`toggleSelection`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SelectionBehavior/toggleSelection.html) property to `true` or `false`. If set to `true`, deselection is performed; otherwise, the point is not deselected. -This works even while calling public methods, in various selection modes, with multi-selection, and during dynamic changes. +You can decide, whether to deselect the selected data point/series or remain selected when interacted with it again by setting the [`toggleSelection`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SelectionBehavior/toggleSelection.html) property `true` or `false`. If set to true, deselection will be performed else the point will not get deselected. +This works even while calling public methods, in various selection modes, with multi-selection, and also on dynamic changes. Defaults to `true`. {% tabs %} @@ -170,8 +170,8 @@ Defaults to `true`. ![Toggle selection](images/selection/deselection.gif) -Also refer [`selection event`](https://help.syncfusion.com/chart-sdk/flutter/circular-chart/callbacks#onselectionchanged) for customizing the selection further. +Also refer [`selection event`](https://help.syncfusion.com/flutter/circular-charts/callbacks#onselectionchanged) for customizing the selection further. -### See Also +#### See Also * [Creating a clickable pie chart using selection in circular charts](https://support.syncfusion.com/kb/article/10815/how-to-create-clickable-pie-chart-in-flutter-using-circular-charts-widget-sfcircularchart). \ No newline at end of file diff --git a/chart-sdk/flutter/circular-chart/tooltip.md b/chart-sdk/flutter/circular-chart/tooltip.md index 307a7b8ac..332e0ca36 100644 --- a/chart-sdk/flutter/circular-chart/tooltip.md +++ b/chart-sdk/flutter/circular-chart/tooltip.md @@ -1,17 +1,17 @@ --- layout: post -title: Tooltip in Flutter Circular Chart | Syncfusion® -description: The tooltip support in Flutter Circular Chart offers interactive data insights with customizable content and appearance for better user engagement. +title: Tooltip in Flutter Circular Charts widget | Syncfusion +description: Learn here all about Tooltip feature of Syncfusion Flutter Circular Charts (SfCircularChart) widget and more. platform: chart-sdk control: Chart documentation: ug --- -# Tooltip in Flutter Circular Chart +# Tooltip in Flutter Circular Charts (SfCircularChart) -The chart provides tooltip support for all the series. It is used to show information about the segment when you tap the segment. To enable the tooltip, you need to set the [`enableTooltip`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartSeries/enableTooltip.html) property to `true`. +Chart provides tooltip support for all the series. It is used to show information about the segment when you tap on the segment. To enable the tooltip, you need to set [`enableTooltip`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartSeries/enableTooltip.html) property as `true`. -The tooltip state is preserved during device orientation changes and browser resize. For example, if the tooltip's [`duration`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/TooltipBehavior/duration.html) is set to 10,000 ms, and you change the orientation of your device from portrait to landscape after 5,000 ms of tooltip display, the tooltip is displayed for the next 5,000 ms in landscape mode before disappearing. +The tooltip state will be preserved on the device's orientation change and on browser resize. For example, if the tooltip's [`duration`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/TooltipBehavior/duration.html) is set to 10,000ms, and when you change the orientation of your device from portrait to landscape after 5,000ms of tooltip display, the tooltip will be displayed for the next 5,000ms in landscape mode before disappearing. {% tabs %} {% highlight dart hl_lines="5" %} diff --git a/chart-sdk/flutter/funnel-chart/accessibility.md b/chart-sdk/flutter/funnel-chart/accessibility.md index 8978e7a65..9ee1af87e 100644 --- a/chart-sdk/flutter/funnel-chart/accessibility.md +++ b/chart-sdk/flutter/funnel-chart/accessibility.md @@ -1,40 +1,40 @@ --- layout: post -title: Accessibility in Flutter Funnel Chart | Syncfusion® -description: The accessibility support in Flutter Funnel Chart offers sufficient contrast, large fonts, and tappable targets for an inclusive user experience. +title: Accessibility in Flutter Funnel Chart widget | Syncfusion +description: Learn here all about Accessibility feature of Syncfusion Flutter Funnel Chart (SfFunnelChart) widget and more. platform: chart-sdk control: Chart documentation: ug --- -# Accessibility in Flutter Funnel Chart +# Accessibility in Flutter Funnel Charts (SfFunnelChart) ## Sufficient contrast The [`SfFunnelChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfFunnelChart-class.html) [`theming`](https://help.syncfusion.com/flutter/themes) support offers a consistent and standardized look, as well as the ability to set the colors for all UI elements. -You can customize colors for the following chart elements. -* [Chart title](https://help.syncfusion.com/chart-sdk/flutter/funnel-chart/chart-title) -* [Palette for data points](https://help.syncfusion.com/chart-sdk/flutter/funnel-chart/funnel-customization#applying-palette-color) -* [Color mapping for data points](https://help.syncfusion.com/chart-sdk/flutter/funnel-chart/series-customization#color-mapping-for-data-points) -* [Data label](https://help.syncfusion.com/chart-sdk/flutter/funnel-chart/datalabel) -* [Legend title](https://help.syncfusion.com/chart-sdk/flutter/funnel-chart/legend#legend-title) -* [Legend item text](https://help.syncfusion.com/chart-sdk/flutter/funnel-chart/legend#customizing-legend) -* [Series tooltip](https://help.syncfusion.com/chart-sdk/flutter/funnel-chart/tooltip#customizing-the-appearance) -* [Selected segments](https://help.syncfusion.com/chart-sdk/flutter/funnel-chart/selection#customizing-the-segments) +The customization of colors can be done for the following chart elements. +* [Chart title](https://help.syncfusion.com/flutter/funnel-chart/chart-title) +* [Palette for data points](https://help.syncfusion.com/flutter/funnel-chart/funnel-customization#applying-palette-color) +* [Color mapping for data points](https://help.syncfusion.com/flutter/funnel-chart/series-customization#color-mapping-for-data-points) +* [Data label](https://help.syncfusion.com/flutter/funnel-chart/datalabel) +* [Legend title](https://help.syncfusion.com/flutter/funnel-chart/legend#legend-title) +* [Legend item text](https://help.syncfusion.com/flutter/funnel-chart/legend#customizing-legend) +* [Series tooltip](https://help.syncfusion.com/flutter/funnel-chart/tooltip#customizing-the-appearance) +* [Selected segments](https://help.syncfusion.com/flutter/funnel-chart/selection#customizing-the-segments) ## Large fonts -The [`SfFunnelChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfFunnelChart-class.html) font size can be adjusted automatically based on device settings, and the font size is scaled based on the [`MediaQueryData.textScaler`](https://api.flutter.dev/flutter/widgets/MediaQueryData/textScaler.html). It also allows you to change the font size of all elements in the funnel chart. -* [Chart title](https://help.syncfusion.com/chart-sdk/flutter/funnel-chart/chart-title) -* [Data labels](https://help.syncfusion.com/chart-sdk/flutter/funnel-chart/datalabel) -* [Legend title](https://help.syncfusion.com/chart-sdk/flutter/funnel-chart/legend#legend-title) -* [Legend item text](https://help.syncfusion.com/chart-sdk/flutter/funnel-chart/legend#customizing-legend) -* [Series tooltip](https://help.syncfusion.com/chart-sdk/flutter/funnel-chart/tooltip#customizing-the-appearance) +The [`SfFunnelChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfFunnelChart-class.html) font size can be adjusted automatically based on device settings and the font size scaled based on the [`MediaQueryData.textScaler`](https://api.flutter.dev/flutter/widgets/MediaQueryData/textScaler.html). And also it allows to change the font size of all elements in Funnel chart. +* [Chart title](https://help.syncfusion.com/flutter/funnel-chart/chart-title) +* [Data label](https://help.syncfusion.com/flutter/funnel-chart/datalabel) +* [Legend title](https://help.syncfusion.com/flutter/funnel-chart/legend#legend-title) +* [Legend item text](https://help.syncfusion.com/flutter/funnel-chart/legend#customizing-legend) +* [Series tooltip](https://help.syncfusion.com/flutter/funnel-chart/tooltip#customizing-the-appearance) ## Easily tappable targets -The [`SfFunnelChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfFunnelChart-class.html) provides callback support to notify when essential chart elements are tapped. -* [Data points](https://help.syncfusion.com/chart-sdk/flutter/funnel-chart/callbacks#onpointtap) -* [Data labels](https://help.syncfusion.com/chart-sdk/flutter/funnel-chart/callbacks#ondatalabeltapped) -* [Legend](https://help.syncfusion.com/chart-sdk/flutter/funnel-chart/callbacks#onlegendtapped) +The [`SfFunnelChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfFunnelChart-class.html) provides callback support to notify when tapping on the essential elements in the chart. +* [Data points](https://help.syncfusion.com/flutter/funnel-chart/callbacks#onpointtap) +* [Data labels](https://help.syncfusion.com/flutter/funnel-chart/callbacks#ondatalabeltapped) +* [Legend](https://help.syncfusion.com/flutter/funnel-chart/callbacks#onlegendtapped) diff --git a/chart-sdk/flutter/funnel-chart/callbacks.md b/chart-sdk/flutter/funnel-chart/callbacks.md index 6125b3474..56af03f00 100644 --- a/chart-sdk/flutter/funnel-chart/callbacks.md +++ b/chart-sdk/flutter/funnel-chart/callbacks.md @@ -1,19 +1,19 @@ --- layout: post -title: Callbacks in Flutter Funnel Chart | Syncfusion® -description: The callback support in Flutter Funnel Chart offers events for selection, legend, data labels, tooltips, and rendering to enable interactive experiences. +title: Callbacks in Flutter Funnel Chart widget | Syncfusion +description: Learn here all about Callbacks feature of Syncfusion Flutter Funnel Chart (SfFunnelChart) widget and more. platform: chart-sdk control: Chart documentation: ug --- -# Callbacks in Flutter Funnel Chart +# Callbacks in Flutter Funnel Chart (SfFunnelChart) -The following callbacks are available for the Funnel chart. +The below Callbacks are for Funnel chart. ## onLegendItemRender -Triggers when the legend item is rendered. Here, you can customize the legend's text and shape. The [`onLegendItemRender`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfFunnelChart/onLegendItemRender.html) callback contains the following arguments. +Triggers when the legend item is rendering. Here, you can customize the legend's text, and shape. The [`onLegendItemRender`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfFunnelChart/onLegendItemRender.html) Callback contains the following arguments. * [`text`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/LegendRenderArgs/text.html) - specifies the content of the legend. * [`pointIndex`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/LegendRenderArgs/pointIndex.html) - specifies the current point index that is applicable for Funnel chart type alone. @@ -45,7 +45,7 @@ Triggers when the legend item is rendered. Here, you can customize the legend's ## onTooltipRender -Triggers while the tooltip is rendering. Here, you can customize the text, header, and x and y positions. The [`onTooltipRender`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfFunnelChart/onTooltipRender.html) callback contains the following arguments. +Triggers while tooltip is rendering. Here, you can customize the text, header, x and y-positions. The [`onTooltipRender`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfFunnelChart/onTooltipRender.html) Callback contains the following arguments. * [`text`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/TooltipArgs/text.html) - specifies the content of the tooltip. * [`header`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/TooltipArgs/header.html) - specifies the header content of the tooltip. @@ -87,7 +87,7 @@ Triggers while the tooltip is rendering. Here, you can customize the text, heade ## onDataLabelRender -Triggers when the data label is rendered. Text and text styles such as color, font size, and font weight can be customized. The [`onDataLabelRender`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfFunnelChart/onDataLabelRender.html) callback contains the following arguments. +Triggers when data label is rendering. Text and text styles such as color, font size, and font weight can be customized. The [`onDataLabelRender`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfFunnelChart/onDataLabelRender.html) Callback contains the following arguments. * [`text`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/DataLabelRenderArgs/text.html) - specifies the content of the data label. * [`textStyle`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/DataLabelRenderArgs/textStyle.html) - used to change the text color, size, font family, font style, and font weight. @@ -123,7 +123,7 @@ Triggers when the data label is rendered. Text and text styles such as color, fo ## onLegendTapped -Triggers when the legend item is tapped. The [`onLegendTapped`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfFunnelChart/onLegendTapped.html) callback contains the following arguments. +Triggers when tapping the legend item. The [`onLegendTapped`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfFunnelChart/onLegendTapped.html) Callback contains the following arguments. * [`seriesIndex`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/LegendTapArgs/seriesIndex.html) - specifies the current series index. * [`pointIndex`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/LegendTapArgs/pointIndex.html) - specifies the current point index that is applicable for Funnel series. @@ -153,7 +153,7 @@ Triggers when the legend item is tapped. The [`onLegendTapped`](https://pub.dev/ ## onSelectionChanged -Triggers while selection changes. Here, you can customize the `selectedColor`, `unselectedColor`, `selectedBorderColor`, `selectedBorderWidth`, `unselectedBorderColor`, and `unselectedBorderWidth` properties. The [`onSelectionChanged`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfFunnelChart/onSelectionChanged.html) callback contains the following arguments. +Triggers while selection changes. Here you can customize the selectedColor, unselectedColor, selectedBorderColor, selectedBorderWidth, unselectedBorderColor, and unselectedBorderWidth properties. The [`onSelectionChanged`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfFunnelChart/onSelectionChanged.html) Callback contains the following arguments. * [`seriesRenderer`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SelectionArgs/seriesRenderer.html) - specifies current series. * [`seriesIndex`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SelectionArgs/seriesIndex.html) - specifies the current series index. @@ -201,7 +201,7 @@ Triggers while selection changes. Here, you can customize the `selectedColor`, ` ## onDataLabelTapped -Triggers when the data label of the data point in the series is tapped. The [`onDataLabelTapped`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfFunnelChart/onDataLabelTapped.html) callback contains the following arguments. +Triggers when tapping on the data label of the data point in the series. The [`onDataLabelTapped`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfFunnelChart/onDataLabelTapped.html) Callback contains the following arguments. * [`position`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/DataLabelTapDetails/position.html) - specifies the position of the tapped data label in logical pixels. * [`seriesIndex`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/DataLabelTapDetails/seriesIndex.html) - Specifies the series index of the tapped data label. @@ -210,7 +210,7 @@ Triggers when the data label of the data point in the series is tapped. The [`on * [`dataLabelSettings`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/DataLabelTapDetails/dataLabelSettings.html) - to get the data label customization options specified in that particular series. * [`viewportPointIndex`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/DataLabelTapDetails/viewportPointIndex.html) - to get the viewport index value of the tapped data label. ->**Note**: This callback will not be called when the builder is specified for the data label (data label template). In this case, the custom widget specified in the [`DataLabelSettings.builder`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/DataLabelSettings/builder.html) property can be wrapped using the [`GestureDetector`](https://api.flutter.dev/flutter/widgets/GestureDetector-class.html), and this functionality can be achieved at the application level. +>**Note**: This callback will not be called, when the builder is specified for data label (data label template). For this case, custom widget specified in the [`DataLabelSettings.builder`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/DataLabelSettings/builder.html) property can be wrapped using the [`GestureDetector`](https://api.flutter.dev/flutter/widgets/GestureDetector-class.html) and this functionality can be achieved in the application level. {% tabs %} {% highlight dart %} @@ -237,7 +237,7 @@ Triggers when the data label of the data point in the series is tapped. The [`on ## onPointTap -Triggers when the series point is tapped. The [`onPointTap`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartSeries/onPointTap.html) callback contains the following arguments. +Triggers when tapping on the series point. The [`onPointTap`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartSeries/onPointTap.html) callback contains the following arguments. * [`seriesIndex`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartPointDetails/seriesIndex.html) - specifies the current series index. * [`pointIndex`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartPointDetails/pointIndex.html) - specifies the current point index. @@ -268,7 +268,7 @@ Triggers when the series point is tapped. The [`onPointTap`](https://pub.dev/doc ## onPointDoubleTap -Triggers when the series point is double-tapped. The [`onPointDoubleTap`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartSeries/onPointDoubleTap.html) callback contains the following arguments. +Triggers when double-tap the series point. The [`onPointDoubleTap`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartSeries/onPointDoubleTap.html) callback contains the following arguments. * [`seriesIndex`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartPointDetails/seriesIndex.html) - specifies the current series index. * [`pointIndex`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartPointDetails/pointIndex.html) - specifies the current point index. @@ -299,7 +299,7 @@ Triggers when the series point is double-tapped. The [`onPointDoubleTap`](https: ## onPointLongPress -Triggers when the series point is long-pressed. The [`onPointLongPress`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartSeries/onPointLongPress.html) callback contains the following arguments. +Triggers when long press on the series point. The [`onPointLongPress`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartSeries/onPointLongPress.html) callback contains the following arguments. * [`seriesIndex`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartPointDetails/seriesIndex.html) - specifies the current series index. * [`pointIndex`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartPointDetails/pointIndex.html) - specifies the current point index. diff --git a/chart-sdk/flutter/funnel-chart/chart-appearance.md b/chart-sdk/flutter/funnel-chart/chart-appearance.md index cae9996e2..1bb68e23c 100644 --- a/chart-sdk/flutter/funnel-chart/chart-appearance.md +++ b/chart-sdk/flutter/funnel-chart/chart-appearance.md @@ -1,17 +1,17 @@ --- layout: post -title: Appearance customization in Flutter Funnel Chart | Syncfusion® -description: The appearance customization support in Flutter Funnel Chart offers chart sizing, margins, and chart area settings for flexible visual design. +title: Appearance customization in Flutter Funnel Chart widget | Syncfusion +description: Learn here all about Appearance customization of Syncfusion Flutter Funnel Chart (SfFunnelChart) widget and more. platform: chart-sdk control: Chart documentation: ug --- -# Appearance customization in Flutter Funnel Chart +# Appearance customization in Flutter Funnel Chart (SfFunnelChart) ## Chart sizing -The chart renders based on the parent widget's size. If you need the chart to be rendered in a specific size, set the width and height on the parent widget. +Chart renders based on the parent widget size. If you need the chart to be rendered in specific size, then set the size(width/height) to the parent widget. {% tabs %} {% highlight dart hl_lines="7 8" %} @@ -36,7 +36,7 @@ The chart renders based on the parent widget's size. If you need the chart to be ## Chart margin -The chart margin can be specified using the [`margin`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfFunnelChart/margin.html) property. +Margin to the chart can be specified using the [`margin`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfFunnelChart/margin.html) property. {% tabs %} {% highlight dart hl_lines="20" %} @@ -59,7 +59,7 @@ The chart margin can be specified using the [`margin`](https://pub.dev/documenta child: SfFunnelChart( borderColor: Colors.red, borderWidth: 2, - // Sets 15 logical pixels as margin for all four sides. + // Sets 15 logical pixels as margin for all the 4 sides. margin: EdgeInsets.all(15), series: FunnelSeries( dataSource: chartData, @@ -81,7 +81,7 @@ The chart margin can be specified using the [`margin`](https://pub.dev/documenta ## Chart area customization -You can customize the chart area using the following properties. +You can customize the area of the chart using the below properties. * [`backgroundColor`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfFunnelChart/backgroundColor.html) - used to change the chart area background color. * [`backgroundImage`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfFunnelChart/backgroundImage.html) - used to set the image path. diff --git a/chart-sdk/flutter/funnel-chart/chart-title.md b/chart-sdk/flutter/funnel-chart/chart-title.md index 14ba9bb11..3e625bf17 100644 --- a/chart-sdk/flutter/funnel-chart/chart-title.md +++ b/chart-sdk/flutter/funnel-chart/chart-title.md @@ -1,7 +1,7 @@ --- layout: post -title: Chart title in Flutter Funnel Chart widget | Syncfusion® -description: The chart title support in Flutter Funnel Chart widget offers customizable titles with appearance settings to enhance context and visual presentation. +title: Chart title in Flutter Funnel Chart widget | Syncfusion +description: Learn here all about Chart title feature of Syncfusion Flutter Funnel Chart (SfFunnelChart) widget and more. platform: chart-sdk control: Chart documentation: ug @@ -9,22 +9,22 @@ documentation: ug # Chart title in Flutter Funnel Chart (SfFunnelChart) -You can define and customize the chart title using the [`title`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfFunnelChart/title.html) property of [`SfFunnelChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfFunnelChart-class.html). The [`text`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartTitle/text.html) property of [`ChartTitle`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartTitle-class.html) is used to set the title text. +You can define and customize the Chart title using [`title`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfFunnelChart/title.html) property of [`SfFunnelChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfFunnelChart-class.html). The [`text`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartTitle/text.html) property of [`ChartTitle`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartTitle-class.html) is used to set the text for the title. Following properties can be used to customize its appearance. * [`backgroundColor`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartTitle/backgroundColor.html) - used to change the background color. * [`borderColor`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartTitle/borderColor.html) - used to change the border color. * [`borderWidth`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartTitle/borderWidth.html) - used to change the border width. -* [`textStyle`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartTitle/textStyle.html) - used to change the text color, size, font family, font style, and font weight. +* [`textStyle`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartTitle/textStyle.html) - used to change the text color, size, font family, fontStyle, and font weight. * [`color`](https://api.flutter.dev/flutter/painting/TextStyle/color.html) - used to change the color of the text. * [`fontFamily`](https://api.flutter.dev/flutter/painting/TextStyle/fontFamily.html) - used to change the font family for chart title. * [`fontStyle`](https://api.flutter.dev/flutter/painting/TextStyle/fontStyle.html) - used to change the font style for the chart title. * [`fontSize`](https://api.flutter.dev/flutter/painting/TextStyle/fontSize.html) - used to change the font size for the chart title. -## Title Alignment +### Title Alignment -You can align the title text horizontally to the near, center, or far of the chart using the [`alignment`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartTitle/alignment.html) property of the [`title`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfFunnelChart/title.html). +You can align the title text content horizontally to the near, center or far of the chart using the [`alignment`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartTitle/alignment.html) property of the [`title`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfFunnelChart/title.html). {% tabs %} {% highlight dart %} @@ -49,7 +49,7 @@ You can align the title text horizontally to the near, center, or far of the cha fontSize: 14, ) ), - // Initialize the chart series + // Initialize category axis series: FunnelSeries( dataSource: [ // Bind data source diff --git a/chart-sdk/flutter/funnel-chart/datalabel.md b/chart-sdk/flutter/funnel-chart/datalabel.md index 7625956f8..85c46e209 100644 --- a/chart-sdk/flutter/funnel-chart/datalabel.md +++ b/chart-sdk/flutter/funnel-chart/datalabel.md @@ -1,31 +1,31 @@ --- layout: post -title: Data label in Flutter Funnel Chart | Syncfusion® -description: The data label support in Flutter Funnel Chart offers customizable labels, smart positioning, and overflow handling for clear data presentation. +title: Data label in Flutter Funnel Chart widget | Syncfusion +description: Learn here all about Data label feature of Syncfusion Flutter Funnel Chart (SfFunnelChart) widget and more. platform: chart-sdk control: Chart documentation: ug --- -# Data label in Flutter Funnel Chart +# Data label in Flutter Funnel Chart (SfFunnelChart) -Data labels can be added to a chart series by enabling the [`isVisible`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/DataLabelSettings/isVisible.html) option in the [`dataLabelSettings`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartSeries/dataLabelSettings.html). You can use the following properties to customize the appearance. +Data label can be added to a chart series by enabling the [`isVisible`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/DataLabelSettings/isVisible.html) option in the [`dataLabelSettings`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartSeries/dataLabelSettings.html). You can use the following properties to customize the appearance. * [`color`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/DataLabelSettings/color.html) - used to change the background color of the data label shape. * [`borderWidth`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/DataLabelSettings/borderWidth.html) - used to change the stroke width of the data label shape. * [`borderColor`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/DataLabelSettings/borderColor.html) - used to change the stroke color of the data label shape. * [`alignment`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/DataLabelSettings/alignment.html) - aligns the data label text to [`ChartAlignment.near`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartAlignment.html#near), [`ChartAlignment.center`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartAlignment.html#center) and [`ChartAlignment.far`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartAlignment.html#far). * [`textStyle`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/DataLabelSettings/textStyle.html) - used to change the data label text color, size, font family, font style, and font weight. -* [`color`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/DataLabelSettings/color.html) - used to change the data label color. +* [`color`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/DataLabelSettings/color.html) - used to change the color of the data label. * [`fontFamily`](https://api.flutter.dev/flutter/painting/TextStyle/fontFamily.html) - used to change the font family for the data label. * [`fontStyle`](https://api.flutter.dev/flutter/painting/TextStyle/fontStyle.html) - used to change the font style for the data label. * [`fontWeight`](https://api.flutter.dev/flutter/painting/TextStyle/fontWeight.html) - used to change the font weight for the data label. * [`fontSize`](https://api.flutter.dev/flutter/painting/TextStyle/fontSize.html) - used to change the font size for the data label. * [`margin`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/DataLabelSettings/margin.html) - used to change the margin size for data labels. * [`opacity`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/DataLabelSettings/opacity.html) - used to control the transparency of the data label. -* [`labelAlignment`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/DataLabelSettings/labelAlignment.html) - used to align the Funnel data label positions. The available options to customize the positions are [`ChartDataLabelAlignment.outer`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartDataLabelAlignment.html#outer), [`ChartDataLabelAlignment.auto`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartDataLabelAlignment.html#auto), [`ChartDataLabelAlignment.top`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartDataLabelAlignment.html#top), [`ChartDataLabelAlignment.bottom`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartDataLabelAlignment.html#bottom), and [`ChartDataLabelAlignment.middle`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartDataLabelAlignment.html#middle). +* [`labelAlignment`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/DataLabelSettings/labelAlignment.html) - used to align the Funnel data label positions. The available options to customize the positions are [`ChartDataLabelAlignment.outer`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartDataLabelAlignment.html#outer), [`ChartDataLabelAlignment.auto`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartDataLabelAlignment.html#auto), [`ChartDataLabelAlignment.top`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartDataLabelAlignment.html#top), [`ChartDataLabelAlignment.bottom`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartDataLabelAlignment.html#bottom) and [`ChartDataLabelAlignment.middle`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartDataLabelAlignment.html#middle). * [`borderRadius`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/DataLabelSettings/borderRadius.html) - used to add the rounded corners to the data label shape. -* [`angle`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/DataLabelSettings/angle.html) - used to rotate the labels. +* [`angle`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/DataLabelSettings/angle.html) - used to rotate the labels. {% tabs %} {% highlight dart hl_lines="8" %} @@ -70,9 +70,9 @@ Data labels can be added to a chart series by enabling the [`isVisible`](https:/ ## Positioning the labels -The [`labelAlignment`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/DataLabelSettings/labelAlignment.html) property is used to position the Funnel chart data labels at the [`ChartDataLabelAlignment.top`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartDataLabelAlignment.html#top), [`ChartDataLabelAlignment.bottom`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartDataLabelAlignment.html#bottom), [`ChartDataLabelAlignment.auto`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartDataLabelAlignment.html#auto), [`ChartDataLabelAlignment.outer`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartDataLabelAlignment.html#outer), and [`ChartDataLabelAlignment.middle`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartDataLabelAlignment.html#middle) positions relative to the actual data point. By default, labels are positioned at [`ChartDataLabelAlignment.auto`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartDataLabelAlignment.html#auto). You can move the labels horizontally and vertically using the OffsetX and OffsetY properties respectively. +The [`labelAlignment`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/DataLabelSettings/labelAlignment.html) property is used to position the Funnel chart type data labels at [`ChartDataLabelAlignment.top`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartDataLabelAlignment.html#top), [`ChartDataLabelAlignment.bottom`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartDataLabelAlignment.html#bottom), [`ChartDataLabelAlignment.auto`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartDataLabelAlignment.html#auto), [`ChartDataLabelAlignment.outer`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartDataLabelAlignment.html#outer) and [`ChartDataLabelAlignment.middle`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartDataLabelAlignment.html#middle) position of the actual data point position. By default, labels are [`ChartDataLabelAlignment.auto`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartDataLabelAlignment.html#auto) positioned. You can move the labels horizontally and vertically using OffsetX and OffsetY properties respectively. -The [`labelPosition`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/DataLabelSettings/labelPosition.html) property is used to place the Funnel series data labels either [`ChartDataLabelPosition.inside`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartDataLabelPosition.html#inside) or [`ChartDataLabelPosition.outside`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartDataLabelPosition.html#outside). By default, the Funnel chart label is placed [`ChartDataLabelPosition.inside`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartDataLabelPosition.html#inside) the series. +The [`labelPosition`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/DataLabelSettings/labelPosition.html) property is used to place the Funnel series data labels either [`ChartDataLabelPosition.inside`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartDataLabelPosition.html#inside) or [`ChartDataLabelPosition.outside`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartDataLabelPosition.html#outside). By default the label of Funnel chart is placed [`ChartDataLabelPosition.inside`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartDataLabelPosition.html#inside) the series. {% tabs %} {% highlight dart hl_lines="14" %} @@ -104,11 +104,11 @@ The [`labelPosition`](https://pub.dev/documentation/syncfusion_flutter_charts/la ![Data label position](images/datalabel/datalabel_position.png) ->**Note**: The [`labelAlignment`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/DataLabelSettings/labelAlignment.html) property is used to position the Funnel chart labels, whereas the [`labelPosition`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/DataLabelSettings/labelPosition.html) property is used to position the Funnel chart labels. +>**Note**: The [`labelAlignment`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/DataLabelSettings/labelAlignment.html) property is used to position the Funnel chart labels whereas [`labelPosition`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/DataLabelSettings/labelPosition.html) property is used to position the Funnel chart labels. ## Apply series color -The [`useSeriesColor`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/DataLabelSettings/useSeriesColor.html) property is used to apply the series color to the background color of the data labels. The default value of this property is `false`. +The [`useSeriesColor`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/DataLabelSettings/useSeriesColor.html) property is used to apply the series color to background color of the data labels. The default value of this property is `false`. {% tabs %} {% highlight dart hl_lines="16" %} @@ -144,7 +144,7 @@ The [`useSeriesColor`](https://pub.dev/documentation/syncfusion_flutter_charts/l ## Hide data label for 0 value -Data labels and their connector lines in the Funnel chart for points with a value of 0 can be hidden using the [`showZeroValue`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/DataLabelSettings/showZeroValue.html) property. This defaults to `true`. +Data label and its connector line in the Funnel charts for the point value 0 can be hidden using the [`showZeroValue`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/DataLabelSettings/showZeroValue.html) property. This defaults to `true`. {% tabs %} {% highlight dart hl_lines="17" %} @@ -180,17 +180,17 @@ Data labels and their connector lines in the Funnel chart for points with a valu ## Data label saturation color -If the user doesn't provide a text color for the data label, then the saturation color is applied to the data label text by default. That is, if the data point background color intensity is dark, the data label will render in white color (#FFFFFF), and if the data point background color intensity is light, the data label will render in black color (#000000). +If the user didn't provide text color to the data label, then by default, the saturation color is applied to the data label text. i.e., if the data points background color intensity is dark, then the data label will render in white color (#FFFFFF) and if the data points background color intensity is light, data label will render in black color (#000000). ![label_saturation](images/datalabel/funnel_saturation.png) ## Overflow mode -The action for data labels when they overflow their region can be changed based on this property. If the [`overflowMode`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/DataLabelSettings/overflowMode.html) property is set to [`OverflowMode.none`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/OverflowMode.html#none), then [`labelIntersectAction`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/DataLabelSettings/labelIntersectAction.html) takes priority; otherwise, [`overflowMode`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/DataLabelSettings/overflowMode.html) takes priority. +Action on data labels when it’s overflowing from its region area. The overflowing data label rendering behavior can be changed based on this. If [`overflowMode`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/DataLabelSettings/overflowMode.html) property is set to [`OverflowMode.none`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/OverflowMode.html#none) then the [`labelIntersectAction`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/DataLabelSettings/labelIntersectAction.html) takes the priority, else [`overflowMode`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/DataLabelSettings/overflowMode.html) takes the priority. -The default is [`OverflowMode.none`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/OverflowMode.html#none). +Defaults to [`OverflowMode.none`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/OverflowMode.html#none). ->**Note**: This is applicable only to pie, doughnut, pyramid, and funnel series types. +>**Note**: This is applicable for pie, doughnut, pyramid, and funnel series types alone. {% tabs %} {% highlight dart hl_lines="7" %} diff --git a/chart-sdk/flutter/funnel-chart/export-funnel-chart.md b/chart-sdk/flutter/funnel-chart/export-funnel-chart.md index eb1e0dd08..a69182487 100644 --- a/chart-sdk/flutter/funnel-chart/export-funnel-chart.md +++ b/chart-sdk/flutter/funnel-chart/export-funnel-chart.md @@ -1,19 +1,19 @@ --- layout: post -title: Exporting in Flutter Funnel Chart | Syncfusion® -description: The exporting support in Flutter Funnel Chart offers image and document export options for easy sharing, reporting, and presentation. +title: Exporting in Flutter Funnel Chart widget | Syncfusion +description: Learn here all about Exporting feature of Syncfusion Flutter Funnel Chart (SfFunnelChart) widget and more. platform: chart-sdk control: Chart documentation: ug --- -# Exporting in Flutter Funnel Chart +# Exporting in Flutter Funnel Chart (SfFunnelChart) -[`SfFunnelChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfFunnelChart-class.html) provides support for exporting the funnel chart as a PNG image or as a PDF document. +[`SfFunnelChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfFunnelChart-class.html) provides support to export the funnel chart as a PNG image or as a PDF document. ## Export image -To export the funnel chart as a PNG image, you can get the image by calling the [`toImage`](https://api.flutter.dev/flutter/rendering/RenderRepaintBoundary/toImage.html) method on the repaint boundary. +To export the funnel chart as a PNG image, we can get the image by calling [`toImage`](https://api.flutter.dev/flutter/rendering/RenderRepaintBoundary/toImage.html) method in repaint boundary. {% tabs %} {% highlight dart %} @@ -136,7 +136,7 @@ Add the following additional packages to the dependencies in your pubspec.yaml f {% endhighlight %} -Include the following code snippet in the main.dart file of your Flutter application to export the rendered Funnel chart as a PDF document. +Include the following code snippet in the main.dart file of your flutter application to export the rendered Funnel chart as a PDF document. {% tabs %} {% highlight dart %} @@ -152,7 +152,7 @@ Include the following code snippet in the main.dart file of your Flutter applica /// Chart import. import 'package:syncfusion_flutter_charts/charts.dart'; - /// PDF import. + /// Pdf import. import 'package:syncfusion_flutter_pdf/pdf.dart'; @@ -228,15 +228,15 @@ Include the following code snippet in the main.dart file of your Flutter applica bitmap, Rect.fromLTWH(0, 0, pageSize.width, pageSize.height)); final List bytes = document.saveSync(); document.dispose(); - // Get external storage directory + //Get external storage directory final Directory directory = await getApplicationSupportDirectory(); - // Get directory path + //Get directory path final String path = directory.path; - // Create an empty file to write PDF data + //Create an empty file to write PDF data File file = File('$path/Output.pdf'); - // Write PDF bytes data + //Write PDF bytes data await file.writeAsBytes(bytes, flush: true); - // Open the PDF document on mobile + //Open the PDF document in mobile OpenFile.open('$path/Output.pdf'); } @@ -258,4 +258,4 @@ Include the following code snippet in the main.dart file of your Flutter applica {% endhighlight %} {% endtabs %} -![pdf_export](images/export-funnel-chart/pdf_view.png) \ No newline at end of file + ![pdf_export](images/export-funnel-chart/pdf_view.png) \ No newline at end of file diff --git a/chart-sdk/flutter/funnel-chart/funnel-customization.md b/chart-sdk/flutter/funnel-chart/funnel-customization.md index eaa852ad9..0676177eb 100644 --- a/chart-sdk/flutter/funnel-chart/funnel-customization.md +++ b/chart-sdk/flutter/funnel-chart/funnel-customization.md @@ -1,20 +1,20 @@ --- layout: post -title: Customization in Flutter Funnel Chart | Syncfusion® -description: The customization support in Flutter Funnel Chart offers control over funnel size, neck size, segment gaps, explode behavior, and palette colors. +title: Customization in Flutter Funnel Chart widget | Syncfusion +description: Learn here all about Customization of Syncfusion Flutter Funnel Chart (SfFunnelChart) widget and more. platform: chart-sdk control: Chart documentation: ug --- -# Customization in Flutter Funnel Chart +# Customization in Flutter Funnel Chart (SfFunnelChart) -To render a funnel chart, create an instance of [`FunnelSeries`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/FunnelSeries-class.html) and add it to the [`series`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfFunnelChart/series.html) property of [`SfFunnelChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfFunnelChart-class.html). The following properties are used to customize the appearance of a funnel segment: +To render a funnel chart, create an instance of [`FunnelSeries`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/FunnelSeries-class.html), and add it to the [`series`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfFunnelChart/series.html) property of [`SfFunnelChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfFunnelChart-class.html). The following properties are used to customize the appearance of a funnel segment: * [`opacity`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartSeries/opacity.html) - controls the transparency of the chart series. * [`borderWidth`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartSeries/borderWidth.html) - changes the stroke width of the series. * [`borderColor`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/FunnelSeries/borderColor.html) - changes the stroke color of the series. -* [`pointColorMapper`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartSeries/pointColorMapper.html) - maps the color from the data source. +* [`pointColorMapper`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartSeries/pointColorMapper.html) - Maps the color from data source. {% tabs %} {% highlight dart %} @@ -32,7 +32,7 @@ To render a funnel chart, create an instance of [`FunnelSeries`](https://pub.dev ChartData('Soybeans', 446), ChartData('Black beans', 341), ChartData('Mushrooms', 296), - ChartData('Avocado', 160), + ChartData('Avacado', 160), ], xValueMapper: (ChartData data, _) => data.x, yValueMapper: (ChartData data, _) => data.y) @@ -44,8 +44,8 @@ To render a funnel chart, create an instance of [`FunnelSeries`](https://pub.dev class ChartData { ChartData(this.x, this.y); - final String x; - final double y; + final String x; + final double y; } {% endhighlight %} @@ -55,7 +55,7 @@ To render a funnel chart, create an instance of [`FunnelSeries`](https://pub.dev ## Changing funnel size -You can modify the size of the funnel series using the [`height`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/FunnelSeries/height.html) and [`width`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/FunnelSeries/width.html) properties. It ranges from 0% to 100%. +You can modify the size of funnel series using the [`height`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/FunnelSeries/height.html) and [`width`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/FunnelSeries/width.html) properties. It ranges from 0% to 100%. {% tabs %} {% highlight dart %} @@ -92,7 +92,7 @@ You can modify the size of the funnel series using the [`height`](https://pub.de ## Changing neck size -You can modify the neck size of the funnel series using the [`neckHeight`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/FunnelSeries/neckHeight.html) and [`neckWidth`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/FunnelSeries/neckWidth.html) properties. It ranges from 0% to 100%. +You can modify the neck size of funnel series using the [`neckHeight`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/FunnelSeries/neckHeight.html) and [`neckWidth`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/FunnelSeries/neckWidth.html) properties. It ranges from 0% to 100%. {% tabs %} {% highlight dart %} @@ -165,9 +165,9 @@ You can control the gap between the two segments using the [`gapRatio`](https:// ## Explode segments -You can explode a funnel segment using the [`explodeIndex`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/FunnelSeries/explodeIndex.html) property. The [`explodeOffset`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/FunnelSeries/explodeOffset.html) property is used to specify the distance of the exploded segment. +You can explode a funnel segment using the [`explodeIndex`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/FunnelSeries/explodeIndex.html) property. The [`explodeOffset`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/FunnelSeries/explodeOffset.html) property is used to specify the exploded segment's distance. -Also, the segments can be exploded by tapping them. +Also, the segments can be exploded by tapping the segment. {% tabs %} {% highlight dart %} @@ -205,7 +205,7 @@ Also, the segments can be exploded by tapping them. ## Applying palette color -The [`palette`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfFunnelChart/palette.html) property is used to define colors for the series available in the chart. By default, a set of 10 colors is predefined for applying it to the series. If the colors specified in the series are fewer than the number of series, then the remaining series will be filled with the specified palette colors rotationally. +The [`palette`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfFunnelChart/palette.html) property is used to define colors for the series available in chart. By default, a set of 10 colors is predefined for applying it to the series. If the colors specified in the series are less than the number of series, then the remaining series will be filled with the specified palette colors rotationally. {% tabs %} {% highlight dart %} diff --git a/chart-sdk/flutter/funnel-chart/getting-started.md b/chart-sdk/flutter/funnel-chart/getting-started.md index 23226f7d9..7f49cacac 100644 --- a/chart-sdk/flutter/funnel-chart/getting-started.md +++ b/chart-sdk/flutter/funnel-chart/getting-started.md @@ -1,17 +1,17 @@ --- layout: post -title: Getting started with Flutter Funnel Chart | Syncfusion® -description: Learn how to get started with Syncfusion® Flutter Funnel Chart widget, its elements, and more customization details. +title: Getting started with Flutter Funnel Chart widget | Syncfusion +description: Learn here about getting started with Syncfusion Flutter Funnel Chart (SfFunnelChart) widget, its elements, and more. platform: chart-sdk control: Chart documentation: ug --- -# Getting started with Flutter Funnel Chart +# Getting started with Flutter Funnel Chart (SfFunnelChart) This section explains the steps required to populate the chart with data, title, data labels, legend, and tooltips. This section covers only the minimal features needed to know to get started with the chart. -To get started quickly with our Flutter chart widget, you can check out this video. +To get start quickly with our Flutter chart widget, you can check out this video. @@ -22,7 +22,7 @@ Create a simple project using the instructions given in the [Getting Started wit **Add dependency** -Add the Syncfusion® [Flutter Chart](https://www.syncfusion.com/flutter-widgets/flutter-charts) dependency to your pubspec.yaml file. +Add the Syncfusion® [Flutter Chart](https://www.syncfusion.com/flutter-widgets/flutter-charts) dependency to your pub spec file. {% tabs %} {% highlight dart %} @@ -33,7 +33,7 @@ Add the Syncfusion® [Flutter Chart](https://www.syncfusion.com/fl {% endhighlight %} {% endtabs %} ->**Note**: Here **xx.x.xx** denotes the current version of [`Syncfusion® Flutter Charts`](https://pub.dev/packages/syncfusion_flutter_charts/versions) package. +>**Note**: Here **xx.x.xx** denotes the current version of [`Syncfusion Flutter Charts`](https://pub.dev/packages/syncfusion_flutter_charts/versions) package. **Get packages** @@ -61,7 +61,7 @@ Import the following package in your Dart code. ## Initialize chart -Once the package has been imported, initialize the chart as a child of any widget. SfFunnelChart can be used to render Funnel charts. Here, since we are rendering a Funnel chart, initialize the SfFunnelChart widget as a child of a Container widget. +Once the package has been imported, initialize the chart as a child of any widget. SfFunnelChart can be used to render Funnel charts. Here, as we are rendering Funnel chart, initialize SfFunnelChart widget as a child of Container widget. {% tabs %} {% highlight dart hl_lines="7" %} @@ -81,7 +81,7 @@ Once the package has been imported, initialize the chart as a child of any widge {% endhighlight %} {% endtabs %} ->**Note**: An empty chart will be displayed. This is the chart's default behavior. +>**Note**: An empty chart will be displayed. This is the charts default behavior. ## Bind data source @@ -127,7 +127,7 @@ Based on your data, initialize the series type. In the series, you need to map t ## Add title -You can add a [`title`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfFunnelChart/title.html) to the chart to provide quick information to users about the data plotted in the chart. The title of the chart can be set as demonstrated in the following code snippet. +You can add a [`title`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfFunnelChart/title.html) to the chart to provide quick information to users about the data plotted in the chart. The title to chart can be set as demonstrated in the following code snippet. {% tabs %} {% highlight dart %} @@ -173,7 +173,7 @@ You can add data labels to improve the readability of the chart using the [`data dataSource: chartData, xValueMapper: (ChartData data, _) => data.x, yValueMapper: (ChartData data, _) => data.y, - // Render data labels + // Render the data label dataLabelSettings:DataLabelSettings(isVisible : true) ) ) @@ -191,7 +191,7 @@ You can add data labels to improve the readability of the chart using the [`data The legend provides information about the series rendered in the chart. -You can display a legend in the chart by setting the [`isVisible`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/Legend/isVisible.html) property to true in [`legend`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/Legend-class.html). +You can use legend in chart by setting the [`isVisible`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/Legend/isVisible.html) property to true in [`legend`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/Legend-class.html). {% tabs %} {% highlight dart %} @@ -224,7 +224,7 @@ You can display a legend in the chart by setting the [`isVisible`](https://pub.d The tooltip is used when you cannot display information using the data labels due to space constraints. -The [`tooltipBehavior`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfFunnelChart/tooltipBehavior.html) property in the chart is used to enable and customize the tooltip for the Funnel series. The tooltip is enabled as demonstrated in the following code snippet. +The [`tooltipBehavior`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfFunnelChart/tooltipBehavior.html) property in chart is used to enable and customize the tooltip for the Funnel series. The tooltip is enabled as demonstrated in the following code snippet. {% tabs %} {% highlight dart %} diff --git a/chart-sdk/flutter/funnel-chart/how-to/custom-widget-on-flutterflow.md b/chart-sdk/flutter/funnel-chart/how-to/custom-widget-on-flutterflow.md index 9b4b25fcc..c1d601d34 100644 --- a/chart-sdk/flutter/funnel-chart/how-to/custom-widget-on-flutterflow.md +++ b/chart-sdk/flutter/funnel-chart/how-to/custom-widget-on-flutterflow.md @@ -1,13 +1,13 @@ --- layout: post -title: How to add Syncfusion® Funnel Chart in FlutterFlow | Syncfusion® -description: Add Syncfusion® Flutter Funnel Chart in FlutterFlow to create compact, interactive charts that visualize trends and data patterns with ease. +title: Funnel Chart Widget in FlutterFlow | Syncfusion +description: Learn here all about adding Syncfusion Flutter Funnel Chart ( SfFunnelChart Widget ) widget in FlutterFlow . platform: chart-sdk control: Chart documentation: ug --- -# How to add Syncfusion® Funnel Chart in FlutterFlow +# How to add Syncfusion® Funnel Chart widget in FlutterFlow? ## Overview @@ -35,7 +35,7 @@ Navigate to the [FlutterFlow dashboard](https://app.flutterflow.io/dashboard) an ![Version](how-to-section-images/copy-version.png) 3. Paste the copied dependency into the text editor, then click `Refresh` and `Save` it. ->**Note**: The live version of [Syncfusion® Flutter Charts](https://pub.dev/packages/syncfusion_flutter_charts) has been migrated to the latest version of the Flutter SDK. To ensure compatibility, check [FlutterFlow](https://app.flutterflow.io/dashboard)'s current Flutter version and obtain the corresponding version of [Syncfusion® Flutter Charts](https://pub.dev/packages/syncfusion_flutter_charts) by referring to the [SDK compatibility](https://help.syncfusion.com/flutter/system-requirements#sdk-version-compatibility). +>**Note**: The live version of [Syncfusion® Flutter Charts](https://pub.dev/packages/syncfusion_flutter_charts) has been migrated to the latest version of Flutter SDK. To ensure compatibility, check [FlutterFlow](https://app.flutterflow.io/dashboard)'s current Flutter version and obtain the corresponding version of [Syncfusion® Flutter Charts](https://pub.dev/packages/syncfusion_flutter_charts) by referring to the [SDK compatibility](https://help.syncfusion.com/flutter/system-requirements#sdk-version-compatibility). ![Dependency](how-to-section-images/dependency.png) @@ -50,21 +50,21 @@ Navigate to the [FlutterFlow dashboard](https://app.flutterflow.io/dashboard) an 2. Paste the copied import statement into the code editor and then `Save` it. ![Import](how-to-section-images/import-package-flutterflow.png) -### Add widget code snippet in the code editor +### Add widget code snippet in code editor 1. Navigate to the [Example](https://pub.dev/packages/syncfusion_flutter_charts/example) tab in [Syncfusion® Flutter Charts](https://pub.dev/packages/syncfusion_flutter_charts) and copy the widget specific codes. ![Code](how-to-section-images/code-snippet.png) 2. Paste the copied code sample into the code editor, click `Format Code`, and `Save` it. ![Code snippet](how-to-section-images/Adding-code-snippent.png) -### Compiling the code +### Compiling the codes -1. Click the 'Compile Code' button located in the top-right corner. +1. Click the 'Compile Code' button located in the top right corner. 2. If there are no errors, save the process. If errors are present, fix them and compile the code again. Once the code has been successfully compiled, save the process. ![Compile code](how-to-section-images/compile-code.png) ->**Note**: The compilation process takes 2 to 3 minutes to complete. +>**Note**: The compilation progress takes 2 to 3 minutes to complete. ### Utilizing the custom widget diff --git a/chart-sdk/flutter/funnel-chart/legend.md b/chart-sdk/flutter/funnel-chart/legend.md index 9654202a3..f40a36cd1 100644 --- a/chart-sdk/flutter/funnel-chart/legend.md +++ b/chart-sdk/flutter/funnel-chart/legend.md @@ -1,15 +1,15 @@ --- layout: post -title: Legend in Flutter Funnel Chart | Syncfusion® -description: The legend support in Flutter Funnel Chart offers customizable legend items and positioning to improve chart readability and data understanding. +title: Legend in Flutter Funnel Chart widget | Syncfusion +description: Learn here all about Legend feature of Syncfusion Flutter Funnel Chart (SfFunnelChart) widget and more. platform: chart-sdk control: Chart documentation: ug --- -# Legend in Flutter Funnel Chart +# Legend in Flutter Funnel Chart (SfFunnelChart) -The [`legend`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfFunnelChart/legend.html) contains a list of chart series or data points in the chart. The information provided in each legend item helps identify the corresponding data series in the chart. +The [`legend`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfFunnelChart/legend.html) contains a list of chart series/data points in chart. The information provided in each legend item helps to identify the corresponding data series in chart. {% tabs %} {% highlight dart hl_lines="14" %} @@ -51,7 +51,7 @@ The [`legend`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/ch ## Customizing legend -The [`name`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartSeries/name.html) property of [`FunnelSeries`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/FunnelSeries-class.html) is used to define the label for the corresponding series legend item, and for [`FunnelSeries`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/FunnelSeries-class.html) type charts, the values mapped with [`xValueMapper`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartSeries/xValueMapper.html) are displayed by default. The appearance of the label can be customized using the following properties. +The [`name`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartSeries/name.html) property of [`FunnelSeries`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/FunnelSeries-class.html) is used to define the label for the corresponding series legend item and for [`FunnelSeries`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/FunnelSeries-class.html) type chart by default values mapped with [`xValueMapper`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartSeries/xValueMapper.html) will be displayed. The appearance of the label can be customized using the below properties. * [`borderWidth`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/Legend/borderWidth.html) - used to change the stroke width of the legend shape. * [`borderColor`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/Legend/borderColor.html) - used to change the stroke color of the legend shape. * [`backgroundColor`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/Legend/backgroundColor.html) - used to change the background color of legend shape. @@ -143,9 +143,9 @@ The following properties can be used to define and customize the [`title`](https ![Legend title](images/legend/legend_title.png) -## Toggle the series visibility +## Toggles the series visibility -You can control the visibility of the series by tapping the legend item. You can enable this feature by setting the [`toggleSeriesVisibility`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/Legend/toggleSeriesVisibility.html) property to `true`. +You can control the visibility of the series by tapping the legend item. You can enable this feature by enabling the [`toggleSeriesVisibility`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/Legend/toggleSeriesVisibility.html) property. {% tabs %} {% highlight dart hl_lines="10" %} @@ -177,7 +177,7 @@ You can control the visibility of the series by tapping the legend item. You can ## Legend visibility -The [`isVisible`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/Legend/isVisible.html) property of [`legend`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfFunnelChart/legend.html) is used to toggle the visibility of the legend. +The [`isVisible`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/Legend/isVisible.html) property of [`legend`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfFunnelChart/legend.html) is used to toggle the visibility of legend. {% tabs %} {% highlight dart hl_lines="10" %} @@ -209,7 +209,7 @@ The [`isVisible`](https://pub.dev/documentation/syncfusion_flutter_charts/latest ## Legend overflow -The legend items can be placed in multiple rows, or scrolling can be enabled using the [`overflowMode`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/Legend/overflowMode.html) property if the total legend items exceed the available size. The default value of the [`overflowMode`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/Legend/overflowMode.html) property is [`LegendItemOverflowMode.scroll`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/LegendItemOverflowMode.html#scroll). +The legend items can be placed in multiple rows or scroll can be enabled using the [`overflowMode`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/Legend/overflowMode.html) property if size of the total legend items exceeds the available size. The default value of the [`overflowMode`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/Legend/overflowMode.html) property is [`LegendItemOverflowMode.scroll`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/LegendItemOverflowMode.html#scroll). {% tabs %} {% highlight dart hl_lines="11" %} @@ -245,7 +245,7 @@ The legend items can be placed in multiple rows, or scrolling can be enabled usi ## Positioning the legend -You can change the position of the legend inside the chart. The following properties are used to customize the position of the legend. The **auto** position will place the legend on the right if the chart's width is greater than its height; otherwise, the legend will be placed at the bottom. +You can change the position of the legend inside the chart. The following properties are used to customize the position of legend. **auto** position will place the legend at the right, if the chart's width is greater than the chart's height. Else the legend will be placed at the bottom position. * [`position`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/Legend/position.html) - used to position the legend relatively. The available options are auto, bottom, left, right, and top. Defaults to [`LegendPosition.auto`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/LegendPosition.html#auto). * [`orientation`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/Legend/orientation.html) - used to change the orientation of the legend, the default value is [`LegendItemOrientation.auto`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/LegendItemOrientation.html#auto). Also you can set [`LegendItemOrientation.horizontal`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/LegendItemOrientation.html#horizontal) or [`LegendItemOrientation.vertical`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/LegendItemOrientation.html#vertical). @@ -307,9 +307,9 @@ Also, the legend will not take a dedicated position for it and will be drawn on } class ChartData { - ChartData(this.x, this.y); - final String x; - final double? y; + ChartData(this.x, this.y); + final String x; + final double? y; } @@ -318,7 +318,7 @@ Also, the legend will not take a dedicated position for it and will be drawn on ## Legend item template -You can customize the appearance of legend items with a template by using the [`legendItemBuilder`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/Legend/legendItemBuilder.html) property of [`legend`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfFunnelChart/legend.html). Here you can specify the content that needs to be displayed as a widget in the legend text. +You can customize the appearance of legend items with your template by using [`legendItemBuilder`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/Legend/legendItemBuilder.html) property of [`legend`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfFunnelChart/legend.html). Here you can specify the content that needs to be displayed in the legend text as widget. {% tabs %} {% highlight dart %} diff --git a/chart-sdk/flutter/funnel-chart/methods.md b/chart-sdk/flutter/funnel-chart/methods.md index a6b427bc9..9bf3c9df6 100644 --- a/chart-sdk/flutter/funnel-chart/methods.md +++ b/chart-sdk/flutter/funnel-chart/methods.md @@ -1,26 +1,26 @@ --- layout: post -title: Methods in Flutter Funnel Chart | Syncfusion® -description: The methods in Flutter Funnel Chart documentation provide publicly accessible APIs for performing chart-related operations programmatically. +title: Methods in Flutter Funnel Chart widget | Syncfusion +description: Learn here all about available methods of Syncfusion Flutter Funnel Chart(SfFunnelChart) widget and more. platform: chart-sdk control: Chart documentation: ug --- -# Methods in Flutter Funnel Chart +# Methods in Flutter Funnel Chart (SfFunnelChart) ## PixelToPoint -Converts a logical pixel value to a data point value. +Converts logical pixel value to the data point value. -The [`pixelToPoint`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/FunnelSeriesController/pixelToPoint.html) method takes a logical pixel value as input and returns a chart data point. +The [`pixelToPoint`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/FunnelSeriesController/pixelToPoint.html) method takes logical pixel value as input and returns a chart data point. ->**Note**: The method returns the center value of the segment. +>**Note**: The method will return the center value of the segment. {% tabs %} {% highlight dart %} - // Initialize the series controller + //Initialize the series controller FunnelSeriesController? seriesController; @override diff --git a/chart-sdk/flutter/funnel-chart/overview.md b/chart-sdk/flutter/funnel-chart/overview.md index 026118ad0..45b5492cd 100644 --- a/chart-sdk/flutter/funnel-chart/overview.md +++ b/chart-sdk/flutter/funnel-chart/overview.md @@ -1,7 +1,7 @@ --- layout: post -title: About Flutter Funnel Chart widget | Syncfusion® -description: Learn here all about introduction of Syncfusion® Flutter Funnel Chart widget, its features, and more details +title: About Flutter Funnel Chart widget | Syncfusion +description: Learn here all about introduction of Syncfusion Flutter Funnel Chart (SfFunnelChart) widget, its features, and more platform: chart-sdk control: Chart documentation: ug @@ -9,16 +9,16 @@ documentation: ug # Flutter Funnel Chart (SfFunnelChart) Overview -The Syncfusion® Flutter Funnel Chart (SfFunnelChart) widget is written natively in Dart for creating beautiful, high-performance funnel charts, which are used to craft high-quality applications using Flutter. +Syncfusion® Flutter Funnel Chart (SfFunnelChart) widget is written natively in Dart for creating beautiful and high-performance Funnel chart, which are used to craft high-quality applications using Flutter. ![Overview Flutter chart](images/overview/overview.png) ## Key Features -* It supports the [`Funnel`](https://www.syncfusion.com/flutter-widgets/flutter-charts/chart-types/funnel-chart) chart series and is more user-friendly with better UI visualization. +* It supports [`Funnel`](https://www.syncfusion.com/flutter-widgets/flutter-charts/chart-types/funnel-chart) chart series and it is more user friendly and has greater UI visualization. -* The end-user experience is greatly enhanced by user interaction features such as callbacks, selection, tooltip, and explode in the chart. +* The end-user experience is greatly enhanced by including the user interaction features such as callbacks, selection, tooltip, and explode in chart. -* Legends display additional information about the chart series. The chart legend can also be used to collapse the series. Legends can be wrapped or scrolled if an item exceeds the available bounds. +* Legends display additional information about the chart series. The chart legend can also be used to collapse the series. The legends can be wrapped or scrolled if an item exceeds the available bounds. -* It provides various options to customize chart features, labels, legends, series, and more. +* Provides various options to customize the chart features, labels, legends, series, etc. and visualize them accordingly. diff --git a/chart-sdk/flutter/funnel-chart/right-to-left.md b/chart-sdk/flutter/funnel-chart/right-to-left.md index b522a44e7..af71b5628 100644 --- a/chart-sdk/flutter/funnel-chart/right-to-left.md +++ b/chart-sdk/flutter/funnel-chart/right-to-left.md @@ -1,23 +1,23 @@ --- layout: post -title: RTL support in Flutter Funnel Chart | Syncfusion® -description: The RTL support in Flutter Funnel Chart offers right-to-left rendering for chart elements, improving usability in RTL language applications. +title: RTL support in Flutter Funnel Chart widget | Syncfusion +description: Learn here about the RTL support in Syncfusion Flutter Funnel Chart (SfFunnelChart) widget and more. platform: chart-sdk control: Chart documentation: ug --- -# Right to Left (RTL) support in Flutter Funnel Chart +# Right To Left (RTL) in Flutter Funnel Chart (SfFunnelChart) -The funnel chart supports right-to-left rendering. However, series and other chart elements render the same for both LTR and RTL, except for the legend and tooltip. +Funnel chart supports right to left rendering. However, series and other chart elements rendering will be the same for both LTR and RTL except legend and tooltip. ## RTL rendering ways Right to left rendering can be switched in the following ways: -### Wrapping the SfFunnelChart with the Directionality widget +### Wrapping the SfFunnelChart with Directionality widget -To change the rendering direction from right to left, you can wrap the [`SfFunnelChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfFunnelChart-class.html) widget inside the [`Directionality`](https://api.flutter.dev/flutter/widgets/Directionality-class.html) widget and set the [`textDirection`](https://api.flutter.dev/flutter/widgets/Directionality/textDirection.html) property to [`TextDirection.rtl`](https://api.flutter.dev/flutter/dart-ui/TextDirection.html#rtl). +To change the rendering direction from right to left, you can wrap the [`SfFunnelChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfFunnelChart-class.html) widget inside the [`Directionality`](https://api.flutter.dev/flutter/widgets/Directionality-class.html) widget and set the [`textDirection`](https://api.flutter.dev/flutter/widgets/Directionality/textDirection.html) property as [`TextDirection.rtl`](https://api.flutter.dev/flutter/dart-ui/TextDirection.html#rtl). {% tabs %} {% highlight dart hl_lines="5" %} @@ -39,7 +39,7 @@ To change the rendering direction from right to left, you can wrap the [`SfFunne ### Changing the locale to RTL languages -To change the chart rendering direction from right to left, you can change the [`locale`](https://api.flutter.dev/flutter/material/MaterialApp/locale.html) to any RTL language such as Arabic, Persian, Hebrew, Pashto, or Urdu. +To change the chart rendering direction from right to left, you can change the [`locale`](https://api.flutter.dev/flutter/material/MaterialApp/locale.html) to any of the RTL languages such as Arabic, Persian, Hebrew, Pashto, and Urdu. {% tabs %} {% highlight dart %} @@ -74,11 +74,11 @@ To change the chart rendering direction from right to left, you can change the [ {% endhighlight %} {% endtabs %} -## RTL-supported chart elements +## RTL supported chart elements ### Legend -Right-to-left rendering affects the legend in the chart. Legend items are rendered from right to left; that is, the legend text appears on the left first, followed by the legend icon on the right. +Right to left rendering is effective for the legend in the chart. Legend items will be rendered from right to left direction, i.e., the legend text will appear on the left first, followed by the legend icon on the right. {% tabs %} {% highlight dart %} @@ -120,7 +120,7 @@ Right-to-left rendering affects the legend in the chart. Legend items are render ### Tooltip -Right-to-left rendering is applicable to [`tooltip`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/TooltipBehavior-class.html) elements. By default, the tooltip content is `point.x : point.y`; in RTL rendering, the tooltip content becomes `point.y : point.x`. If you want the format to remain unchanged despite RTL rendering, you can use the [`onTooltipRender`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfFunnelChart/onTooltipRender.html) callback. +Right-to-left rendering is applicable for [`tooltip`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/TooltipBehavior-class.html) elements. By default, the tooltip content will be `point.x : point.y`, in RTL rendering the tooltip content will be `point.y : point.x`. If you wish the format to be applied as it is despite RTL rendering in this case, you can make use of [`onTooltipRender`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfFunnelChart/onTooltipRender.html) callback. {% tabs %} {% highlight dart %} diff --git a/chart-sdk/flutter/funnel-chart/selection.md b/chart-sdk/flutter/funnel-chart/selection.md index 17a4a18d8..9cc3c5212 100644 --- a/chart-sdk/flutter/funnel-chart/selection.md +++ b/chart-sdk/flutter/funnel-chart/selection.md @@ -1,15 +1,15 @@ --- layout: post -title: Selection in Flutter Funnel Chart | Syncfusion® -description: The selection support in Flutter Funnel Chart offers interactive segment selection with customizable styles to highlight and analyze data points. +title: Selection in Flutter Funnel Chart widget | Syncfusion +description: Learn here all about Selection feature of Syncfusion Flutter Funnel Chart (SfFunnelChart) widget and more. platform: chart-sdk control: Chart documentation: ug --- -# Selection in Flutter Funnel Chart +# Selection in Flutter Funnel Chart (SfFunnelChart) -The selection feature in the chart lets you select a segment in a series or the series itself. This feature allows you to select either individual segments or clusters of segments in the chart series. +The selection feature in chart lets you to select a segment in a series or the series itself. This feature allows you to select either individual or clusters of segments in the chart series. {% tabs %} {% highlight dart %} @@ -48,7 +48,7 @@ The selection feature in the chart lets you select a segment in a series or the ## Customizing the segments -You can customize the segments using the following properties. +You can customize the segments using the below properties. * [`selectedColor`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SelectionBehavior/selectedColor.html) - used to change the background color of selected segment. * [`unselectedColor`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SelectionBehavior/unselectedColor.html) - used to change the background color of unselected segment. @@ -100,7 +100,7 @@ You can customize the segments using the following properties. ## Multi-selection -Multiple selection can be enabled using the [`enableMultiSelection`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfFunnelChart/enableMultiSelection.html) property of the chart. +Multiple selection can be enabled using the [`enableMultiSelection`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfFunnelChart/enableMultiSelection.html) property of chart. {% tabs %} {% highlight dart %} @@ -126,7 +126,7 @@ Multiple selection can be enabled using the [`enableMultiSelection`](https://pub ## Selection on initial rendering -You can select a point or series programmatically on a chart using the [`initialSelectedDataIndexes`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartSeries/initialSelectedDataIndexes.html) property of the chart. +You can select a point or series programmatically on a chart using [`initialSelectedDataIndexes`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartSeries/initialSelectedDataIndexes.html) property of chart. {% tabs %} {% highlight dart %} @@ -151,8 +151,8 @@ You can select a point or series programmatically on a chart using the [`initial ## Toggle selection -You can decide whether to deselect the selected data point or series, or keep it selected when it is interacted with again, by setting the [`toggleSelection`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SelectionBehavior/toggleSelection.html) property to true or false. If set to true, deselection will be performed; otherwise, the point will not be deselected. -This works even while calling public methods, in various selection modes, with multi-selection, and during dynamic changes. +You can decide whether to deselect the selected data point/series or remain selected when interacted with it again by setting the [`toggleSelection`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SelectionBehavior/toggleSelection.html) property true or false. If set to true, deselection will be performed else the point will not get deselected. +This works even while calling public methods, in various selection modes, with multi-selection, and also on dynamic changes. Defaults to `true`. {% tabs %} @@ -186,7 +186,7 @@ Defaults to `true`. {% endhighlight %} {% endtabs %} -Also refer to the [selection event](https://help.syncfusion.com/chart-sdk/flutter/funnel-chart/callbacks#onselectionchanged) for further selection customization. +Also refer [selection event](https://help.syncfusion.com/flutter/funnel-chart/callbacks#onselectionchanged) for customizing the selection further. ## Methods in SelectionBehavior @@ -197,7 +197,7 @@ The [`selectDataPoints`](https://pub.dev/documentation/syncfusion_flutter_charts * [`pointIndex`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SelectionArgs/pointIndex.html) - index of the point which needs to be selected. * [`seriesIndex`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SelectionArgs/seriesIndex.html) - index of the series for which the pointIndex is specified and this is an optional parameter. By default it will be considered as 0. ->**Note**: The [`enableMultiSelection`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCartesianChart/enableMultiSelection.html) property is also applicable here, but it depends on the API values specified in the chart. +>**Note**: The [`enableMultiSelection`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCartesianChart/enableMultiSelection.html) is also applicable for this but it is based on the API values specified in the chart. {% tabs %} {% highlight dart %} diff --git a/chart-sdk/flutter/funnel-chart/series-customization.md b/chart-sdk/flutter/funnel-chart/series-customization.md index a5b970047..35b5f53b3 100644 --- a/chart-sdk/flutter/funnel-chart/series-customization.md +++ b/chart-sdk/flutter/funnel-chart/series-customization.md @@ -1,17 +1,17 @@ --- layout: post -title: Series customization in Flutter Funnel Chart | Syncfusion® -description: The series customization support in Flutter Funnel Chart offers control over segment appearance, spacing, colors, and rendering for tailored visualizations. +title: Series customization in Flutter Funnel Chart widget | Syncfusion +description: Learn here all about Series customization feature of Syncfusion Flutter Funnel Chart (SfFunnelChart) widget and more. platform: chart-sdk control: Chart documentation: ug --- -# Series customization in Flutter Funnel Chart +# Series customization in Flutter Funnel Chart (SfFunnelChart) ## Animation -[`SfFunnelChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfFunnelChart-class.html) provides animation support for the series. The series is animated while rendering. Animation is enabled by default, and you can also control the duration of the animation using the [`animationDuration`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartSeries/animationDuration.html) property. You can disable the animation by setting that property to 0. +[`SfFunnelChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfFunnelChart-class.html) provides animation support for the series. Series will be animated while rendering. Animation is enabled by default, you can also control the duration of the animation using [`animationDuration`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartSeries/animationDuration.html) property. You can disable the animation by setting 0 value to that property. {% tabs %} {% highlight dart %} @@ -39,7 +39,7 @@ documentation: ug ### Animation delay -The [`animationDelay`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartSeries/animationDelay.html) property is used to specify the delay duration of the series animation. This takes a millisecond value as input. By default, the series will animate for the specified duration. If [`animationDelay`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartSeries/animationDelay.html) is specified, then the series will begin animating after the specified duration. The default is `0`. +The [`animationDelay`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartSeries/animationDelay.html) property is used to specify the delay duration of the series animation. This takes milliseconds value as input. By default, the series will get animated for the specified duration. If [`animationDelay`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartSeries/animationDelay.html) is specified, then the series will begin to animate after the specified duration. Defaults to `0`. {% tabs %} {% highlight dart %} @@ -80,7 +80,7 @@ The [`animationDelay`](https://pub.dev/documentation/syncfusion_flutter_charts/l ## Empty points -Data points that have null values are considered empty points. Empty data points are ignored and not plotted in the chart. By using the [`emptyPointSettings`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartSeries/emptyPointSettings.html) property in the series, you can decide the action taken for empty points. Available [`modes`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/EmptyPointSettings/mode.html) are [`EmptyPointMode.gap`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/EmptyPointMode.html#gap), [`EmptyPointMode.zero`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/EmptyPointMode.html#zero), [`EmptyPointMode.drop`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/EmptyPointMode.html#drop), and [`EmptyPointMode.average`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/EmptyPointMode.html#average). The default mode for the empty point is [`EmptyPointMode.gap`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/EmptyPointMode.html#gap). +The data points that has null value are considered as empty points. Empty data points are ignored and not plotted in the chart. By using [`emptyPointSettings`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartSeries/emptyPointSettings.html) property in series, you can decide the action taken for empty points. Available [`modes`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/EmptyPointSettings/mode.html) are [`EmptyPointMode.gap`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/EmptyPointMode.html#gap), [`EmptyPointMode.zero`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/EmptyPointMode.html#zero), [`EmptyPointMode.drop`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/EmptyPointMode.html#drop) and [`EmptyPointMode.average`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/EmptyPointMode.html#average). Default mode of the empty point is [`EmptyPointMode.gap`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/EmptyPointMode.html#gap). {% tabs %} {% highlight dart %} @@ -117,7 +117,7 @@ Data points that have null values are considered empty points. Empty data points ### Empty point customization -You can set a specific color for an empty point by using the [`color`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/EmptyPointSettings/color.html) property in [`emptyPointSettings`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartSeries/emptyPointSettings.html). The [`borderWidth`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/EmptyPointSettings/borderWidth.html) property is used to change the stroke width of the empty point, and [`borderColor`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/EmptyPointSettings/borderColor.html) is used to change the stroke color of the empty point. +Specific color for empty point can be set by [`color`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/EmptyPointSettings/color.html) property in [`emptyPointSettings`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartSeries/emptyPointSettings.html). The [`borderWidth`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/EmptyPointSettings/borderWidth.html) property is used to change the stroke width of the empty point and [`borderColor`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/EmptyPointSettings/borderColor.html) is used to change the stroke color of the empty point. {% tabs %} {% highlight dart %} diff --git a/chart-sdk/flutter/funnel-chart/tooltip.md b/chart-sdk/flutter/funnel-chart/tooltip.md index 21b368fab..161056e3e 100644 --- a/chart-sdk/flutter/funnel-chart/tooltip.md +++ b/chart-sdk/flutter/funnel-chart/tooltip.md @@ -1,17 +1,17 @@ --- layout: post -title: Tooltip in Flutter Funnel Chart | Syncfusion® -description: The tooltip support in Flutter Funnel Chart offers interactive data insights with customizable content and appearance for better user engagement. +title: Tooltip in Flutter Funnel Chart | Syncfusion +description: Step-by-step guide to customize tooltips in Syncfusion Flutter Funnel Chart—enable, format, style tooltips, set activation modes, and key features. platform: chart-sdk control: Chart documentation: ug --- -# Tooltip in Flutter Funnel Chart +# Flutter Funnel Chart Tooltip (SfFunnelChart) -The chart provides tooltip support for all series. It is used to show information about the segment when you tap the segment. To enable the tooltip, you need to set the [`enableTooltip`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartSeries/enableTooltip.html) property to true. +Chart provides tooltip support for all the series. It is used to show information about the segment when you tap on the segment. To enable the tooltip, you need to set [`enableTooltip`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartSeries/enableTooltip.html) property as true. -The tooltip state is preserved when the device orientation changes or when the browser is resized. For example, if the tooltip's [`duration`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/TooltipBehavior/duration.html) is set to 10,000 ms, and you change the orientation of your device from portrait to landscape after 5,000 ms of tooltip display, the tooltip will continue for the next 5,000 ms in landscape mode before disappearing. +The tooltip state will be preserved on the device's orientation change and on browser resize. For example, if the tooltip's [`duration`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/TooltipBehavior/duration.html) is set to 10,000ms, and when you change the orientation of your device from portrait to landscape after 5,000ms of tooltip display, the tooltip will be displayed for the next 5,000ms in landscape mode before disappearing. {% tabs %} {% highlight dart %} @@ -19,14 +19,14 @@ The tooltip state is preserved when the device orientation changes or when the b late TooltipBehavior _tooltipBehavior; @override - void initState() { + void initState(){ _tooltipBehavior = TooltipBehavior(enable: true); super.initState(); } @override Widget build(BuildContext context) { - final List chartData = [ + List chartData = [ ChartData('Jan', 35), ChartData('Feb', 28), ChartData('Mar', 38), @@ -48,7 +48,7 @@ The tooltip state is preserved when the device orientation changes or when the b ) ); } - class ChartData { + class ChartData{ ChartData(this.x, this.y); final String x; final double? y; @@ -68,7 +68,7 @@ You can use the following properties to customize the tooltip appearance. * [`borderColor`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/TooltipBehavior/borderColor.html) - used to change the stroke color of the tooltip. * [`opacity`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/TooltipBehavior/opacity.html) - used to control the transparency of the tooltip. * [`duration`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/TooltipBehavior/duration.html) - specifies the duration for displaying the tooltip that defaults to `3000`. -* [`animationDuration`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/TooltipBehavior/animationDuration.html) - specifies the duration for animating the tooltip, and the default is 350. +* [`animationDuration`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/TooltipBehavior/animationDuration.html) - specifies the duration for animating the tooltip that default to 350. * [`elevation`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/TooltipBehavior/elevation.html) - specifies the elevation of tooltip. * [`canShowMarker`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/TooltipBehavior/canShowMarker.html) - toggles the visibility of the marker in the tooltip. * [`header`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/TooltipBehavior/header.html) - specifies the header for tooltip. By default, the series name will be displayed in the header. @@ -232,16 +232,16 @@ You can customize the appearance of the tooltip with your own widget by using th ![Tooltip template](images/tooltip/tooltip_template.png) -## Activation mode +## Activation mode -The [`activationMode`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/TooltipBehavior/activationMode.html) property is used to restrict tooltip visibility based on touch actions. The default value of this property is [`ActivationMode.singleTap`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ActivationMode.html#singleTap). +The [`activationMode`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/TooltipBehavior/activationMode.html) property is used to restrict the visibility of tooltip based on the touch actions. The default value of this property is [`ActivationMode.singleTap`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ActivationMode.html#singleTap). The ActivationMode enum contains the following values: -* [`ActivationMode.longPress`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ActivationMode.html#longPress) - activates the tooltip only when performing the long-press action. -* [`ActivationMode.singleTap`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ActivationMode.html#singleTap) - activates the tooltip only when performing a single-tap action. -* [`ActivationMode.doubleTap`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ActivationMode.html#doubleTap) - activates the tooltip only when performing a double-tap action. -* [`ActivationMode.none`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ActivationMode.html#none) - hides the tooltip when activation mode is set to none. +* [`ActivationMode.longPress`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ActivationMode.html#longPress) - activates tooltip only when performing the long press action. +* [`ActivationMode.singleTap`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ActivationMode.html#singleTap) - activates tooltip only when performing single tap action. +* [`ActivationMode.doubleTap`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ActivationMode.html#doubleTap) - activates tooltip only when performing double tap action. +* [`ActivationMode.none`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ActivationMode.html#none) - hides the visibility of tooltip when setting activation mode to none. {% tabs %} {% highlight dart %} @@ -274,4 +274,4 @@ The ActivationMode enum contains the following values: {% endhighlight %} {% endtabs %} -Also refer to the [`tooltip event`](./callbacks#ontooltiprender) for further tooltip customization. \ No newline at end of file +Also refer [`tooltip event`](./callbacks#ontooltiprender) for customizing the tooltip further. \ No newline at end of file diff --git a/chart-sdk/flutter/linear-gauge/accessibility.md b/chart-sdk/flutter/linear-gauge/accessibility.md index a1ff5047d..756b50482 100644 --- a/chart-sdk/flutter/linear-gauge/accessibility.md +++ b/chart-sdk/flutter/linear-gauge/accessibility.md @@ -1,7 +1,7 @@ --- layout: post -title: Accessibility in Flutter Linear Gauge | Syncfusion® -description: Learn about accessibility support in Syncfusion® Flutter Linear Gauge (SfLinearGauge), including screen readers, keyboard navigation, and more. +title: Accessibility in Flutter Linear Gauge widget | Syncfusion +description: Learn here all about the accessibility support in Syncfusion Flutter Linear Gauge (SfLinearGauge) widget and how to customize it. platform: chart-sdk control: SfLinearGauge documentation: ug @@ -14,33 +14,21 @@ documentation: ug The [`SfLinearGauge`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/SfLinearGauge-class.html) can be made accessible to screen readers by wrapping it with the [`Semantics`](https://api.flutter.dev/flutter/widgets/Semantics-class.html) widget. {% tabs %} -{% highlight dart %} +{% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const LinearGaugeDemo()); - -class LinearGaugeDemo extends StatelessWidget { - const LinearGaugeDemo({Key? key}) : super(key: key); + double _value = 50; @override Widget build(BuildContext context) { - double value = 50; - return MaterialApp( - title: 'Linear Gauge Demo', - home: Scaffold( - body: Semantics( - label: 'Syncfusion Flutter Linear Gauge', - value: value.toString(), - child: SfLinearGauge( - markerPointers: [LinearShapePointer(value: value)], - ), - ), + return Scaffold( + body: Semantics( + label: 'Syncfusion Flutter Linear Gauge', + value: _value.toString(), + child: + SfLinearGauge(markerPointers: [LinearShapePointer(value: _value)]), ), ); } -} {% endhighlight %} {% endtabs %} @@ -49,22 +37,22 @@ class LinearGaugeDemo extends StatelessWidget { You can customize the color of the [`SfLinearGauge`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/SfLinearGauge-class.html) elements using the following APIs to ensure sufficient contrast. -* [`Axis solid color`]https://help.syncfusion.com/chart-sdk/flutter/linear-gauge/axis#apply-solid-color) -* [`Axis gradient`]https://help.syncfusion.com/chart-sdk/flutter/linear-gauge/axis#apply-gradient) -* [`Ticks`]https://help.syncfusion.com/chart-sdk/flutter/linear-gauge/ticks#customize-tick-style) -* [`Labels`]https://help.syncfusion.com/chart-sdk/flutter/linear-gauge/labels#customize-label-styles) -* [`Range`]https://help.syncfusion.com/chart-sdk/flutter/linear-gauge/getting-started#add-range) -* [`Radial gradient`]https://help.syncfusion.com/chart-sdk/flutter/linear-gauge/range#apply-radial-gradient-to-a-range) -* [`Linear gradient`]https://help.syncfusion.com/chart-sdk/flutter/linear-gauge/range#apply-linear-gradient-to-a-range) -* [`Sweep gradient`]https://help.syncfusion.com/chart-sdk/flutter/linear-gauge/range#apply-sweep-gradient-to-a-range) -* [`Bar pointer`]https://help.syncfusion.com/chart-sdk/flutter/linear-gauge/bar-pointer#change-the-color-of-bar-pointer) -* [`Marker`]https://help.syncfusion.com/chart-sdk/flutter/linear-gauge/shape-marker-pointer#customize-color) +* [`Axis solid color`](https://help.syncfusion.com/flutter/linear-gauge/axis#apply-solid-color) +* [`Axis gradient`](https://help.syncfusion.com/flutter/linear-gauge/axis#apply-gradient) +* [`Ticks`](https://help.syncfusion.com/flutter/linear-gauge/ticks#customize-tick-style) +* [`Labels`](https://help.syncfusion.com/flutter/linear-gauge/labels#customize-label-styles) +* [`Range`](https://help.syncfusion.com/flutter/linear-gauge/getting-started#add-range) +* [`Radial gradient`](https://help.syncfusion.com/flutter/linear-gauge/range#apply-radial-gradient-to-a-range) +* [`Linear gradient`](https://help.syncfusion.com/flutter/linear-gauge/range#apply-linear-gradient-to-a-range) +* [`Sweep gradient`](https://help.syncfusion.com/flutter/linear-gauge/range#apply-sweep-gradient-to-a-range) +* [`Bar pointer`](https://help.syncfusion.com/flutter/linear-gauge/bar-pointer#change-the-color-of-bar-pointer) +* [`Marker`](https://help.syncfusion.com/flutter/linear-gauge/shape-marker-pointer#customize-color) ## Large fonts You can adjust the font size of the [`SfLinearGauge`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/SfLinearGauge-class.html) elements using the following API: -* [`Labels`]https://help.syncfusion.com/chart-sdk/flutter/linear-gauge/labels#customize-label-styles) +* [`Labels`](https://help.syncfusion.com/flutter/linear-gauge/labels#customize-label-styles) ## Easily touch targets diff --git a/chart-sdk/flutter/linear-gauge/animation.md b/chart-sdk/flutter/linear-gauge/animation.md index 989023e4a..88c10724d 100644 --- a/chart-sdk/flutter/linear-gauge/animation.md +++ b/chart-sdk/flutter/linear-gauge/animation.md @@ -1,7 +1,7 @@ --- layout: post -title: Animation in Flutter Linear Gauge | Syncfusion® -description: Learn about animation support in Syncfusion® Flutter Linear Gauge (SfLinearGauge), including pointer animations, duration settings, and visual effects. +title: Animation in Flutter Linear Gauge widget | Syncfusion +description: Learn here all about adding and customizing animation of Syncfusion Flutter Linear Gauge (SfLinearGauge) widget and more. platform: chart-sdk control: SfLinearGauge documentation: ug @@ -15,17 +15,8 @@ All Linear Gauge elements such as axis (along with ticks and labels), range, bar The [`animateAxis`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/SfLinearGauge/animateAxis.html) and [`animationDuration`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/SfLinearGauge/animationDuration.html) properties in [`SfLinearGauge`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/SfLinearGauge-class.html) are used to animate the axis track along with the ticks and labels. The axis will have a fade-in with opacity animation when [`animateAxis`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/SfLinearGauge/animateAxis.html) is set to true. By default, the [`animateAxis`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/SfLinearGauge/animateAxis.html) is set to false. -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const LinearGaugeDemo()); - -class LinearGaugeDemo extends StatelessWidget { - const LinearGaugeDemo({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { return MaterialApp( @@ -39,10 +30,8 @@ class LinearGaugeDemo extends StatelessWidget { ), ); } -} {% endhighlight %} -{% endtabs %} ![Animate axis in linear gauge](images/animation/animation-axis-range/animation-axis.gif) @@ -50,17 +39,8 @@ class LinearGaugeDemo extends StatelessWidget { The [`animateRange`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/SfLinearGauge/animateRange.html) and [`animationDuration`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/SfLinearGauge/animationDuration.html) properties in [`SfLinearGauge`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/SfLinearGauge-class.html) are used to animate ranges. The range will have a fade-in with opacity animation when [`animateRange`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/SfLinearGauge/animateRange.html) is set to true. By default, the [`animateRange`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/SfLinearGauge/animateRange.html) is set to false. -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const LinearGaugeDemo()); - -class LinearGaugeDemo extends StatelessWidget { - const LinearGaugeDemo({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { return MaterialApp( @@ -74,12 +54,10 @@ class LinearGaugeDemo extends StatelessWidget { ), ); } -} -{% endhighlight %} -{% endtabs %} + {% endhighlight %} -![Animate range in linear gauge](images/animation/animation-axis-range/animation-range.gif) + ![Animate range in linear gauge](images/animation/animation-axis-range/animation-range.gif) ## Pointer animation @@ -105,16 +83,7 @@ The [`animationType`](https://pub.dev/documentation/syncfusion_flutter_gauges/la The following code example demonstrates how to customize the animation for bar pointer: -{% tabs %} -{% highlight dart %} - -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const LinearGaugeDemo()); - -class LinearGaugeDemo extends StatelessWidget { - const LinearGaugeDemo({Key? key}) : super(key: key); +{% highlight dart %} @override Widget build(BuildContext context) { @@ -134,10 +103,8 @@ class LinearGaugeDemo extends StatelessWidget { ), ); } -} {% endhighlight %} -{% endtabs %} ### Animate marker pointers (Shape and Widget Pointers) @@ -145,41 +112,4 @@ Both the shape and widget marker pointers have the same set of properties and be ### Marker pointer with `bounceOut` animation -The following code example demonstrates how to animate a shape marker pointer with `bounceOut` animation type: - -{% tabs %} -{% highlight dart %} - -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const LinearGaugeDemo()); - -class LinearGaugeDemo extends StatelessWidget { - const LinearGaugeDemo({Key? key}) : super(key: key); - - @override - Widget build(BuildContext context) { - return MaterialApp( - home: Scaffold( - body: Center( - child: SfLinearGauge( - markerPointers: [ - LinearShapePointer( - value: 60, - animationType: LinearAnimationType.bounceOut, - animationDuration: 2000, - enableAnimation: true, - ), - ], - ), - ), - ), - ); - } -} - -{% endhighlight %} -{% endtabs %} - ![Animate marker pointer in linear gauge](images/animation/shape-pointer/bounceout.gif) diff --git a/chart-sdk/flutter/linear-gauge/axis.md b/chart-sdk/flutter/linear-gauge/axis.md index dee84dea2..f11e4780b 100644 --- a/chart-sdk/flutter/linear-gauge/axis.md +++ b/chart-sdk/flutter/linear-gauge/axis.md @@ -1,9 +1,10 @@ --- layout: post -title: Axis in Flutter Linear Gauge | Syncfusion® -description: Learn about axis customization in Syncfusion® Flutter Linear Gauge (SfLinearGauge), including ranges, labels, ticks, intervals, and styling options. +title: Axis in Flutter Linear Gauge widget | Syncfusion +description: Learn here all about adding and customizing Axis of Syncfusion Flutter Linear Gauge (SfLinearGauge) widget and more. platform: chart-sdk control: SfLinearGauge + documentation: ug --- @@ -13,19 +14,10 @@ The Linear Gauge axis is a scale where a set of values can be plotted. An axis c ## Default axis -By default, the axis will have a [`minimum`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/SfLinearGauge/minimum.html) value of 0 and a [`maximum`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/SfLinearGauge/maximum.html) value of 100. Without any customization, the default axis of the Linear Gauge will be displayed as follows: +By default axis will have a [`minimum`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/SfLinearGauge/minimum.html) axis value as 0 and a [`maximum`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/SfLinearGauge/maximum.html) axis value of 100. Without any customization, the default axis of the Linear Gauge will be displayed as follows: -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const LinearGaugeDemo()); - -class LinearGaugeDemo extends StatelessWidget { - const LinearGaugeDemo({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { return MaterialApp( @@ -36,28 +28,17 @@ class LinearGaugeDemo extends StatelessWidget { ), ); } -} {% endhighlight %} -{% endtabs %} ![Initialize linear gauge for axis](images/getting-started/default_linear_gauge.png) ## Customize minimum and maximum axis values -The [`minimum`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/SfLinearGauge/minimum.html) and [`maximum`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/SfLinearGauge/maximum.html) properties of a Linear Gauge can be used to customize the axis values. In the example below, the axis is customized to have a [`minimum`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/SfLinearGauge/minimum.html) value from -50 to a [`maximum`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/SfLinearGauge/maximum.html) value of 50. The axis values are displayed by labels, which can be further customized as explained in later sections. +The [`minimum`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/SfLinearGauge/minimum.html) and [`maximum`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/SfLinearGauge/maximum.html) properties of a Linear Gauge can be used to customize the axis values. In the example below, the axis is customized to have a [`minimum`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/SfLinearGauge/minimum.html) value of -50 to [`maximum`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/SfLinearGauge/maximum.html) value of 50. The axis values are displayed by labels. which can be further customized as explained in later sections. -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const LinearGaugeDemo()); - -class LinearGaugeDemo extends StatelessWidget { - const LinearGaugeDemo({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { return MaterialApp( @@ -68,10 +49,8 @@ class LinearGaugeDemo extends StatelessWidget { ), ); } -} - + {% endhighlight %} -{% endtabs %} ![Update linear gauge for axis scale](images/axis/minmax_axis_linear_gauge.png) @@ -110,17 +89,8 @@ The following code sample demonstrates how to customize the [`thickness`](https: The code snippet below sets a solid color to the axis track: -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const LinearGaugeDemo()); - -class LinearGaugeDemo extends StatelessWidget { - const LinearGaugeDemo({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { return MaterialApp( @@ -133,12 +103,10 @@ class LinearGaugeDemo extends StatelessWidget { ), ); } -} {% endhighlight %} -{% endtabs %} -![Apply color to axis in linear gauge](images/axis/axis_solid_color.png) +![Apply color to axis in linear guage](images/axis/axis_solid_color.png) ## Apply gradient @@ -146,30 +114,23 @@ The [`color`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gau The following code sample applies a gradient to the axis track. -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const LinearGaugeDemo()); - -class LinearGaugeDemo extends StatelessWidget { - const LinearGaugeDemo({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { return MaterialApp( home: Scaffold( body: Center( - child: SfLinearGauge( - axisTrackStyle: LinearAxisTrackStyle( - gradient: LinearGradient( - colors: [Colors.purple, Colors.blue], - begin: Alignment.centerLeft, - end: Alignment.centerRight, - stops: [0.1, 0.5], - tileMode: TileMode.clamp, + child: Container( + child: SfLinearGauge( + axisTrackStyle: LinearAxisTrackStyle( + gradient: LinearGradient( + colors: [Colors.purple, Colors.blue], + begin: Alignment.centerLeft, + end: Alignment.centerRight, + stops: [0.1, 0.5], + tileMode: TileMode.clamp, + ), ), ), ), @@ -177,12 +138,10 @@ class LinearGaugeDemo extends StatelessWidget { ), ); } -} {% endhighlight %} -{% endtabs %} -![Apply color to axis in linear gauge](images/axis/axis_gradient.png) +![Apply color to axis in linear guage](images/axis/axis_gradient.png) ## Customize borders @@ -190,17 +149,8 @@ The [`borderColor`](https://pub.dev/documentation/syncfusion_flutter_gauges/late The code snippet below sets a border to the axis track: -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const LinearGaugeDemo()); - -class LinearGaugeDemo extends StatelessWidget { - const LinearGaugeDemo({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { return MaterialApp( @@ -210,7 +160,7 @@ class LinearGaugeDemo extends StatelessWidget { axisTrackStyle: LinearAxisTrackStyle( // Sets axis thickness for the better visibility of border thickness: 15, - // Hides axis color for the better visibility of border + // Hides axis axis color for the better visibility of border color: Colors.transparent, //Sets the border color borderColor: Colors.blueGrey, @@ -222,10 +172,8 @@ class LinearGaugeDemo extends StatelessWidget { ), ); } -} {% endhighlight %} -{% endtabs %} ![Customize axis track border](images/axis/axis_border.png) @@ -233,17 +181,8 @@ class LinearGaugeDemo extends StatelessWidget { The [`edgeStyle`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearAxisTrackStyle/edgeStyle.html) property of [`axisTrackStyle`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearAxisTrackStyle/LinearAxisTrackStyle.html) specifies the corner type for the axis track. The corners can be customized with `bothFlat`, `bothCurve`, `startCurve`, and `endCurve` options. The default value is `bothFlat`. -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const LinearGaugeDemo()); - -class LinearGaugeDemo extends StatelessWidget { - const LinearGaugeDemo({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { return MaterialApp( @@ -259,28 +198,18 @@ class LinearGaugeDemo extends StatelessWidget { ), ); } -} {% endhighlight %} -{% endtabs %} ![Change axis track edge style](images/axis/axis_corner_style.png) ## Inverse the axis -The direction of the linear gauge axis can be customized using the [`isAxisInversed`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/SfLinearGauge/isAxisInversed.html) property. When the [`isAxisInversed`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/SfLinearGauge/isAxisInversed.html) property is set to true, the axis will be displayed in an inverse direction. The default value is false. +The direction of linear gauge axis can be customized using the [`isAxisInversed`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/SfLinearGauge/isAxisInversed.html) property. +When the [`isAxisInversed`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/SfLinearGauge/isAxisInversed.html) property is set to true, the axis will be displayed in an inverse direction. The default value is false. -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const LinearGaugeDemo()); - -class LinearGaugeDemo extends StatelessWidget { - const LinearGaugeDemo({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { return MaterialApp( @@ -291,10 +220,8 @@ class LinearGaugeDemo extends StatelessWidget { ), ); } -} {% endhighlight %} -{% endtabs %} You can see that the axis values are displayed from 100 to 0 as the axis track is inversed. @@ -302,34 +229,23 @@ You can see that the axis values are displayed from 100 to 0 as the axis track i ## Extend the axis -The axis track can be extended using the [`axisTrackExtent`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/SfLinearGauge/axisTrackExtent.html) property. This will extend the axis track at both ends. The following code sample demonstrates this: +The axis track can be extended using the [`axisTrackExtent`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/SfLinearGauge/axisTrackExtent.html) property. This will extend the axis track at both ends. The following code sample demonstrates this: -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const LinearGaugeDemo()); - -class LinearGaugeDemo extends StatelessWidget { - const LinearGaugeDemo({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { return MaterialApp( color: Colors.white, home: Scaffold( body: Center( - child: SfLinearGauge(maximum: 50, axisTrackExtent: 50), + child: child: SfLinearGauge(maximum: 50, axisTrackExtent: 50), ), ), ); } -} {% endhighlight %} -{% endtabs %} ![Extend linear gauge axis tack](images/axis/extend_axis.png) @@ -337,17 +253,8 @@ class LinearGaugeDemo extends StatelessWidget { You can hide the axis track by setting the [`showAxisTrack`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/SfLinearGauge/showAxisTrack.html) property to false. The default value of this property is true. -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const LinearGaugeDemo()); - -class LinearGaugeDemo extends StatelessWidget { - const LinearGaugeDemo({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { return MaterialApp( @@ -358,33 +265,17 @@ class LinearGaugeDemo extends StatelessWidget { ), ); } -} {% endhighlight %} -{% endtabs %} ![Hide linear gauge axis track](images/axis/hide_axis_track.png) ## Customize axis values -Linear Gauge allows you to display a set of values along with a custom axis based on your business logic using the [`onGenerateLabels`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/SfLinearGauge/onGenerateLabels.html) and [`valueToFactorCallback`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/SfLinearGauge/valueToFactorCallback.html) callbacks. The `valueToFactorCallback` allows you to convert axis values into a factor between 0 and 1, while `onGenerateLabels` enables you to define custom labels for specific intervals. +Linear gauge allows you to display a set of values along with a custom axis based on your business logic by using the [`onGenerateLabels`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/SfLinearGauge/onGenerateLabels.html) and [`valueToFactorCallback`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/SfLinearGauge/valueToFactorCallback.html) callbacks. -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const LinearGaugeDemo()); - -class LinearGaugeDemo extends StatefulWidget { - const LinearGaugeDemo({Key? key}) : super(key: key); - - @override - State createState() => _LinearGaugeDemoState(); -} - -class _LinearGaugeDemoState extends State { double pointerValue = 50.0; // To return the label value based on interval @@ -411,76 +302,66 @@ class _LinearGaugeDemoState extends State { } Widget _getLinearGauge() { - return SfLinearGauge( - minimum: 0, - maximum: 150.0, - interval: 18.75, - animateAxis: true, - animateRange: true, - labelPosition: LinearLabelPosition.outside, - tickPosition: LinearElementPosition.outside, - valueToFactorCallback: (value) { - if (value >= 0 && value <= 2) { - return (value * 0.125) / 2; - } else if (value > 2 && value <= 5) { - return (((value - 2) * 0.125) / (5 - 2)) + (1 * 0.125); - } else if (value > 5 && value <= 10) { - return (((value - 5) * 0.125) / (10 - 5)) + (2 * 0.125); - } else if (value > 10 && value <= 20) { - return (((value - 10) * 0.125) / (20 - 10)) + (3 * 0.125); - } else if (value > 20 && value <= 30) { - return (((value - 20) * 0.125) / (30 - 20)) + (4 * 0.125); - } else if (value > 30 && value <= 50) { - return (((value - 30) * 0.125) / (50 - 30)) + (5 * 0.125); - } else if (value > 50 && value <= 100) { - return (((value - 50) * 0.125) / (100 - 50)) + (6 * 0.125); - } else if (value > 100 && value <= 150) { - return (((value - 100) * 0.125) / (150 - 100)) + (7 * 0.125); - } else { - return 1; - } - }, - onGenerateLabels: () { - final List _visibleLabels = []; - for (num i = 0; i < 9; i++) { - final double _value = _calculateLabelValue(i); - final LinearAxisLabel label = LinearAxisLabel( - text: _value.toInt().toString(), - value: (i * 18.75).toDouble()); - _visibleLabels.add(label); - } - return _visibleLabels; - }, - markerPointers: [ - LinearShapePointer( - value: pointerValue, - onChanged: (value) { - setState(() { - pointerValue = value; - }); - }, - color: Color(0xff06589C), - width: 24, - position: LinearElementPosition.cross, - shapeType: LinearShapePointerType.triangle, - height: 16) - ], - ); - } - - @override - Widget build(BuildContext context) { - return MaterialApp( - home: Scaffold( - body: Center( - child: _getLinearGauge(), - ), + return Container( + child: SfLinearGauge( + minimum: 0, + maximum: 150.0, + interval: 18.75, + animateAxis: true, + animateRange: true, + labelPosition: LinearLabelPosition.outside, + tickPosition: LinearElementPosition.outside, + valueToFactorCallback: (value) { + if (value >= 0 && value <= 2) { + return (value * 0.125) / 2; + } else if (value > 2 && value <= 5) { + return (((value - 2) * 0.125) / (5 - 2)) + (1 * 0.125); + } else if (value > 5 && value <= 10) { + return (((value - 5) * 0.125) / (10 - 5)) + (2 * 0.125); + } else if (value > 10 && value <= 20) { + return (((value - 10) * 0.125) / (20 - 10)) + (3 * 0.125); + } else if (value > 20 && value <= 30) { + return (((value - 20) * 0.125) / (30 - 20)) + (4 * 0.125); + } else if (value > 30 && value <= 50) { + return (((value - 30) * 0.125) / (50 - 30)) + (5 * 0.125); + } else if (value > 50 && value <= 100) { + return (((value - 50) * 0.125) / (100 - 50)) + (6 * 0.125); + } else if (value > 100 && value <= 150) { + return (((value - 100) * 0.125) / (150 - 100)) + (7 * 0.125); + } else { + return 1; + } + }, + onGenerateLabels: () { + final List _visibleLabels = []; + for (num i = 0; i < 9; i++) { + final double _value = _calculateLabelValue(i); + final LinearAxisLabel label = LinearAxisLabel( + text: _value.toInt().toString(), + value: (i * 18.75).toDouble()); + _visibleLabels.add(label); + } + + return _visibleLabels; + }, + markerPointers: [ + LinearShapePointer( + value: pointerValue, + onChanged: (value) => + { + setState(() => {pointerValue = value}) + }, + color: Color(0xff06589C), + width: 24, + position: LinearElementPosition.cross, + shapeType: LinearShapePointerType.triangle, + height: 16) + ], ), + margin: EdgeInsets.all(10) ); } -} {% endhighlight %} -{% endtabs %} ![Custom axis track](images/axis/custom_axis.png) \ No newline at end of file diff --git a/chart-sdk/flutter/linear-gauge/bar-pointer.md b/chart-sdk/flutter/linear-gauge/bar-pointer.md index 1f084fe93..cab0cbe6a 100644 --- a/chart-sdk/flutter/linear-gauge/bar-pointer.md +++ b/chart-sdk/flutter/linear-gauge/bar-pointer.md @@ -1,7 +1,7 @@ --- layout: post -title: Bar Pointer in Flutter Linear Gauge | Syncfusion® -description: Learn about bar pointers in Syncfusion® Flutter Linear Gauge (SfLinearGauge), including value representation, customization, animation, and styling options. +title: Bar Pointer in Flutter Linear Gauge widget | Syncfusion +description: Learn here all about adding and customizing Bar Pointer of Syncfusion Flutter Linear Gauge (SfLinearGauge) widget and more. platform: chart-sdk control: SfLinearGauge documentation: ug @@ -13,19 +13,10 @@ A bar pointer is an accenting line or shaded background that can be placed on a ## Default bar pointer -The following code sample creates a default bar pointer with the value 50. +The following code sample creates a default bar pointer with the value 50. -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const LinearGaugeDemo()); - -class LinearGaugeDemo extends StatelessWidget { - const LinearGaugeDemo({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { return MaterialApp( @@ -42,28 +33,17 @@ class LinearGaugeDemo extends StatelessWidget { ), ); } -} - + {% endhighlight %} -{% endtabs %} ![Initialize linear gauge for bar pointer](images/bar-pointer/default_bar_pointer.png) ## Customize bar pointer thickness -The thickness can be changed by the [`thickness`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearBarPointer/thickness.html) property of the bar pointer. The following code sample demonstrates the same. +The thickness can be changed by the [`thickness`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearBarPointer/thickness.html) property of the bar pointer. The following code sample demonstrates the same. -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const LinearGaugeDemo()); - -class LinearGaugeDemo extends StatelessWidget { - const LinearGaugeDemo({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { return MaterialApp( @@ -82,28 +62,17 @@ class LinearGaugeDemo extends StatelessWidget { ), ); } -} - + {% endhighlight %} -{% endtabs %} ![Change the bar pointer thickness](images/bar-pointer/bar_thickness.png) ## Customize edge style -The edge style can be changed with the [`edgeStyle`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearBarPointer/edgeStyle.html) property of the bar pointer. The edge style can be any of the `startCurve`, `endCurve`, `bothCurve`, and `bothFlat` options. The default value is `bothFlat`. +The edge style can be changed with the [`edgeStyle`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearBarPointer/edgeStyle.html) property of the bar pointer. The edge style can be any of the `startCurve`, `endCurve`, `bothCurve`, and `bothFlat` options.The default value is `bothFlat`. -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const LinearGaugeDemo()); - -class LinearGaugeDemo extends StatelessWidget { - const LinearGaugeDemo({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { return MaterialApp( @@ -125,10 +94,8 @@ class LinearGaugeDemo extends StatelessWidget { ), ); } -} - + {% endhighlight %} -{% endtabs %} ![Change the bar pointer edge style](images/bar-pointer/edge_style.png) @@ -136,17 +103,8 @@ class LinearGaugeDemo extends StatelessWidget { By default, the bar pointer is positioned cross to the axis. This position can be changed by the [`position`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearBarPointer/position.html) property of a bar pointer. It is possible to position the bar pointer `inside`, `cross`, or `outside` the axis. The following code sample demonstrates how to change the bar pointer position to inside the axis. -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const LinearGaugeDemo()); - -class LinearGaugeDemo extends StatelessWidget { - const LinearGaugeDemo({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { return MaterialApp( @@ -164,28 +122,17 @@ class LinearGaugeDemo extends StatelessWidget { ), ); } -} - + {% endhighlight %} -{% endtabs %} ![Customize linear gauge for bar pointer position](images/bar-pointer/bar_pointer_change_position.png) ## Customize the offset -In addition to positioning the bar pointer, it is also possible to change the offset of the bar pointer. The [`offset`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearBarPointer/offset.html) is the distance from the axis and it cannot be negative. Cross-positioned elements will not be affected by the [`offset`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearBarPointer/offset.html) value. The following code sample demonstrates how to change the offset value of the bar pointer. +In addition to positioning the bar pointer, it is also possible to change the offset of the bar pointer. The [`offset`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearBarPointer/offset.html) is the distance from the axis and it cannot be negative. Cross-positioned elements will not be affected by the [`offset`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearBarPointer/offset.html) value. The following code sample demonstrates how to change the offset value of the bar pointer. -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const LinearGaugeDemo()); - -class LinearGaugeDemo extends StatelessWidget { - const LinearGaugeDemo({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { return MaterialApp( @@ -205,28 +152,17 @@ class LinearGaugeDemo extends StatelessWidget { ), ); } -} - + {% endhighlight %} -{% endtabs %} ![Customize linear gauge bar pointer offset](images/bar-pointer/bar_pointer_offset.png) -## Change the color of bar pointer +## Change the color of bar pointer -The color of the bar pointer can be changed by the [`color`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearBarPointer/color.html) property. The following code sample demonstrates the same. +The color of the bar pointer can be changed by the [`color`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearBarPointer/color.html) property. The following code sample demonstrates the same. -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const LinearGaugeDemo()); - -class LinearGaugeDemo extends StatelessWidget { - const LinearGaugeDemo({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { return MaterialApp( @@ -246,10 +182,8 @@ class LinearGaugeDemo extends StatelessWidget { ), ); } -} - + {% endhighlight %} -{% endtabs %} ![Apply color to bar pointer](images/bar-pointer/bar_color.png) @@ -257,17 +191,8 @@ class LinearGaugeDemo extends StatelessWidget { The gradient can be applied by using the [`shaderCallback`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearBarPointer/shaderCallback.html) property of bar pointer. The following code sample demonstrates how to apply a radial gradient to the bar pointer. -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const LinearGaugeDemo()); - -class LinearGaugeDemo extends StatelessWidget { - const LinearGaugeDemo({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { return MaterialApp( @@ -280,23 +205,21 @@ class LinearGaugeDemo extends StatelessWidget { value: 100, //Apply radial gradient shaderCallback: (bounds) => RadialGradient( - radius: 30, - colors: [ - Colors.redAccent, - Colors.blueAccent, - Colors.greenAccent, - ], - ).createShader(bounds)) + radius: 30, + colors: [ + Colors.redAccent, + Colors.blueAccent, + Colors.greenAccent, + ], + ).createShader(bounds)) ], ), ), ), ); } -} - + {% endhighlight %} -{% endtabs %} ![Apply radial gradient to bar pointer](images/bar-pointer/radial_gradient_bar.png) @@ -304,17 +227,8 @@ class LinearGaugeDemo extends StatelessWidget { The gradient can be applied by using the [`shaderCallback`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearBarPointer/shaderCallback.html) property of bar pointer. The following code sample demonstrates how to apply a linear gradient to the bar pointer. -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const LinearGaugeDemo()); - -class LinearGaugeDemo extends StatelessWidget { - const LinearGaugeDemo({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { return MaterialApp( @@ -339,10 +253,8 @@ class LinearGaugeDemo extends StatelessWidget { ), ); } -} - + {% endhighlight %} -{% endtabs %} ![Apply linear gradient to bar pointer](images/bar-pointer/linear_gradient_bar.png) @@ -350,17 +262,8 @@ class LinearGaugeDemo extends StatelessWidget { The gradient can be applied by using the [`shaderCallback`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearBarPointer/shaderCallback.html) property of the bar pointer. The following code sample demonstrates how to apply a sweep gradient to the bar pointer. -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const LinearGaugeDemo()); - -class LinearGaugeDemo extends StatelessWidget { - const LinearGaugeDemo({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { return MaterialApp( @@ -372,28 +275,26 @@ class LinearGaugeDemo extends StatelessWidget { LinearBarPointer( value: 100, thickness: 10, - //Apply sweep gradient + //Apply linear gradient shaderCallback: (bounds) => SweepGradient( - startAngle: 0.1, - endAngle: 0.2, - colors: [ - Colors.blueAccent, - Colors.greenAccent, - Colors.orangeAccent, - ], - tileMode: TileMode.mirror, - center: Alignment.bottomRight, - ).createShader(bounds)) + startAngle: 0.1, + endAngle: 0.2, + colors: [ + Colors.blueAccent, + Colors.greenAccent, + Colors.orangeAccent, + ], + tileMode: TileMode.mirror, + center: Alignment.bottomRight, + ).createShader(bounds)) ], ), ), ), ); } -} - + {% endhighlight %} -{% endtabs %} ![Apply sweep gradient to bar pointer](images/bar-pointer/sweep_gradient_bar.png) @@ -402,17 +303,8 @@ class LinearGaugeDemo extends StatelessWidget { The border can be customized with [`borderWidth`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearBarPointer/borderWidth.html) and [`borderColor`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearBarPointer/borderColor.html) properties of the bar pointer. The following code examples demonstrates the same. -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const LinearGaugeDemo()); - -class LinearGaugeDemo extends StatelessWidget { - const LinearGaugeDemo({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { return MaterialApp( @@ -432,30 +324,19 @@ class LinearGaugeDemo extends StatelessWidget { ), ); } -} - + {% endhighlight %} -{% endtabs %} ![Customize linear gauge bar pointer border](images/bar-pointer/bar_border.png) ## Add multiple bar pointers -You can add multiple bar pointers in a [`LinearGauge`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/SfLinearGauge-class.html). The bar pointers by default will overlap each other. When adding multiple bar pointers, specify an offset value to separate them. Use an offset value greater than the bar pointer thickness to avoid overlap. The below code example demonstrates adding two bar pointers with different offsets: +You can add multiple bar pointers in a [`LinearGauge`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/SfLinearGauge-class.html). The bar pointers by default will overlap each other. So while adding a bar pointer, offset value is needed to be specified. The below code example demonstrates adding two bar pointer with different offsets: -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const LinearGaugeDemo()); - -class LinearGaugeDemo extends StatelessWidget { - const LinearGaugeDemo({Key? key}) : super(key: key); - - @override +@override Widget build(BuildContext context) { return MaterialApp( home: Scaffold( @@ -468,7 +349,7 @@ class LinearGaugeDemo extends StatelessWidget { ), LinearBarPointer( value: 40, - // Setting offset to move the bar from previous one + // Setting offset to move the bar from previos one offset: 10, position: LinearElementPosition.outside ), @@ -478,10 +359,8 @@ class LinearGaugeDemo extends StatelessWidget { ), ); } -} {% endhighlight %} -{% endtabs %} ![Add multiple bar pointers in a linear gauge](images/bar-pointer/multiple_bar_pointer.PNG) @@ -489,17 +368,8 @@ class LinearGaugeDemo extends StatelessWidget { The [`onAnimationCompleted`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearBarPointer/onAnimationCompleted.html) callback in the [`LinearBarPointer`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearBarPointer-class.html) will be triggered when the bar pointer animation is completed. The default value of the [onAnimationCompleted](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearBarPointer/onAnimationCompleted.html) callback is `null`. -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const LinearGaugeDemo()); - -class LinearGaugeDemo extends StatelessWidget { - const LinearGaugeDemo({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { return MaterialApp( @@ -509,8 +379,7 @@ class LinearGaugeDemo extends StatelessWidget { barPointers:[ LinearBarPointer( onAnimationCompleted: () { - // Bar Pointer animation is completed - debugPrint('Bar Pointer animation is completed'); + print("Bar Pointer animation is completed"); }, ), ], @@ -519,7 +388,5 @@ class LinearGaugeDemo extends StatelessWidget { ), ); } -} {% endhighlight %} -{% endtabs %} diff --git a/chart-sdk/flutter/linear-gauge/getting-started.md b/chart-sdk/flutter/linear-gauge/getting-started.md index 22005bdfa..c121533f7 100644 --- a/chart-sdk/flutter/linear-gauge/getting-started.md +++ b/chart-sdk/flutter/linear-gauge/getting-started.md @@ -1,15 +1,15 @@ --- layout: post -title: Getting Started with Flutter Linear Gauge | Syncfusion® -description: Learn how to get started with the Syncfusion® Flutter Linear Gauge (SfLinearGauge). Explore setup, gauge configuration, and customization options. +title: Getting Started with Flutter Linear Gauge | Syncfusion +description: Step-by-step guide to set up Syncfusion Flutter Linear Gauge (SfLinearGauge)—add dependencies, import, create `SfLinearGauge`, and configure key features. platform: chart-sdk control: SfLinearGauge documentation: ug --- -# Getting Started with Flutter Linear Gauge (SfLinearGauge) +# Flutter Linear Gauge Getting Started (SfLinearGauge) -This section explains the steps required to add the Linear Gauge and its elements such as axis, range, and pointer. It also covers the basic features needed to get started with the Linear Gauge widget. +This section explains the steps required to add the Linear Gauge and its elements such as axis, range, and pointer, and also covers basic features needed to get started with the Linear Gauge widget. To get started quickly with our Flutter Linear Gauge widget, you can check out this video: @@ -24,14 +24,13 @@ Create a simple project using the instructions given in the [Getting Started wit Add the Syncfusion® Flutter Gauge dependency to your pubspec.yaml file. -{% tabs %} {% highlight dart %} -dependencies: - syncfusion_flutter_gauges: ^xx.x.xx + dependencies: + + syncfusion_flutter_gauges: ^xx.x.xx {% endhighlight %} -{% endtabs %} N> Here **xx.x.xx** denotes the current version of the [`Syncfusion Flutter Gauge`](https://pub.dev/packages/syncfusion_flutter_gauges/versions) package. @@ -39,55 +38,40 @@ N> Here **xx.x.xx** denotes the current version of the [`Syncfusion Flutter Gaug Run the following command to get the required packages. -{% tabs %} {% highlight dart %} -flutter pub get + $ flutter pub get {% endhighlight %} -{% endtabs %} **Import package** Import the following package in your Dart code. -{% tabs %} {% highlight dart %} -import 'package:syncfusion_flutter_gauges/gauges.dart'; + import 'package:syncfusion_flutter_gauges/gauges.dart'; {% endhighlight %} -{% endtabs %} ## Initialize the Linear Gauge After the package has been imported, initialize the [`SfLinearGauge`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/SfLinearGauge/SfLinearGauge.html) as a child of any widget such as a container widget. -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const LinearGaugeDemo()); - -class LinearGaugeDemo extends StatelessWidget { - const LinearGaugeDemo({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { return MaterialApp( home: Scaffold( body: Center( - child: SfLinearGauge() + child:SfLinearGauge() ) ) ); } -} {% endhighlight %} -{% endtabs %} ![Initialize linear gauge](images/getting-started/default_linear_gauge.png) @@ -95,17 +79,8 @@ class LinearGaugeDemo extends StatelessWidget { The Linear Gauge axis is a scale where a set of values can be plotted. You can specify the minimum and maximum values of the axis using the [`minimum`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/SfLinearGauge/minimum.html) and [`maximum`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/SfLinearGauge/maximum.html) properties as demonstrated in the following code sample. -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const LinearGaugeDemo()); - -class LinearGaugeDemo extends StatelessWidget { - const LinearGaugeDemo({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { return MaterialApp( @@ -116,10 +91,8 @@ class LinearGaugeDemo extends StatelessWidget { ) ); } -} {% endhighlight %} -{% endtabs %} ![Add axis to linear gauge](images/getting-started/add_axis.png) @@ -127,72 +100,32 @@ class LinearGaugeDemo extends StatelessWidget { As you can see in the above image, the default orientation of the Linear Gauge is horizontal. You can change it with the [`orientation`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/SfLinearGauge/orientation.html) property of the Linear Gauge widget. -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const LinearGaugeDemo()); - -class LinearGaugeDemo extends StatelessWidget { - const LinearGaugeDemo({Key? key}) : super(key: key); - - @override - Widget build(BuildContext context) { - return MaterialApp( - home: Scaffold( - body: Center( - child: SfLinearGauge( - orientation: LinearGaugeOrientation.vertical - ) - ) - ) - ); - } -} + SfLinearGauge( + orientation: LinearGaugeOrientation.vertical + ), {% endhighlight %} -{% endtabs %} ![Update Orientation of linear gauge](images/getting-started/vertical_orientation.png) ## Add range -A range is a visual element that helps you to quickly see where a value falls on the axis track. Multiple ranges with different styles can be added to a Linear gauge. You can also specify the start value, end value, and color for a range as demonstrated in the following code sample. +A range is a visual element that helps you to quickly visualize where a range falls on the axis track. Multiple ranges with different styles can be added to a Linear gauge. You can also specify the start value, end value, and color for a range as demonstrated in the following code sample. -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const LinearGaugeDemo()); - -class LinearGaugeDemo extends StatelessWidget { - const LinearGaugeDemo({Key? key}) : super(key: key); - - @override - Widget build(BuildContext context) { - return MaterialApp( - home: Scaffold( - body: Center( - child: SfLinearGauge( - ranges: [ - //First range - LinearGaugeRange(startValue: 0, endValue: 50, color: Colors.green), - //Second range - LinearGaugeRange(startValue: 50, endValue: 100, color: Colors.blue) - ] - ) - ) - ) - ); - } -} + SfLinearGauge( + ranges: [ + //First range + LinearGaugeRange(startValue: 0, endValue: 50, color: Colors.green), + //Second range + LinearGaugeRange(startValue: 50, endValue: 100, color: Colors.blue) + ] + ) {% endhighlight %} -{% endtabs %} ![Add ranges to a linear gauge](images/getting-started/add_ranges.png) @@ -202,74 +135,34 @@ The Linear Gauge supports two marker pointers - shape pointer and widget pointer The following code sample demonstrates how to add a shape pointer: -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const LinearGaugeDemo()); - -class LinearGaugeDemo extends StatelessWidget { - const LinearGaugeDemo({Key? key}) : super(key: key); - - @override - Widget build(BuildContext context) { - return MaterialApp( - home: Scaffold( - body: Center( - child: SfLinearGauge( - markerPointers: [LinearShapePointer(value: 50)] - ) - ) - ) - ); - } -} + SfLinearGauge( + markerPointers: [LinearShapePointer(value: 50)] + ), {% endhighlight %} -{% endtabs %} ![Add shape pointer in linear gauge](images/getting-started/add_shape_pointer.png) The following code sample demonstrates how to add a widget pointer. -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const LinearGaugeDemo()); - -class LinearGaugeDemo extends StatelessWidget { - const LinearGaugeDemo({Key? key}) : super(key: key); - - @override - Widget build(BuildContext context) { - return MaterialApp( - home: Scaffold( - body: Center( - child: SfLinearGauge( - markerPointers: [ - LinearWidgetPointer( - value: 40, - child: Container( - height: 20, - width: 20, - decoration: BoxDecoration(color: Colors.blueAccent) - ), - ), - ], - ) - ) - ) - ); - } -} + SfLinearGauge( + markerPointers: [ + LinearWidgetPointer( + value: 40, + child: Container( + height: 20, + width: 20, + decoration: BoxDecoration(color: Colors.blueAccent) + ), + ), + ], + ), {% endhighlight %} -{% endtabs %} ![Add widget pointer in linear gauge](images/getting-started/add_widget_pointer.png) @@ -277,89 +170,65 @@ class LinearGaugeDemo extends StatelessWidget { In a Linear Gauge, the bar pointer is used to specify a value in an axis track by drawing a track from the axis's minimum value to its specified value. -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const LinearGaugeDemo()); - -class LinearGaugeDemo extends StatelessWidget { - const LinearGaugeDemo({Key? key}) : super(key: key); - - @override - Widget build(BuildContext context) { - return MaterialApp( - home: Scaffold( - body: Center( - child: SfLinearGauge( - barPointers: [LinearBarPointer(value: 40)] - ) - ) - ) - ); - } -} + SfLinearGauge( + barPointers: [LinearBarPointer(value: 40)] + ), {% endhighlight %} -{% endtabs %} ![Bar pointer added to a linear gauge](images/getting-started/add_bar_pointer.png) The following code example gives you the complete view of the above configurations: -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const LinearGaugeDemo()); - -class LinearGaugeDemo extends StatelessWidget { - const LinearGaugeDemo({Key? key}) : super(key: key); - - @override - Widget build(BuildContext context) { - return MaterialApp( - home: Scaffold( - body: Center( - child: SfLinearGauge( - ranges: [ - //First range - LinearGaugeRange( - startValue: 0, - endValue: 50, - color: Colors.green - ), - //Second range - LinearGaugeRange( - startValue: 50, - endValue: 100, - color: Colors.blue - ), - ], - markerPointers: [ - LinearShapePointer(value: 50), - LinearWidgetPointer( - value: 40, - child: Container( - height: 20, - width: 20, - decoration: BoxDecoration(color: Colors.blueAccent) + import 'package:flutter/material.dart'; + import 'package:syncfusion_flutter_gauges/gauges.dart'; + + void main() => runApp(LinearGaugeDemo()); + + class LinearGaugeDemo extends StatelessWidget { + @override + Widget build(BuildContext context) { + return MaterialApp( + home: Scaffold( + body: Center( + child: SfLinearGauge( + ranges: [ + //First range + LinearGaugeRange( + startValue: 0, + endValue: 50, + color: Colors.green + ), + //Second range + LinearGaugeRange( + startValue: 50, + endValue: 100, + color: Colors.blue + ), + ], + markerPointers: [ + LinearShapePointer(value: 50), + LinearWidgetPointer( + value: 40, + child: Container( + height: 20, + width: 20, + decoration: BoxDecoration(color: Colors.blueAccent) + ), ), - ), - ], - barPointers: [LinearBarPointer(value: 40)] - ), + ], + barPointers: [LinearBarPointer(value: 40)] + ), + ) ) - ) - ); + ); + } } -} {% endhighlight %} -{% endtabs %} ![A Linear gauge](images/getting-started/all_basic_elements.png) \ No newline at end of file diff --git a/chart-sdk/flutter/linear-gauge/how-to/custom-widget-on-flutterflow.md b/chart-sdk/flutter/linear-gauge/how-to/custom-widget-on-flutterflow.md index a79f20fa1..548e6a087 100644 --- a/chart-sdk/flutter/linear-gauge/how-to/custom-widget-on-flutterflow.md +++ b/chart-sdk/flutter/linear-gauge/how-to/custom-widget-on-flutterflow.md @@ -1,13 +1,13 @@ --- layout: post -title: How to Add Linear Gauge in FlutterFlow | Syncfusion® -description: Learn how to add and use Syncfusion® Flutter Linear Gauge (SfLinearGauge) in FlutterFlow, including setup, integration, and configuration. +title: Linear Gauge Widget in FlutterFlow | Syncfusion +description: Learn here all about adding Syncfusion Flutter Linear Gauge ( SfLinearGauge Widget ) widget in FlutterFlow. platform: chart-sdk control: SfLinearGauge documentation: ug --- -# How to Add Linear Gauge in FlutterFlow (SfLinearGauge) +# How to add Syncfusion® Linear Gauge widget in FlutterFlow? ## Overview @@ -35,7 +35,7 @@ Navigate to the [FlutterFlow dashboard](https://app.flutterflow.io/dashboard) an ![Version](how-to-section-images/copy-version.png) 3. Paste the copied dependency into the text editor, then click `Refresh` and `Save` it. ->**Note**: The current version of [Syncfusion® Flutter Gauges](https://pub.dev/packages/syncfusion_flutter_gauges) has been migrated to the latest version of Flutter SDK. To ensure compatibility, check [FlutterFlow](https://app.flutterflow.io/dashboard)'s current Flutter version and obtain the corresponding version of [Syncfusion® Flutter Gauges](https://pub.dev/packages/syncfusion_flutter_gauges) by referring to the [SDK compatibility](https://help.syncfusion.com/flutter/system-requirements#sdk-version-compatibility). +>**Note**: The live version of [Syncfusion® Flutter Gauges](https://pub.dev/packages/syncfusion_flutter_gauges) has been migrated to the latest version of Flutter SDK. To ensure compatibility, check [FlutterFlow](https://app.flutterflow.io/dashboard)'s current Flutter version and obtain the corresponding version of [Syncfusion® Flutter Gauges](https://pub.dev/packages/syncfusion_flutter_gauges) by referring to the [SDK compatibility](https://help.syncfusion.com/flutter/system-requirements#sdk-version-compatibility). ![Dependency](how-to-section-images/dependency.png) @@ -52,12 +52,12 @@ Navigate to the [FlutterFlow dashboard](https://app.flutterflow.io/dashboard) an ### Add widget code snippet in code editor -1. Navigate to the [Example](https://pub.dev/packages/syncfusion_flutter_gauges/example) tab in [Syncfusion® Flutter Gauges](https://pub.dev/packages/syncfusion_flutter_gauges) and copy the widget-specific code samples. +1. Navigate to the [Example](https://pub.dev/packages/syncfusion_flutter_gauges/example) tab in [Syncfusion® Flutter Gauges](https://pub.dev/packages/syncfusion_flutter_gauges) and copy the widget specific codes. ![Code](how-to-section-images/code-snippet.png) 2. Paste the copied code sample into the code editor, click `Format Code`, and `Save` it. -![Code snippet](how-to-section-images/Adding-code-snippet.png) +![Code snippet](how-to-section-images/Adding-code-snippent.png) -### Compiling the code +### Compiling the codes 1. Click the 'Compile Code' button located in the top right corner. 2. If there are no errors, save the process. If errors are present, fix them and compile the code again. Once the code has been successfully compiled, save the process. diff --git a/chart-sdk/flutter/linear-gauge/how-to/how-to-section-images/Adding-code-snippet.png b/chart-sdk/flutter/linear-gauge/how-to/how-to-section-images/Adding-code-snippet.png deleted file mode 100644 index 8d203d8c4..000000000 Binary files a/chart-sdk/flutter/linear-gauge/how-to/how-to-section-images/Adding-code-snippet.png and /dev/null differ diff --git a/chart-sdk/flutter/linear-gauge/interaction.md b/chart-sdk/flutter/linear-gauge/interaction.md index bac9017a6..e2de4ba9d 100644 --- a/chart-sdk/flutter/linear-gauge/interaction.md +++ b/chart-sdk/flutter/linear-gauge/interaction.md @@ -1,7 +1,7 @@ --- layout: post -title: Interaction in Flutter Linear Gauge | Syncfusion® -description: Learn about interaction support in Syncfusion® Flutter Linear Gauge (SfLinearGauge), including dragging, pointer interaction, and user input handling. +title: Interaction in Flutter Linear Gauge widget | Syncfusion +description: Learn here all about the interactions in Syncfusion Flutter Linear Gauge (SfLinearGauge) widget and more platform: chart-sdk control: SfLinearGauge documentation: ug @@ -17,18 +17,8 @@ The [`onChanged`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest The following code sample demonstrates how to update a simple marker pointer value based on swipe or drag gestures: -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -class LinearGaugeDemo extends StatefulWidget { - @override - State createState() => _LinearGaugeDemoState(); -} - -class _LinearGaugeDemoState extends State { double shapePointerValue = 25; @override @@ -54,27 +44,15 @@ class _LinearGaugeDemoState extends State { ), ); } -} {% endhighlight %} -{% endtabs %} ![Simple pointer interaction in linear gauge](images/interaction/simple_interaction.gif) The following code sample demonstrates how to update multiple marker pointer values based on swipe or drag gestures: -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -class LinearGaugeDemo extends StatefulWidget { - @override - State createState() => _LinearGaugeDemoState(); -} - -class _LinearGaugeDemoState extends State { double shapePointerValue = 85; double barPointerValue = 85; double widgetPointerValue = 26; @@ -191,9 +169,7 @@ class _LinearGaugeDemoState extends State { ) ); } -} {% endhighlight %} -{% endtabs %} ![Shape pointer interaction in linear gauge](images/interaction/interaction.gif) \ No newline at end of file diff --git a/chart-sdk/flutter/linear-gauge/labels.md b/chart-sdk/flutter/linear-gauge/labels.md index 6a8d990fa..c8dc2c715 100644 --- a/chart-sdk/flutter/linear-gauge/labels.md +++ b/chart-sdk/flutter/linear-gauge/labels.md @@ -1,7 +1,7 @@ --- layout: post -title: Labels in Flutter Linear Gauge | Syncfusion® -description: Learn about label customization in Syncfusion® Flutter Linear Gauge (SfLinearGauge), including label placement, formatting, styling, and appearance. +title: Labels in Flutter Linear Gauge widget | Syncfusion +description: Learn here all about adding and customizing Labels of Syncfusion Flutter Linear Gauge (SfLinearGauge) widget and more. platform: chart-sdk control: SfLinearGauge documentation: ug @@ -23,16 +23,7 @@ Axis labels can be customized using the [`axisLabelStyle`](https://pub.dev/docum * `fontWeight` – Allows you to specify the font weight for labels. * `fontSize` – Allows you to specify the font size for labels. -{% tabs %} -{% highlight dart %} - -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const LinearGaugeDemo()); - -class LinearGaugeDemo extends StatelessWidget { - const LinearGaugeDemo({Key? key}) : super(key: key); +{% highlight dart %} @override Widget build(BuildContext context) { @@ -52,10 +43,8 @@ class LinearGaugeDemo extends StatelessWidget { ) ); } -} {% endhighlight %} -{% endtabs %} ![Customize linear gauge axis label style](images/axis-labels/customize_label_style.png) @@ -63,16 +52,7 @@ class LinearGaugeDemo extends StatelessWidget { The [`showLabels`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/SfLinearGauge/showLabels.html) property of [`SfLinearGauge`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/SfLinearGauge-class.html) allows you to show or hide the visibility of axis labels. The default value of this property is true. -{% tabs %} -{% highlight dart %} - -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const LinearGaugeDemo()); - -class LinearGaugeDemo extends StatelessWidget { - const LinearGaugeDemo({Key? key}) : super(key: key); +{% highlight dart %} @override Widget build(BuildContext context) { @@ -84,10 +64,8 @@ class LinearGaugeDemo extends StatelessWidget { ), ); } -} {% endhighlight %} -{% endtabs %} ![Change visibility](images/axis-labels/axis_label_visibility.png) @@ -95,16 +73,7 @@ class LinearGaugeDemo extends StatelessWidget { The [`interval`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/SfLinearGauge/interval.html) between labels can be customized using the [`interval`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/SfLinearGauge/interval.html) property of [`SfLinearGauge`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/SfLinearGauge-class.html). The major ticks are generated based on this interval property. -{% tabs %} -{% highlight dart %} - -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const LinearGaugeDemo()); - -class LinearGaugeDemo extends StatelessWidget { - const LinearGaugeDemo({Key? key}) : super(key: key); +{% highlight dart %} @override Widget build(BuildContext context) { @@ -118,10 +87,8 @@ class LinearGaugeDemo extends StatelessWidget { ), ); } -} {% endhighlight %} -{% endtabs %} ![Set label interval in axis track](images/axis-labels/axis_label_interval.png) @@ -129,16 +96,7 @@ class LinearGaugeDemo extends StatelessWidget { The linear axis allows you to position the labels either `inside` or `outside` the axis track using the [`labelPosition`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/SfLinearGauge/labelPosition.html) property. By default, labels are positioned `inside` the axis track. -{% tabs %} -{% highlight dart %} - -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const LinearGaugeDemo()); - -class LinearGaugeDemo extends StatelessWidget { - const LinearGaugeDemo({Key? key}) : super(key: key); +{% highlight dart %} @override Widget build(BuildContext context) { @@ -153,10 +111,8 @@ class LinearGaugeDemo extends StatelessWidget { ) ); } -} {% endhighlight %} -{% endtabs %} ![Set linear gauge label position](images/axis-labels/label-placement.png) @@ -165,16 +121,7 @@ class LinearGaugeDemo extends StatelessWidget { The [`labelOffset`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/SfLinearGauge/labelOffset.html) property allows you to adjust the distance between the tick-end and the labels. -{% tabs %} -{% highlight dart %} - -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const LinearGaugeDemo()); - -class LinearGaugeDemo extends StatelessWidget { - const LinearGaugeDemo({Key? key}) : super(key: key); +{% highlight dart %} @override Widget build(BuildContext context) { @@ -188,10 +135,8 @@ class LinearGaugeDemo extends StatelessWidget { ) ); } -} {% endhighlight %} -{% endtabs %} ![Set linear gauge label offset](images/axis-labels/label_offset.png) @@ -199,16 +144,7 @@ class LinearGaugeDemo extends StatelessWidget { By default, a maximum of three labels is displayed for every 100 logical pixels in an axis. The maximum number of labels that should be present within 100 logical pixels length can be customized using the [`maximumLabels`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/SfLinearGauge/maximumLabels.html) property of the axis. -{% tabs %} -{% highlight dart %} - -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const LinearGaugeDemo()); - -class LinearGaugeDemo extends StatelessWidget { - const LinearGaugeDemo({Key? key}) : super(key: key); +{% highlight dart %} @override Widget build(BuildContext context) { @@ -222,10 +158,8 @@ class LinearGaugeDemo extends StatelessWidget { ) ); } -} {% endhighlight %} -{% endtabs %} ![Set maximum number of labels in axis track](images/axis-labels/axis_label_visibility.png) @@ -233,44 +167,24 @@ class LinearGaugeDemo extends StatelessWidget { You can format or change the whole numeric label text using the [`labelFormatterCallback`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/SfLinearGauge/labelFormatterCallback.html). -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const LinearGaugeDemo()); - -class LinearGaugeDemo extends StatelessWidget { - const LinearGaugeDemo({Key? key}) : super(key: key); - - @override - Widget build(BuildContext context) { - return MaterialApp( - home: Scaffold( - body: Center( - child: SfLinearGauge( - labelFormatterCallback: (label) { - if (label == '0') { - return 'Start'; - } - if (label == '50') { - return 'Mid'; - } - if (label == '100') { - return 'End'; - } - return label; - } - ) - ) - ) - ); - } -} + SfLinearGauge( + labelFormatterCallback: (label) { + if (label == '0') { + return 'Start'; + } + if (label == '50') { + return 'Mid'; + } + if (label == '100') { + return 'End'; + } + return label; + } + ) {% endhighlight %} -{% endtabs %} ![Customize Label Text in axis track](images/axis-labels/custom_label_text.png) @@ -278,33 +192,13 @@ class LinearGaugeDemo extends StatelessWidget { The [`numberFormat`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/SfLinearGauge/numberFormat.html) property is used to format the numeric labels. The default value of this property is null. -{% tabs %} -{% highlight dart %} - -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; -import 'package:intl/intl.dart'; -void main() => runApp(const LinearGaugeDemo()); - -class LinearGaugeDemo extends StatelessWidget { - const LinearGaugeDemo({Key? key}) : super(key: key); +{% highlight dart %} - @override - Widget build(BuildContext context) { - return MaterialApp( - home: Scaffold( - body: Center( - child: SfLinearGauge( - numberFormat: NumberFormat("\$") - ) - ) - ) - ); - } -} + SfLinearGauge( + numberFormat: NumberFormat("\$") + ), {% endhighlight %} -{% endtabs %} ![Customize Label Format in Axis Label](images/axis-labels/axis_label_number_format.png) \ No newline at end of file diff --git a/chart-sdk/flutter/linear-gauge/mirror-linear-gauge.md b/chart-sdk/flutter/linear-gauge/mirror-linear-gauge.md index f3804a208..cb9c35fe8 100644 --- a/chart-sdk/flutter/linear-gauge/mirror-linear-gauge.md +++ b/chart-sdk/flutter/linear-gauge/mirror-linear-gauge.md @@ -1,43 +1,26 @@ --- layout: post -title: Mirroring in Flutter Linear Gauge | Syncfusion® -description: Learn about mirroring support in Syncfusion® Flutter Linear Gauge (SfLinearGauge), including reverse layout configuration using the isMirrored property. +title: Mirror in Flutter Linear Gauge widget | Syncfusion +description: Learn here about mirroring the Syncfusion Flutter Linear Gauge (SfLinearGauge) widget with isMirrored property platform: chart-sdk control: SfLinearGauge documentation: ug --- -# Mirroring in Flutter Linear Gauge (SfLinearGauge) +# Mirrored in Flutter Linear Gauge (SfLinearGauge) The [`isMirrored`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/SfLinearGauge/isMirrored.html) property in [`SfLinearGauge`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/SfLinearGauge-class.html) allows you to mirror all the gauge elements. This feature is useful when you need to display the gauge in the opposite direction. -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const LinearGaugeDemo()); - -class LinearGaugeDemo extends StatelessWidget { - const LinearGaugeDemo({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { - return MaterialApp( - title: 'Linear Gauge Demo', - theme: ThemeData(primarySwatch: Colors.blue), - home: const Scaffold( - body: Center( - child: SfLinearGauge(isMirrored: true), - ), - ), + return Center( + child: SfLinearGauge(isMirrored: true) ); } -} {% endhighlight %} -{% endtabs %} ![Mirror linear gauge](images/mirrored/mirrored.png) diff --git a/chart-sdk/flutter/linear-gauge/overview.md b/chart-sdk/flutter/linear-gauge/overview.md index 2d6dfdaac..4b07d6a2b 100644 --- a/chart-sdk/flutter/linear-gauge/overview.md +++ b/chart-sdk/flutter/linear-gauge/overview.md @@ -1,27 +1,27 @@ --- layout: post -title: About Flutter Linear Gauge Control | Syncfusion® -description: Learn about the Syncfusion® Flutter Linear Gauge (SfLinearGauge), its features, gauge elements, data visualization, and customization options. +title: About Flutter Linear Gauge widget | Syncfusion +description: Learn here all about introduction of Syncfusion Flutter Linear Gauge (SfLinearGauge) widget, its features, and more. platform: chart-sdk control: SfLinearGauge documentation: ug --- -# About Flutter Linear Gauge Control (SfLinearGauge) +# Flutter Linear Gauge (SfLinearGauge) Overview -Syncfusion® Flutter Linear Gauge is a powerful data visualization widget designed to display data on a linear scale. It's an ideal component for crafting high-quality mobile application user interfaces that require visual representation of data along a linear axis. +Syncfusion® Flutter Linear Gauge is a powerful data visualization widget designed to display data on a linear scale. It's an ideal component for crafting high-quality mobile app user interfaces that require visual representation of data along a linear axis. ![Overview flutter linear gauge](images/basic_elements.png) ## Key Features -* **[Orientation](orientation.md)** - The Linear Gauge supports both vertical and horizontal orientations, giving you flexibility in your layout design. -* **[Axis](axis.md)** - The axis serves as a scale where values are plotted. You can customize the axis by adjusting its thickness and edge styles, and even inverse the axis direction. -* **[Labels and Ticks](labels.md)** - Axis elements such as labels, major ticks, and minor ticks can be styled in various ways to match your application's design. -* **[Ranges](range.md)** - Ranges are visual elements that help users quickly visualize where specific values fall on the axis track. You can add multiple ranges with different styles to enhance data visualization. -* **[Pointers](shape-marker-pointer.md)** - A pointer is used to indicate a specific value on an axis. The widget has three types of pointers: shape marker pointer, widget marker pointer, and bar pointer. All the pointers can be customized as needed and you can also add multiple pointers in the Linear Gauge. -* **[Mirror Gauge](mirror-linear-gauge.md)** - The Linear Gauge can be mirrored. When the [`isMirrored`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/SfLinearGauge/isMirrored.html) property is true, all the gauge elements will be rendered in mirror effect. -* **[Animation](animation.md)** - Add visually appealing animations to gauge elements when they load or when their values change. -* **[Interaction](interaction.md)** - The shape and widget marker pointers in the Linear Gauge support interactive movement through swiping or drag gestures, allowing users to change values dynamically. +* **Orientation** - The Linear Gauge supports both vertical and horizontal orientations, giving you flexibility in your layout design. +* **Axis** - The axis serves as a scale where values are plotted. You can customize the axis by adjusting its thickness and edge styles, and even inverse the axis direction. +* **Labels and Ticks** - Axis elements such as labels, major ticks, and minor ticks can be styled in various ways to match your application's design. +* **Ranges** - Ranges are visual elements that help users quickly visualize where specific values fall on the axis track. You can add multiple ranges with different styles to enhance data visualization. +* **Pointers** - A pointer is used to indicate a specific value on an axis. The widget has three types of pointers: shape marker pointer, widget marker pointer, and bar pointer. All the pointers can be customized as needed and you can also add multiple pointers in the Linear Gauge. +* **Mirror Gauge** - The Linear Gauge can be mirrored. When the [`isMirrored`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/SfLinearGauge/isMirrored.html) property is true, all the gauge elements will be rendered in mirror effect. +* **Animation** - Add visually appealing animations to gauge elements when they load or when their values change. +* **Interaction** - The shape and widget marker pointers in the Linear Gauge support interactive movement through swiping or drag gestures, allowing users to change values dynamically. You can get the sample in the following link: [`Flutter Linear Gauge`](https://github.com/syncfusion/flutter-examples/tree/master/lib/samples/linear_gauge). \ No newline at end of file diff --git a/chart-sdk/flutter/linear-gauge/range.md b/chart-sdk/flutter/linear-gauge/range.md index 72dabcf27..462cfcd38 100644 --- a/chart-sdk/flutter/linear-gauge/range.md +++ b/chart-sdk/flutter/linear-gauge/range.md @@ -1,26 +1,17 @@ --- layout: post -title: Ranges in Flutter Linear Gauge | Syncfusion® -description: Learn about ranges in Syncfusion® Flutter Linear Gauge (SfLinearGauge), including range customization, colors, positioning, and styling options. +title: Range in Flutter Linear Gauge widget | Syncfusion +description: Learn here all about adding and customizing Range of Syncfusion Flutter Linear Gauge (SfLinearGauge) widget and more. platform: chart-sdk control: SfLinearGauge documentation: ug --- -# Ranges in Flutter Linear Gauge (SfLinearGauge) +# Range in Flutter Linear Gauge (SfLinearGauge) A range is a visual element that helps you quickly visualize where a range falls on the axis track. Multiple ranges with different styles can be added to a linear gauge. The default style of range will be as below. -{% tabs %} -{% highlight dart %} - -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const LinearGaugeDemo()); - -class LinearGaugeDemo extends StatelessWidget { - const LinearGaugeDemo({Key? key}) : super(key: key); +{% highlight dart %} @override Widget build(BuildContext context) { @@ -39,10 +30,8 @@ class LinearGaugeDemo extends StatelessWidget { ), ); } -} - + {% endhighlight %} -{% endtabs %} ![Initialize linear gauge for range](images/gauge-range/default-range.png) @@ -53,16 +42,7 @@ A Linear Gauge range has three values to draw a range - [`startValue`](https://p However, to draw concave, convex and exponential-like shapes the [`midValue`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearGaugeRange/midValue.html) and [`midWidth`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearGaugeRange/midWidth.html) properties are needed. For this, the [`rangeShapeType`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearGaugeRange/rangeShapeType.html) is used to create the curve. The below code snippet demonstrates how to create a concave shape for a range. -{% tabs %} -{% highlight dart %} - -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const LinearGaugeDemo()); - -class LinearGaugeDemo extends StatelessWidget { - const LinearGaugeDemo({Key? key}) : super(key: key); +{% highlight dart %} @override Widget build(BuildContext context) { @@ -86,10 +66,8 @@ class LinearGaugeDemo extends StatelessWidget { ), ); } -} - + {% endhighlight %} -{% endtabs %} ![Draw linear gauge concave range](images/gauge-range/range-concave.png) @@ -99,16 +77,7 @@ The [`edgeStyle`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest The default value is `bothFlat`. -{% tabs %} -{% highlight dart %} - -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const LinearGaugeDemo()); - -class LinearGaugeDemo extends StatelessWidget { - const LinearGaugeDemo({Key? key}) : super(key: key); +{% highlight dart %} @override Widget build(BuildContext context) { @@ -135,10 +104,8 @@ class LinearGaugeDemo extends StatelessWidget { ), ); } -} - + {% endhighlight %} -{% endtabs %} ![Change the gauge range edge style](images/gauge-range/edge_style.png) @@ -146,16 +113,7 @@ class LinearGaugeDemo extends StatelessWidget { The color of a range can be changed by setting the [`color`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearGaugeRange/color.html) property of a range. The below code example demonstrates changing the color property of the range. -{% tabs %} -{% highlight dart %} - -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const LinearGaugeDemo()); - -class LinearGaugeDemo extends StatelessWidget { - const LinearGaugeDemo({Key? key}) : super(key: key); +{% highlight dart %} @override Widget build(BuildContext context) { @@ -172,10 +130,8 @@ class LinearGaugeDemo extends StatelessWidget { ), ); } -} {% endhighlight %} -{% endtabs %} ![Set linear gauge range color](images/gauge-range/color_range.png) @@ -183,16 +139,7 @@ class LinearGaugeDemo extends StatelessWidget { The gradient can be applied by using the [`shaderCallback`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearGaugeRange/shaderCallback.html) property of a range. The below code example demonstrates applying a radial gradient to the range. -{% tabs %} -{% highlight dart %} - -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const LinearGaugeDemo()); - -class LinearGaugeDemo extends StatelessWidget { - const LinearGaugeDemo({Key? key}) : super(key: key); +{% highlight dart %} @override Widget build(BuildContext context) { @@ -219,27 +166,16 @@ class LinearGaugeDemo extends StatelessWidget { ), ); } -} - + {% endhighlight %} -{% endtabs %} -![Apply radial gradient to linear gauge range](images/gauge-range/radial_gardient_range.png) +![Apply radial gradient to linear guage range](images/gauge-range/radial_gardient_range.png) ## Apply linear gradient to a range The below code snippet demonstrates applying a linear gradient to the range. -{% tabs %} -{% highlight dart %} - -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const LinearGaugeDemo()); - -class LinearGaugeDemo extends StatelessWidget { - const LinearGaugeDemo({Key? key}) : super(key: key); +{% highlight dart %} @override Widget build(BuildContext context) { @@ -263,27 +199,16 @@ class LinearGaugeDemo extends StatelessWidget { ), ); } -} - + {% endhighlight %} -{% endtabs %} -![Apply linear gradient to linear gauge range](images/gauge-range/linear_gardient_range.png) +![Apply linear gradient to linear guage range](images/gauge-range/linear_gardient_range.png) ## Apply sweep gradient to a range The below code snippet demonstrates applying a sweep gradient to the range. -{% tabs %} -{% highlight dart %} - -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const LinearGaugeDemo()); - -class LinearGaugeDemo extends StatelessWidget { - const LinearGaugeDemo({Key? key}) : super(key: key); +{% highlight dart %} @override Widget build(BuildContext context) { @@ -313,27 +238,16 @@ class LinearGaugeDemo extends StatelessWidget { ), ); } -} - + {% endhighlight %} -{% endtabs %} -![Apply sweep gradient to linear gauge range](images/gauge-range/sweep_gradient_range.png) +![Apply sweep gradient to linear guage range](images/gauge-range/sweep_gradient_range.png) ## Customize range position It is possible to position the ranges `inside`, `cross`, and `outside` the axis. By default, the range will be positioned `outside` the axis. The [`position`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearGaugeRange/position.html) property of the range is used to position the range. The below code snippet demonstrates the same. -{% tabs %} -{% highlight dart %} - -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const LinearGaugeDemo()); - -class LinearGaugeDemo extends StatelessWidget { - const LinearGaugeDemo({Key? key}) : super(key: key); +{% highlight dart %} @override Widget build(BuildContext context) { @@ -351,10 +265,8 @@ class LinearGaugeDemo extends StatelessWidget { ), ); } -} - + {% endhighlight %} -{% endtabs %} ![Position the linear gauge range](images/gauge-range/range_position.png) @@ -362,58 +274,38 @@ class LinearGaugeDemo extends StatelessWidget { You can set range color to axis elements using the [`useRangeColorForAxis`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/SfLinearGauge/useRangeColorForAxis.html) property of axis. -{% tabs %} -{% highlight dart %} - -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const LinearGaugeDemo()); - -class LinearGaugeDemo extends StatelessWidget { - const LinearGaugeDemo({Key? key}) : super(key: key); - - @override - Widget build(BuildContext context) { - return MaterialApp( - home: Scaffold( - body: Center( - child: Container( - child: SfLinearGauge( - minorTicksPerInterval: 4, - useRangeColorForAxis: true, - animateAxis: true, - axisTrackStyle: LinearAxisTrackStyle(thickness: 1), - ranges: [ - LinearGaugeRange( - startValue: 0, - endValue: 33, - position: LinearElementPosition.outside, - color: Color(0xffF45656), - ), - LinearGaugeRange( - startValue: 33, - endValue: 66, - position: LinearElementPosition.outside, - color: Color(0xffFFC93E), - ), - LinearGaugeRange( - startValue: 66, - endValue: 100, - position: LinearElementPosition.outside, - color: Color(0xff0DC9AB), - ), - ], - ), - ), +{% highlight dart %} + + Container( + child: SfLinearGauge( + minorTicksPerInterval: 4, + useRangeColorForAxis: true, + animateAxis: true, + axisTrackStyle: LinearAxisTrackStyle(thickness: 1), + ranges: [ + LinearGaugeRange( + startValue: 0, + endValue: 33, + position: LinearElementPosition.outside, + color: Color(0xffF45656), ), - ), - ); - } -} + LinearGaugeRange( + startValue: 33, + endValue: 66, + position: LinearElementPosition.outside, + color: Color(0xffFFC93E), + ), + LinearGaugeRange( + startValue: 66, + endValue: 100, + position: LinearElementPosition.outside, + color: Color(0xff0DC9AB), + ), + ], + ) + ) {% endhighlight %} -{% endtabs %} ![Set range color to axis element](images/gauge-range/range_userangeforaxis.png) @@ -421,16 +313,7 @@ class LinearGaugeDemo extends StatelessWidget { You can add multiple ranges for an axis. The below code example demonstrates adding three ranges in a Linear Gauge. -{% tabs %} -{% highlight dart %} - -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const LinearGaugeDemo()); - -class LinearGaugeDemo extends StatelessWidget { - const LinearGaugeDemo({Key? key}) : super(key: key); +{% highlight dart %} @override Widget build(BuildContext context) { @@ -457,9 +340,7 @@ class LinearGaugeDemo extends StatelessWidget { ), ); } -} {% endhighlight %} -{% endtabs %} ![Add multiple ranges in a linear gauge](images/gauge-range/multiple_ranges.png) \ No newline at end of file diff --git a/chart-sdk/flutter/linear-gauge/shape-marker-pointer.md b/chart-sdk/flutter/linear-gauge/shape-marker-pointer.md index 9df0ac613..67dfc1151 100644 --- a/chart-sdk/flutter/linear-gauge/shape-marker-pointer.md +++ b/chart-sdk/flutter/linear-gauge/shape-marker-pointer.md @@ -1,7 +1,7 @@ --- layout: post -title: Shape Marker Pointer in Flutter Linear Gauge | Syncfusion® -description: Learn about shape marker pointers in Syncfusion® Flutter Linear Gauge (SfLinearGauge), including marker types, positioning, customization, and styling. +title: Shape Marker Pointer in Flutter Linear Gauge widget | Syncfusion +description: Learn here all about adding and customizing Shape Marker Pointer of Syncfusion Flutter Linear Gauge (SfLinearGauge) widget and more. platform: chart-sdk control: SfLinearGauge documentation: ug @@ -17,18 +17,9 @@ The [`LinearShapePointer`](https://pub.dev/documentation/syncfusion_flutter_gaug 4. `Diamond` 5. `Rectangle` -The following is the default appearance of the default shape pointer. +The following is the default appearance of default shape pointer. -{% tabs %} -{% highlight dart %} - -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const LinearGaugeDemo()); - -class LinearGaugeDemo extends StatelessWidget { - const LinearGaugeDemo({Key? key}) : super(key: key); +{% highlight dart %} @override Widget build(BuildContext context) { @@ -42,10 +33,8 @@ class LinearGaugeDemo extends StatelessWidget { ), ); } -} - + {% endhighlight %} -{% endtabs %} ![Initialize linear gauge for shape pointer](images/shape-pointer/default_shape_pointer.png) @@ -53,16 +42,7 @@ class LinearGaugeDemo extends StatelessWidget { The size of the marker pointer can be changed by the [`height`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearShapePointer/height.html) and [`width`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearShapePointer/width.html) properties of [`LinearShapePointer`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearShapePointer-class.html). The following code sample demonstrates how to change the size of a shape pointer: -{% tabs %} -{% highlight dart %} - -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const LinearGaugeDemo()); - -class LinearGaugeDemo extends StatelessWidget { - const LinearGaugeDemo({Key? key}) : super(key: key); +{% highlight dart %} @override Widget build(BuildContext context) { @@ -77,10 +57,8 @@ class LinearGaugeDemo extends StatelessWidget { ), ); } -} - + {% endhighlight %} -{% endtabs %} ![Set size of linear gauge shape pointer](images/shape-pointer/shape_pointer_size.png) @@ -88,16 +66,7 @@ class LinearGaugeDemo extends StatelessWidget { The color of the shape pointer can be changed by the [`color`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearShapePointer/color.html) property. The following code example demonstrates the same. -{% tabs %} -{% highlight dart %} - -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const LinearGaugeDemo()); - -class LinearGaugeDemo extends StatelessWidget { - const LinearGaugeDemo({Key? key}) : super(key: key); +{% highlight dart %} @override Widget build(BuildContext context) { @@ -112,10 +81,8 @@ class LinearGaugeDemo extends StatelessWidget { ), ); } -} - + {% endhighlight %} -{% endtabs %} ![Change shape pointer color](images/shape-pointer/shape_pointer_color.png) @@ -123,16 +90,7 @@ class LinearGaugeDemo extends StatelessWidget { The border can be customized by the [`borderColor`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearShapePointer/borderColor.html) and [`borderWidth`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearShapePointer/borderWidth.html) properties of the [`LinearShapePointer`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearShapePointer-class.html). -{% tabs %} -{% highlight dart %} - -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const LinearGaugeDemo()); - -class LinearGaugeDemo extends StatelessWidget { - const LinearGaugeDemo({Key? key}) : super(key: key); +{% highlight dart %} @override Widget build(BuildContext context) { @@ -151,10 +109,8 @@ class LinearGaugeDemo extends StatelessWidget { ), ); } -} - + {% endhighlight %} -{% endtabs %} ![Customize shape pointer border](images/shape-pointer/shape_border.png) @@ -162,16 +118,7 @@ class LinearGaugeDemo extends StatelessWidget { The elevation can be customized by the [`elevation`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearShapePointer/elevation.html) and [`elevationColor`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearShapePointer/elevationColor.html) properties. -{% tabs %} -{% highlight dart %} - -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const LinearGaugeDemo()); - -class LinearGaugeDemo extends StatelessWidget { - const LinearGaugeDemo({Key? key}) : super(key: key); +{% highlight dart %} @override Widget build(BuildContext context) { @@ -194,27 +141,16 @@ class LinearGaugeDemo extends StatelessWidget { ), ); } -} - + {% endhighlight %} -{% endtabs %} ![Change shape pointer elevation](images/shape-pointer/pointer_elevation.png) ## Change marker alignment -The marker pointer alignment can be changed by the [`markerAlignment`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearShapePointer/markerAlignment.html) property of [`LinearShapePointer`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearShapePointer-class.html). The available marker pointer alignments are `start`, `end`, and `center`. - -{% tabs %} -{% highlight dart %} - -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const LinearGaugeDemo()); +The marker pointer alignment can be changed by the [`markerAlignment`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearShapePointer/markerAlignment.html) property of [`LinearShapePointer`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearShapePointer-class.html).The available marker pointer alignments are `start`, `end`, and `center`. -class LinearGaugeDemo extends StatelessWidget { - const LinearGaugeDemo({Key? key}) : super(key: key); +{% highlight dart %} @override Widget build(BuildContext context) { @@ -233,27 +169,16 @@ class LinearGaugeDemo extends StatelessWidget { ), ); } -} - + {% endhighlight %} -{% endtabs %} ![Change shape pointer alignment](images/shape-pointer/shape_marker_alignment.png) ## Customize position -By default, the shape pointer is positioned `outside` the axis. This position can be changed by the [`position`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearShapePointer/position.html) property of a [`LinearShapePointer`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearShapePointer-class.html). It is possible to position the shape pointer `inside`, `cross`, or `outside` the axis. The following code sample demonstrates how to position the shape pointer inside the axis. - -{% tabs %} -{% highlight dart %} - -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; +By default, the shape pointer is positioned `outside` the axis. This position can be changed by the [`position`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearShapePointer/position.html) property of a [`LinearShapePointer`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearShapePointer-class.html). It is possible to position the shape pointer `inside`, `cross`, or `outside` the axis. The following code sample demonstrates how to change the shape pointer position to inside the axis. -void main() => runApp(const LinearGaugeDemo()); - -class LinearGaugeDemo extends StatelessWidget { - const LinearGaugeDemo({Key? key}) : super(key: key); +{% highlight dart %} @override Widget build(BuildContext context) { @@ -273,27 +198,16 @@ class LinearGaugeDemo extends StatelessWidget { ), ); } -} - + {% endhighlight %} -{% endtabs %} ![Change shape pointer position](images/shape-pointer/shape_pointer_position.png) ## Customize offset -In addition to positioning the shape pointer, it is also possible to change the offset of the shape pointer. The [`offset`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearShapePointer/offset.html) is the distance from the axis and it cannot be negative. Cross-positioned elements will not be affected by the [`offset`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearShapePointer/offset.html) value. The following code sample demonstrates how to change the [`offset`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearShapePointer/offset.html) value of the shape pointer. - -{% tabs %} -{% highlight dart %} +In addition to position the shape pointer, it is also possible to change the offset of the shape pointer. The [`offset`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearShapePointer/offset.html) is the distance from the axis and it cannot be negative and The cross positioned elements will not get affected by the [`offset`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearShapePointer/offset.html) value. The following code sample demonstrates how to change the [`offset`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearShapePointer/offset.html) value of the shape pointer. -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const LinearGaugeDemo()); - -class LinearGaugeDemo extends StatelessWidget { - const LinearGaugeDemo({Key? key}) : super(key: key); +{% highlight dart %} @override Widget build(BuildContext context) { @@ -314,10 +228,8 @@ class LinearGaugeDemo extends StatelessWidget { ), ); } -} - + {% endhighlight %} -{% endtabs %} ![Customize linear gauge bar pointer offset](images/shape-pointer/shape_pointer_offset.png) @@ -329,22 +241,8 @@ The `LinearMarkerDragBehavior.constrained` can be used to limit the active point ### Free -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const LinearGaugeDemo()); - -class LinearGaugeDemo extends StatefulWidget { - const LinearGaugeDemo({Key? key}) : super(key: key); - - @override - State createState() => _LinearGaugeDemoState(); -} - -class _LinearGaugeDemoState extends State { double _firstPointer = 30; double _secondPointer = 70; @@ -381,31 +279,15 @@ class _LinearGaugeDemoState extends State { ), ); } -} {% endhighlight %} -{% endtabs %} ![Pointers drag behavior](images/shape-pointer/free-drag-behavior.gif) ### Constrained -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const LinearGaugeDemo()); - -class LinearGaugeDemo extends StatefulWidget { - const LinearGaugeDemo({Key? key}) : super(key: key); - - @override - State createState() => _LinearGaugeDemoState(); -} - -class _LinearGaugeDemoState extends State { double _firstPointer = 30; double _secondPointer = 70; @@ -442,33 +324,17 @@ class _LinearGaugeDemoState extends State { ), ); } -} {% endhighlight %} -{% endtabs %} ![Pointers drag behavior](images/shape-pointer/constraint-drag-behavior.gif) ## Handle onChangeStart, onChanged, and onChangeEnd callbacks -The [`LinearShapePointer`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearShapePointer-class.html) provides the [`onChangeStart`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearShapePointer/onChangeStart.html), [`onChanged`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearShapePointer/onChanged.html), and [`onChangeEnd`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearShapePointer/onChangeEnd.html) callbacks. The [`onChangeStart`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearShapePointer/onChangeStart.html) callback will be called when the user starts dragging the pointer. The [`onChanged`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearShapePointer/onChanged.html) callback will be called when dragging the pointer. The [`onChangeEnd`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearShapePointer/onChangeEnd.html) callback will be called when the user stops dragging the pointer. +The [`LinearShapePointer`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearShapePointer-class.html) provides the [`onChangeStart`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearShapePointer/onChangeStart.html), [`onChanged`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearShapePointer/onChanged.html), and [`onChangeEnd`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearShapePointer/onChangeEnd.html) callbacks. The [`onChangeStart`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearShapePointer/onChangeStart.html) callback will be called when the user start dragging the pointer, the [`onChanged`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearShapePointer/onChanged.html) callback will be called when dragging the pointer and the [`onChangeEnd`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearShapePointer/onChangeEnd.html) callback will be called when the user stops the pointer dragging. -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const LinearGaugeDemo()); - -class LinearGaugeDemo extends StatefulWidget { - const LinearGaugeDemo({Key? key}) : super(key: key); - - @override - State createState() => _LinearGaugeDemoState(); -} - -class _LinearGaugeDemoState extends State { double _value = 50; @override @@ -495,26 +361,15 @@ class _LinearGaugeDemoState extends State { ), ); } -} {% endhighlight %} -{% endtabs %} ## Animation completed callback The [`onAnimationCompleted`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearShapePointer/onAnimationCompleted.html) callback in the [`LinearShapePointer`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearShapePointer-class.html) will be triggered when the shape pointer animation is completed. The default value of the [onAnimationCompleted](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearShapePointer/onAnimationCompleted.html) callback is `null`. -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const LinearGaugeDemo()); - -class LinearGaugeDemo extends StatelessWidget { - const LinearGaugeDemo({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { return MaterialApp( @@ -524,8 +379,7 @@ class LinearGaugeDemo extends StatelessWidget { markerPointers:[ LinearShapePointer( onAnimationCompleted: () { - // Shape Pointer animation is completed - debugPrint('Shape Pointer animation is completed'); + print("Shape Pointer animation is completed"); }, ), ], @@ -534,7 +388,5 @@ class LinearGaugeDemo extends StatelessWidget { ), ); } -} {% endhighlight %} -{% endtabs %} diff --git a/chart-sdk/flutter/linear-gauge/ticks.md b/chart-sdk/flutter/linear-gauge/ticks.md index a98a41d05..2aebcf973 100644 --- a/chart-sdk/flutter/linear-gauge/ticks.md +++ b/chart-sdk/flutter/linear-gauge/ticks.md @@ -1,7 +1,7 @@ --- layout: post -title: Ticks in Flutter Linear Gauge | Syncfusion® -description: Learn about tick customization in Syncfusion® Flutter Linear Gauge (SfLinearGauge), including major ticks, minor ticks, intervals, and styling options. +title: Ticks in Flutter Linear Gauge widget | Syncfusion +description: Learn here all about adding and customizing Ticks of Syncfusion Flutter Linear Gauge (SfLinearGauge) widget and more. platform: chart-sdk control: SfLinearGauge documentation: ug @@ -15,20 +15,12 @@ The default style of axis ticks is as follows. ## Customize tick style -There are two types of ticks in the Flutter Linear Gauge namely major and minor ticks. In the above image, the larger ticks are major ticks and the ticks between the major ticks are minor ticks. The major and minor tick of a [`SfLinearGauge`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/SfLinearGauge-class.html) can be customized using the [`majorTickStyle`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/SfLinearGauge/majorTickStyle.html) and [`minorTickStyle`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/MinorTickStyle-class.html) properties. Refer to the [labels](labels.md) documentation to understand how to customize axis labels alongside ticks. The following properties can be customized for both the major and the minor ticks: +There are two types of ticks in the Flutter Linear Gauge namely major and minor ticks. In the above image, the larger ticks are major ticks and the ticks between the major ticks are minor ticks. The major and minor tick of a [`SfLinearGauge`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/SfLinearGauge-class.html) can be customized using the [`majorTickStyle`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/SfLinearGauge/majorTickStyle.html) and [`minorTickStyle`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/MinorTickStyle-class.html) properties. The following properties can be customized for both the major and the minor ticks: * [`color`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/MajorTickStyle/color.html) – Allows customization of the tick color. * [`thickness`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/MajorTickStyle/thickness.html) – Allows customization of the thickness of ticks. -* [`length`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/MajorTickStyle/length.html) – Specifies the length of ticks. +* [`length`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/MajorTickStyle/length.html) – Specifics the length of ticks. -{% tabs %} -{% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const LinearGaugeDemo()); - -class LinearGaugeDemo extends StatelessWidget { - const LinearGaugeDemo({Key? key}) : super(key: key); +{% highlight dart %} @override Widget build(BuildContext context) { @@ -43,9 +35,8 @@ class LinearGaugeDemo extends StatelessWidget { ) ); } -} + {% endhighlight %} -{% endtabs %} ![Customize the linear gauge axis tick style](images/axis-ticks/axis-tick-style.png) @@ -53,29 +44,20 @@ class LinearGaugeDemo extends StatelessWidget { The major ticks are generated based on the [`interval`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/SfLinearGauge/interval.html) property which is documented in `Customize the interval between labels` topic. The minor ticks are calculated using the [`minorTicksPerInterval`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/SfLinearGauge/minorTicksPerInterval.html) property of [`SfLinearGauge`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/SfLinearGauge-class.html). By default, the value of this property is 1. -{% tabs %} -{% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const LinearGaugeDemo()); - -class LinearGaugeDemo extends StatelessWidget { - const LinearGaugeDemo({Key? key}) : super(key: key); +{% highlight dart %} @override Widget build(BuildContext context) { return MaterialApp( home: Scaffold( - body: Center( - child: SfLinearGauge(minorTicksPerInterval: 4) + body: Center( + child: SfLinearGauge(minorTicksPerInterval: 4) ) ) ); } -} + {% endhighlight %} -{% endtabs %} ![Customize linear gauge ticks per interval](images/axis-ticks/minor-ticks-per-interval.png) @@ -83,15 +65,7 @@ class LinearGaugeDemo extends StatelessWidget { The [`showTicks`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/SfLinearGauge/showTicks.html) property of the axis is used to enable or disable the visibility of both the major and the minor ticks. The default value of this property is true. -{% tabs %} -{% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const LinearGaugeDemo()); - -class LinearGaugeDemo extends StatelessWidget { - const LinearGaugeDemo({Key? key}) : super(key: key); +{% highlight dart %} @override Widget build(BuildContext context) { @@ -105,9 +79,8 @@ class LinearGaugeDemo extends StatelessWidget { ) ); } -} + {% endhighlight %} -{% endtabs %} ![Customize linear gauge ticks visibility](images/axis-ticks/linear-gauge-tick-visibility.png) @@ -115,15 +88,7 @@ class LinearGaugeDemo extends StatelessWidget { The linear axis allows positioning the ticks either inside or outside the axis track using the [`tickPosition`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/SfLinearGauge/tickPosition.html) property. By default, ticks are positioned inside the axis track. -{% tabs %} -{% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const LinearGaugeDemo()); - -class LinearGaugeDemo extends StatelessWidget { - const LinearGaugeDemo({Key? key}) : super(key: key); +{% highlight dart %} @override Widget build(BuildContext context) { @@ -138,9 +103,8 @@ class LinearGaugeDemo extends StatelessWidget { ) ); } -} + {% endhighlight %} -{% endtabs %} ![Customize linear gauge ticks placement](images/axis-ticks/tick-placement.png) @@ -149,15 +113,7 @@ class LinearGaugeDemo extends StatelessWidget { The ticks can be moved near or far from the axis line using the [`tickOffset`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/SfLinearGauge/tickOffset.html) property. The default value of tick offset is 0. While setting offset for the ticks, the axis labels are also moved along with the ticks. -{% tabs %} -{% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const LinearGaugeDemo()); - -class LinearGaugeDemo extends StatelessWidget { - const LinearGaugeDemo({Key? key}) : super(key: key); +{% highlight dart %} @override Widget build(BuildContext context) { @@ -169,9 +125,8 @@ class LinearGaugeDemo extends StatelessWidget { ) ); } -} + {% endhighlight %} -{% endtabs %} ![Customize linear gauge ticks offset from axis](images/axis-ticks/customize-tick-offset.png) diff --git a/chart-sdk/flutter/linear-gauge/widget-marker-pointer.md b/chart-sdk/flutter/linear-gauge/widget-marker-pointer.md index a3458f2a9..0454bdb5c 100644 --- a/chart-sdk/flutter/linear-gauge/widget-marker-pointer.md +++ b/chart-sdk/flutter/linear-gauge/widget-marker-pointer.md @@ -1,7 +1,7 @@ --- layout: post -title: Widget Marker Pointer in Flutter Linear Gauge | Syncfusion® -description: Learn about widget marker pointers in Syncfusion® Flutter Linear Gauge (SfLinearGauge), including custom widgets, positioning, styling, and interactions. +title: Widget Marker Pointer in Flutter Linear Gauge widget | Syncfusion +description: Learn here all about adding and customizing Widget Marker Pointer of Syncfusion Flutter Linear Gauge (SfLinearGauge) widget and more. platform: chart-sdk control: SfLinearGauge documentation: ug @@ -9,18 +9,9 @@ documentation: ug # Widget Marker Pointer in Flutter Linear Gauge (SfLinearGauge) -The [`LinearWidgetPointer`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearWidgetPointer/LinearWidgetPointer.html) in [`SfLinearGauge`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/SfLinearGauge/SfLinearGauge.html) allows you to use any Flutter widget as a marker pointer. The following code sample uses a [`Container`](https://api.flutter.dev/flutter/widgets/Container-class.html) as a marker widget. +The [`LinearWidgetPointer`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearWidgetPointer/LinearWidgetPointer.html) in [`SfLinearGauge`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/SfLinearGauge/SfLinearGauge.html) allows you to use any Flutter widget as a marker pointer. The following code sample uses a [`container`](https://api.flutter.dev/flutter/widgets/Container-class.html) as marker widget. -{% tabs %} -{% highlight dart %} - -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const LinearGaugeDemo()); - -class LinearGaugeDemo extends StatelessWidget { - const LinearGaugeDemo({Key? key}) : super(key: key); +{% highlight dart %} @override Widget build(BuildContext context) { @@ -37,27 +28,16 @@ class LinearGaugeDemo extends StatelessWidget { ), ); } -} - + {% endhighlight %} -{% endtabs %} ![Initialize linear gauge for widget pointer](images/widget-pointer/default_widget_pointer.png) ## Change marker alignment -The widget marker pointer alignment can be changed by the [`markerAlignment`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearWidgetPointer/markerAlignment.html) property of [`LinearWidgetPointer`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearWidgetPointer-class.html). The available marker positions are `start`, `end`, and `center`. +The widget marker pointer's alignment can be changed by the [`markerAlignment`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearWidgetPointer/markerAlignment.html) property of [`LinearWidgetPointer`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearWidgetPointer-class.html). The available marker positions are `start`, `end`, and `center`. -{% tabs %} -{% highlight dart %} - -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const LinearGaugeDemo()); - -class LinearGaugeDemo extends StatelessWidget { - const LinearGaugeDemo({Key? key}) : super(key: key); +{% highlight dart %} @override Widget build(BuildContext context) { @@ -80,27 +60,16 @@ class LinearGaugeDemo extends StatelessWidget { ), ); } -} - + {% endhighlight %} -{% endtabs %} ![Customize size of widget pointer](images/widget-pointer/widget_alignment.png) ## Change the position -By default, the widget pointer is positioned `outside` the axis. This position can be changed by the [`position`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearWidgetPointer/position.html) property of a [`LinearWidgetPointer`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearWidgetPointer/position.html). It is possible to position the widget pointer `inside`, `cross`, or `outside` the axis. The following code sample demonstrates how to position the widget pointer inside the axis. +By default, the widget pointer is positioned `outside` the axis. This position can be changed by the [`position`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearWidgetPointer/position.html) property of a [`LinearWidgetPointer`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearWidgetPointer/position.html). It is possible to position the wwidget pointer `inside`, `cross`, or `outside` the axis. The following code sample demonstrates how to change the widget pointer position to `inside` the axis. -{% tabs %} -{% highlight dart %} - -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const LinearGaugeDemo()); - -class LinearGaugeDemo extends StatelessWidget { - const LinearGaugeDemo({Key? key}) : super(key: key); +{% highlight dart %} @override Widget build(BuildContext context) { @@ -118,27 +87,16 @@ class LinearGaugeDemo extends StatelessWidget { ), ); } -} - + {% endhighlight %} -{% endtabs %} ![Change widget pointer position](images/widget-pointer/widget_pointer_position.png) ## Change the offset -In addition to positioning the widget marker pointer, it is also possible to change the offset of the widget pointer. The [`offset`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearWidgetPointer/offset.html) is the distance from the axis and it cannot be negative. Cross-positioned elements will not be affected by the [`offset`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearWidgetPointer/offset.html) value. The following code sample demonstrates how to change the offset value of the widget pointer. - -{% tabs %} -{% highlight dart %} - -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const LinearGaugeDemo()); +In addition to position the widget marker pointer, it is also possible to change the offset of the shape pointer. The [`offset`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearWidgetPointer/offset.html) is the distance from the axis and it cannot be negative. The cross positioned elements will not be affected by the [`offset`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearWidgetPointer/offset.html) value. The following code sample demonstrates how to change the offset value of the shape pointer. -class LinearGaugeDemo extends StatelessWidget { - const LinearGaugeDemo({Key? key}) : super(key: key); +{% highlight dart %} @override Widget build(BuildContext context) { @@ -161,10 +119,8 @@ class LinearGaugeDemo extends StatelessWidget { ), ); } -} - + {% endhighlight %} -{% endtabs %} ![Customize linear gauge bar pointer offset](images/widget-pointer/widget_pointer_offset.png) @@ -176,22 +132,8 @@ The `LinearMarkerDragBehavior.constrained` can be used to limit the active point ### Free -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const LinearGaugeDemo()); - -class LinearGaugeDemo extends StatefulWidget { - const LinearGaugeDemo({Key? key}) : super(key: key); - - @override - State createState() => _LinearGaugeDemoState(); -} - -class _LinearGaugeDemoState extends State { double _firstPointer = 30; double _secondPointer = 70; @@ -226,31 +168,15 @@ class _LinearGaugeDemoState extends State { ), ); } -} {% endhighlight %} -{% endtabs %} ![Pointers drag behavior](images/widget-pointer/free-drag-behavior.gif) ### Constrained -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const LinearGaugeDemo()); - -class LinearGaugeDemo extends StatefulWidget { - const LinearGaugeDemo({Key? key}) : super(key: key); - - @override - State createState() => _LinearGaugeDemoState(); -} - -class _LinearGaugeDemoState extends State { double _firstPointer = 30; double _secondPointer = 70; @@ -285,33 +211,17 @@ class _LinearGaugeDemoState extends State { ), ); } -} {% endhighlight %} -{% endtabs %} ![Pointers drag behavior](images/widget-pointer/constraint-drag-behavior.gif) ## Handle onChangeStart, onChanged, and onChangeEnd callbacks -The [`LinearWidgetPointer`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearWidgetPointer-class.html) provides the [`onChangeStart`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearWidgetPointer/onChangeStart.html), [`onChanged`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearWidgetPointer/onChanged.html), and [`onChangeEnd`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearWidgetPointer/onChangeEnd.html) callbacks. The [`onChangeStart`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearWidgetPointer/onChangeStart.html) callback will be called when the user starts dragging the pointer. The [`onChanged`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearWidgetPointer/onChanged.html) callback will be called when dragging the pointer. The [`onChangeEnd`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearWidgetPointer/onChangeEnd.html) callback will be called when the user stops dragging the pointer. +The [`LinearWidgetPointer`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearWidgetPointer-class.html) provides the [`onChangeStart`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearWidgetPointer/onChangeStart.html), [`onChanged`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearWidgetPointer/onChanged.html), and [`onChangeEnd`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearWidgetPointer/onChangeEnd.html) callbacks. The [`onChangeStart`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearWidgetPointer/onChangeStart.html) callback will be called when the user start dragging the pointer, the [`onChanged`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearWidgetPointer/onChanged.html) callback will be called when dragging the pointer and the [`onChangeEnd`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearWidgetPointer/onChangeEnd.html) callback will be called when the user stops the pointer dragging. -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const LinearGaugeDemo()); - -class LinearGaugeDemo extends StatefulWidget { - const LinearGaugeDemo({Key? key}) : super(key: key); - - @override - State createState() => _LinearGaugeDemoState(); -} - -class _LinearGaugeDemoState extends State { double _value = 50; @override @@ -338,26 +248,15 @@ class _LinearGaugeDemoState extends State { ), ); } -} {% endhighlight %} -{% endtabs %} ## Animation completed callback The [`onAnimationCompleted`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearWidgetPointer/onAnimationCompleted.html) callback in the [`LinearWidgetPointer`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearWidgetPointer-class.html) will be triggered when the widget pointer animation is completed. The default value of the [onAnimationCompleted](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearWidgetPointer/onAnimationCompleted.html) callback is `null`. -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const LinearGaugeDemo()); - -class LinearGaugeDemo extends StatelessWidget { - const LinearGaugeDemo({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { return MaterialApp( @@ -367,8 +266,7 @@ class LinearGaugeDemo extends StatelessWidget { markerPointers:[ LinearWidgetPointer( onAnimationCompleted: () { - // Widget Pointer animation is completed - debugPrint('Widget Pointer animation is completed'); + print("Widget Pointer animation is completed"); }, ), ], @@ -377,7 +275,5 @@ class LinearGaugeDemo extends StatelessWidget { ), ); } -} {% endhighlight %} -{% endtabs %} diff --git a/chart-sdk/flutter/maps/accessibility.md b/chart-sdk/flutter/maps/accessibility.md index 80bcb9a85..d5c5f9157 100644 --- a/chart-sdk/flutter/maps/accessibility.md +++ b/chart-sdk/flutter/maps/accessibility.md @@ -1,7 +1,7 @@ --- layout: post -title: Accessibility in Flutter Maps | Syncfusion® -description: Learn about accessibility support in Syncfusion® Flutter Maps (SfMaps), including screen readers, keyboard navigation, and assistive technologies. +title: Accessibility in Flutter maps widget | Syncfusion +description: Learn here all about the accessibility support in Syncfusion Flutter maps (SfMaps) widget and how to customize it. platform: chart-sdk control: SfMaps documentation: ug @@ -16,15 +16,6 @@ The [`SfMaps`](https://pub.dev/documentation/syncfusion_flutter_maps/latest/maps {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); -} - -class _MapsExampleState extends State { late List _data; late MapShapeSource _dataSource; late String _semanticLabel = 'Asia is the most populated continent and Australia is the least populated continent'; @@ -65,7 +56,6 @@ class _MapsExampleState extends State { ), ); } -} class PopulationModel { const PopulationModel(this.continent, this.populationInCrores); @@ -81,17 +71,17 @@ class PopulationModel { You can customize the color of the [`SfMaps`](https://pub.dev/documentation/syncfusion_flutter_maps/latest/maps/SfMaps-class.html) elements using the following APIs to ensure sufficient contrast: -* [`Shape`](https://help.syncfusion.com/chart-sdk/flutter/maps/shape#shape-color) -* [`Bubble`](https://help.syncfusion.com/chart-sdk/flutter/maps/bubble#color) -* [`Data labels`](https://help.syncfusion.com/chart-sdk/flutter/maps/data-labels#appearance-customization) -* [`Legend`](https://help.syncfusion.com/chart-sdk/flutter/maps/legend#icon-and-text-customization) -* [`Tooltip`](https://help.syncfusion.com/chart-sdk/flutter/maps/tooltip#appearance-customization) -* [`Sublayer`](https://help.syncfusion.com/chart-sdk/flutter/maps/shape-sublayer#color-and-stroke-color) -* [`Line layer`](https://help.syncfusion.com/chart-sdk/flutter/maps/vector-layers/line-layer#color) -* [`Arc layer`](https://help.syncfusion.com/chart-sdk/flutter/maps/vector-layers/arc-layer#color) -* [`Polyline layer`](https://help.syncfusion.com/chart-sdk/flutter/maps/vector-layers/polyline-layer#color) -* [`Polygon layer`](https://help.syncfusion.com/chart-sdk/flutter/maps/vector-layers/polygon-layer#fill-color) -* [`Circle layer`](https://help.syncfusion.com/chart-sdk/flutter/maps/vector-layers/circle-layer#fill-color) +* [`Shape`](https://help.syncfusion.com/flutter/maps/shape#shape-color) +* [`Bubble`](https://help.syncfusion.com/flutter/maps/bubble#color) +* [`Data labels`](https://help.syncfusion.com/flutter/maps/data-labels#appearance-customization) +* [`Legend`](https://help.syncfusion.com/flutter/maps/legend#icon-and-text-customization) +* [`Tooltip`](https://help.syncfusion.com/flutter/maps/tooltip#appearance-customization) +* [`Sublayer`](https://help.syncfusion.com/flutter/maps/shape-sublayer#color-and-stroke-color) +* [`Line layer`](https://help.syncfusion.com/flutter/maps/vector-layers/line-layer#color) +* [`Arc layer`](https://help.syncfusion.com/flutter/maps/vector-layers/arc-layer#color) +* [`Polyline layer`](https://help.syncfusion.com/flutter/maps/vector-layers/polyline-layer#color) +* [`Polygon layer`](https://help.syncfusion.com/flutter/maps/vector-layers/polygon-layer#fill-color) +* [`Circle layer`](https://help.syncfusion.com/flutter/maps/vector-layers/circle-layer#fill-color) ## Large fonts @@ -99,9 +89,9 @@ The font size of the [`SfMaps`](https://pub.dev/documentation/syncfusion_flutter Additionally, you can manually adjust the font size of the [`SfMaps`](https://pub.dev/documentation/syncfusion_flutter_maps/latest/maps/SfMaps-class.html) elements using these APIs: -* [`Data label style`](https://help.syncfusion.com/chart-sdk/flutter/maps/data-labels#appearance-customization) -* [`Legend text style`](https://help.syncfusion.com/chart-sdk/flutter/maps/legend#text-style) -* [`Tooltip label style`](https://help.syncfusion.com/chart-sdk/flutter/maps/tooltip#tooltip-for-the-shapes) +* [`Data label style`](https://help.syncfusion.com/flutter/maps/data-labels#appearance-customization) +* [`Legend text style`](https://help.syncfusion.com/flutter/maps/legend#text-style) +* [`Tooltip label style`](https://help.syncfusion.com/flutter/maps/tooltip#tooltip-for-the-shapes) ## Easier touch targets diff --git a/chart-sdk/flutter/maps/bubble.md b/chart-sdk/flutter/maps/bubble.md index 7a33c3ce4..239ba9175 100644 --- a/chart-sdk/flutter/maps/bubble.md +++ b/chart-sdk/flutter/maps/bubble.md @@ -1,7 +1,7 @@ --- layout: post -title: Bubbles in Flutter Maps | Syncfusion® -description: Learn about bubble support in Syncfusion® Flutter Maps (SfMaps), including bubble sizing, data visualization, appearance customization, and styling. +title: Bubbles in Flutter Maps widget | Syncfusion +description: Learn here all about the Bubbles feature of Syncfusion Flutter Maps (SfMaps) widget to customize their appearances and more. platform: chart-sdk control: SfMaps documentation: ug @@ -18,54 +18,44 @@ You can enable bubbles using the [`MapShapeSource.bubbleSizeMapper`](https://pub {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); +late List data; +late MapShapeSource dataSource; + +@override +void initState() { + super.initState(); + data = [ + Model('Asia', 51), + Model('Africa', 58), + Model('Europe', 48), + Model('North America', 41), + Model('South America', 14), + Model('Australia', 23), + ]; + + dataSource = MapShapeSource.asset( + "assets/world_map.json", + shapeDataField: "continent", + dataCount: data.length, + primaryValueMapper: (int index) => data[index].continent, + bubbleSizeMapper: (int index) => data[index].count, + ); } -class _MapsExampleState extends State { - late List data; - late MapShapeSource dataSource; - - @override - void initState() { - super.initState(); - data = [ - Model('Asia', 51), - Model('Africa', 58), - Model('Europe', 48), - Model('North America', 41), - Model('South America', 14), - Model('Australia', 23), - ]; - - dataSource = MapShapeSource.asset( - "assets/world_map.json", - shapeDataField: "continent", - dataCount: data.length, - primaryValueMapper: (int index) => data[index].continent, - bubbleSizeMapper: (int index) => data[index].count, - ); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: Padding( - padding: EdgeInsets.only(left: 15, right: 15), - child: SfMaps( - layers: [ - MapShapeLayer( - source: dataSource, - ), - ], - ), +@override +Widget build(BuildContext context) { + return Scaffold( + body: Padding( + padding: EdgeInsets.only(left: 15, right: 15), + child: SfMaps( + layers: [ + MapShapeLayer( + source: dataSource, + ), + ], ), - ); - } + ), + ); } class Model { @@ -87,67 +77,57 @@ You can enable tooltip for the bubbles using the [`MapShapeLayer.bubbleTooltipBu {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); +late List data; +late MapShapeSource dataSource; + +@override +void initState() { + super.initState(); + + data = [ + Model('Asia', 50, '44,579,000 sq. km.'), + Model('Africa', 54, '30,370,000 sq. km.'), + Model('Europe', 51, '10,180,000 sq. km.'), + Model('North America', 23, '24,709,000 sq. km.'), + Model('South America', 12, '17,840,000 sq. km.'), + Model('Australia', 14, '8,600,000 sq. km.'), + ]; + + dataSource = MapShapeSource.asset( + "assets/world_map.json", + shapeDataField: "continent", + dataCount: data.length, + primaryValueMapper: (int index) => data[index].continent, + bubbleSizeMapper: (int index) => data[index].countriesCount, + ); } -class _MapsExampleState extends State { - late List data; - late MapShapeSource dataSource; - - @override - void initState() { - super.initState(); - - data = [ - Model('Asia', 50, '44,579,000 sq. km.'), - Model('Africa', 54, '30,370,000 sq. km.'), - Model('Europe', 51, '10,180,000 sq. km.'), - Model('North America', 23, '24,709,000 sq. km.'), - Model('South America', 12, '17,840,000 sq. km.'), - Model('Australia', 14, '8,600,000 sq. km.'), - ]; - - dataSource = MapShapeSource.asset( - "assets/world_map.json", - shapeDataField: "continent", - dataCount: data.length, - primaryValueMapper: (int index) => data[index].continent, - bubbleSizeMapper: (int index) => data[index].countriesCount, - ); - } - - @override - Widget build(BuildContext context) { - final ThemeData themeData = Theme.of(context); - return Scaffold( - body: Padding( - padding: EdgeInsets.only(left: 15, right: 15), - child: SfMaps( - layers: [ - MapShapeLayer( - source: dataSource, - bubbleTooltipBuilder: (BuildContext context, int index) { - return Padding( - padding: EdgeInsets.all(10), - child: Text('Continent : ' + - data[index].continent + - '\nTotal Countries : ' + - data[index].countriesCount.toStringAsFixed(0), - style: themeData.textTheme.labelSmall! - .copyWith(color: themeData.colorScheme.surface)), - ); - }, - ), - ], - ), +@override +Widget build(BuildContext context) { + final ThemeData themeData = Theme.of(context); + return Scaffold( + body: Padding( + padding: EdgeInsets.only(left: 15, right: 15), + child: SfMaps( + layers: [ + MapShapeLayer( + source: dataSource, + bubbleTooltipBuilder: (BuildContext context, int index) { + return Padding( + padding: EdgeInsets.all(10), + child: Text('Continent : ' + + data[index].continent + + '\nTotal Countries : ' + + data[index].countriesCount.toStringAsFixed(0), + style: themeData.textTheme.caption! + .copyWith(color: themeData.colorScheme.surface)), + ); + }, + ), + ], ), - ); - } + ), + ); } class Model { @@ -174,60 +154,50 @@ If [`bubbleColorValueMapper`](https://pub.dev/documentation/syncfusion_flutter_m {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); +late List data; +late MapShapeSource dataSource; + +@override +void initState() { + super.initState(); + + data = [ + Model('Asia', 51, Colors.red[400]!), + Model('Africa', 58, Colors.green[400]!), + Model('Europe', 48, Colors.blue[400]!), + Model('North America', 41, Colors.purple[400]!), + Model('South America', 14, Colors.yellow[400]!), + Model('Australia', 23, Colors.orange[400]!), + ]; + + dataSource = MapShapeSource.asset( + "assets/world_map.json", + shapeDataField: "continent", + dataCount: data.length, + primaryValueMapper: (int index) => data[index].continent, + bubbleSizeMapper: (int index) => data[index].count, + bubbleColorValueMapper: (int index) => data[index].bubbleColor, + ); } -class _MapsExampleState extends State { - late List data; - late MapShapeSource dataSource; - - @override - void initState() { - super.initState(); - - data = [ - Model('Asia', 51, Colors.red[400]!), - Model('Africa', 58, Colors.green[400]!), - Model('Europe', 48, Colors.blue[400]!), - Model('North America', 41, Colors.purple[400]!), - Model('South America', 14, Colors.yellow[400]!), - Model('Australia', 23, Colors.orange[400]!), - ]; - - dataSource = MapShapeSource.asset( - "assets/world_map.json", - shapeDataField: "continent", - dataCount: data.length, - primaryValueMapper: (int index) => data[index].continent, - bubbleSizeMapper: (int index) => data[index].count, - bubbleColorValueMapper: (int index) => data[index].bubbleColor, - ); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: Padding( - padding: EdgeInsets.only(left: 15, right: 15), - child: SfMaps( - layers: [ - MapShapeLayer( - source: dataSource, - bubbleSettings: MapBubbleSettings( - maxRadius: 30, - minRadius: 15, - ), +@override +Widget build(BuildContext context) { + return Scaffold( + body: Padding( + padding: EdgeInsets.only(left: 15, right: 15), + child: SfMaps( + layers: [ + MapShapeLayer( + source: dataSource, + bubbleSettings: MapBubbleSettings( + maxRadius: 30, + minRadius: 15, ), - ], - ), + ), + ], ), - ); - } + ), + ); } class Model { @@ -256,61 +226,51 @@ You can customize the following appearance properties of the bubbles: {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; +late List data; +late MapShapeSource dataSource; -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); +@override +void initState() { + super.initState(); + data = [ + Model('Asia', 51), + Model('Africa', 58), + Model('Europe', 48), + Model('North America', 41), + Model('South America', 14), + Model('Australia', 23), + ]; + + dataSource = MapShapeSource.asset( + "assets/world_map.json", + shapeDataField: "continent", + dataCount: data.length, + primaryValueMapper: (int index) => data[index].continent, + bubbleSizeMapper: (int index) => data[index].count, + ); } -class _MapsExampleState extends State { - late List data; - late MapShapeSource dataSource; - - @override - void initState() { - super.initState(); - data = [ - Model('Asia', 51), - Model('Africa', 58), - Model('Europe', 48), - Model('North America', 41), - Model('South America', 14), - Model('Australia', 23), - ]; - - dataSource = MapShapeSource.asset( - "assets/world_map.json", - shapeDataField: "continent", - dataCount: data.length, - primaryValueMapper: (int index) => data[index].continent, - bubbleSizeMapper: (int index) => data[index].count, - ); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: Padding( - padding: EdgeInsets.only(left: 15, right: 15), - child: SfMaps( - layers: [ - MapShapeLayer( - source: dataSource, - bubbleSettings: MapBubbleSettings( - maxRadius: 30, - minRadius: 15, - color: Colors.red[200], - strokeWidth: 2, - strokeColor: Colors.red[800], - ), - ) - ], - ), +@override +Widget build(BuildContext context) { + return Scaffold( + body: Padding( + padding: EdgeInsets.only(left: 15, right: 15), + child: SfMaps( + layers: [ + MapShapeLayer( + source: dataSource, + bubbleSettings: MapBubbleSettings( + maxRadius: 30, + minRadius: 15, + color: Colors.red[200], + strokeWidth: 2, + strokeColor: Colors.red[800], + ), + ) + ], ), - ); - } + ), + ); } class Model { @@ -339,69 +299,58 @@ N> You must import the `theme.dart` library from the [`Core`](https://pub.dev/pa {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; -import 'package:syncfusion_flutter_core/theme.dart'; +late List data; +late MapShapeSource dataSource; -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); +@override +void initState() { + super.initState(); + data = [ + Model('Asia', 51), + Model('Africa', 58), + Model('Europe', 48), + Model('North America', 41), + Model('South America', 14), + Model('Australia', 23), + ]; + + dataSource = MapShapeSource.asset( + "assets/world_map.json", + shapeDataField: "continent", + dataCount: data.length, + primaryValueMapper: (int index) => data[index].continent, + bubbleSizeMapper: (int index) => data[index].count, + ); } -class _MapsExampleState extends State { - late List data; - late MapShapeSource dataSource; - - @override - void initState() { - super.initState(); - data = [ - Model('Asia', 51), - Model('Africa', 58), - Model('Europe', 48), - Model('North America', 41), - Model('South America', 14), - Model('Australia', 23), - ]; - - dataSource = MapShapeSource.asset( - "assets/world_map.json", - shapeDataField: "continent", - dataCount: data.length, - primaryValueMapper: (int index) => data[index].continent, - bubbleSizeMapper: (int index) => data[index].count, - ); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: Padding( - padding: EdgeInsets.only(left: 15, right: 15), - child: SfMapsTheme( - data: SfMapsThemeData( - bubbleColor: Colors.red[200], - bubbleStrokeColor: Colors.red[800], - bubbleStrokeWidth: 2, - bubbleHoverColor: Colors.red[800], - bubbleHoverStrokeColor: Colors.black, - bubbleHoverStrokeWidth: 2, - ), - child: SfMaps( - layers: [ - MapShapeLayer( - source: dataSource, - bubbleSettings: MapBubbleSettings( - maxRadius: 30, - minRadius: 15, - ), - ) - ], - ), - ) - ), - ); - } +@override +Widget build(BuildContext context) { + return Scaffold( + body: Padding( + padding: EdgeInsets.only(left: 15, right: 15), + child: SfMapsTheme( + data: SfMapsThemeData( + bubbleColor: Colors.red[200], + bubbleStrokeColor: Colors.red[800], + bubbleStrokeWidth: 2, + bubbleHoverColor: Colors.red[800], + bubbleHoverStrokeColor: Colors.black, + bubbleHoverStrokeWidth: 2, + ), + child: SfMaps( + layers: [ + MapShapeLayer( + source: dataSource, + bubbleSettings: MapBubbleSettings( + maxRadius: 30, + minRadius: 15, + ), + ) + ], + ), + ) + ), + ); } class Model { diff --git a/chart-sdk/flutter/maps/data-labels.md b/chart-sdk/flutter/maps/data-labels.md index 5d5d35728..859f184eb 100644 --- a/chart-sdk/flutter/maps/data-labels.md +++ b/chart-sdk/flutter/maps/data-labels.md @@ -1,13 +1,13 @@ --- layout: post -title: Data Labels in Flutter Maps | Syncfusion® -description: Learn about data labels in Syncfusion® Flutter Maps (SfMaps), including shape labeling, customization options, text styling, and placement. +title: Data Labels in Flutter Maps widget | Syncfusion +description: Learn here all about the Data Labels feature of Syncfusion Flutter Maps (SfMaps) widget to add labels to the shapes and more. platform: chart-sdk control: SfMaps documentation: ug --- -# Data Labels in Flutter Maps (SfMaps) +# Data Labels in Flutter Maps (SfMaps) Data labels provide identification for the shapes by displaying their names. You can trim or hide the labels if they exceed the shape bounds. @@ -18,44 +18,34 @@ You can show data labels on the map using the [`MapShapeLayer.showDataLabels`](h {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; +late MapShapeSource dataSource; -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); +@override +void initState() { + dataSource = MapShapeSource.asset( + "assets/world_map.json", + shapeDataField: "continent", + ); + super.initState(); } -class _MapsExampleState extends State { - late MapShapeSource dataSource; - - @override - void initState() { - dataSource = MapShapeSource.asset( - "assets/world_map.json", - shapeDataField: "continent", - ); - super.initState(); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: Center( - child: Padding( - padding: EdgeInsets.only(left: 15, right: 15), - child: SfMaps( - layers: [ - MapShapeLayer( - source: dataSource, - showDataLabels: true, - ), - ], - ), +@override + Widget build(BuildContext context) { + return Scaffold( + body: Center( + child: Padding( + padding: EdgeInsets.only(left: 15, right: 15), + child: SfMaps( + layers: [ + MapShapeLayer( + source: dataSource, + showDataLabels: true, + ), + ], ), ), - ); - } + ), + ); } {% endhighlight %} @@ -70,57 +60,47 @@ You can customize text of the data labels using the [`MapShapeSource.dataLabelMa {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); +late List data; +late MapShapeSource dataSource; + +@override +void initState() { + super.initState(); + data = const [ + Model('Asia', 'Asia'), + Model('Europe', 'EU'), + Model('North America', 'NA'), + Model('South America', 'SA'), + Model('Australia', 'Australia'), + Model('Africa', 'Africa') + ]; + + dataSource = MapShapeSource.asset( + "assets/world_map.json", + shapeDataField: "continent", + dataCount: data.length, + primaryValueMapper: (int index) => data[index].continent, + dataLabelMapper: (int index) => data[index].code, + ); } -class _MapsExampleState extends State { - late List data; - late MapShapeSource dataSource; - - @override - void initState() { - super.initState(); - data = const [ - Model('Asia', 'Asia'), - Model('Europe', 'EU'), - Model('North America', 'NA'), - Model('South America', 'SA'), - Model('Australia', 'Australia'), - Model('Africa', 'Africa') - ]; - - dataSource = MapShapeSource.asset( - "assets/world_map.json", - shapeDataField: "continent", - dataCount: data.length, - primaryValueMapper: (int index) => data[index].continent, - dataLabelMapper: (int index) => data[index].code, - ); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: Center( - child: Padding( - padding: EdgeInsets.only(left: 15, right: 15), - child: SfMaps( - layers: [ - MapShapeLayer( - source: dataSource, - showDataLabels: true, - ), - ], - ), +@override +Widget build(BuildContext context) { + return Scaffold( + body: Center( + child: Padding( + padding: EdgeInsets.only(left: 15, right: 15), + child: SfMaps( + layers: [ + MapShapeLayer( + source: dataSource, + showDataLabels: true, + ), + ], ), ), - ); - } + ), + ); } class Model { @@ -139,66 +119,56 @@ class Model { You can trim or remove the data label when it is overflowed from the shape using the [`MapDataLabelSettings.overflowMode`](https://pub.dev/documentation/syncfusion_flutter_maps/latest/maps/MapDataLabelSettings/overflowMode.html) property. The possible values are [`visible`](https://pub.dev/documentation/syncfusion_flutter_maps/latest/maps/MapLabelOverflow.html#visible), [`ellipsis`](https://pub.dev/documentation/syncfusion_flutter_maps/latest/maps/MapLabelOverflow.html#ellipsis), and [`hide`](https://pub.dev/documentation/syncfusion_flutter_maps/latest/maps/MapLabelOverflow.html#hide). The default value of the [`overflowMode`](https://pub.dev/documentation/syncfusion_flutter_maps/latest/maps/MapDataLabelSettings/overflowMode.html) property is [`MapLabelOverflow.visible`](https://pub.dev/documentation/syncfusion_flutter_maps/latest/maps/MapLabelOverflow.html#visible). -By default, the data labels will render even if they overflow from the shape. +By default, the data labels will render even if they overflows from the shape. {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); +late List data; +late MapShapeSource dataSource; + +@override +void initState() { + data = [ + Model('New South Wales', 'New South Wales'), + Model('Queensland', 'Queensland'), + Model('Northern Territory', 'Northern sTerritory'), + Model('Victoria', 'Victoria'), + Model('South Australia', 'South Australia'), + Model('Western Australia', 'Western Australia'), + Model('Tasmania', 'Tasmania'), + ]; + + dataSource = MapShapeSource.asset( + 'assets/australia.json', + shapeDataField: 'STATE_NAME', + dataCount: data.length, + primaryValueMapper: (int index) => data[index].state, + dataLabelMapper: (int index) => data[index].dataLabel, + ); + super.initState(); } -class _MapsExampleState extends State { - late List data; - late MapShapeSource dataSource; - - @override - void initState() { - data = [ - Model('New South Wales', 'New South Wales'), - Model('Queensland', 'Queensland'), - Model('Northern Territory', 'Northern Territory'), - Model('Victoria', 'Victoria'), - Model('South Australia', 'South Australia'), - Model('Western Australia', 'Western Australia'), - Model('Tasmania', 'Tasmania'), - ]; - - dataSource = MapShapeSource.asset( - 'assets/australia.json', - shapeDataField: 'STATE_NAME', - dataCount: data.length, - primaryValueMapper: (int index) => data[index].state, - dataLabelMapper: (int index) => data[index].dataLabel, - ); - super.initState(); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: Center( - child: Padding( - padding: EdgeInsets.only(left: 15, right: 15), - child: SfMaps( - layers: [ - MapShapeLayer( - source: dataSource, - showDataLabels: true, - dataLabelSettings: MapDataLabelSettings( - overflowMode: MapLabelOverflow.ellipsis, - ), +@override +Widget build(BuildContext context) { + return Scaffold( + body: Center( + child: Padding( + padding: EdgeInsets.only(left: 15, right: 15), + child: SfMaps( + layers: [ + MapShapeLayer( + source: dataSource, + showDataLabels: true, + dataLabelSettings: MapDataLabelSettings( + overflowMode: MapLabelOverflow.ellipsis, ), - ], - ), + ), + ], ), ), - ); - } + ), + ); } class Model { @@ -220,66 +190,56 @@ You can customize the data labels using the [`MapDataLabelSettings.textStyle`](h {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); +late List data; +late MapShapeSource dataSource; + +@override +void initState() { + data = [ + Model('New South Wales', 'New South Wales'), + Model('Queensland', 'Queensland'), + Model('Northern Territory', 'Northern sTerritory'), + Model('Victoria', 'Victoria'), + Model('South Australia', 'South Australia'), + Model('Western Australia', 'Western Australia'), + Model('Tasmania', 'Tasmania'), + ]; + + dataSource = MapShapeSource.asset( + 'assets/australia.json', + shapeDataField: 'STATE_NAME', + dataCount: data.length, + primaryValueMapper: (int index) => data[index].state, + dataLabelMapper: (int index) => data[index].dataLabel, + ); + super.initState(); } -class _MapsExampleState extends State { - late List data; - late MapShapeSource dataSource; - - @override - void initState() { - data = [ - Model('New South Wales', 'New South Wales'), - Model('Queensland', 'Queensland'), - Model('Northern Territory', 'Northern Territory'), - Model('Victoria', 'Victoria'), - Model('South Australia', 'South Australia'), - Model('Western Australia', 'Western Australia'), - Model('Tasmania', 'Tasmania'), - ]; - - dataSource = MapShapeSource.asset( - 'assets/australia.json', - shapeDataField: 'STATE_NAME', - dataCount: data.length, - primaryValueMapper: (int index) => data[index].state, - dataLabelMapper: (int index) => data[index].dataLabel, - ); - super.initState(); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: Center( - child: Padding( - padding: EdgeInsets.only(left: 15, right: 15), - child: SfMaps( - layers: [ - MapShapeLayer( - source: dataSource, - showDataLabels: true, - dataLabelSettings: MapDataLabelSettings( - textStyle: const TextStyle( - color: Colors.red, - fontSize: 12, - fontWeight: FontWeight.bold, - fontStyle: FontStyle.italic, - fontFamily: 'Times'), - ), +@override +Widget build(BuildContext context) { + return Scaffold( + body: Center( + child: Padding( + padding: EdgeInsets.only(left: 15, right: 15), + child: SfMaps( + layers: [ + MapShapeLayer( + source: dataSource, + showDataLabels: true, + dataLabelSettings: MapDataLabelSettings( + textStyle: const TextStyle( + color: Colors.red, + fontSize: 12, + fontWeight: FontWeight.bold, + fontStyle: FontStyle.italic, + fontFamily: 'Times'), ), - ], - ), + ), + ], ), ), - ); - } + ), + ); } class Model { @@ -301,69 +261,58 @@ N> You must import the `theme.dart` library from the [`Core`](https://pub.dev/pa {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; -import 'package:syncfusion_flutter_core/theme.dart'; - -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); +late List data; +late MapShapeSource dataSource; + +@override +void initState() { + data = [ + Model('New South Wales', 'New South Wales'), + Model('Queensland', 'Queensland'), + Model('Northern Territory', 'Northern sTerritory'), + Model('Victoria', 'Victoria'), + Model('South Australia', 'South Australia'), + Model('Western Australia', 'Western Australia'), + Model('Tasmania', 'Tasmania'), + ]; + + dataSource = MapShapeSource.asset( + 'assets/australia.json', + shapeDataField: 'STATE_NAME', + dataCount: data.length, + primaryValueMapper: (int index) => data[index].state, + dataLabelMapper: (int index) => data[index].dataLabel, + ); + super.initState(); } -class _MapsExampleState extends State { - late List data; - late MapShapeSource dataSource; - - @override - void initState() { - data = [ - Model('New South Wales', 'New South Wales'), - Model('Queensland', 'Queensland'), - Model('Northern Territory', 'Northern Territory'), - Model('Victoria', 'Victoria'), - Model('South Australia', 'South Australia'), - Model('Western Australia', 'Western Australia'), - Model('Tasmania', 'Tasmania'), - ]; - - dataSource = MapShapeSource.asset( - 'assets/australia.json', - shapeDataField: 'STATE_NAME', - dataCount: data.length, - primaryValueMapper: (int index) => data[index].state, - dataLabelMapper: (int index) => data[index].dataLabel, - ); - super.initState(); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: Center( - child: Padding( - padding: EdgeInsets.only(left: 15, right: 15), - child: SfMapsTheme( - data: SfMapsThemeData( - dataLabelTextStyle: TextStyle( - color: Colors.red, - fontSize: 12, - fontWeight: FontWeight.bold, - fontStyle: FontStyle.italic, - fontFamily: 'Times'), - ), - child: SfMaps( - layers: [ - MapShapeLayer( - source: dataSource, - showDataLabels: true, - ), - ], - ), +@override +Widget build(BuildContext context) { + return Scaffold( + body: Center( + child: Padding( + padding: EdgeInsets.only(left: 15, right: 15), + child: SfMapsTheme( + data: SfMapsThemeData( + dataLabelTextStyle: TextStyle( + color: Colors.red, + fontSize: 12, + fontWeight: FontWeight.bold, + fontStyle: FontStyle.italic, + fontFamily: 'Times'), + ), + child: SfMaps( + layers: [ + MapShapeLayer( + source: dataSource, + showDataLabels: true, + ), + ], ), ), ), - ); - } + ), + ); } class Model { diff --git a/chart-sdk/flutter/maps/getting-started.md b/chart-sdk/flutter/maps/getting-started.md index 5b0248c90..027150318 100644 --- a/chart-sdk/flutter/maps/getting-started.md +++ b/chart-sdk/flutter/maps/getting-started.md @@ -1,17 +1,17 @@ --- layout: post -title: Getting Started with Flutter Maps | Syncfusion® -description: Learn how to get started with the Syncfusion® Flutter Maps (SfMaps). Explore map visualization, data binding, layers, and customization options. +title: Getting Started with Flutter Maps | Syncfusion +description: Step-by-step guide to set up Syncfusion Flutter Maps—add dependencies, import, create SfMaps, and configure key features. platform: chart-sdk control: SfMaps documentation: ug --- -# Getting Started with Flutter Maps (SfMaps) +# Flutter Maps Getting Started (SfMaps) This section explains the steps required to add the maps widget with shape layer and its elements such as data labels, tooltip, assignable colors based on region, and legends. It also explains about adding tile layer with OpenStreetMap. This section covers only basic features needed to know to get started with Syncfusion® maps. -To get started quickly with our Flutter Maps widget, you can check on this video. +To get start quickly with our Flutter Maps widget, you can check on this video. @@ -24,7 +24,6 @@ Create a simple project using the instructions given in the [Getting Started wit Add the Syncfusion® Flutter maps dependency to your pubspec.yaml file. -{% tabs %} {% highlight dart %} dependencies: @@ -32,21 +31,18 @@ dependencies: syncfusion_flutter_maps: ^xx.x.xx {% endhighlight %} -{% endtabs %} -N> Here **xx.x.xx** denotes the current version of [`Syncfusion Flutter Maps`](https://pub.dev/packages/syncfusion_flutter_maps/versions) package. It is recommended to use the latest available version from pub.dev. +N> Here **xx.x.xx** denotes the current version of [`Syncfusion Flutter Maps`](https://pub.dev/packages/syncfusion_flutter_maps/versions) package. **Get packages** Run the following command to get the required packages. -{% tabs %} {% highlight dart %} $ flutter pub get {% endhighlight %} -{% endtabs %} **Import package** @@ -67,37 +63,23 @@ After importing the package, initialize the maps widget as a child of any widget {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatelessWidget { - @override - Widget build(BuildContext context) { - return Scaffold( - body: Center( - child: SfMaps( - layers: [ - MapShapeLayer( - source: MapShapeSource.asset( - 'assets/australia.json', - shapeDataField: 'STATE_NAME', - ), - ), - ], - ), - ), - ); - } +@override +Widget build(BuildContext context) { + return Scaffold( + body: Center( + child: SfMaps(), + ), + ); } {% endhighlight %} {% endtabs %} -## Set GeoJSON data for shape layer from various sources +## Set GeoJSON data for shape layer from various source -The [`layers`](https://pub.dev/documentation/syncfusion_flutter_maps/latest/maps/SfMaps/layers.html) in [`SfMaps`](https://pub.dev/documentation/syncfusion_flutter_maps/latest/maps/SfMaps-class.html) contains collection of either [`MapShapeLayer`](https://pub.dev/documentation/syncfusion_flutter_maps/latest/maps/MapShapeLayer-class.html) or [`MapTileLayer`](https://pub.dev/documentation/syncfusion_flutter_maps/latest/maps/MapTileLayer-class.html). The actual geographical rendering is done in each [`MapShapeLayer`](https://pub.dev/documentation/syncfusion_flutter_maps/latest/maps/MapShapeLayer-class.html). The [`source`](https://pub.dev/documentation/syncfusion_flutter_maps/latest/maps/MapShapeLayer/source.html) property of the [`MapShapeLayer`](https://pub.dev/documentation/syncfusion_flutter_maps/latest/maps/MapShapeLayer-class.html) is of type [`MapShapeSource`](https://pub.dev/documentation/syncfusion_flutter_maps/latest/maps/MapShapeSource-class.html). The [`source`](https://pub.dev/documentation/syncfusion_flutter_maps/latest/maps/MapShapeLayer/source.html) can be set as the .json source from an asset bundle, from network or from Uint8List as bytes. Use the respective constructor depending on the source type. +The [`layers`](https://pub.dev/documentation/syncfusion_flutter_maps/latest/maps/SfMaps/layers.html) in [`SfMaps`](https://pub.dev/documentation/syncfusion_flutter_maps/latest/maps/SfMaps-class.html) contains collection of either [`MapShapeLayer`](https://pub.dev/documentation/syncfusion_flutter_maps/latest/maps/MapShapeLayer-class.html) or [`MapTileLayer`](https://pub.dev/documentation/syncfusion_flutter_maps/latest/maps/MapTileLayer-class.html). The actual geographical rendering is done in each [`MapShapeLayer`](https://pub.dev/documentation/syncfusion_flutter_maps/latest/maps/MapShapeLayer-class.html). The [`source`](https://pub.dev/documentation/syncfusion_flutter_maps/latest/maps/MapShapeLayer/source.html) property of the [`MapShapeLayer`](https://pub.dev/documentation/syncfusion_flutter_maps/latest/maps/MapShapeLayer-class.html) is of type [`MapShapeSource`](https://pub.dev/documentation/syncfusion_flutter_maps/latest/maps/MapShapeSource-class.html). The [`source`](https://pub.dev/documentation/syncfusion_flutter_maps/latest/maps/MapShapeLayer/source.html) can be set as the .json source from an asset bundle, from network or from Uint8List as bytes. Use the respective constructor depends on the type of the source. -The [`shapeDataField`](https://pub.dev/documentation/syncfusion_flutter_maps/latest/maps/MapShapeSource/shapeDataField.html) property of the [`MapShapeSource`](https://pub.dev/documentation/syncfusion_flutter_maps/latest/maps/MapShapeSource-class.html) is used to refer to the unique field name in the .json source to identify each shape. In [`Mapping the data source`](https://help.syncfusion.com/chart-sdk/flutter/maps/getting-started#mapping-the-data-source-for-shape-layer) section of this document, this [`shapeDataField`](https://pub.dev/documentation/syncfusion_flutter_maps/latest/maps/MapShapeSource/shapeDataField.html) will be used to map with the respective value returned in [`primaryValueMapper`](https://pub.dev/documentation/syncfusion_flutter_maps/latest/maps/MapShapeSource/primaryValueMapper.html) from the data source. +The [`shapeDataField`](https://pub.dev/documentation/syncfusion_flutter_maps/latest/maps/MapShapeSource/shapeDataField.html) property of the [`MapShapeSource`](https://pub.dev/documentation/syncfusion_flutter_maps/latest/maps/MapShapeSource-class.html) is used to refer the unique field name in the .json source to identify each shapes. In [`Mapping the data source`](https://help.syncfusion.com/flutter/maps/getting-started#mapping-the-data-source-for-shape-layer) section of this document, this [`shapeDataField`](https://pub.dev/documentation/syncfusion_flutter_maps/latest/maps/MapShapeSource/shapeDataField.html) will be used to map with the respective value returned in [`primaryValueMapper`](https://pub.dev/documentation/syncfusion_flutter_maps/latest/maps/MapShapeSource/primaryValueMapper.html) from the data source. I> The Mercator projection is the default projection in the maps. @@ -121,39 +103,29 @@ flutter: {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; +late MapShapeSource _dataSource; -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); +@override +void initState() { + _dataSource = MapShapeSource.asset( + 'assets/australia.json', + shapeDataField: 'STATE_NAME', + ); + super.initState(); } -class _MapsExampleState extends State { - late MapShapeSource _dataSource; - - @override - void initState() { - _dataSource = MapShapeSource.asset( - 'assets/australia.json', - shapeDataField: 'STATE_NAME', - ); - super.initState(); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: Padding( - padding: EdgeInsets.all(15), - child: SfMaps( - layers: [ - MapShapeLayer(source: _dataSource), - ], - ), +@override +Widget build(BuildContext context) { + return Scaffold( + body: Padding( + padding: EdgeInsets.all(15), + child: SfMaps( + layers: [ + MapShapeLayer(source: _dataSource), + ], ), - ); - } + ), + ); } {% endhighlight %} @@ -166,39 +138,29 @@ Load .json data from the network. {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; +late MapShapeSource _dataSource; -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); +@override +void initState() { + _dataSource = MapShapeSource.network( + 'http://www.json-generator.com/api/json/get/bVqXoJvfjC?indent=2', + shapeDataField: 'name', + ); + super.initState(); } -class _MapsExampleState extends State { - late MapShapeSource _dataSource; - - @override - void initState() { - _dataSource = MapShapeSource.network( - 'http://www.json-generator.com/api/json/get/bVqXoJvfjC?indent=2', - shapeDataField: 'name', - ); - super.initState(); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: Padding( - padding: EdgeInsets.all(15), - child: SfMaps( - layers: [ - MapShapeLayer(source: _dataSource), - ], - ), +@override +Widget build(BuildContext context) { + return Scaffold( + body: Padding( + padding: EdgeInsets.all(15), + child: SfMaps( + layers: [ + MapShapeLayer(source: _dataSource), + ], ), - ); - } + ), + ); } {% endhighlight %} @@ -211,41 +173,34 @@ Load .json data as bytes from `Uint8List`. {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:flutter/services.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; -import 'dart:typed_data'; - -class MapsExample extends StatelessWidget { - @override - Widget build(BuildContext context) { - return Scaffold( - body: FutureBuilder( - future: _fetchJsonData(), - builder: (BuildContext context, snapshot) { - if (snapshot.hasData) { - Uint8List bytesData = snapshot.data as Uint8List; - return SfMaps( - layers: [ - MapShapeLayer( - source: MapShapeSource.memory( - bytesData, - shapeDataField: 'STATE_NAME', - ), +@override +Widget build(BuildContext context) { + return Scaffold( + body: FutureBuilder( + future: _fetchJsonData(), + builder: (BuildContext context, snapshot) { + if (snapshot.hasData) { + Uint8List bytesData = snapshot.data as Uint8List; + return SfMaps( + layers: [ + MapShapeLayer( + source: MapShapeSource.memory( + bytesData, + shapeDataField: 'STATE_NAME', ), - ], - ); - } else { - return CircularProgressIndicator(); - } - }, - ), - ); - } + ), + ], + ); + } else { + return CircularProgressIndicator(); + } + }, + ), + ); +} - Future _fetchJsonData() async { - return (await rootBundle.load('assets/australia.json')).buffer.asUint8List(); - } +Future _fetchJsonData() async { + return (await rootBundle.load('assets/australia.json')).buffer.asUint8List(); } {% endhighlight %} @@ -260,51 +215,41 @@ By default, the value specified for the [`shapeDataField`](https://pub.dev/docum {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); +late List data; + +@override +void initState() { + data = [ + Model('New South Wales', + ' New\nSouth Wales'), + Model('Queensland', 'Queensland'), + Model('Northern Territory', 'Northern\nTerritory'), + Model('Victoria', 'Victoria'), + Model('South Australia', 'South Australia'), + Model('Western Australia', 'Western Australia'), + Model('Tasmania', 'Tasmania'), + Model('Australian Capital Territory', 'ACT') + ]; + + super.initState(); } -class _MapsExampleState extends State { - late List data; - - @override - void initState() { - data = [ - Model('New South Wales', - ' New\nSouth Wales'), - Model('Queensland', 'Queensland'), - Model('Northern Territory', 'Northern\nTerritory'), - Model('Victoria', 'Victoria'), - Model('South Australia', 'South Australia'), - Model('Western Australia', 'Western Australia'), - Model('Tasmania', 'Tasmania'), - Model('Australian Capital Territory', 'ACT') - ]; - - super.initState(); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: SfMaps( - layers: [ - MapShapeLayer( - source: MapShapeSource.asset( - 'assets/australia.json', - shapeDataField: 'STATE_NAME', - dataCount: data.length, - primaryValueMapper: (int index) => data[index].state, - ), +@override +Widget build(BuildContext context) { + return Scaffold( + body: SfMaps( + layers: [ + MapShapeLayer( + source: MapShapeSource.asset( + 'assets/australia.json', + shapeDataField: 'STATE_NAME', + dataCount: data.length, + primaryValueMapper: (int index) => data[index].state, ), - ], - ), - ); - } + ), + ], + ), + ); } class Model { @@ -337,85 +282,75 @@ Add the basic maps elements such as data labels, legend, and tooltip as shown in {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); +late List data; +late MapShapeSource dataSource; + +@override +void initState() { + data = [ + Model('New South Wales', Color.fromRGBO(255, 215, 0, 1.0), + ' New\nSouth Wales'), + Model('Queensland', Color.fromRGBO(72, 209, 204, 1.0), 'Queensland'), + Model('Northern Territory', Colors.red.withOpacity(0.85), + 'Northern\nTerritory'), + Model('Victoria', Color.fromRGBO(171, 56, 224, 0.75), 'Victoria'), + Model('South Australia', Color.fromRGBO(126, 247, 74, 0.75), + 'South Australia'), + Model('Western Australia', Color.fromRGBO(79, 60, 201, 0.7), + 'Western Australia'), + Model('Tasmania', Color.fromRGBO(99, 164, 230, 1), 'Tasmania'), + Model('Australian Capital Territory', Colors.teal, 'ACT') + ]; + + dataSource = MapShapeSource.asset( + 'assets/australia.json', + shapeDataField: 'STATE_NAME', + dataCount: data.length, + primaryValueMapper: (int index) => data[index].state, + dataLabelMapper: (int index) => data[index].stateCode, + shapeColorValueMapper: (int index) => data[index].color, + ); + super.initState(); } -class _MapsExampleState extends State { - late List data; - late MapShapeSource dataSource; - - @override - void initState() { - data = [ - Model('New South Wales', Color.fromRGBO(255, 215, 0, 1.0), - ' New\nSouth Wales'), - Model('Queensland', Color.fromRGBO(72, 209, 204, 1.0), 'Queensland'), - Model('Northern Territory', Colors.red.withOpacity(0.85), - 'Northern\nTerritory'), - Model('Victoria', Color.fromRGBO(171, 56, 224, 0.75), 'Victoria'), - Model('South Australia', Color.fromRGBO(126, 247, 74, 0.75), - 'South Australia'), - Model('Western Australia', Color.fromRGBO(79, 60, 201, 0.7), - 'Western Australia'), - Model('Tasmania', Color.fromRGBO(99, 164, 230, 1), 'Tasmania'), - Model('Australian Capital Territory', Colors.teal, 'ACT') - ]; - - dataSource = MapShapeSource.asset( - 'assets/australia.json', - shapeDataField: 'STATE_NAME', - dataCount: data.length, - primaryValueMapper: (int index) => data[index].state, - dataLabelMapper: (int index) => data[index].stateCode, - shapeColorValueMapper: (int index) => data[index].color, - ); - super.initState(); - } - - @override - Widget build(BuildContext context) { - final ThemeData themeData = Theme.of(context); - return Scaffold( - body: Center( - child: SizedBox( - height: MediaQuery.of(context).size.height * 0.55, - child: SfMaps( - layers: [ - MapShapeLayer( - source: dataSource, - showDataLabels: true, - legend: MapLegend(MapElement.shape), - shapeTooltipBuilder: (BuildContext context, int index) { - return Padding( - padding: const EdgeInsets.all(7), - child: Text(data[index].stateCode, - style: themeData.textTheme.labelSmall! - .copyWith(color: themeData.colorScheme.surface)), - ); - }, - tooltipSettings: MapTooltipSettings( - color: Colors.grey[700], - strokeColor: Colors.white, - strokeWidth: 2), - strokeColor: Colors.white, - strokeWidth: 0.5, - dataLabelSettings: MapDataLabelSettings( - textStyle: TextStyle( - color: Colors.black, - fontWeight: FontWeight.bold, - fontSize: themeData.textTheme.labelSmall!.fontSize)), - ), - ], - ), +@override +Widget build(BuildContext context) { + final ThemeData themeData = Theme.of(context); + return Scaffold( + body: Center( + child: SizedBox( + height: MediaQuery.of(context).size.height * 0.55, + child: SfMaps( + layers: [ + MapShapeLayer( + source: dataSource, + showDataLabels: true, + legend: MapLegend(MapElement.shape), + shapeTooltipBuilder: (BuildContext context, int index) { + return Padding( + padding: const EdgeInsets.all(7), + child: Text(data[index].stateCode, + style: themeData.textTheme.caption! + .copyWith(color: themeData.colorScheme.surface)), + ); + }, + tooltipSettings: MapTooltipSettings( + color: Colors.grey[700], + strokeColor: Colors.white, + strokeWidth: 2), + strokeColor: Colors.white, + strokeWidth: 0.5, + dataLabelSettings: MapDataLabelSettings( + textStyle: TextStyle( + color: Colors.black, + fontWeight: FontWeight.bold, + fontSize: themeData.textTheme.caption!.fontSize)), + ), + ], ), ), - ); - } + ), + ); } class Model { @@ -435,25 +370,20 @@ class Model { The [`MapTileLayer`](https://pub.dev/documentation/syncfusion_flutter_maps/latest/maps/MapTileLayer-class.html) needs to be added in the [`layers`](https://pub.dev/documentation/syncfusion_flutter_maps/latest/maps/SfMaps/layers.html) collection in [`SfMaps`](https://pub.dev/documentation/syncfusion_flutter_maps/latest/maps/SfMaps-class.html). The URL of the providers must be set in the [`MapTileLayer.urlTemplate`](https://pub.dev/documentation/syncfusion_flutter_maps/latest/maps/MapTileLayer/urlTemplate.html) property. -Refer to the [tile layer](https://help.syncfusion.com/chart-sdk/flutter/maps/tile-layer#setting-url-template) section for more information. +Refer to the [tile layer](https://help.syncfusion.com/flutter/maps/tile-layer#setting-url-template) section for more information. {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatelessWidget { - @override - Widget build(BuildContext context) { - return SfMaps( - layers: [ - MapTileLayer( - urlTemplate: 'https://tile.openstreetmap.org/{z}/{x}/{y}.png', - ), - ], - ); - } +@override +Widget build(BuildContext context) { + return SfMaps( + layers: [ + MapTileLayer( + urlTemplate: 'https://tile.openstreetmap.org/{z}/{x}/{y}.png', + ), + ], + ); } {% endhighlight %} diff --git a/chart-sdk/flutter/maps/how-to/custom-widget-on-flutterflow.md b/chart-sdk/flutter/maps/how-to/custom-widget-on-flutterflow.md index 6b043c8a7..68db530e2 100644 --- a/chart-sdk/flutter/maps/how-to/custom-widget-on-flutterflow.md +++ b/chart-sdk/flutter/maps/how-to/custom-widget-on-flutterflow.md @@ -1,13 +1,13 @@ --- layout: post -title: How to Add Maps in FlutterFlow | Syncfusion® -description: Learn how to add and use Syncfusion® Flutter Maps (SfMaps) in FlutterFlow, including setup, integration, data visualization, and configuration. +title: Maps Widget in FlutterFlow | Syncfusion +description: You can learn here all about adding Syncfusion Flutter Maps ( SfMaps Widget ) widget in FlutterFlow. platform: chart-sdk control: SfMaps documentation: ug --- -# How to Add Maps in FlutterFlow (SfMaps) +# How to add Syncfusion® Maps widget in FlutterFlow? ## Overview diff --git a/chart-sdk/flutter/maps/legend.md b/chart-sdk/flutter/maps/legend.md index ab5ae7666..14c78d43b 100644 --- a/chart-sdk/flutter/maps/legend.md +++ b/chart-sdk/flutter/maps/legend.md @@ -1,7 +1,7 @@ --- layout: post -title: Legend in Flutter Maps | Syncfusion® -description: Learn about legend support in Syncfusion® Flutter Maps (SfMaps), including legend customization, icons, text, positioning, and styling options. +title: Legend in Flutter Maps widget | Syncfusion +description: Learn here all about the Legend feature of Syncfusion Flutter Maps (SfMaps) widget to customize its appearance including text, icon and more. platform: chart-sdk control: SfMaps documentation: ug @@ -18,48 +18,38 @@ You can show shape legend by setting the [`MapShapeLayer.legend`](https://pub.de {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; +late MapShapeSource _shapeSource; -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); -} - -class _MapsExampleState extends State { - late MapShapeSource _shapeSource; - - @override - void initState() { - super.initState(); +@override +void initState() { + super.initState(); - _shapeSource = MapShapeSource.asset( - "assets/world_map.json", - shapeDataField: "continent", - ); - } + _shapeSource = MapShapeSource.asset( + "assets/world_map.json", + shapeDataField: "continent", + ); +} - @override - Widget build(BuildContext context) { - return Scaffold( - body: Center( - child: SizedBox( - height: 350, - child: Padding( - padding: const EdgeInsets.only(left: 15, right: 15), - child: SfMaps( - layers: [ - MapShapeLayer( - source: _shapeSource, - legend: MapLegend(MapElement.shape), - ), - ], - ), +@override +Widget build(BuildContext context) { + return Scaffold( + body: Center( + child: SizedBox( + height: 350, + child: Padding( + padding: const EdgeInsets.only(left: 15, right: 15), + child: SfMaps( + layers: [ + MapShapeLayer( + source: _shapeSource, + legend: MapLegend(MapElement.shape), + ), + ], ), ), ), - ); - } + ), + ); } {% endhighlight %} @@ -77,62 +67,52 @@ You can show bubble legend by setting the [`MapShapeLayer.legend`](https://pub.d {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); -} - -class _MapsExampleState extends State { - late List _data; - late MapShapeSource _shapeSource; - - @override - void initState() { - super.initState(); - _data = [ - Model('Asia', 150), - Model('Africa', 45), - Model('Europe', 34), - Model('North America', 28), - Model('South America', 25), - Model('Australia', 5), - ]; - - _shapeSource = MapShapeSource.asset( - "assets/world_map.json", - shapeDataField: "continent", - dataCount: _data.length, - primaryValueMapper: (int index) => _data[index].continent, - bubbleSizeMapper: (int index) => _data[index].populationDensityPerSqKm, - ); - } +late List _data; +late MapShapeSource _shapeSource; + +@override +void initState() { + super.initState(); + _data = [ + Model('Asia', 150), + Model('Africa', 45), + Model('Europe', 34), + Model('North America', 28), + Model('South America', 25), + Model('Australia', 5), + ]; - @override - Widget build(BuildContext context) { - return Scaffold( - body: Center( - child: Container( - padding: const EdgeInsets.only(left: 10, right: 15, top: 30), - height: 350, - child: SfMaps( - layers: [ - MapShapeLayer( - source: _shapeSource, - legend: MapLegend(MapElement.bubble), - bubbleSettings: const MapBubbleSettings( - maxRadius: 45, - minRadius: 15, - ), - ) - ], - ), + _shapeSource = MapShapeSource.asset( + "assets/world_map.json", + shapeDataField: "continent", + dataCount: _data.length, + primaryValueMapper: (int index) => _data[index].continent, + bubbleSizeMapper: (int index) => _data[index].populationDensityPerSqKm, + ); +} + +@override +Widget build(BuildContext context) { + return Scaffold( + body: Center( + child: Container( + padding: const EdgeInsets.only(left: 10, right: 15, top: 30), + height: 350, + child: SfMaps( + layers: [ + MapShapeLayer( + source: _shapeSource, + legend: MapLegend(MapElement.bubble), + bubbleSettings: const MapBubbleSettings( + maxRadius: 45, + minRadius: 15, + ), + ) + ], ), ), - ); - } + ), + ); } class Model { @@ -157,48 +137,38 @@ You can show bar shape legend by setting the [`MapShapeLayer.legend`](https://pu {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); -} - -class _MapsExampleState extends State { - late MapShapeSource _shapeSource; +late MapShapeSource _shapeSource; - @override - void initState() { - super.initState(); +@override +void initState() { + super.initState(); - _shapeSource = MapShapeSource.asset( - "assets/world_map.json", - shapeDataField: "continent", - ); - } + _shapeSource = MapShapeSource.asset( + "assets/world_map.json", + shapeDataField: "continent", + ); +} - @override - Widget build(BuildContext context) { - return Scaffold( - body: Center( - child: Container( - height: 350, - child: Padding( - padding: const EdgeInsets.only(left: 15, right: 15), - child: SfMaps( - layers: [ - MapShapeLayer( - source: _shapeSource, - legend: MapLegend.bar(MapElement.shape), - ), - ], - ), +@override +Widget build(BuildContext context) { + return Scaffold( + body: Center( + child: Container( + height: 350, + child: Padding( + padding: const EdgeInsets.only(left: 15, right: 15), + child: SfMaps( + layers: [ + MapShapeLayer( + source: _shapeSource, + legend: MapLegend.bar(MapElement.shape), + ), + ], ), ), ), - ); - } + ), + ); } {% endhighlight %} @@ -216,62 +186,52 @@ You can show bar bubble legend by setting the [`MapShapeLayer.legend`](https://p {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); -} - -class _MapsExampleState extends State { - late List _data; - late MapShapeSource _shapeSource; - - @override - void initState() { - super.initState(); - _data = [ - Model('Asia', 150), - Model('Africa', 45), - Model('Europe', 34), - Model('North America', 28), - Model('South America', 25), - Model('Australia', 5), - ]; - - _shapeSource = MapShapeSource.asset( - "assets/world_map.json", - shapeDataField: "continent", - dataCount: _data.length, - primaryValueMapper: (int index) => _data[index].continent, - bubbleSizeMapper: (int index) => _data[index].populationDensityPerSqKm, - ); - } +late List _data; +late MapShapeSource _shapeSource; + +@override +void initState() { + super.initState(); + _data = [ + Model('Asia', 150), + Model('Africa', 45), + Model('Europe', 34), + Model('North America', 28), + Model('South America', 25), + Model('Australia', 5), + ]; - @override - Widget build(BuildContext context) { - return Scaffold( - body: Center( - child: Container( - padding: const EdgeInsets.only(left: 10, right: 15, top: 30), - height: 350, - child: SfMaps( - layers: [ - MapShapeLayer( - source: _shapeSource, - legend: MapLegend.bar(MapElement.bubble), - bubbleSettings: const MapBubbleSettings( - maxRadius: 45, - minRadius: 15, - ), - ) - ], - ), + _shapeSource = MapShapeSource.asset( + "assets/world_map.json", + shapeDataField: "continent", + dataCount: _data.length, + primaryValueMapper: (int index) => _data[index].continent, + bubbleSizeMapper: (int index) => _data[index].populationDensityPerSqKm, + ); +} + +@override +Widget build(BuildContext context) { + return Scaffold( + body: Center( + child: Container( + padding: const EdgeInsets.only(left: 10, right: 15, top: 30), + height: 350, + child: SfMaps( + layers: [ + MapShapeLayer( + source: _shapeSource, + legend: MapLegend.bar(MapElement.bubble), + bubbleSettings: const MapBubbleSettings( + maxRadius: 45, + minRadius: 15, + ), + ) + ], ), ), - ); - } + ), + ); } class Model { @@ -298,60 +258,50 @@ N> It is applicable for both shape and bar legend. {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); +late MapShapeSource _dataSource; +late List _data; + +@override +void initState() { + _data = const [ + DataModel('Asia', 280), + DataModel('Europe', 120), + DataModel('Africa', 40), + DataModel('North America', 90), + DataModel('South America', 190), + DataModel('Australia', 210), + ]; + + _dataSource = MapShapeSource.asset( + 'assets/world_map.json', + shapeDataField: 'continent', + dataCount: _data.length, + primaryValueMapper: (int index) => _data[index].continent, + ); + super.initState(); } -class _MapsExampleState extends State { - late MapShapeSource _dataSource; - late List _data; - - @override - void initState() { - _data = const [ - DataModel('Asia', 280), - DataModel('Europe', 120), - DataModel('Africa', 40), - DataModel('North America', 90), - DataModel('South America', 190), - DataModel('Australia', 210), - ]; - - _dataSource = MapShapeSource.asset( - 'assets/world_map.json', - shapeDataField: 'continent', - dataCount: _data.length, - primaryValueMapper: (int index) => _data[index].continent, - ); - super.initState(); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: Column( - children: [ - SfMaps( - layers: [ - MapShapeLayer( - source: _dataSource, - legend: MapLegend( - MapElement.shape, - title: Text('Continents', - style: - TextStyle(fontSize: 14, fontWeight: FontWeight.bold)), - ), +@override +Widget build(BuildContext context) { + return Scaffold( + body: Column( + children: [ + SfMaps( + layers: [ + MapShapeLayer( + source: _dataSource, + legend: MapLegend( + MapElement.shape, + title: Text('Continents', + style: + TextStyle(fontSize: 14, fontWeight: FontWeight.bold)), ), - ], - ), - ], - ), - ); - } + ), + ], + ), + ], + ), + ); } class DataModel { @@ -373,65 +323,55 @@ The icons color of the legend is applied based on the colors returned from the [ {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; +late List _data; +late MapShapeSource _shapeSource; -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); -} - -class _MapsExampleState extends State { - late List _data; - late MapShapeSource _shapeSource; - - @override - void initState() { - super.initState(); - _data = [ - Model('India', 280), - Model('United States of America', 190), - Model('Kazakhstan', 37), - Model('Russia', 310) - ]; +@override +void initState() { + super.initState(); + _data = [ + Model('India', 280), + Model('United States of America', 190), + Model('Kazakhstan', 37), + Model('Russia', 310) + ]; - _shapeSource = MapShapeSource.asset("assets/world_map.json", - shapeDataField: "name", - dataCount: _data.length, - primaryValueMapper: (int index) => _data[index].country, - shapeColorValueMapper: (int index) => _data[index].density, - shapeColorMappers: [ - MapColorMapper(from: 0, to: 100, color: Colors.red, text: '< 100/km'), - MapColorMapper( - from: 101, to: 200, color: Colors.green, text: '100 - 200/km'), - MapColorMapper( - from: 201, to: 300, color: Colors.blue, text: '200 - 300/km'), - MapColorMapper( - from: 301, to: 400, color: Colors.orange, text: '300 - 400/km'), - ]); - } + _shapeSource = MapShapeSource.asset("assets/world_map.json", + shapeDataField: "name", + dataCount: _data.length, + primaryValueMapper: (int index) => _data[index].country, + shapeColorValueMapper: (int index) => _data[index].density, + shapeColorMappers: [ + MapColorMapper(from: 0, to: 100, color: Colors.red, text: '< 100/km'), + MapColorMapper( + from: 101, to: 200, color: Colors.green, text: '100 - 200/km'), + MapColorMapper( + from: 201, to: 300, color: Colors.blue, text: '200 - 300/km'), + MapColorMapper( + from: 301, to: 400, color: Colors.orange, text: '300 - 400/km'), + ]); +} - @override - Widget build(BuildContext context) { - return Scaffold( - body: Center( - child: Container( - height: 350, - child: Padding( - padding: const EdgeInsets.only(left: 15, right: 15), - child: SfMaps( - layers: [ - MapShapeLayer( - source: _shapeSource, - legend: MapLegend(MapElement.shape), - ) - ], - ), +@override +Widget build(BuildContext context) { + return Scaffold( + body: Center( + child: Container( + height: 350, + child: Padding( + padding: const EdgeInsets.only(left: 15, right: 15), + child: SfMaps( + layers: [ + MapShapeLayer( + source: _shapeSource, + legend: MapLegend(MapElement.shape), + ) + ], ), ), ), - ); - } + ), + ); } class Model { @@ -453,71 +393,61 @@ You can customize the first segment label of the legend using the [`MapColorMapp {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); -} - -class _MapsExampleState extends State { - late List _data; - late MapShapeSource _shapeSource; - - @override - void initState() { - _data = [ - DataModel('India', 280), - DataModel('United States of America', 190), - DataModel('Kazakhstan', 37), - DataModel('Italy', 201), - DataModel('Japan', 335), - DataModel('Cuba', 103), - DataModel('China', 148) - ]; - - _shapeSource = MapShapeSource.asset( - "assets/world_map.json", - shapeDataField: "name", - dataCount: _data.length, - primaryValueMapper: (int index) => _data[index].country, - shapeColorValueMapper: (int index) => _data[index].density, - shapeColorMappers: [ - MapColorMapper( - from: 0, to: 100, color: Colors.red, text: '{0/km},{100/km}'), - MapColorMapper(from: 101, to: 200, color: Colors.green, text: '200/km'), - MapColorMapper(from: 201, to: 300, color: Colors.blue, text: '300/km'), - MapColorMapper(from: 301, to: 400, color: Colors.orange, text: '400/km'), - MapColorMapper(from: 401, to: 500, color: Colors.teal, text: '500/km'), - ], - ); - super.initState(); - } +late List _data; +late MapShapeSource _shapeSource; + +@override +void initState() { + _data = [ + DataModel('India', 280), + DataModel('United States of America', 190), + DataModel('Kazakhstan', 37), + DataModel('Italy', 201), + DataModel('Japan', 335), + DataModel('Cuba', 103), + DataModel('China', 148) + ]; - @override - Widget build(BuildContext context) { - return Scaffold( - body: Center( - child: Container( - height: 350, - child: Padding( - padding: const EdgeInsets.only(left: 15, right: 15), - child: SfMaps( - layers: [ - MapShapeLayer( - source: _shapeSource, - legend: MapLegend.bar( - MapElement.shape, - ), - ) - ], - ), + _shapeSource = MapShapeSource.asset( + "assets/world_map.json", + shapeDataField: "name", + dataCount: _data.length, + primaryValueMapper: (int index) => _data[index].country, + shapeColorValueMapper: (int index) => _data[index].density, + shapeColorMappers: [ + MapColorMapper( + from: 0, to: 100, color: Colors.red, text: '{0/km},{100/km}'), + MapColorMapper(from: 101, to: 200, color: Colors.green, text: '200/km'), + MapColorMapper(from: 201, to: 300, color: Colors.blue, text: '300/km'), + MapColorMapper(from: 301, to: 400, color: Colors.orange, text: '400/km'), + MapColorMapper(from: 401, to: 500, color: Colors.teal, text: '500/km'), + ], + ); + super.initState(); +} + +@override +Widget build(BuildContext context) { + return Scaffold( + body: Center( + child: Container( + height: 350, + child: Padding( + padding: const EdgeInsets.only(left: 15, right: 15), + child: SfMaps( + layers: [ + MapShapeLayer( + source: _shapeSource, + legend: MapLegend.bar( + MapElement.shape, + ), + ) + ], ), ), ), - ); - } + ), + ); } class DataModel { @@ -539,79 +469,69 @@ You can position the legend items in different directions using the [`MapLegend. {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; +late List _data; +late MapShapeSource _shapeSource; + +@override +void initState() { + super.initState(); + _data = [ + Model('India', 280), + Model('United States of America', 190), + Model('Kazakhstan', 37), + Model('Italy', 201), + Model('Korea', 512), + Model('Japan', 335), + Model('Cuba', 103), + Model('China', 148) + ]; -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); + _shapeSource = MapShapeSource.asset("assets/world_map.json", + shapeDataField: "name", + dataCount: _data.length, + primaryValueMapper: (int index) => _data[index].country, + shapeColorValueMapper: (int index) => _data[index].density, + shapeColorMappers: [ + MapColorMapper(from: 0, to: 100, color: Colors.red, text: '< 100/km'), + MapColorMapper( + from: 101, to: 200, color: Colors.green, text: '100 - 200/km'), + MapColorMapper( + from: 201, to: 300, color: Colors.blue, text: '200 - 300/km'), + MapColorMapper( + from: 301, to: 400, color: Colors.orange, text: '300 - 400/km'), + MapColorMapper( + from: 401, to: 500, color: Colors.teal, text: '400 - 500/km'), + MapColorMapper( + from: 501, + to: 600, + color: Colors.deepPurple, + text: '500 - 600/km'), + ]); } -class _MapsExampleState extends State { - late List _data; - late MapShapeSource _shapeSource; - - @override - void initState() { - super.initState(); - _data = [ - Model('India', 280), - Model('United States of America', 190), - Model('Kazakhstan', 37), - Model('Italy', 201), - Model('Korea', 512), - Model('Japan', 335), - Model('Cuba', 103), - Model('China', 148) - ]; - - _shapeSource = MapShapeSource.asset("assets/world_map.json", - shapeDataField: "name", - dataCount: _data.length, - primaryValueMapper: (int index) => _data[index].country, - shapeColorValueMapper: (int index) => _data[index].density, - shapeColorMappers: [ - MapColorMapper(from: 0, to: 100, color: Colors.red, text: '< 100/km'), - MapColorMapper( - from: 101, to: 200, color: Colors.green, text: '100 - 200/km'), - MapColorMapper( - from: 201, to: 300, color: Colors.blue, text: '200 - 300/km'), - MapColorMapper( - from: 301, to: 400, color: Colors.orange, text: '300 - 400/km'), - MapColorMapper( - from: 401, to: 500, color: Colors.teal, text: '400 - 500/km'), - MapColorMapper( - from: 501, - to: 600, - color: Colors.deepPurple, - text: '500 - 600/km'), - ]); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: Center( - child: Container( - height: 350, - child: Padding( - padding: const EdgeInsets.only(left: 15, right: 15), - child: SfMaps( - layers: [ - MapShapeLayer( - source: _shapeSource, - legend: MapLegend( - MapElement.shape, - position: MapLegendPosition.right, - ), - ) - ], - ), +@override +Widget build(BuildContext context) { + return Scaffold( + body: Center( + child: Container( + height: 350, + child: Padding( + padding: const EdgeInsets.only(left: 15, right: 15), + child: SfMaps( + layers: [ + MapShapeLayer( + source: _shapeSource, + legend: MapLegend( + MapElement.shape, + position: MapLegendPosition.right, + ), + ) + ], ), ), ), - ); - } + ), + ); } class Model { @@ -638,78 +558,68 @@ If the property [`MapLegend.offset`](https://pub.dev/documentation/syncfusion_fl {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); -} - -class _MapsExampleState extends State { - late List _data; - late MapShapeSource _shapeSource; - - @override - void initState() { - super.initState(); - _data = [ - Model('India', 280), - Model('United States of America', 190), - Model('Kazakhstan', 37), - Model('Italy', 201), - Model('Korea', 512), - Model('Japan', 335), - Model('Cuba', 103), - Model('China', 148) - ]; - - _shapeSource = MapShapeSource.asset("assets/world_map.json", - shapeDataField: "name", - dataCount: _data.length, - primaryValueMapper: (int index) => _data[index].country, - shapeColorValueMapper: (int index) => _data[index].density, - shapeColorMappers: [ - MapColorMapper(from: 0, to: 100, color: Colors.red, text: '< 100/km'), - MapColorMapper( - from: 101, to: 200, color: Colors.green, text: '100 - 200/km'), - MapColorMapper( - from: 201, to: 300, color: Colors.blue, text: '200 - 300/km'), - MapColorMapper( - from: 301, to: 400, color: Colors.orange, text: '300 - 400/km'), - MapColorMapper( - from: 401, to: 500, color: Colors.teal, text: '400 - 500/km'), - MapColorMapper( - from: 501, - to: 600, - color: Colors.deepPurple, - text: '500 - 600/km'), - ]); - } +late List _data; +late MapShapeSource _shapeSource; - @override - Widget build(BuildContext context) { - return Scaffold( - body: Center( - child: Container( - height: 350, - child: Padding( - padding: const EdgeInsets.only(left: 15, right: 15), - child: SfMaps( - layers: [ - MapShapeLayer( - source: _shapeSource, - legend: MapLegend( - MapElement.shape, - offset: Offset(60, 275)), - ) - ], - ), +@override +void initState() { + super.initState(); + _data = [ + Model('India', 280), + Model('United States of America', 190), + Model('Kazakhstan', 37), + Model('Italy', 201), + Model('Korea', 512), + Model('Japan', 335), + Model('Cuba', 103), + Model('China', 148) + ]; + + _shapeSource = MapShapeSource.asset("assets/world_map.json", + shapeDataField: "name", + dataCount: _data.length, + primaryValueMapper: (int index) => _data[index].country, + shapeColorValueMapper: (int index) => _data[index].density, + shapeColorMappers: [ + MapColorMapper(from: 0, to: 100, color: Colors.red, text: '< 100/km'), + MapColorMapper( + from: 101, to: 200, color: Colors.green, text: '100 - 200/km'), + MapColorMapper( + from: 201, to: 300, color: Colors.blue, text: '200 - 300/km'), + MapColorMapper( + from: 301, to: 400, color: Colors.orange, text: '300 - 400/km'), + MapColorMapper( + from: 401, to: 500, color: Colors.teal, text: '400 - 500/km'), + MapColorMapper( + from: 501, + to: 600, + color: Colors.deepPurple, + text: '500 - 600/km'), + ]); +} + +@override +Widget build(BuildContext context) { + return Scaffold( + body: Center( + child: Container( + height: 350, + child: Padding( + padding: const EdgeInsets.only(left: 15, right: 15), + child: SfMaps( + layers: [ + MapShapeLayer( + source: _shapeSource, + legend: MapLegend( + MapElement.shape, + offset: Offset(60, 275)), + ) + ], ), ), ), - ); - } + ), + ); } class Model { @@ -737,80 +647,70 @@ If the legend position is `top` or `bottom`, then the default scroll direction i {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); -} - -class _MapsExampleState extends State { - late List _data; - late MapShapeSource _shapeSource; - - @override - void initState() { - super.initState(); - _data = [ - Model('India', 280), - Model('United States of America', 190), - Model('Kazakhstan', 37), - Model('Italy', 201), - Model('Korea', 512), - Model('Japan', 335), - Model('Cuba', 103), - Model('China', 148) - ]; - - _shapeSource = MapShapeSource.asset("assets/world_map.json", - shapeDataField: "name", - dataCount: _data.length, - primaryValueMapper: (int index) => _data[index].country, - shapeColorValueMapper: (int index) => _data[index].density, - shapeColorMappers: [ - MapColorMapper(from: 0, to: 100, color: Colors.red, text: '< 100/km'), - MapColorMapper( - from: 101, to: 200, color: Colors.green, text: '100 - 200/km'), - MapColorMapper( - from: 201, to: 300, color: Colors.blue, text: '200 - 300/km'), - MapColorMapper( - from: 301, to: 400, color: Colors.orange, text: '300 - 400/km'), - MapColorMapper( - from: 401, to: 500, color: Colors.teal, text: '400 - 500/km'), - MapColorMapper( - from: 501, - to: 600, - color: Colors.deepPurple, - text: '500 - 600/km'), - ]); - } +late List _data; +late MapShapeSource _shapeSource; - @override - Widget build(BuildContext context) { - return Scaffold( - body: Center( - child: Container( - height: 350, - child: Padding( - padding: const EdgeInsets.only(left: 15, right: 15), - child: SfMaps( - layers: [ - MapShapeLayer( - source: _shapeSource, - legend: MapLegend( - MapElement.shape, - position: MapLegendPosition.bottom, - overflowMode: MapLegendOverflowMode.scroll, - ), - ) - ], - ), +@override +void initState() { + super.initState(); + _data = [ + Model('India', 280), + Model('United States of America', 190), + Model('Kazakhstan', 37), + Model('Italy', 201), + Model('Korea', 512), + Model('Japan', 335), + Model('Cuba', 103), + Model('China', 148) + ]; + + _shapeSource = MapShapeSource.asset("assets/world_map.json", + shapeDataField: "name", + dataCount: _data.length, + primaryValueMapper: (int index) => _data[index].country, + shapeColorValueMapper: (int index) => _data[index].density, + shapeColorMappers: [ + MapColorMapper(from: 0, to: 100, color: Colors.red, text: '< 100/km'), + MapColorMapper( + from: 101, to: 200, color: Colors.green, text: '100 - 200/km'), + MapColorMapper( + from: 201, to: 300, color: Colors.blue, text: '200 - 300/km'), + MapColorMapper( + from: 301, to: 400, color: Colors.orange, text: '300 - 400/km'), + MapColorMapper( + from: 401, to: 500, color: Colors.teal, text: '400 - 500/km'), + MapColorMapper( + from: 501, + to: 600, + color: Colors.deepPurple, + text: '500 - 600/km'), + ]); +} + +@override +Widget build(BuildContext context) { + return Scaffold( + body: Center( + child: Container( + height: 350, + child: Padding( + padding: const EdgeInsets.only(left: 15, right: 15), + child: SfMaps( + layers: [ + MapShapeLayer( + source: _shapeSource, + legend: MapLegend( + MapElement.shape, + position: MapLegendPosition.bottom, + overflowMode: MapLegendOverflowMode.scroll, + ), + ) + ], ), ), ), - ); - } + ), + ); } class Model { @@ -836,81 +736,71 @@ If the legend position is `top` or `bottom`, then the default scroll direction i {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); -} - -class _MapsExampleState extends State { - late List _data; - late MapShapeSource _shapeSource; - - @override - void initState() { - super.initState(); - _data = [ - Model('India', 280), - Model('United States of America', 190), - Model('Kazakhstan', 37), - Model('Italy', 201), - Model('Korea', 512), - Model('Japan', 335), - Model('Cuba', 103), - Model('China', 148) - ]; - - _shapeSource = MapShapeSource.asset("assets/world_map.json", - shapeDataField: "name", - dataCount: _data.length, - primaryValueMapper: (int index) => _data[index].country, - shapeColorValueMapper: (int index) => _data[index].density, - shapeColorMappers: [ - MapColorMapper(from: 0, to: 100, color: Colors.red, text: '< 100/km'), - MapColorMapper( - from: 101, to: 200, color: Colors.green, text: '100 - 200/km'), - MapColorMapper( - from: 201, to: 300, color: Colors.blue, text: '200 - 300/km'), - MapColorMapper( - from: 301, to: 400, color: Colors.orange, text: '300 - 400/km'), - MapColorMapper( - from: 401, to: 500, color: Colors.teal, text: '400 - 500/km'), - MapColorMapper( - from: 501, - to: 600, - color: Colors.deepPurple, - text: '500 - 600/km'), - ]); - } +late List _data; +late MapShapeSource _shapeSource; - @override - Widget build(BuildContext context) { - return Scaffold( - body: Center( - child: Container( - height: 350, - child: Padding( - padding: const EdgeInsets.only(left: 15, right: 15), - child: SfMaps( - layers: [ - MapShapeLayer( - source: _shapeSource, - legend: MapLegend.bar( - MapElement.shape, - position: MapLegendPosition.bottom, - edgeLabelsPlacement: MapLegendEdgeLabelsPlacement.center, - overflowMode: MapLegendOverflowMode.scroll, - ), - ) - ], - ), +@override +void initState() { + super.initState(); + _data = [ + Model('India', 280), + Model('United States of America', 190), + Model('Kazakhstan', 37), + Model('Italy', 201), + Model('Korea', 512), + Model('Japan', 335), + Model('Cuba', 103), + Model('China', 148) + ]; + + _shapeSource = MapShapeSource.asset("assets/world_map.json", + shapeDataField: "name", + dataCount: _data.length, + primaryValueMapper: (int index) => _data[index].country, + shapeColorValueMapper: (int index) => _data[index].density, + shapeColorMappers: [ + MapColorMapper(from: 0, to: 100, color: Colors.red, text: '< 100/km'), + MapColorMapper( + from: 101, to: 200, color: Colors.green, text: '100 - 200/km'), + MapColorMapper( + from: 201, to: 300, color: Colors.blue, text: '200 - 300/km'), + MapColorMapper( + from: 301, to: 400, color: Colors.orange, text: '300 - 400/km'), + MapColorMapper( + from: 401, to: 500, color: Colors.teal, text: '400 - 500/km'), + MapColorMapper( + from: 501, + to: 600, + color: Colors.deepPurple, + text: '500 - 600/km'), + ]); +} + +@override +Widget build(BuildContext context) { + return Scaffold( + body: Center( + child: Container( + height: 350, + child: Padding( + padding: const EdgeInsets.only(left: 15, right: 15), + child: SfMaps( + layers: [ + MapShapeLayer( + source: _shapeSource, + legend: MapLegend.bar( + MapElement.shape, + position: MapLegendPosition.bottom, + edgeLabelsPlacement: MapLegendEdgeLabelsPlacement.center, + overflowMode: MapLegendOverflowMode.scroll, + ), + ) + ], ), ), ), - ); - } + ), + ); } class Model { @@ -942,82 +832,72 @@ You can enable toggling the legend items and the corresponding shapes or bubbles {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); -} - -class _MapsExampleState extends State { - late List _data; - late MapShapeSource _shapeSource; - - @override - void initState() { - super.initState(); - _data = [ - Model('India', 280), - Model('United States of America', 190), - Model('Kazakhstan', 37), - Model('Italy', 201), - Model('Korea', 512), - Model('Japan', 335), - Model('Cuba', 103), - Model('China', 148) - ]; - - _shapeSource = MapShapeSource.asset("assets/world_map.json", - shapeDataField: "name", - dataCount: _data.length, - primaryValueMapper: (int index) => _data[index].country, - shapeColorValueMapper: (int index) => _data[index].density, - shapeColorMappers: [ - MapColorMapper(from: 0, to: 100, color: Colors.red, text: '< 100/km'), - MapColorMapper( - from: 101, to: 200, color: Colors.green, text: '100 - 200/km'), - MapColorMapper( - from: 201, to: 300, color: Colors.blue, text: '200 - 300/km'), - MapColorMapper( - from: 301, to: 400, color: Colors.orange, text: '300 - 400/km'), - MapColorMapper( - from: 401, to: 500, color: Colors.teal, text: '400 - 500/km'), - MapColorMapper( - from: 501, - to: 600, - color: Colors.deepPurple, - text: '500 - 600/km'), +late List _data; +late MapShapeSource _shapeSource; + +@override +void initState() { + super.initState(); + _data = [ + Model('India', 280), + Model('United States of America', 190), + Model('Kazakhstan', 37), + Model('Italy', 201), + Model('Korea', 512), + Model('Japan', 335), + Model('Cuba', 103), + Model('China', 148) + ]; + + _shapeSource = MapShapeSource.asset("assets/world_map.json", + shapeDataField: "name", + dataCount: _data.length, + primaryValueMapper: (int index) => _data[index].country, + shapeColorValueMapper: (int index) => _data[index].density, + shapeColorMappers: [ + MapColorMapper(from: 0, to: 100, color: Colors.red, text: '< 100/km'), + MapColorMapper( + from: 101, to: 200, color: Colors.green, text: '100 - 200/km'), + MapColorMapper( + from: 201, to: 300, color: Colors.blue, text: '200 - 300/km'), + MapColorMapper( + from: 301, to: 400, color: Colors.orange, text: '300 - 400/km'), + MapColorMapper( + from: 401, to: 500, color: Colors.teal, text: '400 - 500/km'), + MapColorMapper( + from: 501, + to: 600, + color: Colors.deepPurple, + text: '500 - 600/km'), ]); - } +} - @override - Widget build(BuildContext context) { - return Scaffold( - body: Center( - child: Container( - height: 350, - child: Padding( - padding: const EdgeInsets.only(left: 15, right: 15), - child: SfMaps( - layers: [ - MapShapeLayer( - source: _shapeSource, - legend: MapLegend( - MapElement.shape, - enableToggleInteraction: true, - toggledItemColor: Colors.grey, - toggledItemStrokeWidth: 3, - toggledItemStrokeColor: Colors.black, - ), - ) - ], - ), +@override +Widget build(BuildContext context) { + return Scaffold( + body: Center( + child: Container( + height: 350, + child: Padding( + padding: const EdgeInsets.only(left: 15, right: 15), + child: SfMaps( + layers: [ + MapShapeLayer( + source: _shapeSource, + legend: MapLegend( + MapElement.shape, + enableToggleInteraction: true, + toggledItemColor: Colors.grey, + toggledItemStrokeWidth: 3, + toggledItemStrokeColor: Colors.black, + ), + ) + ], ), ), ), - ); - } + ), + ); } class Model { @@ -1043,93 +923,82 @@ N> You must import the `theme.dart` library from the [`Core`](https://pub.dev/pa {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; -import 'package:syncfusion_flutter_core/theme.dart'; - -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); -} - -class _MapsExampleState extends State { - late List _data; - late MapShapeSource _shapeSource; - - @override - void initState() { - super.initState(); - _data = [ - Model('India', 280), - Model('United States of America', 190), - Model('Kazakhstan', 37), - Model('Italy', 201), - Model('Korea', 512), - Model('Japan', 335), - Model('Cuba', 103), - Model('China', 148) - ]; - - _shapeSource = MapShapeSource.asset("assets/world_map.json", - shapeDataField: "name", - dataCount: _data.length, - primaryValueMapper: (int index) => _data[index].country, - shapeColorValueMapper: (int index) => _data[index].density, - shapeColorMappers: [ - MapColorMapper(from: 0, to: 100, color: Colors.red, text: '< 100/km'), - MapColorMapper( - from: 101, to: 200, color: Colors.green, text: '100 - 200/km'), - MapColorMapper( - from: 201, to: 300, color: Colors.blue, text: '200 - 300/km'), - MapColorMapper( - from: 301, to: 400, color: Colors.orange, text: '300 - 400/km'), - MapColorMapper( - from: 401, to: 500, color: Colors.teal, text: '400 - 500/km'), - MapColorMapper( - from: 501, - to: 600, - color: Colors.deepPurple, - text: '500 - 600/km'), - ]); - } +late List _data; +late MapShapeSource _shapeSource; - @override - Widget build(BuildContext context) { - return Scaffold( - body: Center( - child: Container( - height: 350, - child: Padding( - padding: const EdgeInsets.only(left: 15, right: 15), - child: SfMapsTheme( - data: SfMapsThemeData( - toggledItemColor: Colors.grey, - toggledItemStrokeWidth: 3, - toggledItemStrokeColor: Colors.black, - ), - child: SfMaps( - layers: [ - MapShapeLayer( - source: _shapeSource, - legend: MapLegend( - MapElement.shape, - enableToggleInteraction: true, - ), - ) - ], - ), - ), - ), - ), - ), - ); - } -} +@override +void initState() { + super.initState(); + _data = [ + Model('India', 280), + Model('United States of America', 190), + Model('Kazakhstan', 37), + Model('Italy', 201), + Model('Korea', 512), + Model('Japan', 335), + Model('Cuba', 103), + Model('China', 148) + ]; -class Model { - Model(this.country, this.density); + _shapeSource = MapShapeSource.asset("assets/world_map.json", + shapeDataField: "name", + dataCount: _data.length, + primaryValueMapper: (int index) => _data[index].country, + shapeColorValueMapper: (int index) => _data[index].density, + shapeColorMappers: [ + MapColorMapper(from: 0, to: 100, color: Colors.red, text: '< 100/km'), + MapColorMapper( + from: 101, to: 200, color: Colors.green, text: '100 - 200/km'), + MapColorMapper( + from: 201, to: 300, color: Colors.blue, text: '200 - 300/km'), + MapColorMapper( + from: 301, to: 400, color: Colors.orange, text: '300 - 400/km'), + MapColorMapper( + from: 401, to: 500, color: Colors.teal, text: '400 - 500/km'), + MapColorMapper( + from: 501, + to: 600, + color: Colors.deepPurple, + text: '500 - 600/km'), + ]); +} - final String country; +@override +Widget build(BuildContext context) { + return Scaffold( + body: Center( + child: Container( + height: 350, + child: Padding( + padding: const EdgeInsets.only(left: 15, right: 15), + child: SfMapsTheme( + data: SfMapsThemeData( + toggledItemColor: Colors.grey, + toggledItemStrokeWidth: 3, + toggledItemStrokeColor: Colors.black, + ), + child: SfMaps( + layers: [ + MapShapeLayer( + source: _shapeSource, + legend: MapLegend( + MapElement.shape, + enableToggleInteraction: true, + ), + ) + ], + ), + ), + ), + ), + ), + ); +} + +class Model { + Model(this.country, this.density); + + final String country; final double density; } @@ -1145,85 +1014,75 @@ You can customize the legend item's text style using the [`MapLegend.textStyle`] {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); -} - -class _MapsExampleState extends State { - late List _data; - late MapShapeSource _shapeSource; - - @override - void initState() { - super.initState(); - _data = [ - Model('India', 280), - Model('United States of America', 190), - Model('Kazakhstan', 37), - Model('Italy', 201), - Model('Korea', 512), - Model('Japan', 335), - Model('Cuba', 103), - Model('China', 148) - ]; - - _shapeSource = MapShapeSource.asset("assets/world_map.json", - shapeDataField: "name", - dataCount: _data.length, - primaryValueMapper: (int index) => _data[index].country, - shapeColorValueMapper: (int index) => _data[index].density, - shapeColorMappers: [ - MapColorMapper(from: 0, to: 100, color: Colors.red, text: '< 100/km'), - MapColorMapper( - from: 101, to: 200, color: Colors.green, text: '100 - 200/km'), - MapColorMapper( - from: 201, to: 300, color: Colors.blue, text: '200 - 300/km'), - MapColorMapper( - from: 301, to: 400, color: Colors.orange, text: '300 - 400/km'), - MapColorMapper( - from: 401, to: 500, color: Colors.teal, text: '400 - 500/km'), - MapColorMapper( - from: 501, - to: 600, - color: Colors.deepPurple, - text: '500 - 600/km'), +late List _data; +late MapShapeSource _shapeSource; + +@override +void initState() { + super.initState(); + _data = [ + Model('India', 280), + Model('United States of America', 190), + Model('Kazakhstan', 37), + Model('Italy', 201), + Model('Korea', 512), + Model('Japan', 335), + Model('Cuba', 103), + Model('China', 148) + ]; + + _shapeSource = MapShapeSource.asset("assets/world_map.json", + shapeDataField: "name", + dataCount: _data.length, + primaryValueMapper: (int index) => _data[index].country, + shapeColorValueMapper: (int index) => _data[index].density, + shapeColorMappers: [ + MapColorMapper(from: 0, to: 100, color: Colors.red, text: '< 100/km'), + MapColorMapper( + from: 101, to: 200, color: Colors.green, text: '100 - 200/km'), + MapColorMapper( + from: 201, to: 300, color: Colors.blue, text: '200 - 300/km'), + MapColorMapper( + from: 301, to: 400, color: Colors.orange, text: '300 - 400/km'), + MapColorMapper( + from: 401, to: 500, color: Colors.teal, text: '400 - 500/km'), + MapColorMapper( + from: 501, + to: 600, + color: Colors.deepPurple, + text: '500 - 600/km'), ]); - } +} - @override - Widget build(BuildContext context) { - return Scaffold( - body: Center( - child: Container( - height: 350, - child: Padding( - padding: const EdgeInsets.only(left: 15, right: 15), - child: SfMaps( - layers: [ - MapShapeLayer( - source: _shapeSource, - legend: MapLegend( - MapElement.shape, - textStyle: const TextStyle( - color: Colors.red, - fontSize: 16, - fontWeight: FontWeight.bold, - fontStyle: FontStyle.italic, - fontFamily: 'Times' - ), +@override +Widget build(BuildContext context) { + return Scaffold( + body: Center( + child: Container( + height: 350, + child: Padding( + padding: const EdgeInsets.only(left: 15, right: 15), + child: SfMaps( + layers: [ + MapShapeLayer( + source: _shapeSource, + legend: MapLegend( + MapElement.shape, + textStyle: const TextStyle( + color: Colors.red, + fontSize: 16, + fontWeight: FontWeight.bold, + fontStyle: FontStyle.italic, + fontFamily: 'Times' ), - ) - ], - ), + ), + ) + ], ), ), ), - ); - } + ), + ); } class Model { @@ -1245,87 +1104,77 @@ N> You must import the `theme.dart` library from the [`Core`](https://pub.dev/pa {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; -import 'package:syncfusion_flutter_core/theme.dart'; - -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); -} - -class _MapsExampleState extends State { - late List _data; - late MapShapeSource _shapeSource; - - @override - void initState() { - super.initState(); - _data = [ - Model('India', 280), - Model('United States of America', 190), - Model('Kazakhstan', 37), - Model('Italy', 201), - Model('Korea', 512), - Model('Japan', 335), - Model('Cuba', 103), - Model('China', 148) - ]; - - _shapeSource = MapShapeSource.asset("assets/world_map.json", - shapeDataField: "name", - dataCount: _data.length, - primaryValueMapper: (int index) => _data[index].country, - shapeColorValueMapper: (int index) => _data[index].density, - shapeColorMappers: [ - MapColorMapper(from: 0, to: 100, color: Colors.red, text: '< 100/km'), - MapColorMapper( - from: 101, to: 200, color: Colors.green, text: '100 - 200/km'), - MapColorMapper( - from: 201, to: 300, color: Colors.blue, text: '200 - 300/km'), - MapColorMapper( - from: 301, to: 400, color: Colors.orange, text: '300 - 400/km'), - MapColorMapper( - from: 401, to: 500, color: Colors.teal, text: '400 - 500/km'), - MapColorMapper( - from: 501, - to: 600, - color: Colors.deepPurple, - text: '500 - 600/km'), +late List _data; +late MapShapeSource _shapeSource; + +@override +void initState() { + super.initState(); + _data = [ + Model('India', 280), + Model('United States of America', 190), + Model('Kazakhstan', 37), + Model('Italy', 201), + Model('Korea', 512), + Model('Japan', 335), + Model('Cuba', 103), + Model('China', 148) + ]; + + _shapeSource = MapShapeSource.asset("assets/world_map.json", + shapeDataField: "name", + dataCount: _data.length, + primaryValueMapper: (int index) => _data[index].country, + shapeColorValueMapper: (int index) => _data[index].density, + shapeColorMappers: [ + MapColorMapper(from: 0, to: 100, color: Colors.red, text: '< 100/km'), + MapColorMapper( + from: 101, to: 200, color: Colors.green, text: '100 - 200/km'), + MapColorMapper( + from: 201, to: 300, color: Colors.blue, text: '200 - 300/km'), + MapColorMapper( + from: 301, to: 400, color: Colors.orange, text: '300 - 400/km'), + MapColorMapper( + from: 401, to: 500, color: Colors.teal, text: '400 - 500/km'), + MapColorMapper( + from: 501, + to: 600, + color: Colors.deepPurple, + text: '500 - 600/km'), ]); - } +} - @override - Widget build(BuildContext context) { - return Scaffold( - body: Center( - child: Container( - height: 350, - child: Padding( - padding: const EdgeInsets.only(left: 15, right: 15), - child: SfMapsTheme( - data: SfMapsThemeData( - legendTextStyle: TextStyle( - color: Colors.red, - fontSize: 16, - fontWeight: FontWeight.bold, - fontStyle: FontStyle.italic, - fontFamily: 'Times' - ), - ), - child: SfMaps( - layers: [ - MapShapeLayer( - source: _shapeSource, - legend: MapLegend(MapElement.shape), - ) - ], +@override +Widget build(BuildContext context) { + return Scaffold( + body: Center( + child: Container( + height: 350, + child: Padding( + padding: const EdgeInsets.only(left: 15, right: 15), + child: SfMapsTheme( + data: SfMapsThemeData( + legendTextStyle: TextStyle( + color: Colors.red, + fontSize: 16, + fontWeight: FontWeight.bold, + fontStyle: FontStyle.italic, + fontFamily: 'Times' ), ), + child: SfMaps( + layers: [ + MapShapeLayer( + source: _shapeSource, + legend: MapLegend(MapElement.shape), + ) + ], + ), ), ), ), - ); + ), + ); } } @@ -1354,83 +1203,73 @@ You can customize the legend items using the following properties. {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); -} - -class _MapsExampleState extends State { - late List _data; - late MapShapeSource _shapeSource; - - @override - void initState() { - super.initState(); - _data = [ - Model('India', 280), - Model('United States of America', 190), - Model('Kazakhstan', 37), - Model('Italy', 201), - Model('Korea', 512), - Model('Japan', 335), - Model('Cuba', 103), - Model('China', 148) - ]; - - _shapeSource = MapShapeSource.asset("assets/world_map.json", - shapeDataField: "name", - dataCount: _data.length, - primaryValueMapper: (int index) => _data[index].country, - shapeColorValueMapper: (int index) => _data[index].density, - shapeColorMappers: [ - MapColorMapper(from: 0, to: 100, color: Colors.red, text: '< 100/km'), - MapColorMapper( - from: 101, to: 200, color: Colors.green, text: '100 - 200/km'), - MapColorMapper( - from: 201, to: 300, color: Colors.blue, text: '200 - 300/km'), - MapColorMapper( - from: 301, to: 400, color: Colors.orange, text: '300 - 400/km'), - MapColorMapper( - from: 401, to: 500, color: Colors.teal, text: '400 - 500/km'), - MapColorMapper( - from: 501, - to: 600, - color: Colors.deepPurple, - text: '500 - 600/km'), +late List _data; +late MapShapeSource _shapeSource; + +@override +void initState() { + super.initState(); + _data = [ + Model('India', 280), + Model('United States of America', 190), + Model('Kazakhstan', 37), + Model('Italy', 201), + Model('Korea', 512), + Model('Japan', 335), + Model('Cuba', 103), + Model('China', 148) + ]; + + _shapeSource = MapShapeSource.asset("assets/world_map.json", + shapeDataField: "name", + dataCount: _data.length, + primaryValueMapper: (int index) => _data[index].country, + shapeColorValueMapper: (int index) => _data[index].density, + shapeColorMappers: [ + MapColorMapper(from: 0, to: 100, color: Colors.red, text: '< 100/km'), + MapColorMapper( + from: 101, to: 200, color: Colors.green, text: '100 - 200/km'), + MapColorMapper( + from: 201, to: 300, color: Colors.blue, text: '200 - 300/km'), + MapColorMapper( + from: 301, to: 400, color: Colors.orange, text: '300 - 400/km'), + MapColorMapper( + from: 401, to: 500, color: Colors.teal, text: '400 - 500/km'), + MapColorMapper( + from: 501, + to: 600, + color: Colors.deepPurple, + text: '500 - 600/km'), ]); - } +} - @override - Widget build(BuildContext context) { - return Scaffold( - body: Center( - child: Container( - height: 350, - child: Padding( - padding: const EdgeInsets.only(left: 15, right: 15), - child: SfMaps( - layers: [ - MapShapeLayer( - source: _shapeSource, - legend: MapLegend( - MapElement.shape, - position: MapLegendPosition.bottom, - overflowMode: MapLegendOverflowMode.wrap, - iconType: MapIconType.square, - iconSize: Size(15.0, 15.0), - itemsSpacing: 15, - ), - ) - ], - ), +@override +Widget build(BuildContext context) { + return Scaffold( + body: Center( + child: Container( + height: 350, + child: Padding( + padding: const EdgeInsets.only(left: 15, right: 15), + child: SfMaps( + layers: [ + MapShapeLayer( + source: _shapeSource, + legend: MapLegend( + MapElement.shape, + position: MapLegendPosition.bottom, + overflowMode: MapLegendOverflowMode.wrap, + iconType: MapIconType.square, + iconSize: Size(15.0, 15.0), + itemsSpacing: 15, + ), + ) + ], ), ), ), - ); - } + ), + ); } class Model { @@ -1457,79 +1296,69 @@ You can set solid color for the bar by using the [MapLegendPaintingStyle.solid]( {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); -} - -class _MapsExampleState extends State { - late List _data; - late MapShapeSource _shapeSource; - - @override - void initState() { - super.initState(); - _data = [ - Model('India', 280), - Model('United States of America', 190), - Model('Kazakhstan', 37), - Model('Italy', 201), - Model('Korea', 512), - Model('Japan', 335), - Model('Cuba', 103), - Model('China', 148) - ]; - - _shapeSource = MapShapeSource.asset("assets/world_map.json", - shapeDataField: "name", - dataCount: _data.length, - primaryValueMapper: (int index) => _data[index].country, - shapeColorValueMapper: (int index) => _data[index].density, - shapeColorMappers: [ - MapColorMapper(from: 0, to: 100, color: Colors.red, text: '< 100/km'), - MapColorMapper( - from: 101, to: 200, color: Colors.green, text: '100 - 200/km'), - MapColorMapper( - from: 201, to: 300, color: Colors.blue, text: '200 - 300/km'), - MapColorMapper( - from: 301, to: 400, color: Colors.orange, text: '300 - 400/km'), - MapColorMapper( - from: 401, to: 500, color: Colors.teal, text: '400 - 500/km'), - MapColorMapper( - from: 501, - to: 600, - color: Colors.deepPurple, - text: '500 - 600/km'), +late List _data; +late MapShapeSource _shapeSource; + +@override +void initState() { + super.initState(); + _data = [ + Model('India', 280), + Model('United States of America', 190), + Model('Kazakhstan', 37), + Model('Italy', 201), + Model('Korea', 512), + Model('Japan', 335), + Model('Cuba', 103), + Model('China', 148) + ]; + + _shapeSource = MapShapeSource.asset("assets/world_map.json", + shapeDataField: "name", + dataCount: _data.length, + primaryValueMapper: (int index) => _data[index].country, + shapeColorValueMapper: (int index) => _data[index].density, + shapeColorMappers: [ + MapColorMapper(from: 0, to: 100, color: Colors.red, text: '< 100/km'), + MapColorMapper( + from: 101, to: 200, color: Colors.green, text: '100 - 200/km'), + MapColorMapper( + from: 201, to: 300, color: Colors.blue, text: '200 - 300/km'), + MapColorMapper( + from: 301, to: 400, color: Colors.orange, text: '300 - 400/km'), + MapColorMapper( + from: 401, to: 500, color: Colors.teal, text: '400 - 500/km'), + MapColorMapper( + from: 501, + to: 600, + color: Colors.deepPurple, + text: '500 - 600/km'), ]); - } +} - @override - Widget build(BuildContext context) { - return Scaffold( - body: Center( - child: Container( - height: 350, - child: Padding( - padding: EdgeInsets.only(left: 15, right: 15), - child: SfMaps( - layers: [ - MapShapeLayer( - source: _shapeSource, - legend: MapLegend.bar( - MapElement.shape, - segmentPaintingStyle: MapLegendPaintingStyle.solid, - ), - ) - ], - ), +@override +Widget build(BuildContext context) { + return Scaffold( + body: Center( + child: Container( + height: 350, + child: Padding( + padding: EdgeInsets.only(left: 15, right: 15), + child: SfMaps( + layers: [ + MapShapeLayer( + source: _shapeSource, + legend: MapLegend.bar( + MapElement.shape, + segmentPaintingStyle: MapLegendPaintingStyle.solid, + ), + ) + ], ), ), ), - ); - } + ), + ); } class Model { @@ -1551,77 +1380,67 @@ You can set gradient color for the bar by using the [MapLegendPaintingStyle.grad {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); -} - -class _MapsExampleState extends State { - late List _data; - late MapShapeSource _shapeSource; - - @override - void initState() { - super.initState(); - _data = [ - Model('India', 280), - Model('United States of America', 190), - Model('Kazakhstan', 37), - Model('Italy', 201), - Model('Korea', 512), - Model('Japan', 335), - Model('Cuba', 103), - Model('China', 148) - ]; - - _shapeSource = MapShapeSource.asset("assets/world_map.json", - shapeDataField: "name", - dataCount: _data.length, - primaryValueMapper: (int index) => _data[index].country, - shapeColorValueMapper: (int index) => _data[index].density, - shapeColorMappers: [ - MapColorMapper(from: 0, to: 100, color: Colors.red, text: '< 100/km'), - MapColorMapper( - from: 101, to: 200, color: Colors.green, text: '100 - 200/km'), - MapColorMapper( - from: 201, to: 300, color: Colors.blue, text: '200 - 300/km'), - MapColorMapper( - from: 301, - to: 600, - color: Colors.deepPurple, - text: '300 - 600/km'), +late List _data; +late MapShapeSource _shapeSource; + +@override +void initState() { + super.initState(); + _data = [ + Model('India', 280), + Model('United States of America', 190), + Model('Kazakhstan', 37), + Model('Italy', 201), + Model('Korea', 512), + Model('Japan', 335), + Model('Cuba', 103), + Model('China', 148) + ]; + + _shapeSource = MapShapeSource.asset("assets/world_map.json", + shapeDataField: "name", + dataCount: _data.length, + primaryValueMapper: (int index) => _data[index].country, + shapeColorValueMapper: (int index) => _data[index].density, + shapeColorMappers: [ + MapColorMapper(from: 0, to: 100, color: Colors.red, text: '< 100/km'), + MapColorMapper( + from: 101, to: 200, color: Colors.green, text: '100 - 200/km'), + MapColorMapper( + from: 201, to: 300, color: Colors.blue, text: '200 - 300/km'), + MapColorMapper( + from: 301, + to: 600, + color: Colors.deepPurple, + text: '300 - 600/km'), ]); - } +} - @override - Widget build(BuildContext context) { - return Scaffold( - body: Center( - child: Container( - height: 350, - child: Padding( - padding: EdgeInsets.only(left: 15, right: 15), - child: SfMaps( - layers: [ - MapShapeLayer( - source: _shapeSource, - legend: MapLegend.bar( - MapElement.shape, - labelsPlacement: MapLegendLabelsPlacement.betweenItems, - edgeLabelsPlacement: MapLegendEdgeLabelsPlacement.center, - segmentPaintingStyle: MapLegendPaintingStyle.gradient, - ), - ) - ], - ), +@override +Widget build(BuildContext context) { + return Scaffold( + body: Center( + child: Container( + height: 350, + child: Padding( + padding: EdgeInsets.only(left: 15, right: 15), + child: SfMaps( + layers: [ + MapShapeLayer( + source: _shapeSource, + legend: MapLegend.bar( + MapElement.shape, + labelsPlacement: MapLegendLabelsPlacement.betweenItems, + edgeLabelsPlacement: MapLegendEdgeLabelsPlacement.center, + segmentPaintingStyle: MapLegendPaintingStyle.gradient, + ), + ) + ], ), ), ), - ); - } + ), + ); } class Model { @@ -1650,78 +1469,68 @@ You can customize the legend items using the following properties. {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); -} - -class _MapsExampleState extends State { - late List _data; - late MapShapeSource _shapeSource; - - @override - void initState() { - super.initState(); - _data = [ - Model('India', 280), - Model('United States of America', 190), - Model('Kazakhstan', 37), - Model('Italy', 201), - Model('Korea', 512), - Model('Japan', 335), - Model('Cuba', 103), - Model('China', 148) - ]; - - _shapeSource = MapShapeSource.asset("assets/world_map.json", - shapeDataField: "name", - dataCount: _data.length, - primaryValueMapper: (int index) => _data[index].country, - shapeColorValueMapper: (int index) => _data[index].density, - shapeColorMappers: [ - MapColorMapper(from: 0, to: 100, color: Colors.red, text: '< 100/km'), - MapColorMapper( - from: 101, to: 200, color: Colors.green, text: '100 - 200/km'), - MapColorMapper( - from: 201, to: 300, color: Colors.blue, text: '200 - 300/km'), - MapColorMapper( - from: 301, - to: 600, - color: Colors.deepPurple, - text: '300 - 600/km'), +late List _data; +late MapShapeSource _shapeSource; + +@override +void initState() { + super.initState(); + _data = [ + Model('India', 280), + Model('United States of America', 190), + Model('Kazakhstan', 37), + Model('Italy', 201), + Model('Korea', 512), + Model('Japan', 335), + Model('Cuba', 103), + Model('China', 148) + ]; + + _shapeSource = MapShapeSource.asset("assets/world_map.json", + shapeDataField: "name", + dataCount: _data.length, + primaryValueMapper: (int index) => _data[index].country, + shapeColorValueMapper: (int index) => _data[index].density, + shapeColorMappers: [ + MapColorMapper(from: 0, to: 100, color: Colors.red, text: '< 100/km'), + MapColorMapper( + from: 101, to: 200, color: Colors.green, text: '100 - 200/km'), + MapColorMapper( + from: 201, to: 300, color: Colors.blue, text: '200 - 300/km'), + MapColorMapper( + from: 301, + to: 600, + color: Colors.deepPurple, + text: '300 - 600/km'), ]); - } +} - @override - Widget build(BuildContext context) { - return Scaffold( - body: Center( - child: Container( - height: 350, - child: Padding( - padding: EdgeInsets.only(left: 15, right: 15), - child: SfMaps( - layers: [ - MapShapeLayer( - source: _shapeSource, - legend: MapLegend.bar( - MapElement.shape, - labelsPlacement: MapLegendLabelsPlacement.betweenItems, - edgeLabelsPlacement: MapLegendEdgeLabelsPlacement.center, - segmentPaintingStyle: MapLegendPaintingStyle.gradient, - labelOverflow: MapLabelOverflow.ellipsis, - ), - ) - ], - ), +@override +Widget build(BuildContext context) { + return Scaffold( + body: Center( + child: Container( + height: 350, + child: Padding( + padding: EdgeInsets.only(left: 15, right: 15), + child: SfMaps( + layers: [ + MapShapeLayer( + source: _shapeSource, + legend: MapLegend.bar( + MapElement.shape, + labelsPlacement: MapLegendLabelsPlacement.betweenItems, + edgeLabelsPlacement: MapLegendEdgeLabelsPlacement.center, + segmentPaintingStyle: MapLegendPaintingStyle.gradient, + labelOverflow: MapLabelOverflow.ellipsis, + ), + ) + ], ), ), ), - ); - } + ), + ); } class Model { @@ -1747,70 +1556,60 @@ The labels are positioned between the segments when setting range color mapper w {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); -} - -class _MapsExampleState extends State { - late List _data; - late MapShapeSource _shapeSource; - - @override - void initState() { - super.initState(); - _data = [ - Model('India', 280), - Model('United States of America', 190), - Model('Kazakhstan', 37), - Model('Italy', 201), - Model('Cuba', 103), - Model('China', 148), - ]; - - _shapeSource = MapShapeSource.asset("assets/world_map.json", - shapeDataField: "name", - dataCount: _data.length, - primaryValueMapper: (int index) => _data[index].country, - shapeColorValueMapper: (int index) => _data[index].density, - shapeColorMappers: [ - MapColorMapper(from: 0, to: 100, color: Colors.red), - MapColorMapper( - from: 101, to: 200, color: Colors.green), - MapColorMapper( - from: 201, to: 300, color: Colors.blue), - ] - ); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: Center( - child: Container( - height: 350, - child: Padding( - padding: EdgeInsets.only(left: 15, right: 15), - child: SfMaps( - layers: [ - MapShapeLayer( - source: _shapeSource, - legend: MapLegend.bar( - MapElement.shape, - labelsPlacement: MapLegendLabelsPlacement.betweenItems, - segmentPaintingStyle: MapLegendPaintingStyle.gradient, - ), - ) - ], - ), +late List _data; +late MapShapeSource _shapeSource; + +@override +void initState() { + super.initState(); + _data = [ + Model('India', 280), + Model('United States of America', 190), + Model('Kazakhstan', 37), + Model('Italy', 201), + Model('Cuba', 103), + Model('China', 148), +]; + +_shapeSource = MapShapeSource.asset("assets/world_map.json", + shapeDataField: "name", + dataCount: _data.length, + primaryValueMapper: (int index) => _data[index].country, + shapeColorValueMapper: (int index) => _data[index].density, + shapeColorMappers: [ + MapColorMapper(from: 0, to: 100, color: Colors.red), + MapColorMapper( + from: 101, to: 200, color: Colors.green), + MapColorMapper( + from: 201, to: 300, color: Colors.blue), + ] + ); +} + +@override +Widget build(BuildContext context) { + return Scaffold( + body: Center( + child: Container( + height: 350, + child: Padding( + padding: EdgeInsets.only(left: 15, right: 15), + child: SfMaps( + layers: [ + MapShapeLayer( + source: _shapeSource, + legend: MapLegend.bar( + MapElement.shape, + labelsPlacement: MapLegendLabelsPlacement.betweenItems, + segmentPaintingStyle: MapLegendPaintingStyle.gradient, + ), + ) + ], ), ), + ), ), - ); - } + ); } class Model { @@ -1830,68 +1629,58 @@ The labels are positioned between the segments when setting range color mapper a {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); -} - -class _MapsExampleState extends State { - late List _data; - late MapShapeSource _shapeSource; - - @override - void initState() { - super.initState(); - _data = [ - Model('India', 280), - Model('United States of America', 190), - Model('Kazakhstan', 37), - Model('Italy', 201), - Model('Cuba', 103), - Model('China', 148), - ]; - - _shapeSource = MapShapeSource.asset("assets/world_map.json", - shapeDataField: "name", - dataCount: _data.length, - primaryValueMapper: (int index) => _data[index].country, - shapeColorValueMapper: (int index) => _data[index].density, - shapeColorMappers: [ - MapColorMapper(from: 0, to: 100, color: Colors.red, text: '<100/km'), - MapColorMapper(from: 101, to: 200, color: Colors.green, text: '100 - 200/km'), - MapColorMapper(from: 201, to: 300, color: Colors.blue, text: '200 - 300/km'), - ] - ); - } +late List _data; +late MapShapeSource _shapeSource; + +@override +void initState() { + super.initState(); + _data = [ + Model('India', 280), + Model('United States of America', 190), + Model('Kazakhstan', 37), + Model('Italy', 201), + Model('Cuba', 103), + Model('China', 148), + ]; - @override - Widget build(BuildContext context) { - return Scaffold( - body: Center( - child: Container( - height: 350, - child: Padding( - padding: EdgeInsets.only(left: 15, right: 15), - child: SfMaps( - layers: [ - MapShapeLayer( - source: _shapeSource, - legend: MapLegend.bar( - MapElement.shape, - labelsPlacement: MapLegendLabelsPlacement.betweenItems, - segmentPaintingStyle: MapLegendPaintingStyle.gradient, - ), - ) - ], - ), + _shapeSource = MapShapeSource.asset("assets/world_map.json", + shapeDataField: "name", + dataCount: _data.length, + primaryValueMapper: (int index) => _data[index].country, + shapeColorValueMapper: (int index) => _data[index].density, + shapeColorMappers: [ + MapColorMapper(from: 0, to: 100, color: Colors.red, text: '<100/km'), + MapColorMapper(from: 101, to: 200, color: Colors.green, text: '100 - 200/km'), + MapColorMapper(from: 201, to: 300, color: Colors.blue, text: '200 - 300/km'), + ] + ); +} + +@override +Widget build(BuildContext context) { + return Scaffold( + body: Center( + child: Container( + height: 350, + child: Padding( + padding: EdgeInsets.only(left: 15, right: 15), + child: SfMaps( + layers: [ + MapShapeLayer( + source: _shapeSource, + legend: MapLegend.bar( + MapElement.shape, + labelsPlacement: MapLegendLabelsPlacement.betweenItems, + segmentPaintingStyle: MapLegendPaintingStyle.gradient, + ), + ) + ], ), ), + ), ), - ); - } + ); } class Model { @@ -1911,69 +1700,59 @@ The labels are positioned at the center of the segments when setting the [`label {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); -} - -class _MapsExampleState extends State { - late List _data; - late MapShapeSource _shapeSource; - - @override - void initState() { - super.initState(); - _data = [ - Model('India', 280), - Model('United States of America', 190), - Model('Kazakhstan', 37), - Model('Italy', 201), - Model('Cuba', 103), - Model('China', 148), - ]; - - _shapeSource = MapShapeSource.asset("assets/world_map.json", - shapeDataField: "name", - dataCount: _data.length, - primaryValueMapper: (int index) => _data[index].country, - shapeColorValueMapper: (int index) => _data[index].density, - shapeColorMappers: [ - MapColorMapper(from: 0, to: 100, color: Colors.red, text: '<100/km'), - MapColorMapper(from: 101, to: 200, color: Colors.green, text: '100 - 200/km'), - MapColorMapper(from: 201, to: 300, color: Colors.blue, text: '200 - 300/km'), - ] - ); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: Center( - child: Container( - height: 350, - child: Padding( - padding: EdgeInsets.only(left: 15, right: 15), - child: SfMaps( - layers: [ - MapShapeLayer( - source: _shapeSource, - legend: MapLegend.bar( - MapElement.shape, - labelsPlacement: MapLegendLabelsPlacement.onItem, - edgeLabelsPlacement: MapLegendEdgeLabelsPlacement.center, - segmentPaintingStyle: MapLegendPaintingStyle.gradient, - ), - ) - ], - ), +late List _data; +late MapShapeSource _shapeSource; + +@override +void initState() { + super.initState(); + _data = [ + Model('India', 280), + Model('United States of America', 190), + Model('Kazakhstan', 37), + Model('Italy', 201), + Model('Cuba', 103), + Model('China', 148), +]; + +_shapeSource = MapShapeSource.asset("assets/world_map.json", + shapeDataField: "name", + dataCount: _data.length, + primaryValueMapper: (int index) => _data[index].country, + shapeColorValueMapper: (int index) => _data[index].density, + shapeColorMappers: [ + MapColorMapper(from: 0, to: 100, color: Colors.red, text: '<100/km'), + MapColorMapper(from: 101, to: 200, color: Colors.green, text: '100 - 200/km'), + MapColorMapper(from: 201, to: 300, color: Colors.blue, text: '200 - 300/km'), + ] + ); +} + +@override +Widget build(BuildContext context) { + return Scaffold( + body: Center( + child: Container( + height: 350, + child: Padding( + padding: EdgeInsets.only(left: 15, right: 15), + child: SfMaps( + layers: [ + MapShapeLayer( + source: _shapeSource, + legend: MapLegend.bar( + MapElement.shape, + labelsPlacement: MapLegendLabelsPlacement.onItem, + edgeLabelsPlacement: MapLegendEdgeLabelsPlacement.center, + segmentPaintingStyle: MapLegendPaintingStyle.gradient, + ), + ) + ], ), ), + ), ), - ); - } + ); } class Model { @@ -1995,71 +1774,61 @@ The [`labelsPlacement`](https://pub.dev/documentation/syncfusion_flutter_maps/la {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); -} - -class _MapsExampleState extends State { - late List _data; - late MapShapeSource _dataSource; +late List _data; +late MapShapeSource _dataSource; - @override - void initState() { - _data = [ - Model('India', "Low"), - Model('United States of America', "High"), - Model('Pakistan', "Low"), - Model('Brazil', "Medium"), - ]; - - _dataSource = MapShapeSource.asset( - "assets/world_map.json", - shapeDataField: "name", - dataCount: _data.length, - primaryValueMapper: (int index) { - return _data[index].country; - }, - shapeColorValueMapper: (int index) { - return _data[index].storage; - }, - shapeColorMappers: [ - MapColorMapper(value: "Low", color: Colors.green), - MapColorMapper(value: "Medium", color: Colors.blue), - MapColorMapper(value: "High", color: Colors.red), - ], - ); - super.initState(); - } +@override +void initState() { + _data = [ + Model('India', "Low"), + Model('United States of America', "High"), + Model('Pakistan', "Low"), + Model('Brazil', "Medium"), + ]; - @override - Widget build(BuildContext context) { - return Scaffold( - body: Center( - child: Container( - height: 350, - child: Padding( - padding: EdgeInsets.only(left: 15, right: 15), - child: SfMaps( - layers: [ - MapShapeLayer( - source: _dataSource, - legend: MapLegend.bar( - MapElement.shape, - edgeLabelsPlacement: MapLegendEdgeLabelsPlacement.center, - segmentPaintingStyle: MapLegendPaintingStyle.gradient, - ), + _dataSource = MapShapeSource.asset( + "assets/world_map.json", + shapeDataField: "name", + dataCount: _data.length, + primaryValueMapper: (int index) { + return _data[index].country; + }, + shapeColorValueMapper: (int index) { + return _data[index].storage; + }, + shapeColorMappers: [ + MapColorMapper(value: "Low", color: Colors.green), + MapColorMapper(value: "Medium", color: Colors.blue), + MapColorMapper(value: "High", color: Colors.red), + ], + ); + super.initState(); +} + +@override +Widget build(BuildContext context) { + return Scaffold( + body: Center( + child: Container( + height: 350, + child: Padding( + padding: EdgeInsets.only(left: 15, right: 15), + child: SfMaps( + layers: [ + MapShapeLayer( + source: _dataSource, + legend: MapLegend.bar( + MapElement.shape, + edgeLabelsPlacement: MapLegendEdgeLabelsPlacement.center, + segmentPaintingStyle: MapLegendPaintingStyle.gradient, ), - ], - ), + ), + ], ), ), - ), - ); - } + ), + ), + ); } class Model { @@ -2081,71 +1850,61 @@ You may show a pointer on the solid or gradient bar legend while hovering over a {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); -} - -class _MapsExampleState extends State { - late List _data; - late MapShapeSource _shapeSource; +late List _data; +late MapShapeSource _shapeSource; - @override - void initState() { - super.initState(); - _data = [ - Model('India', 280), - Model('United States of America', 190), - Model('Kazakhstan', 37), - Model('Italy', 201), - Model('Cuba', 103), - Model('China', 148), - ]; +@override +void initState() { + super.initState(); + _data = [ + Model('India', 280), + Model('United States of America', 190), + Model('Kazakhstan', 37), + Model('Italy', 201), + Model('Cuba', 103), + Model('China', 148), + ]; - _shapeSource = MapShapeSource.asset( - "assets/world_map.json", - shapeDataField: "name", - dataCount: _data.length, - primaryValueMapper: (int index) => _data[index].country, - shapeColorValueMapper: (int index) => _data[index].density, - shapeColorMappers: [ - MapColorMapper(from: 0, to: 100, color: Colors.red, text: '0 - 100'), - MapColorMapper( - from: 101, to: 200, color: Colors.green, text: '101 - 200'), - MapColorMapper( - from: 201, to: 300, color: Colors.blue, text: '201 - 300'), - ], - ); - } + _shapeSource = MapShapeSource.asset( + "assets/world_map.json", + shapeDataField: "name", + dataCount: _data.length, + primaryValueMapper: (int index) => _data[index].country, + shapeColorValueMapper: (int index) => _data[index].density, + shapeColorMappers: [ + MapColorMapper(from: 0, to: 100, color: Colors.red, text: '0 - 100'), + MapColorMapper( + from: 101, to: 200, color: Colors.green, text: '101 - 200'), + MapColorMapper( + from: 201, to: 300, color: Colors.blue, text: '201 - 300'), + ], + ); +} - @override - Widget build(BuildContext context) { - return Scaffold( - body: Center( - child: Container( - height: 350, - child: Padding( - padding: EdgeInsets.only(left: 15, right: 15), - child: SfMaps( - layers: [ - MapShapeLayer( - source: _shapeSource, - legend: MapLegend.bar( - MapElement.shape, - segmentPaintingStyle: MapLegendPaintingStyle.gradient, - showPointerOnHover: true, - ), - ) - ], - ), +@override +Widget build(BuildContext context) { + return Scaffold( + body: Center( + child: Container( + height: 350, + child: Padding( + padding: EdgeInsets.only(left: 15, right: 15), + child: SfMaps( + layers: [ + MapShapeLayer( + source: _shapeSource, + legend: MapLegend.bar( + MapElement.shape, + segmentPaintingStyle: MapLegendPaintingStyle.gradient, + showPointerOnHover: true, + ), + ) + ], ), ), ), - ); - } + ), + ); } class Model { @@ -2171,74 +1930,64 @@ The [`pointerBuilder`](https://pub.dev/documentation/syncfusion_flutter_maps/lat {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); -} - -class _MapsExampleState extends State { - late List _data; - late MapShapeSource _shapeSource; +late List _data; +late MapShapeSource _shapeSource; - @override - void initState() { - super.initState(); - _data = [ - Model('India', 280), - Model('United States of America', 190), - Model('Kazakhstan', 37), - Model('Italy', 201), - Model('Cuba', 103), - Model('China', 148), - ]; +@override +void initState() { + super.initState(); + _data = [ + Model('India', 280), + Model('United States of America', 190), + Model('Kazakhstan', 37), + Model('Italy', 201), + Model('Cuba', 103), + Model('China', 148), + ]; - _shapeSource = MapShapeSource.asset( - "assets/world_map.json", - shapeDataField: "name", - dataCount: _data.length, - primaryValueMapper: (int index) => _data[index].country, - shapeColorValueMapper: (int index) => _data[index].density, - shapeColorMappers: [ - MapColorMapper(from: 0, to: 100, color: Colors.red, text: '0 - 100'), - MapColorMapper( - from: 101, to: 200, color: Colors.green, text: '101 - 200'), - MapColorMapper( - from: 201, to: 300, color: Colors.blue, text: '201 - 300'), - ], - ); - } + _shapeSource = MapShapeSource.asset( + "assets/world_map.json", + shapeDataField: "name", + dataCount: _data.length, + primaryValueMapper: (int index) => _data[index].country, + shapeColorValueMapper: (int index) => _data[index].density, + shapeColorMappers: [ + MapColorMapper(from: 0, to: 100, color: Colors.red, text: '0 - 100'), + MapColorMapper( + from: 101, to: 200, color: Colors.green, text: '101 - 200'), + MapColorMapper( + from: 201, to: 300, color: Colors.blue, text: '201 - 300'), + ], + ); +} - @override - Widget build(BuildContext context) { - return Scaffold( - body: Center( - child: Container( - height: 350, - child: Padding( - padding: EdgeInsets.only(left: 15, right: 15), - child: SfMaps( - layers: [ - MapShapeLayer( - source: _shapeSource, - legend: MapLegend.bar( - MapElement.shape, - segmentPaintingStyle: MapLegendPaintingStyle.gradient, - showPointerOnHover: true, - pointerBuilder: (BuildContext context, dynamic value) { - return Icon(Icons.arrow_downward, size: 15); - }, - ), - ) - ], - ), +@override +Widget build(BuildContext context) { + return Scaffold( + body: Center( + child: Container( + height: 350, + child: Padding( + padding: EdgeInsets.only(left: 15, right: 15), + child: SfMaps( + layers: [ + MapShapeLayer( + source: _shapeSource, + legend: MapLegend.bar( + MapElement.shape, + segmentPaintingStyle: MapLegendPaintingStyle.gradient, + showPointerOnHover: true, + pointerBuilder: (BuildContext context, dynamic value) { + return Icon(Icons.arrow_downward, size: 15); + }, + ), + ) + ], ), ), ), - ); - } + ), + ); } class Model { @@ -2260,73 +2009,63 @@ You can customize the size and color of the pointer using the [`pointerSize`](ht {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); -} - -class _MapsExampleState extends State { - late List _data; - late MapShapeSource _shapeSource; +late List _data; +late MapShapeSource _shapeSource; - @override - void initState() { - super.initState(); - _data = [ - Model('India', 280), - Model('United States of America', 190), - Model('Kazakhstan', 37), - Model('Italy', 201), - Model('Cuba', 103), - Model('China', 148), - ]; +@override +void initState() { + super.initState(); + _data = [ + Model('India', 280), + Model('United States of America', 190), + Model('Kazakhstan', 37), + Model('Italy', 201), + Model('Cuba', 103), + Model('China', 148), + ]; - _shapeSource = MapShapeSource.asset( - "assets/world_map.json", - shapeDataField: "name", - dataCount: _data.length, - primaryValueMapper: (int index) => _data[index].country, - shapeColorValueMapper: (int index) => _data[index].density, - shapeColorMappers: [ - MapColorMapper(from: 0, to: 100, color: Colors.red, text: '0 - 100'), - MapColorMapper( - from: 101, to: 200, color: Colors.green, text: '101 - 200'), - MapColorMapper( - from: 201, to: 300, color: Colors.blue, text: '201 - 300'), - ], - ); - } + _shapeSource = MapShapeSource.asset( + "assets/world_map.json", + shapeDataField: "name", + dataCount: _data.length, + primaryValueMapper: (int index) => _data[index].country, + shapeColorValueMapper: (int index) => _data[index].density, + shapeColorMappers: [ + MapColorMapper(from: 0, to: 100, color: Colors.red, text: '0 - 100'), + MapColorMapper( + from: 101, to: 200, color: Colors.green, text: '101 - 200'), + MapColorMapper( + from: 201, to: 300, color: Colors.blue, text: '201 - 300'), + ], + ); +} - @override - Widget build(BuildContext context) { - return Scaffold( - body: Center( - child: Container( - height: 350, - child: Padding( - padding: EdgeInsets.only(left: 15, right: 15), - child: SfMaps( - layers: [ - MapShapeLayer( - source: _shapeSource, - legend: MapLegend.bar( - MapElement.shape, - segmentPaintingStyle: MapLegendPaintingStyle.gradient, - showPointerOnHover: true, - pointerSize: Size(20, 20), - pointerColor: Colors.deepPurple, - ), - ) - ], - ), +@override +Widget build(BuildContext context) { + return Scaffold( + body: Center( + child: Container( + height: 350, + child: Padding( + padding: EdgeInsets.only(left: 15, right: 15), + child: SfMaps( + layers: [ + MapShapeLayer( + source: _shapeSource, + legend: MapLegend.bar( + MapElement.shape, + segmentPaintingStyle: MapLegendPaintingStyle.gradient, + showPointerOnHover: true, + pointerSize: Size(20, 20), + pointerColor: Colors.deepPurple, + ), + ) + ], ), ), ), - ); - } + ), + ); } class Model { diff --git a/chart-sdk/flutter/maps/markers.md b/chart-sdk/flutter/maps/markers.md index 5328ff28f..9e90d5e6f 100644 --- a/chart-sdk/flutter/maps/markers.md +++ b/chart-sdk/flutter/maps/markers.md @@ -1,13 +1,13 @@ --- layout: post -title: Markers in Flutter Maps | Syncfusion® -description: Learn about marker support in Syncfusion® Flutter Maps (SfMaps), including built-in markers, custom widgets, positioning, and customization options. +title: Markers in Flutter Maps | Syncfusion +description: Step-by-step guide to add and customize markers in Syncfusion Flutter Maps (SfMaps)—use built-in icons or custom widgets, position and manage markers. platform: chart-sdk control: SfMaps documentation: ug --- -# Markers in Flutter Maps (SfMaps) +# Flutter Maps Markers (SfMaps) Markers can be used to denote specific locations on a map. You can use built-in symbols or display custom widgets at specific latitude and longitude coordinates on the map. @@ -473,7 +473,7 @@ You can update multiple markers at the same time by passing indices to the [`upd N> * You can get the current markers count from [`MapShapeLayerController.markersCount`](https://pub.dev/documentation/syncfusion_flutter_maps/latest/maps/MapShapeLayerController/markersCount.html). -* You can refer to this [`snippet`](https://help.syncfusion.com/chart-sdk/flutter/maps/markers#for-tile-layer) to update the markers dynamically for tile layer. +* You can refer to this [`snippet`](https://help.syncfusion.com/flutter/maps/markers#for-tile-layer) to update the markers dynamically for tile layer. {% tabs %} {% highlight Dart %} @@ -563,7 +563,7 @@ You can remove a marker at any index using the [`removeMarkerAt`](https://pub.de N> * You can get the current markers count from [`MapShapeLayerController.markersCount`](https://pub.dev/documentation/syncfusion_flutter_maps/latest/maps/MapShapeLayerController/markersCount.html). -* You can refer to this [`snippet`](https://help.syncfusion.com/chart-sdk/flutter/maps/markers#for-tile-layer) to update the markers dynamically for tile layer. +* You can refer to this [`snippet`](https://help.syncfusion.com/flutter/maps/markers#for-tile-layer) to update the markers dynamically for tile layer. {% tabs %} {% highlight Dart %} @@ -646,7 +646,7 @@ You can clear all markers using the [`clearMarkers`](https://pub.dev/documentati N> * You can get the current markers count from [`MapShapeLayerController.markersCount`](https://pub.dev/documentation/syncfusion_flutter_maps/latest/maps/MapShapeLayerController/markersCount.html). -* You can refer to this [`snippet`](https://help.syncfusion.com/chart-sdk/flutter/maps/markers#for-tile-layer) to update the markers dynamically for tile layer. +* You can refer to this [`snippet`](https://help.syncfusion.com/flutter/maps/markers#for-tile-layer) to update the markers dynamically for tile layer. {% tabs %} {% highlight Dart %} diff --git a/chart-sdk/flutter/maps/overview.md b/chart-sdk/flutter/maps/overview.md index 7ea43ba25..5582a8964 100644 --- a/chart-sdk/flutter/maps/overview.md +++ b/chart-sdk/flutter/maps/overview.md @@ -1,18 +1,16 @@ --- layout: post -title: About Flutter Maps Control | Syncfusion® -description: Learn about the Syncfusion® Flutter Maps (SfMaps), its features, map layers, data visualization capabilities, and customization options. +title: About Flutter Maps widget | Syncfusion +description: Learn here all about the introduction of Syncfusion Flutter Maps (SfMaps) widget, its features, and more. platform: chart-sdk control: SfMaps documentation: ug --- -# About Flutter Maps Control (SfMaps) +# Flutter Maps (SfMaps) Overview [Flutter Maps](https://www.syncfusion.com/flutter-widgets/flutter-maps) is a powerful data visualization component that displays statistical information for geographical areas. Its rich feature set includes tile rendering from OpenStreetMap, Bing Maps, and other tile providers with marker support, as well as shape layer capabilities such as selection, legends, labels, markers, tooltips, bubbles, color mapping, and much more. -To get started with the Flutter Maps widget, refer to the [Getting Started with Flutter Maps](https://help.syncfusion.com/chart-sdk/flutter/maps/getting-started) documentation. - ## Shape layer Render GeoJSON data as geographical shapes or any custom shapes on a shape layer for powerful data visualization. Customize the appearance using built-in options to achieve your desired look. For example, you can render a map of the world or any particular country. @@ -35,7 +33,7 @@ Render GeoJSON data as geographical shapes or any custom shapes on a shape layer * **Tooltip** - Display additional information about shapes and bubbles using customizable tooltips. -* **Zooming and Panning** - Zoom in for a closer look at specific regions by pinching the map, scrolling the mouse wheel or track-pad, or using the toolbar on web platforms. Pan the map to navigate across regions. You can also customize the initial zoom level and center point. +* **Zooming and Panning** - Zoom in for a closer look at specific regions by pinching the map, scrolling the mouse wheel or trackpad, or using the toolbar on web platforms. Pan the map to navigate across regions. You can also customize the initial zoom level and center point. ## Tile layer @@ -47,4 +45,4 @@ The interactive tile layer allows you to load map tiles from web map tile servic * **Markers** - Denote specific locations using built-in symbols or display custom widgets at particular latitude and longitude coordinates on the map. -* **Zooming and Panning** - Zoom in for a closer look at specific regions by pinching the map, scrolling the mouse wheel or track-pad, or using the toolbar on web platforms. Pan the map to navigate across regions. You can also customize the initial zoom level and center point. +* **Zooming and Panning** - Zoom in for a closer look at specific regions by pinching the map, scrolling the mouse wheel or trackpad, or using the toolbar on web platforms. Pan the map to navigate across regions. You can also customize the initial zoom level and center point. diff --git a/chart-sdk/flutter/maps/right-to-left.md b/chart-sdk/flutter/maps/right-to-left.md index 05fc221ef..760de8bd0 100644 --- a/chart-sdk/flutter/maps/right-to-left.md +++ b/chart-sdk/flutter/maps/right-to-left.md @@ -1,15 +1,15 @@ --- layout: post -title: Right-to-Left (RTL) in Flutter Maps | Syncfusion® -description: Learn about right-to-left (RTL) support in Syncfusion® Flutter Maps (SfMaps), including map rendering, localization, and layout customization. +title: RTL in Flutter Maps widget | Syncfusion +description: This section explains about enabling the RTL rendering in the Syncfusion Flutter Maps (SfMaps) widget. platform: chart-sdk control: SfMaps documentation: ug --- -# Right-to-Left (RTL) in Flutter Maps (SfMaps) +# Right to Left (RTL) in Flutter Maps (SfMaps) -## Enable RTL rendering +## RTL rendering ways Right to left rendering can be achieved in the following ways: @@ -20,31 +20,26 @@ The maps can be wrapped inside the [`Directionality`](https://api.flutter.dev/fl {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatelessWidget { - @override - Widget build(BuildContext context) { - return MaterialApp( - home: Scaffold( - body: Directionality( - textDirection: TextDirection.rtl, - child: Center( - child: SfMaps( - layers: [ - MapShapeLayer( - source: const MapShapeSource.asset( - "assets/world_map.json", - shapeDataField: "continent"), - ), - ], - ), - ) - ), - ), - ); - } +@override +Widget build(BuildContext context) { + return MaterialApp( + home: Scaffold( + body: Directionality( + textDirection: TextDirection.rtl, + child: Center( + child: SfMaps( + layers: [ + MapShapeLayer( + source: const MapShapeSource.asset( + "assets/world_map.json", + shapeDataField: "continent"), + ), + ], + ), + ) + ), + ), + ); } {% endhighlight %} @@ -67,36 +62,30 @@ dependencies: {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:flutter_localizations/flutter_localizations.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatelessWidget { - @override - Widget build(BuildContext context) { - return MaterialApp( - localizationsDelegates: [ - GlobalMaterialLocalizations.delegate, - GlobalWidgetsLocalizations.delegate, - ], - supportedLocales: [ - Locale("fa", "IR"), - ], - locale: Locale("fa", "IR"), - home: Scaffold( - backgroundColor: Colors.white, - body: SfMaps( - layers: [ - MapShapeLayer( - source: const MapShapeSource.asset( - "assets/world_map.json", - shapeDataField: "continent"), - ), - ], - ), +@override +Widget build(BuildContext context) { + return MaterialApp( + localizationsDelegates: [ + GlobalMaterialLocalizations.delegate, + GlobalWidgetsLocalizations.delegate, + ], + supportedLocales: [ + Locale("fa", "IR"), + ], + locale: Locale("fa", "IR"), + home: Scaffold( + backgroundColor: Colors.white, + body: SfMaps( + layers: [ + MapShapeLayer( + source: const MapShapeSource.asset( + "assets/world_map.json", + shapeDataField: "continent"), + ), + ], ), - ); - } + ), + ); } {% endhighlight %} @@ -111,61 +100,51 @@ Legend items will be rendered from right to left direction. This is applicable f {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); +late List _data; +late MapShapeSource _mapSource; + +@override +void initState() { + super.initState(); + _data = [ + PopulationModel('Asia', 150, Color.fromRGBO(60, 120, 255, 0.8)), + PopulationModel('Africa', 45, Color.fromRGBO(51, 102, 255, 0.8)), + PopulationModel('Europe', 34, Color.fromRGBO(0, 57, 230, 0.8)), + PopulationModel('South America', 25, Color.fromRGBO(0, 51, 204, 0.8)), + PopulationModel('North America', 28, Color.fromRGBO(0, 38, 153, 0.8)), + PopulationModel('Australia', 5, Color.fromRGBO(0, 45, 179, 0.8)), + ]; + + _mapSource = MapShapeSource.asset( + "assets/world_map.json", + shapeDataField: "continent", + dataCount: _data.length, + primaryValueMapper: (int index) => _data[index].continent, + shapeColorValueMapper: (int index) => _data[index].color, + ); } -class _MapsExampleState extends State { - late List _data; - late MapShapeSource _mapSource; - - @override - void initState() { - super.initState(); - _data = [ - PopulationModel('Asia', 150, Color.fromRGBO(60, 120, 255, 0.8)), - PopulationModel('Africa', 45, Color.fromRGBO(51, 102, 255, 0.8)), - PopulationModel('Europe', 34, Color.fromRGBO(0, 57, 230, 0.8)), - PopulationModel('South America', 25, Color.fromRGBO(0, 51, 204, 0.8)), - PopulationModel('North America', 28, Color.fromRGBO(0, 38, 153, 0.8)), - PopulationModel('Australia', 5, Color.fromRGBO(0, 45, 179, 0.8)), - ]; - - _mapSource = MapShapeSource.asset( - "assets/world_map.json", - shapeDataField: "continent", - dataCount: _data.length, - primaryValueMapper: (int index) => _data[index].continent, - shapeColorValueMapper: (int index) => _data[index].color, - ); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: Center( - child: Container( - padding: const EdgeInsets.only(left: 10, right: 15, top: 30), - height: 350, - child: Directionality( - textDirection: TextDirection.rtl, - child: SfMaps( - layers: [ - MapShapeLayer( - source: _mapSource, - legend: MapLegend(MapElement.shape), - ) - ], - ), +@override +Widget build(BuildContext context) { + return Scaffold( + body: Center( + child: Container( + padding: const EdgeInsets.only(left: 10, right: 15, top: 30), + height: 350, + child: Directionality( + textDirection: TextDirection.rtl, + child: SfMaps( + layers: [ + MapShapeLayer( + source: _mapSource, + legend: MapLegend(MapElement.shape), + ) + ], ), ), ), - ); - } + ), + ); } class PopulationModel { @@ -189,96 +168,86 @@ Tooltip text will be rendered from right to left direction. This is applicable f {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); +late List _data; +late MapShapeSource _mapSource; + +@override +void initState() { + super.initState(); + _data = [ + PopulationModel('Asia', 150, Color.fromRGBO(60, 120, 255, 0.8)), + PopulationModel('Africa', 45, Color.fromRGBO(51, 102, 255, 0.8)), + PopulationModel('Europe', 34, Color.fromRGBO(0, 57, 230, 0.8)), + PopulationModel('South America', 25, Color.fromRGBO(0, 51, 204, 0.8)), + PopulationModel('North America', 28, Color.fromRGBO(0, 38, 153, 0.8)), + PopulationModel('Australia', 5, Color.fromRGBO(0, 45, 179, 0.8)), + ]; + + _mapSource = MapShapeSource.asset( + "assets/world_map.json", + shapeDataField: "continent", + dataCount: _data.length, + primaryValueMapper: (int index) => _data[index].continent, + shapeColorValueMapper: (int index) => _data[index].color, + ); } -class _MapsExampleState extends State { - late List _data; - late MapShapeSource _mapSource; - - @override - void initState() { - super.initState(); - _data = [ - PopulationModel('Asia', 150, Color.fromRGBO(60, 120, 255, 0.8)), - PopulationModel('Africa', 45, Color.fromRGBO(51, 102, 255, 0.8)), - PopulationModel('Europe', 34, Color.fromRGBO(0, 57, 230, 0.8)), - PopulationModel('South America', 25, Color.fromRGBO(0, 51, 204, 0.8)), - PopulationModel('North America', 28, Color.fromRGBO(0, 38, 153, 0.8)), - PopulationModel('Australia', 5, Color.fromRGBO(0, 45, 179, 0.8)), - ]; - - _mapSource = MapShapeSource.asset( - "assets/world_map.json", - shapeDataField: "continent", - dataCount: _data.length, - primaryValueMapper: (int index) => _data[index].continent, - shapeColorValueMapper: (int index) => _data[index].color, - ); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: Center( - child: Container( - padding: const EdgeInsets.only(left: 10, right: 15, top: 30), - height: 350, - child: Directionality( - textDirection: TextDirection.rtl, - child: SfMaps( - layers: [ - MapShapeLayer( - source: _mapSource, - shapeTooltipBuilder: (BuildContext context, int index) { - return Container( - height: 50, - width: 190, - child: Column( - children: [ - Padding( - padding: EdgeInsets.all(5), - child: Row( - children: [ - Text('Continent : '), - Text(_data[index].continent), - ], - ), +@override +Widget build(BuildContext context) { + return Scaffold( + body: Center( + child: Container( + padding: const EdgeInsets.only(left: 10, right: 15, top: 30), + height: 350, + child: Directionality( + textDirection: TextDirection.rtl, + child: SfMaps( + layers: [ + MapShapeLayer( + source: _mapSource, + shapeTooltipBuilder: (BuildContext context, int index) { + return Container( + height: 50, + width: 190, + child: Column( + children: [ + Padding( + padding: EdgeInsets.all(5), + child: Row( + children: [ + Text('Continent : '), + Text(_data[index].continent), + ], ), - Padding( - padding: - EdgeInsets.only(left: 5, right: 5, bottom: 5), - child: Row( - children: [ - Text('Population : '), - Text(_data[index] - .populationDensityPerSqKm - .toStringAsFixed(0) + - ' per sq/km'), - ], - ), + ), + Padding( + padding: + EdgeInsets.only(left: 5, right: 5, bottom: 5), + child: Row( + children: [ + Text('Population : '), + Text(_data[index] + .populationDensityPerSqKm + .toStringAsFixed(0) + + ' per sq/km'), + ], ), - ], - ), - ); - }, - tooltipSettings: const MapTooltipSettings( - color: Colors.white, - strokeColor: Colors.black, - ), - ) - ], - ), + ), + ], + ), + ); + }, + tooltipSettings: const MapTooltipSettings( + color: Colors.white, + strokeColor: Colors.black, + ), + ) + ], ), ), - ), - ); - } + ), + ), + ); } class PopulationModel { diff --git a/chart-sdk/flutter/maps/selection.md b/chart-sdk/flutter/maps/selection.md index c8ff2431b..8f938357e 100644 --- a/chart-sdk/flutter/maps/selection.md +++ b/chart-sdk/flutter/maps/selection.md @@ -1,7 +1,7 @@ --- layout: post -title: Shape Selection in Flutter Maps | Syncfusion® -description: Learn about shape selection in Syncfusion® Flutter Maps (SfMaps), including selection customization, interaction, highlighting, and styling options. +title: Shape Selection in Flutter Maps widget | Syncfusion +description: Learn here all about the Shape Selection feature of Syncfusion Flutter Maps (SfMaps) widget and more. platform: chart-sdk control: SfMaps documentation: ug @@ -17,71 +17,61 @@ You can enable shape selection on a map using the [`MapShapeLayer.onSelectionCha The [`onSelectionChanged`](https://pub.dev/documentation/syncfusion_flutter_maps/latest/maps/MapShapeLayer/onSelectionChanged.html) callback is triggered when a user selects a shape by tapping or clicking, or when a shape is selected programmatically. It provides the index of the selected shape. -N> You must update the selectedIndex in the [`MapShapeLayer.onSelectionChanged`](https://pub.dev/documentation/syncfusion_flutter_maps/latest/maps/MapShapeLayer/onSelectionChanged.html) callback to reflect the changes in the UI. +N> You must call `setState()` in the [`MapShapeLayer.onSelectionChanged`](https://pub.dev/documentation/syncfusion_flutter_maps/latest/maps/MapShapeLayer/onSelectionChanged.html) callback to reflect the changes in the UI. {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); +late List data; +late MapShapeSource dataSource; +int selectedIndex = 1; + +@override +void initState() { + super.initState(); + data = const [ + Model('Asia', 'Asia', Color.fromRGBO(60, 120, 255, 0.8)), + Model('Africa', 'Africa', Color.fromRGBO(51, 102, 255, 0.8)), + Model('Europe', 'Europe', Color.fromRGBO(0, 57, 230, 0.8)), + Model('South America', 'SA', Color.fromRGBO(0, 51, 204, 0.8)), + Model('Australia', 'Australia', Color.fromRGBO(0, 45, 179, 0.8)), + Model('North America', 'NA', Color.fromRGBO(0, 38, 153, 0.8)) + ]; + + dataSource = MapShapeSource.asset( + "assets/world_map.json", + shapeDataField: "continent", + dataCount: data.length, + primaryValueMapper: (int index) => data[index].continent, + shapeColorValueMapper: (int index) => data[index].color, + ); } -class _MapsExampleState extends State { - late List data; - late MapShapeSource dataSource; - int selectedIndex = 1; - - @override - void initState() { - super.initState(); - data = const [ - Model('Asia', 'Asia', Color.fromRGBO(60, 120, 255, 0.8)), - Model('Africa', 'Africa', Color.fromRGBO(51, 102, 255, 0.8)), - Model('Europe', 'Europe', Color.fromRGBO(0, 57, 230, 0.8)), - Model('South America', 'SA', Color.fromRGBO(0, 51, 204, 0.8)), - Model('Australia', 'Australia', Color.fromRGBO(0, 45, 179, 0.8)), - Model('North America', 'NA', Color.fromRGBO(0, 38, 153, 0.8)) - ]; - - dataSource = MapShapeSource.asset( - "assets/world_map.json", - shapeDataField: "continent", - dataCount: data.length, - primaryValueMapper: (int index) => data[index].continent, - shapeColorValueMapper: (int index) => data[index].color, - ); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: Center( - child: Container( - height: 350, - child: Padding( - padding: EdgeInsets.only(left: 15, right: 15), - child: SfMaps( - layers: [ - MapShapeLayer( - source: dataSource, - selectedIndex: selectedIndex, - onSelectionChanged: (int index) { - setState(() { - selectedIndex = index; - }); - }, - ), - ], - ), +@override +Widget build(BuildContext context) { + return Scaffold( + body: Center( + child: Container( + height: 350, + child: Padding( + padding: EdgeInsets.only(left: 15, right: 15), + child: SfMaps( + layers: [ + MapShapeLayer( + source: dataSource, + selectedIndex: selectedIndex, + onSelectionChanged: (int index) { + setState(() { + selectedIndex = index; + }); + }, + ), + ], ), ), ), - ); - } + ), + ); } class Model { @@ -111,71 +101,61 @@ You can customize the following aspects of the selected shape: {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); +late List data; +late MapShapeSource dataSource; +int selectedIndex = 5; + +@override +void initState() { + super.initState(); + data = const [ + Model('Asia', 'Asia', Color.fromRGBO(60, 120, 255, 0.8)), + Model('Africa', 'Africa', Color.fromRGBO(51, 102, 255, 0.8)), + Model('Europe', 'Europe', Color.fromRGBO(0, 57, 230, 0.8)), + Model('South America', 'SA', Color.fromRGBO(0, 51, 204, 0.8)), + Model('Australia', 'Australia', Color.fromRGBO(0, 45, 179, 0.8)), + Model('North America', 'NA', Color.fromRGBO(0, 38, 153, 0.8)) + ]; + + dataSource = MapShapeSource.asset( + "assets/world_map.json", + shapeDataField: "continent", + dataCount: data.length, + primaryValueMapper: (int index) => data[index].continent, + shapeColorValueMapper: (int index) => data[index].color, + ); } -class _MapsExampleState extends State { - late List data; - late MapShapeSource dataSource; - int selectedIndex = 5; - - @override - void initState() { - super.initState(); - data = const [ - Model('Asia', 'Asia', Color.fromRGBO(60, 120, 255, 0.8)), - Model('Africa', 'Africa', Color.fromRGBO(51, 102, 255, 0.8)), - Model('Europe', 'Europe', Color.fromRGBO(0, 57, 230, 0.8)), - Model('South America', 'SA', Color.fromRGBO(0, 51, 204, 0.8)), - Model('Australia', 'Australia', Color.fromRGBO(0, 45, 179, 0.8)), - Model('North America', 'NA', Color.fromRGBO(0, 38, 153, 0.8)) - ]; - - dataSource = MapShapeSource.asset( - "assets/world_map.json", - shapeDataField: "continent", - dataCount: data.length, - primaryValueMapper: (int index) => data[index].continent, - shapeColorValueMapper: (int index) => data[index].color, - ); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: Center( - child: Container( - height: 350, - child: Padding( - padding: EdgeInsets.only(left: 15, right: 15), - child: SfMaps( - layers: [ - MapShapeLayer( - source: dataSource, - selectedIndex: selectedIndex, - onSelectionChanged: (int index) { - setState(() { - selectedIndex = index; - }); - }, - selectionSettings: MapSelectionSettings( - color: Colors.orange, - strokeColor: Colors.red[900], - strokeWidth: 3, - ), - ), - ], - ), +@override +Widget build(BuildContext context) { + return Scaffold( + body: Center( + child: Container( + height: 350, + child: Padding( + padding: EdgeInsets.only(left: 15, right: 15), + child: SfMaps( + layers: [ + MapShapeLayer( + source: dataSource, + selectedIndex: selectedIndex, + onSelectionChanged: (int index) { + setState(() { + selectedIndex = index; + }); + }, + selectionSettings: MapSelectionSettings( + color: Colors.orange, + strokeColor: Colors.red[900], + strokeWidth: 3, + ), + ), + ], ), ), ), - ); - } + ), + ); } class Model { @@ -202,74 +182,63 @@ N> You must import the `theme.dart` library from the [`Core`](https://pub.dev/pa {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; -import 'package:syncfusion_flutter_core/theme.dart'; - -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); +late List data; +late MapShapeSource dataSource; +int selectedIndex = 5; + +@override +void initState() { + super.initState(); + data = const [ + Model('Asia', 'Asia', Color.fromRGBO(60, 120, 255, 0.8)), + Model('Africa', 'Africa', Color.fromRGBO(51, 102, 255, 0.8)), + Model('Europe', 'Europe', Color.fromRGBO(0, 57, 230, 0.8)), + Model('South America', 'SA', Color.fromRGBO(0, 51, 204, 0.8)), + Model('Australia', 'Australia', Color.fromRGBO(0, 45, 179, 0.8)), + Model('North America', 'NA', Color.fromRGBO(0, 38, 153, 0.8)) + ]; + + dataSource = MapShapeSource.asset( + "assets/world_map.json", + shapeDataField: "continent", + dataCount: data.length, + primaryValueMapper: (int index) => data[index].continent, + shapeColorValueMapper: (int index) => data[index].color, + ); } -class _MapsExampleState extends State { - late List data; - late MapShapeSource dataSource; - int selectedIndex = 5; - - @override - void initState() { - super.initState(); - data = const [ - Model('Asia', 'Asia', Color.fromRGBO(60, 120, 255, 0.8)), - Model('Africa', 'Africa', Color.fromRGBO(51, 102, 255, 0.8)), - Model('Europe', 'Europe', Color.fromRGBO(0, 57, 230, 0.8)), - Model('South America', 'SA', Color.fromRGBO(0, 51, 204, 0.8)), - Model('Australia', 'Australia', Color.fromRGBO(0, 45, 179, 0.8)), - Model('North America', 'NA', Color.fromRGBO(0, 38, 153, 0.8)) - ]; - - dataSource = MapShapeSource.asset( - "assets/world_map.json", - shapeDataField: "continent", - dataCount: data.length, - primaryValueMapper: (int index) => data[index].continent, - shapeColorValueMapper: (int index) => data[index].color, - ); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: Center( - child: Container( - height: 350, - child: Padding( - padding: EdgeInsets.only(left: 15, right: 15), - child: SfMapsTheme( - data: SfMapsThemeData( - selectionColor: Colors.orange, - selectionStrokeWidth: 3, - selectionStrokeColor: Colors.red[900], - ), - child: SfMaps( - layers: [ - MapShapeLayer( - source: dataSource, - selectedIndex: selectedIndex, - onSelectionChanged: (int index) { - setState(() { - selectedIndex = index; - }); - }, - ), - ], - ), - ) - ), +@override +Widget build(BuildContext context) { + return Scaffold( + body: Center( + child: Container( + height: 350, + child: Padding( + padding: EdgeInsets.only(left: 15, right: 15), + child: SfMapsTheme( + data: SfMapsThemeData( + selectionColor: Colors.orange, + selectionStrokeWidth: 3, + selectionStrokeColor: Colors.red[900], + ), + child: SfMaps( + layers: [ + MapShapeLayer( + source: dataSource, + selectedIndex: selectedIndex, + onSelectionChanged: (int index) { + setState(() { + selectedIndex = index; + }); + }, + ), + ], + ), + ) ), ), - ); - } + ), + ); } class Model { diff --git a/chart-sdk/flutter/maps/shape-sublayer.md b/chart-sdk/flutter/maps/shape-sublayer.md index df902dfd4..89ea22999 100644 --- a/chart-sdk/flutter/maps/shape-sublayer.md +++ b/chart-sdk/flutter/maps/shape-sublayer.md @@ -1,7 +1,7 @@ --- layout: post -title: Shape Sublayer in Flutter Maps | Syncfusion® -description: Learn about shape sublayers in Syncfusion® Flutter Maps (SfMaps), including shape layer customization, data visualization, and map overlays. +title: Shape Sublayer in Flutter Maps widget | Syncfusion +description: Learn here all about the Shape Sublayer feature of the Syncfusion Flutter Maps (SfMaps) widget in the tile and the shape layer. platform: chart-sdk control: SfMaps documentation: ug @@ -9,7 +9,7 @@ documentation: ug # Shape Sublayer in Flutter Maps (SfMaps) -The shape sublayer is where geographical rendering happens for the sublayer. This is similar to the main [`shape layer`](https://help.syncfusion.com/chart-sdk/flutter/maps/getting-started#add-a-geojson-file-for-shape-layer) rendering. This section explains how to add a shape sublayer on both the shape layer and tile layer. +The shape sublayer is where geographical rendering happens for the sublayer. This is similar to the main [`shape layer`](https://help.syncfusion.com/flutter/maps/getting-started#add-a-geojson-file-for-shape-layer) rendering. This section explains how to add a shape sublayer on both the shape layer and tile layer. ## Shape sublayer on tile layer @@ -20,47 +20,37 @@ The [`shapeDataField`](https://pub.dev/documentation/syncfusion_flutter_maps/lat {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; +late MapShapeSource _sublayerSource; -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); -} - -class _MapsExampleState extends State { - late MapShapeSource _sublayerSource; +@override +void initState() { + super.initState(); - @override - void initState() { - super.initState(); + _sublayerSource = MapShapeSource.asset( + 'assets/africa.json', + shapeDataField: 'name', + ); +} - _sublayerSource = MapShapeSource.asset( - 'assets/africa.json', - shapeDataField: 'name', - ); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: Padding( - padding: const EdgeInsets.only(left: 15, right: 15), - child: SfMaps( - layers: [ - MapTileLayer( - urlTemplate: 'https://tile.openstreetmap.org/{z}/{x}/{y}.png', - sublayers: [ - MapShapeSublayer( - source: _sublayerSource, - ), - ], +@override +Widget build(BuildContext context) { +return Scaffold( + body: Padding( + padding: const EdgeInsets.only(left: 15, right: 15), + child: SfMaps( + layers: [ + MapTileLayer( + urlTemplate: 'https://tile.openstreetmap.org/{z}/{x}/{y}.png', + sublayers: [ + MapShapeSublayer( + source: _sublayerSource, ), ], - ), - ), - ); - } + ), + ], + ), + ), + ); } {% endhighlight %} @@ -80,52 +70,42 @@ The [`shapeDataField`](https://pub.dev/documentation/syncfusion_flutter_maps/lat {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; +late MapShapeSource _shapeSource; +late MapShapeSource _sublayerSource; -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); -} - -class _MapsExampleState extends State { - late MapShapeSource _shapeSource; - late MapShapeSource _sublayerSource; +@override +void initState() { + super.initState(); + _shapeSource = MapShapeSource.asset( + "assets/world_map.json", + shapeDataField: "continent", + ); - @override - void initState() { - super.initState(); - _shapeSource = MapShapeSource.asset( - "assets/world_map.json", - shapeDataField: "continent", - ); + _sublayerSource = MapShapeSource.asset( + 'assets/africa.json', + shapeDataField: 'name', + ); +} - _sublayerSource = MapShapeSource.asset( - 'assets/africa.json', - shapeDataField: 'name', - ); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: Padding( - padding: const EdgeInsets.only(left: 15, right: 15), - child: SfMaps( - layers: [ - MapShapeLayer( - source: _shapeSource, - sublayers: [ - MapShapeSublayer( - source: _sublayerSource, - ), - ], +@override +Widget build(BuildContext context) { +return Scaffold( + body: Padding( + padding: const EdgeInsets.only(left: 15, right: 15), + child: SfMaps( + layers: [ + MapShapeLayer( + source: _shapeSource, + sublayers: [ + MapShapeSublayer( + source: _sublayerSource, ), ], - ), - ), - ); - } + ), + ], + ), + ), + ); } {% endhighlight %} @@ -145,55 +125,45 @@ N> It is applicable for both tile layer and shape layer. {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; +late MapShapeSource _shapeSource; +late MapShapeSource _sublayerSource; -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); -} - -class _MapsExampleState extends State { - late MapShapeSource _shapeSource; - late MapShapeSource _sublayerSource; +@override +void initState() { + super.initState(); + _shapeSource = MapShapeSource.asset( + "assets/world_map.json", + shapeDataField: "continent", + ); - @override - void initState() { - super.initState(); - _shapeSource = MapShapeSource.asset( - "assets/world_map.json", - shapeDataField: "continent", - ); + _sublayerSource = MapShapeSource.asset( + 'assets/africa.json', + shapeDataField: 'name', + ); +} - _sublayerSource = MapShapeSource.asset( - 'assets/africa.json', - shapeDataField: 'name', - ); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: Padding( - padding: const EdgeInsets.only(left: 15, right: 15), - child: SfMaps( - layers: [ - MapShapeLayer( - source: _shapeSource, - sublayers: [ - MapShapeSublayer( - source: _sublayerSource, - color: Colors.blue[100], - strokeWidth: 2, - strokeColor: Colors.blue[800], - ), - ], +@override +Widget build(BuildContext context) { +return Scaffold( + body: Padding( + padding: const EdgeInsets.only(left: 15, right: 15), + child: SfMaps( + layers: [ + MapShapeLayer( + source: _shapeSource, + sublayers: [ + MapShapeSublayer( + source: _sublayerSource, + color: Colors.blue[100], + strokeWidth: 2, + strokeColor: Colors.blue[800], ), ], - ), - ), - ); - } + ), + ], + ), + ), + ); } {% endhighlight %} @@ -208,70 +178,60 @@ You can apply color to the sublayer shape by comparing a value that returns from {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; +late List data; +late MapShapeSource sublayerDataSource; +late MapShapeSource shapeDataSource; + +@override +void initState() { + data = [ + Model('Algeria', "Low"), + Model('Nigeria', "High"), + Model('Libya', "High"), + ]; + + shapeDataSource = MapShapeSource.asset( + "assets/world_map.json", + shapeDataField: 'continent', + ); -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); + sublayerDataSource = MapShapeSource.asset( + "assets/africa.json", + shapeDataField: "name", + dataCount: data.length, + primaryValueMapper: (int index) { + return data[index].state; + }, + shapeColorValueMapper: (int index) { + return data[index].storage; + }, + shapeColorMappers: [ + MapColorMapper(value: "Low", color: Colors.red), + MapColorMapper(value: "High", color: Colors.green) + ], + ); + super.initState(); } -class _MapsExampleState extends State { - late List data; - late MapShapeSource sublayerDataSource; - late MapShapeSource shapeDataSource; - - @override - void initState() { - data = [ - Model('Algeria', "Low"), - Model('Nigeria', "High"), - Model('Libya', "High"), - ]; - - shapeDataSource = MapShapeSource.asset( - "assets/world_map.json", - shapeDataField: 'continent', - ); - - sublayerDataSource = MapShapeSource.asset( - "assets/africa.json", - shapeDataField: "name", - dataCount: data.length, - primaryValueMapper: (int index) { - return data[index].state; - }, - shapeColorValueMapper: (int index) { - return data[index].storage; - }, - shapeColorMappers: [ - MapColorMapper(value: "Low", color: Colors.red), - MapColorMapper(value: "High", color: Colors.green) - ], - ); - super.initState(); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: Padding( - padding: EdgeInsets.only(left: 15, right: 15), - child: SfMaps( - layers: [ - MapShapeLayer( - source: shapeDataSource, - sublayers: [ - MapShapeSublayer( - source: sublayerDataSource, - ) - ], - ), - ], - ), +@override +Widget build(BuildContext context) { + return Scaffold( + body: Padding( + padding: EdgeInsets.only(left: 15, right: 15), + child: SfMaps( + layers: [ + MapShapeLayer( + source: shapeDataSource, + sublayers: [ + MapShapeSublayer( + source: sublayerDataSource, + ) + ], + ), + ], ), - ); - } + ), + ); } class Model { @@ -293,68 +253,58 @@ You can apply color to the sublayer shape based on whether the value returned fr {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; +late List data; +late MapShapeSource sublayerDataSource; +late MapShapeSource shapeDataSource; -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); +@override +void initState() { + data = [ + Model('Algeria', 196), + Model('Nigeria', 280), + Model('Libya', 45), + ]; + + shapeDataSource = MapShapeSource.asset( + "assets/world_map.json", + shapeDataField: 'continent', + ); + + sublayerDataSource = MapShapeSource.asset( + "assets/africa.json", + shapeDataField: "name", + dataCount: data.length, + primaryValueMapper: (int index) { + return data[index].state; + }, + shapeColorValueMapper: (int index) => data[index].count, + shapeColorMappers: [ + MapColorMapper(from: 0, to: 100, color: Colors.red), + MapColorMapper(from: 101, to: 300, color: Colors.green) + ], + ); + super.initState(); } -class _MapsExampleState extends State { - late List data; - late MapShapeSource sublayerDataSource; - late MapShapeSource shapeDataSource; - - @override - void initState() { - data = [ - Model('Algeria', 196), - Model('Nigeria', 280), - Model('Libya', 45), - ]; - - shapeDataSource = MapShapeSource.asset( - "assets/world_map.json", - shapeDataField: 'continent', - ); - - sublayerDataSource = MapShapeSource.asset( - "assets/africa.json", - shapeDataField: "name", - dataCount: data.length, - primaryValueMapper: (int index) { - return data[index].state; - }, - shapeColorValueMapper: (int index) => data[index].count, - shapeColorMappers: [ - MapColorMapper(from: 0, to: 100, color: Colors.red), - MapColorMapper(from: 101, to: 300, color: Colors.green) - ], - ); - super.initState(); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: Padding( - padding: EdgeInsets.only(left: 15, right: 15), - child: SfMaps( - layers: [ - MapShapeLayer( - source: shapeDataSource, - sublayers: [ - MapShapeSublayer( - source: sublayerDataSource, - ) - ], - ), - ], - ), +@override +Widget build(BuildContext context) { + return Scaffold( + body: Padding( + padding: EdgeInsets.only(left: 15, right: 15), + child: SfMaps( + layers: [ + MapShapeLayer( + source: shapeDataSource, + sublayers: [ + MapShapeSublayer( + source: sublayerDataSource, + ) + ], + ), + ], ), - ); - } + ), + ); } class Model { @@ -373,88 +323,81 @@ class Model { You can enable data labels for the shape sublayer using the [`showDataLabels`](https://pub.dev/documentation/syncfusion_flutter_maps/latest/maps/MapShapeSublayer/showDataLabels.html) property and customize the data labels text using the [`dataLabelMapper`](https://pub.dev/documentation/syncfusion_flutter_maps/latest/maps/MapShapeSource/dataLabelMapper.html) property. -N> Refer to the [`DataLabels`](https://help.syncfusion.com/chart-sdk/flutter/maps/data-labels) section, for customizing data labels. +N> Refer to the [`DataLabels`](https://help.syncfusion.com/flutter/maps/data-labels) section, for customizing data labels. {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); +late MapShapeSource _shapeSource; +late MapShapeSource _sublayerSource; +late List _sublayerData; +late MapZoomPanBehavior _zoomPanBehavior; + +@override +void initState() { + super.initState(); + _shapeSource = MapShapeSource.asset( + "assets/world_map.json", + shapeDataField: "continent", + ); + + _sublayerData = [ + DataModel('Algeria', Colors.green, 'Algeria'), + DataModel('Libya', Colors.teal, 'Libya'), + DataModel('Egypt', Colors.blue, 'Egypt'), + DataModel('Mali', Colors.purple, 'Mali'), + DataModel('Niger', Colors.indigo, 'Niger'), + DataModel('Nigeria', Colors.purpleAccent, 'Nigeria'), + DataModel('Chad', Colors.lightGreen, 'Chad'), + DataModel('Sudan', Colors.redAccent, 'Sudan'), + DataModel('Mauritania', Colors.orange, 'Mauritania'), + DataModel('South Sudan', Colors.lime, 'South Sudan'), + DataModel('Ethiopia', Colors.greenAccent, 'Ethiopia') + ]; + + _sublayerSource = MapShapeSource.asset( + 'assets/africa.json', + shapeDataField: 'name', + dataCount: _sublayerData.length, + primaryValueMapper: (int index) => _sublayerData[index].key, + dataLabelMapper: (int index) => _sublayerData[index].stateCode, + ); + _zoomPanBehavior = MapZoomPanBehavior( + zoomLevel: 3, + focalLatLng: MapLatLng(38.9637, 35.2433), + ); } -class _MapsExampleState extends State { - late MapShapeSource _shapeSource; - late MapShapeSource _sublayerSource; - late List _sublayerData; - late MapZoomPanBehavior _zoomPanBehavior; - - @override - void initState() { - super.initState(); - _shapeSource = MapShapeSource.asset( - "assets/world_map.json", - shapeDataField: "continent", - ); - - _sublayerData = [ - DataModel('Algeria', Colors.green, 'Algeria'), - DataModel('Libya', Colors.teal, 'Libya'), - DataModel('Egypt', Colors.blue, 'Egypt'), - DataModel('Mali', Colors.purple, 'Mali'), - DataModel('Niger', Colors.indigo, 'Niger'), - DataModel('Nigeria', Colors.purpleAccent, 'Nigeria'), - DataModel('Chad', Colors.lightGreen, 'Chad'), - DataModel('Sudan', Colors.redAccent, 'Sudan'), - DataModel('Mauritania', Colors.orange, 'Mauritania'), - DataModel('South Sudan', Colors.lime, 'South Sudan'), - DataModel('Ethiopia', Colors.greenAccent, 'Ethiopia') - ]; - - _sublayerSource = MapShapeSource.asset( - 'assets/africa.json', - shapeDataField: 'name', - dataCount: _sublayerData.length, - primaryValueMapper: (int index) => _sublayerData[index].key, - dataLabelMapper: (int index) => _sublayerData[index].stateCode, - ); - _zoomPanBehavior = MapZoomPanBehavior( - zoomLevel: 3, - focalLatLng: MapLatLng(38.9637, 35.2433), - ); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: SfMaps( - layers: [ - MapShapeLayer( - source: _shapeSource, - zoomPanBehavior: _zoomPanBehavior, - sublayers: [ - MapShapeSublayer( - source: _sublayerSource, - showDataLabels: true, - dataLabelSettings: const MapDataLabelSettings( - overflowMode: MapLabelOverflow.ellipsis, - textStyle: const TextStyle( - color: Colors.red, - fontSize: 12, - fontWeight: FontWeight.bold, - fontStyle: FontStyle.italic, - fontFamily: 'Times'), - ), +@override +Widget build(BuildContext context) { + return Scaffold( + body: SfMaps( + layers: [ + MapShapeLayer( + source: _shapeSource, + zoomPanBehavior: _zoomPanBehavior, + sublayers: [ + MapShapeSublayer( + source: _sublayerSource, + showDataLabels: true, + dataLabelSettings: const MapDataLabelSettings( + overflowMode: MapLabelOverflow.ellipsis, + textStyle: const TextStyle( + color: Colors.red, + fontSize: 12, + fontWeight: FontWeight.bold, + fontStyle: FontStyle.italic, + fontFamily: 'Times'), ), - ], - ), - ], - ), - ); - } + ), + ], + ), + ], + ), + ); +} + +class DataModel { DataModel(this.key, this.color, this.stateCode); final String key; @@ -473,110 +416,100 @@ You can enable bubbles for the shape sublayer using the [`bubbleSizeMapper`](htt N> It is applicable for both tile layer and shape layer. -N> Refer to the [`Bubbles`](https://help.syncfusion.com/chart-sdk/flutter/maps/bubble#tooltip-for-the-bubbles) section, to know more about the bubbles customization. +N> Refer to the [`Bubbles`](https://help.syncfusion.com/flutter/maps/bubble#tooltip-for-the-bubbles) section, to know more about the bubbles customization. {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); +late MapShapeSource _shapeSource; +late MapShapeSource _sublayerSource; +late List _sublayerData; +late MapZoomPanBehavior _zoomPanBehavior; + +@override +void initState() { + super.initState(); + _shapeSource = MapShapeSource.asset( + "assets/world_map.json", + shapeDataField: "continent", + ); + + _sublayerData = [ + DataModel('Algeria', Colors.green, 36232), + DataModel('Libya', Colors.teal, 34121), + DataModel('Egypt', Colors.blue, 43453), + DataModel('Mali', Colors.purple, 28123), + DataModel('Niger', Colors.indigo, 40111), + DataModel('Nigeria', Colors.purpleAccent, 30232), + DataModel('Chad', Colors.lightGreen, 48132), + DataModel('Sudan', Colors.redAccent, 52654), + DataModel('Mauritania', Colors.orange, 42231), + DataModel('South Sudan', Colors.lime, 40421), + DataModel('Ethiopia', Colors.greenAccent, 27198) + ]; + + _sublayerSource = MapShapeSource.asset( + 'assets/africa.json', + shapeDataField: 'name', + dataCount: _sublayerData.length, + primaryValueMapper: (int index) => _sublayerData[index].key, + bubbleColorValueMapper: (int index) => _sublayerData[index].color, + bubbleSizeMapper: (int index) => _sublayerData[index].size, + ); + _zoomPanBehavior = MapZoomPanBehavior( + zoomLevel: 3, + focalLatLng: MapLatLng(38.9637, 35.2433), + ); } -class _MapsExampleState extends State { - late MapShapeSource _shapeSource; - late MapShapeSource _sublayerSource; - late List _sublayerData; - late MapZoomPanBehavior _zoomPanBehavior; - - @override - void initState() { - super.initState(); - _shapeSource = MapShapeSource.asset( - "assets/world_map.json", - shapeDataField: "continent", - ); - - _sublayerData = [ - DataModel('Algeria', Colors.green, 36232), - DataModel('Libya', Colors.teal, 34121), - DataModel('Egypt', Colors.blue, 43453), - DataModel('Mali', Colors.purple, 28123), - DataModel('Niger', Colors.indigo, 40111), - DataModel('Nigeria', Colors.purpleAccent, 30232), - DataModel('Chad', Colors.lightGreen, 48132), - DataModel('Sudan', Colors.redAccent, 52654), - DataModel('Mauritania', Colors.orange, 42231), - DataModel('South Sudan', Colors.lime, 40421), - DataModel('Ethiopia', Colors.greenAccent, 27198) - ]; - - _sublayerSource = MapShapeSource.asset( - 'assets/africa.json', - shapeDataField: 'name', - dataCount: _sublayerData.length, - primaryValueMapper: (int index) => _sublayerData[index].key, - bubbleColorValueMapper: (int index) => _sublayerData[index].color, - bubbleSizeMapper: (int index) => _sublayerData[index].size, - ); - _zoomPanBehavior = MapZoomPanBehavior( - zoomLevel: 3, - focalLatLng: MapLatLng(38.9637, 35.2433), - ); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: SfMaps( - layers: [ - MapShapeLayer( - source: _shapeSource, - zoomPanBehavior: _zoomPanBehavior, - sublayers: [ - MapShapeSublayer( - source: _sublayerSource, - bubbleSettings: const MapBubbleSettings( - minRadius: 5, - maxRadius: 20, - ), - bubbleTooltipBuilder: (BuildContext context, int index) { - return Container( - height: 40, - width: 120, - padding: const EdgeInsets.all(5), - child: Column( - children: [ - Row( - children: [ - Text('State : ', - style: TextStyle(color: Colors.white)), - Text(_sublayerData[index].key, - style: TextStyle(color: Colors.white)), - ], - ), - Row( - children: [ - Text('Population : ', - style: TextStyle(color: Colors.white)), - Text(_sublayerData[index].size.toStringAsFixed(0), - style: TextStyle(color: Colors.white)), - ], - ), - ], - ), - ); - }, +@override +Widget build(BuildContext context) { + return Scaffold( + body: SfMaps( + layers: [ + MapShapeLayer( + source: _shapeSource, + zoomPanBehavior: _zoomPanBehavior, + sublayers: [ + MapShapeSublayer( + source: _sublayerSource, + bubbleSettings: const MapBubbleSettings( + minRadius: 5, + maxRadius: 20, ), - ], - ), - ], - ), - ); - } + bubbleTooltipBuilder: (BuildContext context, int index) { + return Container( + height: 40, + width: 120, + padding: const EdgeInsets.all(5), + child: Column( + children: [ + Row( + children: [ + Text('State : ', + style: TextStyle(color: Colors.white)), + Text(_sublayerData[index].key, + style: TextStyle(color: Colors.white)), + ], + ), + Row( + children: [ + Text('Population : ', + style: TextStyle(color: Colors.white)), + Text(_sublayerData[index].size.toStringAsFixed(0), + style: TextStyle(color: Colors.white)), + ], + ), + ], + ), + ); + }, + ), + ], + ), + ], + ), + ); } class DataModel { @@ -598,105 +531,95 @@ You can enable tooltips for the shape sublayer using the [`shapeTooltipBuilder`] N> It is applicable for both tile layer and shape layer. -N> Refer to the [`Tooltip`](https://help.syncfusion.com/chart-sdk/flutter/maps/tooltip) section to know more about the tooltip customization. +N> Refer to the [`Tooltip`](https://help.syncfusion.com/flutter/maps/tooltip) section to know more about the tooltip customization. {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; +late MapShapeSource _shapeSource; +late MapShapeSource _sublayerSource; +late List _sublayerData; +late MapZoomPanBehavior _zoomPanBehavior; -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); -} +@override +void initState() { + super.initState(); + _shapeSource = MapShapeSource.asset( + "assets/world_map.json", + shapeDataField: "continent", + ); -class _MapsExampleState extends State { - late MapShapeSource _shapeSource; - late MapShapeSource _sublayerSource; - late List _sublayerData; - late MapZoomPanBehavior _zoomPanBehavior; - - @override - void initState() { - super.initState(); - _shapeSource = MapShapeSource.asset( - "assets/world_map.json", - shapeDataField: "continent", - ); + _sublayerData = [ + DataModel('Algeria', Colors.green, 36232), + DataModel('Libya', Colors.teal, 34121), + DataModel('Egypt', Colors.blue, 43453), + DataModel('Mali', Colors.purple, 28123), + DataModel('Niger', Colors.indigo, 40111), + DataModel('Nigeria', Colors.purpleAccent, 30232), + DataModel('Chad', Colors.lightGreen, 48132), + DataModel('Sudan', Colors.redAccent, 52654), + DataModel('Mauritania', Colors.orange, 42231), + DataModel('South Sudan', Colors.lime, 40421), + DataModel('Ethiopia', Colors.greenAccent, 27198) + ]; - _sublayerData = [ - DataModel('Algeria', Colors.green, 36232), - DataModel('Libya', Colors.teal, 34121), - DataModel('Egypt', Colors.blue, 43453), - DataModel('Mali', Colors.purple, 28123), - DataModel('Niger', Colors.indigo, 40111), - DataModel('Nigeria', Colors.purpleAccent, 30232), - DataModel('Chad', Colors.lightGreen, 48132), - DataModel('Sudan', Colors.redAccent, 52654), - DataModel('Mauritania', Colors.orange, 42231), - DataModel('South Sudan', Colors.lime, 40421), - DataModel('Ethiopia', Colors.greenAccent, 27198) - ]; + _sublayerSource = MapShapeSource.asset( + 'assets/africa.json', + shapeDataField: 'name', + dataCount: _sublayerData.length, + primaryValueMapper: (int index) => _sublayerData[index].key, + shapeColorValueMapper: (int index) => _sublayerData[index].color, + ); + _zoomPanBehavior = MapZoomPanBehavior( + zoomLevel: 3, + focalLatLng: MapLatLng(38.9637, 35.2433), + ); +} - _sublayerSource = MapShapeSource.asset( - 'assets/africa.json', - shapeDataField: 'name', - dataCount: _sublayerData.length, - primaryValueMapper: (int index) => _sublayerData[index].key, - shapeColorValueMapper: (int index) => _sublayerData[index].color, - ); - _zoomPanBehavior = MapZoomPanBehavior( - zoomLevel: 3, - focalLatLng: MapLatLng(38.9637, 35.2433), - ); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: SfMaps( - layers: [ - MapShapeLayer( - source: _shapeSource, - zoomPanBehavior: _zoomPanBehavior, - sublayers: [ - MapShapeSublayer( - source: _sublayerSource, - shapeTooltipBuilder: (BuildContext context, int index) { - return Container( - height: 40, - width: 120, - padding: const EdgeInsets.all(5), - child: Column( - children: [ - Row( - children: [ - Text('State : ', - style: TextStyle(color: Colors.white)), - Text(_sublayerData[index].key, - style: TextStyle(color: Colors.white)), - ], - ), - Row( - children: [ - Text('Population : ', - style: TextStyle(color: Colors.white)), - Text(_sublayerData[index].size.toStringAsFixed(0), - style: TextStyle(color: Colors.white)), - ], - ), - ], - ), - ); - }, - ), - ], - ), - ], - ), - ); - } +@override +Widget build(BuildContext context) { + return Scaffold( + body: SfMaps( + layers: [ + MapShapeLayer( + source: _shapeSource, + zoomPanBehavior: _zoomPanBehavior, + sublayers: [ + MapShapeSublayer( + source: _sublayerSource, + shapeTooltipBuilder: (BuildContext context, int index) { + return Container( + height: 40, + width: 120, + padding: const EdgeInsets.all(5), + child: Column( + children: [ + Row( + children: [ + Text('State : ', + style: TextStyle(color: Colors.white)), + Text(_sublayerData[index].key, + style: TextStyle(color: Colors.white)), + ], + ), + Row( + children: [ + Text('Population : ', + style: TextStyle(color: Colors.white)), + Text(_sublayerData[index].size.toStringAsFixed(0), + style: TextStyle(color: Colors.white)), + ], + ), + ], + ), + ); + }, + ), + ], + ), + ], + ), + ); } class DataModel { @@ -722,90 +645,80 @@ If the selected shape is tapped or clicked again, the index will be passed as -1 N> It is applicable for both tile layer and shape layer. -N> Refer the [`Shape selection`](https://help.syncfusion.com/chart-sdk/flutter/maps/selection) section to know more about the selection feature. +N> Refer the [`Shape selection`](https://help.syncfusion.com/flutter/maps/selection) section to know more about the selection feature. {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; +late MapShapeSource _shapeSource; +late MapShapeSource _sublayerSource; +late List _sublayerData; +late MapZoomPanBehavior _zoomPanBehavior; +int _selectedIndex = 0; + +@override +void initState() { + super.initState(); + _shapeSource = MapShapeSource.asset( + "assets/world_map.json", + shapeDataField: "continent", + ); + + _sublayerData = [ + DataModel('Algeria', Colors.green, 36232), + DataModel('Libya', Colors.teal, 34121), + DataModel('Egypt', Colors.blue, 43453), + DataModel('Mali', Colors.purple, 28123), + DataModel('Niger', Colors.indigo, 40111), + DataModel('Nigeria', Colors.purpleAccent, 30232), + DataModel('Chad', Colors.lightGreen, 48132), + DataModel('Sudan', Colors.redAccent, 52654), + DataModel('Mauritania', Colors.orange, 42231), + DataModel('South Sudan', Colors.lime, 40421), + DataModel('Ethiopia', Colors.greenAccent, 27198) + ]; -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); + _sublayerSource = MapShapeSource.asset( + 'assets/africa.json', + shapeDataField: 'name', + dataCount: _sublayerData.length, + primaryValueMapper: (int index) => _sublayerData[index].key, + shapeColorValueMapper: (int index) => _sublayerData[index].color, + ); + _zoomPanBehavior = MapZoomPanBehavior( + zoomLevel: 3, + focalLatLng: MapLatLng(38.9637, 35.2433), + ); } -class _MapsExampleState extends State { - late MapShapeSource _shapeSource; - late MapShapeSource _sublayerSource; - late List _sublayerData; - late MapZoomPanBehavior _zoomPanBehavior; - int _selectedIndex = 0; - - @override - void initState() { - super.initState(); - _shapeSource = MapShapeSource.asset( - "assets/world_map.json", - shapeDataField: "continent", - ); - - _sublayerData = [ - DataModel('Algeria', Colors.green, 36232), - DataModel('Libya', Colors.teal, 34121), - DataModel('Egypt', Colors.blue, 43453), - DataModel('Mali', Colors.purple, 28123), - DataModel('Niger', Colors.indigo, 40111), - DataModel('Nigeria', Colors.purpleAccent, 30232), - DataModel('Chad', Colors.lightGreen, 48132), - DataModel('Sudan', Colors.redAccent, 52654), - DataModel('Mauritania', Colors.orange, 42231), - DataModel('South Sudan', Colors.lime, 40421), - DataModel('Ethiopia', Colors.greenAccent, 27198) - ]; - - _sublayerSource = MapShapeSource.asset( - 'assets/africa.json', - shapeDataField: 'name', - dataCount: _sublayerData.length, - primaryValueMapper: (int index) => _sublayerData[index].key, - shapeColorValueMapper: (int index) => _sublayerData[index].color, - ); - _zoomPanBehavior = MapZoomPanBehavior( - zoomLevel: 3, - focalLatLng: MapLatLng(38.9637, 35.2433), - ); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: SfMaps( - layers: [ - MapShapeLayer( - source: _shapeSource, - zoomPanBehavior: _zoomPanBehavior, - sublayers: [ - MapShapeSublayer( - source: _sublayerSource, - selectedIndex: _selectedIndex, - onSelectionChanged: (int index) { - setState(() { - _selectedIndex = index; - }); - }, - selectionSettings: const MapSelectionSettings( - color: Colors.lime, - strokeWidth: 3, - strokeColor: Colors.black, - ), +@override +Widget build(BuildContext context) { + return Scaffold( + body: SfMaps( + layers: [ + MapShapeLayer( + source: _shapeSource, + zoomPanBehavior: _zoomPanBehavior, + sublayers: [ + MapShapeSublayer( + source: _sublayerSource, + selectedIndex: _selectedIndex, + onSelectionChanged: (int index) { + setState(() { + _selectedIndex = index; + }); + }, + selectionSettings: const MapSelectionSettings( + color: Colors.lime, + strokeWidth: 3, + strokeColor: Colors.black, ), - ], - ), - ], - ), - ); - } + ), + ], + ), + ], + ), + ); } class DataModel { @@ -830,112 +743,102 @@ The [`markerBuilder`](https://pub.dev/documentation/syncfusion_flutter_maps/late N> It is applicable for both tile layer and shape layer. N> -* Refer to the [`Marker`](https://help.syncfusion.com/chart-sdk/flutter/maps/markers) section to know more about the marker feature. -* Refer to the [`Tooltip`](https://help.syncfusion.com/chart-sdk/flutter/maps/tooltip) section to know more about the tooltip feature. +* Refer to the [`Marker`](https://help.syncfusion.com/flutter/maps/markers) section to know more about the marker feature. +* Refer to the [`Tooltip`](https://help.syncfusion.com/flutter/maps/tooltip) section to know more about the tooltip feature. {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; +late MapShapeSource _shapeSource; +late MapShapeSource _sublayerSource; +late List _sublayerData; +late MapZoomPanBehavior _zoomPanBehavior; +late List _markerData; + +@override +void initState() { + super.initState(); + _shapeSource = MapShapeSource.asset( + "assets/world_map.json", + shapeDataField: "continent", + ); + + _markerData = [ + MapLatLng(28.0339, 1.6596), + MapLatLng(26.3351, 17.2283), + MapLatLng(26.8208, 30.8025), + MapLatLng(17.6078, 8.0817), + MapLatLng(9.0820, 8.6753), + MapLatLng(9.1450, 40.4897), + MapLatLng(15.4542, 18.7322), + MapLatLng(6.8770, 31.3070), + MapLatLng(21.0079, -10.9408), + MapLatLng(12.8628, 30.2176), + ]; + + _sublayerData = [ + DataModel('Algeria', Colors.green, 36232), + DataModel('Libya', Colors.teal, 34121), + DataModel('Egypt', Colors.blue, 43453), + DataModel('Mali', Colors.purple, 28123), + DataModel('Niger', Colors.indigo, 40111), + DataModel('Nigeria', Colors.purpleAccent, 30232), + DataModel('Chad', Colors.lightGreen, 48132), + DataModel('Sudan', Colors.redAccent, 52654), + DataModel('Mauritania', Colors.orange, 42231), + DataModel('South Sudan', Colors.lime, 40421), + DataModel('Ethiopia', Colors.greenAccent, 27198) + ]; -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); + _sublayerSource = MapShapeSource.asset( + 'assets/africa.json', + shapeDataField: 'name', + dataCount: _sublayerData.length, + primaryValueMapper: (int index) => _sublayerData[index].key, + shapeColorValueMapper: (int index) => _sublayerData[index].color, + ); + _zoomPanBehavior = MapZoomPanBehavior( + zoomLevel: 3, + focalLatLng: MapLatLng(38.9637, 35.2433), + ); } -class _MapsExampleState extends State { - late MapShapeSource _shapeSource; - late MapShapeSource _sublayerSource; - late List _sublayerData; - late MapZoomPanBehavior _zoomPanBehavior; - late List _markerData; - - @override - void initState() { - super.initState(); - _shapeSource = MapShapeSource.asset( - "assets/world_map.json", - shapeDataField: "continent", - ); - - _markerData = [ - MapLatLng(28.0339, 1.6596), - MapLatLng(26.3351, 17.2283), - MapLatLng(26.8208, 30.8025), - MapLatLng(17.6078, 8.0817), - MapLatLng(9.0820, 8.6753), - MapLatLng(9.1450, 40.4897), - MapLatLng(15.4542, 18.7322), - MapLatLng(6.8770, 31.3070), - MapLatLng(21.0079, -10.9408), - MapLatLng(12.8628, 30.2176), - ]; - - _sublayerData = [ - DataModel('Algeria', Colors.green, 36232), - DataModel('Libya', Colors.teal, 34121), - DataModel('Egypt', Colors.blue, 43453), - DataModel('Mali', Colors.purple, 28123), - DataModel('Niger', Colors.indigo, 40111), - DataModel('Nigeria', Colors.purpleAccent, 30232), - DataModel('Chad', Colors.lightGreen, 48132), - DataModel('Sudan', Colors.redAccent, 52654), - DataModel('Mauritania', Colors.orange, 42231), - DataModel('South Sudan', Colors.lime, 40421), - DataModel('Ethiopia', Colors.greenAccent, 27198) - ]; - - _sublayerSource = MapShapeSource.asset( - 'assets/africa.json', - shapeDataField: 'name', - dataCount: _sublayerData.length, - primaryValueMapper: (int index) => _sublayerData[index].key, - shapeColorValueMapper: (int index) => _sublayerData[index].color, - ); - _zoomPanBehavior = MapZoomPanBehavior( - zoomLevel: 3, - focalLatLng: MapLatLng(38.9637, 35.2433), - ); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: SfMaps( - layers: [ - MapShapeLayer( - source: _shapeSource, - zoomPanBehavior: _zoomPanBehavior, - sublayers: [ - MapShapeSublayer( - source: _sublayerSource, - initialMarkersCount: _markerData.length, - markerBuilder: (BuildContext context, int index) { - return MapMarker( - latitude: _markerData[index].latitude, - longitude: _markerData[index].longitude, - iconColor: Colors.white, - iconStrokeWidth: 2, - iconStrokeColor: Colors.black, - iconType: MapIconType.triangle, - size: Size(15, 15), - ); - }, - markerTooltipBuilder: (BuildContext context, int index) { - return Padding( - padding: EdgeInsets.all(10), - child: Text(_sublayerData[index].key, - style: TextStyle(color: Colors.white)), - ); - }, - ), - ], - ), - ], - ), - ); - } +@override +Widget build(BuildContext context) { + return Scaffold( + body: SfMaps( + layers: [ + MapShapeLayer( + source: _shapeSource, + zoomPanBehavior: _zoomPanBehavior, + sublayers: [ + MapShapeSublayer( + source: _sublayerSource, + initialMarkersCount: _markerData.length, + markerBuilder: (BuildContext context, int index) { + return MapMarker( + latitude: _markerData[index].latitude, + longitude: _markerData[index].longitude, + iconColor: Colors.white, + iconStrokeWidth: 2, + iconStrokeColor: Colors.black, + iconType: MapIconType.triangle, + size: Size(15, 15), + ); + }, + markerTooltipBuilder: (BuildContext context, int index) { + return Padding( + padding: EdgeInsets.all(10), + child: Text(_sublayerData[index].key, + style: TextStyle(color: Colors.white)), + ); + }, + ), + ], + ), + ], + ), + ); } class DataModel { diff --git a/chart-sdk/flutter/maps/shape.md b/chart-sdk/flutter/maps/shape.md index bb632a83a..fc8ab747f 100644 --- a/chart-sdk/flutter/maps/shape.md +++ b/chart-sdk/flutter/maps/shape.md @@ -1,13 +1,13 @@ --- layout: post -title: Shape Colors in Flutter Maps | Syncfusion® -description: Learn about shape color customization in Syncfusion® Flutter Maps (SfMaps), including fill colors, color mapping, selection colors, and styling options. +title: Shape colors in Flutter Maps widget | Syncfusion +description: Learn here all about different shape appearance customization options of the Syncfusion Flutter Maps (SfMaps) widget. platform: chart-sdk control: SfMaps documentation: ug --- -# Shape Colors in Flutter Maps (SfMaps) +# Shapes in Flutter Maps (SfMaps) This section explains about shapes and how to apply colors to the shapes based on specific values in the Flutter maps. @@ -18,28 +18,19 @@ You can notify the user that the map is being loaded using the [`MapShapeLayer.l {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; +late MapShapeSource dataSource; -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); +@override +void initState() { + dataSource = MapShapeSource.asset( + 'assets/world_map.json', + shapeDataField: 'continent', + ); + super.initState(); } -class _MapsExampleState extends State { - late MapShapeSource dataSource; - - @override - void initState() { - dataSource = MapShapeSource.asset( - 'assets/world_map.json', - shapeDataField: 'continent', - ); - super.initState(); - } - - @override - Widget build(BuildContext context) { +@override +Widget build(BuildContext context) { return Scaffold( body: Padding( padding: EdgeInsets.all(15), @@ -61,7 +52,6 @@ class _MapsExampleState extends State { ), ), ); - } } {% endhighlight %} @@ -76,28 +66,19 @@ You can apply color, stroke color and stroke width to the shapes using the [`Map {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; +late MapShapeSource dataSource; -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); +@override +void initState() { + dataSource = MapShapeSource.asset( + 'assets/world_map.json', + shapeDataField: 'continent', + ); + super.initState(); } -class _MapsExampleState extends State { - late MapShapeSource dataSource; - - @override - void initState() { - dataSource = MapShapeSource.asset( - 'assets/world_map.json', - shapeDataField: 'continent', - ); - super.initState(); - } - - @override - Widget build(BuildContext context) { +@override +Widget build(BuildContext context) { return Scaffold( body: Padding( padding: EdgeInsets.all(15), @@ -113,7 +94,6 @@ class _MapsExampleState extends State { ), ), ); - } } {% endhighlight %} @@ -132,49 +112,38 @@ N> You must import the `theme.dart` library from the [`Core`](https://pub.dev/pa {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; -import 'package:syncfusion_flutter_core/theme.dart'; +late MapShapeSource dataSource; -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); +@override +void initState() { + dataSource = MapShapeSource.asset( + 'assets/world_map.json', + shapeDataField: 'continent', + ); + super.initState(); } -class _MapsExampleState extends State { - late MapShapeSource dataSource; - - @override - void initState() { - dataSource = MapShapeSource.asset( - 'assets/world_map.json', - shapeDataField: 'continent', - ); - super.initState(); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: Padding( - padding: EdgeInsets.all(15), - child: SfMapsTheme( - data: SfMapsThemeData( - layerColor: Colors.blue[100], - layerStrokeColor: Colors.blue, - layerStrokeWidth: 2, - ), - child: SfMaps( - layers: [ - MapShapeLayer( - source: dataSource, - ), - ], - ), +@override +Widget build(BuildContext context) { + return Scaffold( + body: Padding( + padding: EdgeInsets.all(15), + child: SfMapsTheme( + data: SfMapsThemeData( + layerColor: Colors.blue[100], + layerStrokeColor: Colors.blue, + layerStrokeWidth: 2, + ), + child: SfMaps( + layers: [ + MapShapeLayer( + source: dataSource, + ), + ], ), ), - ); - } + ), + ); } {% endhighlight %} @@ -191,49 +160,38 @@ N> You must import the `theme.dart` library from the [`Core`](https://pub.dev/pa {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; -import 'package:syncfusion_flutter_core/theme.dart'; +late MapShapeSource dataSource; -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); +@override +void initState() { + dataSource = MapShapeSource.asset( + 'assets/world_map.json', + shapeDataField: 'continent', + ); + super.initState(); } -class _MapsExampleState extends State { - late MapShapeSource dataSource; - - @override - void initState() { - dataSource = MapShapeSource.asset( - 'assets/world_map.json', - shapeDataField: 'continent', - ); - super.initState(); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: Padding( - padding: EdgeInsets.all(15), - child: SfMapsTheme( - data: SfMapsThemeData( - shapeHoverColor: Colors.red[800], - shapeHoverStrokeColor: Colors.black, - shapeHoverStrokeWidth: 2, - ), - child: SfMaps( - layers: [ - MapShapeLayer( - source: dataSource, - ), - ], - ), +@override +Widget build(BuildContext context) { + return Scaffold( + body: Padding( + padding: EdgeInsets.all(15), + child: SfMapsTheme( + data: SfMapsThemeData( + shapeHoverColor: Colors.red[800], + shapeHoverStrokeColor: Colors.black, + shapeHoverStrokeWidth: 2, + ), + child: SfMaps( + layers: [ + MapShapeLayer( + source: dataSource, + ), + ], ), ), - ); - } + ), + ); } {% endhighlight %} @@ -255,58 +213,48 @@ N> You can show legend using the [`MapShapeLayer.legend`](https://pub.dev/docume {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; +late List data; +late MapShapeSource dataSource; + +@override +void initState() { + data = const [ + Model('Asia', Color.fromRGBO(60, 120, 255, 0.8)), + Model('Africa', Color.fromRGBO(51, 102, 255, 0.8)), + Model('Europe', Color.fromRGBO(0, 57, 230, 0.8)), + Model('South America', Color.fromRGBO(0, 51, 204, 0.8)), + Model('Australia', Color.fromRGBO(0, 45, 179, 0.8)), + Model('North America', Color.fromRGBO(0, 38, 153, 0.8)) + ]; -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); + dataSource = MapShapeSource.asset( + 'assets/world_map.json', + shapeDataField: 'continent', + dataCount: data.length, + primaryValueMapper: (int index) => data[index].country, + shapeColorValueMapper: (int index) => data[index].color, + ); + super.initState(); } -class _MapsExampleState extends State { - late List data; - late MapShapeSource dataSource; - - @override - void initState() { - data = const [ - Model('Asia', Color.fromRGBO(60, 120, 255, 0.8)), - Model('Africa', Color.fromRGBO(51, 102, 255, 0.8)), - Model('Europe', Color.fromRGBO(0, 57, 230, 0.8)), - Model('South America', Color.fromRGBO(0, 51, 204, 0.8)), - Model('Australia', Color.fromRGBO(0, 45, 179, 0.8)), - Model('North America', Color.fromRGBO(0, 38, 153, 0.8)) - ]; - - dataSource = MapShapeSource.asset( - 'assets/world_map.json', - shapeDataField: 'continent', - dataCount: data.length, - primaryValueMapper: (int index) => data[index].country, - shapeColorValueMapper: (int index) => data[index].color, - ); - super.initState(); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: Center( - child: Container( - height: 350, - child: Padding( - padding: EdgeInsets.only(left: 15, right: 15), - child: SfMaps( - layers: [ - MapShapeLayer( - source: dataSource, - ), - ], - ), +@override +Widget build(BuildContext context) { + return Scaffold( + body: Center( + child: Container( + height: 350, + child: Padding( + padding: EdgeInsets.only(left: 15, right: 15), + child: SfMaps( + layers: [ + MapShapeLayer( + source: dataSource, + ), + ], ), - )), - ); - } + ), + )), + ); } class Model { @@ -328,57 +276,47 @@ You can apply color to the shape by comparing a value that returns from the [`sh {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); +late List data; +late MapShapeSource dataSource; + +@override +void initState() { + data = [ + Model('India', "Low"), + Model('United States of America', "High"), + Model('Pakistan', "Low"), + ]; + + dataSource = MapShapeSource.asset( + "assets/world_map.json", + shapeDataField: "name", + dataCount: data.length, + primaryValueMapper: (int index) { + return data[index].country; + }, + shapeColorValueMapper: (int index) { + return data[index].storage; + }, + shapeColorMappers: [ + MapColorMapper(value: "Low", color: Colors.red), + MapColorMapper(value: "High", color: Colors.green) + ], + ); + super.initState(); } -class _MapsExampleState extends State { - late List data; - late MapShapeSource dataSource; - - @override - void initState() { - data = [ - Model('India', "Low"), - Model('United States of America', "High"), - Model('Pakistan', "Low"), - ]; - - dataSource = MapShapeSource.asset( - "assets/world_map.json", - shapeDataField: "name", - dataCount: data.length, - primaryValueMapper: (int index) { - return data[index].country; - }, - shapeColorValueMapper: (int index) { - return data[index].storage; - }, - shapeColorMappers: [ - MapColorMapper(value: "Low", color: Colors.red), - MapColorMapper(value: "High", color: Colors.green) - ], - ); - super.initState(); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: Padding( - padding: EdgeInsets.only(left: 15, right: 15), - child: SfMaps( - layers: [ - MapShapeLayer(source: dataSource), - ], - ), +@override +Widget build(BuildContext context) { + return Scaffold( + body: Padding( + padding: EdgeInsets.only(left: 15, right: 15), + child: SfMaps( + layers: [ + MapShapeLayer(source: dataSource), + ], ), - ); - } + ), + ); } class Model { @@ -400,53 +338,43 @@ You can apply color to the shape based on whether the value returned from [`shap {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); +late List data; +late MapShapeSource dataSource; + +@override +void initState() { + data = [ + Model('India', 280), + Model('United States of America', 190), + Model('Kazakhstan', 37), + ]; + + dataSource = MapShapeSource.asset( + "assets/world_map.json", + shapeDataField: "name", + dataCount: data.length, + primaryValueMapper: (int index) => data[index].country, + shapeColorValueMapper: (int index) => data[index].count, + shapeColorMappers: [ + MapColorMapper(from: 0, to: 100, color: Colors.red), + MapColorMapper(from: 101, to: 300, color: Colors.green) + ], + ); + super.initState(); } -class _MapsExampleState extends State { - late List data; - late MapShapeSource dataSource; - - @override - void initState() { - data = [ - Model('India', 280), - Model('United States of America', 190), - Model('Kazakhstan', 37), - ]; - - dataSource = MapShapeSource.asset( - "assets/world_map.json", - shapeDataField: "name", - dataCount: data.length, - primaryValueMapper: (int index) => data[index].country, - shapeColorValueMapper: (int index) => data[index].count, - shapeColorMappers: [ - MapColorMapper(from: 0, to: 100, color: Colors.red), - MapColorMapper(from: 101, to: 300, color: Colors.green) - ], - ); - super.initState(); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: Padding( - padding: EdgeInsets.only(left: 15, right: 15), - child: SfMaps( - layers: [ - MapShapeLayer(source: dataSource), - ], - ), +@override +Widget build(BuildContext context) { + return Scaffold( + body: Padding( + padding: EdgeInsets.only(left: 15, right: 15), + child: SfMaps( + layers: [ + MapShapeLayer(source: dataSource), + ], ), - ); - } + ), + ); } class Model { @@ -463,72 +391,62 @@ class Model { ## Opacity -You can apply the maximum and minimum opacity to the shape or [`bubbles`](https://help.syncfusion.com/chart-sdk/flutter/maps/bubble) while using [`MapColorMapper.from`](https://pub.dev/documentation/syncfusion_flutter_maps/latest/maps/MapColorMapper/from.html) and [`MapColorMapper.to`](https://pub.dev/documentation/syncfusion_flutter_maps/latest/maps/MapColorMapper/to.html) properties. +You can apply the maximum and minimum opacity to the shape or [`bubbles`](https://help.syncfusion.com/flutter/maps/bubble) while using [`MapColorMapper.from`](https://pub.dev/documentation/syncfusion_flutter_maps/latest/maps/MapColorMapper/from.html) and [`MapColorMapper.to`](https://pub.dev/documentation/syncfusion_flutter_maps/latest/maps/MapColorMapper/to.html) properties. -The shapes or bubbles with the lowest value (from) will be applied [`minOpacity`](https://pub.dev/documentation/syncfusion_flutter_maps/latest/maps/MapColorMapper/minOpacity.html) and the shapes or bubbles with the highest value (to) will be applied [`maxOpacity`](https://pub.dev/documentation/syncfusion_flutter_maps/latest/maps/MapColorMapper/maxOpacity.html). The shapes or bubbles with values in-between the range will get an opacity based on their respective value. +The shapes or bubbles with lowest value which is [`from`](https://pub.dev/documentation/syncfusion_flutter_maps/latest/maps/MapColorMapper/from.html) will be applied a [`minOpacity`](https://pub.dev/documentation/syncfusion_flutter_maps/latest/maps/MapColorMapper/minOpacity.html) and the shapes or bubbles with highest value which is [`to`](https://pub.dev/documentation/syncfusion_flutter_maps/latest/maps/MapColorMapper/to.html) will be applied a [`maxOpacity`](https://pub.dev/documentation/syncfusion_flutter_maps/latest/maps/MapColorMapper/maxOpacity.html). The shapes or bubbles with values in-between the range will get an opacity based on their respective value. {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); +late List data; +late MapShapeSource dataSource; + +@override +void initState() { + data = [ + Model('India', 280), + Model('United States of America', 190), + Model('Kazakhstan', 37), + ]; + + dataSource = MapShapeSource.asset( + "assets/world_map.json", + shapeDataField: "name", + dataCount: data.length, + primaryValueMapper: (int index) => data[index].country, + shapeColorValueMapper: (int index) => data[index].count, + shapeColorMappers: [ + MapColorMapper( + from: 0, + to: 100, + color: Colors.red, + minOpacity: 0.2, + maxOpacity: 0.4, + ), + MapColorMapper( + from: 101, + to: 300, + color: Colors.green, + minOpacity: 0.4, + maxOpacity: 0.6, + ), + ], + ); + super.initState(); } -class _MapsExampleState extends State { - late List data; - late MapShapeSource dataSource; - - @override - void initState() { - data = [ - Model('India', 280), - Model('United States of America', 190), - Model('Kazakhstan', 37), - ]; - - dataSource = MapShapeSource.asset( - "assets/world_map.json", - shapeDataField: "name", - dataCount: data.length, - primaryValueMapper: (int index) => data[index].country, - shapeColorValueMapper: (int index) => data[index].count, - shapeColorMappers: [ - MapColorMapper( - from: 0, - to: 100, - color: Colors.red, - minOpacity: 0.2, - maxOpacity: 0.4, - ), - MapColorMapper( - from: 101, - to: 300, - color: Colors.green, - minOpacity: 0.4, - maxOpacity: 0.6, - ), - ], - ); - super.initState(); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: Padding( - padding: EdgeInsets.only(left: 15, right: 15), - child: SfMaps( - layers: [ - MapShapeLayer(source: dataSource), - ], - ), +@override +Widget build(BuildContext context) { + return Scaffold( + body: Padding( + padding: EdgeInsets.only(left: 15, right: 15), + child: SfMaps( + layers: [ + MapShapeLayer(source: dataSource), + ], ), - ); - } + ), + ); } class Model { diff --git a/chart-sdk/flutter/maps/tile-layer.md b/chart-sdk/flutter/maps/tile-layer.md index 032266347..f9bee3275 100644 --- a/chart-sdk/flutter/maps/tile-layer.md +++ b/chart-sdk/flutter/maps/tile-layer.md @@ -1,13 +1,13 @@ --- layout: post -title: Tile Layer in Flutter Maps | Syncfusion® -description: Learn about tile layers in Syncfusion® Flutter Maps (SfMaps), including map providers, URL templates, zooming, and tile customization. +title: Tile Layer in Flutter Maps | Syncfusion +description: Step-by-step guide to configure the Tile Layer in Syncfusion Flutter Maps—set URL templates, add providers (OSM, Bing, TomTom), and focal point and zoom. platform: chart-sdk control: SfMaps documentation: ug --- -# Tile Layer in Flutter Maps (SfMaps) +# Flutter Maps Tile Layer (SfMaps) The tile layer renders the tiles returned from web map tile services such as Bing Maps, OpenStreetMap, Google Maps, TomTom, and others. @@ -34,20 +34,15 @@ N> Though OpenStreetMap is free of cost, we recommend you check the licensing te {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatelessWidget { - @override - Widget build(BuildContext context) { - return SfMaps( - layers: [ - MapTileLayer( - urlTemplate: 'https://tile.openstreetmap.org/{z}/{x}/{y}.png', - ), - ], - ); - } +@override +Widget build(BuildContext context) { + return SfMaps( + layers: [ + MapTileLayer( + urlTemplate: 'https://tile.openstreetmap.org/{z}/{x}/{y}.png', + ), + ], + ); } {% endhighlight %} @@ -66,29 +61,24 @@ Some providers offer different map types. For example, Bing Maps provides map ty {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatelessWidget { - @override - Widget build(BuildContext context) { - return FutureBuilder( - future: getBingUrlTemplate( - 'https://dev.virtualearth.net/REST/V1/Imagery/Metadata/RoadOnDemand?output=json&uriScheme=https&include=ImageryProviders&key=YOUR_KEY'), - builder: (context, snapshot) { - if (snapshot.hasData) { - return SfMaps( - layers: [ - MapTileLayer( - urlTemplate: snapshot.data as String, - ), - ], - ); - } - return CircularProgressIndicator(); - } - ); - } +@override +Widget build(BuildContext context) { + return FutureBuilder( + future: getBingUrlTemplate( + 'https://dev.virtualearth.net/REST/V1/Imagery/Metadata/RoadOnDemand?output=json&uriScheme=https&include=ImageryProviders&key=YOUR_KEY'), + builder: (context, snapshot) { + if (snapshot.hasData) { + return SfMaps( + layers: [ + MapTileLayer( + urlTemplate: snapshot.data as String, + ), + ], + ); + } + return CircularProgressIndicator(); + } + ); } {% endhighlight %} @@ -100,27 +90,22 @@ class MapsExample extends StatelessWidget { Our tile layer is not limited or specific to any of the tile providers mentioned here. It supports requesting tiles from any tile provider using the unique URL for respective tile providers and renders them. -For other map providers like TomTom, MapBox, etc., you can check their respective official websites and provide the URL in the format mentioned in the [`Setting URL template`](https://help.syncfusion.com/chart-sdk/flutter/maps/tile-layer#setting-url-template) section. +For other map providers like TomTom, MapBox, etc., you can check their respective official websites and provide the URL in the format mentioned in the [`Setting URL template`](https://help.syncfusion.com/flutter/maps/tile-layer#setting-url-template) section. Below is an example of adding TomTom map. You can get the TomTom API key from this [`link`](https://developer.tomtom.com/map-display-api/documentation/product-information/introduction). {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatelessWidget { - @override - Widget build(BuildContext context) { - return SfMaps( - layers: [ - MapTileLayer( - urlTemplate: 'http://api.tomtom.com/map/1/tile/basic/main/{z}/{x}/{y}.png?key=subscription_key', - ), - ], - ); - } +@override +Widget build(BuildContext context) { + return SfMaps( + layers: [ + MapTileLayer( + urlTemplate: 'http://api.tomtom.com/map/1/tile/basic/main/{z}/{x}/{y}.png?key=subscription_key', + ), + ], + ); } {% endhighlight %} @@ -132,28 +117,23 @@ class MapsExample extends StatelessWidget { You can set the initial focal point by setting the [`MapTileLayer.initialFocalLatLng`](https://pub.dev/documentation/syncfusion_flutter_maps/latest/maps/MapTileLayer/initialFocalLatLng.html) property. It represents the initial focal latitude and longitude position of the map layer. -Based on the size of the [`SfMaps`](https://pub.dev/documentation/syncfusion_flutter_maps/latest/maps/SfMaps-class.html) widget, [`initialFocalLatLng`](https://pub.dev/documentation/syncfusion_flutter_maps/latest/maps/MapTileLayer/initialFocalLatLng.html) and [`initialZoomLevel`](https://pub.dev/documentation/syncfusion_flutter_maps/latest/maps/MapTileLayer/initialZoomLevel.html), only the number of initial tiles needed in the viewport will be rendered. Refer to this section for enabling [zooming and panning](https://help.syncfusion.com/chart-sdk/flutter/maps/zoom-pan). +Based on the size of the [`SfMaps`](https://pub.dev/documentation/syncfusion_flutter_maps/latest/maps/SfMaps-class.html) widget, [`initialFocalLatLng`](https://pub.dev/documentation/syncfusion_flutter_maps/latest/maps/MapTileLayer/initialFocalLatLng.html) and [`initialZoomLevel`](https://pub.dev/documentation/syncfusion_flutter_maps/latest/maps/MapTileLayer/initialZoomLevel.html), only the number of initial tiles needed in the viewport will be rendered. Refer to this section for enabling [zooming and panning](https://help.syncfusion.com/flutter/maps/zoom-pan). This property cannot be changed dynamically. Defaults to `MapLatLng(0.0, 0.0)`. {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatelessWidget { - @override - Widget build(BuildContext context) { - return SfMaps( - layers: [ - MapTileLayer( - urlTemplate: 'https://tile.openstreetmap.org/{z}/{x}/{y}.png', - initialFocalLatLng: MapLatLng(27.1751, 50.0421), - ), - ], - ); - } +@override +Widget build(BuildContext context) { + return SfMaps( + layers: [ + MapTileLayer( + urlTemplate: 'https://tile.openstreetmap.org/{z}/{x}/{y}.png', + initialFocalLatLng: MapLatLng(27.1751, 50.0421), + ), + ], + ); } {% endhighlight %} @@ -170,22 +150,17 @@ This property cannot be changed dynamically. {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatelessWidget { - @override - Widget build(BuildContext context) { - return SfMaps( - layers: [ - MapTileLayer( - urlTemplate: 'https://tile.openstreetmap.org/{z}/{x}/{y}.png', - initialFocalLatLng: MapLatLng(27.1751, 78.0421), - initialZoomLevel: 5, - ), - ], - ); - } +@override +Widget build(BuildContext context) { + return SfMaps( + layers: [ + MapTileLayer( + urlTemplate: 'https://tile.openstreetmap.org/{z}/{x}/{y}.png', + initialFocalLatLng: MapLatLng(27.1751, 78.0421), + initialZoomLevel: 5, + ), + ], + ); } {% endhighlight %} @@ -195,6 +170,6 @@ class MapsExample extends StatelessWidget { ## Markers -You can add markers in the tile layer. The procedure is very similar to the shape layer. Please refer to the [markers](https://help.syncfusion.com/chart-sdk/flutter/maps/markers#adding-markers) section for more details. +You can add markers in the tile layer. The procedure is very similar to the shape layer. Please refer to the [markers](https://help.syncfusion.com/flutter/maps/markers#adding-markers) section for more details. N> You can refer to our [Flutter Maps](https://www.syncfusion.com/flutter-widgets/flutter-maps) feature tour page for its groundbreaking feature representations. You can also explore our [Flutter Maps TileLayer example](https://flutter.syncfusion.com/#/maps/tile-layer/openstreetmap) that shows how to configure a Maps in Flutter. \ No newline at end of file diff --git a/chart-sdk/flutter/maps/tooltip.md b/chart-sdk/flutter/maps/tooltip.md index c95066247..6ca831d10 100644 --- a/chart-sdk/flutter/maps/tooltip.md +++ b/chart-sdk/flutter/maps/tooltip.md @@ -20,66 +20,57 @@ The [`MapShapeLayer.shapeTooltipBuilder`](https://pub.dev/documentation/syncfusi {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); +late List _data; +late MapShapeSource _shapeSource; + +@override +void initState() { + super.initState(); + + _data = [ + Model('Asia', 50, '44,579,000 sq. km.'), + Model('Africa', 54, '30,370,000 sq. km.'), + Model('Europe', 51, '10,180,000 sq. km.'), + Model('North America', 23, '24,709,000 sq. km.'), + Model('South America', 12, '17,840,000 sq. km.'), + Model('Australia', 14, '8,600,000 sq. km.'), + ]; + + _shapeSource = MapShapeSource.asset( + "assets/world_map.json", + shapeDataField: "continent", + dataCount: _data.length, + primaryValueMapper: (int index) => _data[index].continent, + ); } -class _MapsExampleState extends State { - late List _data; - late MapShapeSource _shapeSource; - - @override - void initState() { - super.initState(); - - _data = [ - Model('Asia', 50, '44,579,000 sq. km.'), - Model('Africa', 54, '30,370,000 sq. km.'), - Model('Europe', 51, '10,180,000 sq. km.'), - Model('North America', 23, '24,709,000 sq. km.'), - Model('South America', 12, '17,840,000 sq. km.'), - Model('Australia', 14, '8,600,000 sq. km.'), - ]; - - _shapeSource = MapShapeSource.asset( - "assets/world_map.json", - shapeDataField: "continent", - dataCount: _data.length, - primaryValueMapper: (int index) => _data[index].continent, - ); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: Padding( - padding: const EdgeInsets.only(left: 15, right: 15), - child: SfMaps( - layers: [ - MapShapeLayer( - source: _shapeSource, - shapeTooltipBuilder: (BuildContext context, int index) { - return Container( - width: 180, - padding: const EdgeInsets.all(10), - child: Column( - mainAxisSize: MainAxisSize.min, - children: [ - Stack( - children: [ - Center( - child: Text( - _data[index].continent, - style: TextStyle( - color: Colors.white, - fontSize: Theme.of(context) - .textTheme - .bodyMedium! - .fontSize), +@override +Widget build(BuildContext context) { + return Scaffold( + body: Padding( + padding: const EdgeInsets.only(left: 15, right: 15), + child: SfMaps( + layers: [ + MapShapeLayer( + source: _shapeSource, + shapeTooltipBuilder: (BuildContext context, int index) { + return Container( + width: 180, + padding: const EdgeInsets.all(10), + child: Column( + mainAxisSize: MainAxisSize.min, + children: [ + Stack( + children: [ + Center( + child: Text( + _data[index].continent, + style: TextStyle( + color: Colors.white, + fontSize: Theme.of(context) + .textTheme + .bodyText2! + .fontSize), ), ), const Icon( @@ -99,7 +90,7 @@ class _MapsExampleState extends State { style: TextStyle( color: Colors.white, fontSize: - Theme.of(context).textTheme.bodyMedium!.fontSize), + Theme.of(context).textTheme.bodyText2!.fontSize), ), ], ), @@ -114,7 +105,6 @@ class _MapsExampleState extends State { ), ), ); - } } class Model { @@ -142,67 +132,58 @@ The [`MapShapeLayer.bubbleTooltipBuilder`](https://pub.dev/documentation/syncfus {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); +late List _data; +late MapShapeSource _shapeSource; + +@override +void initState() { + super.initState(); + + _data = [ + Model('Asia', 50, '44,579,000 sq. km.'), + Model('Africa', 54, '30,370,000 sq. km.'), + Model('Europe', 51, '10,180,000 sq. km.'), + Model('North America', 23, '24,709,000 sq. km.'), + Model('South America', 12, '17,840,000 sq. km.'), + Model('Australia', 14, '8,600,000 sq. km.'), + ]; + + _shapeSource = MapShapeSource.asset( + "assets/world_map.json", + shapeDataField: "continent", + dataCount: _data.length, + primaryValueMapper: (int index) => _data[index].continent, + bubbleSizeMapper: (int index) => _data[index].countriesCount, + ); } -class _MapsExampleState extends State { - late List _data; - late MapShapeSource _shapeSource; - - @override - void initState() { - super.initState(); - - _data = [ - Model('Asia', 50, '44,579,000 sq. km.'), - Model('Africa', 54, '30,370,000 sq. km.'), - Model('Europe', 51, '10,180,000 sq. km.'), - Model('North America', 23, '24,709,000 sq. km.'), - Model('South America', 12, '17,840,000 sq. km.'), - Model('Australia', 14, '8,600,000 sq. km.'), - ]; - - _shapeSource = MapShapeSource.asset( - "assets/world_map.json", - shapeDataField: "continent", - dataCount: _data.length, - primaryValueMapper: (int index) => _data[index].continent, - bubbleSizeMapper: (int index) => _data[index].countriesCount, - ); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: Padding( - padding: const EdgeInsets.only(left: 15, right: 15), - child: SfMaps( - layers: [ - MapShapeLayer( - source: _shapeSource, - bubbleTooltipBuilder: (BuildContext context, int index) { - return Container( - width: 150, - padding: const EdgeInsets.all(10), - child: Column( - mainAxisSize: MainAxisSize.min, - children: [ - Stack( - children: [ - Center( - child: Text( - _data[index].continent, - style: TextStyle( - color: Colors.white, - fontSize: Theme.of(context) - .textTheme - .bodyMedium! - .fontSize), +@override +Widget build(BuildContext context) { + return Scaffold( + body: Padding( + padding: const EdgeInsets.only(left: 15, right: 15), + child: SfMaps( + layers: [ + MapShapeLayer( + source: _shapeSource, + bubbleTooltipBuilder: (BuildContext context, int index) { + return Container( + width: 150, + padding: const EdgeInsets.all(10), + child: Column( + mainAxisSize: MainAxisSize.min, + children: [ + Stack( + children: [ + Center( + child: Text( + _data[index].continent, + style: TextStyle( + color: Colors.white, + fontSize: Theme.of(context) + .textTheme + .bodyText2! + .fontSize), ), ), const Icon( @@ -223,7 +204,7 @@ class _MapsExampleState extends State { style: TextStyle( color: Colors.white, fontSize: - Theme.of(context).textTheme.bodyMedium!.fontSize), + Theme.of(context).textTheme.bodyText2!.fontSize), ), ], ), @@ -242,7 +223,6 @@ class _MapsExampleState extends State { ), ), ); - } } class Model { @@ -270,139 +250,129 @@ The [`MapLayer.markerTooltipBuilder`](https://pub.dev/documentation/syncfusion_f {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); +late List _data; +late MapShapeSource _shapeSource; + +@override +void initState() { + super.initState(); + + _data = [ + WorldWonderModel( + place: 'Chichen Itza', + country: 'Mexico', + latitude: 20.6843, + longitude: -88.5678), + WorldWonderModel( + place: 'Machu Picchu', + country: 'Peru', + latitude: -13.1631, + longitude: -72.5450), + WorldWonderModel( + place: 'Christ the Redeemer', + country: 'Brazil', + latitude: -22.9519, + longitude: -43.2105), + WorldWonderModel( + place: 'Colosseum', + country: 'Rome', + latitude: 41.8902, + longitude: 12.4922), + WorldWonderModel( + place: 'Petra', + country: 'Jordan', + latitude: 30.3285, + longitude: 35.4444), + WorldWonderModel( + place: 'Taj Mahal', + country: 'India', + latitude: 27.1751, + longitude: 78.0421), + WorldWonderModel( + place: 'Great Wall of China', + country: 'China', + latitude: 40.4319, + longitude: 116.5704) + ]; + + _shapeSource = MapShapeSource.asset( + "assets/world_map.json", + shapeDataField: "country", + ); } -class _MapsExampleState extends State { - late List _data; - late MapShapeSource _shapeSource; - - @override - void initState() { - super.initState(); - - _data = [ - WorldWonderModel( - place: 'Chichen Itza', - country: 'Mexico', - latitude: 20.6843, - longitude: -88.5678), - WorldWonderModel( - place: 'Machu Picchu', - country: 'Peru', - latitude: -13.1631, - longitude: -72.5450), - WorldWonderModel( - place: 'Christ the Redeemer', - country: 'Brazil', - latitude: -22.9519, - longitude: -43.2105), - WorldWonderModel( - place: 'Colosseum', - country: 'Rome', - latitude: 41.8902, - longitude: 12.4922), - WorldWonderModel( - place: 'Petra', - country: 'Jordan', - latitude: 30.3285, - longitude: 35.4444), - WorldWonderModel( - place: 'Taj Mahal', - country: 'India', - latitude: 27.1751, - longitude: 78.0421), - WorldWonderModel( - place: 'Great Wall of China', - country: 'China', - latitude: 40.4319, - longitude: 116.5704) - ]; - - _shapeSource = MapShapeSource.asset( - "assets/world_map.json", - shapeDataField: "country", - ); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: Padding( - padding: EdgeInsets.only(left: 15, right: 15), - child: SfMaps( - layers: [ - MapShapeLayer( - source: _shapeSource, - initialMarkersCount: _data.length, - markerBuilder: (BuildContext context, int index) { - return MapMarker( - latitude: _data[index].latitude, - longitude: _data[index].longitude, - child: const Icon( - Icons.location_on, - color: Colors.red, - ), - ); - }, - markerTooltipBuilder: (BuildContext context, int index) { - return Container( - width: 150, - padding: const EdgeInsets.all(10), - child: Column( - mainAxisSize: MainAxisSize.min, - children: [ - Stack( - children: [ - Center( - child: Text( - _data[index].country, - style: TextStyle( - color: Colors.white, - fontSize: Theme.of(context) - .textTheme - .bodyMedium! - .fontSize), - ), - ), - const Icon( - Icons.tour, - color: Colors.white, - size: 16, - ), - ], - ), - const Divider( - color: Colors.white, - height: 10, - thickness: 1.2, - ), - Text( - _data[index].place, - style: TextStyle( - color: Colors.white, - fontSize: - Theme.of(context).textTheme.bodyMedium!.fontSize), - ), - ], - ), - ); - }, - tooltipSettings: const MapTooltipSettings( +@override +Widget build(BuildContext context) { + return Scaffold( + body: Padding( + padding: EdgeInsets.only(left: 15, right: 15), + child: SfMaps( + layers: [ + MapShapeLayer( + source: _shapeSource, + initialMarkersCount: _data.length, + markerBuilder: (BuildContext context, int index) { + return MapMarker( + latitude: _data[index].latitude, + longitude: _data[index].longitude, + child: const Icon( + Icons.location_on, color: Colors.red, - strokeColor: Colors.black, - strokeWidth: 1.5), - ), - ], - ), + ), + ); + }, + markerTooltipBuilder: (BuildContext context, int index) { + return Container( + width: 150, + padding: const EdgeInsets.all(10), + child: Column( + mainAxisSize: MainAxisSize.min, + children: [ + Stack( + children: [ + Center( + child: Text( + _data[index].country, + style: TextStyle( + color: Colors.white, + fontSize: Theme.of(context) + .textTheme + .bodyText2! + .fontSize), + ), + ), + const Icon( + Icons.tour, + color: Colors.white, + size: 16, + ), + ], + ), + const Divider( + color: Colors.white, + height: 10, + thickness: 1.2, + ), + Text( + _data[index].place, + style: TextStyle( + color: Colors.white, + fontSize: + Theme.of(context).textTheme.bodyText2!.fontSize), + ), + ], + ), + ); + }, + tooltipSettings: const MapTooltipSettings( + color: Colors.red, + strokeColor: Colors.black, + strokeWidth: 1.5), + ), + ], ), - ); - } + ), + ); } @@ -441,95 +411,85 @@ N> For mobile platforms, the [`hideDelay`](https://pub.dev/documentation/syncfus {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); +late List _data; +late MapShapeSource _shapeSource; + +@override +void initState() { + super.initState(); + + _data = [ + Model('Asia', 50, '44,579,000 sq. km.'), + Model('Africa', 54, '30,370,000 sq. km.'), + Model('Europe', 51, '10,180,000 sq. km.'), + Model('North America', 23, '24,709,000 sq. km.'), + Model('South America', 12, '17,840,000 sq. km.'), + Model('Australia', 14, '8,600,000 sq. km.'), + ]; + + _shapeSource = MapShapeSource.asset( + "assets/world_map.json", + shapeDataField: "continent", + dataCount: _data.length, + primaryValueMapper: (int index) => _data[index].continent, + bubbleSizeMapper: (int index) => _data[index].countriesCount, + ); } -class _MapsExampleState extends State { - late List _data; - late MapShapeSource _shapeSource; - - @override - void initState() { - super.initState(); - - _data = [ - Model('Asia', 50, '44,579,000 sq. km.'), - Model('Africa', 54, '30,370,000 sq. km.'), - Model('Europe', 51, '10,180,000 sq. km.'), - Model('North America', 23, '24,709,000 sq. km.'), - Model('South America', 12, '17,840,000 sq. km.'), - Model('Australia', 14, '8,600,000 sq. km.'), - ]; - - _shapeSource = MapShapeSource.asset( - "assets/world_map.json", - shapeDataField: "continent", - dataCount: _data.length, - primaryValueMapper: (int index) => _data[index].continent, - bubbleSizeMapper: (int index) => _data[index].countriesCount, - ); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: Padding( - padding: const EdgeInsets.only(left: 15, right: 15), - child: SfMaps( - layers: [ - MapShapeLayer( - source: _shapeSource, - shapeTooltipBuilder: (BuildContext context, int index) { - return Padding( - padding: const EdgeInsets.all(7), - child: Text( - 'Continent : ' + - _data[index].continent + - '\nArea : ' + - _data[index].area, - style: const TextStyle( - color: Colors.white, - fontSize: 14, - fontStyle: FontStyle.italic, - fontFamily: 'Times', - ), - ), - ); - }, - bubbleTooltipBuilder: (BuildContext context, int index) { - return Padding( - padding: const EdgeInsets.all(7), +@override +Widget build(BuildContext context) { + return Scaffold( + body: Padding( + padding: const EdgeInsets.only(left: 15, right: 15), + child: SfMaps( + layers: [ + MapShapeLayer( + source: _shapeSource, + shapeTooltipBuilder: (BuildContext context, int index) { + return Padding( + padding: const EdgeInsets.all(7), child: Text( - 'Continent : ' + - _data[index].continent + - '\nTotal Countries : ' + - _data[index].countriesCount.toStringAsFixed(0), - style: const TextStyle( - color: Colors.white, - fontSize: 14, - fontStyle: FontStyle.italic, - fontFamily: 'Times', - ), + 'Continent : ' + + _data[index].continent + + '\nArea : ' + + _data[index].area, + style: const TextStyle( + color: Colors.white, + fontSize: 14, + fontStyle: FontStyle.italic, + fontFamily: 'Times', ), - ); - }, - tooltipSettings: const MapTooltipSettings( - color: const Color.fromRGBO(98, 0, 238, 1), - strokeColor: const Color.fromRGBO(252, 187, 15, 1), - strokeWidth: 3, - hideDelay: 10, - ), + ), + ); + }, + bubbleTooltipBuilder: (BuildContext context, int index) { + return Padding( + padding: const EdgeInsets.all(7), + child: Text( + 'Continent : ' + + _data[index].continent + + '\nTotal Countries : ' + + _data[index].countriesCount.toStringAsFixed(0), + style: const TextStyle( + color: Colors.white, + fontSize: 14, + fontStyle: FontStyle.italic, + fontFamily: 'Times', + ), + ), + ); + }, + tooltipSettings: const MapTooltipSettings( + color: const Color.fromRGBO(98, 0, 238, 1), + strokeColor: const Color.fromRGBO(252, 187, 15, 1), + strokeWidth: 3, + hideDelay: 10, ), - ], - ), + ), + ], ), - ); - } + ), + ); } class Model { @@ -557,74 +517,64 @@ N> You must import the `theme.dart` library from the [`Core`](https://pub.dev/pa {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; -import 'package:syncfusion_flutter_core/theme.dart'; - -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); +late List _data; +late MapShapeSource _shapeSource; + +@override +void initState() { + super.initState(); + + _data = [ + Model('Asia', 50, '44,579,000 sq. km.'), + Model('Africa', 54, '30,370,000 sq. km.'), + Model('Europe', 51, '10,180,000 sq. km.'), + Model('North America', 23, '24,709,000 sq. km.'), + Model('South America', 12, '17,840,000 sq. km.'), + Model('Australia', 14, '8,600,000 sq. km.'), + ]; + + _shapeSource = MapShapeSource.asset( + "assets/world_map.json", + shapeDataField: "continent", + dataCount: _data.length, + primaryValueMapper: (int index) => _data[index].continent, + bubbleSizeMapper: (int index) => _data[index].countriesCount, + ); } -class _MapsExampleState extends State { - late List _data; - late MapShapeSource _shapeSource; - - @override - void initState() { - super.initState(); - - _data = [ - Model('Asia', 50, '44,579,000 sq. km.'), - Model('Africa', 54, '30,370,000 sq. km.'), - Model('Europe', 51, '10,180,000 sq. km.'), - Model('North America', 23, '24,709,000 sq. km.'), - Model('South America', 12, '17,840,000 sq. km.'), - Model('Australia', 14, '8,600,000 sq. km.'), - ]; - - _shapeSource = MapShapeSource.asset( - "assets/world_map.json", - shapeDataField: "continent", - dataCount: _data.length, - primaryValueMapper: (int index) => _data[index].continent, - bubbleSizeMapper: (int index) => _data[index].countriesCount, - ); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: Padding( - padding: EdgeInsets.only(left: 15, right: 15), - child: SfMapsTheme( - data: SfMapsThemeData( - tooltipColor: const Color.fromRGBO(98, 0, 238, 1), - tooltipStrokeColor: const Color.fromRGBO(252, 187, 15, 1), - tooltipStrokeWidth: 3, - tooltipBorderRadius: const BorderRadiusDirectional.only( - topStart: Radius.circular(20), - bottomEnd: Radius.circular(20), - ), +@override +Widget build(BuildContext context) { + return Scaffold( + body: Padding( + padding: EdgeInsets.only(left: 15, right: 15), + child: SfMapsTheme( + data: SfMapsThemeData( + tooltipColor: const Color.fromRGBO(98, 0, 238, 1), + tooltipStrokeColor: const Color.fromRGBO(252, 187, 15, 1), + tooltipStrokeWidth: 3, + tooltipBorderRadius: const BorderRadiusDirectional.only( + topStart: Radius.circular(20), + bottomEnd: Radius.circular(20), ), - child: SfMaps( - layers: [ - MapShapeLayer( - source: _shapeSource, - shapeTooltipBuilder: (BuildContext context, int index) { - return Padding( - padding: const EdgeInsets.all(7), - child: Text( - 'Continent : ' + - _data[index].continent + - '\nArea : ' + - _data[index].area, - style: const TextStyle( - color: Colors.white, - fontSize: 14, - fontStyle: FontStyle.italic, - fontFamily: 'Times', - ), + ), + child: SfMaps( + layers: [ + MapShapeLayer( + source: _shapeSource, + shapeTooltipBuilder: (BuildContext context, int index) { + return Padding( + padding: const EdgeInsets.all(7), + child: Text( + 'Continent : ' + + _data[index].continent + + '\nArea : ' + + _data[index].area, + style: const TextStyle( + color: Colors.white, + fontSize: 14, + fontStyle: FontStyle.italic, + fontFamily: 'Times', + ), ), ); }, @@ -651,7 +601,6 @@ class _MapsExampleState extends State { ), ), ); - } } class Model { diff --git a/chart-sdk/flutter/maps/vector-layers/arc-layer.md b/chart-sdk/flutter/maps/vector-layers/arc-layer.md index 052d5b6d2..cd4c5d3d5 100644 --- a/chart-sdk/flutter/maps/vector-layers/arc-layer.md +++ b/chart-sdk/flutter/maps/vector-layers/arc-layer.md @@ -1,7 +1,7 @@ --- layout: post -title: Arc Layer in Flutter Maps | Syncfusion® -description: Learn about arc layers in Syncfusion® Flutter Maps (SfMaps), including route visualization, arc customization, styling, and map overlays. +title: Adding Arc layer in Flutter Maps widget | Syncfusion +description: Learn here all about adding the Arc Layer feature of Syncfusion Flutter Maps (SfMaps) widget and more. platform: chart-sdk control: SfMaps documentation: ug @@ -22,67 +22,57 @@ N> It is applicable for both the tile layer and shape layer. {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); -} - -class _MapsExampleState extends State { - late MapZoomPanBehavior zoomPanBehavior; - late MapShapeSource dataSource; - late List data; - - @override - void initState() { - data = [ - DataModel(MapLatLng(28.6139, 77.2090), MapLatLng(39.9042, 116.4074)), - DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(31.2304, 121.4737)), - DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(23.1291, 113.2644)), - DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(22.3193, 114.1694)), - DataModel(MapLatLng(19.0760, 72.8777), MapLatLng(22.3193, 114.1694)), - DataModel(MapLatLng(22.3193, 114.1694), MapLatLng(13.0827, 80.2707)), - ]; - - dataSource = MapShapeSource.asset( - 'assets/world_map.json', - shapeDataField: 'continent', - ); - zoomPanBehavior = MapZoomPanBehavior( - zoomLevel: 4, - focalLatLng: MapLatLng(22.9734, 90.6569), - ); - super.initState(); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: SfMaps( - layers: [ - MapShapeLayer( - source: dataSource, - sublayers: [ - MapArcLayer( - arcs: List.generate( - data.length, - (int index) { - return MapArc( - from: data[index].from, - to: data[index].to, - ); - }, - ).toSet(), - ), - ], - zoomPanBehavior: zoomPanBehavior, - ), - ], - ), - ); - } +late MapZoomPanBehavior zoomPanBehavior; +late MapShapeSource dataSource; +late List data; + +@override +void initState() { + data = [ + DataModel(MapLatLng(28.6139, 77.2090), MapLatLng(39.9042, 116.4074)), + DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(31.2304, 121.4737)), + DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(23.1291, 113.2644)), + DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(22.3193, 114.1694)), + DataModel(MapLatLng(19.0760, 72.8777), MapLatLng(22.3193, 114.1694)), + DataModel(MapLatLng(22.3193, 114.1694), MapLatLng(13.0827, 80.2707)), + ]; + + dataSource = MapShapeSource.asset( + 'assets/world_map.json', + shapeDataField: 'continent', + ); + zoomPanBehavior = MapZoomPanBehavior( + zoomLevel: 4, + focalLatLng: MapLatLng(22.9734, 90.6569), + ); + super.initState(); +} + +@override +Widget build(BuildContext context) { + return Scaffold( + body: SfMaps( + layers: [ + MapShapeLayer( + source: dataSource, + sublayers: [ + MapArcLayer( + arcs: List.generate( + data.length, + (int index) { + return MapArc( + from: data[index].from, + to: data[index].to, + ); + }, + ).toSet(), + ), + ], + zoomPanBehavior: zoomPanBehavior, + ), + ], + ), + ); } class DataModel { @@ -97,67 +87,55 @@ class DataModel { In the tile layer -N> The only difference between the shape layer and tile layer code below is the layer type and the zoom level — `MapShapeLayer` vs `MapTileLayer`. The arc sublayer configuration is identical. - {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); -} - -class _MapsExampleState extends State { - late MapZoomPanBehavior zoomPanBehavior; - late List data; - - @override - void initState() { - data = [ - DataModel(MapLatLng(28.6139, 77.2090), MapLatLng(39.9042, 116.4074)), - DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(31.2304, 121.4737)), - DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(23.1291, 113.2644)), - DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(22.3193, 114.1694)), - DataModel(MapLatLng(19.0760, 72.8777), MapLatLng(22.3193, 114.1694)), - DataModel(MapLatLng(22.3193, 114.1694), MapLatLng(13.0827, 80.2707)), - ]; - - zoomPanBehavior = MapZoomPanBehavior( - zoomLevel: 3, - focalLatLng: MapLatLng(22.9734, 90.6569), - ); - super.initState(); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: SfMaps( - layers: [ - MapTileLayer( - urlTemplate: 'https://tile.openstreetmap.org/{z}/{x}/{y}.png', - sublayers: [ - MapArcLayer( - arcs: List.generate( - data.length, - (int index) { - return MapArc( - from: data[index].from, - to: data[index].to, - ); - }, - ).toSet(), - ), - ], - zoomPanBehavior: zoomPanBehavior, - ), - ], - ), - ); - } +late MapZoomPanBehavior zoomPanBehavior; +late List data; + +@override +void initState() { + data = [ + DataModel(MapLatLng(28.6139, 77.2090), MapLatLng(39.9042, 116.4074)), + DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(31.2304, 121.4737)), + DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(23.1291, 113.2644)), + DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(22.3193, 114.1694)), + DataModel(MapLatLng(19.0760, 72.8777), MapLatLng(22.3193, 114.1694)), + DataModel(MapLatLng(22.3193, 114.1694), MapLatLng(13.0827, 80.2707)), + ]; + + zoomPanBehavior = MapZoomPanBehavior( + zoomLevel: 3, + focalLatLng: MapLatLng(22.9734, 90.6569), + ); + super.initState(); +} + +@override +Widget build(BuildContext context) { + return Scaffold( + body: SfMaps( + layers: [ + MapTileLayer( + urlTemplate: 'https://tile.openstreetmap.org/{z}/{x}/{y}.png', + sublayers: [ + MapArcLayer( + arcs: List.generate( + data.length, + (int index) { + return MapArc( + from: data[index].from, + to: data[index].to, + ); + }, + ).toSet(), + ), + ], + zoomPanBehavior: zoomPanBehavior, + ), + ], + ), + ); } class DataModel { @@ -181,67 +159,57 @@ By default, the arc will always render above the [`MapArc.from`](https://pub.dev {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); -} - -class _MapsExampleState extends State { - late MapZoomPanBehavior zoomPanBehavior; - late MapShapeSource dataSource; - late List data; - - @override - void initState() { - data = [ - DataModel(MapLatLng(28.6139, 77.2090), MapLatLng(39.9042, 116.4074)), - DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(31.2304, 121.4737)), - DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(22.3193, 114.1694)), - DataModel(MapLatLng(19.0760, 72.8777), MapLatLng(22.3193, 114.1694)), - DataModel(MapLatLng(22.3193, 114.1694), MapLatLng(13.0827, 80.2707)), - ]; - - dataSource = MapShapeSource.asset( - 'assets/world_map.json', - shapeDataField: 'continent', - ); - zoomPanBehavior = MapZoomPanBehavior( - zoomLevel: 4, - focalLatLng: MapLatLng(22.9734, 90.6569), - ); - super.initState(); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: SfMaps( - layers: [ - MapShapeLayer( - source: dataSource, - sublayers: [ - MapArcLayer( - arcs: List.generate( - data.length, - (int index) { - return MapArc( - from: data[index].from, - to: data[index].to, - heightFactor: -0.2, - ); - }, - ).toSet(), - ), - ], - zoomPanBehavior: zoomPanBehavior, - ), - ], - ), - ); - } +late MapZoomPanBehavior zoomPanBehavior; +late MapShapeSource dataSource; +late List data; + +@override +void initState() { + data = [ + DataModel(MapLatLng(28.6139, 77.2090), MapLatLng(39.9042, 116.4074)), + DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(31.2304, 121.4737)), + DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(22.3193, 114.1694)), + DataModel(MapLatLng(19.0760, 72.8777), MapLatLng(22.3193, 114.1694)), + DataModel(MapLatLng(22.3193, 114.1694), MapLatLng(13.0827, 80.2707)), + ]; + + dataSource = MapShapeSource.asset( + 'assets/world_map.json', + shapeDataField: 'continent', + ); + zoomPanBehavior = MapZoomPanBehavior( + zoomLevel: 4, + focalLatLng: MapLatLng(22.9734, 90.6569), + ); + super.initState(); +} + +@override +Widget build(BuildContext context) { + return Scaffold( + body: SfMaps( + layers: [ + MapShapeLayer( + source: dataSource, + sublayers: [ + MapArcLayer( + arcs: List.generate( + data.length, + (int index) { + return MapArc( + from: data[index].from, + to: data[index].to, + heightFactor: -0.2, + ); + }, + ).toSet(), + ), + ], + zoomPanBehavior: zoomPanBehavior, + ), + ], + ), + ); } class DataModel { @@ -265,67 +233,57 @@ By default, the arc will bend at the center between the [`MapArc.from`](https:// {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); -} - -class _MapsExampleState extends State { - late MapZoomPanBehavior zoomPanBehavior; - late MapShapeSource dataSource; - late List data; - - @override - void initState() { - data = [ - DataModel(MapLatLng(28.6139, 77.2090), MapLatLng(39.9042, 116.4074)), - DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(31.2304, 121.4737)), - DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(22.3193, 114.1694)), - DataModel(MapLatLng(19.0760, 72.8777), MapLatLng(22.3193, 114.1694)), - DataModel(MapLatLng(13.0827, 80.2707), MapLatLng(22.3193, 114.1694)), - ]; - - dataSource = MapShapeSource.asset( - 'assets/world_map.json', - shapeDataField: 'continent', - ); - zoomPanBehavior = MapZoomPanBehavior( - zoomLevel: 4, - focalLatLng: MapLatLng(22.9734, 90.6569), - ); - super.initState(); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: SfMaps( - layers: [ - MapShapeLayer( - source: dataSource, - sublayers: [ - MapArcLayer( - arcs: List.generate( - data.length, - (int index) { - return MapArc( - from: data[index].from, - to: data[index].to, - controlPointFactor: 0.2, - ); - }, - ).toSet(), - ), - ], - zoomPanBehavior: zoomPanBehavior, - ), - ], - ), - ); - } +late MapZoomPanBehavior zoomPanBehavior; +late MapShapeSource dataSource; +late List data; + +@override +void initState() { + data = [ + DataModel(MapLatLng(28.6139, 77.2090), MapLatLng(39.9042, 116.4074)), + DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(31.2304, 121.4737)), + DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(22.3193, 114.1694)), + DataModel(MapLatLng(19.0760, 72.8777), MapLatLng(22.3193, 114.1694)), + DataModel(MapLatLng(13.0827, 80.2707), MapLatLng(22.3193, 114.1694)), + ]; + + dataSource = MapShapeSource.asset( + 'assets/world_map.json', + shapeDataField: 'continent', + ); + zoomPanBehavior = MapZoomPanBehavior( + zoomLevel: 4, + focalLatLng: MapLatLng(22.9734, 90.6569), + ); + super.initState(); +} + +@override +Widget build(BuildContext context) { + return Scaffold( + body: SfMaps( + layers: [ + MapShapeLayer( + source: dataSource, + sublayers: [ + MapArcLayer( + arcs: List.generate( + data.length, + (int index) { + return MapArc( + from: data[index].from, + to: data[index].to, + controlPointFactor: 0.2, + ); + }, + ).toSet(), + ), + ], + zoomPanBehavior: zoomPanBehavior, + ), + ], + ), + ); } class DataModel { @@ -347,67 +305,57 @@ You can apply the same color for all [`MapArc`](https://pub.dev/documentation/sy {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); -} - -class _MapsExampleState extends State { - late MapZoomPanBehavior zoomPanBehavior; - late MapShapeSource dataSource; - late List data; - - @override - void initState() { - data = [ - DataModel(MapLatLng(28.6139, 77.2090), MapLatLng(39.9042, 116.4074), Colors.redAccent), - DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(31.2304, 121.4737), Colors.purpleAccent), - DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(22.3193, 114.1694), Colors.deepPurple), - DataModel(MapLatLng(19.0760, 72.8777), MapLatLng(22.3193, 114.1694), Colors.blueAccent), - DataModel(MapLatLng(22.3193, 114.1694), MapLatLng(13.0827, 80.2707), Colors.teal), - ]; - - dataSource = MapShapeSource.asset( - 'assets/world_map.json', - shapeDataField: 'continent', - ); - zoomPanBehavior = MapZoomPanBehavior( - zoomLevel: 4, - focalLatLng: MapLatLng(22.9734, 90.6569), - ); - super.initState(); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: SfMaps( - layers: [ - MapShapeLayer( - source: dataSource, - sublayers: [ - MapArcLayer( - arcs: List.generate( - data.length, - (int index) { - return MapArc( - from: data[index].from, - to: data[index].to, - color: data[index].color, - ); - }, - ).toSet(), - ), - ], - zoomPanBehavior: zoomPanBehavior, - ), - ], - ), - ); - } +late MapZoomPanBehavior zoomPanBehavior; +late MapShapeSource dataSource; +late List data; + +@override +void initState() { + data = [ + DataModel(MapLatLng(28.6139, 77.2090), MapLatLng(39.9042, 116.4074), Colors.redAccent), + DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(31.2304, 121.4737), Colors.purpleAccent), + DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(22.3193, 114.1694), Colors.deepPurple), + DataModel(MapLatLng(19.0760, 72.8777), MapLatLng(22.3193, 114.1694), Colors.blueAccent), + DataModel(MapLatLng(22.3193, 114.1694), MapLatLng(13.0827, 80.2707), Colors.teal), + ]; + + dataSource = MapShapeSource.asset( + 'assets/world_map.json', + shapeDataField: 'continent', + ); + zoomPanBehavior = MapZoomPanBehavior( + zoomLevel: 4, + focalLatLng: MapLatLng(22.9734, 90.6569), + ); + super.initState(); +} + +@override +Widget build(BuildContext context) { + return Scaffold( + body: SfMaps( + layers: [ + MapShapeLayer( + source: dataSource, + sublayers: [ + MapArcLayer( + arcs: List.generate( + data.length, + (int index) { + return MapArc( + from: data[index].from, + to: data[index].to, + color: data[index].color, + ); + }, + ).toSet(), + ), + ], + zoomPanBehavior: zoomPanBehavior, + ), + ], + ), + ); } class DataModel { @@ -418,80 +366,70 @@ class DataModel { final Color color; } -{% endhighlight %} -{% endtabs %} - -![Arc color](../images/arc-layer/arc_color.png) - -## Width - -You can apply the same width for all [`MapArc`](https://pub.dev/documentation/syncfusion_flutter_maps/latest/maps/MapArc-class.html) in the [`arcs`](https://pub.dev/documentation/syncfusion_flutter_maps/latest/maps/MapArcLayer/arcs.html) collection using the [`MapArcLayer.width`](https://pub.dev/documentation/syncfusion_flutter_maps/latest/maps/MapArcLayer/width.html) property. Alternatively, you can apply different widths to each [`MapArc`](https://pub.dev/documentation/syncfusion_flutter_maps/latest/maps/MapArc-class.html) in the [`arcs`](https://pub.dev/documentation/syncfusion_flutter_maps/latest/maps/MapArcLayer/arcs.html) collection using the individual [`MapArc.width`](https://pub.dev/documentation/syncfusion_flutter_maps/latest/maps/MapArc/width.html) property. The default value of the [`MapArcLayer.width`](https://pub.dev/documentation/syncfusion_flutter_maps/latest/maps/MapArcLayer/width.html) property is `2`. - -{% tabs %} -{% highlight Dart %} - -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); -} - -class _MapsExampleState extends State { - late MapZoomPanBehavior zoomPanBehavior; - late MapShapeSource dataSource; - late List data; - - @override - void initState() { - data = [ - DataModel(MapLatLng(28.6139, 77.2090), MapLatLng(39.9042, 116.4074), 2), - DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(31.2304, 121.4737), 3), - DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(23.1291, 113.2644), 2), - DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(22.3193, 114.1694), 4), - DataModel(MapLatLng(19.0760, 72.8777), MapLatLng(22.3193, 114.1694), 5), - DataModel(MapLatLng(22.3193, 114.1694), MapLatLng(13.0827, 80.2707), 6), - ]; - - dataSource = MapShapeSource.asset( - 'assets/world_map.json', - shapeDataField: 'continent', - ); - zoomPanBehavior = MapZoomPanBehavior( - zoomLevel: 4, - focalLatLng: MapLatLng(22.9734, 90.6569), - ); - super.initState(); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: SfMaps( - layers: [ - MapShapeLayer( - source: dataSource, - sublayers: [ - MapArcLayer( - arcs: List.generate( - data.length, - (int index) { - return MapArc( - from: data[index].from, - to: data[index].to, - width: data[index].width, - ); - }, - ).toSet(), - ), - ], - zoomPanBehavior: zoomPanBehavior, - ), - ], - ), - ); - } +{% endhighlight %} +{% endtabs %} + +![Arc color](../images/arc-layer/arc_color.png) + +## Width + +You can apply the same width for all [`MapArc`](https://pub.dev/documentation/syncfusion_flutter_maps/latest/maps/MapArc-class.html) in the [`arcs`](https://pub.dev/documentation/syncfusion_flutter_maps/latest/maps/MapArcLayer/arcs.html) collection using the [`MapArcLayer.width`](https://pub.dev/documentation/syncfusion_flutter_maps/latest/maps/MapArcLayer/width.html) property. Alternatively, you can apply different widths to each [`MapArc`](https://pub.dev/documentation/syncfusion_flutter_maps/latest/maps/MapArc-class.html) in the [`arcs`](https://pub.dev/documentation/syncfusion_flutter_maps/latest/maps/MapArcLayer/arcs.html) collection using the individual [`MapArc.width`](https://pub.dev/documentation/syncfusion_flutter_maps/latest/maps/MapArc/width.html) property. The default value of the [`MapArcLayer.width`](https://pub.dev/documentation/syncfusion_flutter_maps/latest/maps/MapArcLayer/width.html) property is `2`. + +{% tabs %} +{% highlight Dart %} + +late MapZoomPanBehavior zoomPanBehavior; +late MapShapeSource dataSource; +late List data; + +@override +void initState() { + data = [ + DataModel(MapLatLng(28.6139, 77.2090), MapLatLng(39.9042, 116.4074), 2), + DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(31.2304, 121.4737), 3), + DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(23.1291, 113.2644), 2), + DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(22.3193, 114.1694), 4), + DataModel(MapLatLng(19.0760, 72.8777), MapLatLng(22.3193, 114.1694), 5), + DataModel(MapLatLng(22.3193, 114.1694), MapLatLng(13.0827, 80.2707), 6), + ]; + + dataSource = MapShapeSource.asset( + 'assets/world_map.json', + shapeDataField: 'continent', + ); + zoomPanBehavior = MapZoomPanBehavior( + zoomLevel: 4, + focalLatLng: MapLatLng(22.9734, 90.6569), + ); + super.initState(); +} + +@override +Widget build(BuildContext context) { + return Scaffold( + body: SfMaps( + layers: [ + MapShapeLayer( + source: dataSource, + sublayers: [ + MapArcLayer( + arcs: List.generate( + data.length, + (int index) { + return MapArc( + from: data[index].from, + to: data[index].to, + width: data[index].width, + ); + }, + ).toSet(), + ), + ], + zoomPanBehavior: zoomPanBehavior, + ), + ], + ), + ); } class DataModel { @@ -516,68 +454,58 @@ A sequence of dash and gap will be rendered based on the values in this list. On {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); -} - -class _MapsExampleState extends State { - late MapZoomPanBehavior zoomPanBehavior; - late MapShapeSource dataSource; - late List data; - - @override - void initState() { - data = [ - DataModel(MapLatLng(28.6139, 77.2090), MapLatLng(39.9042, 116.4074)), - DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(31.2304, 121.4737)), - DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(22.3193, 114.1694)), - DataModel(MapLatLng(19.0760, 72.8777), MapLatLng(22.3193, 114.1694)), - DataModel(MapLatLng(22.3193, 114.1694), MapLatLng(13.0827, 80.2707)), - ]; - - dataSource = MapShapeSource.asset( - 'assets/world_map.json', - shapeDataField: 'continent', - ); - zoomPanBehavior = MapZoomPanBehavior( - zoomLevel: 4, - focalLatLng: MapLatLng(22.9734, 90.6569), - ); - super.initState(); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: SfMaps( - layers: [ - MapShapeLayer( - source: dataSource, - sublayers: [ - MapArcLayer( - arcs: List.generate( - data.length, - (int index) { - return MapArc( - from: data[index].from, - to: data[index].to, - dashArray: [8, 4, 2, 4], - ); - }, - ).toSet(), - color: Colors.blue, - ), - ], - zoomPanBehavior: zoomPanBehavior, - ), - ], - ), - ); - } +late MapZoomPanBehavior zoomPanBehavior; +late MapShapeSource dataSource; +late List data; + +@override +void initState() { + data = [ + DataModel(MapLatLng(28.6139, 77.2090), MapLatLng(39.9042, 116.4074)), + DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(31.2304, 121.4737)), + DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(22.3193, 114.1694)), + DataModel(MapLatLng(19.0760, 72.8777), MapLatLng(22.3193, 114.1694)), + DataModel(MapLatLng(22.3193, 114.1694), MapLatLng(13.0827, 80.2707)), + ]; + + dataSource = MapShapeSource.asset( + 'assets/world_map.json', + shapeDataField: 'continent', + ); + zoomPanBehavior = MapZoomPanBehavior( + zoomLevel: 4, + focalLatLng: MapLatLng(22.9734, 90.6569), + ); + super.initState(); +} + +@override +Widget build(BuildContext context) { + return Scaffold( + body: SfMaps( + layers: [ + MapShapeLayer( + source: dataSource, + sublayers: [ + MapArcLayer( + arcs: List.generate( + data.length, + (int index) { + return MapArc( + from: data[index].from, + to: data[index].to, + dashArray: [8, 4, 2, 4], + ); + }, + ).toSet(), + color: Colors.blue, + ), + ], + zoomPanBehavior: zoomPanBehavior, + ), + ], + ), + ); } class DataModel { @@ -601,9 +529,6 @@ By default, there will not be any animation. {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - class AnimationSample extends StatefulWidget { const AnimationSample({Key? key}) : super(key: key); @override @@ -704,76 +629,66 @@ You can use the [`onTap`](https://pub.dev/documentation/syncfusion_flutter_maps/ {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); -} - -class _MapsExampleState extends State { - late MapZoomPanBehavior zoomPanBehavior; - late MapShapeSource dataSource; - late List data; - late int selectedIndex; - - @override - void initState() { - data = [ - DataModel(MapLatLng(28.6139, 77.2090), MapLatLng(39.9042, 116.4074)), - DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(31.2304, 121.4737)), - DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(23.1291, 113.2644)), - DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(22.3193, 114.1694)), - DataModel(MapLatLng(19.0760, 72.8777), MapLatLng(22.3193, 114.1694)), - DataModel(MapLatLng(22.3193, 114.1694), MapLatLng(13.0827, 80.2707)), - ]; - - dataSource = MapShapeSource.asset( - 'assets/world_map.json', - shapeDataField: 'continent', - ); - zoomPanBehavior = MapZoomPanBehavior( - zoomLevel: 4, - focalLatLng: MapLatLng(22.9734, 90.6569), - ); - - selectedIndex = -1; - super.initState(); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: SfMaps( - layers: [ - MapShapeLayer( - source: dataSource, - sublayers: [ - MapArcLayer( - arcs: List.generate( - data.length, - (int index) { - return MapArc( - from: data[index].from, - to: data[index].to, - color: selectedIndex == index ? Colors.pink : Colors.blue, - onTap: () { - setState(() { - selectedIndex = index; - }); - } - ); - }, - ).toSet(), - ), - ], - zoomPanBehavior: zoomPanBehavior, - ), - ], - ), - ); - } +late MapZoomPanBehavior zoomPanBehavior; +late MapShapeSource dataSource; +late List data; +late int selectedIndex; + +@override +void initState() { + data = [ + DataModel(MapLatLng(28.6139, 77.2090), MapLatLng(39.9042, 116.4074)), + DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(31.2304, 121.4737)), + DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(23.1291, 113.2644)), + DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(22.3193, 114.1694)), + DataModel(MapLatLng(19.0760, 72.8777), MapLatLng(22.3193, 114.1694)), + DataModel(MapLatLng(22.3193, 114.1694), MapLatLng(13.0827, 80.2707)), + ]; + + dataSource = MapShapeSource.asset( + 'assets/world_map.json', + shapeDataField: 'continent', + ); + zoomPanBehavior = MapZoomPanBehavior( + zoomLevel: 4, + focalLatLng: MapLatLng(22.9734, 90.6569), + ); + + selectedIndex = -1; + super.initState(); +} + +@override +Widget build(BuildContext context) { + return Scaffold( + body: SfMaps( + layers: [ + MapShapeLayer( + source: dataSource, + sublayers: [ + MapArcLayer( + arcs: List.generate( + data.length, + (int index) { + return MapArc( + from: data[index].from, + to: data[index].to, + color: selectedIndex == index ? Colors.pink : Colors.blue, + onTap: () { + setState(() { + selectedIndex = index; + }); + } + ); + }, + ).toSet(), + ), + ], + zoomPanBehavior: zoomPanBehavior, + ), + ], + ), + ); } class DataModel { @@ -795,96 +710,85 @@ You can show additional information about an arc using the [`tooltipBuilder`](ht {% tabs %} {% highlight Dart %} -import 'dart:math'; -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); -} - -class _MapsExampleState extends State { - late MapZoomPanBehavior zoomPanBehavior; - late MapShapeSource dataSource; - late List data; - late Random random; - - @override - void initState() { - data = [ - DataModel(MapLatLng(28.6139, 77.2090), MapLatLng(39.9042, 116.4074)), - DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(31.2304, 121.4737)), - DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(22.3193, 114.1694)), - DataModel(MapLatLng(19.0760, 72.8777), MapLatLng(22.3193, 114.1694)), - DataModel(MapLatLng(22.3193, 114.1694), MapLatLng(13.0827, 80.2707)), - ]; - - dataSource = MapShapeSource.asset( - 'assets/world_map.json', - shapeDataField: 'continent', - ); - zoomPanBehavior = MapZoomPanBehavior( - zoomLevel: 4, - focalLatLng: MapLatLng(22.9734, 90.6569), - ); - - random = Random(); - super.initState(); - } - - @override - Widget build(BuildContext context) { - final ThemeData themeData = Theme.of(context); - final TextStyle textStyle = themeData.textTheme.labelSmall! - .copyWith(color: themeData.colorScheme.surface); - return Scaffold( - body: SfMaps( - layers: [ - MapShapeLayer( - source: dataSource, - sublayers: [ - MapArcLayer( - arcs: List.generate( - data.length, - (int index) { - return MapArc( - from: data[index].from, - to: data[index].to, - ); - }, - ).toSet(), - tooltipBuilder: (BuildContext context, int index) { - return Container( - padding: EdgeInsets.only(left: 5, top: 5), - height: 40, - width: 100, - child: Column( - children: [ - Row( - children: [ - Text('Flight : ', style: textStyle), - Text('Air India', style: textStyle), - ], - ), - Row( - children: [ - Text('Depart : ', style: textStyle), - Text(random.nextInt(12).toString() + 'AM', style: textStyle), - ], - ), - ], - ), +late MapZoomPanBehavior zoomPanBehavior; +late MapShapeSource dataSource; +late List data; +late Random random; + +@override +void initState() { + data = [ + DataModel(MapLatLng(28.6139, 77.2090), MapLatLng(39.9042, 116.4074)), + DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(31.2304, 121.4737)), + DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(22.3193, 114.1694)), + DataModel(MapLatLng(19.0760, 72.8777), MapLatLng(22.3193, 114.1694)), + DataModel(MapLatLng(22.3193, 114.1694), MapLatLng(13.0827, 80.2707)), + ]; + + dataSource = MapShapeSource.asset( + 'assets/world_map.json', + shapeDataField: 'continent', + ); + zoomPanBehavior = MapZoomPanBehavior( + zoomLevel: 4, + focalLatLng: MapLatLng(22.9734, 90.6569), + ); + + random = Random(); + super.initState(); +} + +@override +Widget build(BuildContext context) { + final ThemeData themeData = Theme.of(context); + final TextStyle textStyle = themeData.textTheme.caption! + .copyWith(color: themeData.colorScheme.surface); + return Scaffold( + body: SfMaps( + layers: [ + MapShapeLayer( + source: dataSource, + sublayers: [ + MapArcLayer( + arcs: List.generate( + data.length, + (int index) { + return MapArc( + from: data[index].from, + to: data[index].to, ); }, - ), - ], - zoomPanBehavior: zoomPanBehavior, - ), - ], - ), - ); - } + ).toSet(), + tooltipBuilder: (BuildContext context, int index) { + return Container( + padding: EdgeInsets.only(left: 5, top: 5), + height: 40, + width: 100, + child: Column( + children: [ + Row( + children: [ + Text('Flight : ', style: textStyle), + Text('Air India', style: textStyle), + ], + ), + Row( + children: [ + Text('Depart : ', style: textStyle), + Text(random.nextInt(12).toString() + 'AM', style: textStyle), + ], + ), + ], + ), + ); + }, + ), + ], + zoomPanBehavior: zoomPanBehavior, + ), + ], + ), + ); } class DataModel { @@ -910,100 +814,89 @@ You can customize the appearance of the tooltip: {% tabs %} {% highlight Dart %} -import 'dart:math'; -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); -} - -class _MapsExampleState extends State { - late MapZoomPanBehavior zoomPanBehavior; - late MapShapeSource dataSource; - late List data; - late Random random; - - @override - void initState() { - data = [ - DataModel(MapLatLng(28.6139, 77.2090), MapLatLng(39.9042, 116.4074)), - DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(31.2304, 121.4737)), - DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(22.3193, 114.1694)), - DataModel(MapLatLng(19.0760, 72.8777), MapLatLng(22.3193, 114.1694)), - DataModel(MapLatLng(22.3193, 114.1694), MapLatLng(13.0827, 80.2707)), - ]; - - dataSource = MapShapeSource.asset( - 'assets/world_map.json', - shapeDataField: 'continent', - ); - zoomPanBehavior = MapZoomPanBehavior( - zoomLevel: 4, - focalLatLng: MapLatLng(22.9734, 90.6569), - ); - - random = Random(); - super.initState(); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: SfMaps( - layers: [ - MapShapeLayer( - source: dataSource, - tooltipSettings: MapTooltipSettings( - color: Colors.white, - strokeColor: Colors.black, - strokeWidth: 2, - ), - sublayers: [ - MapArcLayer( - arcs: List.generate( - data.length, - (int index) { - return MapArc( - from: data[index].from, - to: data[index].to, - ); - }, - ).toSet(), - tooltipBuilder: (BuildContext context, int index) { - return Padding( - padding: EdgeInsets.all(5), - child: Column( - mainAxisSize: MainAxisSize.min, - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - Row( - mainAxisSize: MainAxisSize.min, - children: [ - Text('Flight : '), - Text('Air India'), - ], - ), - Row( - mainAxisSize: MainAxisSize.min, - children: [ - Text('Depart : '), - Text(random.nextInt(12).toString() + 'AM'), - ], - ), - ], - ), +late MapZoomPanBehavior zoomPanBehavior; +late MapShapeSource dataSource; +late List data; +late Random random; + +@override +void initState() { + data = [ + DataModel(MapLatLng(28.6139, 77.2090), MapLatLng(39.9042, 116.4074)), + DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(31.2304, 121.4737)), + DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(22.3193, 114.1694)), + DataModel(MapLatLng(19.0760, 72.8777), MapLatLng(22.3193, 114.1694)), + DataModel(MapLatLng(22.3193, 114.1694), MapLatLng(13.0827, 80.2707)), + ]; + + dataSource = MapShapeSource.asset( + 'assets/world_map.json', + shapeDataField: 'continent', + ); + zoomPanBehavior = MapZoomPanBehavior( + zoomLevel: 4, + focalLatLng: MapLatLng(22.9734, 90.6569), + ); + + random = Random(); + super.initState(); +} + +@override +Widget build(BuildContext context) { + return Scaffold( + body: SfMaps( + layers: [ + MapShapeLayer( + source: dataSource, + tooltipSettings: MapTooltipSettings( + color: Colors.white, + strokeColor: Colors.black, + strokeWidth: 2, + ), + sublayers: [ + MapArcLayer( + arcs: List.generate( + data.length, + (int index) { + return MapArc( + from: data[index].from, + to: data[index].to, ); }, - ), - ], - zoomPanBehavior: zoomPanBehavior, - ), - ], - ), - ); - } + ).toSet(), + tooltipBuilder: (BuildContext context, int index) { + return Padding( + padding: EdgeInsets.all(5), + child: Column( + mainAxisSize: MainAxisSize.min, + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Row( + mainAxisSize: MainAxisSize.min, + children: [ + Text('Flight : '), + Text('Air India'), + ], + ), + Row( + mainAxisSize: MainAxisSize.min, + children: [ + Text('Depart : '), + Text(random.nextInt(12).toString() + 'AM'), + ], + ), + ], + ), + ); + }, + ), + ], + zoomPanBehavior: zoomPanBehavior, + ), + ], + ), + ); } class DataModel { diff --git a/chart-sdk/flutter/maps/vector-layers/circle-layer.md b/chart-sdk/flutter/maps/vector-layers/circle-layer.md index 21e604c85..64793bfaf 100644 --- a/chart-sdk/flutter/maps/vector-layers/circle-layer.md +++ b/chart-sdk/flutter/maps/vector-layers/circle-layer.md @@ -1,7 +1,7 @@ --- layout: post -title: Circle Layer in Flutter Maps | Syncfusion® -description: Learn about circle layers in Syncfusion® Flutter Maps (SfMaps), including circle customization, styling, data visualization, and map overlays. +title: Adding Circle Layer in Flutter Maps widget | Syncfusion +description: Learn here all about adding Circle Layer feature of Syncfusion Flutter Maps (SfMaps) widget and more. platform: chart-sdk control: SfMaps documentation: ug @@ -22,70 +22,60 @@ N> It is applicable for both the tile layer and shape layer. {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); +late List circles; +late MapShapeSource dataSource; + +@override +void initState() { + circles = [ + MapLatLng(15.2993, 74.1240), + MapLatLng(15.5057, 80.0499), + MapLatLng(19.7515, 75.7139), + MapLatLng(23.0225, 72.5714), + MapLatLng(24.8607, 67.0011), + MapLatLng(27.0238, 74.2179), + MapLatLng(26.8467, 80.9462), + MapLatLng(21.2787, 85.2799), + MapLatLng(20.9517, 85.0985), + MapLatLng(25.0961, 85.3131), + MapLatLng(24.6637, 93.9063), + MapLatLng(26.2006, 92.9376), + MapLatLng(28.7041, 77.1025), + MapLatLng(29.0588, 76.0856), + MapLatLng(30.0668, 79.0193), + MapLatLng(31.1471, 75.3412), + ]; + + dataSource = MapShapeSource.asset( + 'assets/india.json', + shapeDataField: 'name', + ); + super.initState(); } -class _MapsExampleState extends State { - late List circles; - late MapShapeSource dataSource; - - @override - void initState() { - circles = [ - MapLatLng(15.2993, 74.1240), - MapLatLng(15.5057, 80.0499), - MapLatLng(19.7515, 75.7139), - MapLatLng(23.0225, 72.5714), - MapLatLng(24.8607, 67.0011), - MapLatLng(27.0238, 74.2179), - MapLatLng(26.8467, 80.9462), - MapLatLng(21.2787, 85.2799), - MapLatLng(20.9517, 85.0985), - MapLatLng(25.0961, 85.3131), - MapLatLng(24.6637, 93.9063), - MapLatLng(26.2006, 92.9376), - MapLatLng(28.7041, 77.1025), - MapLatLng(29.0588, 76.0856), - MapLatLng(30.0668, 79.0193), - MapLatLng(31.1471, 75.3412), - ]; - - dataSource = MapShapeSource.asset( - 'assets/india.json', - shapeDataField: 'name', - ); - super.initState(); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: SfMaps( - layers: [ - MapShapeLayer( - source: dataSource, - sublayers: [ - MapCircleLayer( - circles: List.generate( - circles.length, - (int index) { - return MapCircle( - center: circles[index], - ); - }, - ).toSet(), - ), - ], - ), - ], - ), - ); - } +@override +Widget build(BuildContext context) { + return Scaffold( + body: SfMaps( + layers: [ + MapShapeLayer( + source: dataSource, + sublayers: [ + MapCircleLayer( + circles: List.generate( + circles.length, + (int index) { + return MapCircle( + center: circles[index], + ); + }, + ).toSet(), + ), + ], + ), + ], + ), + ); } {% endhighlight %} @@ -96,66 +86,56 @@ class _MapsExampleState extends State { {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); +late List circles; + +@override +void initState() { + circles = [ + MapLatLng(15.2993, 74.1240), + MapLatLng(15.5057, 80.0499), + MapLatLng(19.7515, 75.7139), + MapLatLng(23.0225, 72.5714), + MapLatLng(24.8607, 67.0011), + MapLatLng(27.0238, 74.2179), + MapLatLng(26.8467, 80.9462), + MapLatLng(21.2787, 85.2799), + MapLatLng(20.9517, 85.0985), + MapLatLng(25.0961, 85.3131), + MapLatLng(24.6637, 93.9063), + MapLatLng(26.2006, 92.9376), + MapLatLng(28.7041, 77.1025), + MapLatLng(29.0588, 76.0856), + MapLatLng(30.0668, 79.0193), + MapLatLng(31.1471, 75.3412), + ]; + super.initState(); } -class _MapsExampleState extends State { - late List circles; - - @override - void initState() { - circles = [ - MapLatLng(15.2993, 74.1240), - MapLatLng(15.5057, 80.0499), - MapLatLng(19.7515, 75.7139), - MapLatLng(23.0225, 72.5714), - MapLatLng(24.8607, 67.0011), - MapLatLng(27.0238, 74.2179), - MapLatLng(26.8467, 80.9462), - MapLatLng(21.2787, 85.2799), - MapLatLng(20.9517, 85.0985), - MapLatLng(25.0961, 85.3131), - MapLatLng(24.6637, 93.9063), - MapLatLng(26.2006, 92.9376), - MapLatLng(28.7041, 77.1025), - MapLatLng(29.0588, 76.0856), - MapLatLng(30.0668, 79.0193), - MapLatLng(31.1471, 75.3412), - ]; - super.initState(); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: SfMaps( - layers: [ - MapTileLayer( - urlTemplate: 'https://tile.openstreetmap.org/{z}/{x}/{y}.png', - initialFocalLatLng: MapLatLng(20.5937, 78.9629), - initialZoomLevel: 4, - sublayers: [ - MapCircleLayer( - circles: List.generate( - circles.length, - (int index) { - return MapCircle( - center: circles[index], - ); - }, - ).toSet(), - ), - ], - ), - ], - ), - ); - } +@override +Widget build(BuildContext context) { + return Scaffold( + body: SfMaps( + layers: [ + MapTileLayer( + urlTemplate: 'https://tile.openstreetmap.org/{z}/{x}/{y}.png', + initialFocalLatLng: MapLatLng(20.5937, 78.9629), + initialZoomLevel: 4, + sublayers: [ + MapCircleLayer( + circles: List.generate( + circles.length, + (int index) { + return MapCircle( + center: circles[index], + ); + }, + ).toSet(), + ), + ], + ), + ], + ), + ); } {% endhighlight %} @@ -170,71 +150,61 @@ You can change the size of the circles using the [`MapCircle.radius`](https://pu {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); +late List circles; +late MapShapeSource dataSource; + +@override +void initState() { + circles = [ + MapLatLng(15.2993, 74.1240), + MapLatLng(15.5057, 80.0499), + MapLatLng(19.7515, 75.7139), + MapLatLng(23.0225, 72.5714), + MapLatLng(24.8607, 67.0011), + MapLatLng(27.0238, 74.2179), + MapLatLng(26.8467, 80.9462), + MapLatLng(21.2787, 85.2799), + MapLatLng(20.9517, 85.0985), + MapLatLng(25.0961, 85.3131), + MapLatLng(24.6637, 93.9063), + MapLatLng(26.2006, 92.9376), + MapLatLng(28.7041, 77.1025), + MapLatLng(29.0588, 76.0856), + MapLatLng(30.0668, 79.0193), + MapLatLng(31.1471, 75.3412), + ]; + + dataSource = MapShapeSource.asset( + 'assets/india.json', + shapeDataField: 'name', + ); + super.initState(); } -class _MapsExampleState extends State { - late List circles; - late MapShapeSource dataSource; - - @override - void initState() { - circles = [ - MapLatLng(15.2993, 74.1240), - MapLatLng(15.5057, 80.0499), - MapLatLng(19.7515, 75.7139), - MapLatLng(23.0225, 72.5714), - MapLatLng(24.8607, 67.0011), - MapLatLng(27.0238, 74.2179), - MapLatLng(26.8467, 80.9462), - MapLatLng(21.2787, 85.2799), - MapLatLng(20.9517, 85.0985), - MapLatLng(25.0961, 85.3131), - MapLatLng(24.6637, 93.9063), - MapLatLng(26.2006, 92.9376), - MapLatLng(28.7041, 77.1025), - MapLatLng(29.0588, 76.0856), - MapLatLng(30.0668, 79.0193), - MapLatLng(31.1471, 75.3412), - ]; - - dataSource = MapShapeSource.asset( - 'assets/india.json', - shapeDataField: 'name', - ); - super.initState(); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: SfMaps( - layers: [ - MapShapeLayer( - source: dataSource, - sublayers: [ - MapCircleLayer( - circles: List.generate( - circles.length, - (int index) { - return MapCircle( - center: circles[index], - radius: 10, - ); - }, - ).toSet(), - ), - ], - ), - ], - ), - ); - } +@override +Widget build(BuildContext context) { + return Scaffold( + body: SfMaps( + layers: [ + MapShapeLayer( + source: dataSource, + sublayers: [ + MapCircleLayer( + circles: List.generate( + circles.length, + (int index) { + return MapCircle( + center: circles[index], + radius: 10, + ); + }, + ).toSet(), + ), + ], + ), + ], + ), + ); } {% endhighlight %} @@ -249,64 +219,54 @@ You can apply the same color for all [`MapCircle`](https://pub.dev/documentation {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); +late List circles; +late MapShapeSource dataSource; + +@override +void initState() { + circles = [ + MapCircleModel(MapLatLng(15.2993, 74.1240), Colors.pink), + MapCircleModel(MapLatLng(15.5057, 80.0499), Colors.teal), + MapCircleModel(MapLatLng(19.7515, 75.7139), Colors.purple), + MapCircleModel(MapLatLng(23.0225, 72.5714), Colors.green), + MapCircleModel(MapLatLng(24.8607, 67.0011), Colors.orange), + MapCircleModel(MapLatLng(27.0238, 74.2179), Colors.blue), + MapCircleModel(MapLatLng(26.8467, 80.9462), Colors.purpleAccent), + MapCircleModel(MapLatLng(21.2787, 85.2799), Colors.redAccent), + ]; + + dataSource = MapShapeSource.asset( + 'assets/india.json', + shapeDataField: 'name', + ); + super.initState(); } -class _MapsExampleState extends State { - late List circles; - late MapShapeSource dataSource; - - @override - void initState() { - circles = [ - MapCircleModel(MapLatLng(15.2993, 74.1240), Colors.pink), - MapCircleModel(MapLatLng(15.5057, 80.0499), Colors.teal), - MapCircleModel(MapLatLng(19.7515, 75.7139), Colors.purple), - MapCircleModel(MapLatLng(23.0225, 72.5714), Colors.green), - MapCircleModel(MapLatLng(24.8607, 67.0011), Colors.orange), - MapCircleModel(MapLatLng(27.0238, 74.2179), Colors.blue), - MapCircleModel(MapLatLng(26.8467, 80.9462), Colors.purpleAccent), - MapCircleModel(MapLatLng(21.2787, 85.2799), Colors.redAccent), - ]; - - dataSource = MapShapeSource.asset( - 'assets/india.json', - shapeDataField: 'name', - ); - super.initState(); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: SfMaps( - layers: [ - MapShapeLayer( - source: dataSource, - sublayers: [ - MapCircleLayer( - circles: List.generate( - circles.length, - (int index) { - return MapCircle( - center: circles[index].center, - radius: 10, - color: circles[index].color, - ); - }, - ).toSet(), - ), - ], - ), - ], - ), - ); - } +@override +Widget build(BuildContext context) { + return Scaffold( + body: SfMaps( + layers: [ + MapShapeLayer( + source: dataSource, + sublayers: [ + MapCircleLayer( + circles: List.generate( + circles.length, + (int index) { + return MapCircle( + center: circles[index].center, + radius: 10, + color: circles[index].color, + ); + }, + ).toSet(), + ), + ], + ), + ], + ), + ); } class MapCircleModel { @@ -330,65 +290,55 @@ You can apply the same stroke color for all [`MapCircle`](https://pub.dev/docume {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); +late List circles; +late MapShapeSource dataSource; + +@override +void initState() { + circles = [ + MapCircleModel(MapLatLng(15.2993, 74.1240), Colors.pink), + MapCircleModel(MapLatLng(15.5057, 80.0499), Colors.teal), + MapCircleModel(MapLatLng(19.7515, 75.7139), Colors.purple), + MapCircleModel(MapLatLng(23.0225, 72.5714), Colors.green), + MapCircleModel(MapLatLng(24.8607, 67.0011), Colors.orange), + MapCircleModel(MapLatLng(27.0238, 74.2179), Colors.blue), + MapCircleModel(MapLatLng(26.8467, 80.9462), Colors.purpleAccent), + MapCircleModel(MapLatLng(21.2787, 85.2799), Colors.redAccent), + ]; + + dataSource = MapShapeSource.asset( + 'assets/india.json', + shapeDataField: 'name', + ); + super.initState(); } -class _MapsExampleState extends State { - late List circles; - late MapShapeSource dataSource; - - @override - void initState() { - circles = [ - MapCircleModel(MapLatLng(15.2993, 74.1240), Colors.pink), - MapCircleModel(MapLatLng(15.5057, 80.0499), Colors.teal), - MapCircleModel(MapLatLng(19.7515, 75.7139), Colors.purple), - MapCircleModel(MapLatLng(23.0225, 72.5714), Colors.green), - MapCircleModel(MapLatLng(24.8607, 67.0011), Colors.orange), - MapCircleModel(MapLatLng(27.0238, 74.2179), Colors.blue), - MapCircleModel(MapLatLng(26.8467, 80.9462), Colors.purpleAccent), - MapCircleModel(MapLatLng(21.2787, 85.2799), Colors.redAccent), - ]; - - dataSource = MapShapeSource.asset( - 'assets/india.json', - shapeDataField: 'name', - ); - super.initState(); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: SfMaps( - layers: [ - MapShapeLayer( - source: dataSource, - sublayers: [ - MapCircleLayer( - circles: List.generate( - circles.length, - (int index) { - return MapCircle( - center: circles[index].center, - radius: index % 2 == 0 ? 10 : 20, - strokeWidth: 3, - strokeColor: circles[index].color, - ); - }, - ).toSet(), - ), - ], - ), - ], - ), - ); - } +@override +Widget build(BuildContext context) { + return Scaffold( + body: SfMaps( + layers: [ + MapShapeLayer( + source: dataSource, + sublayers: [ + MapCircleLayer( + circles: List.generate( + circles.length, + (int index) { + return MapCircle( + center: circles[index].center, + radius: index % 2 == 0 ? 10 : 20, + strokeWidth: 3, + strokeColor: circles[index].color, + ); + }, + ).toSet(), + ), + ], + ), + ], + ), + ); } class MapCircleModel { @@ -412,90 +362,80 @@ By default, there will not be any animation. {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; +late List circles; +late MapShapeSource dataSource; +late AnimationController animationController; +late Animation animation; + +@override +void initState() { + circles = [ + MapLatLng(15.2993, 74.1240), + MapLatLng(15.5057, 80.0499), + MapLatLng(19.7515, 75.7139), + MapLatLng(23.0225, 72.5714), + MapLatLng(24.8607, 67.0011), + MapLatLng(27.0238, 74.2179), + MapLatLng(26.8467, 80.9462), + MapLatLng(21.2787, 85.2799), + MapLatLng(20.9517, 85.0985), + MapLatLng(25.0961, 85.3131), + MapLatLng(24.6637, 93.9063), + MapLatLng(26.2006, 92.9376), + MapLatLng(28.7041, 77.1025), + MapLatLng(29.0588, 76.0856), + MapLatLng(30.0668, 79.0193), + MapLatLng(31.1471, 75.3412), + ]; + + dataSource = MapShapeSource.asset( + 'assets/india.json', + shapeDataField: 'name', + ); -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); + animationController = AnimationController( + duration: Duration(seconds: 3), + vsync: this, + ); + animation = CurvedAnimation( + parent: animationController, + curve: Curves.easeInOut, + ); + animationController.forward(from: 0); + super.initState(); } -class _MapsExampleState extends State with TickerProviderStateMixin { - late List circles; - late MapShapeSource dataSource; - late AnimationController animationController; - late Animation animation; - - @override - void initState() { - circles = [ - MapLatLng(15.2993, 74.1240), - MapLatLng(15.5057, 80.0499), - MapLatLng(19.7515, 75.7139), - MapLatLng(23.0225, 72.5714), - MapLatLng(24.8607, 67.0011), - MapLatLng(27.0238, 74.2179), - MapLatLng(26.8467, 80.9462), - MapLatLng(21.2787, 85.2799), - MapLatLng(20.9517, 85.0985), - MapLatLng(25.0961, 85.3131), - MapLatLng(24.6637, 93.9063), - MapLatLng(26.2006, 92.9376), - MapLatLng(28.7041, 77.1025), - MapLatLng(29.0588, 76.0856), - MapLatLng(30.0668, 79.0193), - MapLatLng(31.1471, 75.3412), - ]; - - dataSource = MapShapeSource.asset( - 'assets/india.json', - shapeDataField: 'name', - ); - - animationController = AnimationController( - duration: Duration(seconds: 3), - vsync: this, - ); - animation = CurvedAnimation( - parent: animationController, - curve: Curves.easeInOut, - ); - animationController.forward(from: 0); - super.initState(); - } - - @override - void dispose() { - animationController.dispose(); - super.dispose(); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: SfMaps( - layers: [ - MapShapeLayer( - source: dataSource, - sublayers: [ - MapCircleLayer( - circles: List.generate( - circles.length, - (int index) { - return MapCircle( - center: circles[index], - radius: 10, - ); - }, - ).toSet(), - animation: animation, - ), - ], - ), - ], - ), - ); - } +@override +void dispose() { + animationController.dispose(); + super.dispose(); +} + +@override +Widget build(BuildContext context) { + return Scaffold( + body: SfMaps( + layers: [ + MapShapeLayer( + source: dataSource, + sublayers: [ + MapCircleLayer( + circles: List.generate( + circles.length, + (int index) { + return MapCircle( + center: circles[index], + radius: 10, + ); + }, + ).toSet(), + animation: animation, + ), + ], + ), + ], + ), + ); } {% endhighlight %} @@ -510,80 +450,70 @@ You can use the [`onTap`](https://pub.dev/documentation/syncfusion_flutter_maps/ {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; +late List circles; +late MapShapeSource dataSource; +late int selectedIndex; + +@override +void initState() { + circles = [ + MapLatLng(15.2993, 74.1240), + MapLatLng(15.5057, 80.0499), + MapLatLng(19.7515, 75.7139), + MapLatLng(23.0225, 72.5714), + MapLatLng(24.8607, 67.0011), + MapLatLng(27.0238, 74.2179), + MapLatLng(26.8467, 80.9462), + MapLatLng(21.2787, 85.2799), + MapLatLng(20.9517, 85.0985), + MapLatLng(25.0961, 85.3131), + MapLatLng(24.6637, 93.9063), + MapLatLng(26.2006, 92.9376), + MapLatLng(28.7041, 77.1025), + MapLatLng(29.0588, 76.0856), + MapLatLng(30.0668, 79.0193), + MapLatLng(31.1471, 75.3412), + ]; + + dataSource = MapShapeSource.asset( + 'assets/india.json', + shapeDataField: 'name', + ); -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); + selectedIndex = -1; + super.initState(); } -class _MapsExampleState extends State { - late List circles; - late MapShapeSource dataSource; - late int selectedIndex; - - @override - void initState() { - circles = [ - MapLatLng(15.2993, 74.1240), - MapLatLng(15.5057, 80.0499), - MapLatLng(19.7515, 75.7139), - MapLatLng(23.0225, 72.5714), - MapLatLng(24.8607, 67.0011), - MapLatLng(27.0238, 74.2179), - MapLatLng(26.8467, 80.9462), - MapLatLng(21.2787, 85.2799), - MapLatLng(20.9517, 85.0985), - MapLatLng(25.0961, 85.3131), - MapLatLng(24.6637, 93.9063), - MapLatLng(26.2006, 92.9376), - MapLatLng(28.7041, 77.1025), - MapLatLng(29.0588, 76.0856), - MapLatLng(30.0668, 79.0193), - MapLatLng(31.1471, 75.3412), - ]; - - dataSource = MapShapeSource.asset( - 'assets/india.json', - shapeDataField: 'name', - ); - - selectedIndex = -1; - super.initState(); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: SfMaps( - layers: [ - MapShapeLayer( - source: dataSource, - sublayers: [ - MapCircleLayer( - circles: List.generate( - circles.length, - (int index) { - return MapCircle( - center: circles[index], - radius: 10, - color: selectedIndex == index ? Colors.pink : Colors.blue, - onTap: () { - setState(() { - selectedIndex = index; - }); - }, - ); - }, - ).toSet(), - ), - ], - ), - ], - ), - ); - } +@override +Widget build(BuildContext context) { + return Scaffold( + body: SfMaps( + layers: [ + MapShapeLayer( + source: dataSource, + sublayers: [ + MapCircleLayer( + circles: List.generate( + circles.length, + (int index) { + return MapCircle( + center: circles[index], + radius: 10, + color: selectedIndex == index ? Colors.pink : Colors.blue, + onTap: () { + setState(() { + selectedIndex = index; + }); + }, + ); + }, + ).toSet(), + ), + ], + ), + ], + ), + ); } {% endhighlight %} @@ -598,102 +528,92 @@ You can show additional information about the circles drawn using the [`tooltipB {% tabs %} {% highlight Dart %} -import 'dart:math'; -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; +late List circles; +late MapShapeSource dataSource; +late Random random; + +@override +void initState() { + circles = [ + MapLatLng(15.2993, 74.1240), + MapLatLng(15.5057, 80.0499), + MapLatLng(19.7515, 75.7139), + MapLatLng(23.0225, 72.5714), + MapLatLng(24.8607, 67.0011), + MapLatLng(27.0238, 74.2179), + MapLatLng(26.8467, 80.9462), + MapLatLng(21.2787, 85.2799), + MapLatLng(20.9517, 85.0985), + MapLatLng(25.0961, 85.3131), + MapLatLng(24.6637, 93.9063), + MapLatLng(26.2006, 92.9376), + MapLatLng(28.7041, 77.1025), + MapLatLng(29.0588, 76.0856), + MapLatLng(30.0668, 79.0193), + MapLatLng(31.1471, 75.3412), + ]; + + dataSource = MapShapeSource.asset( + 'assets/india.json', + shapeDataField: 'name', + ); -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); + random = Random(); + super.initState(); } -class _MapsExampleState extends State { - late List circles; - late MapShapeSource dataSource; - late Random random; - - @override - void initState() { - circles = [ - MapLatLng(15.2993, 74.1240), - MapLatLng(15.5057, 80.0499), - MapLatLng(19.7515, 75.7139), - MapLatLng(23.0225, 72.5714), - MapLatLng(24.8607, 67.0011), - MapLatLng(27.0238, 74.2179), - MapLatLng(26.8467, 80.9462), - MapLatLng(21.2787, 85.2799), - MapLatLng(20.9517, 85.0985), - MapLatLng(25.0961, 85.3131), - MapLatLng(24.6637, 93.9063), - MapLatLng(26.2006, 92.9376), - MapLatLng(28.7041, 77.1025), - MapLatLng(29.0588, 76.0856), - MapLatLng(30.0668, 79.0193), - MapLatLng(31.1471, 75.3412), - ]; - - dataSource = MapShapeSource.asset( - 'assets/india.json', - shapeDataField: 'name', - ); - - random = Random(); - super.initState(); - } - - @override - Widget build(BuildContext context) { - final ThemeData themeData = Theme.of(context); - final TextStyle textStyle = themeData.textTheme.labelSmall! - .copyWith(color: themeData.colorScheme.surface); - return Scaffold( - body: SfMaps( - layers: [ - MapShapeLayer( - source: dataSource, - sublayers: [ - MapCircleLayer( - circles: List.generate( - circles.length, - (int index) { - return MapCircle( - center: circles[index], - radius: 10, - ); - }, - ).toSet(), - tooltipBuilder: (BuildContext context, int index) { - return Container( - padding: EdgeInsets.all(10), - child: Column( - mainAxisSize: MainAxisSize.min, - children: [ - Row( - mainAxisSize: MainAxisSize.min, - children: [ - Text('Disease name :', style: textStyle), - Text(' ' + 'Corona', style: textStyle), - ], - ), - Row( - mainAxisSize: MainAxisSize.min, - children: [ - Text('Active cases :', style: textStyle), - Text(' ' + random.nextInt(62342).toString(), - style: textStyle), - ], - ], - ), - ); - } - ), - ], - ), - ], - ), - ); - } +@override +Widget build(BuildContext context) { + final ThemeData themeData = Theme.of(context); + final TextStyle textStyle = themeData.textTheme.caption! + .copyWith(color: themeData.colorScheme.surface); + return Scaffold( + body: SfMaps( + layers: [ + MapShapeLayer( + source: dataSource, + sublayers: [ + MapCircleLayer( + circles: List.generate( + circles.length, + (int index) { + return MapCircle( + center: circles[index], + radius: 10, + ); + }, + ).toSet(), + tooltipBuilder: (BuildContext context, int index) { + return Container( + padding: EdgeInsets.all(10), + child: Column( + mainAxisSize: MainAxisSize.min, + children: [ + Row( + mainAxisSize: MainAxisSize.min, + children: [ + Text('Disease name :', style: textStyle), + Text(' ' + 'Corona', style: textStyle), + ], + ), + Row( + mainAxisSize: MainAxisSize.min, + children: [ + Text('Active cases :', style: textStyle), + Text(' ' + random.nextInt(62342).toString(), + style: textStyle), + ], + ), + ], + ), + ); + } + ), + ], + ), + ], + ), + ); } {% endhighlight %} @@ -712,111 +632,101 @@ You can customize the appearance of the tooltip. {% tabs %} {% highlight Dart %} -import 'dart:math'; -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; +late List circles; +late MapShapeSource dataSource; +late Random random; + +@override +void initState() { + circles = [ + MapLatLng(15.2993, 74.1240), + MapLatLng(15.5057, 80.0499), + MapLatLng(19.7515, 75.7139), + MapLatLng(23.0225, 72.5714), + MapLatLng(24.8607, 67.0011), + MapLatLng(27.0238, 74.2179), + MapLatLng(26.8467, 80.9462), + MapLatLng(21.2787, 85.2799), + MapLatLng(20.9517, 85.0985), + MapLatLng(25.0961, 85.3131), + MapLatLng(24.6637, 93.9063), + MapLatLng(26.2006, 92.9376), + MapLatLng(28.7041, 77.1025), + MapLatLng(29.0588, 76.0856), + MapLatLng(30.0668, 79.0193), + MapLatLng(31.1471, 75.3412), + ]; + + dataSource = MapShapeSource.asset( + 'assets/india.json', + shapeDataField: 'name', + ); -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); + random = Random(); + super.initState(); } -class _MapsExampleState extends State { - late List circles; - late MapShapeSource dataSource; - late Random random; - - @override - void initState() { - circles = [ - MapLatLng(15.2993, 74.1240), - MapLatLng(15.5057, 80.0499), - MapLatLng(19.7515, 75.7139), - MapLatLng(23.0225, 72.5714), - MapLatLng(24.8607, 67.0011), - MapLatLng(27.0238, 74.2179), - MapLatLng(26.8467, 80.9462), - MapLatLng(21.2787, 85.2799), - MapLatLng(20.9517, 85.0985), - MapLatLng(25.0961, 85.3131), - MapLatLng(24.6637, 93.9063), - MapLatLng(26.2006, 92.9376), - MapLatLng(28.7041, 77.1025), - MapLatLng(29.0588, 76.0856), - MapLatLng(30.0668, 79.0193), - MapLatLng(31.1471, 75.3412), - ]; - - dataSource = MapShapeSource.asset( - 'assets/india.json', - shapeDataField: 'name', - ); - - random = Random(); - super.initState(); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: SfMaps( - layers: [ - MapShapeLayer( - source: dataSource, - tooltipSettings: const MapTooltipSettings( - color: Colors.white, - strokeWidth: 2, - strokeColor: Colors.black, - ), - sublayers: [ - MapCircleLayer( - circles: List.generate( - circles.length, - (int index) { - return MapCircle( - center: circles[index], - radius: 10, - ); - }, - ).toSet(), - tooltipBuilder: (BuildContext context, int index) { - return Container( - padding: EdgeInsets.all(10), - child: Column( - mainAxisSize: MainAxisSize.min, - children: [ - Row( - mainAxisSize: MainAxisSize.min, - children: [ - Text('Disease name :', - style: TextStyle( - color: Colors.black, +@override +Widget build(BuildContext context) { + return Scaffold( + body: SfMaps( + layers: [ + MapShapeLayer( + source: dataSource, + tooltipSettings: const MapTooltipSettings( + color: Colors.white, + strokeWidth: 2, + strokeColor: Colors.black, + ), + sublayers: [ + MapCircleLayer( + circles: List.generate( + circles.length, + (int index) { + return MapCircle( + center: circles[index], + radius: 10, + ); + }, + ).toSet(), + tooltipBuilder: (BuildContext context, int index) { + return Container( + padding: EdgeInsets.all(10), + child: Column( + mainAxisSize: MainAxisSize.min, + children: [ + Row( + mainAxisSize: MainAxisSize.min, + children: [ + Text('Disease name :', + style: TextStyle( + color: Colors.black, + fontWeight: FontWeight.bold)), + Text(' ' + 'Corona', + style: TextStyle(color: Colors.black)), + ], + ), + Row( + mainAxisSize: MainAxisSize.min, + children: [ + Text('Active cases :', + style: TextStyle( + color: Colors.black, fontWeight: FontWeight.bold)), - Text(' ' + 'Corona', + Text(' ' + random.nextInt(62342).toString(), style: TextStyle(color: Colors.black)), - ], - ), - Row( - mainAxisSize: MainAxisSize.min, - children: [ - Text('Active cases :', - style: TextStyle( - color: Colors.black, - fontWeight: FontWeight.bold)), - Text(' ' + random.nextInt(62342).toString(), - style: TextStyle(color: Colors.black)), - ], - ), - ], - ); - } - ), - ], - ), - ], - ), - ); - } + ], + ), + ], + ), + ); + } + ), + ], + ), + ], + ), + ); } {% endhighlight %} @@ -843,53 +753,43 @@ I> The individual circle customization like [`MapCircle.color`](https://pub.dev/ {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; +late MapZoomPanBehavior zoomPanBehavior; -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); +@override +void initState() { + zoomPanBehavior = MapZoomPanBehavior(zoomLevel: 4, maxZoomLevel: 15); + super.initState(); } -class _MapsExampleState extends State { - late MapZoomPanBehavior zoomPanBehavior; - - @override - void initState() { - zoomPanBehavior = MapZoomPanBehavior(zoomLevel: 4, maxZoomLevel: 15); - super.initState(); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: SfMaps( - layers: [ - MapTileLayer( - urlTemplate: 'https://tile.openstreetmap.org/{z}/{x}/{y}.png', - initialFocalLatLng: MapLatLng(-14.2350, -51.9253), - sublayers: [ - MapCircleLayer.inverted( - circles: List.generate( - 1, - (int index) { - return MapCircle( - center: MapLatLng(-14.2350, -51.9253), - radius: 50, - ); - }, - ).toSet(), - color: Colors.black.withOpacity(0.3), - strokeColor: Colors.red, - strokeWidth: 1, - ), - ], - zoomPanBehavior: zoomPanBehavior, - ), - ], - ), - ); - } +@override +Widget build(BuildContext context) { + return Scaffold( + body: SfMaps( + layers: [ + MapTileLayer( + urlTemplate: 'https://tile.openstreetmap.org/{z}/{x}/{y}.png', + initialFocalLatLng: MapLatLng(-14.2350, -51.9253), + sublayers: [ + MapCircleLayer.inverted( + circles: List.generate( + 1, + (int index) { + return MapCircle( + center: MapLatLng(-14.2350, -51.9253), + radius: 50, + ); + }, + ).toSet(), + color: Colors.black.withOpacity(0.3), + strokeColor: Colors.red, + strokeWidth: 1, + ), + ], + zoomPanBehavior: zoomPanBehavior, + ), + ], + ), + ); } {% endhighlight %} diff --git a/chart-sdk/flutter/maps/vector-layers/line-layer.md b/chart-sdk/flutter/maps/vector-layers/line-layer.md index 904f86913..a1312411c 100644 --- a/chart-sdk/flutter/maps/vector-layers/line-layer.md +++ b/chart-sdk/flutter/maps/vector-layers/line-layer.md @@ -1,13 +1,13 @@ --- layout: post -title: Line Layer in Flutter Maps | Syncfusion® -description: Learn about line layers in Syncfusion® Flutter Maps (SfMaps), including route visualization, line customization, styling, and map overlays. +title: Lines in Flutter Maps widget | Syncfusion +description: Learn here all about adding the Line Layer feature of Syncfusion Flutter Maps (SfMaps) widget and more. platform: chart-sdk control: SfMaps documentation: ug --- -# Line Layer in Flutter Maps (SfMaps) +# Lines in Flutter Maps (SfMaps) Line layer is a sublayer that renders a group of [`MapLine`](https://pub.dev/documentation/syncfusion_flutter_maps/latest/maps/MapLine-class.html) on [`MapShapeLayer`](https://pub.dev/documentation/syncfusion_flutter_maps/latest/maps/MapShapeLayer-class.html) and [`MapTileLayer`](https://pub.dev/documentation/syncfusion_flutter_maps/latest/maps/MapTileLayer-class.html). This section helps you learn how to add lines and customize them. @@ -22,57 +22,47 @@ N> It is applicable for both the tile layer and shape layer. {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); +late MapShapeSource dataSource; +late List data; + +@override +void initState() { + data = [ + DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(56.1304, -106.3468)), + DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(-9.1900, -75.0152)), + DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(61.5240, 105.3188)), + DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(-25.2744, 133.7751)), + ]; + + dataSource = MapShapeSource.asset( + 'assets/world_map.json', + shapeDataField: 'continent', + ); + super.initState(); } -class _MapsExampleState extends State { - late MapShapeSource dataSource; - late List data; - - @override - void initState() { - data = [ - DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(56.1304, -106.3468)), - DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(-9.1900, -75.0152)), - DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(61.5240, 105.3188)), - DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(-25.2744, 133.7751)), - ]; - - dataSource = MapShapeSource.asset( - 'assets/world_map.json', - shapeDataField: 'continent', - ); - super.initState(); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: Padding( - padding: EdgeInsets.all(10), - child: SfMaps(layers: [ - MapShapeLayer( - source: dataSource, - sublayers: [ - MapLineLayer( - lines: List.generate(data.length, (int index) { - return MapLine( - from: data[index].from, - to: data[index].to, - ); - }).toSet(), - ), - ], - ), - ]), - ), - ); - } +@override +Widget build(BuildContext context) { + return Scaffold( + body: Padding( + padding: EdgeInsets.all(10), + child: SfMaps(layers: [ + MapShapeLayer( + source: dataSource, + sublayers: [ + MapLineLayer( + lines: List.generate(data.length, (int index) { + return MapLine( + from: data[index].from, + to: data[index].to, + ); + }).toSet(), + ), + ], + ), + ]), + ), + ); } class DataModel { @@ -90,51 +80,41 @@ class DataModel { {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); +late List data; + +@override +void initState() { + data = [ + DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(56.1304, -106.3468)), + DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(-9.1900, -75.0152)), + DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(61.5240, 105.3188)), + DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(-25.2744, 133.7751)), + ]; + super.initState(); } -class _MapsExampleState extends State { - late List data; - - @override - void initState() { - data = [ - DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(56.1304, -106.3468)), - DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(-9.1900, -75.0152)), - DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(61.5240, 105.3188)), - DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(-25.2744, 133.7751)), - ]; - super.initState(); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: Padding( - padding: EdgeInsets.all(10), - child: SfMaps(layers: [ - MapTileLayer( - urlTemplate: 'https://tile.openstreetmap.org/{z}/{x}/{y}.png', - sublayers: [ - MapLineLayer( - lines: List.generate(data.length, (int index) { - return MapLine( - from: data[index].from, - to: data[index].to, - ); - }).toSet(), - ), - ], - ), - ]), - ), - ); - } +@override +Widget build(BuildContext context) { + return Scaffold( + body: Padding( + padding: EdgeInsets.all(10), + child: SfMaps(layers: [ + MapTileLayer( + urlTemplate: 'https://tile.openstreetmap.org/{z}/{x}/{y}.png', + sublayers: [ + MapLineLayer( + lines: List.generate(data.length, (int index) { + return MapLine( + from: data[index].from, + to: data[index].to, + ); + }).toSet(), + ), + ], + ), + ]), + ), + ); } class DataModel { @@ -156,58 +136,48 @@ You can apply the same color for all [`MapLine`](https://pub.dev/documentation/s {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); +late MapShapeSource dataSource; +late List data; + +@override +void initState() { + data = [ + DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(56.1304, -106.3468), Colors.redAccent), + DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(-9.1900, -75.0152), Colors.deepPurpleAccent), + DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(61.5240, 105.3188), Colors.blueAccent), + DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(-25.2744, 133.7751), Colors.teal), + ]; + + dataSource = MapShapeSource.asset( + 'assets/world_map.json', + shapeDataField: 'continent', + ); + super.initState(); } -class _MapsExampleState extends State { - late MapShapeSource dataSource; - late List data; - - @override - void initState() { - data = [ - DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(56.1304, -106.3468), Colors.redAccent), - DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(-9.1900, -75.0152), Colors.deepPurpleAccent), - DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(61.5240, 105.3188), Colors.blueAccent), - DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(-25.2744, 133.7751), Colors.teal), - ]; - - dataSource = MapShapeSource.asset( - 'assets/world_map.json', - shapeDataField: 'continent', - ); - super.initState(); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: Padding( - padding: EdgeInsets.all(10), - child: SfMaps(layers: [ - MapShapeLayer( - source: dataSource, - sublayers: [ - MapLineLayer( - lines: List.generate(data.length, (int index) { - return MapLine( - from: data[index].from, - to: data[index].to, - color: data[index].color, - ); - }).toSet(), - ), - ], - ), - ]), - ), - ); - } +@override +Widget build(BuildContext context) { + return Scaffold( + body: Padding( + padding: EdgeInsets.all(10), + child: SfMaps(layers: [ + MapShapeLayer( + source: dataSource, + sublayers: [ + MapLineLayer( + lines: List.generate(data.length, (int index) { + return MapLine( + from: data[index].from, + to: data[index].to, + color: data[index].color, + ); + }).toSet(), + ), + ], + ), + ]), + ), + ); } class DataModel { @@ -230,58 +200,48 @@ You can apply the same width for all [`MapLine`](https://pub.dev/documentation/s {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); +late MapShapeSource dataSource; +late List data; + +@override +void initState() { + data = [ + DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(56.1304, -106.3468), 2), + DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(-9.1900, -75.0152), 4), + DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(61.5240, 105.3188), 5), + DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(-25.2744, 133.7751), 6), + ]; + + dataSource = MapShapeSource.asset( + 'assets/world_map.json', + shapeDataField: 'continent', + ); + super.initState(); } -class _MapsExampleState extends State { - late MapShapeSource dataSource; - late List data; - - @override - void initState() { - data = [ - DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(56.1304, -106.3468), 2), - DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(-9.1900, -75.0152), 4), - DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(61.5240, 105.3188), 5), - DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(-25.2744, 133.7751), 6), - ]; - - dataSource = MapShapeSource.asset( - 'assets/world_map.json', - shapeDataField: 'continent', - ); - super.initState(); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: Padding( - padding: EdgeInsets.all(10), - child: SfMaps(layers: [ - MapShapeLayer( - source: dataSource, - sublayers: [ - MapLineLayer( - lines: List.generate(data.length, (int index) { - return MapLine( - from: data[index].from, - to: data[index].to, - width: data[index].width, - ); - }).toSet(), - ), - ], - ), - ]), - ), - ); - } +@override +Widget build(BuildContext context) { + return Scaffold( + body: Padding( + padding: EdgeInsets.all(10), + child: SfMaps(layers: [ + MapShapeLayer( + source: dataSource, + sublayers: [ + MapLineLayer( + lines: List.generate(data.length, (int index) { + return MapLine( + from: data[index].from, + to: data[index].to, + width: data[index].width, + ); + }).toSet(), + ), + ], + ), + ]), + ), + ); } class DataModel { @@ -304,58 +264,48 @@ You can apply the same stroke cap for all [`MapLine`](https://pub.dev/documentat {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); +late MapShapeSource dataSource; +late List data; + +@override +void initState() { + data = [ + DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(56.1304, -106.3468), 3), + DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(-9.1900, -75.0152), 4), + DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(61.5240, 105.3188), 6), + DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(-25.2744, 133.7751), 7), + ]; + + dataSource = MapShapeSource.asset( + 'assets/world_map.json', + shapeDataField: 'continent', + ); + super.initState(); } -class _MapsExampleState extends State { - late MapShapeSource dataSource; - late List data; - - @override - void initState() { - data = [ - DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(56.1304, -106.3468), 3), - DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(-9.1900, -75.0152), 4), - DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(61.5240, 105.3188), 6), - DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(-25.2744, 133.7751), 7), - ]; - - dataSource = MapShapeSource.asset( - 'assets/world_map.json', - shapeDataField: 'continent', - ); - super.initState(); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: SfMaps( - layers: [ - MapShapeLayer( - source: dataSource, - sublayers: [ - MapLineLayer( - lines: List.generate(data.length, (int index) { - return MapLine( - from: data[index].from, - to: data[index].to, - width: data[index].width, - strokeCap: StrokeCap.round, - ); - }).toSet(), - ), - ], - ), - ], - ), - ); - } +@override +Widget build(BuildContext context) { + return Scaffold( + body: SfMaps( + layers: [ + MapShapeLayer( + source: dataSource, + sublayers: [ + MapLineLayer( + lines: List.generate(data.length, (int index) { + return MapLine( + from: data[index].from, + to: data[index].to, + width: data[index].width, + strokeCap: StrokeCap.round, + ); + }).toSet(), + ), + ], + ), + ], + ), + ); } class DataModel { @@ -380,59 +330,49 @@ A sequence of dash and gap will be rendered based on the values in this list. On {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); +late MapShapeSource dataSource; +late List data; + +@override +void initState() { + data = [ + DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(56.1304, -106.3468)), + DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(-9.1900, -75.0152)), + DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(61.5240, 105.3188)), + DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(-25.2744, 133.7751)), + ]; + + dataSource = MapShapeSource.asset( + 'assets/world_map.json', + shapeDataField: 'continent', + ); + super.initState(); } -class _MapsExampleState extends State { - late MapShapeSource dataSource; - late List data; - - @override - void initState() { - data = [ - DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(56.1304, -106.3468)), - DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(-9.1900, -75.0152)), - DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(61.5240, 105.3188)), - DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(-25.2744, 133.7751)), - ]; - - dataSource = MapShapeSource.asset( - 'assets/world_map.json', - shapeDataField: 'continent', - ); - super.initState(); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: Padding( - padding: EdgeInsets.all(10), - child: SfMaps(layers: [ - MapShapeLayer( - source: dataSource, - sublayers: [ - MapLineLayer( - lines: List.generate(data.length, (int index) { - return MapLine( - from: data[index].from, - to: data[index].to, - dashArray: [8, 4, 2, 4], - ); - }).toSet(), - color: Colors.blue, - ), - ], - ), - ]), - ), - ); - } +@override +Widget build(BuildContext context) { + return Scaffold( + body: Padding( + padding: EdgeInsets.all(10), + child: SfMaps(layers: [ + MapShapeLayer( + source: dataSource, + sublayers: [ + MapLineLayer( + lines: List.generate(data.length, (int index) { + return MapLine( + from: data[index].from, + to: data[index].to, + dashArray: [8, 4, 2, 4], + ); + }).toSet(), + color: Colors.blue, + ), + ], + ), + ]), + ), + ); } class DataModel { @@ -456,77 +396,67 @@ By default, there will not be any animation. {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; +late MapShapeSource dataSource; +late List data; +late AnimationController animationController; +late Animation animation; + +@override +void initState() { + data = [ + DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(56.1304, -106.3468)), + DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(-9.1900, -75.0152)), + DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(61.5240, 105.3188)), + DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(-25.2744, 133.7751)), + ]; + + dataSource = MapShapeSource.asset( + 'assets/world_map.json', + shapeDataField: 'continent', + ); + + animationController = AnimationController( + duration: Duration(seconds: 3), + vsync: this, + ); + animation = CurvedAnimation( + parent: animationController, + curve: Curves.easeInOut, + ); + animationController.forward(from: 0); + super.initState(); +} -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); +@override +void dispose() { + animationController?.dispose(); + super.dispose(); } -class _MapsExampleState extends State with TickerProviderStateMixin { - late MapShapeSource dataSource; - late List data; - late AnimationController animationController; - late Animation animation; - - @override - void initState() { - data = [ - DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(56.1304, -106.3468)), - DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(-9.1900, -75.0152)), - DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(61.5240, 105.3188)), - DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(-25.2744, 133.7751)), - ]; - - dataSource = MapShapeSource.asset( - 'assets/world_map.json', - shapeDataField: 'continent', - ); - - animationController = AnimationController( - duration: Duration(seconds: 3), - vsync: this, - ); - animation = CurvedAnimation( - parent: animationController, - curve: Curves.easeInOut, - ); - animationController.forward(from: 0); - super.initState(); - } - - @override - void dispose() { - animationController.dispose(); - super.dispose(); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: Padding( - padding: EdgeInsets.all(10), - child: SfMaps(layers: [ - MapShapeLayer( - source: dataSource, - sublayers: [ - MapLineLayer( - lines: List.generate(data.length, (int index) { - return MapLine( - from: data[index].from, - to: data[index].to, - ); - }).toSet(), - color: Colors.blue, - animation: animation, - ), - ], - ), - ]), - ), - ); - } +@override +Widget build(BuildContext context) { + return Scaffold( + body: Padding( + padding: EdgeInsets.all(10), + child: SfMaps(layers: [ + MapShapeLayer( + source: dataSource, + sublayers: [ + MapLineLayer( + lines: List.generate(data.length, (int index) { + return MapLine( + from: data[index].from, + to: data[index].to, + ); + }).toSet(), + color: Colors.blue, + animation: animation, + ), + ], + ), + ]), + ), + ); } class DataModel { @@ -548,65 +478,55 @@ You can use the [`onTap`](https://pub.dev/documentation/syncfusion_flutter_maps/ {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); +late MapShapeSource dataSource; +late List data; +late int selectedIndex; + +@override +void initState() { + data = [ + DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(56.1304, -106.3468)), + DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(-9.1900, -75.0152)), + DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(61.5240, 105.3188)), + DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(-25.2744, 133.7751)), + ]; + + dataSource = MapShapeSource.asset( + 'assets/world_map.json', + shapeDataField: 'continent', + ); + + selectedIndex = -1; + super.initState(); } -class _MapsExampleState extends State { - late MapShapeSource dataSource; - late List data; - late int selectedIndex; - - @override - void initState() { - data = [ - DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(56.1304, -106.3468)), - DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(-9.1900, -75.0152)), - DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(61.5240, 105.3188)), - DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(-25.2744, 133.7751)), - ]; - - dataSource = MapShapeSource.asset( - 'assets/world_map.json', - shapeDataField: 'continent', - ); - - selectedIndex = -1; - super.initState(); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: Padding( - padding: EdgeInsets.all(10), - child: SfMaps(layers: [ - MapShapeLayer( - source: dataSource, - sublayers: [ - MapLineLayer( - lines: List.generate(data.length, (int index) { - return MapLine( - from: data[index].from, - to: data[index].to, - color: selectedIndex == index ? Colors.pink : Colors.blue, - onTap: () { - setState(() { - selectedIndex = index; - }); +@override +Widget build(BuildContext context) { + return Scaffold( + body: Padding( + padding: EdgeInsets.all(10), + child: SfMaps(layers: [ + MapShapeLayer( + source: dataSource, + sublayers: [ + MapLineLayer( + lines: List.generate(data.length, (int index) { + return MapLine( + from: data[index].from, + to: data[index].to, + color: selectedIndex == index ? Colors.pink : Colors.blue, + onTap: () { + setState(() { + selectedIndex = index; }); - }).toSet(), - ), - ], - ), - ]), - ), - ); - } + }); + }).toSet(), + ), + ], + ), + ]), + ), + ); } class DataModel { @@ -628,87 +548,76 @@ You can show additional information about the line drawn using the [`tooltipBuil {% tabs %} {% highlight Dart %} -import 'dart:math'; -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); +late MapShapeSource dataSource; +late List data; +late Random random; + +@override +void initState() { + data = [ + DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(56.1304, -106.3468)), + DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(-9.1900, -75.0152)), + DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(61.5240, 105.3188)), + DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(-25.2744, 133.7751)), + ]; + + dataSource = MapShapeSource.asset( + 'assets/world_map.json', + shapeDataField: 'continent', + ); + + random = Random(); + super.initState(); } -class _MapsExampleState extends State { - late MapShapeSource dataSource; - late List data; - late Random random; - - @override - void initState() { - data = [ - DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(56.1304, -106.3468)), - DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(-9.1900, -75.0152)), - DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(61.5240, 105.3188)), - DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(-25.2744, 133.7751)), - ]; - - dataSource = MapShapeSource.asset( - 'assets/world_map.json', - shapeDataField: 'continent', - ); - - random = Random(); - super.initState(); - } - - @override - Widget build(BuildContext context) { - final ThemeData themeData = Theme.of(context); - final TextStyle textStyle = themeData.textTheme.labelSmall! - .copyWith(color: themeData.colorScheme.surface); - return Scaffold( - body: Padding( - padding: EdgeInsets.all(10), - child: SfMaps(layers: [ - MapShapeLayer( - source: dataSource, - sublayers: [ - MapLineLayer( - lines: List.generate(data.length, (int index) { - return MapLine( - from: data[index].from, - to: data[index].to, - ); - }).toSet(), - tooltipBuilder: (BuildContext context, int index) { - return Container( - padding: EdgeInsets.only(left: 5, top: 5), - height: 40, - width: 100, - child: Column( - children: [ - Row( - children: [ - Text('Flight : ', style: textStyle), - Text('Air India', style: textStyle), - ], - ), - Row( - children: [ - Text('Depart : ', style: textStyle), - Text(random.nextInt(12).toString() + 'AM', style: textStyle), - ], - ), - ], - ), - ); - }, - ), - ], - ), - ]), - ), - ); - } +@override +Widget build(BuildContext context) { + final ThemeData themeData = Theme.of(context); + final TextStyle textStyle = themeData.textTheme.caption! + .copyWith(color: themeData.colorScheme.surface); + return Scaffold( + body: Padding( + padding: EdgeInsets.all(10), + child: SfMaps(layers: [ + MapShapeLayer( + source: dataSource, + sublayers: [ + MapLineLayer( + lines: List.generate(data.length, (int index) { + return MapLine( + from: data[index].from, + to: data[index].to, + ); + }).toSet(), + tooltipBuilder: (BuildContext context, int index) { + return Container( + padding: EdgeInsets.only(left: 5, top: 5), + height: 40, + width: 100, + child: Column( + children: [ + Row( + children: [ + Text('Flight : ', style: textStyle), + Text('Air India', style: textStyle), + ], + ), + Row( + children: [ + Text('Depart : ', style: textStyle), + Text(random.nextInt(12).toString() + 'AM', style: textStyle), + ], + ), + ], + ), + ); + }, + ), + ], + ), + ]), + ), + ); } class DataModel { @@ -734,89 +643,78 @@ You can customize the appearance of the tooltip: {% tabs %} {% highlight Dart %} -import 'dart:math'; -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); +late MapShapeSource dataSource; +late List data; +late Random random; + +@override +void initState() { + data = [ + DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(56.1304, -106.3468)), + DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(-9.1900, -75.0152)), + DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(61.5240, 105.3188)), + DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(-25.2744, 133.7751)), + ]; + + dataSource = MapShapeSource.asset( + 'assets/world_map.json', + shapeDataField: 'continent', + ); + + random = Random(); + super.initState(); } -class _MapsExampleState extends State { - late MapShapeSource dataSource; - late List data; - late Random random; - - @override - void initState() { - data = [ - DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(56.1304, -106.3468)), - DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(-9.1900, -75.0152)), - DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(61.5240, 105.3188)), - DataModel(MapLatLng(28.7041, 77.1025), MapLatLng(-25.2744, 133.7751)), - ]; - - dataSource = MapShapeSource.asset( - 'assets/world_map.json', - shapeDataField: 'continent', - ); - - random = Random(); - super.initState(); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: Padding( - padding: EdgeInsets.all(10), - child: SfMaps(layers: [ - MapShapeLayer( - source: dataSource, - tooltipSettings: const MapTooltipSettings( - color: Colors.white, - strokeWidth: 2, - strokeColor: Colors.black, - ), - sublayers: [ - MapLineLayer( - lines: List.generate(data.length, (int index) { - return MapLine( - from: data[index].from, - to: data[index].to, - ); - }).toSet(), - tooltipBuilder: (BuildContext context, int index) { - return Container( - padding: EdgeInsets.only(left: 5, top: 5), - height: 40, - width: 100, - child: Column( - children: [ - Row( - children: [ - Text('Flight : '), - Text('Air India'), - ], - ), - Row( - children: [ - Text('Depart : '), - Text(random.nextInt(12).toString() + 'AM'), - ], - ), - ], - ), - ); - }, - ), - ], +@override +Widget build(BuildContext context) { + return Scaffold( + body: Padding( + padding: EdgeInsets.all(10), + child: SfMaps(layers: [ + MapShapeLayer( + source: dataSource, + tooltipSettings: const MapTooltipSettings( + color: Colors.white, + strokeWidth: 2, + strokeColor: Colors.black, ), - ]), - ), - ); - } + sublayers: [ + MapLineLayer( + lines: List.generate(data.length, (int index) { + return MapLine( + from: data[index].from, + to: data[index].to, + ); + }).toSet(), + tooltipBuilder: (BuildContext context, int index) { + return Container( + padding: EdgeInsets.only(left: 5, top: 5), + height: 40, + width: 100, + child: Column( + children: [ + Row( + children: [ + Text('Flight : '), + Text('Air India'), + ], + ), + Row( + children: [ + Text('Depart : '), + Text(random.nextInt(12).toString() + 'AM'), + ], + ), + ], + ), + ); + }, + ), + ], + ), + ]), + ), + ); } class DataModel { diff --git a/chart-sdk/flutter/maps/vector-layers/polygon-layer.md b/chart-sdk/flutter/maps/vector-layers/polygon-layer.md index 3153506a9..5b86f09c8 100644 --- a/chart-sdk/flutter/maps/vector-layers/polygon-layer.md +++ b/chart-sdk/flutter/maps/vector-layers/polygon-layer.md @@ -1,7 +1,7 @@ --- layout: post -title: Polygons in Flutter Maps | Syncfusion® -description: Learn about polygon support in Syncfusion® Flutter Maps (SfMaps), including polygon customization, styling, data visualization, and map overlays. +title: Adding polygons in Flutter Maps widget | Syncfusion +description: Learn here all about adding the Polygons feature of Syncfusion Flutter Maps (SfMaps) widget and more. platform: chart-sdk control: SfMaps documentation: ug @@ -22,69 +22,59 @@ N> It is applicable for both the tile layer and shape layer. {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); +late List polygons; +late List polygon1; +late List polygon2; +late MapShapeSource dataSource; + +@override +void initState() { + polygon1 = [ + MapLatLng(55.7558, 37.6173), + MapLatLng(53.7596, 87.1216), + MapLatLng(61.5240, 105.3188), + ]; + + polygon2 = [ + MapLatLng(64.2823, -135.0000), + MapLatLng(51.2538, -85.3232), + MapLatLng(48.4284, -123.3656), + ]; + + polygons = [ + PolygonModel(polygon1), + PolygonModel(polygon2), + ]; + dataSource = MapShapeSource.asset( + 'assets/world_map.json', + shapeDataField: 'continent', + ); + super.initState(); } -class _MapsExampleState extends State { - late List polygons; - late List polygon1; - late List polygon2; - late MapShapeSource dataSource; - - @override - void initState() { - polygon1 = [ - MapLatLng(55.7558, 37.6173), - MapLatLng(53.7596, 87.1216), - MapLatLng(61.5240, 105.3188), - ]; - - polygon2 = [ - MapLatLng(64.2823, -135.0000), - MapLatLng(51.2538, -85.3232), - MapLatLng(48.4284, -123.3656), - ]; - - polygons = [ - PolygonModel(polygon1), - PolygonModel(polygon2), - ]; - dataSource = MapShapeSource.asset( - 'assets/world_map.json', - shapeDataField: 'continent', - ); - super.initState(); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: SfMaps( - layers: [ - MapShapeLayer( - source: dataSource, - sublayers: [ - MapPolygonLayer( - polygons: List.generate( - polygons.length, - (int index) { - return MapPolygon( - points: polygons[index].points, - ); - }, - ).toSet(), - ), - ], - ), - ], - ), - ); - } +@override +Widget build(BuildContext context) { + return Scaffold( + body: SfMaps( + layers: [ + MapShapeLayer( + source: dataSource, + sublayers: [ + MapPolygonLayer( + polygons: List.generate( + polygons.length, + (int index) { + return MapPolygon( + points: polygons[index].points, + ); + }, + ).toSet(), + ), + ], + ), + ], + ), + ); } class PolygonModel { @@ -100,64 +90,54 @@ class PolygonModel { {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); +late List polygons; +late List polygon1; +late List polygon2; + +@override +void initState() { + polygon1 = [ + MapLatLng(55.7558, 37.6173), + MapLatLng(53.7596, 87.1216), + MapLatLng(61.5240, 105.3188), + ]; + + polygon2 = [ + MapLatLng(64.2823, -135.0000), + MapLatLng(51.2538, -85.3232), + MapLatLng(48.4284, -123.3656), + ]; + + polygons = [ + PolygonModel(polygon1), + PolygonModel(polygon2), + ]; + super.initState(); } -class _MapsExampleState extends State { - late List polygons; - late List polygon1; - late List polygon2; - - @override - void initState() { - polygon1 = [ - MapLatLng(55.7558, 37.6173), - MapLatLng(53.7596, 87.1216), - MapLatLng(61.5240, 105.3188), - ]; - - polygon2 = [ - MapLatLng(64.2823, -135.0000), - MapLatLng(51.2538, -85.3232), - MapLatLng(48.4284, -123.3656), - ]; - - polygons = [ - PolygonModel(polygon1), - PolygonModel(polygon2), - ]; - super.initState(); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: SfMaps( - layers: [ - MapTileLayer( - urlTemplate: 'https://tile.openstreetmap.org/{z}/{x}/{y}.png', - sublayers: [ - MapPolygonLayer( - polygons: List.generate( - polygons.length, - (int index) { - return MapPolygon( - points: polygons[index].points, - ); - }, - ).toSet(), - ), - ], - ), - ], - ), - ); - } +@override +Widget build(BuildContext context) { + return Scaffold( + body: SfMaps( + layers: [ + MapTileLayer( + urlTemplate: 'https://tile.openstreetmap.org/{z}/{x}/{y}.png', + sublayers: [ + MapPolygonLayer( + polygons: List.generate( + polygons.length, + (int index) { + return MapPolygon( + points: polygons[index].points, + ); + }, + ).toSet(), + ), + ], + ), + ], + ), + ); } class PolygonModel { @@ -177,71 +157,61 @@ You can apply the same color for all [`MapPolygon`](https://pub.dev/documentatio {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); +late List polygons; +late List polygon1; +late List polygon2; +late MapShapeSource dataSource; + +@override +void initState() { + polygon1 = [ + MapLatLng(55.7558, 37.6173), + MapLatLng(53.7596, 87.1216), + MapLatLng(61.5240, 105.3188), + ]; + + polygon2 = [ + MapLatLng(64.2823, -135.0000), + MapLatLng(51.2538, -85.3232), + MapLatLng(48.4284, -123.3656), + ]; + + polygons = [ + PolygonModel(polygon1, Colors.greenAccent), + PolygonModel(polygon2, Colors.pinkAccent), + ]; + + dataSource = MapShapeSource.asset( + 'assets/world_map.json', + shapeDataField: 'continent', + ); + super.initState(); } -class _MapsExampleState extends State { - late List polygons; - late List polygon1; - late List polygon2; - late MapShapeSource dataSource; - - @override - void initState() { - polygon1 = [ - MapLatLng(55.7558, 37.6173), - MapLatLng(53.7596, 87.1216), - MapLatLng(61.5240, 105.3188), - ]; - - polygon2 = [ - MapLatLng(64.2823, -135.0000), - MapLatLng(51.2538, -85.3232), - MapLatLng(48.4284, -123.3656), - ]; - - polygons = [ - PolygonModel(polygon1, Colors.greenAccent), - PolygonModel(polygon2, Colors.pinkAccent), - ]; - - dataSource = MapShapeSource.asset( - 'assets/world_map.json', - shapeDataField: 'continent', - ); - super.initState(); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: SfMaps( - layers: [ - MapShapeLayer( - source: dataSource, - sublayers: [ - MapPolygonLayer( - polygons: List.generate( - polygons.length, - (int index) { - return MapPolygon( - points: polygons[index].points, - color: polygons[index].color, - ); - }, - ).toSet(), - ), - ], - ), - ], - ), - ); - } +@override +Widget build(BuildContext context) { + return Scaffold( + body: SfMaps( + layers: [ + MapShapeLayer( + source: dataSource, + sublayers: [ + MapPolygonLayer( + polygons: List.generate( + polygons.length, + (int index) { + return MapPolygon( + points: polygons[index].points, + color: polygons[index].color, + ); + }, + ).toSet(), + ), + ], + ), + ], + ), + ); } class PolygonModel { @@ -264,71 +234,61 @@ You can apply the same stroke color for all [`MapPolygon`](https://pub.dev/docum {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); +late List polygons; +late List polygon1; +late List polygon2; +late MapShapeSource dataSource; + +@override +void initState() { + polygon1 = [ + MapLatLng(55.7558, 37.6173), + MapLatLng(53.7596, 87.1216), + MapLatLng(61.5240, 105.3188), + ]; + + polygon2 = [ + MapLatLng(64.2823, -135.0000), + MapLatLng(51.2538, -85.3232), + MapLatLng(48.4284, -123.3656), + ]; + + polygons = [ + PolygonModel(polygon1, 3), + PolygonModel(polygon2, 4), + ]; + dataSource = MapShapeSource.asset( + 'assets/world_map.json', + shapeDataField: 'continent', + ); + super.initState(); } -class _MapsExampleState extends State { - late List polygons; - late List polygon1; - late List polygon2; - late MapShapeSource dataSource; - - @override - void initState() { - polygon1 = [ - MapLatLng(55.7558, 37.6173), - MapLatLng(53.7596, 87.1216), - MapLatLng(61.5240, 105.3188), - ]; - - polygon2 = [ - MapLatLng(64.2823, -135.0000), - MapLatLng(51.2538, -85.3232), - MapLatLng(48.4284, -123.3656), - ]; - - polygons = [ - PolygonModel(polygon1, 3), - PolygonModel(polygon2, 4), - ]; - dataSource = MapShapeSource.asset( - 'assets/world_map.json', - shapeDataField: 'continent', - ); - super.initState(); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: SfMaps( - layers: [ - MapShapeLayer( - source: dataSource, - sublayers: [ - MapPolygonLayer( - polygons: List.generate( - polygons.length, - (int index) { - return MapPolygon( - points: polygons[index].points, - strokeWidth: polygons[index].width, - strokeColor: Colors.pink, - ); - }, - ).toSet(), - ), - ], - ), - ], - ), - ); - } +@override +Widget build(BuildContext context) { + return Scaffold( + body: SfMaps( + layers: [ + MapShapeLayer( + source: dataSource, + sublayers: [ + MapPolygonLayer( + polygons: List.generate( + polygons.length, + (int index) { + return MapPolygon( + points: polygons[index].points, + strokeWidth: polygons[index].width, + strokeColor: Colors.pink, + ); + }, + ).toSet(), + ), + ], + ), + ], + ), + ); } class PolygonModel { @@ -349,78 +309,68 @@ You can use the [`onTap`](https://pub.dev/documentation/syncfusion_flutter_maps/ {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; +late List polygons; +late List polygon1; +late List polygon2; +late MapShapeSource dataSource; +late int selectedIndex; + +@override +void initState() { + polygon1 = [ + MapLatLng(55.7558, 37.6173), + MapLatLng(53.7596, 87.1216), + MapLatLng(61.5240, 105.3188), + ]; + + polygon2 = [ + MapLatLng(64.2823, -135.0000), + MapLatLng(51.2538, -85.3232), + MapLatLng(48.4284, -123.3656), + ]; + + polygons = [ + PolygonModel(polygon1), + PolygonModel(polygon2), + ]; + dataSource = MapShapeSource.asset( + 'assets/world_map.json', + shapeDataField: 'continent', + ); -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); + selectedIndex = -1; + super.initState(); } -class _MapsExampleState extends State { - late List polygons; - late List polygon1; - late List polygon2; - late MapShapeSource dataSource; - late int selectedIndex; - - @override - void initState() { - polygon1 = [ - MapLatLng(55.7558, 37.6173), - MapLatLng(53.7596, 87.1216), - MapLatLng(61.5240, 105.3188), - ]; - - polygon2 = [ - MapLatLng(64.2823, -135.0000), - MapLatLng(51.2538, -85.3232), - MapLatLng(48.4284, -123.3656), - ]; - - polygons = [ - PolygonModel(polygon1), - PolygonModel(polygon2), - ]; - dataSource = MapShapeSource.asset( - 'assets/world_map.json', - shapeDataField: 'continent', - ); - - selectedIndex = -1; - super.initState(); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: SfMaps( - layers: [ - MapShapeLayer( - source: dataSource, - sublayers: [ - MapPolygonLayer( - polygons: List.generate( - polygons.length, - (int index) { - return MapPolygon( - points: polygons[index].points, - color: selectedIndex == index ? Colors.pink : Colors.blue, - onTap: () { - setState(() { - selectedIndex = index; - }); - } - ); - }, - ).toSet(), - ), - ], - ), - ], - ), - ); - } +@override +Widget build(BuildContext context) { + return Scaffold( + body: SfMaps( + layers: [ + MapShapeLayer( + source: dataSource, + sublayers: [ + MapPolygonLayer( + polygons: List.generate( + polygons.length, + (int index) { + return MapPolygon( + points: polygons[index].points, + color: selectedIndex == index ? Colors.pink : Colors.blue, + onTap: () { + setState(() { + selectedIndex = index; + }); + } + ); + }, + ).toSet(), + ), + ], + ), + ], + ), + ); } class PolygonModel { @@ -440,66 +390,56 @@ You can show additional information about the polygon drawn using the [`tooltipB {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; +late List polygon; -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); +@override +void initState() { + polygon = [ + MapLatLng(27.6648, -81.5158), + MapLatLng(32.3078, -64.7505), + MapLatLng(18.2208, -66.5901), + ]; + super.initState(); } -class _MapsExampleState extends State { - late List polygon; - - @override - void initState() { - polygon = [ - MapLatLng(27.6648, -81.5158), - MapLatLng(32.3078, -64.7505), - MapLatLng(18.2208, -66.5901), - ]; - super.initState(); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: Center( - child: Container( - height: 400, - width: 400, - child: SfMaps( - layers: [ - MapTileLayer( - urlTemplate: 'https://tile.openstreetmap.org/{z}/{x}/{y}.png', - initialFocalLatLng: MapLatLng(27.6648, -81.5158), - initialZoomLevel: 3, - sublayers: [ - MapPolygonLayer( - polygons: List.generate( - 1, - (int index) { - return MapPolygon( - points: polygon, - ); - }, - ).toSet(), - tooltipBuilder: (BuildContext context, int index) { - return Padding( - padding: EdgeInsets.all(10), - child: Text('Bermuda triangle', - style: TextStyle(color: Colors.white)), +@override +Widget build(BuildContext context) { + return Scaffold( + body: Center( + child: Container( + height: 400, + width: 400, + child: SfMaps( + layers: [ + MapTileLayer( + urlTemplate: 'https://tile.openstreetmap.org/{z}/{x}/{y}.png', + initialFocalLatLng: MapLatLng(27.6648, -81.5158), + initialZoomLevel: 3, + sublayers: [ + MapPolygonLayer( + polygons: List.generate( + 1, + (int index) { + return MapPolygon( + points: polygon, ); }, - ), - ], - ), - ], - ), + ).toSet(), + tooltipBuilder: (BuildContext context, int index) { + return Padding( + padding: EdgeInsets.all(10), + child: Text('Bermuda triangle', + style: TextStyle(color: Colors.white)), + ); + }, + ), + ], + ), + ], ), ), - ); - } + ), + ); } {% endhighlight %} @@ -518,70 +458,60 @@ You can customize the appearance of the tooltip: {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; +late List polygon; -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); +@override +void initState() { + polygon = [ + MapLatLng(27.6648, -81.5158), + MapLatLng(32.3078, -64.7505), + MapLatLng(18.2208, -66.5901), + ]; + super.initState(); } -class _MapsExampleState extends State { - late List polygon; - - @override - void initState() { - polygon = [ - MapLatLng(27.6648, -81.5158), - MapLatLng(32.3078, -64.7505), - MapLatLng(18.2208, -66.5901), - ]; - super.initState(); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: Center( - child: Container( - height: 400, - width: 400, - child: SfMaps( - layers: [ - MapTileLayer( - urlTemplate: 'https://tile.openstreetmap.org/{z}/{x}/{y}.png', - initialFocalLatLng: MapLatLng(27.6648, -81.5158), - initialZoomLevel: 3, - tooltipSettings: const MapTooltipSettings( - color: Colors.white, - strokeColor: Colors.teal, - strokeWidth: 2, - ), - sublayers: [ - MapPolygonLayer( - polygons: List.generate( - 1, - (int index) { - return MapPolygon( - points: polygon, - ); - }, - ).toSet(), - tooltipBuilder: (BuildContext context, int index) { - return Padding( - padding: EdgeInsets.all(10), - child: Text('Bermuda triangle'), +@override +Widget build(BuildContext context) { + return Scaffold( + body: Center( + child: Container( + height: 400, + width: 400, + child: SfMaps( + layers: [ + MapTileLayer( + urlTemplate: 'https://tile.openstreetmap.org/{z}/{x}/{y}.png', + initialFocalLatLng: MapLatLng(27.6648, -81.5158), + initialZoomLevel: 3, + tooltipSettings: const MapTooltipSettings( + color: Colors.white, + strokeColor: Colors.teal, + strokeWidth: 2, + ), + sublayers: [ + MapPolygonLayer( + polygons: List.generate( + 1, + (int index) { + return MapPolygon( + points: polygon, ); }, - ), - ], - ), - ], - ), + ).toSet(), + tooltipBuilder: (BuildContext context, int index) { + return Padding( + padding: EdgeInsets.all(10), + child: Text('Bermuda triangle'), + ); + }, + ), + ], + ), + ], ), ), - ); - } + ), + ); } {% endhighlight %} @@ -607,59 +537,49 @@ I> The individual polygon customization like [`MapPolygon.color`](https://pub.de {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; +late MapZoomPanBehavior zoomPanBehavior; +late List _polygon; -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); +@override +void initState() { + _polygon = [ + MapLatLng(27.6648, -81.5158), + MapLatLng(32.3078, -64.7505), + MapLatLng(18.2208, -66.5901), + ]; + + zoomPanBehavior = MapZoomPanBehavior(zoomLevel: 4); + super.initState(); } -class _MapsExampleState extends State { - late MapZoomPanBehavior zoomPanBehavior; - late List _polygon; - - @override - void initState() { - _polygon = [ - MapLatLng(27.6648, -81.5158), - MapLatLng(32.3078, -64.7505), - MapLatLng(18.2208, -66.5901), - ]; - - zoomPanBehavior = MapZoomPanBehavior(zoomLevel: 4); - super.initState(); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: SfMaps( - layers: [ - MapTileLayer( - urlTemplate: 'https://tile.openstreetmap.org/{z}/{x}/{y}.png', - initialFocalLatLng: MapLatLng(25.0119, -73.4842), - sublayers: [ - MapPolygonLayer.inverted( - polygons: List.generate( - 1, - (int index) { - return MapPolygon( - points: _polygon, - ); - }, - ).toSet(), - color: Colors.black.withOpacity(0.3), - strokeColor: Colors.red, - strokeWidth: 1, - ), - ], - zoomPanBehavior: zoomPanBehavior, - ), - ], - ), - ); - } +@override +Widget build(BuildContext context) { + return Scaffold( + body: SfMaps( + layers: [ + MapTileLayer( + urlTemplate: 'https://tile.openstreetmap.org/{z}/{x}/{y}.png', + initialFocalLatLng: MapLatLng(25.0119, -73.4842), + sublayers: [ + MapPolygonLayer.inverted( + polygons: List.generate( + 1, + (int index) { + return MapPolygon( + points: _polygon, + ); + }, + ).toSet(), + color: Colors.black.withOpacity(0.3), + strokeColor: Colors.red, + strokeWidth: 1, + ), + ], + zoomPanBehavior: zoomPanBehavior, + ), + ], + ), + ); } {% endhighlight %} diff --git a/chart-sdk/flutter/maps/vector-layers/polyline-layer.md b/chart-sdk/flutter/maps/vector-layers/polyline-layer.md index 1df5411ac..f0eabe631 100644 --- a/chart-sdk/flutter/maps/vector-layers/polyline-layer.md +++ b/chart-sdk/flutter/maps/vector-layers/polyline-layer.md @@ -1,7 +1,7 @@ --- layout: post -title: Polylines in Flutter Maps | Syncfusion® -description: Learn about polyline support in Syncfusion® Flutter Maps (SfMaps), including route visualization, line customization, styling, and map overlays. +title: Adding Polylines in Flutter Maps widget | Syncfusion +description: Learn here all about adding the Polylines feature of Syncfusion Flutter Maps (SfMaps) widget and more. platform: chart-sdk control: SfMaps documentation: ug @@ -22,73 +22,68 @@ N> It is applicable for both the tile layer and shape layer. {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; +late List polyline; +late List> polylines; +late MapShapeSource dataSource; +late MapZoomPanBehavior zoomPanBehavior; + +@override +void initState() { + polyline = [ + MapLatLng(13.0827, 80.2707), + MapLatLng(13.1746, 79.6117), + MapLatLng(13.6373, 79.5037), + MapLatLng(14.4673, 78.8242), + MapLatLng(14.9091, 78.0092), + MapLatLng(16.2160, 77.3566), + MapLatLng(17.1557, 76.8697), + MapLatLng(18.0975, 75.4249), + MapLatLng(18.5204, 73.8567), + MapLatLng(19.0760, 72.8777), + ]; + + polylines = >[polyline]; + dataSource = MapShapeSource.asset( + 'assets/india.json', + shapeDataField: 'name', + ); -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); + zoomPanBehavior = MapZoomPanBehavior( + zoomLevel: 2, + focalLatLng: MapLatLng(20.3173, 78.7139), + ); + super.initState(); } -class _MapsExampleState extends State { - late List polyline; - late List> polylines; - late MapShapeSource dataSource; - late MapZoomPanBehavior zoomPanBehavior; - - @override - void initState() { - polyline = [ - MapLatLng(13.0827, 80.2707), - MapLatLng(13.1746, 79.6117), - MapLatLng(13.6373, 79.5037), - MapLatLng(14.4673, 78.8242), - MapLatLng(14.9091, 78.0092), - MapLatLng(16.2160, 77.3566), - MapLatLng(17.1557, 76.8697), - MapLatLng(18.0975, 75.4249), - MapLatLng(18.5204, 73.8567), - MapLatLng(19.0760, 72.8777), - ]; - - polylines = >[polyline]; - dataSource = MapShapeSource.asset( - 'assets/india.json', - shapeDataField: 'name', - ); - - zoomPanBehavior = MapZoomPanBehavior( - zoomLevel: 2, - focalLatLng: MapLatLng(20.3173, 78.7139), - ); - super.initState(); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: SfMaps( - layers: [ - MapShapeLayer( - source: dataSource, - sublayers: [ - MapPolylineLayer( - polylines: List.generate( - polylines.length, - (int index) { - return MapPolyline( - points: polylines[index], - ); - }, - ).toSet(), - ), - ], - zoomPanBehavior: zoomPanBehavior, - ), - ], - ), - ); - } +@override +Widget build(BuildContext context) { + return Scaffold( + body: SfMaps( + layers: [ + MapShapeLayer( + source: dataSource, + sublayers: [ + MapPolylineLayer( + polylines: List.generate( + polylines.length, + (int index) { + return MapPolyline( + points: polylines[index], + ); + }, + ).toSet(), + ), + ], + zoomPanBehavior: zoomPanBehavior, + ), + ], + ), + ); +} + +class PolylineModel { + PolylineModel(this.points); + final List points; } {% endhighlight %} @@ -99,67 +94,62 @@ class _MapsExampleState extends State { {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; +late List polyline; +late List> polylines; +late MapZoomPanBehavior zoomPanBehavior; + +@override +void initState() { + polyline = [ + MapLatLng(13.0827, 80.2707), + MapLatLng(13.1746, 79.6117), + MapLatLng(13.6373, 79.5037), + MapLatLng(14.4673, 78.8242), + MapLatLng(14.9091, 78.0092), + MapLatLng(16.2160, 77.3566), + MapLatLng(17.1557, 76.8697), + MapLatLng(18.0975, 75.4249), + MapLatLng(18.5204, 73.8567), + MapLatLng(19.0760, 72.8777), + ]; + + polylines = >[polyline]; + zoomPanBehavior = MapZoomPanBehavior( + zoomLevel: 5, + focalLatLng: MapLatLng(20.3173, 78.7139), + ); + super.initState(); +} -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); +@override +Widget build(BuildContext context) { + return Scaffold( + body: SfMaps( + layers: [ + MapTileLayer( + urlTemplate: 'https://tile.openstreetmap.org/{z}/{x}/{y}.png', + sublayers: [ + MapPolylineLayer( + polylines: List.generate( + polylines.length, + (int index) { + return MapPolyline( + points: polylines[index], + ); + }, + ).toSet(), + ), + ], + zoomPanBehavior: zoomPanBehavior, + ), + ], + ), + ); } -class _MapsExampleState extends State { - late List polyline; - late List> polylines; - late MapZoomPanBehavior zoomPanBehavior; - - @override - void initState() { - polyline = [ - MapLatLng(13.0827, 80.2707), - MapLatLng(13.1746, 79.6117), - MapLatLng(13.6373, 79.5037), - MapLatLng(14.4673, 78.8242), - MapLatLng(14.9091, 78.0092), - MapLatLng(16.2160, 77.3566), - MapLatLng(17.1557, 76.8697), - MapLatLng(18.0975, 75.4249), - MapLatLng(18.5204, 73.8567), - MapLatLng(19.0760, 72.8777), - ]; - - polylines = >[polyline]; - zoomPanBehavior = MapZoomPanBehavior( - zoomLevel: 5, - focalLatLng: MapLatLng(20.3173, 78.7139), - ); - super.initState(); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: SfMaps( - layers: [ - MapTileLayer( - urlTemplate: 'https://tile.openstreetmap.org/{z}/{x}/{y}.png', - sublayers: [ - MapPolylineLayer( - polylines: List.generate( - polylines.length, - (int index) { - return MapPolyline( - points: polylines[index], - ); - }, - ).toSet(), - ), - ], - zoomPanBehavior: zoomPanBehavior, - ), - ], - ), - ); - } +class PolylineModel { + PolylineModel(this.points); + final List points; } {% endhighlight %} @@ -174,76 +164,66 @@ You can apply the same color for all [`MapPolyline`](https://pub.dev/documentati {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; +late List polyline; +late List polylines; +late MapShapeSource dataSource; +late MapZoomPanBehavior zoomPanBehavior; + +@override +void initState() { + polyline = [ + MapLatLng(13.0827, 80.2707), + MapLatLng(13.1746, 79.6117), + MapLatLng(13.6373, 79.5037), + MapLatLng(14.4673, 78.8242), + MapLatLng(14.9091, 78.0092), + MapLatLng(16.2160, 77.3566), + MapLatLng(17.1557, 76.8697), + MapLatLng(18.0975, 75.4249), + MapLatLng(18.5204, 73.8567), + MapLatLng(19.0760, 72.8777), + ]; + + polylines = [ + PolylineModel(polyline, Colors.purple), + ]; + dataSource = MapShapeSource.asset( + 'assets/india.json', + shapeDataField: 'name', + ); -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); + zoomPanBehavior = MapZoomPanBehavior( + zoomLevel: 1, + focalLatLng: MapLatLng(20.3173, 78.7139), + ); + super.initState(); } -class _MapsExampleState extends State { - late List polyline; - late List polylines; - late MapShapeSource dataSource; - late MapZoomPanBehavior zoomPanBehavior; - - @override - void initState() { - polyline = [ - MapLatLng(13.0827, 80.2707), - MapLatLng(13.1746, 79.6117), - MapLatLng(13.6373, 79.5037), - MapLatLng(14.4673, 78.8242), - MapLatLng(14.9091, 78.0092), - MapLatLng(16.2160, 77.3566), - MapLatLng(17.1557, 76.8697), - MapLatLng(18.0975, 75.4249), - MapLatLng(18.5204, 73.8567), - MapLatLng(19.0760, 72.8777), - ]; - - polylines = [ - PolylineModel(polyline, Colors.purple), - ]; - dataSource = MapShapeSource.asset( - 'assets/india.json', - shapeDataField: 'name', - ); - - zoomPanBehavior = MapZoomPanBehavior( - zoomLevel: 1, - focalLatLng: MapLatLng(20.3173, 78.7139), - ); - super.initState(); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: SfMaps( - layers: [ - MapShapeLayer( - source: dataSource, - sublayers: [ - MapPolylineLayer( - polylines: List.generate( - polylines.length, - (int index) { - return MapPolyline( - points: polylines[index].points, - color: polylines[index].color, - ); - }, - ).toSet(), - ), - ], - zoomPanBehavior: zoomPanBehavior, - ), - ], - ), - ); - } +@override +Widget build(BuildContext context) { + return Scaffold( + body: SfMaps( + layers: [ + MapShapeLayer( + source: dataSource, + sublayers: [ + MapPolylineLayer( + polylines: List.generate( + polylines.length, + (int index) { + return MapPolyline( + points: polylines[index].points, + color: polylines[index].color, + ); + }, + ).toSet(), + ), + ], + zoomPanBehavior: zoomPanBehavior, + ), + ], + ), + ); } class PolylineModel { @@ -264,76 +244,66 @@ You can apply the same width for all [`MapPolyline`](https://pub.dev/documentati {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart; -import 'package:syncfusion_flutter_maps/maps.dart'; +late List polyline; +late List polylines; +late MapShapeSource dataSource; +late MapZoomPanBehavior zoomPanBehavior; + +@override +void initState() { + polyline = [ + MapLatLng(13.0827, 80.2707), + MapLatLng(13.1746, 79.6117), + MapLatLng(13.6373, 79.5037), + MapLatLng(14.4673, 78.8242), + MapLatLng(14.9091, 78.0092), + MapLatLng(16.2160, 77.3566), + MapLatLng(17.1557, 76.8697), + MapLatLng(18.0975, 75.4249), + MapLatLng(18.5204, 73.8567), + MapLatLng(19.0760, 72.8777), + ]; + + polylines = [ + PolylineModel(polyline, 3), + ]; + dataSource = MapShapeSource.asset( + 'assets/india.json', + shapeDataField: 'name', + ); -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); + zoomPanBehavior = MapZoomPanBehavior( + zoomLevel: 2, + focalLatLng: MapLatLng(20.3173, 78.7139), + ); + super.initState(); } -class _MapsExampleState extends State { - late List polyline; - late List polylines; - late MapShapeSource dataSource; - late MapZoomPanBehavior zoomPanBehavior; - - @override - void initState() { - polyline = [ - MapLatLng(13.0827, 80.2707), - MapLatLng(13.1746, 79.6117), - MapLatLng(13.6373, 79.5037), - MapLatLng(14.4673, 78.8242), - MapLatLng(14.9091, 78.0092), - MapLatLng(16.2160, 77.3566), - MapLatLng(17.1557, 76.8697), - MapLatLng(18.0975, 75.4249), - MapLatLng(18.5204, 73.8567), - MapLatLng(19.0760, 72.8777), - ]; - - polylines = [ - PolylineModel(polyline, 3), - ]; - dataSource = MapShapeSource.asset( - 'assets/india.json', - shapeDataField: 'name', - ); - - zoomPanBehavior = MapZoomPanBehavior( - zoomLevel: 2, - focalLatLng: MapLatLng(20.3173, 78.7139), - ); - super.initState(); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: SfMaps( - layers: [ - MapShapeLayer( - source: dataSource, - sublayers: [ - MapPolylineLayer( - polylines: List.generate( - polylines.length, - (int index) { - return MapPolyline( - points: polylines[index].points, - width: polylines[index].width, - ); - }, - ).toSet(), - ), - ], - zoomPanBehavior: zoomPanBehavior, - ), - ], - ), - ); - } +@override +Widget build(BuildContext context) { + return Scaffold( + body: SfMaps( + layers: [ + MapShapeLayer( + source: dataSource, + sublayers: [ + MapPolylineLayer( + polylines: List.generate( + polylines.length, + (int index) { + return MapPolyline( + points: polylines[index].points, + width: polylines[index].width, + ); + }, + ).toSet(), + ), + ], + zoomPanBehavior: zoomPanBehavior, + ), + ], + ), + ); } class PolylineModel { @@ -354,76 +324,66 @@ You can apply the same stroke cap for all [`MapPolyline`](https://pub.dev/docume {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; +late List polyline; +late List polylines; +late MapShapeSource dataSource; +late MapZoomPanBehavior zoomPanBehavior; + +@override +void initState() { + polyline = [ + MapLatLng(13.0827, 80.2707), + MapLatLng(13.1746, 79.6117), + MapLatLng(13.6373, 79.5037), + MapLatLng(14.4673, 78.8242), + MapLatLng(14.9091, 78.0092), + MapLatLng(16.2160, 77.3566), + MapLatLng(17.1557, 76.8697), + MapLatLng(18.0975, 75.4249), + MapLatLng(18.5204, 73.8567), + MapLatLng(19.0760, 72.8777), + ]; + + polylines = [ + PolylineModel(polyline, 5), + ]; + dataSource = MapShapeSource.asset( + 'assets/india.json', + shapeDataField: 'name', + ); -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); + zoomPanBehavior = MapZoomPanBehavior( + focalLatLng: MapLatLng(20.3173, 78.7139), + ); + super.initState(); } -class _MapsExampleState extends State { - late List polyline; - late List polylines; - late MapShapeSource dataSource; - late MapZoomPanBehavior zoomPanBehavior; - - @override - void initState() { - polyline = [ - MapLatLng(13.0827, 80.2707), - MapLatLng(13.1746, 79.6117), - MapLatLng(13.6373, 79.5037), - MapLatLng(14.4673, 78.8242), - MapLatLng(14.9091, 78.0092), - MapLatLng(16.2160, 77.3566), - MapLatLng(17.1557, 76.8697), - MapLatLng(18.0975, 75.4249), - MapLatLng(18.5204, 73.8567), - MapLatLng(19.0760, 72.8777), - ]; - - polylines = [ - PolylineModel(polyline, 5), - ]; - dataSource = MapShapeSource.asset( - 'assets/india.json', - shapeDataField: 'name', - ); - - zoomPanBehavior = MapZoomPanBehavior( - focalLatLng: MapLatLng(20.3173, 78.7139), - ); - super.initState(); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: SfMaps( - layers: [ - MapShapeLayer( - source: dataSource, - sublayers: [ - MapPolylineLayer( - polylines: List.generate( - polylines.length, - (int index) { - return MapPolyline( - points: polylines[index].points, - width: polylines[index].width, - strokeCap: StrokeCap.round, - ); - }, - ).toSet(), - ), - ], - zoomPanBehavior: zoomPanBehavior, - ), - ], - ), - ); - } +@override +Widget build(BuildContext context) { + return Scaffold( + body: SfMaps( + layers: [ + MapShapeLayer( + source: dataSource, + sublayers: [ + MapPolylineLayer( + polylines: List.generate( + polylines.length, + (int index) { + return MapPolyline( + points: polylines[index].points, + width: polylines[index].width, + strokeCap: StrokeCap.round, + ); + }, + ).toSet(), + ), + ], + zoomPanBehavior: zoomPanBehavior, + ), + ], + ), + ); } class PolylineModel { @@ -447,77 +407,67 @@ A sequence of dash and gap will be rendered based on the values in this list. On {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; +late List polyline; +late List polylines; +late MapShapeSource dataSource; +late MapZoomPanBehavior zoomPanBehavior; + +@override +void initState() { + polyline = [ + MapLatLng(13.0827, 80.2707), + MapLatLng(13.1746, 79.6117), + MapLatLng(13.6373, 79.5037), + MapLatLng(14.4673, 78.8242), + MapLatLng(14.9091, 78.0092), + MapLatLng(16.2160, 77.3566), + MapLatLng(17.1557, 76.8697), + MapLatLng(18.0975, 75.4249), + MapLatLng(18.5204, 73.8567), + MapLatLng(19.0760, 72.8777), + ]; + + polylines = [ + PolylineModel(polyline), + ]; + dataSource = MapShapeSource.asset( + 'assets/india.json', + shapeDataField: 'name', + ); -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); + zoomPanBehavior = MapZoomPanBehavior( + zoomLevel: 2, + focalLatLng: MapLatLng(18.3173, 77.7139), + ); + super.initState(); } -class _MapsExampleState extends State { - late List polyline; - late List polylines; - late MapShapeSource dataSource; - late MapZoomPanBehavior zoomPanBehavior; - - @override - void initState() { - polyline = [ - MapLatLng(13.0827, 80.2707), - MapLatLng(13.1746, 79.6117), - MapLatLng(13.6373, 79.5037), - MapLatLng(14.4673, 78.8242), - MapLatLng(14.9091, 78.0092), - MapLatLng(16.2160, 77.3566), - MapLatLng(17.1557, 76.8697), - MapLatLng(18.0975, 75.4249), - MapLatLng(18.5204, 73.8567), - MapLatLng(19.0760, 72.8777), - ]; - - polylines = [ - PolylineModel(polyline), - ]; - dataSource = MapShapeSource.asset( - 'assets/india.json', - shapeDataField: 'name', - ); - - zoomPanBehavior = MapZoomPanBehavior( - zoomLevel: 2, - focalLatLng: MapLatLng(18.3173, 77.7139), - ); - super.initState(); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: SfMaps( - layers: [ - MapShapeLayer( - source: dataSource, - sublayers: [ - MapPolylineLayer( - polylines: List.generate( - polylines.length, - (int index) { - return MapPolyline( - points: polylines[index].points, - dashArray: [8, 4, 2, 4], - ); - }, - ).toSet(), - color: Colors.blue, - ), - ], - zoomPanBehavior: zoomPanBehavior, - ), - ], - ), - ); - } +@override +Widget build(BuildContext context) { + return Scaffold( + body: SfMaps( + layers: [ + MapShapeLayer( + source: dataSource, + sublayers: [ + MapPolylineLayer( + polylines: List.generate( + polylines.length, + (int index) { + return MapPolyline( + points: polylines[index].points, + dashArray: [8, 4, 2, 4], + ); + }, + ).toSet(), + color: Colors.blue, + ), + ], + zoomPanBehavior: zoomPanBehavior, + ), + ], + ), + ); } class PolylineModel { @@ -539,95 +489,85 @@ By default, there will not be any animation. {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; +late List polyline; +late List polylines; +late MapShapeSource dataSource; +late MapZoomPanBehavior zoomPanBehavior; +late AnimationController animationController; +late Animation animation; + +@override +void initState() { + polyline = [ + MapLatLng(13.0827, 80.2707), + MapLatLng(13.1746, 79.6117), + MapLatLng(13.6373, 79.5037), + MapLatLng(14.4673, 78.8242), + MapLatLng(14.9091, 78.0092), + MapLatLng(16.2160, 77.3566), + MapLatLng(17.1557, 76.8697), + MapLatLng(18.0975, 75.4249), + MapLatLng(18.5204, 73.8567), + MapLatLng(19.0760, 72.8777), + ]; + + polylines = [ + PolylineModel(polyline), + ]; + dataSource = MapShapeSource.asset( + 'assets/india.json', + shapeDataField: 'name', + ); + + zoomPanBehavior = MapZoomPanBehavior( + zoomLevel: 2, + focalLatLng: MapLatLng(19.3173, 76.7139), + ); -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); + animationController = AnimationController( + duration: Duration(seconds: 3), + vsync: this, + ); + animation = CurvedAnimation( + parent: animationController, + curve: Curves.easeInOut, + ); + animationController.forward(from: 0); + super.initState(); } -class _MapsExampleState extends State with TickerProviderStateMixin { - late List polyline; - late List polylines; - late MapShapeSource dataSource; - late MapZoomPanBehavior zoomPanBehavior; - late AnimationController animationController; - late Animation animation; - - @override - void initState() { - polyline = [ - MapLatLng(13.0827, 80.2707), - MapLatLng(13.1746, 79.6117), - MapLatLng(13.6373, 79.5037), - MapLatLng(14.4673, 78.8242), - MapLatLng(14.9091, 78.0092), - MapLatLng(16.2160, 77.3566), - MapLatLng(17.1557, 76.8697), - MapLatLng(18.0975, 75.4249), - MapLatLng(18.5204, 73.8567), - MapLatLng(19.0760, 72.8777), - ]; - - polylines = [ - PolylineModel(polyline), - ]; - dataSource = MapShapeSource.asset( - 'assets/india.json', - shapeDataField: 'name', - ); - - zoomPanBehavior = MapZoomPanBehavior( - zoomLevel: 2, - focalLatLng: MapLatLng(19.3173, 76.7139), - ); - - animationController = AnimationController( - duration: Duration(seconds: 3), - vsync: this, - ); - animation = CurvedAnimation( - parent: animationController, - curve: Curves.easeInOut, - ); - animationController.forward(from: 0); - super.initState(); - } - - @override - void dispose() { - animationController.dispose(); - super.dispose(); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: SfMaps( - layers: [ - MapShapeLayer( - source: dataSource, - sublayers: [ - MapPolylineLayer( - polylines: List.generate( - polylines.length, - (int index) { - return MapPolyline( - points: polylines[index].points, - ); - }, - ).toSet(), - color: Colors.blue, - animation: animation, - ), - ], - zoomPanBehavior: zoomPanBehavior, - ), - ], - ), - ); - } +@override +void dispose() { + animationController.dispose(); + super.dispose(); +} + +@override +Widget build(BuildContext context) { + return Scaffold( + body: SfMaps( + layers: [ + MapShapeLayer( + source: dataSource, + sublayers: [ + MapPolylineLayer( + polylines: List.generate( + polylines.length, + (int index) { + return MapPolyline( + points: polylines[index].points, + ); + }, + ).toSet(), + color: Colors.blue, + animation: animation, + ), + ], + zoomPanBehavior: zoomPanBehavior, + ), + ], + ), + ); } class PolylineModel { @@ -647,84 +587,74 @@ You can use the [`onTap`](https://pub.dev/documentation/syncfusion_flutter_maps/ {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; +late List polyline; +late List polylines; +late MapShapeSource dataSource; +late MapZoomPanBehavior zoomPanBehavior; +late int selectedIndex; + +@override +void initState() { + polyline = [ + MapLatLng(13.0827, 80.2707), + MapLatLng(13.1746, 79.6117), + MapLatLng(13.6373, 79.5037), + MapLatLng(14.4673, 78.8242), + MapLatLng(14.9091, 78.0092), + MapLatLng(16.2160, 77.3566), + MapLatLng(17.1557, 76.8697), + MapLatLng(18.0975, 75.4249), + MapLatLng(18.5204, 73.8567), + MapLatLng(19.0760, 72.8777), + ]; + + polylines = [ + PolylineModel(polyline), + ]; + dataSource = MapShapeSource.asset( + 'assets/india.json', + shapeDataField: 'name', + ); + + zoomPanBehavior = MapZoomPanBehavior( + zoomLevel: 2, + focalLatLng: MapLatLng(19.3173, 76.7139), + ); -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); + selectedIndex = -1; + super.initState(); } -class _MapsExampleState extends State { - late List polyline; - late List polylines; - late MapShapeSource dataSource; - late MapZoomPanBehavior zoomPanBehavior; - late int selectedIndex; - - @override - void initState() { - polyline = [ - MapLatLng(13.0827, 80.2707), - MapLatLng(13.1746, 79.6117), - MapLatLng(13.6373, 79.5037), - MapLatLng(14.4673, 78.8242), - MapLatLng(14.9091, 78.0092), - MapLatLng(16.2160, 77.3566), - MapLatLng(17.1557, 76.8697), - MapLatLng(18.0975, 75.4249), - MapLatLng(18.5204, 73.8567), - MapLatLng(19.0760, 72.8777), - ]; - - polylines = [ - PolylineModel(polyline), - ]; - dataSource = MapShapeSource.asset( - 'assets/india.json', - shapeDataField: 'name', - ); - - zoomPanBehavior = MapZoomPanBehavior( - zoomLevel: 2, - focalLatLng: MapLatLng(19.3173, 76.7139), - ); - - selectedIndex = -1; - super.initState(); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: SfMaps( - layers: [ - MapShapeLayer( - source: dataSource, - sublayers: [ - MapPolylineLayer( - polylines: List.generate( - polylines.length, - (int index) { - return MapPolyline( - points: polylines[index].points, - color: selectedIndex == index ? Colors.pink: Colors.blue, - onTap: () { - setState(() { - selectedIndex = index; - }); - } - ); - }, - ).toSet(), - ), - ], - zoomPanBehavior: zoomPanBehavior, - ), - ], - ), - ); - } +@override +Widget build(BuildContext context) { + return Scaffold( + body: SfMaps( + layers: [ + MapShapeLayer( + source: dataSource, + sublayers: [ + MapPolylineLayer( + polylines: List.generate( + polylines.length, + (int index) { + return MapPolyline( + points: polylines[index].points, + color: selectedIndex == index ? Colors.pink: Colors.blue, + onTap: () { + setState(() { + selectedIndex = index; + }); + } + ); + }, + ).toSet(), + ), + ], + zoomPanBehavior: zoomPanBehavior, + ), + ], + ), + ); } class PolylineModel { @@ -744,98 +674,88 @@ You can show additional information about the polyline drawn using the [`tooltip {% tabs %} {% highlight Dart %} -import 'dart:math'; -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; +late List polyline; +late List polylines; +late MapShapeSource dataSource; +late MapZoomPanBehavior zoomPanBehavior; +late Random random; + +@override +void initState() { + polyline = [ + MapLatLng(13.0827, 80.2707), + MapLatLng(13.1746, 79.6117), + MapLatLng(13.6373, 79.5037), + MapLatLng(14.4673, 78.8242), + MapLatLng(14.9091, 78.0092), + MapLatLng(16.2160, 77.3566), + MapLatLng(17.1557, 76.8697), + MapLatLng(18.0975, 75.4249), + MapLatLng(18.5204, 73.8567), + MapLatLng(19.0760, 72.8777), + ]; + + polylines = [ + PolylineModel(polyline), + ]; + dataSource = MapShapeSource.asset( + 'assets/india.json', + shapeDataField: 'name', + ); + + zoomPanBehavior = MapZoomPanBehavior( + zoomLevel: 2, + focalLatLng: MapLatLng(19.3173, 76.7139), + ); -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); + random = Random(); + super.initState(); } -class _MapsExampleState extends State { - late List polyline; - late List polylines; - late MapShapeSource dataSource; - late MapZoomPanBehavior zoomPanBehavior; - late Random random; - - @override - void initState() { - polyline = [ - MapLatLng(13.0827, 80.2707), - MapLatLng(13.1746, 79.6117), - MapLatLng(13.6373, 79.5037), - MapLatLng(14.4673, 78.8242), - MapLatLng(14.9091, 78.0092), - MapLatLng(16.2160, 77.3566), - MapLatLng(17.1557, 76.8697), - MapLatLng(18.0975, 75.4249), - MapLatLng(18.5204, 73.8567), - MapLatLng(19.0760, 72.8777), - ]; - - polylines = [ - PolylineModel(polyline), - ]; - dataSource = MapShapeSource.asset( - 'assets/india.json', - shapeDataField: 'name', - ); - - zoomPanBehavior = MapZoomPanBehavior( - zoomLevel: 2, - focalLatLng: MapLatLng(19.3173, 76.7139), - ); - - random = Random(); - super.initState(); - } - - @override - Widget build(BuildContext context) { - final ThemeData themeData = Theme.of(context); - final TextStyle textStyle = themeData.textTheme.labelSmall! - .copyWith(color: themeData.colorScheme.surface); - return Scaffold( - body: SfMaps( - layers: [ - MapShapeLayer( - source: dataSource, - sublayers: [ - MapPolylineLayer( - polylines: List.generate( - polylines.length, - (int index) { - return MapPolyline( - points: polylines[index].points, +@override +Widget build(BuildContext context) { + final ThemeData themeData = Theme.of(context); + final TextStyle textStyle = themeData.textTheme.caption! + .copyWith(color: themeData.colorScheme.surface); + return Scaffold( + body: SfMaps( + layers: [ + MapShapeLayer( + source: dataSource, + sublayers: [ + MapPolylineLayer( + polylines: List.generate( + polylines.length, + (int index) { + return MapPolyline( + points: polylines[index].points, + ); + }, + ).toSet(), + tooltipBuilder: (BuildContext context, int index) { + return Container( + padding: EdgeInsets.only(left: 15, top: 10), + width: 150, + height: 50, + child: Column( + children: [ + Row( + children: [ + Text('Order item : ', style: textStyle), + Text('Pizza', style: textStyle), + ], + ), + Row( + children: [ + Text('Time left : ', style: textStyle), + Text(random.nextInt(30).toString() + ' mins', + style: textStyle), + ], + ), + ], + ), ); - }, - ).toSet(), - tooltipBuilder: (BuildContext context, int index) { - return Container( - padding: EdgeInsets.only(left: 15, top: 10), - width: 150, - height: 50, - child: Column( - children: [ - Row( - children: [ - Text('Order item : ', style: textStyle), - Text('Pizza', style: textStyle), - ], - ), - Row( - children: [ - Text('Time left : ', style: textStyle), - Text(random.nextInt(30).toString() + ' mins', - style: textStyle), - ], - ), - ], - ), - ); - }, + }, ), ], zoomPanBehavior: zoomPanBehavior, @@ -843,7 +763,6 @@ class _MapsExampleState extends State { ], ), ); - } } class PolylineModel { @@ -867,100 +786,90 @@ You can customize the appearance of the tooltip: {% tabs %} {% highlight Dart %} -import 'dart:math'; -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; +late List polyline; +late List polylines; +late MapShapeSource dataSource; +late MapZoomPanBehavior zoomPanBehavior; +late Random random; + +@override +void initState() { + polyline = [ + MapLatLng(13.0827, 80.2707), + MapLatLng(13.1746, 79.6117), + MapLatLng(13.6373, 79.5037), + MapLatLng(14.4673, 78.8242), + MapLatLng(14.9091, 78.0092), + MapLatLng(16.2160, 77.3566), + MapLatLng(17.1557, 76.8697), + MapLatLng(18.0975, 75.4249), + MapLatLng(18.5204, 73.8567), + MapLatLng(19.0760, 72.8777), + ]; + + polylines = [ + PolylineModel(polyline), + ]; + dataSource = MapShapeSource.asset( + 'assets/india.json', + shapeDataField: 'name', + ); + + zoomPanBehavior = MapZoomPanBehavior( + zoomLevel: 3, + focalLatLng: MapLatLng(15.3173, 76.7139), + ); -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); + random = Random(); + super.initState(); } -class _MapsExampleState extends State { - late List polyline; - late List polylines; - late MapShapeSource dataSource; - late MapZoomPanBehavior zoomPanBehavior; - late Random random; - - @override - void initState() { - polyline = [ - MapLatLng(13.0827, 80.2707), - MapLatLng(13.1746, 79.6117), - MapLatLng(13.6373, 79.5037), - MapLatLng(14.4673, 78.8242), - MapLatLng(14.9091, 78.0092), - MapLatLng(16.2160, 77.3566), - MapLatLng(17.1557, 76.8697), - MapLatLng(18.0975, 75.4249), - MapLatLng(18.5204, 73.8567), - MapLatLng(19.0760, 72.8777), - ]; - - polylines = [ - PolylineModel(polyline), - ]; - dataSource = MapShapeSource.asset( - 'assets/india.json', - shapeDataField: 'name', - ); - - zoomPanBehavior = MapZoomPanBehavior( - zoomLevel: 3, - focalLatLng: MapLatLng(15.3173, 76.7139), - ); - - random = Random(); - super.initState(); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: SfMaps( - layers: [ - MapShapeLayer( - source: dataSource, - tooltipSettings: MapTooltipSettings( - color: Colors.white, - strokeWidth: 2, - strokeColor: Colors.black, - ), - sublayers: [ - MapPolylineLayer( - polylines: List.generate( - polylines.length, - (int index) { - return MapPolyline( - points: polylines[index].points, +@override +Widget build(BuildContext context) { + return Scaffold( + body: SfMaps( + layers: [ + MapShapeLayer( + source: dataSource, + tooltipSettings: MapTooltipSettings( + color: Colors.white, + strokeWidth: 2, + strokeColor: Colors.black, + ), + sublayers: [ + MapPolylineLayer( + polylines: List.generate( + polylines.length, + (int index) { + return MapPolyline( + points: polylines[index].points, + ); + }, + ).toSet(), + tooltipBuilder: (BuildContext context, int index) { + return Container( + padding: EdgeInsets.only(left: 15, top: 10), + width: 150, + height: 50, + child: Column( + children: [ + Row( + children: [ + Text('Order item : ', + style: TextStyle(fontWeight: FontWeight.bold)), + Text('Pizza'), + ], + ), + Row( + children: [ + Text('Time left : ', + style: TextStyle(fontWeight: FontWeight.bold)), + Text(random.nextInt(30).toString() + ' mins'), + ], + ), + ], + ), ); - }, - ).toSet(), - tooltipBuilder: (BuildContext context, int index) { - return Container( - padding: EdgeInsets.only(left: 15, top: 10), - width: 150, - height: 50, - child: Column( - children: [ - Row( - children: [ - Text('Order item : ', - style: TextStyle(fontWeight: FontWeight.bold)), - Text('Pizza'), - ], - ), - Row( - children: [ - Text('Time left : ', - style: TextStyle(fontWeight: FontWeight.bold)), - Text(random.nextInt(30).toString() + ' mins'), - ], - ), - ], - ), - ); }, ), ], @@ -969,7 +878,6 @@ class _MapsExampleState extends State { ], ), ); - } } class PolylineModel { diff --git a/chart-sdk/flutter/maps/zoom-pan.md b/chart-sdk/flutter/maps/zoom-pan.md index 6ebbfbfce..c02b4fcff 100644 --- a/chart-sdk/flutter/maps/zoom-pan.md +++ b/chart-sdk/flutter/maps/zoom-pan.md @@ -1,15 +1,15 @@ --- layout: post -title: Zooming and Panning in Flutter Maps | Syncfusion® -description: Learn about zooming and panning in Syncfusion® Flutter Maps (SfMaps), including zoom levels, focal points, toolbar support, and interaction settings. +title: Zooming and Panning in Flutter Maps | Syncfusion +description: Step-by-step guide to configure zooming and panning in Syncfusion Flutter Maps (SfMaps)—enable zoom/pan, set focal point, toolbar, and callbacks. platform: chart-sdk control: SfMaps documentation: ug --- -# Zooming and Panning in Flutter Maps (SfMaps) +# Flutter Maps Zooming and Panning (SfMaps) -It is possible to zoom in and out for any layer to take a closer look at a specific region by pinching the map, scrolling the mouse wheel or track-pad, or using the toolbar on the web. You can also pan the map to navigate across regions and customize the zoom level and center point of the initial rendering. +It is possible to zoom in and out for any layer to take a closer look at a specific region by pinching the map, scrolling the mouse wheel or track pad, or using the toolbar on the web. You can also pan the map to navigate across regions and customize the zoom level and center point of the initial rendering. The procedure for zooming and panning is very similar for both layers. @@ -18,41 +18,31 @@ The procedure for zooming and panning is very similar for both layers. {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; +late MapZoomPanBehavior _zoomPanBehavior; +late MapShapeSource _dataSource; -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); +@override +void initState() { + super.initState(); + _dataSource = MapShapeSource.asset( + 'assets/world_map.json', + shapeDataField: 'continent', + ); + _zoomPanBehavior = MapZoomPanBehavior(); } -class _MapsExampleState extends State { - late MapZoomPanBehavior _zoomPanBehavior; - late MapShapeSource _dataSource; - - @override - void initState() { - super.initState(); - _dataSource = MapShapeSource.asset( - 'assets/world_map.json', - shapeDataField: 'continent', +@override +Widget build(BuildContext context) { + return Scaffold( + body: SfMaps( + layers: [ + MapShapeLayer( + source: _dataSource, + zoomPanBehavior: _zoomPanBehavior, + ), + ], + ), ); - _zoomPanBehavior = MapZoomPanBehavior(); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: SfMaps( - layers: [ - MapShapeLayer( - source: _dataSource, - zoomPanBehavior: _zoomPanBehavior, - ), - ], - ), - ); - } } {% endhighlight %} @@ -63,43 +53,33 @@ class _MapsExampleState extends State { {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; +late MapZoomPanBehavior _zoomPanBehavior; -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); +@override +void initState() { + super.initState(); + _zoomPanBehavior = MapZoomPanBehavior(); } -class _MapsExampleState extends State { - late MapZoomPanBehavior _zoomPanBehavior; - - @override - void initState() { - super.initState(); - _zoomPanBehavior = MapZoomPanBehavior(); - } - - @override - Widget build(BuildContext context) { - return FutureBuilder( - future: getBingUrlTemplate( - 'https://dev.virtualearth.net/REST/V1/Imagery/Metadata/AerialWithLabels?output=json&uriScheme=https&include=ImageryProviders&key=YOUR_KEY'), - builder: (context, snapshot) { - if (snapshot.hasData) { - return SfMaps( - layers: [ - MapTileLayer( - urlTemplate: snapshot.data as String, - zoomPanBehavior: _zoomPanBehavior, - ), - ], - ); - } - return CircularProgressIndicator(); - } - ); - } +@override +Widget build(BuildContext context) { + return FutureBuilder( + future: getBingUrlTemplate( + 'https://dev.virtualearth.net/REST/V1/Imagery/Metadata/AerialWithLabels?output=json&uriScheme=https&include=ImageryProviders&key=YOUR_KEY'), + builder: (context, snapshot) { + if (snapshot.hasData) { + return SfMaps( + layers: [ + MapTileLayer( + urlTemplate: snapshot.data as String, + zoomPanBehavior: _zoomPanBehavior, + ), + ], + ); + } + return CircularProgressIndicator(); + } + ); } {% endhighlight %} @@ -116,45 +96,35 @@ To enable panning, set the instance of [`MapZoomPanBehavior`](https://pub.dev/do {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; +late MapZoomPanBehavior _zoomPanBehavior; -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); +@override +void initState() { + super.initState(); + _zoomPanBehavior = MapZoomPanBehavior( + focalLatLng: MapLatLng(27.1751, 50.0421), + ); } -class _MapsExampleState extends State { - late MapZoomPanBehavior _zoomPanBehavior; - - @override - void initState() { - super.initState(); - _zoomPanBehavior = MapZoomPanBehavior( - focalLatLng: MapLatLng(27.1751, 50.0421), - ); - } - - @override - Widget build(BuildContext context) { - return FutureBuilder( - future: getBingUrlTemplate( - 'https://dev.virtualearth.net/REST/V1/Imagery/Metadata/AerialWithLabels?output=json&uriScheme=https&include=ImageryProviders&key=YOUR_KEY'), - builder: (context, snapshot) { - if (snapshot.hasData) { - return SfMaps( - layers: [ - MapTileLayer( - urlTemplate: snapshot.data as String, - zoomPanBehavior: _zoomPanBehavior, - ), - ], - ); - } - return CircularProgressIndicator(); - } - ); - } +@override +Widget build(BuildContext context) { + return FutureBuilder( + future: getBingUrlTemplate( + 'https://dev.virtualearth.net/REST/V1/Imagery/Metadata/AerialWithLabels?output=json&uriScheme=https&include=ImageryProviders&key=YOUR_KEY'), + builder: (context, snapshot) { + if (snapshot.hasData) { + return SfMaps( + layers: [ + MapTileLayer( + urlTemplate: snapshot.data as String, + zoomPanBehavior: _zoomPanBehavior, + ), + ], + ); + } + return CircularProgressIndicator(); + } + ); } {% endhighlight %} @@ -171,59 +141,49 @@ N> This is applicable for both shape layer and tile layer. {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); -} - -class _MapsExampleState extends State { - late MapZoomPanBehavior _zoomPanBehavior; - late MapShapeSource _dataSource; +late MapZoomPanBehavior _zoomPanBehavior; +late MapShapeSource _dataSource; - @override - void initState() { - super.initState(); - _dataSource = MapShapeSource.asset( - 'assets/world_map.json', - shapeDataField: 'continent', - ); +@override +void initState() { + super.initState(); + _dataSource = MapShapeSource.asset( + 'assets/world_map.json', + shapeDataField: 'continent', + ); - _zoomPanBehavior = MapZoomPanBehavior( - focalLatLng: MapLatLng(27.1751, 78.0421), - zoomLevel: 4, - ); - } + _zoomPanBehavior = MapZoomPanBehavior( + focalLatLng: MapLatLng(27.1751, 78.0421), + zoomLevel: 4, + ); +} - @override - Widget build(BuildContext context) { - return Scaffold( - body: Column( - children: [ - Container( - height: 600, - child: SfMaps( - layers: [ - MapShapeLayer( - source: _dataSource, - zoomPanBehavior: _zoomPanBehavior, - ), - ], - ), - ), - SizedBox(height: 20), - ElevatedButton( - child: Text('Change focalLatLng'), - onPressed: () { - _zoomPanBehavior.focalLatLng = MapLatLng(56.1304, -106.3468); - }, +@override +Widget build(BuildContext context) { + return Scaffold( + body: Column( + children: [ + Container( + height: 600, + child: SfMaps( + layers: [ + MapShapeLayer( + source: _dataSource, + zoomPanBehavior: _zoomPanBehavior, + ), + ], ), - ], - ), - ); - } + ), + SizedBox(height: 20), + RaisedButton( + child: Text('Change focalLatLng'), + onPressed: () { + _zoomPanBehavior.focalLatLng = MapLatLng(56.1304, -106.3468); + }, + ), + ], + ), + ); } {% endhighlight %} @@ -240,46 +200,36 @@ To enable zooming, set the instance of [`MapZoomPanBehavior`](https://pub.dev/do {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; +late MapZoomPanBehavior _zoomPanBehavior; -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); +@override +void initState() { + super.initState(); + _zoomPanBehavior = MapZoomPanBehavior( + focalLatLng: MapLatLng(27.1751, 78.0421), + zoomLevel: 5, + ); } -class _MapsExampleState extends State { - late MapZoomPanBehavior _zoomPanBehavior; - - @override - void initState() { - super.initState(); - _zoomPanBehavior = MapZoomPanBehavior( - focalLatLng: MapLatLng(27.1751, 78.0421), - zoomLevel: 5, - ); - } - - @override - Widget build(BuildContext context) { - return FutureBuilder( - future: getBingUrlTemplate( - 'https://dev.virtualearth.net/REST/V1/Imagery/Metadata/AerialWithLabels?output=json&uriScheme=https&include=ImageryProviders&key=YOUR_KEY'), - builder: (context, snapshot) { - if (snapshot.hasData) { - return SfMaps( - layers: [ - MapTileLayer( - urlTemplate: snapshot.data as String, - zoomPanBehavior: _zoomPanBehavior, - ), - ], - ); - } - return CircularProgressIndicator(); - } - ); - } +@override +Widget build(BuildContext context) { + return FutureBuilder( + future: getBingUrlTemplate( + 'https://dev.virtualearth.net/REST/V1/Imagery/Metadata/AerialWithLabels?output=json&uriScheme=https&include=ImageryProviders&key=YOUR_KEY'), + builder: (context, snapshot) { + if (snapshot.hasData) { + return SfMaps( + layers: [ + MapTileLayer( + urlTemplate: snapshot.data as String, + zoomPanBehavior: _zoomPanBehavior, + ), + ], + ); + } + return CircularProgressIndicator(); + } + ); } {% endhighlight %} @@ -296,58 +246,48 @@ N> This is applicable for both shape layer and tile layer. {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); -} - -class _MapsExampleState extends State { - late MapZoomPanBehavior _zoomPanBehavior; - late MapShapeSource _dataSource; - - @override - void initState() { - _dataSource = MapShapeSource.asset( - 'assets/world_map.json', - shapeDataField: 'continent', - ); - _zoomPanBehavior = MapZoomPanBehavior( - focalLatLng: MapLatLng(27.1751, 78.0421), - zoomLevel: 2, - ); - super.initState(); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: Column( - children: [ - Container( - height: 600, - child: SfMaps( - layers: [ - MapShapeLayer( - source: _dataSource, - zoomPanBehavior: _zoomPanBehavior, - ), - ], - ), - ), - SizedBox(height: 20), - ElevatedButton( - child: Text('Change zoomLevel'), - onPressed: () { - _zoomPanBehavior.zoomLevel = 7; - }, +late MapZoomPanBehavior _zoomPanBehavior; +late MapShapeSource _dataSource; + +@override +void initState() { + _dataSource = MapShapeSource.asset( + 'assets/world_map.json', + shapeDataField: 'continent', + ); + _zoomPanBehavior = MapZoomPanBehavior( + focalLatLng: MapLatLng(27.1751, 78.0421), + zoomLevel: 2, + ); + super.initState(); +} + +@override +Widget build(BuildContext context) { + return Scaffold( + body: Column( + children: [ + Container( + height: 600, + child: SfMaps( + layers: [ + MapShapeLayer( + source: _dataSource, + zoomPanBehavior: _zoomPanBehavior, + ), + ], ), - ], - ), - ); - } + ), + SizedBox(height: 20), + RaisedButton( + child: Text('Change zoomLevel'), + onPressed: () { + _zoomPanBehavior.zoomLevel = 7; + }, + ), + ], + ), + ); } {% endhighlight %} @@ -362,48 +302,38 @@ However, for [`MapTileLayer`](https://pub.dev/documentation/syncfusion_flutter_m {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; +late MapZoomPanBehavior _zoomPanBehavior; -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); +@override +void initState() { + super.initState(); + _zoomPanBehavior = MapZoomPanBehavior( + focalLatLng: MapLatLng(27.1751, 78.0421), + zoomLevel: 5, + minZoomLevel: 3, + maxZoomLevel: 10, + ); } -class _MapsExampleState extends State { - late MapZoomPanBehavior _zoomPanBehavior; - - @override - void initState() { - super.initState(); - _zoomPanBehavior = MapZoomPanBehavior( - focalLatLng: MapLatLng(27.1751, 78.0421), - zoomLevel: 5, - minZoomLevel: 3, - maxZoomLevel: 10, - ); - } - - @override - Widget build(BuildContext context) { - return FutureBuilder( - future: getBingUrlTemplate( - 'https://dev.virtualearth.net/REST/V1/Imagery/Metadata/AerialWithLabels?output=json&uriScheme=https&include=ImageryProviders&key=YOUR_KEY'), - builder: (context, snapshot) { - if (snapshot.hasData) { - return SfMaps( - layers: [ - MapTileLayer( - urlTemplate: snapshot.data as String, - zoomPanBehavior: _zoomPanBehavior, - ), - ], - ); - } - return CircularProgressIndicator(); - } - ); - } +@override +Widget build(BuildContext context) { + return FutureBuilder( + future: getBingUrlTemplate( + 'https://dev.virtualearth.net/REST/V1/Imagery/Metadata/AerialWithLabels?output=json&uriScheme=https&include=ImageryProviders&key=YOUR_KEY'), + builder: (context, snapshot) { + if (snapshot.hasData) { + return SfMaps( + layers: [ + MapTileLayer( + urlTemplate: snapshot.data as String, + zoomPanBehavior: _zoomPanBehavior, + ), + ], + ); + } + return CircularProgressIndicator(); + } + ); } {% endhighlight %} @@ -418,36 +348,26 @@ N> This is applicable for both tile layer and shape layer. {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; +late MapZoomPanBehavior _zoomPanBehavior; -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); +@override +void initState() { + _zoomPanBehavior = MapZoomPanBehavior(enableDoubleTapZooming: true); + super.initState(); } -class _MapsExampleState extends State { - late MapZoomPanBehavior _zoomPanBehavior; - - @override - void initState() { - _zoomPanBehavior = MapZoomPanBehavior(enableDoubleTapZooming: true); - super.initState(); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: SfMaps( - layers: [ - MapTileLayer( - urlTemplate: 'https://tile.openstreetmap.org/{z}/{x}/{y}.png', - zoomPanBehavior: _zoomPanBehavior, - ), - ], - ), - ); - } +@override +Widget build(BuildContext context) { + return Scaffold( + body: SfMaps( + layers: [ + MapTileLayer( + urlTemplate: 'https://tile.openstreetmap.org/{z}/{x}/{y}.png', + zoomPanBehavior: _zoomPanBehavior, + ), + ], + ), + ); } {% endhighlight %} @@ -474,50 +394,40 @@ You can customize the toolbar items using the following properties: {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); -} - -class _MapsExampleState extends State { - late MapZoomPanBehavior _zoomPanBehavior; - - @override - void initState() { - _zoomPanBehavior = MapZoomPanBehavior( - focalLatLng: MapLatLng(27.1751, 78.0421), - zoomLevel: 3, - showToolbar: true, - toolbarSettings: MapToolbarSettings( - position: MapToolbarPosition.topLeft, - iconColor: Colors.red, - itemBackgroundColor: Colors.green, - itemHoverColor: Colors.blue, - ), - ); - super.initState(); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: Container( - height: 350, - width: 350, - child: SfMaps( - layers: [ - MapTileLayer( - urlTemplate: 'https://tile.openstreetmap.org/{z}/{x}/{y}.png', - zoomPanBehavior: _zoomPanBehavior, - ), - ], - ), +late MapZoomPanBehavior _zoomPanBehavior; + +@override +void initState() { + _zoomPanBehavior = MapZoomPanBehavior( + focalLatLng: MapLatLng(27.1751, 78.0421), + zoomLevel: 3, + showToolbar: true, + toolbarSettings: MapToolbarSettings( + position: MapToolbarPosition.topLeft, + iconColor: Colors.red, + itemBackgroundColor: Colors.green, + itemHoverColor: Colors.blue, + ), + ); + super.initState(); +} + +@override +Widget build(BuildContext context) { + return Scaffold( + body: Container( + height: 350, + width: 350, + child: SfMaps( + layers: [ + MapTileLayer( + urlTemplate: 'https://tile.openstreetmap.org/{z}/{x}/{y}.png', + zoomPanBehavior: _zoomPanBehavior, + ), + ], ), - ); - } + ), + ); } {% endhighlight %} @@ -541,46 +451,36 @@ Whenever zooming happens, this callback is called. If it returns false, zooming {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); -} - -class _MapsExampleState extends State { - late MapZoomPanBehavior _zoomPanBehavior; - - @override - void initState() { - super.initState(); - _zoomPanBehavior = MapZoomPanBehavior(); - } +late MapZoomPanBehavior _zoomPanBehavior; - @override - Widget build(BuildContext context) { - return FutureBuilder( - future: getBingUrlTemplate( - 'https://dev.virtualearth.net/REST/V1/Imagery/Metadata/AerialWithLabels?output=json&uriScheme=https&include=ImageryProviders&key=YOUR_KEY'), - builder: (context, snapshot) { - if (snapshot.hasData) { - return SfMaps( - layers: [ - MapTileLayer( - urlTemplate: snapshot.data as String, - zoomPanBehavior: _zoomPanBehavior, - onWillZoom: (MapZoomDetails detail) { - return true; - }, - ), - ], - ); - } - return CircularProgressIndicator(); - } - ); - } +@override +void initState() { + super.initState(); + _zoomPanBehavior = MapZoomPanBehavior() +} + +@override +Widget build(BuildContext context) { + return FutureBuilder( + future: getBingUrlTemplate( + 'https://dev.virtualearth.net/REST/V1/Imagery/Metadata/AerialWithLabels?output=json&uriScheme=https&include=ImageryProviders&key=YOUR_KEY'), + builder: (context, snapshot) { + if (snapshot.hasData) { + return SfMaps( + layers: [ + MapTileLayer( + urlTemplate: snapshot.data as String, + zoomPanBehavior: _zoomPanBehavior, + onWillZoom: (MapZoomDetails detail) { + return true; + }, + ), + ], + ); + } + return CircularProgressIndicator(); + } + ); } {% endhighlight %} @@ -602,46 +502,36 @@ Whenever panning happens, this callback is called. If it returns false, panning {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; +late MapZoomPanBehavior _zoomPanBehavior; -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); +@override +void initState() { + super.initState(); + _zoomPanBehavior = MapZoomPanBehavior(); } -class _MapsExampleState extends State { - late MapZoomPanBehavior _zoomPanBehavior; - - @override - void initState() { - super.initState(); - _zoomPanBehavior = MapZoomPanBehavior(); - } - - @override - Widget build(BuildContext context) { - return FutureBuilder( - future: getBingUrlTemplate( - 'https://dev.virtualearth.net/REST/V1/Imagery/Metadata/AerialWithLabels?output=json&uriScheme=https&include=ImageryProviders&key=YOUR_KEY'), - builder: (context, snapshot) { - if (snapshot.hasData) { - return SfMaps( - layers: [ - MapTileLayer( - urlTemplate: snapshot.data as String, - zoomPanBehavior: _zoomPanBehavior, - onWillPan: (MapPanDetails detail) { - return true; - }, - ), - ], - ); - } - return CircularProgressIndicator(); - } - ); - } +@override +Widget build(BuildContext context) { + return FutureBuilder( + future: getBingUrlTemplate( + 'https://dev.virtualearth.net/REST/V1/Imagery/Metadata/AerialWithLabels?output=json&uriScheme=https&include=ImageryProviders&key=YOUR_KEY'), + builder: (context, snapshot) { + if (snapshot.hasData) { + return SfMaps( + layers: [ + MapTileLayer( + urlTemplate: snapshot.data as String, + zoomPanBehavior: _zoomPanBehavior, + onWillPan: (MapPanDetails detail) { + return true; + }, + ), + ], + ); + } + return CircularProgressIndicator(); + } + ); } {% endhighlight %} @@ -665,43 +555,33 @@ Whenever zooming happens, this method is called. Subclasses can override this me {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); -} - -class _MapsExampleState extends State { - late MapZoomPanBehavior _zoomPanBehavior; - - @override - void initState() { - super.initState(); - _zoomPanBehavior = _CustomZoomPanBehavior(); - } +late MapZoomPanBehavior _zoomPanBehavior; - @override - Widget build(BuildContext context) { - return FutureBuilder( - future: getBingUrlTemplate( - 'https://dev.virtualearth.net/REST/V1/Imagery/Metadata/AerialWithLabels?output=json&uriScheme=https&include=ImageryProviders&key=YOUR_KEY'), - builder: (context, snapshot) { - if (snapshot.hasData) { - return SfMaps( - layers: [ - MapTileLayer( - urlTemplate: snapshot.data as String, - zoomPanBehavior: _zoomPanBehavior, - ), - ], - ); - } - return CircularProgressIndicator(); - } - ); - } +@override +void initState() { + super.initState(); + _zoomPanBehavior = _CustomZoomPanBehavior(); +} + +@override +Widget build(BuildContext context) { + return FutureBuilder( + future: getBingUrlTemplate( + 'https://dev.virtualearth.net/REST/V1/Imagery/Metadata/AerialWithLabels?output=json&uriScheme=https&include=ImageryProviders&key=YOUR_KEY'), + builder: (context, snapshot) { + if (snapshot.hasData) { + return SfMaps( + layers: [ + MapTileLayer( + urlTemplate: snapshot.data as String, + zoomPanBehavior: _zoomPanBehavior, + ), + ], + ); + } + return CircularProgressIndicator(); + } + ); } class _CustomZoomPanBehavior extends MapZoomPanBehavior { @@ -735,43 +615,33 @@ Whenever panning happens, this method is called. Subclasses can override this me {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); -} - -class _MapsExampleState extends State { - late MapZoomPanBehavior _zoomPanBehavior; +late MapZoomPanBehavior _zoomPanBehavior; - @override - void initState() { - super.initState(); - _zoomPanBehavior = _CustomZoomPanBehavior(); - } - - @override - Widget build(BuildContext context) { - return FutureBuilder( - future: getBingUrlTemplate( - 'https://dev.virtualearth.net/REST/V1/Imagery/Metadata/AerialWithLabels?output=json&uriScheme=https&include=ImageryProviders&key=YOUR_KEY'), - builder: (context, snapshot) { - if (snapshot.hasData) { - return SfMaps( - layers: [ - MapTileLayer( - urlTemplate: snapshot.data as String, - zoomPanBehavior: _zoomPanBehavior, - ), - ], - ); - } - return CircularProgressIndicator(); - } - ); - } +@override +void initState() { + super.initState(); + _zoomPanBehavior = _CustomZoomPanBehavior(); +} + +@override +Widget build(BuildContext context) { + return FutureBuilder( + future: getBingUrlTemplate( + 'https://dev.virtualearth.net/REST/V1/Imagery/Metadata/AerialWithLabels?output=json&uriScheme=https&include=ImageryProviders&key=YOUR_KEY'), + builder: (context, snapshot) { + if (snapshot.hasData) { + return SfMaps( + layers: [ + MapTileLayer( + urlTemplate: snapshot.data as String, + zoomPanBehavior: _zoomPanBehavior, + ), + ], + ); + } + return CircularProgressIndicator(); + } + ); } class _CustomZoomPanBehavior extends MapZoomPanBehavior { @@ -796,53 +666,43 @@ You can [`reset`](https://pub.dev/documentation/syncfusion_flutter_maps/latest/m {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; +late MapZoomPanBehavior _zoomPanBehavior; -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); +@override +void initState() { + super.initState(); + _zoomPanBehavior = MapZoomPanBehavior(); } -class _MapsExampleState extends State { - late MapZoomPanBehavior _zoomPanBehavior; - - @override - void initState() { - super.initState(); - _zoomPanBehavior = MapZoomPanBehavior(); - } - - @override - Widget build(BuildContext context) { - return Column( - children: [ - FutureBuilder( - future: getBingUrlTemplate( - 'https://dev.virtualearth.net/REST/V1/Imagery/Metadata/AerialWithLabels?output=json&uriScheme=https&include=ImageryProviders&key=YOUR_KEY'), - builder: (context, snapshot) { - if (snapshot.hasData) { - return SfMaps( - layers: [ - MapTileLayer( - urlTemplate: snapshot.data as String, - zoomPanBehavior: _zoomPanBehavior, - ), - ], - ); - } - return CircularProgressIndicator(); - }, - ), - ElevatedButton( - onPressed: () { - _zoomPanBehavior.reset(); - }, - child: Text('Reset Zoom Level'), - ), - ], - ); - } +@override +Widget build(BuildContext context) { + return Column( + children: [ + FutureBuilder( + future: getBingUrlTemplate( + 'https://dev.virtualearth.net/REST/V1/Imagery/Metadata/AerialWithLabels?output=json&uriScheme=https&include=ImageryProviders&key=YOUR_KEY'), + builder: (context, snapshot) { + if (snapshot.hasData) { + return SfMaps( + layers: [ + MapTileLayer( + urlTemplate: snapshot.data as String, + zoomPanBehavior: _zoomPanBehavior, + ), + ], + ); + } + return CircularProgressIndicator(); + }, + ), + FlatButton( + onPressed: () { + _zoomPanBehavior.reset(); + }, + child: Text('Reset Zoom Level'), + ), + ], + ); } {% endhighlight %} @@ -855,43 +715,33 @@ You can override this method to handle pointer events that hit this render objec {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); -} - -class _MapsExampleState extends State { - late MapZoomPanBehavior _zoomPanBehavior; - - @override - void initState() { - super.initState(); - _zoomPanBehavior = _CustomZoomPanBehavior(); - } +late MapZoomPanBehavior _zoomPanBehavior; - @override - Widget build(BuildContext context) { - return FutureBuilder( - future: getBingUrlTemplate( - 'https://dev.virtualearth.net/REST/V1/Imagery/Metadata/AerialWithLabels?output=json&uriScheme=https&include=ImageryProviders&key=YOUR_KEY'), - builder: (context, snapshot) { - if (snapshot.hasData) { - return SfMaps( - layers: [ - MapTileLayer( - urlTemplate: snapshot.data as String, - zoomPanBehavior: _zoomPanBehavior, - ), - ], - ); - } - return CircularProgressIndicator(); - } - ); - } +@override +void initState() { + super.initState(); + _zoomPanBehavior = _CustomZoomPanBehavior(); +} + +@override +Widget build(BuildContext context) { + return FutureBuilder( + future: getBingUrlTemplate( + 'https://dev.virtualearth.net/REST/V1/Imagery/Metadata/AerialWithLabels?output=json&uriScheme=https&include=ImageryProviders&key=YOUR_KEY'), + builder: (context, snapshot) { + if (snapshot.hasData) { + return SfMaps( + layers: [ + MapTileLayer( + urlTemplate: snapshot.data as String, + zoomPanBehavior: _zoomPanBehavior, + ), + ], + ); + } + return CircularProgressIndicator(); + } + ); } class _CustomZoomPanBehavior extends MapZoomPanBehavior { @@ -913,43 +763,33 @@ You can paint this render object into the given context at the given offset. {% tabs %} {% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_maps/maps.dart'; - -class MapsExample extends StatefulWidget { - @override - _MapsExampleState createState() => _MapsExampleState(); -} - -class _MapsExampleState extends State { - late MapZoomPanBehavior _zoomPanBehavior; +late MapZoomPanBehavior _zoomPanBehavior; - @override - void initState() { - super.initState(); - _zoomPanBehavior = _CustomZoomPanBehavior(); - } - - @override - Widget build(BuildContext context) { - return FutureBuilder( - future: getBingUrlTemplate( - 'https://dev.virtualearth.net/REST/V1/Imagery/Metadata/AerialWithLabels?output=json&uriScheme=https&include=ImageryProviders&key=YOUR_KEY'), - builder: (context, snapshot) { - if (snapshot.hasData) { - return SfMaps( - layers: [ - MapTileLayer( - urlTemplate: snapshot.data as String, - zoomPanBehavior: _zoomPanBehavior, - ), - ], - ); - } - return CircularProgressIndicator(); - } - ); - } +@override +void initState() { + super.initState(); + _zoomPanBehavior = _CustomZoomPanBehavior(); +} + +@override +Widget build(BuildContext context) { + return FutureBuilder( + future: getBingUrlTemplate( + 'https://dev.virtualearth.net/REST/V1/Imagery/Metadata/AerialWithLabels?output=json&uriScheme=https&include=ImageryProviders&key=YOUR_KEY'), + builder: (context, snapshot) { + if (snapshot.hasData) { + return SfMaps( + layers: [ + MapTileLayer( + urlTemplate: snapshot.data as String, + zoomPanBehavior: _zoomPanBehavior, + ), + ], + ); + } + return CircularProgressIndicator(); + } + ); } class _CustomZoomPanBehavior extends MapZoomPanBehavior { diff --git a/chart-sdk/flutter/pyramid-chart/accessibility.md b/chart-sdk/flutter/pyramid-chart/accessibility.md index 8bf653534..8c893584e 100644 --- a/chart-sdk/flutter/pyramid-chart/accessibility.md +++ b/chart-sdk/flutter/pyramid-chart/accessibility.md @@ -1,40 +1,40 @@ --- layout: post -title: Accessibility in Flutter Pyramid Chart | Syncfusion® -description: The accessibility support in Flutter Pyramid Chart offers sufficient contrast, large fonts, and tappable targets for an inclusive user experience. +title: Accessibility in Flutter Pyramid Chart widget | Syncfusion +description: Learn here all about Accessibility feature of Syncfusion Flutter Pyramid Chart (SfPyramidChart) widget and more. platform: chart-sdk control: Chart documentation: ug --- -# Accessibility in Flutter Pyramid Chart +# Accessibility in Flutter Pyramid Charts (SfPyramidChart) ## Sufficient contrast The [`SfPyramidChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfPyramidChart-class.html) [`theming`](https://help.syncfusion.com/flutter/themes) support offers a consistent and standardized look, as well as the ability to set colors for all UI elements. The customization of colors can be done for the following chart elements. -* [Chart title](https://help.syncfusion.com/chart-sdk/flutter/pyramid-chart/chart-title) -* [Palette for data points](https://help.syncfusion.com/chart-sdk/flutter/pyramid-chart/pyramid-customization#applying-palette-color) -* [Color mapping for data points](https://help.syncfusion.com/chart-sdk/flutter/pyramid-chart/series-customization#color-mapping-for-data-points) -* [Data label](https://help.syncfusion.com/chart-sdk/flutter/pyramid-chart/datalabel) -* [Legend title](https://help.syncfusion.com/chart-sdk/flutter/pyramid-chart/legend#legend-title) -* [Legend item text](https://help.syncfusion.com/chart-sdk/flutter/pyramid-chart/legend#customizing-legend) -* [Series tooltip](https://help.syncfusion.com/chart-sdk/flutter/pyramid-chart/tooltip#customizing-the-appearance) -* [Selected segments](https://help.syncfusion.com/chart-sdk/flutter/pyramid-chart/selection#customizing-the-segments) +* [Chart title](https://help.syncfusion.com/flutter/pyramid-chart/chart-title) +* [Palette for data points](https://help.syncfusion.com/flutter/pyramid-chart/pyramid-customization#applying-palette-color) +* [Color mapping for data points](https://help.syncfusion.com/flutter/pyramid-chart/series-customization#color-mapping-for-data-points) +* [Data label](https://help.syncfusion.com/flutter/pyramid-chart/datalabel) +* [Legend title](https://help.syncfusion.com/flutter/pyramid-chart/legend#legend-title) +* [Legend item text](https://help.syncfusion.com/flutter/pyramid-chart/legend#customizing-legend) +* [Series tooltip](https://help.syncfusion.com/flutter/pyramid-chart/tooltip#customizing-the-appearance) +* [Selected segments](https://help.syncfusion.com/flutter/pyramid-chart/selection#customizing-the-segments) ## Large fonts The [`SfPyramidChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfPyramidChart-class.html) font size can be adjusted automatically based on device settings and the font size scaled based on the [`MediaQueryData.textScaler`](https://api.flutter.dev/flutter/widgets/MediaQueryData/textScaler.html). It also allows you to change the font size of all elements in the Pyramid chart. -* [Chart title](https://help.syncfusion.com/chart-sdk/flutter/pyramid-chart/chart-title) -* [Data label](https://help.syncfusion.com/chart-sdk/flutter/pyramid-chart/datalabel) -* [Legend title](https://help.syncfusion.com/chart-sdk/flutter/pyramid-chart/legend#legend-title) -* [Legend item text](https://help.syncfusion.com/chart-sdk/flutter/pyramid-chart/legend#customizing-legend) -* [Series tooltip](https://help.syncfusion.com/chart-sdk/flutter/pyramid-chart/tooltip#customizing-the-appearance) +* [Chart title](https://help.syncfusion.com/flutter/pyramid-chart/chart-title) +* [Data label](https://help.syncfusion.com/flutter/pyramid-chart/datalabel) +* [Legend title](https://help.syncfusion.com/flutter/pyramid-chart/legend#legend-title) +* [Legend item text](https://help.syncfusion.com/flutter/pyramid-chart/legend#customizing-legend) +* [Series tooltip](https://help.syncfusion.com/flutter/pyramid-chart/tooltip#customizing-the-appearance) ## Easily tappable targets The [`SfPyramidChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfPyramidChart-class.html) provides callback support to notify when tapping on the essential elements in the chart. -* [Data points](https://help.syncfusion.com/chart-sdk/flutter/pyramid-chart/callbacks#onpointtapped) -* [Data labels](https://help.syncfusion.com/chart-sdk/flutter/pyramid-chart/callbacks#ondatalabeltapped) -* [Legend](https://help.syncfusion.com/chart-sdk/flutter/pyramid-chart/callbacks#onlegendtapped) +* [Data points](https://help.syncfusion.com/flutter/pyramid-chart/callbacks#onpointtapped) +* [Data labels](https://help.syncfusion.com/flutter/pyramid-chart/callbacks#ondatalabeltapped) +* [Legend](https://help.syncfusion.com/flutter/pyramid-chart/callbacks#onlegendtapped) diff --git a/chart-sdk/flutter/pyramid-chart/callbacks.md b/chart-sdk/flutter/pyramid-chart/callbacks.md index c93a55519..94180b92d 100644 --- a/chart-sdk/flutter/pyramid-chart/callbacks.md +++ b/chart-sdk/flutter/pyramid-chart/callbacks.md @@ -1,15 +1,15 @@ --- layout: post -title: Callbacks in Flutter Pyramid Chart | Syncfusion® -description: The callback support in Flutter Pyramid Chart offers events for selection, legend, data labels, tooltips, and rendering to enable rich user interactions. +title: Callbacks in Flutter Pyramid Chart widget | Syncfusion +description: Learn here all about Callbacks feature of Syncfusion Flutter Pyramid Chart (SfPyramidChart) widget and more. platform: chart-sdk control: Chart documentation: ug --- -# Callbacks in Flutter Pyramid Chart +# Callbacks in Flutter Pyramid Chart (SfPyramidChart) -The following callbacks are available for the pyramid chart. +The below Callbacks are for Pyramid chart. ## onLegendItemRender diff --git a/chart-sdk/flutter/pyramid-chart/chart-appearance.md b/chart-sdk/flutter/pyramid-chart/chart-appearance.md index 3df0edf59..dd6ad5391 100644 --- a/chart-sdk/flutter/pyramid-chart/chart-appearance.md +++ b/chart-sdk/flutter/pyramid-chart/chart-appearance.md @@ -1,17 +1,17 @@ --- layout: post -title: Appearance customization in Flutter Pyramid Chart | Syncfusion® -description: The appearance customization support in Flutter Pyramid Chart offers chart sizing, margins, and chart area settings for flexible visual design. +title: Appearance customization in Flutter Pyramid Chart widget | Syncfusion +description: Learn here all about Appearance customization of Syncfusion Flutter Pyramid Chart (SfPyramidChart) widget and more. platform: chart-sdk control: Chart documentation: ug --- -# Appearance customization in Flutter Pyramid Chart +# Appearance customization in Flutter Pyramid Chart (SfPyramidChart) ## Chart sizing -The chart renders based on the parent widget size. If you need the chart to be rendered in a specific size, set the width and height on the parent widget. +The chart renders based on the parent widget size. If you need the chart to be rendered in a specific size, then set the size(width/height) to the parent widget. {% tabs %} {% highlight dart hl_lines="13 14" %} @@ -51,7 +51,7 @@ The chart renders based on the parent widget size. If you need the chart to be r ## Chart margin -The chart margin can be specified using the [`margin`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfPyramidChart/margin.html) property. +Margin to the chart can be specified using the [`margin`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfPyramidChart/margin.html) property. {% tabs %} {% highlight dart hl_lines="9" %} @@ -82,7 +82,7 @@ The chart margin can be specified using the [`margin`](https://pub.dev/documenta ## Chart area customization -You can customize the chart area using the following properties. +You can customize the area of the chart using the below properties. * [`backgroundColor`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfPyramidChart/backgroundColor.html) - used to change the chart area background color. * [`backgroundImage`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfPyramidChart/backgroundImage.html) - used to set the image path. diff --git a/chart-sdk/flutter/pyramid-chart/chart-title.md b/chart-sdk/flutter/pyramid-chart/chart-title.md index 6b2fd0f9e..316bcb828 100644 --- a/chart-sdk/flutter/pyramid-chart/chart-title.md +++ b/chart-sdk/flutter/pyramid-chart/chart-title.md @@ -1,17 +1,17 @@ --- layout: post -title: Chart title in Flutter Pyramid Chart | Syncfusion® -description: The chart title support in Flutter Pyramid Chart offers customizable titles with appearance settings for enhanced context and visual presentation. +title: Chart title in Flutter Pyramid Chart widget | Syncfusion +description: Learn here all about Chart title feature of Syncfusion Flutter Pyramid Chart (SfPyramidChart) widget and more. platform: chart-sdk control: Chart documentation: ug --- -# Chart title in Flutter Pyramid Chart +# Chart title in Flutter Pyramid Chart (SfPyramidChart) -You can define and customize the chart title using the [`title`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfPyramidChart/title.html) property of [`SfPyramidChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfPyramidChart-class.html). The [`text`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartTitle/text.html) property of [`ChartTitle`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartTitle-class.html) is used to set the title text. +You can define and customize the chart title using [`title`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfPyramidChart/title.html) property of [`SfPyramidChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfPyramidChart-class.html). The [`text`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartTitle/text.html) property of [`ChartTitle`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartTitle-class.html) is used to set the text for the title. -The following properties can be used to customize its appearance. +The Following properties can be used to customize its appearance. * [`backgroundColor`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartTitle/backgroundColor.html) - used to change the background color. * [`borderColor`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartTitle/borderColor.html) - used to change the border color. @@ -22,9 +22,9 @@ The following properties can be used to customize its appearance. * [`fontStyle`](https://api.flutter.dev/flutter/painting/TextStyle/fontStyle.html) - used to change the font style for the chart title. * [`fontSize`](https://api.flutter.dev/flutter/painting/TextStyle/fontSize.html) - used to change the font size for the chart title. -## Title alignment +### Title Alignment -You can align the title text horizontally to the near, center, or far positions of the chart using the [`alignment`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartTitle/alignment.html) property of the [`title`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfPyramidChart/title.html). +You can align the title text content horizontally to the near, center, or far of the chart using the [`alignment`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartTitle/alignment.html) property of the [`title`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfPyramidChart/title.html). {% tabs %} {% highlight dart %} @@ -40,7 +40,7 @@ You can align the title text horizontally to the near, center, or far positions backgroundColor: Colors.lightGreen, borderColor: Colors.blue, borderWidth: 2, - // Aligns the chart title to the left + // Aligns the chart title to left alignment: ChartAlignment.near, textStyle: TextStyle( color: Colors.red, @@ -49,15 +49,17 @@ You can align the title text horizontally to the near, center, or far positions fontSize: 14, ) ), + // Initialize category axis series: PyramidSeries( dataSource: [ + // Bind data source ChartData('Jan', 35), ChartData('Feb', 28), ChartData('Mar', 34), ChartData('Apr', 32), ChartData('May', 40) ], - xValueMapper: (ChartData data, _) => data.x, + xValueMapper: (ChartData data, _) => data.x, yValueMapper: (ChartData data, _) => data.y ) ) diff --git a/chart-sdk/flutter/pyramid-chart/datalabel.md b/chart-sdk/flutter/pyramid-chart/datalabel.md index 5093239d2..59c976ba8 100644 --- a/chart-sdk/flutter/pyramid-chart/datalabel.md +++ b/chart-sdk/flutter/pyramid-chart/datalabel.md @@ -1,20 +1,20 @@ --- layout: post -title: Data label in Flutter Pyramid Chart | Syncfusion® -description: The data label support in Flutter Pyramid Chart offers customizable labels, smart positioning, and overflow handling for clear data presentation. +title: Data label in Flutter Pyramid Chart widget | Syncfusion +description: Learn here all about Data label feature of Syncfusion Flutter Pyramid Chart (SfPyramidChart) widget and more. platform: chart-sdk control: Chart documentation: ug --- -# Data label in Flutter Pyramid Chart +# Data label in Flutter Pyramid Chart (SfPyramidChart) Data label can be added to a chart series by enabling the [`isVisible`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/DataLabelSettings/isVisible.html) option in the [`dataLabelSettings`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartSeries/dataLabelSettings.html). You can use the following properties to customize the appearance. * [`color`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/DataLabelSettings/color.html) - used to change the background color of the data label shape. * [`borderWidth`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/DataLabelSettings/borderWidth.html) - used to change the stroke width of the data label shape. * [`borderColor`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/DataLabelSettings/borderColor.html) - used to change the stroke color of the data label shape. -* [`alignment`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/DataLabelSettings/alignment.html) - aligns the data label text to [`ChartAlignment.near`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartAlignment.html#near), [`ChartAlignment.center`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartAlignment.html#center), or [`ChartAlignment.far`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartAlignment.html#far). +* [`alignment`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/DataLabelSettings/alignment.html) - aligns the data label text to [`ChartAlignment.near`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartAlignment.html#near), [`ChartAlignment.center`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartAlignment.html#center) and [`ChartAlignment.far`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartAlignment.html#far). * [`textStyle`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/DataLabelSettings/textStyle.html) - used to change the data label text color, size, font family, font style, and font weight. * [`color`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/DataLabelSettings/color.html) - used to change the color of the data label. * [`fontFamily`](https://api.flutter.dev/flutter/painting/TextStyle/fontFamily.html) - used to change the font family for the data label. diff --git a/chart-sdk/flutter/pyramid-chart/export-pyramid-chart.md b/chart-sdk/flutter/pyramid-chart/export-pyramid-chart.md index 32b40cfd4..27347b228 100644 --- a/chart-sdk/flutter/pyramid-chart/export-pyramid-chart.md +++ b/chart-sdk/flutter/pyramid-chart/export-pyramid-chart.md @@ -1,15 +1,15 @@ --- layout: post -title: Exporting in Flutter Pyramid Chart | Syncfusion® -description: The exporting support in Flutter Pyramid Chart offers image and document export options for easy sharing, reporting, and presentation. +title: Exporting in Flutter Pyramid Chart widget | Syncfusion +description: Learn here all about Exporting feature of Syncfusion Flutter Pyramid Chart (SfPyramidChart) widget and more. platform: chart-sdk control: Chart documentation: ug --- -# Exporting in Flutter Pyramid Chart +# Exporting in Flutter Pyramid Chart (SfPyramidChart) -[`SfPyramidChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfPyramidChart-class.html) provides support for exporting the pyramid chart as a PNG image or as a PDF document. +[`SfPyramidChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfPyramidChart-class.html) provides support to export the pyramid chart as a PNG image or as a PDF document. ## Export image diff --git a/chart-sdk/flutter/pyramid-chart/getting-started.md b/chart-sdk/flutter/pyramid-chart/getting-started.md index 81395611a..317523da6 100644 --- a/chart-sdk/flutter/pyramid-chart/getting-started.md +++ b/chart-sdk/flutter/pyramid-chart/getting-started.md @@ -1,13 +1,13 @@ --- layout: post -title: Getting Started with Flutter Pyramid Chart | Syncfusion® -description: Learn how to get started with Syncfusion® Flutter Pyramid Chart widget, its elements, features and more customization. +title: Getting started with Flutter Pyramid Chart widget | Syncfusion +description: Learn here about getting started with Syncfusion Flutter Pyramid Chart (SfPyramidChart) widget, its elements, and more. platform: chart-sdk control: Chart documentation: ug --- -# Getting Started with Flutter Pyramid Chart +# Getting started with Flutter Pyramid Chart (SfPyramidChart) This section explains the steps required to populate the chart with data, title, data labels, legend, and tooltips. This section covers only the minimal features needed to know to get started with the chart. @@ -22,18 +22,18 @@ Create a simple project using the instructions given in the [Getting Started wit **Add dependency** -Add the Syncfusion® [`Flutter Chart`](https://www.syncfusion.com/flutter-widgets/flutter-charts) dependency to your pubspec file. +Add the Syncfusion® [`Flutter Chart`](https://www.syncfusion.com/flutter-widgets/flutter-charts) dependency to your pub spec file. {% tabs %} {% highlight dart %} dependencies: - syncfusion_flutter_charts: ^xx.x.xx + syncfusion_flutter_charts: ^xx.x.xx {% endhighlight %} {% endtabs %} ->**Note**: Here **xx.x.xx** denotes the current version of [`Syncfusion® Flutter Charts`](https://pub.dev/packages/syncfusion_flutter_charts/versions) package. +>**Note**: Here **xx.x.xx** denotes the current version of [`Syncfusion Flutter Charts`](https://pub.dev/packages/syncfusion_flutter_charts/versions) package. **Get packages** @@ -61,7 +61,7 @@ Import the following package in your Dart code. ## Initialize chart -Once the package has been imported, initialize the chart as a child of any widget. The SfPyramidChart can be used to render pyramid charts. Here, since we are rendering a pyramid chart, initialize the SfPyramidChart widget as a child of a Container widget. +Once the package has been imported, initialize the chart as a child of any widget. The SfPyramidChart can be used to render pyramid charts. Here, as we are rendering pyramid chart, initialize SfPyramidChart widget as a child of Container widget. {% tabs %} {% highlight dart hl_lines="7" %} @@ -81,7 +81,7 @@ Once the package has been imported, initialize the chart as a child of any widge {% endhighlight %} {% endtabs %} -_note_: An empty chart will be displayed. This is the chart’s default behavior. +_note_ : An empty chart will be displayed. This is charts default behavior. ## Bind data source @@ -126,7 +126,7 @@ Based on your data, initialize the series type. In the series, you need to map t ## Add title -You can add a [`title`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfPyramidChart/title.html) to the chart to provide quick information to users about the data plotted in the chart. The chart title can be set as demonstrated in the following code snippet. +You can add a [`title`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfPyramidChart/title.html) to the chart to provide quick information to users about the data plotted in the chart. The title to chart can be set as demonstrated in the following code snippet. {% tabs %} {% highlight dart %} @@ -168,12 +168,12 @@ You can add data labels to improve the readability of the chart using the [`data body: Center( child: Container( child: SfPyramidChart( - series: PyramidSeries( + series:PyramidSeries( dataSource: chartData, xValueMapper: (ChartData data, _) => data.x, yValueMapper: (ChartData data, _) => data.y, // Render the data label - dataLabelSettings: DataLabelSettings(isVisible: true) + dataLabelSettings:DataLabelSettings(isVisible : true) ) ) ) @@ -190,7 +190,7 @@ You can add data labels to improve the readability of the chart using the [`data The legend provides information about the series rendered in the chart. -You can enable the legend in the chart by setting the [`isVisible`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/Legend/isVisible.html) property to true in [`legend`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/Legend-class.html). +You can use legend in chart by setting the [`isVisible`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/Legend/isVisible.html) property to true in [`legend`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/Legend-class.html). {% tabs %} {% highlight dart hl_lines="8" %} @@ -203,7 +203,7 @@ You can enable the legend in the chart by setting the [`isVisible`](https://pub. child: SfPyramidChart( // Enables the legend legend: Legend(isVisible: true), - series: PyramidSeries( + series:PyramidSeries( dataSource: chartData, xValueMapper: (ChartData data, _) => data.x, yValueMapper: (ChartData data, _) => data.y, @@ -223,7 +223,7 @@ You can enable the legend in the chart by setting the [`isVisible`](https://pub. The tooltip is used when you cannot display information using the data labels due to space constraints. -The [`tooltipBehavior`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfPyramidChart/tooltipBehavior.html) property in the chart is used to enable and customize the tooltip for the pyramid series. The tooltip is enabled as shown in the following code snippet. +The [`tooltipBehavior`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfPyramidChart/tooltipBehavior.html) property in chart is used to enable and customize the tooltip for the pyramid series. The tooltip is enabled as demonstrated in the following code snippet. {% tabs %} {% highlight dart hl_lines="5" %} @@ -244,7 +244,7 @@ The [`tooltipBehavior`](https://pub.dev/documentation/syncfusion_flutter_charts/ child: SfPyramidChart( // Enables the tooltip for all the series in chart tooltipBehavior: _tooltipBehavior, - series: PyramidSeries( + series:PyramidSeries( dataSource: chartData, xValueMapper: (ChartData data, _) => data.x, yValueMapper: (ChartData data, _) => data.y, diff --git a/chart-sdk/flutter/pyramid-chart/how-to/custom-widget-on-flutterflow.md b/chart-sdk/flutter/pyramid-chart/how-to/custom-widget-on-flutterflow.md index a09611b6c..7eaf81d67 100644 --- a/chart-sdk/flutter/pyramid-chart/how-to/custom-widget-on-flutterflow.md +++ b/chart-sdk/flutter/pyramid-chart/how-to/custom-widget-on-flutterflow.md @@ -1,17 +1,17 @@ --- layout: post -title: How to add Syncfusion® Pyramid Chart in FlutterFlow | Syncfusion® -description: Add Syncfusion® Flutter Pyramid Chart in FlutterFlow to create compact, interactive charts that visualize trends and data patterns with ease. +title: Pyramid Chart Widget in FlutterFlow | Syncfusion +description: Learn here all about adding Syncfusion Flutter Pyramid Chart (SfPyramidChart) widget in FlutterFlow. platform: chart-sdk control: Chart documentation: ug --- -# How to add Syncfusion® Pyramid Chart in FlutterFlow +# How to add Syncfusion® Pyramid Chart widget in FlutterFlow? ## Overview -[FlutterFlow](https://app.flutterflow.io/dashboard) enables you to create native applications using its graphical interface, reducing the need to write extensive code. Additionally, it offers the capability to include custom widgets that are not included in the default [FlutterFlow](https://app.flutterflow.io/dashboard) widget collection. This article explains how to incorporate the SfPyramidChart widget as a custom widget in [FlutterFlow](https://app.flutterflow.io/dashboard). +[FlutterFlow](https://app.flutterflow.io/dashboard) enables you to create native applications using its graphical interface, reducing the need to write extensive amounts of code. Additionally, it offers the capability to include custom widgets that are not included in the default [FlutterFlow](https://app.flutterflow.io/dashboard) widget collection. This article explains how to incorporate our SfPyramidChart widget as a custom widget in [FlutterFlow](https://app.flutterflow.io/dashboard). ### Create a new project @@ -23,7 +23,7 @@ Navigate to the [FlutterFlow dashboard](https://app.flutterflow.io/dashboard) an 2. Click on the `+ Add` button to open a dropdown menu, then select `Widget`. 3. Update the widget name as desired. 4. Click the `View Boilerplate Code` button on the right side, represented by this icon `[]`. -5. A popup will appear with startup code. Locate the button labeled ` Copy to Editor` and click it. +5. A popup will appear with startup code; locate the button labeled ` Copy to Editor` and click on it. 6. Save the widget. ![Custom Widget](how-to-section-images/custom-widget.png) diff --git a/chart-sdk/flutter/pyramid-chart/legend.md b/chart-sdk/flutter/pyramid-chart/legend.md index 069f83dee..5de7c5700 100644 --- a/chart-sdk/flutter/pyramid-chart/legend.md +++ b/chart-sdk/flutter/pyramid-chart/legend.md @@ -1,15 +1,15 @@ --- layout: post -title: Legend in Flutter Pyramid Chart | Syncfusion® -description: The legend support in Flutter Pyramid Chart offers customizable legend items and positioning to improve chart readability and data understanding. +title: Legend in Flutter Pyramid Chart widget | Syncfusion +description: Learn here all about Legend feature of Syncfusion Flutter Pyramid Chart (SfPyramidChart) widget and more. platform: chart-sdk control: Chart documentation: ug --- -# Legend in Flutter Pyramid Chart +# Legend in Flutter Pyramid Chart (SfPyramidChart) -The [`legend`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfPyramidChart/legend.html) contains a list of chart series and data points in the chart. The information provided in each legend item helps identify the corresponding data series in the chart. +The [`legend`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfPyramidChart/legend.html) contains a list of chart series/data points in chart. The information provided in each legend item helps to identify the corresponding data series in chart. {% tabs %} {% highlight dart hl_lines="14" %} diff --git a/chart-sdk/flutter/pyramid-chart/methods.md b/chart-sdk/flutter/pyramid-chart/methods.md index 14e58b0d0..d8f1f3c72 100644 --- a/chart-sdk/flutter/pyramid-chart/methods.md +++ b/chart-sdk/flutter/pyramid-chart/methods.md @@ -1,18 +1,18 @@ --- layout: post -title: Methods in Flutter Pyramid Chart | Syncfusion® -description: The methods in Flutter Pyramid Chart documentation provide publicly accessible APIs for performing chart-related operations programmatically. +title: Methods in Flutter Pyramid Chart widget | Syncfusion +description: Learn here all about available methods of Syncfusion Flutter Pyramid Chart(SfPyramidChart) widget and more. platform: chart-sdk control: Chart documentation: ug --- -# Methods in Flutter Pyramid Chart +# Methods in Flutter Pyramid Chart (SfPyramidChart) ## PixelToPoint -Converts a logical pixel value to the corresponding data point value. - +Converts logical pixel value to the data point value. + The [`pixelToPoint`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/PyramidSeriesController/pixelToPoint.html) method takes logical pixel value as input and returns a chart data point. >**Note**: The method will return the center value of the segment. diff --git a/chart-sdk/flutter/pyramid-chart/overview.md b/chart-sdk/flutter/pyramid-chart/overview.md index 74ec4b7dc..8fee1b35e 100644 --- a/chart-sdk/flutter/pyramid-chart/overview.md +++ b/chart-sdk/flutter/pyramid-chart/overview.md @@ -1,15 +1,15 @@ --- layout: post -title: About Syncfusion® Flutter Pyramid Chart widget | Syncfusion® -description: Learn here all about introduction of Syncfusion® Flutter Pyramid Chart widget, its features, and more. +title: About Flutter Pyramid Chart widget | Syncfusion +description: Learn here all about introduction of Syncfusion Flutter Pyramid Chart (SfPyramidChart) widget, its features, and more. platform: chart-sdk control: Chart documentation: ug --- -# About Syncfusion® Flutter Pyramid Chart widget +# Flutter Pyramid Chart (SfPyramidChart) Overview -Syncfusion® Flutter Pyramid Chart (SfPyramidChart) widget is written natively in Dart for creating beautiful and high-performance pyramid charts, which are used to craft high-quality Flutter applications. +Syncfusion® Flutter Pyramid Chart (SfPyramidChart) widget is written natively in Dart for creating beautiful and high-performance Pyramid chart, which are used to craft high-quality applications using Flutter. ![Overview Flutter chart](images/overview/overview.png) diff --git a/chart-sdk/flutter/pyramid-chart/pyramid-customization.md b/chart-sdk/flutter/pyramid-chart/pyramid-customization.md index 9fa9ad952..035484ffc 100644 --- a/chart-sdk/flutter/pyramid-chart/pyramid-customization.md +++ b/chart-sdk/flutter/pyramid-chart/pyramid-customization.md @@ -1,13 +1,13 @@ --- layout: post -title: Customization in Flutter Pyramid Chart | Syncfusion® -description: The customization support in Flutter Pyramid Chart offers control over pyramid size, segment gaps, explode behavior, and palette colors for tailored visuals. +title: Customization in Flutter Pyramid Chart widget | Syncfusion +description: Learn here all about Customization of Syncfusion Flutter Pyramid Chart (SfPyramidChart) widget and more. platform: chart-sdk control: Chart documentation: ug --- -# Customization in Flutter Pyramid Chart +# Customization in Flutter Pyramid Chart (SfPyramidChart) To render a pyramid chart, create an instance of [`PyramidSeries`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/PyramidSeries-class.html), and add it to the [`series`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfPyramidChart/series.html) property of [`SfPyramidChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfPyramidChart-class.html). The following properties can be used to customize the appearance of a pyramid segment. diff --git a/chart-sdk/flutter/pyramid-chart/right-to-left.md b/chart-sdk/flutter/pyramid-chart/right-to-left.md index ce65b958a..348428437 100644 --- a/chart-sdk/flutter/pyramid-chart/right-to-left.md +++ b/chart-sdk/flutter/pyramid-chart/right-to-left.md @@ -1,15 +1,15 @@ --- layout: post -title: RTL support in Flutter Pyramid Chart | Syncfusion® -description: The RTL support in Flutter Pyramid Chart offers right-to-left rendering for chart elements, improving usability in RTL language applications. +title: RTL support in Flutter Pyramid Chart widget | Syncfusion +description: Learn here about the RTL support in Syncfusion Flutter Pyramid Chart (SfPyramidChart) widget and more. platform: chart-sdk control: Chart documentation: ug --- -# Right To Left (RTL) in Flutter Pyramid Chart +# Right To Left (RTL) in Flutter Pyramid Chart (SfPyramidChart) -The pyramid chart supports right-to-left rendering. However, series and other chart elements render the same for both LTR and RTL, except for the legend and tooltip. +Pyramid chart supports right to left rendering. However, series and other chart elements rendering will be the same for both LTR and RTL except legend and tooltip. ## RTL rendering ways diff --git a/chart-sdk/flutter/pyramid-chart/selection.md b/chart-sdk/flutter/pyramid-chart/selection.md index df2ab7396..029fc9a88 100644 --- a/chart-sdk/flutter/pyramid-chart/selection.md +++ b/chart-sdk/flutter/pyramid-chart/selection.md @@ -1,15 +1,15 @@ --- layout: post -title: Selection in Flutter Pyramid Chart | Syncfusion® -description: The selection support in Flutter Pyramid Chart offers interactive segment selection with customizable styles to highlight and analyze data points. +title: Selection in Flutter Pyramid Chart widget | Syncfusion +description: Learn here all about Selection feature of Syncfusion Flutter Pyramid Chart (SfPyramidChart) widget and more. platform: chart-sdk control: Chart documentation: ug --- -# Selection in Flutter Pyramid Chart +# Selection in Flutter Pyramid Chart (SfPyramidChart) -The selection feature in the chart lets you select a segment in a series or the series itself. This feature allows you to select either individual segments or a cluster of segments in the chart series. +The selection feature in chart lets you to select in a segment in a series or the series itself. This feature allows you to select either individual or cluster of segments in the chart series. {% tabs %} {% highlight dart %} @@ -125,7 +125,7 @@ Multiple selection can be enabled using the [`enableMultiSelection`](https://pub ## Toggle selection -You can decide whether to deselect the selected data point or series, or keep it selected when interacted with again, by setting the [`toggleSelection`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SelectionBehavior/toggleSelection.html) property to `true` or `false`. If set to `true`, deselection will be performed; otherwise, the point will remain selected. +You can decide, whether to deselect the selected data point/series or remain selected when interacted with it again by setting the [`toggleSelection`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SelectionBehavior/toggleSelection.html) property true or false. If set to true, deselection will be performed else the point will not get deselected. This works even while calling public methods, in various selection modes, with multi-selection, and also on dynamic changes. Defaults to `true`. diff --git a/chart-sdk/flutter/pyramid-chart/series-customization.md b/chart-sdk/flutter/pyramid-chart/series-customization.md index 9ba183cc5..322e73d24 100644 --- a/chart-sdk/flutter/pyramid-chart/series-customization.md +++ b/chart-sdk/flutter/pyramid-chart/series-customization.md @@ -1,17 +1,17 @@ --- layout: post -title: Series customization in Flutter Pyramid Chart | Syncfusion® -description: The series customization support in Flutter Pyramid Chart offers control over segment appearance, spacing, colors, and rendering for tailored visualizations. +title: Series customization in Flutter Pyramid Chart widget | Syncfusion +description: Learn here all about Series customization of Syncfusion Flutter Pyramid Chart (SfPyramidChart) widget and more. platform: chart-sdk control: Chart documentation: ug --- -# Series customization in Flutter Pyramid Chart +# Series customization in Flutter Pyramid Chart (SfPyramidChart) ## Animation -[`SfPyramidChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfPyramidChart-class.html) provides animation support for the series. The series animates while rendering. Animation is enabled by default, and you can also control the duration of the animation using the [`animationDuration`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartSeries/animationDuration.html) property. You can disable the animation by setting the value to 0. +[`SfPyramidChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfPyramidChart-class.html) provides animation support for the series. The series will be animated while rendering. Animation is enabled by default, and you can also control the duration of the animation using [`animationDuration`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartSeries/animationDuration.html) property. You can disable the animation by setting 0 value to that property. {% tabs %} {% highlight dart %} @@ -39,7 +39,7 @@ documentation: ug ### Animation delay -The [`animationDelay`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartSeries/animationDelay.html) property is used to specify the delay duration of the series animation. This takes a millisecond value as input. By default, the series animates for the specified duration. If [`animationDelay`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartSeries/animationDelay.html) is specified, then the series begins to animate after the specified duration. Defaults to `0`. +The [`animationDelay`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartSeries/animationDelay.html) property is used to specify the delay duration of the series animation. This takes milliseconds value as input. By default, the series will get animated for the specified duration. If [`animationDelay`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartSeries/animationDelay.html) is specified, then the series will begin to animate after the specified duration. Defaults to `0`. {% tabs %} {% highlight dart %} diff --git a/chart-sdk/flutter/pyramid-chart/tooltip.md b/chart-sdk/flutter/pyramid-chart/tooltip.md index 622b15c83..3c8ea0335 100644 --- a/chart-sdk/flutter/pyramid-chart/tooltip.md +++ b/chart-sdk/flutter/pyramid-chart/tooltip.md @@ -1,17 +1,17 @@ --- layout: post -title: Tooltip in Flutter Pyramid Chart | Syncfusion® -description: The tooltip support in Flutter Pyramid Chart offers interactive data insights with customizable content and appearance for better user engagement. +title: Tooltip in Flutter Pyramid Chart widget | Syncfusion +description: Learn here all about Tooltip feature of Syncfusion Flutter Pyramid Chart (SfPyramidChart) widget and more. platform: chart-sdk control: Chart documentation: ug --- -# Tooltip in Flutter Pyramid Chart +# Tooltip in Flutter Pyramid Chart (SfPyramidChart) -The chart provides tooltip support for all series types. It is used to show information about a segment when you tap on it. To enable the tooltip, set the [`enableTooltip`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartSeries/enableTooltip.html) property to `true`. +Chart provides tooltip support for all series types. It is used to show information about the segment when you tap on the segment. To enable the tooltip, you need to set [`enableTooltip`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartSeries/enableTooltip.html) property as `true`. -The tooltip state is preserved during device orientation changes and browser resize. For example, if the tooltip's [`duration`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/TooltipBehavior/duration.html) is set to 10,000 ms, and you change the device orientation from portrait to landscape after 5,000 ms of display, the tooltip will remain visible for the next 5,000 ms in landscape mode before disappearing. +The tooltip state will be preserved on the device's orientation change and on browser resize. For example, if the tooltip's [`duration`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/TooltipBehavior/duration.html) is set to 10,000ms, and when you change the orientation of your device from portrait to landscape after 5,000ms of tooltip display, the tooltip will be displayed for the next 5,000ms in landscape mode before disappearing. {% tabs %} {% highlight dart %} @@ -21,7 +21,7 @@ The tooltip state is preserved during device orientation changes and browser res @override void initState(){ _tooltipBehavior = TooltipBehavior(enable: true); - super.initState(); + super.initState(); } @override @@ -63,20 +63,20 @@ The tooltip state is preserved during device orientation changes and browser res You can use the following properties to customize the tooltip appearance. -* [`color`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/TooltipBehavior/color.html) - used to change the background color of the tooltip. +* [`color`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/TooltipBehavior/color.html) - used to change the background color of tooltip. * [`borderWidth`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/TooltipBehavior/borderWidth.html) - used to change the stroke width of the tooltip. * [`borderColor`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/TooltipBehavior/borderColor.html) - used to change the stroke color of the tooltip. * [`opacity`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/TooltipBehavior/opacity.html) - used to control the transparency of the tooltip. -* [`duration`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/TooltipBehavior/duration.html) - specifies the duration for displaying the tooltip and defaults to `3000`. -* [`animationDuration`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/TooltipBehavior/animationDuration.html) - specifies the duration for animating the tooltip and defaults to `350`. -* [`elevation`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/TooltipBehavior/elevation.html) - specifies the elevation of the tooltip. +* [`duration`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/TooltipBehavior/duration.html) - specifies the duration for displaying the tooltip that defaults to `3000`. +* [`animationDuration`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/TooltipBehavior/animationDuration.html) - specifies the duration for animating the tooltip that defaults to `350`. +* [`elevation`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/TooltipBehavior/elevation.html) - specifies the elevation of tooltip. * [`canShowMarker`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/TooltipBehavior/canShowMarker.html) - toggles the visibility of the marker in the tooltip. -* [`header`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/TooltipBehavior/header.html) - specifies the header for the tooltip. By default, the series name is displayed in the header. -* [`format`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/TooltipBehavior/format.html) - formats the tooltip text. By default, the tooltip is rendered with x and y values. You can add a prefix or suffix to x, y, and series name values in the tooltip by formatting them. +* [`header`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/TooltipBehavior/header.html) - specifies the header for tooltip. By default, the series name will be displayed in the header. +* [`format`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/TooltipBehavior/format.html) - formats the tooltip text. By default, the tooltip will be rendered with x and y-values. You can add prefix or suffix to x, y, and series name values in the tooltip by formatting them. * [`shadowColor`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/TooltipBehavior/shadowColor.html) - specifies the color of the tooltip shadow. * [`shouldAlwaysShow`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/TooltipBehavior/shouldAlwaysShow.html) - used to show or hide the tooltip. -* [`textAlignment`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/TooltipBehavior/textAlignment.html) - aligns the text in the tooltip. -* [`decimalPlaces`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/TooltipBehavior/decimalPlaces.html) - used to specify the number of decimals displayed in tooltip text. +* [`textAlignment`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/TooltipBehavior/textAlignment.html) - alignment of the text in the tooltip. +* [`decimalPlaces`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/TooltipBehavior/decimalPlaces.html) - used to specify the number decimals to be displayed in tooltip text. * [`shared`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/TooltipBehavior/shared.html) - used to share the tooltip with same index points. @@ -122,7 +122,7 @@ You can use the following properties to customize the tooltip appearance. ## Label format -By default, x and y values are displayed in the tooltip, and they can be customized using the [`format`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/TooltipBehavior/format.html) property as shown in the code snippet below. You can show the following values in the tooltip and add a prefix or suffix to them. +By default, x and y value will be displayed in the tooltip, and it can be customized using [`format`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/TooltipBehavior/format.html) property as depicted in the below code snippet. You can show the below values in the tooltip. Also you can add prefix or suffix to these values. * X value - `point.x` * Y value - `point.y` @@ -167,7 +167,7 @@ By default, x and y values are displayed in the tooltip, and they can be customi ## Tooltip positioning -The tooltip can be displayed in a fixed location or at the pointer location itself using the [`tooltipPosition`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/TooltipBehavior/tooltipPosition.html) property. This defaults to [`TooltipPosition.auto`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/TooltipPosition.html#auto). +The tooltip can be made to display in the fixed location or at the pointer location itself using the [`tooltipPosition`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/TooltipBehavior/tooltipPosition.html) property. This defaults to [`TooltipPosition.auto`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/TooltipPosition.html#auto). {% tabs %} {% highlight dart %} @@ -207,7 +207,7 @@ The tooltip can be displayed in a fixed location or at the pointer location itse ## Tooltip template -You can customize the tooltip appearance with your own widget by using the [`builder`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/TooltipBehavior/builder.html) property of [`tooltipBehavior`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfPyramidChart/tooltipBehavior.html). +You can customize the appearance of the tooltip with your own widget by using the [`builder`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/TooltipBehavior/builder.html) property of [`tooltipBehavior`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfPyramidChart/tooltipBehavior.html). {% tabs %} {% highlight dart %} @@ -255,7 +255,7 @@ You can customize the tooltip appearance with your own widget by using the [`bui ## Activation mode -The [`activationMode`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/TooltipBehavior/activationMode.html) property is used to restrict the tooltip visibility based on touch actions. The default value of this property is [`ActivationMode.singleTap`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ActivationMode.html#singleTap). +The [`activationMode`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/TooltipBehavior/activationMode.html) property is used to restrict the visibility of tooltip based on the touch actions. The default value of this property is [`ActivationMode.singleTap`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ActivationMode.html#singleTap). The ActivationMode enum includes the following values: diff --git a/chart-sdk/flutter/radial-gauge/accessibility.md b/chart-sdk/flutter/radial-gauge/accessibility.md index 188f70ece..257c203ec 100644 --- a/chart-sdk/flutter/radial-gauge/accessibility.md +++ b/chart-sdk/flutter/radial-gauge/accessibility.md @@ -1,7 +1,7 @@ --- layout: post -title: Accessibility in Flutter Radial Gauge | Syncfusion® -description: Learn about accessibility support in Syncfusion® Flutter Radial Gauge (SfRadialGauge), including screen readers, keyboard navigation, and more. +title: Accessibility in Flutter Radial Gauge widget | Syncfusion +description: Learn here all about the accessibility support in Syncfusion Flutter Radial Gauge (SfRadialGauge) widget and how to customize it. platform: chart-sdk control: SfRadialGauge documentation: ug @@ -14,38 +14,8 @@ documentation: ug The [`SfRadialGauge`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/SfRadialGauge-class.html) can be made accessible to screen readers by wrapping it with the flutter [`Semantics`](https://api.flutter.dev/flutter/widgets/Semantics-class.html) widget. This provides meaningful information about the gauge to assistive technologies. {% tabs %} -{% highlight dart %} +{% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() { - runApp(const MyApp()); -} - -class MyApp extends StatelessWidget { - const MyApp({Key? key}) : super(key: key); - - @override - Widget build(BuildContext context) { - return MaterialApp( - title: 'Radial Gauge Demo', - theme: ThemeData( - primarySwatch: Colors.blue, - ), - home: const MyHomePage(), - ); - } -} - -class MyHomePage extends StatefulWidget { - const MyHomePage({Key? key}) : super(key: key); - - @override - State createState() => _MyHomePageState(); -} - -class _MyHomePageState extends State { double _value = 50; @override @@ -60,32 +30,31 @@ class _MyHomePageState extends State { ), ); } -} {% endhighlight %} {% endtabs %} ## Sufficient contrast -You can customize the color of the [`SfRadialGauge`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/SfRadialGauge-class.html) elements using the following APIs for a sufficient contrast. +You can customize the color of the [`SfRadialGauge`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/SfRadialGauge-class.html) elements using the following APIs for the sufficient contrast. -* [Title](https://help.syncfusion.com/chart-sdk/flutter/radial-gauge/radial-gauge-title#text-alignment) -* [Axis labels](https://help.syncfusion.com/chart-sdk/flutter/radial-gauge/axes#label-style-customization) -* [Ticks](https://help.syncfusion.com/chart-sdk/flutter/radial-gauge/axes#tick-customization) -* [Annotation](https://help.syncfusion.com/chart-sdk/flutter/radial-gauge/annotation#alignment-of-annotation) -* [Marker pointer](https://help.syncfusion.com/chart-sdk/flutter/radial-gauge/marker-pointer#marker-customization) -* [Text pointer](https://help.syncfusion.com/chart-sdk/flutter/radial-gauge/marker-pointer#text-pointer) -* [Knob](https://help.syncfusion.com/chart-sdk/flutter/radial-gauge/needle-pointer#knob-customization) -* [Tail](https://help.syncfusion.com/chart-sdk/flutter/radial-gauge/needle-pointer#tail-customization) -* [Range pointer](https://help.syncfusion.com/chart-sdk/flutter/radial-gauge/ranges#range-customization) +* [Title](https://help.syncfusion.com/flutter/radial-gauge/radial-gauge-title#text-alignment) +* [Axis labels](https://help.syncfusion.com/flutter/radial-gauge/axes#label-style-customization) +* [Ticks](https://help.syncfusion.com/flutter/radial-gauge/axes#tick-customization) +* [Annotation](https://help.syncfusion.com/flutter/radial-gauge/annotation#alignment-of-annotation) +* [Marker pointer](https://help.syncfusion.com/flutter/radial-gauge/marker-pointer#marker-customization) +* [Text pointer](https://help.syncfusion.com/flutter/radial-gauge/marker-pointer#text-pointer) +* [Knob](https://help.syncfusion.com/flutter/radial-gauge/needle-pointer#knob-customization) +* [Tail](https://help.syncfusion.com/flutter/radial-gauge/needle-pointer#tail-customization) +* [Range pointer](https://help.syncfusion.com/flutter/radial-gauge/ranges#range-customization) ## Large fonts For users who need larger text, you can adjust the font size of the [`SfRadialGauge`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/SfRadialGauge-class.html) elements using these APIs: -* [Title](https://help.syncfusion.com/chart-sdk/flutter/radial-gauge/radial-gauge-title#text-alignment) -* [Axis labels](https://help.syncfusion.com/chart-sdk/flutter/radial-gauge/axes#label-style-customization) -* [Annotation](https://help.syncfusion.com/chart-sdk/flutter/radial-gauge/annotation#alignment-of-annotation) +* [Title](https://help.syncfusion.com/flutter/radial-gauge/radial-gauge-title#text-alignment) +* [Axis labels](https://help.syncfusion.com/flutter/radial-gauge/axes#label-style-customization) +* [Annotation](https://help.syncfusion.com/flutter/radial-gauge/annotation#alignment-of-annotation) ## Easier touch targets diff --git a/chart-sdk/flutter/radial-gauge/animation.md b/chart-sdk/flutter/radial-gauge/animation.md index 91a5fb415..01b89912b 100644 --- a/chart-sdk/flutter/radial-gauge/animation.md +++ b/chart-sdk/flutter/radial-gauge/animation.md @@ -1,7 +1,7 @@ --- layout: post -title: Animation in Flutter Radial Gauge | Syncfusion® -description: Learn about animation support in Syncfusion® Flutter Radial Gauge (SfRadialGauge), including pointer animations, duration settings, and visual effects. +title: Animation in Flutter Radial Gauge widget | Syncfusion +description: Learn here all about adding and customizing animation of Syncfusion Flutter Radial Gauge (SfRadialGauge) widget and more. platform: chart-sdk control: SfRadialGauge documentation: ug @@ -11,59 +11,46 @@ documentation: ug ## Initial animation -The radial gauge allows all of its elements to be animated with [`enableLoadingAnimation`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/SfRadialGauge/enableLoadingAnimation.html) property. The default value for this property is false. The duration of the animation can be controlled by the [`animationDuration`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/SfRadialGauge/animationDuration.html) property of the gauge. +The radial gauge allows all of its elements to be animated with [`enableLoadingAnimation`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/SfRadialGauge/enableLoadingAnimation.html) property. The default value for this property is false. The duration of the animation can be controlled by [`animationDuration`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/SfRadialGauge/animationDuration.html) property of the gauge. -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const RadialGaugeDemo()); - -class RadialGaugeDemo extends StatelessWidget { - const RadialGaugeDemo({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { - return MaterialApp( - home: Scaffold( - body: Center( - child: SfRadialGauge( - enableLoadingAnimation: true, - animationDuration: 4500, - axes: [ - RadialAxis( - minimum: 0, - maximum: 150, - ranges: [ - GaugeRange(startValue: 0, endValue: 50, color: Colors.green, startWidth: 10, endWidth: 10), - GaugeRange(startValue: 50, endValue: 100, color: Colors.orange, startWidth: 10, endWidth: 10), - GaugeRange(startValue: 100, endValue: 150, color: Colors.red, startWidth: 10, endWidth: 10) - ], - pointers: [ - NeedlePointer(value: 90) - ], - annotations: [ - GaugeAnnotation( - widget: Container( - child: Text('90.0', style: TextStyle(fontSize: 25, fontWeight: FontWeight.bold)) - ), - angle: 90, - positionFactor: 0.5 - ) - ] - ) - ] - ), + return Scaffold( + body: Center( + child: SfRadialGauge( + enableLoadingAnimation: true, + animationDuration: 4500, + axes: [ + RadialAxis( + minimum: 0, + maximum: 150, + ranges: [ + GaugeRange(startValue: 0, endValue: 50, color: Colors.green, startWidth: 10, endWidth: 10), + GaugeRange(startValue: 50, endValue: 100, color: Colors.orange, startWidth: 10, endWidth: 10), + GaugeRange(startValue: 100, endValue: 150, color: Colors.red, startWidth: 10, endWidth: 10) + ], + pointers: [ + NeedlePointer(value: 90) + ], + annotations: [ + GaugeAnnotation( + widget: Container( + child: Text('90.0', style: TextStyle(fontSize: 25, fontWeight: FontWeight.bold)) + ), + angle: 90, + positionFactor: 0.5 + ) + ] + ) + ] ), ), ); } -} {% endhighlight %} -{% endtabs %} ![gauge loading animation](images/animation/initial_Animation.gif) @@ -79,65 +66,52 @@ The [`enableAnimation`](https://pub.dev/documentation/syncfusion_flutter_gauges/ * `linear` * `slowMiddle` -The animation type can be changed using the [`animationType`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/GaugePointer/animationType.html) property of pointer. By default, the animation type is `ease`. +The animation type can be changed using the [`animationType`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/GaugePointer/animationType.html) property of pointer. By default, the animation type is linear. -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const RadialGaugeDemo()); - -class RadialGaugeDemo extends StatelessWidget { - const RadialGaugeDemo({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { - return MaterialApp( - home: Scaffold( - body: Center( - child: SfRadialGauge( - axes: [ - RadialAxis( - axisLineStyle: AxisLineStyle(thickness: 30), - showTicks: false, - pointers: [ - NeedlePointer( - value: 60, - enableAnimation: true, - needleStartWidth: 0, - needleEndWidth: 5, - needleColor: Color(0xFFDADADA), - knobStyle: KnobStyle( - color: Colors.white, - borderColor: Color(0xFFDADADA), - knobRadius: 0.06, - borderWidth: 0.04 - ), - tailStyle: TailStyle( - color: Color(0xFFDADADA), - width: 5, - length: 0.15 - ) + return Scaffold( + body: Center( + child: SfRadialGauge( + axes: [ + RadialAxis( + axisLineStyle: AxisLineStyle(thickness: 30), + showTicks: false, + pointers: [ + NeedlePointer( + value: 60, + enableAnimation: true, + needleStartWidth: 0, + needleEndWidth: 5, + needleColor: Color(0xFFDADADA), + knobStyle: KnobStyle( + color: Colors.white, + borderColor: Color(0xFFDADADA), + knobRadius: 0.06, + borderWidth: 0.04 ), - RangePointer( - value: 60, - width: 30, - enableAnimation: true, - color: Colors.orange + tailStyle: TailStyle( + color: Color(0xFFDADADA), + width: 5, + length: 0.15 ) - ] - ) - ], - ), - ), + ), + RangePointer( + value: 60, + width: 30, + enableAnimation: true, + color: Colors.orange + ) + ] + ) + ], + ) ), ); } -} {% endhighlight %} -{% endtabs %} ![pointer animation](images/animation/animation.gif) diff --git a/chart-sdk/flutter/radial-gauge/annotation.md b/chart-sdk/flutter/radial-gauge/annotation.md index 349944f79..6e9fe71f1 100644 --- a/chart-sdk/flutter/radial-gauge/annotation.md +++ b/chart-sdk/flutter/radial-gauge/annotation.md @@ -1,7 +1,7 @@ --- layout: post -title: Annotation in Flutter Radial Gauge | Syncfusion® -description: Learn about annotations in Syncfusion® Flutter Radial Gauge (SfRadialGauge), including custom content, positioning, styling, and gauge annotations. +title: Annotation in Flutter Radial Gauge widget | Syncfusion +description: Learn here all about adding and customizing Annotation in Syncfusion Flutter Radial Gauge (SfRadialGauge) widget and more. platform: chart-sdk control: SfRadialGauge documentation: ug @@ -11,7 +11,7 @@ documentation: ug [`Radial axis`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RadialAxis-class.html) allows you to add multiple widgets such as text and image as annotations to specific points of interest in the radial gauge. -The following properties are available in [`annotation`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/GaugeAnnotation-class.html) to customize the position and alignment of [`annotation widget-based`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/GaugeAnnotation/widget.html) +The following properties are available in [`annotation`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/GaugeAnnotation-class.html) to customizes the position and alignment of [`annotation widget`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/GaugeAnnotation/widget.html) * [`angle`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/GaugeAnnotation/angle.html) – Allows you to position the annotation using the angle. @@ -21,31 +21,8 @@ The following properties are available in [`annotation`](https://pub.dev/documen * [`horizontalAlignment`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/GaugeAnnotation/horizontalAlignment.html) – Specifies the horizontal alignment for positioning the annotation widget. * [`verticalAlignment`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/GaugeAnnotation/verticalAlignment.html) – Specifies the vertical alignment for positioning the annotation. -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() { - runApp(MyApp()); -} - -class MyApp extends StatelessWidget { - @override - Widget build(BuildContext context) { - return MaterialApp( - home: MyHomePage(), - ); - } -} - -class MyHomePage extends StatefulWidget { - @override - State createState() => MyHomePageState(); -} - -class MyHomePageState extends State { @override Widget build(BuildContext context) { return Scaffold( @@ -69,10 +46,8 @@ class MyHomePageState extends State { ) ); } -} {% endhighlight %} -{% endtabs %} ![default annotation position](images/annotation/annotation_default_position.jpg) @@ -80,31 +55,8 @@ class MyHomePageState extends State { The annotation can be positioned either using the [`angle`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/GaugeAnnotation/angle.html) or [`axis value`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/GaugeAnnotation/axisValue.html). When providing both the [`angle`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/GaugeAnnotation/angle.html) and the [`axis value`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/GaugeAnnotation/axisValue.html), priority will be given to the angle value. The following example shows how to position the annotation widget using angle. -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() { - runApp(MyApp()); -} - -class MyApp extends StatelessWidget { - @override - Widget build(BuildContext context) { - return MaterialApp( - home: MyHomePage(), - ); - } -} - -class MyHomePage extends StatefulWidget { - @override - State createState() => MyHomePageState(); -} - -class MyHomePageState extends State { @override Widget build(BuildContext context) { return Scaffold( @@ -129,40 +81,15 @@ class MyHomePageState extends State { ), ); } -} {% endhighlight %} -{% endtabs %} -![annotation position with angle](images/annotation/annotation_angle.jpg) +![annotation position with angle](images/annotation/annottaion_angle.jpg) The following code example shows how to position the annotation using [`axis value`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/GaugeAnnotation/axisValue.html) -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() { - runApp(MyApp()); -} - -class MyApp extends StatelessWidget { - @override - Widget build(BuildContext context) { - return MaterialApp( - home: MyHomePage(), - ); - } -} - -class MyHomePage extends StatefulWidget { - @override - State createState() => MyHomePageState(); -} - -class MyHomePageState extends State { @override Widget build(BuildContext context) { return Scaffold( @@ -186,12 +113,10 @@ class MyHomePageState extends State { ) ); } -} {% endhighlight %} -{% endtabs %} -![annotation position with axis](images/annotation/annotation_axis.jpg) +![annotation position with axis](images/annotation/annottaion_axis.jpg) The [`positionFactor`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/GaugeAnnotation/positionFactor.html) is used to move the annotation widget from the center of axis to the edge of the axis. For example, when you specify the [`positionFactor`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/GaugeAnnotation/positionFactor.html) as 0.5, the annotation widget will be moved from the center towards the corresponding direction with the distance of half of the radius value of the axis. @@ -201,31 +126,8 @@ By default, the value of [`positionFactor`](https://pub.dev/documentation/syncfu Annotations provide options to add any image over the gauge control with respect to its offset position. You can add multiple images in a single control. -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() { - runApp(MyApp()); -} - -class MyApp extends StatelessWidget { - @override - Widget build(BuildContext context) { - return MaterialApp( - home: MyHomePage(), - ); - } -} - -class MyHomePage extends StatefulWidget { - @override - State createState() => MyHomePageState(); -} - -class MyHomePageState extends State { @override Widget build(BuildContext context) { return Scaffold( @@ -255,8 +157,8 @@ class MyHomePageState extends State { Container( width: 50.00, height: 50.00, - decoration: BoxDecoration( - image: DecorationImage( + decoration: new BoxDecoration( + image: new DecorationImage( image: ExactAssetImage('images/sun.png'), fit: BoxFit.fitHeight, ), @@ -283,12 +185,10 @@ class MyHomePageState extends State { ) ); } -} {% endhighlight %} -{% endtabs %} -![image annotation](images/annotation/image_annotation.jpg) +![image annotation](images/annotation/image_annottaion.jpg) ## Alignment of annotation @@ -296,31 +196,8 @@ class MyHomePageState extends State { The following code example demonstrates how to set the [`horizontalAlignment`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/GaugeAnnotation/horizontalAlignment.html) for annotation -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() { - runApp(MyApp()); -} - -class MyApp extends StatelessWidget { - @override - Widget build(BuildContext context) { - return MaterialApp( - home: MyHomePage(), - ); - } -} - -class MyHomePage extends StatefulWidget { - @override - State createState() => MyHomePageState(); -} - -class MyHomePageState extends State { @override Widget build(BuildContext context) { return Scaffold( @@ -345,40 +222,15 @@ class MyHomePageState extends State { ) ); } -} {% endhighlight %} -{% endtabs %} ![horizontal alignment](images/annotation/annotation_horizontal.jpg) The following code example demonstrates how to set [`verticalAlignment`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/GaugeAnnotation/verticalAlignment.html) for annotation, -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() { - runApp(MyApp()); -} - -class MyApp extends StatelessWidget { - @override - Widget build(BuildContext context) { - return MaterialApp( - home: MyHomePage(), - ); - } -} - -class MyHomePage extends StatefulWidget { - @override - State createState() => MyHomePageState(); -} - -class MyHomePageState extends State { @override Widget build(BuildContext context) { return Scaffold( @@ -403,9 +255,7 @@ class MyHomePageState extends State { ) ); } -} {% endhighlight %} -{% endtabs %} ![vertical alignment](images/annotation/annotation_vertical.jpg) \ No newline at end of file diff --git a/chart-sdk/flutter/radial-gauge/axes.md b/chart-sdk/flutter/radial-gauge/axes.md index 4b9634cd2..e803133ec 100644 --- a/chart-sdk/flutter/radial-gauge/axes.md +++ b/chart-sdk/flutter/radial-gauge/axes.md @@ -1,51 +1,38 @@ --- layout: post -title: Axis in Flutter Radial Gauge | Syncfusion® -description: Learn about axis customization in Syncfusion® Flutter Radial Gauge (SfRadialGauge), including ranges, labels, ticks, intervals, and styling options. +title: Axis in Flutter Radial Gauge | Syncfusion +description: Step-by-step guide to add and customize axes in Syncfusion Flutter Radial Gauge—configure range, angles, radius, labels, ticks, and axis events. platform: chart-sdk control: SfRadialGauge documentation: ug --- -# Axis in Flutter Radial Gauge (SfRadialGauge) +# Flutter Radial Gauge Axis (SfRadialGauge) The [`radial axis`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RadialAxis-class.html) is a circular arc in which a set of values are displayed along a linear or custom scale based on the design requirements. Axis elements such as labels, ticks, and axis line can be easily customized with built-in properties. -## Axis customization +## Axis Customization **Axis minimum and maximum** -The [`minimum`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RadialAxis/minimum.html) and [`maximum`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RadialAxis/maximum.html) properties of an axis can be used to customize the axis range. The default value of [`minimum`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RadialAxis/minimum.html) is 0, and the default value of [`maximum`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RadialAxis/maximum.html) is 100. +The [`minimum`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RadialAxis/minimum.html) and [`maximum`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RadialAxis/maximum.html) properties of an axis can be used to customize the axis range.The default value of [`minimum`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RadialAxis/minimum.html) is 0, and the default value of [`maximum`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RadialAxis/maximum.html) is 100. -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const RadialGaugeDemo()); - -class RadialGaugeDemo extends StatelessWidget { - const RadialGaugeDemo({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { - return MaterialApp( - home: Scaffold( - body: Center( - child: SfRadialGauge( - axes: [ - RadialAxis(minimum: -60, maximum: 60) - ] - ), + return Scaffold( + body: Center( + child: SfRadialGauge( + axes: [ + RadialAxis(minimum: -60, maximum: 60) + ] ), ), ); } -} {% endhighlight %} -{% endtabs %} ![axis range](images/axis/axis_range.jpg) @@ -53,35 +40,22 @@ class RadialGaugeDemo extends StatelessWidget { The start and end angles of radial axis can be customized using the [`startAngle`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RadialAxis/startAngle.html) and [`endAngle`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RadialAxis/endAngle.html) properties. -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const RadialGaugeDemo()); - -class RadialGaugeDemo extends StatelessWidget { - const RadialGaugeDemo({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { - return MaterialApp( - home: Scaffold( - body: Center( - child: SfRadialGauge( - axes: [ - RadialAxis(startAngle: 180, endAngle: 90) - ] - ), + return Scaffold( + body: Center( + child: SfRadialGauge( + axes: [ + RadialAxis(startAngle: 180, endAngle: 90) + ] ), ), ); } -} {% endhighlight %} -{% endtabs %} ![axis angle customization](images/axis/axis_angle.jpg) @@ -89,36 +63,23 @@ class RadialGaugeDemo extends StatelessWidget { The radius of the radial axis can be customized using the [`radiusFactor`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RadialAxis/radiusFactor.html) property. The default value of the [`radiusFactor`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RadialAxis/radiusFactor.html) is 0.95. The value of [`radiusFactor`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RadialAxis/radiusFactor.html) ranges from 0 to 1. For example, When the [`radiusFactor`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RadialAxis/radiusFactor.html) value is 1, the full radius will be considered for rendering the axis, and when the [`radiusFactor`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RadialAxis/radiusFactor.html) value is 0.5, then half of the radius value will be considered for rendering the circle. -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const RadialGaugeDemo()); - -class RadialGaugeDemo extends StatelessWidget { - const RadialGaugeDemo({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { - return MaterialApp( - home: Scaffold( - body: Center( - child: SfRadialGauge( - axes: [ - RadialAxis(), - RadialAxis(radiusFactor: 0.5) - ] - ), + return Scaffold( + body: Center( + child: SfRadialGauge( + axes: [ + RadialAxis(), + RadialAxis(radiusFactor: 0.5) + ] ), ), ); } -} {% endhighlight %} -{% endtabs %} ![axis radius customization](images/axis/axis_radius.jpg) @@ -126,84 +87,58 @@ class RadialGaugeDemo extends StatelessWidget { The position of the [`radial axis`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RadialAxis-class.html) can be customized using the [`centerX`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RadialAxis/centerX.html) and [`centerY`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RadialAxis/centerY.html) values. The default value of [`centerX`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RadialAxis/centerX.html) and [`centerY`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RadialAxis/centerY.html) properties is 0.5. Therefore, the axis will be positioned in the center of provided size of gauge. -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const RadialGaugeDemo()); - -class RadialGaugeDemo extends StatelessWidget { - const RadialGaugeDemo({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { - return MaterialApp( - home: Scaffold( - body: Center( - child: SfRadialGauge( - axes: [ - RadialAxis(startAngle: 270, endAngle: 270, interval: 10), - RadialAxis( - centerY: 0.55, - centerX: 0.35, - radiusFactor: 0.3, - startAngle: 270, - endAngle: 270, - interval: 20 - ) - ] - ), + return Scaffold( + body: Center( + child: SfRadialGauge( + axes: [ + RadialAxis(startAngle: 270, endAngle: 270, interval: 10), + RadialAxis( + centerY: 0.55, + centerX: 0.35, + radiusFactor: 0.3, + startAngle: 270, + endAngle: 270, + interval: 20 + ) + ] ), ), ); } -} {% endhighlight %} -{% endtabs %} ![axis position customization](images/axis/axis_center.jpg) **Positioning axis based on its angle** -The [`canScaleToFit`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RadialAxis/canScaleToFit.html) property of [`radial axis`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RadialAxis-class.html) allows you to position the axis and its features based on the provided [`start`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RadialAxis/startAngle.html) and [`end angle`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RadialAxis/endAngle.html). By default, the [`canScaleToFit`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RadialAxis/canScaleToFit.html) is false, therefore the axis will be positioned based on the [`centerX`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RadialAxis/centerX.html) and [`centerY`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RadialAxis/centerY.html) value. +The [`canScaleToFit`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RadialAxis/canScaleToFit.html) property of [`radial axis`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RadialAxis-class.html) allows to position the axis and its features based on the provided [`start`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RadialAxis/startAngle.html) and [`end angle`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RadialAxis/endAngle.html). By default, the [`canScaleToFit`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RadialAxis/canScaleToFit.html) is false, therefore the axis will be positioned based on the [`centerX`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RadialAxis/centerX.html) and [`centerY`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RadialAxis/centerY.html) value. -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const RadialGaugeDemo()); - -class RadialGaugeDemo extends StatelessWidget { - const RadialGaugeDemo({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { - return MaterialApp( - home: Scaffold( - body: Center( - child: SfRadialGauge( - axes: [ - RadialAxis( - startAngle: 180, - endAngle: 0, - interval: 10, - canScaleToFit: true - ) - ] - ), + return Scaffold( + body: Center( + child: SfRadialGauge( + axes: [ + RadialAxis( + startAngle: 180, + endAngle: 0, + interval: 10, + canScaleToFit: true + ) + ] ), ), ); } -} {% endhighlight %} -{% endtabs %} ![axis fit to scale](images/axis/axis_fitToScale.png) @@ -212,35 +147,22 @@ class RadialGaugeDemo extends StatelessWidget { The axis label can be rotated based on its current angle using the [`canRotateLabels`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RadialAxis/canRotateLabels.html) property of axis. The default value of [`canRotateLabels`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RadialAxis/canRotateLabels.html) is false. -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const RadialGaugeDemo()); - -class RadialGaugeDemo extends StatelessWidget { - const RadialGaugeDemo({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { - return MaterialApp( - home: Scaffold( - body: Center( - child: SfRadialGauge( - axes: [ - RadialAxis(canRotateLabels: true) - ] - ), + return Scaffold( + body: Center( + child: SfRadialGauge( + axes: [ + RadialAxis(canRotateLabels: true) + ] ), ), ); } -} {% endhighlight %} -{% endtabs %} ![axis label rotation](images/axis/axis_rotate.jpg) @@ -253,42 +175,29 @@ The visibility of the first and last labels of an axis can be customized using t The default value of both the [`showFirstLabel`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RadialAxis/showFirstLabel.html) and the [`showLastLabel`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RadialAxis/showLastLabel.html) properties is true. -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const RadialGaugeDemo()); - -class RadialGaugeDemo extends StatelessWidget { - const RadialGaugeDemo({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { - return MaterialApp( - home: Scaffold( - body: Center( - child: SfRadialGauge( - axes: [ - RadialAxis( - interval: 1, - showFirstLabel: false, - startAngle: 270, - endAngle: 270, - minimum: 0, - maximum: 12 - ) - ] - ), + return Scaffold( + body: Center( + child: SfRadialGauge( + axes: [ + RadialAxis( + interval: 1, + showFirstLabel: false, + startAngle: 270, + endAngle: 270, + minimum: 0, + maximum: 12 + ) + ] ), ), ); } -} {% endhighlight %} -{% endtabs %} ![axis edge label](images/axis/axis_showfirstlabel.jpg) @@ -296,69 +205,43 @@ class RadialGaugeDemo extends StatelessWidget { The direction of [`radial axis`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RadialAxis-class.html) can be customized by its [`isInversed`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RadialAxis/isInversed.html) property. -When the [`isInversed`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RadialAxis/isInversed.html) property is true, the axis can be placed in a counter-clockwise direction. When the [`isInversed`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RadialAxis/isInversed.html) property is set to false, the axis will be positioned in a clockwise direction. +When the [`isInversed`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RadialAxis/isInversed.html) property is true, the axis can be placed in counter-clockwise direction. When the [`isInversed`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RadialAxis/isInversed.html) property is set to false, the axis will be positioned in clockwise direction. -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const RadialGaugeDemo()); - -class RadialGaugeDemo extends StatelessWidget { - const RadialGaugeDemo({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { - return MaterialApp( - home: Scaffold( - body: Center( - child: SfRadialGauge( - axes:[RadialAxis( isInversed: true)] - ), + return Scaffold( + body: Center( + child: SfRadialGauge( + axes:[RadialAxis( isInversed: true)] ), ), ); } -} {% endhighlight %} -{% endtabs %} ![axis direction](images/axis/axis_inversed.jpg) **Maximum number of labels per 100 logical pixels** -By default, a maximum of three labels are displayed for each 100 logical pixels in an axis. The maximum number of labels that should be present within 100 logical pixels length can be customized using the [`maximumLabels`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RadialAxis/maximumLabels.html) property of the axis. This property is applicable only for automatic range calculation and will not work if you set value for interval property of an axis. +By default, a maximum of three labels are displayed for each 100 logical pixels in an axis. The maximum number of labels that should present within 100 logical pixels length can be customized using the [`maximumLabels`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RadialAxis/maximumLabels.html) property of the axis. This property is applicable only for automatic range calculation and will not work if you set value for interval property of an axis. -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const RadialGaugeDemo()); - -class RadialGaugeDemo extends StatelessWidget { - const RadialGaugeDemo({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { - return MaterialApp( - home: Scaffold( - body: Center( - child: SfRadialGauge( - axes:[RadialAxis( maximumLabels: 5)] - ), + return Scaffold( + body: Center( + child: SfRadialGauge( + axes:[RadialAxis( maximumLabels: 5)] ), ), ); } -} {% endhighlight %} -{% endtabs %} ![axis maximum labels](images/axis/axis_maximumlabels.jpg) @@ -366,35 +249,22 @@ class RadialGaugeDemo extends StatelessWidget { The interval between labels can be customized using the [`interval`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RadialAxis/interval.html) property of axis. -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const RadialGaugeDemo()); - -class RadialGaugeDemo extends StatelessWidget { - const RadialGaugeDemo({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { - return MaterialApp( - home: Scaffold( - body: Center( - child: SfRadialGauge( - axes: [ - RadialAxis(interval: 20) - ] - ), + return Scaffold( + body: Center( + child: SfRadialGauge( + axes: [ + RadialAxis(interval: 20) + ] ), ), ); } -} {% endhighlight %} -{% endtabs %} ![axis label interval](images/axis/axis_interval.jpg) @@ -409,41 +279,28 @@ The radial axis line can be customized using the [`axisLineStyle`](https://pub.d * [`dashArray`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/AxisLineStyle/dashArray.html) – Allows to customize the axis line as dashed circular arc. * [`gradient`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/AxisLineStyle/gradient.html) - Allows to apply the gradient for axis line. -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const RadialGaugeDemo()); - -class RadialGaugeDemo extends StatelessWidget { - const RadialGaugeDemo({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { - return MaterialApp( - home: Scaffold( - body: Center( - child: SfRadialGauge( - axes: [ - RadialAxis( - axisLineStyle: AxisLineStyle( - thickness: 0.1, - thicknessUnit: GaugeSizeUnit.factor, - color: Colors.deepPurple - ) + return Scaffold( + body: Center( + child: SfRadialGauge( + axes: [ + RadialAxis( + axisLineStyle: AxisLineStyle( + thickness: 0.1, + thicknessUnit: GaugeSizeUnit.factor, + color: Colors.deepPurple ) - ] - ), + ) + ] ), ), ); } -} {% endhighlight %} -{% endtabs %} ![axis line customization](images/axis/axis_color.jpg) @@ -451,40 +308,27 @@ class RadialGaugeDemo extends StatelessWidget { The [`cornerStyle`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/AxisLineStyle/cornerStyle.html) property of [`axisLineStyle`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/AxisLineStyle-class.html) specifies the corner type for axis line. The corners can be customized using the bothFlat, bothCurve, startCurve, and endCurve options. The default value of this property is bothFlat. -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const RadialGaugeDemo()); - -class RadialGaugeDemo extends StatelessWidget { - const RadialGaugeDemo({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { - return MaterialApp( - home: Scaffold( - body: Center( - child: SfRadialGauge( - axes: [ - RadialAxis( - axisLineStyle: AxisLineStyle( - thickness: 15, - cornerStyle: CornerStyle.bothCurve - ) + return Scaffold( + body: Center( + child: SfRadialGauge( + axes: [ + RadialAxis( + axisLineStyle: AxisLineStyle( + thickness: 15, + cornerStyle: CornerStyle.bothCurve ) - ] - ), + ) + ] ), ), ); } -} {% endhighlight %} -{% endtabs %} ![axis corner](images/axis/axis_corner.jpg) @@ -492,37 +336,24 @@ class RadialGaugeDemo extends StatelessWidget { The [`dashArray`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/AxisLineStyle/dashArray.html) property of [`axisLineStyle`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/AxisLineStyle-class.html) allows to render the dashed axis line. -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const RadialGaugeDemo()); - -class RadialGaugeDemo extends StatelessWidget { - const RadialGaugeDemo({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { - return MaterialApp( - home: Scaffold( - body: Center( - child: SfRadialGauge( - axes: [ - RadialAxis( - axisLineStyle: AxisLineStyle(dashArray: [5, 5]) - ) - ] - ), + return Scaffold( + body: Center( + child: SfRadialGauge( + axes: [ + RadialAxis( + axisLineStyle: AxisLineStyle(dashArray: [5, 5]) + ) + ] ), ), ); } -} {% endhighlight %} -{% endtabs %} ![dashed axis line](images/axis/axis_dasharray.jpg) @@ -530,44 +361,31 @@ class RadialGaugeDemo extends StatelessWidget { The [`gradient`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/AxisLineStyle/gradient.html) property of [`axisLineStyle`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/AxisLineStyle-class.html) allows to specify the smooth color transition to the axis line by specifying the different colors based on provided factor value. -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const RadialGaugeDemo()); - -class RadialGaugeDemo extends StatelessWidget { - const RadialGaugeDemo({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { - return MaterialApp( - home: Scaffold( - body: Center( - child: SfRadialGauge( - axes: [ - RadialAxis( - axisLineStyle: AxisLineStyle( - thickness: 0.1, - thicknessUnit: GaugeSizeUnit.factor, - gradient: const SweepGradient( - colors: [Color(0xFFFF7676), Color(0xFFF54EA2)], - stops: [0.25, 0.75] - ) + return Scaffold( + body: Center( + child: SfRadialGauge( + axes: [ + RadialAxis( + axisLineStyle: AxisLineStyle( + thickness: 0.1, + thicknessUnit: GaugeSizeUnit.factor, + gradient: const SweepGradient( + colors: [Color(0xFFFF7676), Color(0xFFF54EA2)], + stops: [0.25, 0.75] ) ) - ] - ), + ) + ] ), ), ); } -} {% endhighlight %} -{% endtabs %} ![axis gradient line](images/axis/axis_gradient.jpg) @@ -575,35 +393,22 @@ class RadialGaugeDemo extends StatelessWidget { The visibility of the axis line can be customized using the [`showAxisLine`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RadialAxis/showAxisLine.html) property of axis. By default, this property is set to true. -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const RadialGaugeDemo()); - -class RadialGaugeDemo extends StatelessWidget { - const RadialGaugeDemo({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { - return MaterialApp( - home: Scaffold( - body: Center( - child: SfRadialGauge( - axes: [ - RadialAxis(showAxisLine: false) - ] - ), + return Scaffold( + body: Center( + child: SfRadialGauge( + axes: [ + RadialAxis(showAxisLine: false) + ] ), ), ); } -} {% endhighlight %} -{% endtabs %} ![axis line visibility](images/axis/axis_showline.jpg) @@ -611,34 +416,21 @@ class RadialGaugeDemo extends StatelessWidget { [`Radial gauge`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/SfRadialGauge-class.html) allows customizing its background color using [`backgroundColor`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/SfRadialGauge/backgroundColor.html) property. -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const RadialGaugeDemo()); - -class RadialGaugeDemo extends StatelessWidget { - const RadialGaugeDemo({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { - return MaterialApp( - home: Scaffold( - body: Center( - child: SfRadialGauge( - backgroundColor: Colors.lightBlue, - axes: [RadialAxis()] - ) - ), + return Scaffold( + body: Center( + child: SfRadialGauge( + backgroundColor: Colors.lightBlue, + axes: [RadialAxis()] + ) ), ); } -} {% endhighlight %} -{% endtabs %} ![axisbackground color](images/axis/axis_backgroundColor.png) @@ -646,121 +438,76 @@ class RadialGaugeDemo extends StatelessWidget { [`Radial axis`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RadialAxis-class.html) allows to add an image frame as its background using [`backgroundImage`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RadialAxis/backgroundImage.html) property. -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const RadialGaugeDemo()); - -class RadialGaugeDemo extends StatelessWidget { - const RadialGaugeDemo({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { - return MaterialApp( - home: Scaffold( - body: Center( + return Scaffold( + body: Center( + child: Padding( + padding: EdgeInsets.fromLTRB(10, 0, 10, 0), child: SfRadialGauge( axes: [ RadialAxis( - backgroundImage: const AssetImage('images/gauge_background.png'), + showAxisLine: false, + radiusFactor: 1, + showLastLabel: false, + canRotateLabels: true, + tickOffset: 0.32, + offsetUnit: GaugeSizeUnit.factor, + onLabelCreated: axisLabelCreated, + startAngle: 270, + endAngle: 270, + labelOffset: 0.05, + maximum: 360, + minimum: 0, + interval: 30, + minorTicksPerInterval: 4, + axisLabelStyle: GaugeTextStyle(color: const Color(0xFF949494)), + minorTickStyle: MinorTickStyle( + color: const Color(0xFF616161), + thickness: 1.6, + length: 0.058, + lengthUnit: GaugeSizeUnit.factor + ), + majorTickStyle: MajorTickStyle( + color: const Color(0xFF949494), + thickness: 2.3, + length: 0.087, + lengthUnit: GaugeSizeUnit.factor + ), + backgroundImage: const AssetImage('images/dark_theme_gauge.png'), + pointers: [ + MarkerPointer( + value: 90, + color: const Color(0xFFDF5F2D), + enableAnimation: true, + animationDuration: 1200, + markerOffset: 0.71, + offsetUnit: GaugeSizeUnit.factor, + markerType: MarkerType.triangle, + markerHeight: 10, + markerWidth: 15 + ) + ], + annotations: [ + GaugeAnnotation( + angle: 270, + positionFactor: 0.025, + widget: Text( + '90', + style: TextStyle( + color: const Color(0xFFDF5F2D), + fontWeight: FontWeight.bold, + fontSize: 22 + ) + ) + ) + ] ) ], ), - ), - ), - ); - } -} - -{% endhighlight %} -{% endtabs %} - -The following example demonstrates a more advanced usage with background image, custom styling, pointers, and annotations: - -{% tabs %} -{% highlight dart %} - -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const RadialGaugeDemo()); - -class RadialGaugeDemo extends StatelessWidget { - const RadialGaugeDemo({Key? key}) : super(key: key); - - @override - Widget build(BuildContext context) { - return MaterialApp( - home: Scaffold( - body: Center( - child: Padding( - padding: const EdgeInsets.fromLTRB(10, 0, 10, 0), - child: SfRadialGauge( - axes: [ - RadialAxis( - showAxisLine: false, - radiusFactor: 1, - showLastLabel: false, - canRotateLabels: true, - tickOffset: 0.32, - offsetUnit: GaugeSizeUnit.factor, - onLabelCreated: axisLabelCreated, - startAngle: 270, - endAngle: 270, - labelOffset: 0.05, - maximum: 360, - minimum: 0, - interval: 30, - minorTicksPerInterval: 4, - axisLabelStyle: const GaugeTextStyle(color: Color(0xFF949494)), - minorTickStyle: const MinorTickStyle( - color: Color(0xFF616161), - thickness: 1.6, - length: 0.058, - lengthUnit: GaugeSizeUnit.factor - ), - majorTickStyle: const MajorTickStyle( - color: Color(0xFF949494), - thickness: 2.3, - length: 0.087, - lengthUnit: GaugeSizeUnit.factor - ), - backgroundImage: const AssetImage('images/dark_theme_gauge.png'), - pointers: [ - MarkerPointer( - value: 90, - color: const Color(0xFFDF5F2D), - enableAnimation: true, - animationDuration: 1200, - markerOffset: 0.71, - offsetUnit: GaugeSizeUnit.factor, - markerType: MarkerType.triangle, - markerHeight: 10, - markerWidth: 15 - ) - ], - annotations: [ - GaugeAnnotation( - angle: 270, - positionFactor: 0.025, - widget: const Text( - '90', - style: TextStyle( - color: Color(0xFFDF5F2D), - fontWeight: FontWeight.bold, - fontSize: 22 - ) - ) - ) - ] - ) - ], - ), - ) - ), + ) ), ); } @@ -768,7 +515,7 @@ class RadialGaugeDemo extends StatelessWidget { void axisLabelCreated(AxisLabelCreatedArgs args) { if (args.text == '90') { args.text = 'E'; - args.labelStyle = const GaugeTextStyle(color: Color(0xFFDF5F2D)); + args.labelStyle = GaugeTextStyle(color: const Color(0xFFDF5F2D)); } else { if (args.text == '0') { args.text = 'N'; @@ -777,13 +524,11 @@ class RadialGaugeDemo extends StatelessWidget { } else if (args.text == '270') { args.text = 'W'; } - args.labelStyle = const GaugeTextStyle(color: Color(0xFFFFFFFF)); + args.labelStyle = GaugeTextStyle(color: const Color(0xFFFFFFFF)); } } -} {% endhighlight %} -{% endtabs %} ![axis background image](images/axis/axis_background.png) @@ -797,43 +542,30 @@ The axis labels can be customized using the [`axisLabelStyle`](https://pub.dev/d * [`fontWeight`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/GaugeTextStyle/fontWeight.html) – Allows to specify the font weight for labels. * [`fontSize`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/GaugeTextStyle/fontSize.html) – Allows to specify the font size for labels. -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const RadialGaugeDemo()); - -class RadialGaugeDemo extends StatelessWidget { - const RadialGaugeDemo({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { - return MaterialApp( - home: Scaffold( - body: Center( - child: SfRadialGauge( - axes: [ - RadialAxis( - axisLabelStyle: const GaugeTextStyle( - color: Colors.red, - fontSize: 15, - fontStyle: FontStyle.italic, - fontWeight: FontWeight.bold, - fontFamily: 'Times' - ) + return Scaffold( + body: Center( + child: SfRadialGauge( + axes: [ + RadialAxis( + axisLabelStyle: GaugeTextStyle( + color: Colors.red, + fontSize: 15, + fontStyle: FontStyle.italic, + fontWeight: FontWeight.bold, + fontFamily: 'Times' ) - ] - ), + ) + ] ), ), ); } -} {% endhighlight %} -{% endtabs %} ![axis label customization](images/axis/axis_label.jpg) @@ -843,70 +575,43 @@ The following property of the axis allows to customize the axis label text: * [`labelFormat`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RadialAxis/labelFormat.html) - Allows to add prefix or suffix with the axis labels. -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const RadialGaugeDemo()); - -class RadialGaugeDemo extends StatelessWidget { - const RadialGaugeDemo({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { - return MaterialApp( - home: Scaffold( - body: Center( - child: SfRadialGauge( - axes: [ - RadialAxis(labelFormat: '{value}m') - ] - ), + return Scaffold( + body: Center( + child: SfRadialGauge( + axes: [ + RadialAxis(labelFormat: '{value}m') + ] ), ), ); } -} {% endhighlight %} -{% endtabs %} ![axis label format](images/axis/axis_labelFormat.jpg) * [`numberFormat`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RadialAxis/numberFormat.html)- Allows to customize the axis label with the [`globalized label format`](https://pub.dev/documentation/intl/latest/intl/NumberFormat-class.html). -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; -import 'package:intl/intl.dart'; - -void main() => runApp(const RadialGaugeDemo()); - -class RadialGaugeDemo extends StatelessWidget { - const RadialGaugeDemo({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { - return MaterialApp( - home: Scaffold( - body: Center( - child: SfRadialGauge( - axes: [ - RadialAxis(numberFormat: NumberFormat.compactSimpleCurrency()) - ] - ), + return Scaffold( + body: Center( + child: SfRadialGauge( + axes: [ + RadialAxis(numberFormat: NumberFormat.compactSimpleCurrency()) + ] ), ), ); } -} {% endhighlight %} -{% endtabs %} ![axis number format](images/axis/axis_numberFormat.jpg) @@ -914,33 +619,20 @@ class RadialGaugeDemo extends StatelessWidget { The [`showLabels`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RadialAxis/showLabels.html) property of axis allows to enable or disable the visibility of labels. The default value of the property is true. -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const RadialGaugeDemo()); - -class RadialGaugeDemo extends StatelessWidget { - const RadialGaugeDemo({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { - return MaterialApp( - home: Scaffold( - body: Center( - child: SfRadialGauge( - axes:[RadialAxis(showLabels: false )] - ), + return Scaffold( + body: Center( + child: SfRadialGauge( + axes:[RadialAxis(showLabels: false ),] ), ), ); } -} {% endhighlight %} -{% endtabs %} ![axis label visibility](images/axis/axis_showLabels.jpg) @@ -958,48 +650,35 @@ The major and minor tick lines of an axis can be customized using the [`majorTic * [`dashArray`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/MajorTickStyle/dashArray.html) – Specify the dash array to draw the dashed tick line. -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const RadialGaugeDemo()); - -class RadialGaugeDemo extends StatelessWidget { - const RadialGaugeDemo({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { - return MaterialApp( - home: Scaffold( - body: Center( - child: SfRadialGauge( - axes: [ - RadialAxis( - majorTickStyle: const MajorTickStyle( - length: 0.1, - lengthUnit: GaugeSizeUnit.factor, - thickness: 1.5, - color: Colors.black - ), - minorTickStyle: const MinorTickStyle( - length: 0.05, - lengthUnit: GaugeSizeUnit.factor, - thickness: 1.5, - color: Colors.black - ) + return Scaffold( + body: Center( + child: SfRadialGauge( + axes: [ + RadialAxis( + majorTickStyle: MajorTickStyle( + length: 0.1, + lengthUnit: GaugeSizeUnit.factor, + thickness: 1.5, + color: Colors.black + ), + minorTickStyle: MinorTickStyle( + length: 0.05, + lengthUnit: GaugeSizeUnit.factor, + thickness: 1.5, + color: Colors.black ) - ] - ), + ) + ] ), ), ); } -} {% endhighlight %} -{% endtabs %} ![axis tick customization](images/axis/axis_ticks.jpg) @@ -1007,38 +686,25 @@ class RadialGaugeDemo extends StatelessWidget { The [`dashArray`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/MajorTickStyle/dashArray.html) property of both the [`majorTickStyle`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RadialAxis/majorTickStyle.html) and [`minorTickStyle`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RadialAxis/minorTickStyle.html) allows to draw the tick line as dashed line. -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const RadialGaugeDemo()); - -class RadialGaugeDemo extends StatelessWidget { - const RadialGaugeDemo({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { - return MaterialApp( - home: Scaffold( - body: Center( - child: SfRadialGauge( - axes: [ - RadialAxis( - majorTickStyle: const MajorTickStyle(length: 20, dashArray: [5, 2.5]), - minorTickStyle: const MinorTickStyle(length: 15, dashArray: [3, 2.5]) - ) - ] - ), + return Scaffold( + body: Center( + child: SfRadialGauge( + axes: [ + RadialAxis( + majorTickStyle: MajorTickStyle(length: 20, dashArray: [5, 2.5]), + minorTickStyle: MinorTickStyle(length: 15, dashArray: [3, 2.5]) + ) + ] ), ), ); } -} {% endhighlight %} -{% endtabs %} ![dashed tick lines](images/axis/axis_tickdash.jpg) @@ -1046,34 +712,22 @@ class RadialGaugeDemo extends StatelessWidget { The major ticks are generated based on the [`interval`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RadialAxis/interval.html) property. Like major ticks, the minor ticks are calculated using the [`minorTicksPerInterval`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RadialAxis/minorTicksPerInterval.html) property of axis. By default, the value of this property is 1. -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const RadialGaugeDemo()); - -class RadialGaugeDemo extends StatelessWidget { - const RadialGaugeDemo({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { - return MaterialApp( - home: Scaffold( - body: Center( - child: SfRadialGauge( - axes:[RadialAxis(minorTicksPerInterval: 4), - ] - ), + return Scaffold( + body: Center( + child: SfRadialGauge( + axes:[RadialAxis(minorTicksPerInterval: 4 + ), + ] ), ), ); } -} {% endhighlight %} -{% endtabs %} ![minor tick line](images/axis/axis_minortick.jpg) @@ -1081,33 +735,20 @@ class RadialGaugeDemo extends StatelessWidget { The [`showTicks`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RadialAxis/showTicks.html) property of the axis is used to enable or disable the visibility of both the major and the minor ticks of axis. The default value of this property is true. -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const RadialGaugeDemo()); - -class RadialGaugeDemo extends StatelessWidget { - const RadialGaugeDemo({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { - return MaterialApp( - home: Scaffold( - body: Center( - child: SfRadialGauge( - axes:[RadialAxis(showTicks: false)] - ), + return Scaffold( + body: Center( + child: SfRadialGauge( + axes:[RadialAxis(showTicks: false)] ), ), ); } -} {% endhighlight %} -{% endtabs %} ![tick line visibility](images/axis/axis_showticks.jpg) @@ -1115,35 +756,22 @@ class RadialGaugeDemo extends StatelessWidget { The [`radial axis`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RadialAxis-class.html) allows to position the labels and ticks either inside or outside the axis line using the [`labelsPosition`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RadialAxis/labelsPosition.html) and [`ticksPosition`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RadialAxis/ticksPosition.html) properties. By default, both labels and ticks are positioned inside the axis. -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const RadialGaugeDemo()); - -class RadialGaugeDemo extends StatelessWidget { - const RadialGaugeDemo({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { - return MaterialApp( - home: Scaffold( - body: Center( - child: SfRadialGauge( - axes:[RadialAxis( - labelsPosition: ElementsPosition.outside, - ticksPosition: ElementsPosition.outside)] - ), + return Scaffold( + body: Center( + child: SfRadialGauge( + axes:[RadialAxis( + labelsPosition: ElementsPosition.outside, + ticksPosition: ElementsPosition.outside)] ), ), ); } -} {% endhighlight %} -{% endtabs %} ![label and tick placement](images/axis/axis_outside.jpg) @@ -1153,72 +781,46 @@ The ticks can be moved near or far to the axis line using the [`tickOffset`](htt The default value of tick offset is 0. While setting offset for the ticks, the axis labels are also moved along with the ticks. -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const RadialGaugeDemo()); - -class RadialGaugeDemo extends StatelessWidget { - const RadialGaugeDemo({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { - return MaterialApp( - home: Scaffold( - body: Center( - child: SfRadialGauge( - axes:[RadialAxis( - tickOffset: 20)] - ), + return Scaffold( + body: Center( + child: SfRadialGauge( + axes:[RadialAxis( + tickOffset: 20)] ), ), ); } -} {% endhighlight %} -{% endtabs %} ![axis tick offset](images/axis/axis_tickOffset.jpg) The following code example shows how to add tick offset with the [`offsetUnit`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RadialAxis/offsetUnit.html) property of axis. -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const RadialGaugeDemo()); - -class RadialGaugeDemo extends StatelessWidget { - const RadialGaugeDemo({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { - return MaterialApp( - home: Scaffold( - body: Center( - child: SfRadialGauge( - axes: [ - RadialAxis( - tickOffset: 0.2, - labelOffset: 0.2, - offsetUnit: GaugeSizeUnit.factor - ) - ] - ), + return Scaffold( + body: Center( + child: SfRadialGauge( + axes: [ + RadialAxis( + tickOffset: 0.2, + labelOffset: 0.2, + offsetUnit: GaugeSizeUnit.factor + ) + ] ), ), ); } -} {% endhighlight %} -{% endtabs %} ![axis tick and label offset](images/axis/axis_bothOffset.jpg) @@ -1226,36 +828,23 @@ class RadialGaugeDemo extends StatelessWidget { The [`labelOffset`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RadialAxis/labelOffset.html) property allows to adjust the distance between the tick end and the labels. The [`offsetUnit`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RadialAxis/offsetUnit.html) property of axis allows to specify the label offset either in factor or logical pixels. By default, the value of the label offset is 15. -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const RadialGaugeDemo()); - -class RadialGaugeDemo extends StatelessWidget { - const RadialGaugeDemo({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { - return MaterialApp( - home: Scaffold( - body: Center( - child: SfRadialGauge( - axes:[RadialAxis( - labelOffset: 0.3, offsetUnit: GaugeSizeUnit.factor - ), - ] - ), + return Scaffold( + body: Center( + child: SfRadialGauge( + axes:[RadialAxis( + labelOffset: 0.3, offsetUnit: GaugeSizeUnit.factor + ), + ] ), ), ); } -} {% endhighlight %} -{% endtabs %} ![axis label offset](images/axis/axis_labelOffset.jpg) @@ -1267,56 +856,44 @@ N> [`GaugeSizeUnit`](https://pub.dev/documentation/syncfusion_flutter_gauges/lat The [`Radial Gauge`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/SfRadialGauge-class.html) allows you to add n number of radial axis in its axes collection. You can also customize individual axis added in the [`axes`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/SfRadialGauge/axes.html) collection. -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const RadialGaugeDemo()); - -class RadialGaugeDemo extends StatelessWidget { - const RadialGaugeDemo({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { - return MaterialApp( - home: Scaffold( - body: Center( - child: SfRadialGauge( - axes: [ RadialAxis(minimum: 0 , maximum: 100, interval: 10, - ticksPosition: ElementsPosition.outside, - labelsPosition: ElementsPosition.outside, + return Scaffold( + body: Center( + child: SfRadialGauge( + axes: [ RadialAxis(minimum: 0 , maximum: 100, interval: 10, + ticksPosition: ElementsPosition.outside, + labelsPosition: ElementsPosition.outside, + minorTicksPerInterval: 5, + radiusFactor: 0.9, labelOffset: 15, + minorTickStyle: MinorTickStyle(thickness: 1.5, + color: Color.fromARGB(255, 143, 20, 2), + length: 0.07, lengthUnit: GaugeSizeUnit.factor), + majorTickStyle: MinorTickStyle(thickness: 1.5, + color: Color.fromARGB(255, 143, 20, 2), + length: 0.15, lengthUnit: GaugeSizeUnit.factor,), + axisLineStyle: AxisLineStyle( thickness: 3, + color: Color.fromARGB(255, 143, 20, 2), ), + axisLabelStyle: GaugeTextStyle(fontSize: 12, + color:Color.fromARGB(255, 143, 20, 2),),), + RadialAxis(minimum: 0 , maximum: 60, interval: 10, + radiusFactor: 0.6, labelOffset: 15, isInversed: true, minorTicksPerInterval: 5, - radiusFactor: 0.9, labelOffset: 15, - minorTickStyle: const MinorTickStyle(thickness: 1.5, - color: Color.fromARGB(255, 143, 20, 2), - length: 0.07, lengthUnit: GaugeSizeUnit.factor), - majorTickStyle: const MinorTickStyle(thickness: 1.5, - color: Color.fromARGB(255, 143, 20, 2), - length: 0.15, lengthUnit: GaugeSizeUnit.factor,), - axisLineStyle: const AxisLineStyle( thickness: 3, - color: Color.fromARGB(255, 143, 20, 2), ), - axisLabelStyle: const GaugeTextStyle(fontSize: 12, - color:Color.fromARGB(255, 143, 20, 2),),), - RadialAxis(minimum: 0 , maximum: 60, interval: 10, - radiusFactor: 0.6, labelOffset: 15, isInversed: true, - minorTicksPerInterval: 5, - minorTickStyle: const MinorTickStyle(color: Colors.black, thickness: 1.5, - lengthUnit: GaugeSizeUnit.factor, length: 0.07), - majorTickStyle: const MajorTickStyle(color: Colors.black, thickness: 1.5, - lengthUnit: GaugeSizeUnit.factor, length: 0.15), - axisLineStyle: const AxisLineStyle(color: Colors.black, thickness: 3, ), - axisLabelStyle: const GaugeTextStyle(color: Colors.black, fontSize: 12)), - ], - ) - ), - ); + minorTickStyle: MinorTickStyle(color: Colors.black, thickness: 1.5, + lengthUnit: GaugeSizeUnit.factor, length: 0.07), + majorTickStyle: MajorTickStyle(color: Colors.black, thickness: 1.5, + lengthUnit: GaugeSizeUnit.factor, length: 0.15), + axisLineStyle: AxisLineStyle(color: Colors.black, thickness: 3, ), + axisLabelStyle: GaugeTextStyle(color: Colors.black, fontSize: 12)), + ], + ) + ), + ); } -} {% endhighlight %} -{% endtabs %} ![axis label offset](images/axis/axis_multiplescale.jpg) @@ -1332,27 +909,16 @@ The [`onLabelCreated`](https://pub.dev/documentation/syncfusion_flutter_gauges/l N> If both [`axisLabelStyle`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RadialAxis/axisLabelStyle.html) property of radial axis and [`labelStyle`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/AxisLabelCreatedArgs/labelStyle.html) property of the [`onLabelCreated`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RadialAxis/onLabelCreated.html) event args are set, the values of the [`labelStyle`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/AxisLabelCreatedArgs/labelStyle.html) property of the event args will take precedence. -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const RadialGaugeDemo()); - -class RadialGaugeDemo extends StatelessWidget { - const RadialGaugeDemo({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { - return MaterialApp( - home: Scaffold( - body: Center( - child: SfRadialGauge( - axes:[RadialAxis( - onLabelCreated:axisLabelCreated,), - ] - ), + return Scaffold( + body: Center( + child: SfRadialGauge( + axes:[RadialAxis( + onLabelCreated:axisLabelCreated,), + ] ), ), ); @@ -1360,16 +926,14 @@ class RadialGaugeDemo extends StatelessWidget { void axisLabelCreated(AxisLabelCreatedArgs args){ if(args.text == '100'){ - args.labelStyle = const GaugeTextStyle(color: Colors.red,fontStyle: FontStyle.italic, + args.labelStyle = GaugeTextStyle(color: Colors.red,fontStyle: FontStyle.italic, fontFamily: 'Times', fontWeight: FontWeight.bold, fontSize: 15); args.canRotate = true; args.text = '100 %'; } } -} {% endhighlight %} -{% endtabs %} ![axis label offset](images/axis/axis_labelCreated.jpg) @@ -1377,144 +941,118 @@ class RadialGaugeDemo extends StatelessWidget { The [`onAxisTapped`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RadialAxis/onAxisTapped.html) event is called when an axis is tapped. The corresponding axis value at the tapped position will be got from the event. -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const RadialGaugeDemo()); - -class RadialGaugeDemo extends StatelessWidget { - const RadialGaugeDemo({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { - return MaterialApp( - home: Scaffold( - body: Center( - child: SfRadialGauge( - axes:[RadialAxis( - onAxisTapped: axisTapped), - ] - ), + return Scaffold( + body: Center( + child: SfRadialGauge( + axes:[RadialAxis( + onAxisTapped: axisTapped), + ] ), ), ); } - void axisTapped(double tappedValue){ + void axisTapped(double _tappedValue){ // Handle the tapped value } -} {% endhighlight %} -{% endtabs %} ## Custom scale [`Radial gauge`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/SfRadialGauge-class.html) allows you to display a set of values along with a custom scale based on your business logic using the [`onCreateAxisRenderer`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RadialAxis/onCreateAxisRenderer.html) event of the axis. The [`onCreateAxisRenderer`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RadialAxis/onCreateAxisRenderer.html) event allows returning the custom renderer for the axis. In that, we can override methods of `RadialAxisRenderer` to create the custom axis. -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const RadialGaugeDemo()); - -class RadialGaugeDemo extends StatelessWidget { - const RadialGaugeDemo({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { - return MaterialApp( - home: Scaffold( - body: Center( - child: SfRadialGauge(axes: [ - RadialAxis( - minimum: 0, - maximum: 150, - onCreateAxisRenderer: () { - final CustomAxisRenderer renderer = CustomAxisRenderer(); - return renderer; - }, - ) - ]), - ), + return Scaffold( + body: Center( + child: SfRadialGauge(axes: [ + RadialAxis( + minimum: 0, + maximum: 150, + onCreateAxisRenderer: () { + final CustomAxisRenderer renderer = CustomAxisRenderer(); + return renderer; + }, + ) + ]), ), ); } -} -class CustomAxisRenderer extends RadialAxisRenderer { - CustomAxisRenderer() : super(); + class _CustomAxisRenderer extends RadialAxisRenderer { + _CustomAxisRenderer() : super(); + + /// Generated the 9 non-linear interval labels from 0 to 150 + /// instead of actual generated labels. + @override + List generateVisibleLabels() { + final List _visibleLabels = []; + for (num i = 0; i < 9; i++) { + final double _value = _calculateLabelValue(i); + final CircularAxisLabel label = CircularAxisLabel( + this.axis.axisLabelStyle, _value.toInt().toString(), i, false); + label.value = _value; + _visibleLabels.add(label); + } - /// Generated the 9 non-linear interval labels from 0 to 150 - /// instead of actual generated labels. - @override - List generateVisibleLabels() { - final List visibleLabels = []; - for (num i = 0; i < 9; i++) { - final double value = _calculateLabelValue(i); - final CircularAxisLabel label = CircularAxisLabel( - axis.axisLabelStyle, value.toInt().toString(), i, false); - label.value = value; - visibleLabels.add(label); + return _visibleLabels; } - return visibleLabels; - } - - /// Returns the factor(0 to 1) from value to place the labels in an axis. - @override - double valueToFactor(double value) { - if (value >= 0 && value <= 2) { - return (value * 0.125) / 2; - } else if (value > 2 && value <= 5) { - return (((value - 2) * 0.125) / (5 - 2)) + (1 * 0.125); - } else if (value > 5 && value <= 10) { - return (((value - 5) * 0.125) / (10 - 5)) + (2 * 0.125); - } else if (value > 10 && value <= 20) { - return (((value - 10) * 0.125) / (20 - 10)) + (3 * 0.125); - } else if (value > 20 && value <= 30) { - return (((value - 20) * 0.125) / (30 - 20)) + (4 * 0.125); - } else if (value > 30 && value <= 50) { - return (((value - 30) * 0.125) / (50 - 30)) + (5 * 0.125); - } else if (value > 50 && value <= 100) { - return (((value - 50) * 0.125) / (100 - 50)) + (6 * 0.125); - } else if (value > 100 && value <= 150) { - return (((value - 100) * 0.125) / (150 - 100)) + (7 * 0.125); - } else { - return 1; + /// Returns the factor(0 to 1) from value to place the labels in an axis. + @override + double valueToFactor(double value) { + if (value >= 0 && value <= 2) { + return (value * 0.125) / 2; + } else if (value > 2 && value <= 5) { + return (((value - 2) * 0.125) / (5 - 2)) + (1 * 0.125); + } else if (value > 5 && value <= 10) { + return (((value - 5) * 0.125) / (10 - 5)) + (2 * 0.125); + } else if (value > 10 && value <= 20) { + return (((value - 10) * 0.125) / (20 - 10)) + (3 * 0.125); + } else if (value > 20 && value <= 30) { + return (((value - 20) * 0.125) / (30 - 20)) + (4 * 0.125); + } else if (value > 30 && value <= 50) { + return (((value - 30) * 0.125) / (50 - 30)) + (5 * 0.125); + } else if (value > 50 && value <= 100) { + return (((value - 50) * 0.125) / (100 - 50)) + (6 * 0.125); + } else if (value > 100 && value <= 150) { + return (((value - 100) * 0.125) / (150 - 100)) + (7 * 0.125); + } else { + return 1; + } } - } - /// To return the label value based on interval - double _calculateLabelValue(num value) { - if (value == 0) { - return 0; - } else if (value == 1) { - return 2; - } else if (value == 2) { - return 5; - } else if (value == 3) { - return 10; - } else if (value == 4) { - return 20; - } else if (value == 5) { - return 30; - } else if (value == 6) { - return 50; - } else if (value == 7) { - return 100; - } else { - return 150; + /// To return the label value based on interval + double _calculateLabelValue(num value) { + if (value == 0) { + return 0; + } else if (value == 1) { + return 2; + } else if (value == 2) { + return 5; + } else if (value == 3) { + return 10; + } else if (value == 4) { + return 20; + } else if (value == 5) { + return 30; + } else if (value == 6) { + return 50; + } else if (value == 7) { + return 100; + } else { + return 150; + } } } -} {% endhighlight %} -{% endtabs %} ![custom scale](images/axis/custom_scale.jpg) diff --git a/chart-sdk/flutter/radial-gauge/export-radial-gauge.md b/chart-sdk/flutter/radial-gauge/export-radial-gauge.md index dc1eac723..b582cc8aa 100644 --- a/chart-sdk/flutter/radial-gauge/export-radial-gauge.md +++ b/chart-sdk/flutter/radial-gauge/export-radial-gauge.md @@ -1,7 +1,7 @@ --- layout: post -title: Export in Flutter Radial Gauge | Syncfusion® -description: Learn about export support in Syncfusion® Flutter Radial Gauge (SfRadialGauge), including exporting gauges as images and sharing visualizations. +title: Export in Flutter Radial Gauge widget | Syncfusion +description: Learn here all about Export feature of Syncfusion Flutter Radial Gauge (SfRadialGauge) widget and more. platform: chart-sdk control: SfRadialGauge documentation: ug @@ -13,213 +13,110 @@ documentation: ug ## Export image -To export the Radial Gauge as a PNG image, we can get the image by calling the [`toImage`](https://api.flutter.dev/flutter/rendering/RenderRepaintBoundary/toImage.html) method on a repaint boundary. +To export the Radial Gauge as a PNG image, we can get the image by calling the [`toImage`](https://api.flutter.dev/flutter/rendering/RenderRepaintBoundary/toImage.html) method on a repaint boundary. -### Add required packages +{% highlight dart %} -Add the following packages to your `pubspec.yaml` file: - -```yaml -dependencies: - flutter: - sdk: flutter - syncfusion_flutter_gauges: ^xx.x.x -``` - -### Export image example - -{% tabs %} -{% highlight dart %} - -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; -import 'dart:ui' as ui; - -void main() => runApp(const ExportGaugeDemo()); - -class ExportGaugeDemo extends StatelessWidget { - const ExportGaugeDemo({Key? key}) : super(key: key); + GlobalKey _globalKey = GlobalKey(); @override Widget build(BuildContext context) { - return const MaterialApp( - home: ExportGaugeImagePage(), - ); - } -} - -class ExportGaugeImagePage extends StatefulWidget { - const ExportGaugeImagePage({Key? key}) : super(key: key); - - @override - State createState() => _ExportGaugeImagePageState(); -} - -class _ExportGaugeImagePageState extends State { - final GlobalKey _globalKey = GlobalKey(); - - @override - Widget build(BuildContext context) { - return Scaffold( - appBar: AppBar(title: const Text('Export Gauge to Image')), - body: Column( - children: [ - Container( - height: 400, - width: 400, - child: RepaintBoundary( - key: _globalKey, - child: SfRadialGauge( - axes: [ - RadialAxis( - minimum: 0, - maximum: 150, - ranges: [ - GaugeRange( - startValue: 0, - endValue: 50, - color: Colors.green, - startWidth: 10, - endWidth: 10, - ), - GaugeRange( - startValue: 50, - endValue: 100, - color: Colors.orange, - startWidth: 10, - endWidth: 10, - ), - GaugeRange( - startValue: 100, - endValue: 150, - color: Colors.red, - startWidth: 10, - endWidth: 10, - ), - ], - pointers: [ - NeedlePointer(value: 90), - ], - ), - ], + return Scaffold( + body: Column( + children: [ + Container( + height: 400, + width: 400, + child: RepaintBoundary( + key: _globalKey, + child: SfRadialGauge( + axes: [ + RadialAxis( + minimum: 0, + maximum: 150, + ranges: [ + GaugeRange( + startValue: 0, + endValue: 50, + color: Colors.green, + startWidth: 10, + endWidth: 10), + GaugeRange( + startValue: 50, + endValue: 100, + color: Colors.orange, + startWidth: 10, + endWidth: 10), + GaugeRange( + startValue: 100, + endValue: 150, + color: Colors.red, + startWidth: 10, + endWidth: 10) + ], + pointers: [NeedlePointer(value: 90)], + ) + ], + ), ), ), - ), - Padding( - padding: const EdgeInsets.only(top: 5.0), - child: ElevatedButton( - onPressed: _renderGaugeImage, - child: const Text('Gauge to Image'), + Padding( + padding: const EdgeInsets.only(top: 5.0), + child: ElevatedButton( + onPressed: _renderGaugeImage, + child: Text('Gauge to image'), + ), ), - ), - ], - ), - ); + ], + ), + ); } Future _renderGaugeImage() async { - final RenderRepaintBoundary? boundary = - _globalKey.currentContext?.findRenderObject() as RenderRepaintBoundary?; - - if (boundary != null) { + final RenderRepaintBoundary boundary = + _globalKey.currentContext?.findRenderObject() as RenderRepaintBoundary; final ui.Image data = await boundary.toImage(pixelRatio: 3.0); - final ByteData? bytes = - await data.toByteData(format: ui.ImageByteFormat.png); - - if (bytes != null) { - if (mounted) { - await Navigator.of(context).push( - MaterialPageRoute( - builder: (BuildContext context) { - return Scaffold( - appBar: AppBar(title: const Text('Gauge Image')), - body: Center( - child: Container( - color: Colors.white, - child: Image.memory(bytes.buffer.asUint8List()), - ), + final bytes = await data.toByteData(format: ui.ImageByteFormat.png); + if (data != null) { + await Navigator.of(context).push( + MaterialPageRoute( + builder: (BuildContext context) { + return Scaffold( + appBar: AppBar(), + body: Center( + child: Container( + color: Colors.white, + child: Image.memory(bytes!.buffer.asUint8List()), ), - ); - }, - ), - ); - } + ), + ); + }, + ), + ); } - } } {% endhighlight %} -{% endtabs %} -![image_export](images/export-radial-gauge/export-gauge-image.png) +![image_export](images\export-radial-gauge\export-gauge-image.png) ## Export PDF -Similar to the image export, you can also export the rendered gauge as a PDF document. This requires the syncfusion_flutter_pdf package to create the PDF. - -### Add required packages - -Add the following packages to your `pubspec.yaml` file: - -```yaml -dependencies: - flutter: - sdk: flutter - syncfusion_flutter_gauges: ^xx.x.x - syncfusion_flutter_pdf: ^xx.x.x - path_provider: ^x.x.x - open_file: ^x.x.x -``` - -### Platform permissions +Similar to the above way, we can also export the rendered chart as a PDF document. We create the pdf document using pdf component. This can be done in the application level itself and please find the code snippet below. Add the below four packages in your pubspec file and import the respective libraries in your main.dart file. -**Android**: Requires `WRITE_EXTERNAL_STORAGE` permission. Update your `AndroidManifest.xml` file in `android/app/src/main/` and add the following permission: +* syncfusion_flutter_pdf +* syncfusion_flutter_gauges +* path_provider +* open_file -```xml - -``` - -### Export PDF example - -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; -import 'package:syncfusion_flutter_pdf/pdf.dart'; -import 'package:path_provider/path_provider.dart'; -import 'package:open_file/open_file.dart'; -import 'dart:io'; -import 'dart:typed_data'; -import 'dart:ui' as ui; - -void main() => runApp(const ExportPDFGaugeDemo()); - -class ExportPDFGaugeDemo extends StatelessWidget { - const ExportPDFGaugeDemo({Key? key}) : super(key: key); - - @override - Widget build(BuildContext context) { - return const MaterialApp( - home: ExportGaugePDFPage(), - ); - } -} - -class ExportGaugePDFPage extends StatefulWidget { - const ExportGaugePDFPage({Key? key}) : super(key: key); - - @override - State createState() => _ExportGaugePDFPageState(); -} - -class _ExportGaugePDFPageState extends State { - final GlobalKey _globalKey = GlobalKey(); +GlobalKey _globalKey = GlobalKey(); @override Widget build(BuildContext context) { return Scaffold( - appBar: AppBar(title: const Text('Export Gauge to PDF')), + appBar: AppBar(title: Text('RenderGaugePdf')), body: Column( children: [ Container( @@ -234,31 +131,26 @@ class _ExportGaugePDFPageState extends State { maximum: 150, ranges: [ GaugeRange( - startValue: 0, - endValue: 50, - color: Colors.green, - startWidth: 10, - endWidth: 10, - ), + startValue: 0, + endValue: 50, + color: Colors.green, + startWidth: 10, + endWidth: 10), GaugeRange( - startValue: 50, - endValue: 100, - color: Colors.orange, - startWidth: 10, - endWidth: 10, - ), + startValue: 50, + endValue: 100, + color: Colors.orange, + startWidth: 10, + endWidth: 10), GaugeRange( - startValue: 100, - endValue: 150, - color: Colors.red, - startWidth: 10, - endWidth: 10, - ), - ], - pointers: [ - NeedlePointer(value: 90), + startValue: 100, + endValue: 150, + color: Colors.red, + startWidth: 10, + endWidth: 10) ], - ), + pointers: [NeedlePointer(value: 90)], + ) ], ), ), @@ -267,7 +159,7 @@ class _ExportGaugePDFPageState extends State { padding: const EdgeInsets.only(top: 5.0), child: ElevatedButton( onPressed: _renderGaugePDF, - child: const Text('Gauge to PDF'), + child: Text('Gauges to pdf'), ), ), ], @@ -276,47 +168,25 @@ class _ExportGaugePDFPageState extends State { } Future _renderGaugePDF() async { - final RenderRepaintBoundary? boundary = - _globalKey.currentContext?.findRenderObject() as RenderRepaintBoundary?; - - if (boundary != null) { - final ui.Image data = await boundary.toImage(pixelRatio: 3.0); - final ByteData? bytes = - await data.toByteData(format: ui.ImageByteFormat.png); - - if (bytes != null) { - final Uint8List imageBytes = - bytes.buffer.asUint8List(bytes.offsetInBytes, bytes.lengthInBytes); - - final PdfDocument document = PdfDocument(); - final PdfPage page = document.pages.add(); - final PdfBitmap bitmap = PdfBitmap(imageBytes); - - page.graphics.drawImage( - bitmap, - const Rect.fromLTWH(25, 50, 300, 300), - ); - - final List byteData = document.save(); - document.dispose(); - - final Directory? directory = await getExternalStorageDirectory(); - if (directory != null) { - final String path = directory.path; - final File file = File('$path/Output.pdf'); - - await file.writeAsBytes(byteData, flush: true); - - if (mounted) { - await OpenFile.open('$path/Output.pdf'); - } - } - } - } + var document = PdfDocument(); + PdfPage page = document.pages.add(); + final RenderRepaintBoundary boundary = + _globalKey.currentContext?.findRenderObject() as RenderRepaintBoundary; + final ui.Image data = await boundary.toImage(pixelRatio: 3.0); + final bytes = await data.toByteData(format: ui.ImageByteFormat.png); + final Uint8List imageBytes = + bytes!.buffer.asUint8List(bytes.offsetInBytes, bytes.lengthInBytes); + page.graphics + .drawImage(PdfBitmap(imageBytes), Rect.fromLTWH(25, 50, 300, 300)); + var byteData = document.save(); + document.dispose(); + Directory? directory = await getExternalStorageDirectory(); + String path = directory!.path; + File file = File('$path/Output.pdf'); + await file.writeAsBytes(byteData, flush: true); + OpenFile.open('$path/Output.pdf'); } -} - -{% endhighlight %} -{% endtabs %} -![pdf_export](images/export-radial-gauge/export-radial-gauge.png) \ No newline at end of file + {% endhighlight %} + + ![pdf_export](images\export-radial-gauge\export-radial-gauge.png) \ No newline at end of file diff --git a/chart-sdk/flutter/radial-gauge/getting-started.md b/chart-sdk/flutter/radial-gauge/getting-started.md index 37ad1f893..ec6180d92 100644 --- a/chart-sdk/flutter/radial-gauge/getting-started.md +++ b/chart-sdk/flutter/radial-gauge/getting-started.md @@ -1,17 +1,17 @@ --- layout: post -title: Getting Started with Flutter Radial Gauge | Syncfusion® -description: Learn how to get started with the Syncfusion® Flutter Radial Gauge (SfRadialGauge). Explore setup, gauge configuration, and customization options. +title: Getting Started with Flutter Radial Gauge | Syncfusion +description: Step-by-step guide to set up Syncfusion Flutter Radial Gauge—add dependencies, import, create SfRadialGauge, and configure key features. platform: chart-sdk control: SfRadialGauge documentation: ug --- -# Getting Started with Flutter Radial Gauge (SfRadialGauge) +# Flutter Radial Gauge Getting Started (SfRadialGauge) This section explains the steps required to add the Flutter [Radial Gauge](https://www.syncfusion.com/flutter-widgets/flutter-radial-gauge) and its elements such as title, axis, range, pointer and annotation. This section covers only the basic features needed to get started with Syncfusion® radial gauge. -To get started quickly with our Flutter radial gauge widget, you can check out this video: +To get start quickly with our Flutter radial gauge widget, you can check on this video: @@ -24,7 +24,6 @@ Create a simple project using the instructions given in the [Getting Started wit Add the Syncfusion® Flutter Gauge dependency to your pubspec.yaml file. -{% tabs %} {% highlight dart %} dependencies: @@ -32,7 +31,6 @@ Add the Syncfusion® Flutter Gauge dependency to your pubspec.yaml syncfusion_flutter_gauges: ^xx.x.xx {% endhighlight %} -{% endtabs %} N> Here **xx.x.xx** denotes the current version of [`Syncfusion Flutter Gauge`](https://pub.dev/packages/syncfusion_flutter_gauges/versions) package. @@ -40,77 +38,42 @@ N> Here **xx.x.xx** denotes the current version of [`Syncfusion Flutter Gauge`]( Run the following command to get the required packages. -{% tabs %} -{% highlight dart %} +{% highlight dart %} - flutter pub get + $ flutter pub get {% endhighlight %} -{% endtabs %} **Import package** Import the following package in your Dart code. -{% tabs %} -{% highlight dart %} +{% highlight dart %} - import 'package:flutter/material.dart'; import 'package:syncfusion_flutter_gauges/gauges.dart'; - void main() => runApp(const RadialGaugeDemo()); - - class RadialGaugeDemo extends StatelessWidget { - const RadialGaugeDemo({super.key}); - - @override - Widget build(BuildContext context) { - return MaterialApp( - home: Scaffold( - body: Center( - child: Container( - child: SfRadialGauge() - ) - ) - ) - ); - } - } - {% endhighlight %} -{% endtabs %} ## Initialize the radial gauge After the package has been imported, initialize the [SfRadialGauge](https://www.syncfusion.com/flutter-widgets/flutter-radial-gauge) as a child of any widget such as a container widget. -{% tabs %} -{% highlight dart %} - - import 'package:flutter/material.dart'; - import 'package:syncfusion_flutter_gauges/gauges.dart'; - - void main() => runApp(const RadialGaugeDemo()); - - class RadialGaugeDemo extends StatelessWidget { - const RadialGaugeDemo({super.key}); +{% highlight dart %} - @override - Widget build(BuildContext context) { + @override + Widget build(BuildContext context) { return MaterialApp( home: Scaffold( body: Center( child: Container( - child: SfRadialGauge() + child:SfRadialGauge() ) ) - ) + ) ); - } } {% endhighlight %} -{% endtabs %} ![Initialize radial gauge](images/getting-started/default_gauge.png) @@ -118,36 +81,25 @@ After the package has been imported, initialize the [SfRadialGauge](https://www. You can add a title to the radial gauge to provide information to users about the designed gauge. The title can be set to the gauge as demonstrated in the following code snippet: -{% tabs %} -{% highlight dart %} - - import 'package:flutter/material.dart'; - import 'package:syncfusion_flutter_gauges/gauges.dart'; - - void main() => runApp(const RadialGaugeDemo()); - - class RadialGaugeDemo extends StatelessWidget { - const RadialGaugeDemo({super.key}); +{% highlight dart %} - @override - Widget build(BuildContext context) { + @override + Widget build(BuildContext context) { return MaterialApp( home: Scaffold( body: Center( child: Container( child: SfRadialGauge( - title: GaugeTitle(text: 'Speedometer', textStyle: TextStyle( - fontSize: 20.0, fontWeight: FontWeight.bold)) + title:GaugeTitle(text: 'Speedometer', textStyle: TextStyle( + fontSize: 20.0,fontWeight: FontWeight.bold)) ) ) ) - ) + ) ); - } } {% endhighlight %} -{% endtabs %} ![title to radial gauge](images/getting-started/gauge_title.png) @@ -155,37 +107,25 @@ You can add a title to the radial gauge to provide information to users about th Axes contain a list of axis elements, where you can add any number of radial axes inside the gauge. You can specify the minimum and maximum values of axis using the [`minimum`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RadialAxis/minimum.html) and [`maximum`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RadialAxis/maximum.html) properties as demonstrated in the following code snippet. -{% tabs %} -{% highlight dart %} - - import 'package:flutter/material.dart'; - import 'package:syncfusion_flutter_gauges/gauges.dart'; - - void main() => runApp(const RadialGaugeDemo()); - - class RadialGaugeDemo extends StatelessWidget { - const RadialGaugeDemo({super.key}); +{% highlight dart %} - @override - Widget build(BuildContext context) { + @override + Widget build(BuildContext context) { return MaterialApp( home: Scaffold( body: Center( child: Container( - child: SfRadialGauge( - axes: [ - RadialAxis(minimum: 0, maximum: 150)] - ) + child: SfRadialGauge( + axes: [ + RadialAxis(minimum: 0, maximum: 150)] ) ) ) - ) + ) ); - } } {% endhighlight %} -{% endtabs %} ![Axis to radial gauge](images/getting-started/gauge_axis.png) @@ -193,42 +133,17 @@ Axes contain a list of axis elements, where you can add any number of radial axe Ranges contain a list of range elements, where you can add any number of ranges inside the axis. You can specify the start value, end value, and color for range using the [`startValue`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/GaugeRange/startValue.html), [`endValue`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/GaugeRange/endValue.html), and [`color`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/GaugeRange/color.html) properties as demonstrated in the following code. -{% tabs %} -{% highlight dart %} - - import 'package:flutter/material.dart'; - import 'package:syncfusion_flutter_gauges/gauges.dart'; - - void main() => runApp(const RadialGaugeDemo()); +{% highlight dart %} - class RadialGaugeDemo extends StatelessWidget { - const RadialGaugeDemo({super.key}); - - @override - Widget build(BuildContext context) { - return MaterialApp( - home: Scaffold( - body: Center( - child: Container( - child: SfRadialGauge( - axes: [ - RadialAxis(minimum: 0, maximum: 150, - ranges: [ - GaugeRange(startValue: 0, endValue: 50, color: Colors.green, startWidth: 10, endWidth: 10), - GaugeRange(startValue: 50, endValue: 100, color: Colors.orange, startWidth: 10, endWidth: 10), - GaugeRange(startValue: 100, endValue: 150, color: Colors.red, startWidth: 10, endWidth: 10)] - )] - ) - ) - ) - ) - ) - ); - } - } + axes: [ + RadialAxis(minimum: 0,maximum: 150, + ranges: [ + GaugeRange(startValue: 0,endValue: 50,color: Colors.green,startWidth: 10,endWidth:10), + GaugeRange(startValue: 50,endValue: 100,color: Colors.orange,startWidth: 10,endWidth: 10), + GaugeRange(startValue: 100,endValue: 150,color: Colors.red,startWidth: 10,endWidth: 10)] + )] {% endhighlight %} -{% endtabs %} ![range support to radial gauge](images/getting-started/gauge_range.png) @@ -236,39 +151,14 @@ Ranges contain a list of range elements, where you can add any number of ranges Pointers contains a list of pointer elements, where you can add any number of gauge pointers such as [`needlePointer`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/NeedlePointer-class.html), [`rangePointer`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RangePointer-class.html), [`markerPointer`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/MarkerPointer-class.html), and [`widgetPointer`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/WidgetPointer-class.html) inside the axis to indicate the value. -{% tabs %} -{% highlight dart %} - - import 'package:flutter/material.dart'; - import 'package:syncfusion_flutter_gauges/gauges.dart'; - - void main() => runApp(const RadialGaugeDemo()); - - class RadialGaugeDemo extends StatelessWidget { - const RadialGaugeDemo({super.key}); +{% highlight dart %} - @override - Widget build(BuildContext context) { - return MaterialApp( - home: Scaffold( - body: Center( - child: Container( - child: SfRadialGauge( - axes: [ - RadialAxis(minimum: 0, maximum: 150, - pointers: [NeedlePointer(value: 90)] - )] - ) - ) - ) - ) - ) - ); - } - } + axes: [ + RadialAxis(minimum: 0,maximum: 150, + pointers: [NeedlePointer(value:90)] + )] {% endhighlight %} -{% endtabs %} ![gauge pointers to radial gauge](images/getting-started/gauge_pointer.png) @@ -276,85 +166,56 @@ Pointers contains a list of pointer elements, where you can add any number of ga You can add any number of widgets such as text or image as an annotation inside the axis. The position of annotation can be customized using the [`angle`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/GaugeAnnotation/angle.html) and [`positionFactor`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/GaugeAnnotation/positionFactor.html) properties as demonstrated in the following code. -{% tabs %} -{% highlight dart %} - - import 'package:flutter/material.dart'; - import 'package:syncfusion_flutter_gauges/gauges.dart'; - - void main() => runApp(const RadialGaugeDemo()); +{% highlight dart %} - class RadialGaugeDemo extends StatelessWidget { - const RadialGaugeDemo({super.key}); - - @override - Widget build(BuildContext context) { - return MaterialApp( - home: Scaffold( - body: Center( - child: Container( - child: SfRadialGauge( - axes: [ - RadialAxis(minimum: 0, maximum: 150, - annotations: [ - GaugeAnnotation(widget: Container(child: - Text('90.0', style: TextStyle(fontSize: 25, fontWeight: FontWeight.bold))), - angle: 90, positionFactor: 0.5)] - )] - ) - ) - ) - ) - ) - ); - } - } + axes: [ + RadialAxis(minimum: 0,maximum: 150, + annotations: [ + GaugeAnnotation(widget: Container(child: + Text('90.0',style: TextStyle(fontSize: 25,fontWeight: FontWeight.bold))), + angle: 90,positionFactor: 0.5)] + )] {% endhighlight %} -{% endtabs %} ![annotation support to the radial gauge](images/getting-started/gauge_annotation.png) The following code example gives you the complete code of above configurations. -{% tabs %} -{% highlight dart %} +{% highlight dart %} import 'package:flutter/material.dart'; import 'package:syncfusion_flutter_gauges/gauges.dart'; - void main() => runApp(const RadialGaugeDemo()); + void main() => runApp(ChartApp()); - class RadialGaugeDemo extends StatelessWidget { - const RadialGaugeDemo({super.key}); + class ChartApp extends StatelessWidget { - @override - Widget build(BuildContext context) { + @override + Widget build(BuildContext context) { return MaterialApp( home: Scaffold( body: Center( child: Container( child: SfRadialGauge( axes: [ - RadialAxis(minimum: 0, maximum: 150, - ranges: [ - GaugeRange(startValue: 0, endValue: 50, color: Colors.green, startWidth: 10, endWidth: 10), - GaugeRange(startValue: 50, endValue: 100, color: Colors.orange, startWidth: 10, endWidth: 10), - GaugeRange(startValue: 100, endValue: 150, color: Colors.red, startWidth: 10, endWidth: 10)], - pointers: [NeedlePointer(value: 90)], + RadialAxis(minimum: 0,maximum: 150, + ranges: [ + GaugeRange(startValue: 0,endValue: 50,color: Colors.green,startWidth: 10,endWidth: 10), + GaugeRange(startValue: 50,endValue: 100,color: Colors.orange,startWidth: 10,endWidth: 10), + GaugeRange(startValue: 100,endValue: 150,color: Colors.red,startWidth: 10,endWidth: 10)], + pointers: [NeedlePointer(value:90)], annotations: [ GaugeAnnotation(widget: Container(child: - Text('90.0', style: TextStyle(fontSize: 25, fontWeight: FontWeight.bold))), - angle: 90, positionFactor: 0.5)] + Text('90.0',style: TextStyle(fontSize: 25,fontWeight:FontWeight.bold))), + angle: 90,positionFactor: 0.5)] )] ) ) ) ) - ) - ); - } + ); + } } -{% endhighlight %} -{% endtabs %} \ No newline at end of file +{% endhighlight %} \ No newline at end of file diff --git a/chart-sdk/flutter/radial-gauge/how-to/custom-widget-on-flutterflow.md b/chart-sdk/flutter/radial-gauge/how-to/custom-widget-on-flutterflow.md index da5046386..d07ddbdb8 100644 --- a/chart-sdk/flutter/radial-gauge/how-to/custom-widget-on-flutterflow.md +++ b/chart-sdk/flutter/radial-gauge/how-to/custom-widget-on-flutterflow.md @@ -1,13 +1,13 @@ --- layout: post -title: How to Add Radial Gauge in FlutterFlow | Syncfusion® -description: Learn how to add and use Syncfusion® Flutter Radial Gauge (SfRadialGauge) in FlutterFlow, including setup, integration, and configuration. +title: Radial Gauge Widget in FlutterFlow | Syncfusion +description: Learn here all about adding Syncfusion Flutter Radial Gauge ( SfRadialGauge Widget ) widget in FlutterFlow. platform: chart-sdk control: SfRadialGauge documentation: ug --- -# How to Add Radial Gauge in FlutterFlow (SfRadialGauge) +# How to add Syncfusion® Radial Gauge widget in FlutterFlow? ## Overview @@ -23,7 +23,7 @@ Navigate to the [FlutterFlow dashboard](https://app.flutterflow.io/dashboard) an 2. Click on the `+ Add` button to open a dropdown menu, then select `Widget`. 3. Update the widget name as desired. 4. Click the `View Boilerplate Code` button on the right side, represented by this icon `[]`. -5. A popup will appear with boilerplate code; locate the button labeled ` Copy to Editor` and click on it. +5. A popup will appear with startup code; locate the button labeled ` Copy to Editor` and click on it. 6. Save the widget. ![Custom Widget](how-to-section-images/custom-widget.png) @@ -35,7 +35,7 @@ Navigate to the [FlutterFlow dashboard](https://app.flutterflow.io/dashboard) an ![Version](how-to-section-images/copy-version.png) 3. Paste the copied dependency into the text editor, then click `Refresh` and `Save` it. ->**Note**: The current version of [Syncfusion® Flutter Gauges](https://pub.dev/packages/syncfusion_flutter_gauges) has been migrated to the latest version of Flutter SDK. To ensure compatibility, check [FlutterFlow](https://app.flutterflow.io/dashboard)'s current Flutter version and obtain the corresponding version of [Syncfusion® Flutter Gauges](https://pub.dev/packages/syncfusion_flutter_gauges) by referring to the [SDK compatibility](https://help.syncfusion.com/flutter/system-requirements#sdk-version-compatibility). +>**Note**: The live version of [Syncfusion® Flutter Gauges](https://pub.dev/packages/syncfusion_flutter_gauges) has been migrated to the latest version of Flutter SDK. To ensure compatibility, check [FlutterFlow](https://app.flutterflow.io/dashboard)'s current Flutter version and obtain the corresponding version of [Syncfusion® Flutter Gauges](https://pub.dev/packages/syncfusion_flutter_gauges) by referring to the [SDK compatibility](https://help.syncfusion.com/flutter/system-requirements#sdk-version-compatibility). ![Dependency](how-to-section-images/dependency.png) @@ -52,10 +52,10 @@ Navigate to the [FlutterFlow dashboard](https://app.flutterflow.io/dashboard) an ### Add widget code snippet in code editor -1. Navigate to the [Example](https://pub.dev/packages/syncfusion_flutter_gauges/example) tab in [Syncfusion® Flutter Gauges](https://pub.dev/packages/syncfusion_flutter_gauges) and copy the widget-specific code sample. +1. Navigate to the [Example](https://pub.dev/packages/syncfusion_flutter_gauges/example) tab in [Syncfusion® Flutter Gauges](https://pub.dev/packages/syncfusion_flutter_gauges) and copy the widget specific codes. ![Code](how-to-section-images/code-snippet.png) 2. Paste the copied code sample into the code editor, click `Format Code`, and `Save` it. -![Code snippet](how-to-section-images/Adding-code-snippet.png) +![Code snippet](how-to-section-images/Adding-code-snippent.png) ### Compiling the codes diff --git a/chart-sdk/flutter/radial-gauge/how-to/how-to-section-images/Adding-code-snippet.png b/chart-sdk/flutter/radial-gauge/how-to/how-to-section-images/Adding-code-snippet.png deleted file mode 100644 index 9bc406de2..000000000 Binary files a/chart-sdk/flutter/radial-gauge/how-to/how-to-section-images/Adding-code-snippet.png and /dev/null differ diff --git a/chart-sdk/flutter/radial-gauge/images/annotation/annotation_angle.jpg b/chart-sdk/flutter/radial-gauge/images/annotation/annotation_angle.jpg deleted file mode 100644 index f2fb1d369..000000000 Binary files a/chart-sdk/flutter/radial-gauge/images/annotation/annotation_angle.jpg and /dev/null differ diff --git a/chart-sdk/flutter/radial-gauge/images/annotation/annotation_axis.jpg b/chart-sdk/flutter/radial-gauge/images/annotation/annotation_axis.jpg deleted file mode 100644 index 4f4611d0d..000000000 Binary files a/chart-sdk/flutter/radial-gauge/images/annotation/annotation_axis.jpg and /dev/null differ diff --git a/chart-sdk/flutter/radial-gauge/images/annotation/image_annotation.jpg b/chart-sdk/flutter/radial-gauge/images/annotation/image_annotation.jpg deleted file mode 100644 index d3c794510..000000000 Binary files a/chart-sdk/flutter/radial-gauge/images/annotation/image_annotation.jpg and /dev/null differ diff --git a/chart-sdk/flutter/radial-gauge/images/marker-pointers/marker_circle.png b/chart-sdk/flutter/radial-gauge/images/marker-pointers/marker_circle.png deleted file mode 100644 index e2d1d86d6..000000000 Binary files a/chart-sdk/flutter/radial-gauge/images/marker-pointers/marker_circle.png and /dev/null differ diff --git a/chart-sdk/flutter/radial-gauge/images/marker-pointers/marker_diamond.png b/chart-sdk/flutter/radial-gauge/images/marker-pointers/marker_diamond.png deleted file mode 100644 index 25dbc14c7..000000000 Binary files a/chart-sdk/flutter/radial-gauge/images/marker-pointers/marker_diamond.png and /dev/null differ diff --git a/chart-sdk/flutter/radial-gauge/images/marker-pointers/marker_inverted_triangle.png b/chart-sdk/flutter/radial-gauge/images/marker-pointers/marker_inverted_triangle.png deleted file mode 100644 index f912f71fb..000000000 Binary files a/chart-sdk/flutter/radial-gauge/images/marker-pointers/marker_inverted_triangle.png and /dev/null differ diff --git a/chart-sdk/flutter/radial-gauge/images/marker-pointers/marker_rectangle.png b/chart-sdk/flutter/radial-gauge/images/marker-pointers/marker_rectangle.png deleted file mode 100644 index 14f42eb9b..000000000 Binary files a/chart-sdk/flutter/radial-gauge/images/marker-pointers/marker_rectangle.png and /dev/null differ diff --git a/chart-sdk/flutter/radial-gauge/images/marker-pointers/marker_triangle.png b/chart-sdk/flutter/radial-gauge/images/marker-pointers/marker_triangle.png deleted file mode 100644 index 59001bdc8..000000000 Binary files a/chart-sdk/flutter/radial-gauge/images/marker-pointers/marker_triangle.png and /dev/null differ diff --git a/chart-sdk/flutter/radial-gauge/marker-pointer.md b/chart-sdk/flutter/radial-gauge/marker-pointer.md index daf285e38..21c708832 100644 --- a/chart-sdk/flutter/radial-gauge/marker-pointer.md +++ b/chart-sdk/flutter/radial-gauge/marker-pointer.md @@ -1,41 +1,18 @@ --- layout: post -title: Marker Pointer in Flutter Radial Gauge | Syncfusion® -description: Learn about marker pointers in Syncfusion® Flutter Radial Gauge (SfRadialGauge), including marker types, positioning, customization, and styling options. +title: Marker Pointer in Flutter Radial Gauge widget | Syncfusion +description: Learn here all about adding and customizing Marker Pointer of Syncfusion Flutter Radial Gauge (SfRadialGauge) widget and more. platform: chart-sdk control: SfRadialGauge documentation: ug --- -# Marker Pointer in Flutter Radial Gauge (SfRadialGauge) +# Marker pointer in Flutter Radial Gauge (SfRadialGauge) -A [`MarkerPointer`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/MarkerPointer-class.html) is used to indicate a specific value on the radial gauge axis. It supports seven built-in marker shapes and additional customization options such as image, text, color, size, border, elevation, overlay, and position offset. The marker type can be changed using the [`markerType`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/MarkerPointer/markerType.html) property. The default marker type is [`MarkerType.invertedTriangle`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/MarkerType.html). - -The following example demonstrates adding a default marker pointer to the radial gauge. +Different types of markers are used to mark the pointer values in a scale. You can change the marker type using the [`markerType`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/MarkerPointer/markerType.html) property. {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() { - runApp(const MyApp()); -} - -class MyApp extends StatelessWidget { - const MyApp({Key? key}) : super(key: key); - - @override - Widget build(BuildContext context) { - return const MaterialApp( - home: MarkerPointerExample(), - ); - } -} - -class MarkerPointerExample extends StatelessWidget { - const MarkerPointerExample({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { return Scaffold( @@ -52,328 +29,29 @@ class MarkerPointerExample extends StatelessWidget { ), ); } -} {% endhighlight %} ![default marker pointer](images/marker-pointers/marker_default.jpg) -## Marker types - -The radial gauge supports the following built-in marker types that can be set using the [`markerType`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/MarkerPointer/markerType.html) property of [`MarkerPointer`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/MarkerPointer-class.html): - -* [`MarkerType.circle`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/MarkerType.html) - Renders the pointer as a circle. -* [`MarkerType.diamond`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/MarkerType.html) - Renders the pointer as a diamond. -* [`MarkerType.image`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/MarkerType.html) - Renders the pointer as an image specified by the [`imageUrl`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/MarkerPointer/imageUrl.html) property. -* [`MarkerType.invertedTriangle`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/MarkerType.html) - Renders the pointer as a downward-pointing triangle. -* [`MarkerType.rectangle`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/MarkerType.html) - Renders the pointer as a rectangle. -* [`MarkerType.text`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/MarkerType.html) - Renders the pointer as a text label specified by the [`text`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/MarkerPointer/text.html) property. -* [`MarkerType.triangle`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/MarkerType.html) - Renders the pointer as an upward-pointing triangle. - -### Circle - -The [`MarkerType.circle`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/MarkerType.html) renders the marker pointer as a filled circle. This is one of the default built-in shapes available out of the box. - -{% highlight dart %} - -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() { - runApp(const MyApp()); -} - -class MyApp extends StatelessWidget { - const MyApp({Key? key}) : super(key: key); - - @override - Widget build(BuildContext context) { - return const MaterialApp( - home: CircleMarkerExample(), - ); - } -} - -class CircleMarkerExample extends StatelessWidget { - const CircleMarkerExample({Key? key}) : super(key: key); - - @override - Widget build(BuildContext context) { - return Scaffold( - body: Center( - child: SfRadialGauge( - axes: [ - RadialAxis( - pointers: [ - MarkerPointer( - value: 60, - markerType: MarkerType.circle, - markerHeight: 20, - markerWidth: 20, - color: Colors.lightBlue, - ) - ] - ) - ], - ) - ), - ); - } -} - -{% endhighlight %} - -![circle marker pointer](images/marker-pointers/marker_circle.png) - -### Diamond - -The [`MarkerType.diamond`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/MarkerType.html) renders the marker pointer as a diamond shape. It is useful for highlighting specific values on a gradient scale where a square or rotated rectangle better matches the visual style. - -{% highlight dart %} - -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; +Gauge supports the following types of marker: -void main() { - runApp(const MyApp()); -} +* Circle +* Diamond +* Image +* Inverted triangle +* Rectangle +* Text +* Triangle -class MyApp extends StatelessWidget { - const MyApp({Key? key}) : super(key: key); - - @override - Widget build(BuildContext context) { - return const MaterialApp( - home: DiamondMarkerExample(), - ); - } -} - -class DiamondMarkerExample extends StatelessWidget { - const DiamondMarkerExample({Key? key}) : super(key: key); - - @override - Widget build(BuildContext context) { - return Scaffold( - body: Center( - child: SfRadialGauge( - axes: [ - RadialAxis( - pointers: [ - MarkerPointer( - value: 70, - markerType: MarkerType.diamond, - markerHeight: 20, - markerWidth: 20, - color: Colors.lightBlue, - ) - ] - ) - ], - ) - ), - ); - } -} - -{% endhighlight %} - -![diamond marker pointer](images/marker-pointers/marker_diamond.png) - -### Inverted triangle - -The [`MarkerType.invertedTriangle`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/MarkerType.html) renders the marker pointer as a downward-pointing triangle. This is the default marker shape when no [`markerType`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/MarkerPointer/markerType.html) is specified. - -{% highlight dart %} - -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() { - runApp(const MyApp()); -} - -class MyApp extends StatelessWidget { - const MyApp({Key? key}) : super(key: key); - - @override - Widget build(BuildContext context) { - return const MaterialApp( - home: InvertedTriangleMarkerExample(), - ); - } -} - -class InvertedTriangleMarkerExample extends StatelessWidget { - const InvertedTriangleMarkerExample({Key? key}) : super(key: key); - - @override - Widget build(BuildContext context) { - return Scaffold( - body: Center( - child: SfRadialGauge( - axes: [ - RadialAxis( - pointers: [ - MarkerPointer( - value: 50, - markerType: MarkerType.invertedTriangle, - markerHeight: 20, - markerWidth: 20, - color: Colors.lightBlue, - ) - ] - ) - ], - ) - ), - ); - } -} - -{% endhighlight %} - -![inverted triangle marker pointer](images/marker-pointers/marker_inverted_triangle.png) - -### Rectangle - -The [`MarkerType.rectangle`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/MarkerType.html) renders the marker pointer as a rectangle. It is useful for filling longer ranges on the axis where a circular or triangular marker would not provide sufficient visual weight. - -{% highlight dart %} - -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() { - runApp(const MyApp()); -} - -class MyApp extends StatelessWidget { - const MyApp({Key? key}) : super(key: key); - - @override - Widget build(BuildContext context) { - return const MaterialApp( - home: RectangleMarkerExample(), - ); - } -} - -class RectangleMarkerExample extends StatelessWidget { - const RectangleMarkerExample({Key? key}) : super(key: key); - - @override - Widget build(BuildContext context) { - return Scaffold( - body: Center( - child: SfRadialGauge( - axes: [ - RadialAxis( - pointers: [ - MarkerPointer( - value: 40, - markerType: MarkerType.rectangle, - markerHeight: 20, - markerWidth: 20, - color: Colors.lightBlue, - ) - ] - ) - ], - ) - ), - ); - } -} - -{% endhighlight %} - -![rectangle marker pointer](images/marker-pointers/marker_rectangle.png) - -### Triangle - -The [`MarkerType.triangle`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/MarkerType.html) renders the marker pointer as an upward-pointing triangle. It is commonly used as a directional indicator on the gauge. - -{% highlight dart %} - -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() { - runApp(const MyApp()); -} - -class MyApp extends StatelessWidget { - const MyApp({Key? key}) : super(key: key); - - @override - Widget build(BuildContext context) { - return const MaterialApp( - home: TriangleMarkerExample(), - ); - } -} - -class TriangleMarkerExample extends StatelessWidget { - const TriangleMarkerExample({Key? key}) : super(key: key); - - @override - Widget build(BuildContext context) { - return Scaffold( - body: Center( - child: SfRadialGauge( - axes: [ - RadialAxis( - pointers: [ - MarkerPointer( - value: 80, - markerType: MarkerType.triangle, - markerHeight: 20, - markerWidth: 20, - color: Colors.lightBlue, - ) - ] - ) - ], - ) - ), - ); - } -} - -{% endhighlight %} - -![triangle marker pointer](images/marker-pointers/marker_triangle.png) +![default marker pointer](images/marker-pointers/markers.png) ## Image pointer -An image can be used to denote the current pointer values instead of a shape. This can be achieved by setting the [`markerType`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/MarkerPointer/markerType.html) as image and specifying the [`imageUrl`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/MarkerPointer/imageUrl.html) property of the marker pointer. - -N> Add the image to your `pubspec.yaml` file under the `flutter > assets` section so that it is available to the application. +An Image can be used to denote the current pointer values instead of a shape. This can be achieved by setting the [`markerType`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/MarkerPointer/markerType.html) as image and specifying the [`imageUrl`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/MarkerPointer/imageUrl.html) property of the marker pointer. {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() { - runApp(const MyApp()); -} - -class MyApp extends StatelessWidget { - const MyApp({Key? key}) : super(key: key); - - @override - Widget build(BuildContext context) { - return const MaterialApp( - home: ImageMarkerExample(), - ); - } -} - -class ImageMarkerExample extends StatelessWidget { - const ImageMarkerExample({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { return Scaffold( @@ -396,7 +74,6 @@ class ImageMarkerExample extends StatelessWidget { ), ); } -} {% endhighlight %} @@ -404,31 +81,10 @@ class ImageMarkerExample extends StatelessWidget { ## Text pointer -Text can be used to denote the current pointer value instead of any marker shape. This can be achieved by setting the [`markerType`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/MarkerPointer/markerType.html) as text. The provided text can be customized using the [`textStyle`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/MarkerPointer/textStyle.html) property of the marker pointer, which accepts a [`GaugeTextStyle`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/GaugeTextStyle-class.html) for gauge-specific text formatting. +Text can be used to denote the current pointer value instead of any marker shape. This can be achieved by setting the [`markerType`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/MarkerPointer/markerType.html) as text. The provided text can be customized using the [`textStyle`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/MarkerPointer/textStyle.html) property of the marker pointer. {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() { - runApp(const MyApp()); -} - -class MyApp extends StatelessWidget { - const MyApp({Key? key}) : super(key: key); - - @override - Widget build(BuildContext context) { - return const MaterialApp( - home: TextMarkerExample(), - ); - } -} - -class TextMarkerExample extends StatelessWidget { - const TextMarkerExample({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { return Scaffold( @@ -439,7 +95,7 @@ class TextMarkerExample extends StatelessWidget { pointers: [ MarkerPointer( value: 50, - markerType: MarkerType.text, + markerType: MarkerType.text, text: 'Average', textStyle: GaugeTextStyle( fontSize: 15, @@ -454,13 +110,12 @@ class TextMarkerExample extends StatelessWidget { ), ); } -} {% endhighlight %} ![text pointer](images/marker-pointers/text_marker.jpg) -## Marker customization +## Marker Customization The marker pointer can be customized using the following properties: @@ -472,27 +127,6 @@ The marker pointer can be customized using the following properties: {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() { - runApp(const MyApp()); -} - -class MyApp extends StatelessWidget { - const MyApp({Key? key}) : super(key: key); - - @override - Widget build(BuildContext context) { - return const MaterialApp( - home: MarkerCustomizationExample(), - ); - } -} - -class MarkerCustomizationExample extends StatelessWidget { - const MarkerCustomizationExample({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { return Scaffold( @@ -503,11 +137,11 @@ class MarkerCustomizationExample extends StatelessWidget { pointers: [ MarkerPointer( value: 60, - markerHeight: 30, + markerHeight: 30, markerWidth: 30, - markerType: MarkerType.circle, + markerType: MarkerType.circle, color: Colors.lightBlue, - borderWidth: 3, + borderWidth: 3, borderColor: Colors.black ) ] @@ -517,7 +151,6 @@ class MarkerCustomizationExample extends StatelessWidget { ), ); } -} {% endhighlight %} @@ -529,27 +162,6 @@ The marker pointer can be elevated by rendering its shadow behind it. The z- coo {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() { - runApp(const MyApp()); -} - -class MyApp extends StatelessWidget { - const MyApp({Key? key}) : super(key: key); - - @override - Widget build(BuildContext context) { - return const MaterialApp( - home: MarkerElevationExample(), - ); - } -} - -class MarkerElevationExample extends StatelessWidget { - const MarkerElevationExample({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { return Scaffold( @@ -559,9 +171,9 @@ class MarkerElevationExample extends StatelessWidget { RadialAxis( pointers: [ MarkerPointer( - value: 60, - markerHeight: 20, - markerWidth: 20, + value: 60, + markerHeight: 20, + markerWidth: 20, elevation: 4 ) ] @@ -571,7 +183,6 @@ class MarkerElevationExample extends StatelessWidget { ), ); } -} {% endhighlight %} @@ -587,27 +198,6 @@ The marker overlay is rendered around the marker when the marker is dragged. Whe {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() { - runApp(const MyApp()); -} - -class MyApp extends StatelessWidget { - const MyApp({Key? key}) : super(key: key); - - @override - Widget build(BuildContext context) { - return const MaterialApp( - home: MarkerOverlayExample(), - ); - } -} - -class MarkerOverlayExample extends StatelessWidget { - const MarkerOverlayExample({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { return Scaffold( @@ -630,7 +220,6 @@ class MarkerOverlayExample extends StatelessWidget { ), ); } -} {% endhighlight %} @@ -644,27 +233,6 @@ By default, the [`overlayRadius`](https://pub.dev/documentation/syncfusion_flutt {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() { - runApp(const MyApp()); -} - -class MyApp extends StatelessWidget { - const MyApp({Key? key}) : super(key: key); - - @override - Widget build(BuildContext context) { - return const MaterialApp( - home: MarkerOverlayCustomizationExample(), - ); - } -} - -class MarkerOverlayCustomizationExample extends StatelessWidget { - const MarkerOverlayCustomizationExample({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { return Scaffold( @@ -679,7 +247,7 @@ class MarkerOverlayCustomizationExample extends StatelessWidget { markerWidth: 20, enableDragging: true, overlayRadius: 15, - overlayColor: Colors.red.withValues(alpha: 0.12), + overlayColor: Colors.red.withOpacity(0.12), markerType: MarkerType.circle ) ] @@ -689,7 +257,6 @@ class MarkerOverlayCustomizationExample extends StatelessWidget { ), ); } -} {% endhighlight %} @@ -697,111 +264,14 @@ class MarkerOverlayCustomizationExample extends StatelessWidget { N> The marker overlay applies to all the marker types except [`MarkerType.image`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/MarkerType.html) and [`MarkerType.text`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/MarkerType.html). -## Pointer interaction - -The marker pointer supports interactive value changes by enabling the [`enableDragging`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/GaugePointer/enableDragging.html) property. When this property is set to `true`, the user can drag the marker pointer along the axis to update its value. The following callbacks are invoked during the drag interaction: - -* [`onValueChanged`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/MarkerPointer/onValueChanged.html) – Called continuously while the user is dragging the marker pointer and selecting a new value. -* [`onValueChangeStart`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/MarkerPointer/onValueChangeStart.html) – Called when the user starts dragging the marker pointer. -* [`onValueChangeEnd`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/MarkerPointer/onValueChangeEnd.html) – Called when the user finishes dragging the marker pointer. -* [`onValueChanging`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/MarkerPointer/onValueChanging.html) – Called before the value is updated during the drag, providing a [`ValueChangingArgs`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/ValueChangingArgs-class.html) instance for advanced scenarios such as restricting the value range. - -{% highlight dart %} - -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() { - runApp(const MyApp()); -} - -class MyApp extends StatelessWidget { - const MyApp({Key? key}) : super(key: key); - - @override - Widget build(BuildContext context) { - return const MaterialApp( - home: MarkerInteractionExample(), - ); - } -} - -class MarkerInteractionExample extends StatefulWidget { - const MarkerInteractionExample({Key? key}) : super(key: key); - - @override - State createState() => _MarkerInteractionExampleState(); -} - -class _MarkerInteractionExampleState extends State { - double _markerValue = 60; - - @override - Widget build(BuildContext context) { - return Scaffold( - body: Center( - child: SfRadialGauge( - axes: [ - RadialAxis( - pointers: [ - MarkerPointer( - value: _markerValue, - enableDragging: true, - markerHeight: 20, - markerWidth: 20, - markerType: MarkerType.circle, - onValueChanged: (double newValue) { - setState(() { - _markerValue = newValue; - }); - }, - ) - ] - ) - ], - ) - ), - ); - } -} - -{% endhighlight %} - -## Custom renderer - -For advanced scenarios that require fully custom drawing, the marker pointer exposes the [`onCreatePointerRenderer`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/MarkerPointer/onCreatePointerRenderer.html) callback. This callback receives a [`MarkerPointerRendererFactory`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/MarkerPointerRendererFactory.html) and lets you return a custom [`MarkerPointerRenderer`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/MarkerPointerRenderer-class.html) for complete control over how the marker is drawn. - -N> The [`onCreatePointerRenderer`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/MarkerPointer/onCreatePointerRenderer.html) callback applies only when you need a custom rendering pipeline. It is not applicable for the built-in marker types described above. - ## Position customization -The marker pointer can be moved near or far from its actual position using the [`markerOffset`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/MarkerPointer/markerOffset.html) and [`offsetUnit`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/MarkerPointer/offsetUnit.html) properties. +The marker pointer can be moved near or far from its actual position using the [`markerOffset`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/MarkerPointer/markerOffset.html) and [`offsetUnit`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/MarkerPointer/offsetUnit.html) properties. When you set [`offsetUnit`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/MarkerPointer/offsetUnit.html) to logical pixel, the marker pointer will be moved based on the logical pixel value. If you set [`offsetUnit`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/MarkerPointer/offsetUnit.html) to factor, then provided factor will be multiplied with the axis radius value, and the pointer will be moved to the corresponding position. The default value of [`offsetUnit`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/MarkerPointer/offsetUnit.html) is GaugeSizeUnit.logicalPixel. {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() { - runApp(const MyApp()); -} - -class MyApp extends StatelessWidget { - const MyApp({Key? key}) : super(key: key); - - @override - Widget build(BuildContext context) { - return const MaterialApp( - home: MarkerOffsetExample(), - ); - } -} - -class MarkerOffsetExample extends StatelessWidget { - const MarkerOffsetExample({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { return Scaffold( @@ -809,7 +279,7 @@ class MarkerOffsetExample extends StatelessWidget { child: SfRadialGauge( axes: [ RadialAxis( - radiusFactor: 0.9, + radiusFactor: 0.9, centerY: 0.65, pointers: [ MarkerPointer( @@ -823,7 +293,6 @@ class MarkerOffsetExample extends StatelessWidget { ), ); } -} {% endhighlight %} @@ -831,3 +300,4 @@ class MarkerOffsetExample extends StatelessWidget { + diff --git a/chart-sdk/flutter/radial-gauge/needle-pointer.md b/chart-sdk/flutter/radial-gauge/needle-pointer.md index 74fa6b96a..532052c9a 100644 --- a/chart-sdk/flutter/radial-gauge/needle-pointer.md +++ b/chart-sdk/flutter/radial-gauge/needle-pointer.md @@ -1,7 +1,7 @@ --- layout: post -title: Needle Pointer in Flutter Radial Gauge | Syncfusion® -description: Learn about needle pointers in Syncfusion® Flutter Radial Gauge (SfRadialGauge), including pointer customization, animation, positioning, and styling options. +title: Needle Pointer in Flutter Radial Gauge widget | Syncfusion +description: Learn here all about adding and customizing Needle Pointer of Syncfusion Flutter Radial Gauge (SfRadialGauge) widget and more. platform: chart-sdk control: SfRadialGauge documentation: ug @@ -13,39 +13,25 @@ documentation: ug {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const NeedlePointerDemo()); - -class NeedlePointerDemo extends StatelessWidget { - const NeedlePointerDemo({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { - return MaterialApp( - home: Scaffold( - body: Center( - child: SfRadialGauge( - axes: [ - RadialAxis( - pointers: [ - NeedlePointer(value: 60) - ] - ) - ], - ) - ), + return Scaffold( + body: Center( + child: SfRadialGauge( + axes: [ + RadialAxis( + pointers: [ + NeedlePointer(value: 60) + ] + ) + ], + ) ), ); } -} {% endhighlight %} -{% tabs %} -{% endtabs %} - ![default needle pointer](images/needle-pointer/range_needleLength.jpg) ## Needle customization @@ -54,7 +40,7 @@ The needle can be customized using the following properties: * [`needleLength`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/NeedlePointer/needleLength.html) – Customizes the length of the needle. The length of the pointer can be set either in logical pixel or factor. -* [`lengthUnit`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/NeedlePointer/lengthUnit.html) – Specifies whether to set the length in logical pixel or factor. +* [`lengthUnit`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/NeedlePointer/lengthUnit.html) –Specifies whether to set the length in logical pixel or factor. * [`needleStartWidth`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/NeedlePointer/needleStartWidth.html) – Specifies the start width of the needle. @@ -73,43 +59,29 @@ If the [`lengthUnit`](https://pub.dev/documentation/syncfusion_flutter_gauges/la {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const NeedleLengthDemo()); - -class NeedleLengthDemo extends StatelessWidget { - const NeedleLengthDemo({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { - return MaterialApp( - home: Scaffold( - body: Center( - child: SfRadialGauge( - axes: [ - RadialAxis( - pointers: [ - NeedlePointer( - value: 60, - lengthUnit: GaugeSizeUnit.logicalPixel, - needleLength: 130 - ) - ] - ) - ], - ) - ), + return Scaffold( + body: Center( + child: SfRadialGauge( + axes: [ + RadialAxis( + pointers: [ + NeedlePointer( + value: 60, + lengthUnit: GaugeSizeUnit.logicalPixel, + needleLength: 130 + ) + ] + ) + ], + ) ), ); } -} {% endhighlight %} -{% tabs %} -{% endtabs %} - ![needle pointer length](images/needle-pointer/needle_lengthPixel.jpg) **Needle width customization** @@ -118,46 +90,32 @@ The width of the needle pointer can be customized using the [`needleStartWidth`] {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const NeedleWidthDemo()); - -class NeedleWidthDemo extends StatelessWidget { - const NeedleWidthDemo({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { - return MaterialApp( - home: Scaffold( - body: Center( - child: SfRadialGauge( - axes: [ - RadialAxis( - pointers: [ - NeedlePointer( - value: 60, - lengthUnit: GaugeSizeUnit.factor, - needleLength: 0.75, - needleColor: Colors.red, - needleStartWidth: 6, - needleEndWidth: 6 - ) - ] - ) - ], - ) - ), + return Scaffold( + body: Center( + child: SfRadialGauge( + axes: [ + RadialAxis( + pointers: [ + NeedlePointer( + value: 60, + lengthUnit: GaugeSizeUnit.factor, + needleLength: 0.75, + needleColor: Colors.red, + needleStartWidth: 6, + needleEndWidth: 6 + ) + ] + ) + ], + ) ), ); } -} {% endhighlight %} -{% tabs %} -{% endtabs %} - ![needle width customization](images/needle-pointer/needle_customization.jpg) **Gradient support for needle** @@ -166,57 +124,43 @@ class NeedleWidthDemo extends StatelessWidget { {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const NeedleGradientDemo()); - -class NeedleGradientDemo extends StatelessWidget { - const NeedleGradientDemo({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { - return MaterialApp( - home: Scaffold( - body: Center( - child: SfRadialGauge( - axes: [ - RadialAxis( - pointers: [ - NeedlePointer( - value: 65, - lengthUnit: GaugeSizeUnit.factor, - needleLength: 0.8, - needleEndWidth: 11, - gradient: const LinearGradient( - colors: [ - Color(0xFFFF6B78), Color(0xFFFF6B78), - Color(0xFFE20A22), Color(0xFFE20A22) - ], - stops: [0, 0.5, 0.5, 1] - ), - needleColor: const Color(0xFFF67280), - knobStyle: KnobStyle( - knobRadius: 0.08, - sizeUnit: GaugeSizeUnit.factor, - color: Colors.black - ) + return Scaffold( + body: Center( + child: SfRadialGauge( + axes: [ + RadialAxis( + pointers: [ + NeedlePointer( + value: 65, + lengthUnit: GaugeSizeUnit.factor, + needleLength: 0.8, + needleEndWidth: 11, + gradient: const LinearGradient( + colors: [ + Color(0xFFFF6B78), Color(0xFFFF6B78), + Color(0xFFE20A22), Color(0xFFE20A22) + ], + stops: [0, 0.5, 0.5, 1] ), - ] - ), - ] - ), + needleColor: const Color(0xFFF67280), + knobStyle: KnobStyle( + knobRadius: 0.08, + sizeUnit: GaugeSizeUnit.factor, + color: Colors.black + ) + ), + ] + ), + ] ), ), ); } -} {% endhighlight %} -{% tabs %} -{% endtabs %} - ![needle pointer gradient](images/needle-pointer/needle_gradient.jpg) ## Knob customization @@ -240,51 +184,37 @@ The logical pixel value can be set to knob radius when the [`sizeUnit`](https:// {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const KnobRadiusDemo()); - -class KnobRadiusDemo extends StatelessWidget { - const KnobRadiusDemo({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { - return MaterialApp( - home: Scaffold( - body: Center( - child: SfRadialGauge( - axes: [ - RadialAxis( - pointers: [ - NeedlePointer( - value: 60, - needleStartWidth: 1, - needleEndWidth: 5, - knobStyle: KnobStyle( - knobRadius: 10, - sizeUnit: GaugeSizeUnit.logicalPixel, - color: Colors.red - ) + return Scaffold( + body: Center( + child: SfRadialGauge( + axes: [ + RadialAxis( + pointers: [ + NeedlePointer( + value: 60, + needleStartWidth: 1, + needleEndWidth: 5, + knobStyle: KnobStyle( + knobRadius: 10, + sizeUnit: GaugeSizeUnit.logicalPixel, + color: Colors.red ) - ] - ) - ], - ) - ), + ) + ] + ) + ], + ) ), ); } -} {% endhighlight %} -{% tabs %} -{% endtabs %} - ![knob radius customization](images/needle-pointer/knob_pixel.jpg) -If the [`sizeUnit`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/KnobStyle/sizeUnit.html) is set to factor, the factor value will be set to knob radius. The factor value ranges from 0 to 1. For example, if the knob radius is set to 0.1, 10% of the radius value of [`axis`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RadialAxis-class.html) will be set to knob radius. By default, the value of [`sizeUnit`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/KnobStyle/sizeUnit.html) is GaugeSizeUnit.factor +If the [`sizeUnit`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/KnobStyle/sizeUnit.html) is set to factor, the factor value will be set to knob radius. The factor value ranges from 0 to 1. For example, if the needle length is set to 0.1, 10% of the radius value of [`axis`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RadialAxis-class.html) will be set to knob radius. By default, the value of [`sizeUnit`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/KnobStyle/sizeUnit.html) is GaugeSizeUnit.factor **Knob border customization** @@ -292,52 +222,38 @@ Like radius, the [`borderWidth`](https://pub.dev/documentation/syncfusion_flutte {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const KnobBorderDemo()); - -class KnobBorderDemo extends StatelessWidget { - const KnobBorderDemo({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { - return MaterialApp( - home: Scaffold( - body: Center( - child: SfRadialGauge( - axes: [ - RadialAxis( - pointers: [ - NeedlePointer( - value: 60, - needleStartWidth: 1, - needleEndWidth: 5, - knobStyle: KnobStyle( - knobRadius: 0.05, - borderColor: Colors.black, - borderWidth: 0.02, - color: Colors.white - ) + return Scaffold( + body: Center( + child: SfRadialGauge( + axes: [ + RadialAxis( + pointers: [ + NeedlePointer( + value: 60, + needleStartWidth: 1, + needleEndWidth: 5, + knobStyle: KnobStyle( + knobRadius: 0.05, + borderColor: Colors.black, + borderWidth: 0.02, + color: Colors.white ) - ] - ) - ], - ) - ), + ) + ] + ) + ], + ) ), ); } -} {% endhighlight %} -{% tabs %} -{% endtabs %} - ![knob border customization](images/needle-pointer/knob_border.jpg) -## Tail customization +## Tail Customization The [`tail`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/NeedlePointer/tailStyle.html) of the needle can be customized using the following properties, @@ -353,142 +269,97 @@ The [`tail`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gaug * [`gradient`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/NeedlePointer/gradient.html) - Specifies the gradient for the tail. -By default, the value of [`lengthUnit`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/TailStyle/lengthUnit.html) is GaugeSizeUnit.factor. The factor value ranges from 0 to 1. When the length is set to 0.2, 20% of axis radius value will be considered as tail length. The following code example shows how to specify the length in factor. +By default, the value of [`lengthUnit`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/TailStyle/lengthUnit.html) is GaugeSizeUnit.factor.The factor value ranges from 0 to 1. When the length is set to 0.2, 20 % of axis radius value will be considered as tail length.The following code example shows how to specify the length in factor. {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const TailFactorDemo()); - -class TailFactorDemo extends StatelessWidget { - const TailFactorDemo({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { - return MaterialApp( - home: Scaffold( - body: Center( - child: SfRadialGauge( - axes: [ - RadialAxis( - pointers: [ - NeedlePointer( - value: 60, - tailStyle: TailStyle(width: 8, length: 0.15) - ) - ] - ) - ], - ) - ), + return Scaffold( + body: Center( + child: SfRadialGauge( + axes: [ + RadialAxis( + pointers: [ + NeedlePointer( + value: 60, + tailStyle: TailStyle(width: 8, length: 0.15) + ) + ] + ) + ], + ) ), ); } -} {% endhighlight %} -{% tabs %} -{% endtabs %} - ![needle tail](images/needle-pointer/needle_tail.jpg) The following code example shows how to specify the length in logical pixels. {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const TailPixelDemo()); - -class TailPixelDemo extends StatelessWidget { - const TailPixelDemo({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { - return MaterialApp( - home: Scaffold( - body: Center( - child: SfRadialGauge( - axes: [ - RadialAxis( - pointers: [ - NeedlePointer( - value: 60, - needleStartWidth: 3, - needleEndWidth: 3, - knobStyle: KnobStyle( - color: Colors.white, - knobRadius: 0.07, - borderColor: Colors.black, - borderWidth: 0.02 - ), - tailStyle: TailStyle( - width: 5, - length: 30, - lengthUnit: GaugeSizeUnit.logicalPixel, - color: Colors.white, - borderWidth: 3, - borderColor: Colors.black - ) + return Scaffold( + body: Center( + child: SfRadialGauge( + axes: [ + RadialAxis( + pointers: [ + NeedlePointer( + value: 60, + needleStartWidth: 3, + needleEndWidth: 3, + knobStyle: KnobStyle( + color: Colors.white, + knobRadius: 0.07, + borderColor: Colors.black, + borderWidth: 0.02 + ), + tailStyle: TailStyle( + width: 5, + length: 30, + lengthUnit: GaugeSizeUnit.logicalPixel, + color: Colors.white, + borderWidth: 3, + borderColor: Colors.black ) - ] - ) - ], - ) - ), + ) + ] + ) + ], + ) ), ); } -} {% endhighlight %} -{% tabs %} -{% endtabs %} - ![needle tail customization](images/needle-pointer/tail_border.jpg) The following code shows how to apply the gradient for the tail. {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const TailGradientDemo()); - -class TailGradientDemo extends StatelessWidget { - const TailGradientDemo({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { - return MaterialApp( - home: Scaffold( - body: Center( - child: SfRadialGauge( - axes: [ - RadialAxis( - pointers: [ - NeedlePointer( - value: 65, - lengthUnit: GaugeSizeUnit.factor, - needleLength: 0.8, - needleEndWidth: 11, - tailStyle: TailStyle( - length: 0.2, - width: 11, - gradient: LinearGradient( - colors: [ - Color(0xFFFF6B78), Color(0xFFFF6B78), - Color(0xFFE20A22), Color(0xFFE20A22) - ], - stops: [0, 0.5, 0.5, 1] - ), - ), + return Scaffold( + body: Center( + child: SfRadialGauge( + axes: [ + RadialAxis( + pointers: [ + NeedlePointer( + value: 65, + lengthUnit: GaugeSizeUnit.factor, + needleLength: 0.8, + needleEndWidth: 11, + tailStyle: TailStyle( + length: 0.2, + width: 11, gradient: LinearGradient( colors: [ Color(0xFFFF6B78), Color(0xFFFF6B78), @@ -496,28 +367,31 @@ class TailGradientDemo extends StatelessWidget { ], stops: [0, 0.5, 0.5, 1] ), - needleColor: Color(0xFFF67280), - knobStyle: KnobStyle( - knobRadius: 0.08, - sizeUnit: GaugeSizeUnit.factor, - color: Colors.black - ) ), - ] - ), - ] - ), + gradient: LinearGradient( + colors: [ + Color(0xFFFF6B78), Color(0xFFFF6B78), + Color(0xFFE20A22), Color(0xFFE20A22) + ], + stops: [0, 0.5, 0.5, 1] + ), + needleColor: Color(0xFFF67280), + knobStyle: KnobStyle( + knobRadius: 0.08, + sizeUnit: GaugeSizeUnit.factor, + color: Colors.black + ) + ), + ] + ), + ] ), ), ); } -} {% endhighlight %} -{% tabs %} -{% endtabs %} - ![needle tail gradient](images/needle-pointer/tail_gradient.jpg) diff --git a/chart-sdk/flutter/radial-gauge/overview.md b/chart-sdk/flutter/radial-gauge/overview.md index 8aa6162c5..21e590192 100644 --- a/chart-sdk/flutter/radial-gauge/overview.md +++ b/chart-sdk/flutter/radial-gauge/overview.md @@ -1,26 +1,25 @@ --- layout: post -title: About Flutter Radial Gauge Control | Syncfusion® -description: Learn about the Syncfusion® Flutter Radial Gauge (SfRadialGauge), its features, gauge elements, data visualization, and customization options. +title: About Flutter Radial Gauge widget | Syncfusion +description: Learn here all about introduction of Syncfusion Flutter Radial Gauge (SfRadialGauge) widget, its features, and more. platform: chart-sdk control: SfRadialGauge documentation: ug --- -# About Flutter Radial Gauge Control (SfRadialGauge) +# Flutter Radial Gauge (SfRadialGauge) Overview -Syncfusion® Flutter Radial Gauge is a powerful data visualization widget in Dart. It enables you to create modern, interactive, and animated gauges that enhance the user interface of high-quality mobile applications built with Flutter. +Syncfusion® Flutter Radial Gauge is a powerful data visualization widget in Dart. It enables you to create modern, interactive, and animated gauges that enhance the user interface of high-quality mobile application built with Flutter. ![Overview flutter radial gauge](images/overview/gauge_overview.png) ## Key Features -* **Title** - Add a descriptive title to the radial gauge to provide context about the data being visualized. The title can be aligned to the near, center, or far position and its text style can be customized. See the [title](radial-gauge-title.md) documentation to learn more. -* **Axes** - The radial gauge axis is a circular arc that displays a set of values along a linear or custom scale based on your design requirements. Axis elements such as labels, ticks, and axis lines can be easily customized with built-in properties to match your application's theme. See the [axes](axes.md) documentation to learn more. -* **Ranges** - Gauge ranges are visual elements that help users quickly visualize where a value falls on the axis. Text can be easily annotated within ranges to improve readability and provide additional context to your data visualization. See the [ranges](ranges.md) documentation to learn more. -* **Pointers** - Pointer is used to indicate values on an axis. The radial gauge has four types of pointers: needle pointer, marker pointer, range pointer, and widget pointer. All the pointers can be customized as needed. See the [pointers](pointers.md) documentation to learn more. -* **Animation** - The Radial Gauge provides visually appealing animations when pointers move from one value to another. Various animation types and customization options are available to create engaging user experiences. See the [animation](animation.md) documentation to learn more. -* **Annotations** - Add multiple widgets such as text, images, or custom Flutter widgets as annotations at specific points of interest in the radial gauge to provide additional context or information. See the [annotations](annotation.md) documentation to learn more. -* **Accessibility** - The radial gauge is built with accessibility support, allowing it to be navigated and read by screen readers such as TalkBack and VoiceOver. The widget exposes semantic information to assistive technologies so users with visual impairments can understand the gauge data. See the [accessibility](accessibility.md) documentation to learn more. +* **Axes** - The radial gauge axis is a circular arc that displays a set of values along a linear or custom scale based on your design requirements. Axis elements such as labels, ticks, and axis lines can be easily customized with built-in properties to match your application's theme. +* **Ranges** - Gauge ranges are visual elements that help users quickly visualize where a value falls on the axis. Text can be easily annotated within ranges to improve readability and provide additional context to your data visualization. +* **Pointers** - Pointer is used to indicate values on an axis. Radial gauge has four types of pointers: needle pointer, marker pointer, range pointer, and widget pointer. All the pointers can be customized as needed. +* **Pointer Animation** - The Radial Gauge provides visually appealing animations when pointers move from one value to another. Various animation types and customization options are available to create engaging user experiences. +* **Pointer interaction** - Interactive functionality allows users to drag pointers from one value to another, enabling real-time value changes and user input directly through the gauge interface. +* **Annotations** - Add multiple widgets such as text, images, or custom Flutter widgets as annotations at specific points of interest in the radial gauge to provide additional context or information. -You can get the sample in the following link: [`Flutter Gauges`](https://github.com/syncfusion/flutter-examples/tree/master/lib/samples/gauge). \ No newline at end of file +You can get the sample in the following link: [`Flutter Gauges`](https://github.com/syncfusion/flutter-examples). \ No newline at end of file diff --git a/chart-sdk/flutter/radial-gauge/pointers.md b/chart-sdk/flutter/radial-gauge/pointers.md index fb79551fd..cf7f0af4e 100644 --- a/chart-sdk/flutter/radial-gauge/pointers.md +++ b/chart-sdk/flutter/radial-gauge/pointers.md @@ -1,7 +1,7 @@ --- layout: post -title: Pointers in Flutter Radial Gauge | Syncfusion® -description: Learn about pointers in Syncfusion® Flutter Radial Gauge (SfRadialGauge), including needle, marker, and range pointers with customization options. +title: Pointers in Flutter Radial Gauge widget | Syncfusion +description: Learn here all about adding and customizing Pointers of Syncfusion Flutter Radial Gauge (SfRadialGauge) widget and more. platform: chart-sdk control: SfRadialGauge documentation: ug @@ -11,10 +11,10 @@ documentation: ug Pointer is used to indicate values on an axis. The Syncfusion Flutter Radial Gauge control offers four types of pointers: -[`Marker pointer`](https://help.syncfusion.com/chart-sdk/flutter/radial-gauge/marker-pointer) -[`Needle pointer`](https://help.syncfusion.com/chart-sdk/flutter/radial-gauge/needle-pointer) -[`Range pointer`](https://help.syncfusion.com/chart-sdk/flutter/radial-gauge/range-pointer) -[`Widget pointer`](https://help.syncfusion.com/chart-sdk/flutter/radial-gauge/widget-pointer) +[`Marker pointer`](https://help.syncfusion.com/flutter/radial-gauge/marker-pointer) +[`Needle pointer`](https://help.syncfusion.com/flutter/radial-gauge/needle-pointer) +[`Range pointer`](https://help.syncfusion.com/flutter/radial-gauge/range-pointer) +[`Widget pointer`](https://help.syncfusion.com/flutter/radial-gauge/widget-pointer) All pointers can be customized to meet your specific requirement. You can add multiple pointers to the gauge to indicate multiple values on the same scale. The value of the pointer is set using the [`value`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/GaugePointer/value.html) property. @@ -22,32 +22,10 @@ All pointers can be customized to meet your specific requirement. You can add mu ## Multiple pointers -By default, no pointer is added to the axis. In addition to the default pointer, you can add any number of pointers to an axis by adding them to the [`pointers`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RadialAxis/pointers.html) collection. +In addition to the default pointer, you can add any number of pointers to an axis by adding then to the [`pointers`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RadialAxis/pointers.html) collection. -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() { - runApp(const MyApp()); -} - -class MyApp extends StatelessWidget { - const MyApp(); - - @override - Widget build(BuildContext context) { - return MaterialApp( - home: const MultiplePointersExample(), - ); - } -} - -class MultiplePointersExample extends StatelessWidget { - const MultiplePointersExample(); - @override Widget build(BuildContext context) { return Scaffold( @@ -66,41 +44,17 @@ class MultiplePointersExample extends StatelessWidget { ), ); } -} {% endhighlight %} -{% endtabs %} ![multiple pointers](images/pointers/multiple_pointer.jpg) -## Pointer dragging +## Pointer Dragging Pointers can be dragged over the scale to change their values interactively. This can be achieved by clicking and dragging the pointer. To enable or disable pointer dragging, use the [`enableDragging`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/GaugePointer/enableDragging.html) property. -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() { - runApp(const MyApp()); -} - -class MyApp extends StatelessWidget { - const MyApp(); - - @override - Widget build(BuildContext context) { - return MaterialApp( - home: const PointerDraggingExample(), - ); - } -} - -class PointerDraggingExample extends StatelessWidget { - const PointerDraggingExample(); - @override Widget build(BuildContext context) { return Scaffold( @@ -129,10 +83,8 @@ class PointerDraggingExample extends StatelessWidget { ), ); } -} {% endhighlight %} -{% endtabs %} ![pointer dragging](images/pointers/pointer-interaction.gif) @@ -146,35 +98,8 @@ class PointerDraggingExample extends StatelessWidget { [`onValueChangeEnd`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/GaugePointer/onValueChangeEnd.html) - Occurs when the pointer dragging is completed. -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() { - runApp(const MyApp()); -} - -class MyApp extends StatelessWidget { - const MyApp(); - - @override - Widget build(BuildContext context) { - return MaterialApp( - home: const EventExample(), - ); - } -} - -class EventExample extends StatefulWidget { - const EventExample(); - - @override - State createState() => _EventExampleState(); -} - -class _EventExampleState extends State { @override Widget build(BuildContext context) { return Scaffold( @@ -208,52 +133,13 @@ class _EventExampleState extends State { // Handle the value change print('Pointer value changed to: $value'); } -} {% endhighlight %} -{% endtabs %} The [`onCreatePointerRenderer`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/MarkerPointer/onCreatePointerRenderer.html) callback allows you to create a custom pointer in the radial gauge. This callback is available for both the [`NeedlePointer`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/NeedlePointer-class.html) or [`MarkerPointer`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/MarkerPointer-class.html) types. -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() { - runApp(const MyApp()); -} - -class MyApp extends StatelessWidget { - const MyApp(); - - @override - Widget build(BuildContext context) { - return MaterialApp( - home: const CustomPointerExample(), - ); - } -} - -class _CustomPointerRenderer extends MarkerPointerRenderer { - @override - void drawPointer( - Canvas canvas, - PointerPaintingDetails pointerPaintingDetails, - SfGaugeThemeData gaugeThemeData, - ) { - canvas.drawCircle( - pointerPaintingDetails.startOffset, - 10, - Paint()..color = Colors.red, - ); - } -} - -class CustomPointerExample extends StatelessWidget { - const CustomPointerExample(); - @override Widget build(BuildContext context) { return Scaffold( @@ -275,9 +161,22 @@ class CustomPointerExample extends StatelessWidget { ), ); } -} + + class _CustomPointerRenderer extends MarkerPointerRenderer { + @override + void drawPointer( + Canvas canvas, + PointerPaintingDetails pointerPaintingDetails, + SfGaugeThemeData gaugeThemeData, + ) { + canvas.drawCircle( + pointerPaintingDetails.startOffset, + 10, + Paint()..color = Colors.red, + ); + } + } {% endhighlight %} -{% endtabs %} ![create pointer callback](images/pointers/on-create-pointer-renderer.png) diff --git a/chart-sdk/flutter/radial-gauge/radial-gauge-title.md b/chart-sdk/flutter/radial-gauge/radial-gauge-title.md index 30bcb1a71..478d77056 100644 --- a/chart-sdk/flutter/radial-gauge/radial-gauge-title.md +++ b/chart-sdk/flutter/radial-gauge/radial-gauge-title.md @@ -1,7 +1,7 @@ --- layout: post -title: Title in Flutter Radial Gauge | Syncfusion® -description: Learn about title customization in Syncfusion® Flutter Radial Gauge (SfRadialGauge), including title text, alignment, styling, and appearance options. +title: Title in Flutter Radial Gauge widget | Syncfusion +description: Learn here all about adding and customizing Title of Syncfusion Flutter Radial Gauge (SfRadialGauge) widget and more. platform: chart-sdk control: SfRadialGauge documentation: ug @@ -15,43 +15,17 @@ The following properties are used to customize the appearance of title, * [`backgroundColor`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/GaugeTitle/backgroundColor.html) - Changes the background color of the title. -* [`borderWidth`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/GaugeTitle/borderWidth.html) – Changes the border width of the title. +* [`borderWidth`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/GaugeTitle/borderWidth.html) – Changes the border width of the title.. * [`borderColor`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/GaugeTitle/borderColor.html) – Changes the border color of the title. * [`textStyle`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/GaugeTitle/textStyle.html) - Changes the text color, size, font family, fontStyle, and font weight. -## Text alignment +## Text Alignment -You can align the title text content horizontally to the near (left), center, or far (right) position relative to the gauge using the [`alignment`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/GaugeTitle/alignment.html) property of [`title`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/GaugeTitle-class.html). The default alignment is `GaugeAlignment.center`. +You can align the title text content horizontally to the near(left), center, or far(right) position relative to the gauge using the [`alignment`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/GaugeTitle/alignment.html) property of[`title`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/GaugeTitle-class.html). -{% tabs %} -{% highlight dart %} - -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() { - runApp(const MyApp()); -} - -class MyApp extends StatelessWidget { - const MyApp({Key? key}) : super(key: key); - - @override - Widget build(BuildContext context) { - return MaterialApp( - title: 'Radial Gauge', - theme: ThemeData( - primarySwatch: Colors.blue, - ), - home: const MyHomePage(), - ); - } -} - -class MyHomePage extends StatelessWidget { - const MyHomePage({Key? key}) : super(key: key); +{% highlight dart %} @override Widget build(BuildContext context) { @@ -61,7 +35,7 @@ class MyHomePage extends StatelessWidget { title: GaugeTitle( text: 'SfRadialGauge', backgroundColor: Colors.lightBlueAccent, - textStyle: const TextStyle( + textStyle: TextStyle( fontSize: 15, fontWeight: FontWeight.bold, fontStyle: FontStyle.italic, @@ -75,13 +49,11 @@ class MyHomePage extends StatelessWidget { axes: [ RadialAxis() ], - ), + ) ), ); } -} {% endhighlight %} -{% endtabs %} ![Gauge title](images/title/gauge_title.jpg) \ No newline at end of file diff --git a/chart-sdk/flutter/radial-gauge/range-pointer.md b/chart-sdk/flutter/radial-gauge/range-pointer.md index 6243f05d9..f89d5f96e 100644 --- a/chart-sdk/flutter/radial-gauge/range-pointer.md +++ b/chart-sdk/flutter/radial-gauge/range-pointer.md @@ -1,7 +1,7 @@ --- layout: post -title: Range Pointer in Flutter Radial Gauge | Syncfusion® -description: Learn about range pointers in Syncfusion® Flutter Radial Gauge (SfRadialGauge), including value representation, customization, animation, and styling options. +title: Range Pointer in Flutter Radial Gauge widget | Syncfusion +description: Learn here all about adding and customizing Range Pointer of Syncfusion Flutter Radial Gauge (SfRadialGauge) widget and more. platform: chart-sdk control: SfRadialGauge documentation: ug @@ -9,43 +9,28 @@ documentation: ug # Range Pointer in Flutter Radial Gauge (SfRadialGauge) -A range pointer is an accenting line or shaded background range that can be placed on a gauge to mark the current value. The default width is 10 logical pixels, with a default color of RGB(0, 168, 231). +A range pointer is an accenting line or shaded background range that can be placed on a gauge to mark the current value. -{% tabs %} {% highlight dart %} -import 'package:syncfusion_flutter_gauges/gauges.dart'; -import 'package:flutter/material.dart'; - -void main() { - runApp(const MyApp()); -} - -class MyApp extends StatelessWidget { - const MyApp({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { - return MaterialApp( - home: Scaffold( - body: Center( - child: SfRadialGauge( - axes: [ - RadialAxis( - pointers: [ - RangePointer(value: 30) - ] - ) - ], - ) - ), + return Scaffold( + body: Center( + child: SfRadialGauge( + axes: [ + RadialAxis( + pointers: [ + RangePointer(value: 30) + ] + ) + ], + ) ), ); } -} {% endhighlight %} -{% endtabs %} ![default range pointer](images/range-pointer/pointer_default.jpg) @@ -57,48 +42,33 @@ The following properties are used to customize the range pointer: * [`sizeUnit`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RangePointer/sizeUnit.html) – Specifies whether the [`width`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RangePointer/width.html) and the [`pointerOffset`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RangePointer/pointerOffset.html) are defined in logical pixels or factor. -The [`width`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RangePointer/width.html) of the pointer can be specified either in logical pixel or factor. If the [`sizeUnit`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RangePointer/sizeUnit.html) is specified as [`GaugeSizeUnit.logicalPixel`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/GaugeSizeUnit.html), then the range will be rendered based on the provided pixel value. If the [`sizeUnit`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RangePointer/sizeUnit.html) is set as [`GaugeSizeUnit.factor`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/GaugeSizeUnit.html), the provided factor value will be multiplied with axis radius. For example, if the width is set as 0.1, then 10% of axis radius is considered as the range pointer width. +The [`width`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RangePointer/width.html) of the pointer can be specified either in logical pixel or factor. If the [`sizeUnit`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RangePointer/sizeUnit.html) is specified as logicalPixel, then the range will be rendered based on the provided pixel value. If the [`sizeUnit`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RangePointer/sizeUnit.html)is set as factor, the provided factor value will be multiplied with axis radius. For example, if the width is set as 0.1, then 10% of axis radius is considered as the range pointer width. -{% tabs %} {% highlight dart %} -import 'package:syncfusion_flutter_gauges/gauges.dart'; -import 'package:flutter/material.dart'; - -void main() { - runApp(const MyApp()); -} - -class MyApp extends StatelessWidget { - const MyApp({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { - return MaterialApp( - home: Scaffold( - body: Center( - child: SfRadialGauge( - axes: [ - RadialAxis( - pointers: [ - RangePointer( - value: 30, - width: 0.1, - color: Colors.indigo, - sizeUnit: GaugeSizeUnit.factor - ) - ] - ) - ], - ) - ), + return Scaffold( + body: Center( + child: SfRadialGauge( + axes: [ + RadialAxis( + pointers: [ + RangePointer( + value: 30, + width: 0.1, + color: Colors.indigo, + sizeUnit: GaugeSizeUnit.factor + ) + ] + ) + ], + ) ), ); } -} {% endhighlight %} -{% endtabs %} ![range pointer customization](images/range-pointer/pointer_customization.jpg) @@ -108,44 +78,29 @@ class MyApp extends StatelessWidget { The [`dashArray`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RangePointer/dashArray.html) property of [`range pointer`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RangePointer-class.html) allows rendering the range pointer as a dashed line. -{% tabs %} {% highlight dart %} -import 'package:syncfusion_flutter_gauges/gauges.dart'; -import 'package:flutter/material.dart'; - -void main() { - runApp(const MyApp()); -} - -class MyApp extends StatelessWidget { - const MyApp({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { - return MaterialApp( - home: Scaffold( - body: Center( - child: SfRadialGauge( - axes: [ - RadialAxis( - pointers: [ - RangePointer( - value: 60, - dashArray: [8, 2] - ) - ] - ) - ] - ), + return Scaffold( + body: Center( + child: SfRadialGauge( + axes: [ + RadialAxis( + pointers: [ + RangePointer( + value: 60, + dashArray: [8, 2] + ) + ] + ) + ] ), ), ); } -} {% endhighlight %} -{% endtabs %} ![range pointer dasharray](images/range-pointer/pointer_dasharray.png) @@ -154,98 +109,68 @@ class MyApp extends StatelessWidget { The [`gradient`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RangePointer/gradient.html) property of [`range pointer`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RangePointer-class.html) allows you to specify a smooth color transition for the pointer by defining different colors based on provided factor values. - {% tabs %} -{% highlight dart %} - -import 'package:syncfusion_flutter_gauges/gauges.dart'; -import 'package:flutter/material.dart'; - -void main() { - runApp(const MyApp()); -} - -class MyApp extends StatelessWidget { - const MyApp({Key? key}) : super(key: key); + {% highlight dart %} @override Widget build(BuildContext context) { - return MaterialApp( - home: Scaffold( - body: Center( - child: SfRadialGauge( - axes: [ - RadialAxis( - axisLineStyle: AxisLineStyle( - thickness: 0.1, - thicknessUnit: GaugeSizeUnit.factor, - ), - pointers: [ - RangePointer( - value: 40, - width: 0.1, - sizeUnit: GaugeSizeUnit.factor, - gradient: const SweepGradient( - colors: [Color(0xFFCC2B5E), Color(0xFF753A88)], - stops: [0.25, 0.75] - ), - ) - ] + return Scaffold( + body: Center( + child: SfRadialGauge( + axes: [ + RadialAxis( + axisLineStyle: AxisLineStyle( + thickness: 0.1, + thicknessUnit: GaugeSizeUnit.factor, ), - ] - ), + pointers: [ + RangePointer( + value: 40, + width: 0.1, + sizeUnit: GaugeSizeUnit.factor, + gradient: const SweepGradient( + colors: [Color(0xFFCC2B5E), Color(0xFF753A88)], + stops: [0.25, 0.75] + ), + ) + ] + ), + ] ), ), ); } -} {% endhighlight %} -{% endtabs %} ![range pointer gradient](images/range-pointer/pointer_gradient.jpg) -**corner customization** +**Corner customization** The [`cornerStyle`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RangePointer/cornerStyle.html) property of [`range pointer`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RangePointer-class.html) specifies the corner type for the pointer. The corners can be customized using the bothFlat, bothCurve, startCurve, and endCurve options. The default value of this property is bothFlat. - {% tabs %} -{% highlight dart %} - -import 'package:syncfusion_flutter_gauges/gauges.dart'; -import 'package:flutter/material.dart'; - -void main() { - runApp(const MyApp()); -} - -class MyApp extends StatelessWidget { - const MyApp({Key? key}) : super(key: key); + {% highlight dart %} @override Widget build(BuildContext context) { - return MaterialApp( - home: Scaffold( - body: Center( - child: SfRadialGauge( - axes: [ - RadialAxis( - pointers: [ - RangePointer( - value: 30, - cornerStyle: CornerStyle.bothCurve - ) - ] - ) - ], - ) - ), + return Scaffold( + body: Center( + child: SfRadialGauge( + axes: [ + RadialAxis( + pointers: [ + RangePointer( + value: 30, + cornerStyle: CornerStyle.bothCurve + ) + ] + ) + ], + ) ), ); } -} {% endhighlight %} -{% endtabs %} ![range pointer customization](images/range-pointer/pointer_corner.jpg) @@ -253,47 +178,32 @@ class MyApp extends StatelessWidget { The range pointer can be moved farther from or closer to the axis line using the [`pointerOffset`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RangePointer/pointerOffset.html) property. The [`pointerOffset`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RangePointer/pointerOffset.html) can be set either in logical pixel or factor value using its [`sizeUnit`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RangePointer/sizeUnit.html). The [`sizeUnit`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RangePointer/sizeUnit.html) property is common for both[`width`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RangePointer/width.html) and [`pointerOffset`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RangePointer/pointerOffset.html) -{% tabs %} {% highlight dart %} -import 'package:syncfusion_flutter_gauges/gauges.dart'; -import 'package:flutter/material.dart'; - -void main() { - runApp(const MyApp()); -} - -class MyApp extends StatelessWidget { - const MyApp({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { - return MaterialApp( - home: Scaffold( - body: Center( - child: SfRadialGauge( - axes: [ - RadialAxis( - pointers: [ - RangePointer( - value: 30, - pointerOffset: 50 - ) - ] - ) - ], - ) - ), + return Scaffold( + body: Center( + child: SfRadialGauge( + axes: [ + RadialAxis( + pointers: [ + RangePointer( + value: 30, + pointerOffset: 50 + ) + ] + ) + ], + ) ), ); } -} {% endhighlight %} -{% endtabs %} ![pointer position customization](images/range-pointer/pointer_offset.jpg) -When you set the [`sizeUnit`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RangePointer/sizeUnit.html) as [`GaugeSizeUnit.logicalPixel`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/GaugeSizeUnit.html), the pointer will be moved to the provided logical pixel value. +When you set the [`sizeUnit`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RangePointer/sizeUnit.html) as logical pixel, the pointer will be moved to the provided logical pixel value. -If the [`sizeUnit`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RangePointer/sizeUnit.html) is specified as [`GaugeSizeUnit.factor`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/GaugeSizeUnit.html), the factor value will be multiplied with the axis radius. For example, if you set [`pointerOffset`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RangePointer/pointerOffset.html) as 0.1, then the pointer offset is considered as 10% of axis radius. +If the [`sizeUnit`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RangePointer/sizeUnit.html) is specified as factor, the factor value will be multiplied with the axis radius. For example, if you set [`pointerOffset`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RangePointer/pointerOffset.html) as 0.1, then the pointer offset is considered as 10% of axis radius. diff --git a/chart-sdk/flutter/radial-gauge/ranges.md b/chart-sdk/flutter/radial-gauge/ranges.md index 5b53e4922..76cad5288 100644 --- a/chart-sdk/flutter/radial-gauge/ranges.md +++ b/chart-sdk/flutter/radial-gauge/ranges.md @@ -1,13 +1,13 @@ --- layout: post -title: Ranges in Flutter Radial Gauge | Syncfusion® -description: Learn about ranges in Syncfusion® Flutter Radial Gauge (SfRadialGauge), including range customization, colors, gradients, labels, and styling options. +title: Ranges in Flutter Radial Gauge | Syncfusion +description: Step-by-step guide to add and customize ranges in Syncfusion Flutter Radial Gauge—configure start/end values, colors, gradients, offsets, and labels. platform: chart-sdk control: SfRadialGauge documentation: ug --- -# Ranges in Flutter Radial Gauge (SfRadialGauge) +# Flutter Radial Gauge Ranges (SfRadialGauge) Gauge ranges are visual elements that help to quickly visualize where a value falls on the axis. Text can be easily annotated in ranges to improve readability. @@ -15,39 +15,26 @@ Gauge ranges are visual elements that help to quickly visualize where a value fa The start and end values of ranges are set using the [`startValue`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/GaugeRange/startValue.html) and [`endValue`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/GaugeRange/endValue.html) properties. -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const RangesDemo()); - -class RangesDemo extends StatelessWidget { - const RangesDemo({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { - return MaterialApp( - home: Scaffold( - body: Center( - child: SfRadialGauge( - axes: [ - RadialAxis( - ranges: [ - GaugeRange(startValue: 30, endValue: 65) - ] - ) - ], - ) - ), + return Scaffold( + body: Center( + child: SfRadialGauge( + axes: [ + RadialAxis( + ranges: [ + GaugeRange(startValue: 30, endValue: 65) + ] + ) + ], + ) ), ); } -} {% endhighlight %} -{% endtabs %} ![default range](images/range/range_default.jpg) @@ -65,44 +52,31 @@ The following properties are used for range customization: * [`gradient`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/GaugeRange/gradient.html) - Specifies the gradient for the range. -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const RangesDemo()); - -class RangesDemo extends StatelessWidget { - const RangesDemo({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { - return MaterialApp( - home: Scaffold( - body: Center( - child: SfRadialGauge( - axes: [ - RadialAxis( - ranges: [ - GaugeRange( - startValue: 30, - endValue: 65, - startWidth: 5, - endWidth: 20 - ) - ] - ) - ], - ) - ), + return Scaffold( + body: Center( + child: SfRadialGauge( + axes: [ + RadialAxis( + ranges: [ + GaugeRange( + startValue: 30, + endValue: 65, + startWidth: 5, + endWidth: 20 + ) + ] + ) + ], + ) ), ); } -} {% endhighlight %} -{% endtabs %} ![range thickness](images/range/range_thickness.jpg) @@ -114,48 +88,35 @@ If the [`sizeUnit`](https://pub.dev/documentation/syncfusion_flutter_gauges/late The [`gradient`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/GaugeRange/gradient.html) property of [`range`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/GaugeRange-class.html) allows to specify the smooth color transition to pointer by specifying the different colors based on provided factor value. -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const RangesDemo()); - -class RangesDemo extends StatelessWidget { - const RangesDemo({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { - return MaterialApp( - home: Scaffold( - body: Center( - child: SfRadialGauge( - axes: [ - RadialAxis( - ranges: [ - GaugeRange( - startValue: 30, - endValue: 65, - gradient: const SweepGradient( - colors: [Color(0xFFBC4E9C), Color(0xFFF80759)], - stops: [0.25, 0.75] - ), - startWidth: 5, - endWidth: 20 - ) - ] - ) - ], - ) - ), + return Scaffold( + body: Center( + child: SfRadialGauge( + axes: [ + RadialAxis( + ranges: [ + GaugeRange( + startValue: 30, + endValue: 65, + gradient: const SweepGradient( + colors: [Color(0xFFBC4E9C), Color(0xFFF80759)], + stops: [0.25, 0.75] + ), + startWidth: 5, + endWidth: 20 + ) + ] + ) + ], + ) ), ); } -} {% endhighlight %} -{% endtabs %} ![range gradient](images/range/range_gradient.jpg) @@ -165,46 +126,33 @@ class RangesDemo extends StatelessWidget { If the [`sizeUnit`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/GaugeRange/sizeUnit.html) is set as logical pixels, then the range will be moved based on the provided logical pixel value. -If the [`sizeUnit`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/GaugeRange/sizeUnit.html) is set as factor, the provided factor value will be multiplied with the axis radius. Then the range will be moved to the corresponding value. +If the [`sizeUnit`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/GaugeRange/sizeUnit.html) is set as factor, the factor value will be multiplied with the axis radius.Then the pointer will be moved to the corresponding value The [`sizeUnit`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/GaugeRange/sizeUnit.html) property is common for the [`rangeOffset`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/GaugeRange/rangeOffset.html), [`startWidth`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/GaugeRange/startWidth.html) and the [`endWidth`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/GaugeRange/endWidth.html) properties. The default value of [`sizeUnit`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/GaugeRange/sizeUnit.html) is logicalPixel. -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const RangesDemo()); - -class RangesDemo extends StatelessWidget { - const RangesDemo({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { - return MaterialApp( - home: Scaffold( - body: Center( - child: SfRadialGauge( - axes: [ - RadialAxis( - ranges: [ - GaugeRange( - startValue: 30, - endValue: 65, - rangeOffset: 50 - ) - ] - ) - ], - ) - ), + return Scaffold( + body: Center( + child: SfRadialGauge( + axes: [ + RadialAxis( + ranges: [ + GaugeRange( + startValue: 30, + endValue: 65, + rangeOffset: 50 + ) + ] + ) + ], + ) ), ); } -} - + {% endhighlight %} -{% endtabs %} ![range offset](images/range/range_offset.jpg) @@ -212,88 +160,75 @@ class RangesDemo extends StatelessWidget { You can apply range color to axis labels and ticks using the [`useRangeColorForAxis`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/RadialAxis/useRangeColorForAxis.html) property of the axis. -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const RangesDemo()); - -class RangesDemo extends StatelessWidget { - const RangesDemo({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { - return MaterialApp( - home: Scaffold( - body: Center( - child: SfRadialGauge( - axes: [ - RadialAxis( - showAxisLine: false, - ticksPosition: ElementsPosition.outside, - labelsPosition: ElementsPosition.outside, - startAngle: 270, - endAngle: 270, - useRangeColorForAxis: true, - interval: 10, - axisLabelStyle: GaugeTextStyle( - fontWeight: FontWeight.w500, - fontSize: 12 + return Scaffold( + body: Center( + child: SfRadialGauge( + axes: [ + RadialAxis( + showAxisLine: false, + ticksPosition: ElementsPosition.outside, + labelsPosition: ElementsPosition.outside, + startAngle: 270, + endAngle: 270, + useRangeColorForAxis: true, + interval: 10, + axisLabelStyle: GaugeTextStyle( + fontWeight: FontWeight.w500, + fontSize: 12 + ), + majorTickStyle: MajorTickStyle( + length: 0.15, + lengthUnit: GaugeSizeUnit.factor, + thickness: 1 + ), + minorTicksPerInterval: 4, + labelOffset: 15, + minorTickStyle: MinorTickStyle( + length: 0.04, + lengthUnit: GaugeSizeUnit.factor, + thickness: 1 + ), + ranges: [ + GaugeRange( + startValue: 0, + endValue: 35, + color: Color(0xFFF8B195), + sizeUnit: GaugeSizeUnit.factor, + rangeOffset: 0.06, + startWidth: 0.05, + endWidth: 0.25 ), - majorTickStyle: MajorTickStyle( - length: 0.15, - lengthUnit: GaugeSizeUnit.factor, - thickness: 1 + GaugeRange( + startValue: 35, + endValue: 70, + rangeOffset: 0.06, + sizeUnit: GaugeSizeUnit.factor, + color: Color(0xFFC06C84), + startWidth: 0.05, + endWidth: 0.25 ), - minorTicksPerInterval: 4, - labelOffset: 15, - minorTickStyle: MinorTickStyle( - length: 0.04, - lengthUnit: GaugeSizeUnit.factor, - thickness: 1 + GaugeRange( + startValue: 70, + endValue: 100, + rangeOffset: 0.06, + sizeUnit: GaugeSizeUnit.factor, + color: Color(0xFF355C7D), + startWidth: 0.05, + endWidth: 0.25 ), - ranges: [ - GaugeRange( - startValue: 0, - endValue: 35, - color: Color(0xFFF8B195), - sizeUnit: GaugeSizeUnit.factor, - rangeOffset: 0.06, - startWidth: 0.05, - endWidth: 0.25 - ), - GaugeRange( - startValue: 35, - endValue: 70, - rangeOffset: 0.06, - sizeUnit: GaugeSizeUnit.factor, - color: Color(0xFFC06C84), - startWidth: 0.05, - endWidth: 0.25 - ), - GaugeRange( - startValue: 70, - endValue: 100, - rangeOffset: 0.06, - sizeUnit: GaugeSizeUnit.factor, - color: Color(0xFF355C7D), - startWidth: 0.05, - endWidth: 0.25 - ), - ] - ) - ], - ) - ), + ] + ) + ], + ) ), ); } -} {% endhighlight %} -{% endtabs %} ![range color to axis element](images/range/range_axislabels.jpg) @@ -301,76 +236,63 @@ class RangesDemo extends StatelessWidget { Text can be displayed on a range using the [`label`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/GaugeRange/label.html) property. The provided text can be customized using the [`labelStyle`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/GaugeRange/labelStyle.html) property. -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() => runApp(const RangesDemo()); - -class RangesDemo extends StatelessWidget { - const RangesDemo({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { - return MaterialApp( - home: Scaffold( - body: Center( - child: SfRadialGauge( - axes: [ - RadialAxis( - showLabels: false, - showAxisLine: false, - showTicks: false, - minimum: 0, - maximum: 99, - ranges: [ - GaugeRange( - startValue: 0, - endValue: 33, - color: Color(0xFFFE2A25), - label: 'Slow', - sizeUnit: GaugeSizeUnit.factor, - labelStyle: GaugeTextStyle(fontFamily: 'Times', fontSize: 20), - startWidth: 0.65, - endWidth: 0.65 - ), - GaugeRange( - startValue: 33, - endValue: 66, - color: Color(0xFFFFBA00), - label: 'Moderate', - labelStyle: GaugeTextStyle(fontFamily: 'Times', fontSize: 20), - startWidth: 0.65, - endWidth: 0.65, - sizeUnit: GaugeSizeUnit.factor - ), - GaugeRange( - startValue: 66, - endValue: 99, - color: Color(0xFF00AB47), - label: 'Fast', - labelStyle: GaugeTextStyle(fontFamily: 'Times', fontSize: 20), - sizeUnit: GaugeSizeUnit.factor, - startWidth: 0.65, - endWidth: 0.65 - ), - ], - pointers: [ - NeedlePointer(value: 60) - ] - ) - ], - ) - ), + return Scaffold( + body: Center( + child: SfRadialGauge( + axes: [ + RadialAxis( + showLabels: false, + showAxisLine: false, + showTicks: false, + minimum: 0, + maximum: 99, + ranges: [ + GaugeRange( + startValue: 0, + endValue: 33, + color: Color(0xFFFE2A25), + label: 'Slow', + sizeUnit: GaugeSizeUnit.factor, + labelStyle: GaugeTextStyle(fontFamily: 'Times', fontSize: 20), + startWidth: 0.65, + endWidth: 0.65 + ), + GaugeRange( + startValue: 33, + endValue: 66, + color: Color(0xFFFFBA00), + label: 'Moderate', + labelStyle: GaugeTextStyle(fontFamily: 'Times', fontSize: 20), + startWidth: 0.65, + endWidth: 0.65, + sizeUnit: GaugeSizeUnit.factor + ), + GaugeRange( + startValue: 66, + endValue: 99, + color: Color(0xFF00AB47), + label: 'Fast', + labelStyle: GaugeTextStyle(fontFamily: 'Times', fontSize: 20), + sizeUnit: GaugeSizeUnit.factor, + startWidth: 0.65, + endWidth: 0.65 + ), + ], + pointers: [ + NeedlePointer(value: 60) + ] + ) + ], + ) ), ); } -} {% endhighlight %} -{% endtabs %} ![range label](images/range/range_datalabel.jpg) diff --git a/chart-sdk/flutter/radial-gauge/widget-pointer.md b/chart-sdk/flutter/radial-gauge/widget-pointer.md index f01db58ba..8b23b61db 100644 --- a/chart-sdk/flutter/radial-gauge/widget-pointer.md +++ b/chart-sdk/flutter/radial-gauge/widget-pointer.md @@ -1,7 +1,7 @@ --- layout: post -title: Widget Pointer in Flutter Radial Gauge | Syncfusion® -description: Learn about widget pointers in Syncfusion® Flutter Radial Gauge (SfRadialGauge), including custom widgets, positioning, styling, and interactive gauge elements. +title: Widget Pointer in Flutter Radial Gauge widget | Syncfusion +description: Learn here all about adding and customizing Widget Pointer of Syncfusion Flutter Radial Gauge (SfRadialGauge) widget and more. platform: chart-sdk control: SfRadialGauge documentation: ug @@ -11,33 +11,8 @@ documentation: ug [`WidgetPointer`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/WidgetPointer-class.html) allows you to point to a desired value with any Flutter widget in a gauge scale. You can set the desired widget to its [`child`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/WidgetPointer/child.html) property to annotate the pointer value. -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() { - runApp(const MyApp()); -} - -class MyApp extends StatelessWidget { - const MyApp({Key? key}) : super(key: key); - - @override - Widget build(BuildContext context) { - return MaterialApp( - home: Scaffold( - appBar: AppBar(title: const Text('Widget Pointer')), - body: const MyHomePage(), - ), - ); - } -} - -class MyHomePage extends StatelessWidget { - const MyHomePage({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { return Scaffold( @@ -67,7 +42,7 @@ class MyHomePage extends StatelessWidget { height: 30.00, decoration: BoxDecoration( image: DecorationImage( - image: AssetImage('images/sun.png'), + image: ExactAssetImage('images/sun.png'), fit: BoxFit.fitHeight, ), ) @@ -95,10 +70,8 @@ class MyHomePage extends StatelessWidget { ), ); } -} {% endhighlight %} -{% endtabs %} ![default widget pointer](images/widget-pointer/widget_pointer.png) @@ -106,37 +79,10 @@ class MyHomePage extends StatelessWidget { The widget pointer can be moved near or far from its actual position using the [`offset`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/WidgetPointer/offset.html) and [`offsetUnit`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/WidgetPointer/offsetUnit.html) properties. -When you set [`offsetUnit`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/WidgetPointer/offsetUnit.html) to logical pixel, the widget pointer will be moved based on the logical pixel value. If you set [`offsetUnit`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/WidgetPointer/offsetUnit.html) to factor, the provided factor will be multiplied by the axis radius value, and the pointer will be moved to the corresponding value. The default value of [`offsetUnit`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/WidgetPointer/offsetUnit.html) is [`GaugeSizeUnit.logicalPixel`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/GaugeSizeUnit.html). - -**Note:** Add the image to your pubspec.yaml assets section. +When you set [`offsetUnit`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/WidgetPointer/offsetUnit.html) to logical pixel, then the widget pointer will be moved based on the logical pixel value. If you set [`offsetUnit`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/WidgetPointer/offsetUnit.html) to factor, then provided factor will be multiplied with the axis radius value, and then the pointer will be moved to corresponding value. The default value of [`offsetUnit`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/WidgetPointer/offsetUnit.html) is [`GaugeSizeUnit.logicalPixel`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/GaugeSizeUnit-class.html). -{% tabs %} {% highlight dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_gauges/gauges.dart'; - -void main() { - runApp(const MyApp()); -} - -class MyApp extends StatelessWidget { - const MyApp({Key? key}) : super(key: key); - - @override - Widget build(BuildContext context) { - return MaterialApp( - home: Scaffold( - appBar: AppBar(title: const Text('Widget Pointer with Offset')), - body: const MyHomePage(), - ), - ); - } -} - -class MyHomePage extends StatelessWidget { - const MyHomePage({Key? key}) : super(key: key); - @override Widget build(BuildContext context) { return Scaffold( @@ -167,7 +113,7 @@ class MyHomePage extends StatelessWidget { height: 30.00, decoration: BoxDecoration( image: DecorationImage( - image: AssetImage('images/sun.png'), + image: ExactAssetImage('images/sun.png'), fit: BoxFit.fitHeight, ), ) @@ -195,9 +141,7 @@ class MyHomePage extends StatelessWidget { ), ); } -} {% endhighlight %} -{% endtabs %} ![widget pointer position](images/widget-pointer/widget_pointer_position.png) diff --git a/chart-sdk/flutter/range-selector/accessibility.md b/chart-sdk/flutter/range-selector/accessibility.md new file mode 100644 index 000000000..990fe88f3 --- /dev/null +++ b/chart-sdk/flutter/range-selector/accessibility.md @@ -0,0 +1,87 @@ +--- +layout: post +title: Accessibility in Flutter Range Selector widget | Syncfusion +description: Learn here all about the accessibility support in Syncfusion Flutter Range Selector (SfRangeSelector) widget. +platform: chart-sdk +control: SfRangeSelector +documentation: ug +--- + +# Accessibility in Flutter Range Selector (SfRangeSelector) + +## Keyboard support + +This feature allows you to focus on the [`SfRangeSelector`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector-class.html) widget using the TAB key and adjust its values with the keyboard arrow keys. By default, the start thumb receives focus first. The left and down arrow keys can be used to decrease the value of the focused thumb, while the right and up arrow keys can be used to increase it. + +N> In [`SfRangeSelector`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector-class.html), keyboard accessibility is not supported when [`dragMode`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/dragMode.html) is set to `SliderDragMode.betweenThumbs`, as focus can only be applied to one thumb at a time. + +## Screen reader + +The [`SfRangeSelector`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector-class.html) can be accessed by screen readers. The default reading format for start thumb is `The start value is ${values.start}` and end thumb is `the end value is ${values.end}`. You can change the reading format using the [`semanticFormatterCallback`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/semanticFormatterCallback.html) property. + +For Android, you can adjust the value of each thumb by moving the focus to the thumb and then pressing the volume buttons to increase or decrease the value. + +For iOS, you can adjust the value of each thumb by moving the focus to the thumb and then swiping up or down to increase or decrease the value respectively. + +{% tabs %} +{% highlight Dart %} + +SfRangeValues _values = SfRangeValues(40.0, 60.0); + +@override +Widget build(BuildContext context) { + return MaterialApp( + home: Scaffold( + body: Center( + child: SfRangeSelector( + min: 0.0, + max: 100.0, + initialValues: _values, + interval: 20, + showTicks: true, + showLabels: true, + semanticFormatterCallback: (dynamic value, SfThumb thumb){ + return 'The $thumb value is $value'; + }, + onChanged: (SfRangeValues newValues) { + setState(() { + _values = newValues; + }); + }, + child: Container( + height: 200, + color: Colors.pink[200], + ), + ), + ) + ), + ); +} + +{% endhighlight %} +{% endtabs %} + +## Sufficient contrast + +You can customize the color of the [`SfRangeSelector`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector-class.html) elements using the following APIs for the sufficient contrast. + +* [`Track`](https://help.syncfusion.com/flutter/range-selector/track#track-color) +* [`Major ticks`](https://help.syncfusion.com/flutter/range-selector/ticks#major-ticks-color) +* [`Minor ticks`](https://help.syncfusion.com/flutter/range-selector/ticks#minor-ticks-color) +* [`Labels`](https://help.syncfusion.com/flutter/range-selector/labels-and-divider#show-labels) +* [`Dividers`](https://help.syncfusion.com/flutter/range-selector/labels-and-divider#show-dividers) +* [`Thumb`](https://help.syncfusion.com/flutter/range-selector/thumb-and-overlay#thumb-color) +* [`Thumb overlay`](https://help.syncfusion.com/flutter/range-selector/thumb-and-overlay#thumb-overlay-color) +* [`Active region color`](https://help.syncfusion.com/flutter/range-selector/basic-features#active-region-color) +* [`Inactive region color`](https://help.syncfusion.com/flutter/range-selector/basic-features#inactive-region-color) + +## Large fonts + +The font size of the [`SfRangeSelector`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector-class.html) will be automatically scaled based on the device settings. Also, you can change the font size of the [`SfRangeSelector`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector-class.html) elements using the following APIs: + +* [`Label style`](https://help.syncfusion.com/flutter/range-selector/labels-and-divider#label-style) +* [`Tooltip label style`](https://help.syncfusion.com/flutter/range-selector/tooltip#tooltip-label-style) + +## Easier touch targets + +The [`SfRangeSelector`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector-class.html) has touch target as 48 * 48 as per the standard for all the elements. diff --git a/chart-sdk/flutter/range-selector/basic-features.md b/chart-sdk/flutter/range-selector/basic-features.md new file mode 100644 index 000000000..d47a7f7d7 --- /dev/null +++ b/chart-sdk/flutter/range-selector/basic-features.md @@ -0,0 +1,600 @@ +--- +layout: post +title: Basic features in Flutter Range Selector widget | Syncfusion +description: Learn here all about adding the Basic features in Syncfusion Flutter Range Selector (SfRangeSelector) widget and more. +platform: chart-sdk +control: SfRangeSelector +documentation: ug +--- + +# Basic features in Flutter Range Selector (SfRangeSelector) +This section explains about how to add the numeric and date range selector. + +## Minimum + +The minimum value that the user can select. The default value of [`min`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/min.html) property is 0.0 and it must be less than the [`max`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/max.html) value. + +## Maximum + +The maximum value that the user can select. The default value of [`max`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/max.html) property is 1.0 and it must be greater than the [`min`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/min.html) value. + +## Initial values + +It represents the initial values in the range selector. The range selector's thumb is drawn corresponding to this value. + +N> For date values, the range selector does not have auto interval support. So, it is mandatory to set [`interval`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/interval.html), [`dateIntervalType`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/dateIntervalType.html), and [`dateFormat`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/dateFormat.html) for date values. + +**Numeric range selector** + +You can show numeric values in the range selector by setting `double` values to the [`min`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/min.html), [`max`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/max.html) and [`initialValues`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/initialValues.html) properties. + +{% tabs %} +{% highlight Dart %} + +final double _min = 2.0; +final double _max = 10.0; +SfRangeValues _values = SfRangeValues(5.0, 8.0); + +final List _chartData = [ + Data(x:2.0, y: 2.2), + Data(x:3.0, y: 3.4), + Data(x:4.0, y: 2.8), + Data(x:5.0, y: 1.6), + Data(x:6.0, y: 2.3), + Data(x:7.0, y: 2.5), + Data(x:8.0, y: 2.9), + Data(x:9.0, y: 3.8), + Data(x:10.0, y: 3.7), +]; + +@override +Widget build(BuildContext context) { + return MaterialApp( + home: Scaffold( + body: Center( + child: SfRangeSelector( + min: _min, + max: _max, + interval: 1, + showLabels: true, + showTicks: true, + initialValues: _values, + child: Container( + height: 130, + child: SfCartesianChart( + margin: const EdgeInsets.all(0), + primaryXAxis: NumericAxis(minimum: _min, + maximum: _max, + isVisible: false,), + primaryYAxis: NumericAxis(isVisible: false), + plotAreaBorderWidth: 0, + series: >[ + SplineAreaSeries( + color: Color.fromARGB(255, 126, 184, 253), + dataSource: _chartData, + xValueMapper: (Data sales, int index) => sales.x, + yValueMapper: (Data sales, int index) => sales.y) + ], + ), + ), + ), + ) + ) + ); +} + +class Data { + Data({required this.x, required this.y}); + final double x; + final double y; +} + +{% endhighlight %} +{% endtabs %} + +![Numeric range selector](images/basic-features/selector_numeric_label.png) + +**Date range selector** + +You can show date values in the range selector by setting `DateTime` values to the [`min`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/min.html), [`max`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/max.html) and [`initialValues`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/initialValues.html) properties. + +N> You must import [`intl`](https://pub.dev/packages/intl) package for formatting date range selector using the [`DateFormat`](https://pub.dev/documentation/intl/latest/intl/DateFormat-class.html) class. + +{% tabs %} +{% highlight Dart %} + +final DateTime _min = DateTime(2002, 01, 01); +final DateTime _max = DateTime(2010, 01, 01); +SfRangeValues _values = SfRangeValues(DateTime(2005, 01, 01), DateTime(2008, 01, 01)); + +final List _chartData = [ + Data(x: DateTime(2002, 01, 01), y: 2.2), + Data(x: DateTime(2003, 01, 01), y: 3.4), + Data(x: DateTime(2004, 01, 01), y: 2.8), + Data(x: DateTime(2005, 01, 01), y: 1.6), + Data(x: DateTime(2006, 01, 01), y: 2.3), + Data(x: DateTime(2007, 01, 01), y: 2.5), + Data(x: DateTime(2008, 01, 01), y: 2.9), + Data(x: DateTime(2009, 01, 01), y: 3.8), + Data(x: DateTime(2010, 01, 01), y: 3.7), +]; + +@override +Widget build(BuildContext context) { + return MaterialApp( + home: Scaffold( + body: Center( + child: SfRangeSelector( + min: _min, + max: _max, + showLabels: true, + showTicks: true, + interval: 1, + dateFormat: DateFormat.y(), + dateIntervalType: DateIntervalType.years, + initialValues: _values, + child: Container( + height: 130, + child: SfCartesianChart( + margin: const EdgeInsets.all(0), + primaryXAxis: DateTimeAxis( + minimum: _min, + maximum: _max, + isVisible: false,), + primaryYAxis: NumericAxis(isVisible: false), + plotAreaBorderWidth: 0, + series: >[ + SplineAreaSeries( + color: Color.fromARGB(255, 126, 184, 253), + dataSource: _chartData, + xValueMapper: (Data sales, int index) => sales.x, + yValueMapper: (Data sales, int index) => sales.y) + ], + ), + ), + ), + ) + ) + ); +} + +class Data { + Data({required this.x, required this.y}); + final DateTime x; + final double y; +} + +{% endhighlight %} +{% endtabs %} + +![Date range selector](images/basic-features/selector_date_label.png) + +## Handle onChangeStart, onChanged, and onChangeEnd callbacks + +**onChangeStart** + +The [`onChangeStart`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/onChangeStart.html) callback is called when the user begins to interact with range selector using a tap or drag action. This callback is only used to notify the user that the interaction has started and it does not change the value of the range selector thumb. + +{% tabs %} +{% highlight Dart %} + +SfRangeValues _values = SfRangeValues(4.0, 6.0); + +@override +Widget build(BuildContext context) { + return Scaffold( + body: SfRangeSelector( + min: 0.0, + max: 10.0, + initialValues: _values, + onChangeStart: (SfRangeValues startValues) { + print('Interaction started'); + }, + onChanged: (SfRangeValues newValues) {}, + child: SizedBox(), + ), + ); +} + +{% endhighlight %} +{% endtabs %} + +**onChangeEnd** + +The [`onChangeEnd`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/onChangeEnd.html) callback is called when the user stops to interact with range selector using a tap or drag action. This callback is only used to notify the user that the interaction has ended and it does not change the value of the range selector thumb. + +{% tabs %} +{% highlight Dart %} + +SfRangeValues _values = SfRangeValues(4.0, 6.0); + +@override +Widget build(BuildContext context) { + return Scaffold( + body: SfRangeSelector( + min: 0.0, + max: 10.0, + initialValues: _values, + onChangeEnd: (SfRangeValues endValues) { + print('Interaction ended'); + }, + onChanged: (SfRangeValues newValues) {}, + child: SizedBox(), + ), + ); +} + +{% endhighlight %} +{% endtabs %} + +**onChanged** + +The [`onChanged`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/onChanged.html) callback is called when the user is selecting the new values. + +{% tabs %} +{% highlight Dart %} + +final SfRangeValues _initialValues = SfRangeValues(0.3, 0.7); + +final List _chartData = [ + Data(x: DateTime(2003, 01, 01), y: 3.4), + Data(x: DateTime(2004, 01, 01), y: 2.8), + Data(x: DateTime(2005, 01, 01), y: 1.6), + Data(x: DateTime(2006, 01, 01), y: 2.3), + Data(x: DateTime(2007, 01, 01), y: 2.5), + Data(x: DateTime(2008, 01, 01), y: 2.9), + Data(x: DateTime(2009, 01, 01), y: 3.8), + Data(x: DateTime(2010, 01, 01), y: 2.0), +]; + +@override +Widget build(BuildContext context) { + return Container( + child: Center( + child: SfRangeSelector( + initialValues: _initialValues, + onChanged: (SfRangeValues values) { + }, + child: Container( + child: SfCartesianChart( + margin: const EdgeInsets.all(0), + primaryXAxis: DateTimeAxis( + isVisible: false,), + primaryYAxis: NumericAxis(isVisible: false, maximum: 4), + series: >[ + SplineAreaSeries( + dataSource: _chartData, + xValueMapper: (Data sales, int index) => sales.x, + yValueMapper: (Data sales, int index) => sales.y) + ], + ), + height: 250, + ), + ), + ), + ); +} + +class Data { + Data({required this.x, required this.y}); + final DateTime x; + final double y; +} + +{% endhighlight %} +{% endtabs %} + +## Active color + +It represents the color applied to the active track, thumb, overlay, and inactive dividers. + +The active side of the range selector is between start and end thumbs. + +{% tabs %} +{% highlight Dart %} + +final double _min = 2.0; +final double _max = 10.0; +SfRangeValues _values = SfRangeValues(4.0, 8.0); + +final List chartData = [ + Data(x:2.0, y: 2.2), + Data(x:3.0, y: 3.4), + Data(x:4.0, y: 2.8), + Data(x:5.0, y: 1.6), + Data(x:6.0, y: 2.3), + Data(x:7.0, y: 2.5), + Data(x:8.0, y: 2.9), + Data(x:9.0, y: 3.8), + Data(x:10.0, y: 3.7), +]; + +@override +Widget build(BuildContext context) { + return MaterialApp( + home: Scaffold( + body: Center( + child: SfRangeSelector( + min: _min, + max: _max, + interval: 1, + showLabels: true, + showTicks: true, + activeColor: Color.fromARGB(255, 253, 125, 0), + initialValues: _values, + child: Container( + height: 130, + child: SfCartesianChart( + margin: const EdgeInsets.all(0), + primaryXAxis: NumericAxis(minimum: _min, + maximum: _max, + isVisible: false,), + primaryYAxis: NumericAxis(isVisible: false), + plotAreaBorderWidth: 0, + series: >[ + SplineAreaSeries( + color: Color.fromARGB(255, 126, 184, 253), + dataSource: chartData, + xValueMapper: (Data sales, int index) => sales.x, + yValueMapper: (Data sales, int index) => sales.y) + ], + ), + ), + ), + ) + ) + ); +} + +class Data { + Data({required this.x, required this.y}); + final double x; + final double y; +} + +{% endhighlight %} +{% endtabs %} + +![Active color support](images/basic-features/selector_active_color.png) + +## Inactive color + +It represents the color applied to the inactive track and active dividers. + +The active side of the [`SfRangeSelector`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector-class.html) is between start and end thumbs. + +The inactive side of the [`SfRangeSelector`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector-class.html) is between the [`min`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/min.html) value and the left thumb, and the right thumb and the [`max`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/max.html) value. + +For RTL, the inactive side is between the [`max`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/max.html) value and the left thumb, and the right thumb and the [`min`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/min.html) value. + +{% tabs %} +{% highlight Dart %} + +final double _min = 2.0; +final double _max = 10.0; +SfRangeValues _values = SfRangeValues(4.0, 8.0); + +final List chartData = [ + Data(x:2.0, y: 2.2), + Data(x:3.0, y: 3.4), + Data(x:4.0, y: 2.8), + Data(x:5.0, y: 1.6), + Data(x:6.0, y: 2.3), + Data(x:7.0, y: 2.5), + Data(x:8.0, y: 2.9), + Data(x:9.0, y: 3.8), + Data(x:10.0, y: 3.7), +]; + +@override +Widget build(BuildContext context) { + return MaterialApp( + home: Scaffold( + body: Center( + child: SfRangeSelector( + min: _min, + max: _max, + interval: 1, + showLabels: true, + showTicks: true, + activeColor: Color.fromARGB(255,5, 90, 194), + inactiveColor: Color.fromARGB(140, 121, 244, 195), + initialValues: _values, + child: Container( + height: 130, + child: SfCartesianChart( + margin: const EdgeInsets.all(0), + primaryXAxis: NumericAxis(minimum: _min, + maximum: _max, + isVisible: false,), + primaryYAxis: NumericAxis(isVisible: false), + plotAreaBorderWidth: 0, + series: >[ + SplineAreaSeries( + color: Color.fromARGB(255, 126, 184, 253), + dataSource: chartData, + xValueMapper: (Data sales, int index) => sales.x, + yValueMapper: (Data sales, int index) => sales.y) + ], + ), + ), + ), + ) + ) + ); +} + +class Data { + Data({required this.x, required this.y}); + final double x; + final double y; +} + +{% endhighlight %} +{% endtabs %} + +![Inactive color support](images/basic-features/selector_inactive_color.png) + +## Active region color + +It specifies the color for the active region of the child in the [`SfRangeSelector`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector-class.html). + +The active side of the [`SfRangeSelector`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector-class.html) is between start and end thumbs. + +{% tabs %} +{% highlight Dart %} + +final double _min = 2.0; +final double _max = 10.0; +SfRangeValues _values = SfRangeValues(5.0, 8.0); + +final List chartData = [ + Data(x:2.0, y: 2.2), + Data(x:3.0, y: 3.4), + Data(x:4.0, y: 2.8), + Data(x:5.0, y: 1.6), + Data(x:6.0, y: 2.3), + Data(x:7.0, y: 2.5), + Data(x:8.0, y: 2.9), + Data(x:9.0, y: 3.8), + Data(x:10.0, y: 3.7), +]; + +@override +Widget build(BuildContext context) { + return MaterialApp( + home: Scaffold( + body: Center( + child: SfRangeSelectorTheme( + data: SfRangeSelectorThemeData( + activeRegionColor: Colors.greenAccent[100], + ), + child: SfRangeSelector( + min: _min, + max: _max, + interval: 1, + showLabels: true, + showTicks: true, + initialValues: _values, + child: Container( + height: 130, + child: SfCartesianChart( + margin: const EdgeInsets.all(0), + primaryXAxis: NumericAxis(minimum: _min, + maximum: _max, + isVisible: false), + primaryYAxis: NumericAxis(isVisible: false), + plotAreaBorderWidth: 0, + series: >[ + SplineAreaSeries( + color: Color.fromARGB(255, 126, 184, 253), + dataSource: chartData, + xValueMapper: (Data sales, int index) => sales.x, + yValueMapper: (Data sales, int index) => sales.y) + ], + ), + ), + ), + ), + ) + ) + ); +} + +class Data { + Data({required this.x, required this.y}); + final double x; + final double y; +} + +{% endhighlight %} +{% endtabs %} + +![Active region color support](images/basic-features/selector-active-region-color.png) + +## Inactive region color + +It specifies the color for the inactive region of the child in the [`SfRangeSelector`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector-class.html). + +The inactive side of the [`SfRangeSelector`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector-class.html) is between the [`min`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/min.html) value and the left thumb, and the right thumb and the [`max`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/max.html) value. + +For RTL, the inactive side is between the [`max`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/max.html) value and the left thumb, and the right thumb and the [`min`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/min.html) value. + +{% tabs %} +{% highlight Dart %} + +final double _min = 2.0; +final double _max = 10.0; +SfRangeValues _values = SfRangeValues(4.0, 8.0); + +final List chartData = [ + Data(x:2.0, y: 2.2), + Data(x:3.0, y: 3.4), + Data(x:4.0, y: 2.8), + Data(x:5.0, y: 1.6), + Data(x:6.0, y: 2.3), + Data(x:7.0, y: 2.5), + Data(x:8.0, y: 2.9), + Data(x:9.0, y: 3.8), + Data(x:10.0, y: 3.7), +]; + +@override +Widget build(BuildContext context) { + return MaterialApp( + home: Scaffold( + body: Center( + child: SfRangeSelectorTheme( + data: SfRangeSelectorThemeData( + inactiveRegionColor: Colors.greenAccent[100], + ), + child: SfRangeSelector( + min: _min, + max: _max, + interval: 1, + showLabels: true, + showTicks: true, + initialValues: _values, + child: Container( + height: 130, + child: SfCartesianChart( + margin: const EdgeInsets.all(0), + primaryXAxis: NumericAxis(minimum: _min, + maximum: _max, + isVisible: false), + primaryYAxis: NumericAxis(isVisible: false), + plotAreaBorderWidth: 0, + series: >[ + SplineAreaSeries( + color: Color.fromARGB(255, 126, 184, 253), + dataSource: chartData, + xValueMapper: (Data sales, int index) => sales.x, + yValueMapper: (Data sales, int index) => sales.y) + ], + ), + ), + ), + ), + ) + ) + ); +} + +class Data { + Data({required this.x, required this.y}); + final double x; + final double y; +} + +{% endhighlight %} +{% endtabs %} + +![Inactive region color support](images/basic-features/selector-inactive-region-color.png) + +### For customizing individual items + +* Track - [`Link`](https://help.syncfusion.com/flutter/range-selector/track) +* Ticks - [`Link`](https://help.syncfusion.com/flutter/range-selector/ticks) +* Labels and dividers - [`Link`](https://help.syncfusion.com/flutter/range-selector/labels-and-divider) +* Tooltips - [`Link`](https://help.syncfusion.com/flutter/range-selector/tooltip) +* Thumb and overlay - [`Link`](https://help.syncfusion.com/flutter/range-selector/thumb-and-overlay) diff --git a/chart-sdk/flutter/range-selector/drag-mode.md b/chart-sdk/flutter/range-selector/drag-mode.md new file mode 100644 index 000000000..96427bbd1 --- /dev/null +++ b/chart-sdk/flutter/range-selector/drag-mode.md @@ -0,0 +1,223 @@ +--- +layout: post +title: Drag modes in Flutter Range Selector widget | Syncfusion +description: Learn here all about adding the multiple Drag modes in Syncfusion Flutter Range Selector (SfRangeSelector) widget and more. +platform: chart-sdk +control: SfRangeSelector +documentation: ug +--- + +# Drag modes in Flutter Range Selector (SfRangeSelector) + +## On thumb + +When [`dragMode`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/dragMode.html) is set to `SliderDragMode.onThumb`, only individual thumb can be moved by dragging it. The nearest thumb will move to the touch position if interaction is done anywhere other than the thumb. + +{% tabs %} +{% highlight Dart %} + +final double _min = 2.0; +final double _max = 10.0; +SfRangeValues _values = SfRangeValues(4.0, 6.0); + +final List chartData = [ + Data(x:2.0, y: 2.2), + Data(x:3.0, y: 3.4), + Data(x:4.0, y: 2.8), + Data(x:5.0, y: 1.6), + Data(x:6.0, y: 2.3), + Data(x:7.0, y: 2.5), + Data(x:8.0, y: 2.9), + Data(x:9.0, y: 3.8), + Data(x:10.0, y: 3.7), +]; + +@override +Widget build(BuildContext context) { + return MaterialApp( + home: Scaffold( + body: Center( + child: SfRangeSelector( + min: _min, + max: _max, + interval: 2, + showTicks: true, + showLabels: true, + initialValues: _values, + dragMode: SliderDragMode.onThumb, + child: Container( + height: 130, + child: SfCartesianChart( + margin: const EdgeInsets.all(0), + primaryXAxis: NumericAxis(minimum: _min, + maximum: _max, + isVisible: false), + primaryYAxis: NumericAxis(isVisible: false), + plotAreaBorderWidth: 0, + series: >[ + SplineAreaSeries( + color: Color.fromARGB(255, 126, 184, 253), + dataSource: chartData, + xValueMapper: (Data sales, int index) => sales.x, + yValueMapper: (Data sales, int index) => sales.y) + ], + ), + ), + ), + ) + ) + ); +} + +class Data { + Data({required this.x, required this.y}); + final double x; + final double y; +} + +{% endhighlight %} +{% endtabs %} + +![Drag mode on thumb](images/drag-mode/drag-mode-on-thumb.gif) + +## Between thumbs + +When [`dragMode`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/dragMode.html) is set to `SliderDragMode.betweenThumbs`, both the thumbs can be moved at the same time by dragging in the area between start and end thumbs. The range between the start and end thumb will always be the same. Hence, it is not possible to move the individual thumb. + +{% tabs %} +{% highlight Dart %} + +final double _min = 2.0; +final double _max = 10.0; +SfRangeValues _values = SfRangeValues(4.0, 6.0); + +final List chartData = [ + Data(x:2.0, y: 2.2), + Data(x:3.0, y: 3.4), + Data(x:4.0, y: 2.8), + Data(x:5.0, y: 1.6), + Data(x:6.0, y: 2.3), + Data(x:7.0, y: 2.5), + Data(x:8.0, y: 2.9), + Data(x:9.0, y: 3.8), + Data(x:10.0, y: 3.7), +]; + +@override +Widget build(BuildContext context) { + return MaterialApp( + home: Scaffold( + body: Center( + child: SfRangeSelector( + min: _min, + max: _max, + interval: 2, + showTicks: true, + showLabels: true, + initialValues: _values, + dragMode: SliderDragMode.betweenThumbs, + child: Container( + height: 130, + child: SfCartesianChart( + margin: const EdgeInsets.all(0), + primaryXAxis: NumericAxis(minimum: _min, + maximum: _max, + isVisible: false), + primaryYAxis: NumericAxis(isVisible: false), + plotAreaBorderWidth: 0, + series: >[ + SplineAreaSeries( + color: Color.fromARGB(255, 126, 184, 253), + dataSource: chartData, + xValueMapper: (Data sales, int index) => sales.x, + yValueMapper: (Data sales, int index) => sales.y) + ], + ), + ), + ), + ) + ) + ); +} + +class Data { + Data({required this.x, required this.y}); + final double x; + final double y; +} + +{% endhighlight %} +{% endtabs %} + +![Drag mode between thumb](images/drag-mode/drag-mode-between-thumb.gif) + +## Both thumbs + +When [`dragMode`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/dragMode.html) is set to `SliderDragMode.both`, individual thumb can be moved by dragging it, and also both the thumbs can be moved at the same time by dragging in the area between start and end thumbs. + +{% tabs %} +{% highlight Dart %} + +final double _min = 2.0; +final double _max = 10.0; +SfRangeValues _values = SfRangeValues(4.0, 6.0); + +final List chartData = [ + Data(x:2.0, y: 2.2), + Data(x:3.0, y: 3.4), + Data(x:4.0, y: 2.8), + Data(x:5.0, y: 1.6), + Data(x:6.0, y: 2.3), + Data(x:7.0, y: 2.5), + Data(x:8.0, y: 2.9), + Data(x:9.0, y: 3.8), + Data(x:10.0, y: 3.7), +]; + +@override +Widget build(BuildContext context) { + return MaterialApp( + home: Scaffold( + body: Center( + child: SfRangeSelector( + min: _min, + max: _max, + interval: 2, + showTicks: true, + showLabels: true, + initialValues: _values, + dragMode: SliderDragMode.both, + child: Container( + height: 130, + child: SfCartesianChart( + margin: const EdgeInsets.all(0), + primaryXAxis: NumericAxis(minimum: _min, + maximum: _max, + isVisible: false), + primaryYAxis: NumericAxis(isVisible: false), + plotAreaBorderWidth: 0, + series: >[ + SplineAreaSeries( + color: Color.fromARGB(255, 126, 184, 253), + dataSource: chartData, + xValueMapper: (Data sales, int index) => sales.x, + yValueMapper: (Data sales, int index) => sales.y) + ], + ), + ), + ), + ) + ) + ); +} + +class Data { + Data({required this.x, required this.y}); + final double x; + final double y; +} + +{% endhighlight %} +{% endtabs %} + +![Drag mode both thumb](images/drag-mode/drag-mode-both.gif) diff --git a/chart-sdk/flutter/range-selector/enabled-and-disabled-state.md b/chart-sdk/flutter/range-selector/enabled-and-disabled-state.md new file mode 100644 index 000000000..749eceb34 --- /dev/null +++ b/chart-sdk/flutter/range-selector/enabled-and-disabled-state.md @@ -0,0 +1,175 @@ +--- +layout: post +title: Disabled state in Flutter Range Selector widget | Syncfusion +description: Learn here all about the Disabled state in Syncfusion Flutter Range Selector (SfRangeSelector) widget. +platform: chart-sdk +control: SfRangeSelector +documentation: ug +--- + +# Disabled state in Flutter Range Selector (SfRangeSelector) + +This section helps to learn about the disabled state in the Flutter range selector. + +## Disabled state + +You can render the range selector in disabled state using [`enabled`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/enabled.html) property. The default value of [`enabled`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/enabled.html) property is `true`. + +{% tabs %} +{% highlight Dart %} + +final double _min = 2.0; +final double _max = 10.0; +SfRangeValues _initialValues = SfRangeValues(5.0, 8.0); + +final List _chartData = [ + Data(x:2.0, y: 2.2), + Data(x:3.0, y: 3.4), + Data(x:4.0, y: 2.8), + Data(x:5.0, y: 1.6), + Data(x:6.0, y: 2.3), + Data(x:7.0, y: 2.5), + Data(x:8.0, y: 2.9), + Data(x:9.0, y: 3.8), + Data(x:10.0, y: 3.7), +]; + +@override +Widget build(BuildContext context) { + return MaterialApp( + home: Scaffold( + body: Center( + child: SfRangeSelector( + min: _min, + max: _max, + enabled: false, + initialValues: _initialValues, + child: Container( + height: 130, + child: SfCartesianChart( + margin: const EdgeInsets.all(0), + primaryXAxis: NumericAxis(minimum: _min, + maximum: _max, + isVisible: false,), + primaryYAxis: NumericAxis(isVisible: false), + plotAreaBorderWidth: 0, + series: >[ + SplineAreaSeries( + color: Color.fromARGB(255, 126, 184, 253), + dataSource: _chartData, + xValueMapper: (Data sales, int index) => sales.x, + yValueMapper: (Data sales, int index) => sales.y) + ], + ), + ), + ), + ) + ) + ); +} + +class Data { + Data({required this.x, required this.y}); + final double x; + final double y; +} + +{% endhighlight %} +{% endtabs %} + +![Range selector disabled state](images/disabled-state/selector_disabled_state.png) + +## Disabled color + +You can change, + +* The color of the active and inactive track in disabled state using the [`disabledActiveTrackColor`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfSliderThemeData/disabledActiveTrackColor.html) and [`disabledInactiveTrackColor`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfSliderThemeData/disabledInactiveTrackColor.html) properties. +* The color of the active and inactive major ticks in disabled state using the [`disabledActiveTickColor`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfSliderThemeData/disabledActiveTickColor.html) and [`disabledInactiveTickColor`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfSliderThemeData/disabledInactiveTickColor.html) properties. +* The color of the active and inactive minor ticks in disabled state using the [`disabledActiveMinorTickColor`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfSliderThemeData/disabledActiveMinorTickColor.html) and [`disabledInactiveMinorTickColor`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfSliderThemeData/disabledInactiveMinorTickColor.html) properties. +* The color of the active and inactive dividers in disabled state using the [`disabledActiveDividerColor`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfSliderThemeData/disabledActiveDividerColor.html) and [`disabledInactiveDividerColor`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfSliderThemeData/disabledInactiveDividerColor.html) properties. +* The color of the thumb in disabled state using the [`disabledThumbColor`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfSliderThemeData/disabledThumbColor.html) property. + +N> You must import the `theme.dart` library from the [`Core`](https://pub.dev/packages/syncfusion_flutter_core) package to use [`SfRangeSelectorTheme`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfRangeSelectorTheme-class.html). + +{% tabs %} +{% highlight Dart %} + +final double _min = 2.0; +final double _max = 10.0; +SfRangeValues _initialValues = SfRangeValues(4.0, 8.0); + +final List _chartData = [ + Data(x:2.0, y: 2.2), + Data(x:3.0, y: 3.4), + Data(x:4.0, y: 2.8), + Data(x:5.0, y: 1.6), + Data(x:6.0, y: 2.3), + Data(x:7.0, y: 2.5), + Data(x:8.0, y: 2.9), + Data(x:9.0, y: 3.8), + Data(x:10.0, y: 3.7), +]; + +@override + Widget build(BuildContext context) { + return MaterialApp( + home: Scaffold( + body: Center( + child: SfRangeSelectorTheme( + data: SfRangeSelectorThemeData( + disabledActiveTrackColor: Colors.red[900], + disabledInactiveTrackColor: Colors.red[200], + disabledActiveTickColor: Colors.red[900], + disabledInactiveTickColor: Colors.red[200], + disabledActiveMinorTickColor: Colors.red[900], + disabledInactiveMinorTickColor: Colors.red[200], + disabledActiveDividerColor: Colors.blue[900], + disabledInactiveDividerColor: Colors.blue[200], + disabledThumbColor: Colors.red, + activeTrackHeight: 4, + inactiveTrackHeight: 4, + ), + child: SfRangeSelector( + min: _min, + max: _max, + interval: 1, + showLabels: true, + enabled: false, + showTicks: true, + showDividers: true, + initialValues: _initialValues, + child: Container( + height: 130, + child: SfCartesianChart( + margin: const EdgeInsets.all(0), + primaryXAxis: NumericAxis(minimum: _min, + maximum: _max, + isVisible: false), + primaryYAxis: NumericAxis(isVisible: false), + plotAreaBorderWidth: 0, + series: >[ + SplineAreaSeries( + color: Color.fromARGB(255, 126, 184, 253), + dataSource: _chartData, + xValueMapper: (Data sales, int index) => sales.x, + yValueMapper: (Data sales, int index) => sales.y) + ], + ), + ), + ), + ), + ) + ) + ); +} + +class Data { + Data({required this.x, required this.y}); + final double x; + final double y; +} + +{% endhighlight %} +{% endtabs %} + +![Disabled color support](images/disabled-state/selector-disabled-color.png) diff --git a/chart-sdk/flutter/range-selector/getting-started.md b/chart-sdk/flutter/range-selector/getting-started.md new file mode 100644 index 000000000..cae4d724c --- /dev/null +++ b/chart-sdk/flutter/range-selector/getting-started.md @@ -0,0 +1,456 @@ +--- +layout: post +title: Getting started with Flutter Range Selector widget | Syncfusion +description: Learn here about getting started with Syncfusion Flutter Range Selector (SfRangeSelector) widget, its elements, and more. +platform: chart-sdk +control: SfRangeSelector +documentation: ug +--- + +# Getting started with Flutter Range Selector (SfRangeSelector) +This section explains the steps required to add the range selector widget and its elements such as numeric and date values, ticks, labels and tooltips. This section covers only basic features needed to know to get started with Syncfusion® range selector. + +To get start quickly with our Flutter Range Selector widget, you can check out this video. + + + + +## Add Flutter range selector to an application +Create a simple project using the instructions given in the [Getting Started with your first Flutter app](https://docs.flutter.dev/get-started/test-drive#choose-your-ide) documentation. + +**Add dependency** + +Add the Syncfusion® Flutter range selector dependency to your pubspec.yaml file. + +{% highlight dart %} + +dependencies: + +syncfusion_flutter_sliders: ^xx.x.xx + +{% endhighlight %} + +N> Here **xx.x.xx** denotes the current version of [`Syncfusion Flutter Sliders`](https://pub.dev/packages/syncfusion_flutter_sliders/versions) package. + +**Get packages** + +Run the following command to get the required packages. + +{% highlight dart %} + +$ flutter pub get + +{% endhighlight %} + +**Import package** + +Import the following package in your Dart code. + +{% tabs %} +{% highlight Dart %} + +import 'package:syncfusion_flutter_sliders/sliders.dart'; + +{% endhighlight %} +{% endtabs %} + +## Initialize range selector + +After importing the package, initialize the range selector widget as a child of any widget. Here, the range selector widget is added as a child of the Container widget. The default value of the [`min`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/min.html) and [`max`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/max.html) properties of the SfRangeSelector is 0.0 and 1.0 respectively. So, the [`initialValues`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/initialValues.html) property must be given within the range. You can add any kind of widget as a child of range selector. Here, [Chart](https://www.syncfusion.com/flutter-widgets/flutter-charts) widget is added as a child. + +I> You need to set the [`controller`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/controller.html) property to update range selector thumb values dynamically. Refer this [`link`](https://help.syncfusion.com/flutter/range-selector/range-controller) for setting controller property. The [initialValues](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/initialValues.html) property can be used to set values at load time. + +{% tabs %} +{% highlight Dart %} + +final SfRangeValues _initialValues = SfRangeValues(0.3, 0.7); + +final List _chartData = [ + Data(x: DateTime(2003, 01, 01), y: 3.4), + Data(x: DateTime(2004, 01, 01), y: 2.8), + Data(x: DateTime(2005, 01, 01), y: 1.6), + Data(x: DateTime(2006, 01, 01), y: 2.3), + Data(x: DateTime(2007, 01, 01), y: 2.5), + Data(x: DateTime(2008, 01, 01), y: 2.9), + Data(x: DateTime(2009, 01, 01), y: 3.8), + Data(x: DateTime(2010, 01, 01), y: 2.0), +]; + +@override +Widget build(BuildContext context) { + return Container( + child: Center( + child: SfRangeSelector( + initialValues: _initialValues, + child: Container( + child: SfCartesianChart( + margin: const EdgeInsets.all(0), + primaryXAxis: DateTimeAxis( + isVisible: false,), + primaryYAxis: NumericAxis(isVisible: false, maximum: 4), + series: >[ + SplineAreaSeries( + dataSource: _chartData, + xValueMapper: (Data sales, int index) => sales.x, + yValueMapper: (Data sales, int index) => sales.y) + ], + ), + height: 250, + ), + ), + ), + ); +} + +class Data { + Data({required this.x, required this.y}); + final DateTime x; + final double y; +} + +{% endhighlight %} +{% endtabs %} + +![Default range selector](images/getting-started/default-range-selector.png) + +## Handle range change + +The [`onChanged`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/onChanged.html) callback is called when the user is selecting the new values. + +I> You need to set the [`controller`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/controller.html) property to update range selector thumb values dynamically. Refer this [`link`](https://help.syncfusion.com/flutter/range-selector/range-controller) for setting controller property. The [initialValues](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/initialValues.html) property can be used to set values at load time. + +{% tabs %} +{% highlight Dart %} + +final SfRangeValues _initialValues = SfRangeValues(0.3, 0.7); + +final List _chartData = [ + Data(x: DateTime(2003, 01, 01), y: 3.4), + Data(x: DateTime(2004, 01, 01), y: 2.8), + Data(x: DateTime(2005, 01, 01), y: 1.6), + Data(x: DateTime(2006, 01, 01), y: 2.3), + Data(x: DateTime(2007, 01, 01), y: 2.5), + Data(x: DateTime(2008, 01, 01), y: 2.9), + Data(x: DateTime(2009, 01, 01), y: 3.8), + Data(x: DateTime(2010, 01, 01), y: 2.0), +]; + +@override +Widget build(BuildContext context) { + return Container( + child: Center( + child: SfRangeSelector( + initialValues: _initialValues, + onChanged: (SfRangeValues values) { + }, + child: Container( + child: SfCartesianChart( + margin: const EdgeInsets.all(0), + primaryXAxis: DateTimeAxis( + isVisible: false,), + primaryYAxis: NumericAxis(isVisible: false, maximum: 4), + series: >[ + SplineAreaSeries( + dataSource: _chartData, + xValueMapper: (Data sales, int index) => sales.x, + yValueMapper: (Data sales, int index) => sales.y) + ], + ), + height: 250, + ), + ), + ), + ); +} + +class Data { + Data({required this.x, required this.y}); + final DateTime x; + final double y; +} + +{% endhighlight %} +{% endtabs %} + +## Set numeric range + +You can show numeric values in the range selector by setting `double` values to the [`min`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/min.html), [`max`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/max.html) and [`initialValues`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/initialValues.html) properties. + +I> You need to set the [`controller`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/controller.html) property to update range selector thumb values dynamically. Refer this [`link`](https://help.syncfusion.com/flutter/range-selector/range-controller) for setting controller property. The [initialValues](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/initialValues.html) property can be used to set values at load time. + +{% tabs %} +{% highlight Dart %} + +final double _min = 2.0; +final double _max = 10.0; +SfRangeValues _initialValues = SfRangeValues(4.0, 8.0); + +final List _chartData = [ + Data(x:2.0, y: 2.2), + Data(x:3.0, y: 3.4), + Data(x:4.0, y: 2.8), + Data(x:5.0, y: 1.6), + Data(x:6.0, y: 2.3), + Data(x:7.0, y: 2.5), + Data(x:8.0, y: 2.9), + Data(x:9.0, y: 3.8), + Data(x:10.0, y: 3.7), +]; + +@override +Widget build(BuildContext context) { + return Container( + child: Center( + child: SfRangeSelector( + min: _min, + max: _max, + initialValues: _initialValues, + interval: 2, + showLabels: true, + child: Container( + child: SfCartesianChart( + margin: const EdgeInsets.all(0), + primaryXAxis: NumericAxis( + isVisible: false,), + primaryYAxis: NumericAxis(isVisible: false, maximum: 4), + series: >[ + SplineAreaSeries( + dataSource: _chartData, + xValueMapper: (Data sales, int index) => sales.x, + yValueMapper: (Data sales, int index) => sales.y) + ], + ), + height: 250, + ), + ), + ), + ); +} + +class Data { + Data({required this.x, required this.y}); + final double x; + final double y; +} + +{% endhighlight %} +{% endtabs %} + +![Numeric range selector](images/getting-started/numeric-range-selector.png) + +## Set date range + +You can show date values in the range selector by setting `DateTime` values to the [`min`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/min.html), [`max`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/max.html) and [`initialValues`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/initialValues.html) properties. + +N> You must import [`intl`](https://pub.dev/packages/intl) package for formatting date range selector using the [`DateFormat`](https://pub.dev/documentation/intl/latest/intl/DateFormat-class.html) class. + +I> You need to set the [`controller`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/controller.html) property to update range selector thumb values dynamically. Refer this [`link`](https://help.syncfusion.com/flutter/range-selector/range-controller) for setting controller property. The [initialValues](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/initialValues.html) property can be used to set values at load time. + +{% tabs %} +{% highlight Dart %} + +final DateTime _min = DateTime(2002, 01, 01); +final DateTime _max = DateTime(2010, 01, 01); +SfRangeValues _values = SfRangeValues(DateTime(2004, 01, 01), DateTime(2008, 01, 01)); + +final List _chartData = [ + Data(x: DateTime(2002, 01, 01), y: 2.2), + Data(x: DateTime(2003, 01, 01), y: 3.4), + Data(x: DateTime(2004, 01, 01), y: 2.8), + Data(x: DateTime(2005, 01, 01), y: 1.6), + Data(x: DateTime(2006, 01, 01), y: 2.3), + Data(x: DateTime(2007, 01, 01), y: 2.5), + Data(x: DateTime(2008, 01, 01), y: 2.9), + Data(x: DateTime(2009, 01, 01), y: 3.8), + Data(x: DateTime(2010, 01, 01), y: 3.7), +]; + +@override +Widget build(BuildContext context) { + return Container( + child: Center( + child: SfRangeSelector( + min: _min, + max: _max, + showLabels: true, + interval: 2, + dateFormat: DateFormat.y(), + dateIntervalType: DateIntervalType.years, + initialValues: _values, + child: Container( + height: 130, + child: SfCartesianChart( + margin: const EdgeInsets.all(0), + primaryXAxis: DateTimeAxis( + minimum: _min, + maximum: _max, + isVisible: false), + primaryYAxis: NumericAxis(isVisible: false), + plotAreaBorderWidth: 0, + series: >[ + SplineAreaSeries( + color: Color.fromARGB(255, 126, 184, 253), + dataSource: _chartData, + xValueMapper: (Data sales, int index) => sales.x, + yValueMapper: (Data sales, int index) => sales.y) + ], + ), + ), + ), + ), + ); +} + +class Data { + Data({required this.x, required this.y}); + final DateTime x; + final double y; +} + +{% endhighlight %} +{% endtabs %} + +![Date time range selector](images/getting-started/date-time-range-selector.png) + +## Enable ticks + +You can enable ticks in the range selector using the [`showTicks`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/showTicks.html) property. + +I> You need to set the [`controller`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/controller.html) property to update range selector thumb values dynamically. Refer this [`link`](https://help.syncfusion.com/flutter/range-selector/range-controller) for setting controller property. The [initialValues](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/initialValues.html) property can be used to set values at load time. + +{% tabs %} +{% highlight Dart %} + +final double _min = 2.0; +final double _max = 10.0; +SfRangeValues _initialValues = SfRangeValues(4.0, 8.0); + +final List _chartData = [ + Data(x:2.0, y: 2.2), + Data(x:3.0, y: 3.4), + Data(x:4.0, y: 2.8), + Data(x:5.0, y: 1.6), + Data(x:6.0, y: 2.3), + Data(x:7.0, y: 2.5), + Data(x:8.0, y: 2.9), + Data(x:9.0, y: 3.8), + Data(x:10.0, y: 3.7), +]; + +@override +Widget build(BuildContext context) { + return Container( + child: Center( + child: SfRangeSelector( + min: _min, + max: _max, + initialValues: _initialValues, + interval: 1, + showLabels: true, + showTicks: true, + child: Container( + child: SfCartesianChart( + margin: const EdgeInsets.all(0), + primaryXAxis: NumericAxis( + isVisible: false,), + primaryYAxis: NumericAxis(isVisible: false, maximum: 4), + series: >[ + SplineAreaSeries( + dataSource: _chartData, + xValueMapper: (Data sales, int index) => sales.x, + yValueMapper: (Data sales, int index) => sales.y) + ], + ), + height: 250, + ), + ), + ), + ); +} + +class Data { + Data({required this.x, required this.y}); + final double x; + final double y; +} + +{% endhighlight %} +{% endtabs %} + +![Show ticks in range selector](images/getting-started/range-selector_with_ticks.png) + +## Add prefix/suffix to labels + +You can add prefix or suffix to the labels using the [`numberFormat`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/numberFormat.html) or [`dateFormat`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/dateFormat.html) properties. + +N> The format type (numeric or date) of the range selector is determined based on the values specified in [`min`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/min.html), [`max`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/max.html) and [`initialValues`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/initialValues.html) properties. + +I> You must import [`intl`](https://pub.dev/packages/intl) package for formatting date range selector using the [`DateFormat`](https://pub.dev/documentation/intl/latest/intl/DateFormat-class.html) class and for formatting numeric range selector using the [`NumberFormat`](https://pub.dev/documentation/intl/latest/intl/NumberFormat-class.html) class. + +{% tabs %} +{% highlight Dart %} + +final double _min = 2.0; +final double _max = 10.0; +SfRangeValues _initialValues = SfRangeValues(4.5, 8.5); + +final List _chartData = [ + Data(x:2.0, y: 2.2), + Data(x:3.0, y: 3.4), + Data(x:4.0, y: 2.8), + Data(x:5.0, y: 1.6), + Data(x:6.0, y: 2.3), + Data(x:7.0, y: 2.5), + Data(x:8.0, y: 2.9), + Data(x:9.0, y: 3.8), + Data(x:10.0, y: 3.7), +]; + +@override +Widget build(BuildContext context) { + return Container( + child: Center( + child: SfRangeSelector( + min: _min, + max: _max, + initialValues: _initialValues, + interval: 1, + showLabels: true, + showTicks: true, + numberFormat: NumberFormat("\$"), + child: Container( + height: 130, + child: SfCartesianChart( + margin: const EdgeInsets.all(0), + primaryXAxis: NumericAxis( + isVisible: false, + minimum: _min, + maximum: _max, + ), + primaryYAxis: NumericAxis(isVisible: false, maximum: 4), + plotAreaBorderWidth: 0, + plotAreaBackgroundColor: Colors.transparent, + series: >[ + ColumnSeries( + dataSource: _chartData, + color: Color.fromARGB(255, 126, 184, 253), + xValueMapper: (Data sales, int index) => sales.x, + yValueMapper: (Data sales, int index) => sales.y) + ], + ), + ), + ), + ), + ); +} + +class Data { + Data({required this.x, required this.y}); + final double x; + final double y; +} + +{% endhighlight %} +{% endtabs %} + +![Format labels in range selector](images/getting-started/range-selector_with_formatted_label.png) diff --git a/chart-sdk/flutter/range-selector/how-to/custom-widget-on-flutterflow.md b/chart-sdk/flutter/range-selector/how-to/custom-widget-on-flutterflow.md new file mode 100644 index 000000000..dfeebf074 --- /dev/null +++ b/chart-sdk/flutter/range-selector/how-to/custom-widget-on-flutterflow.md @@ -0,0 +1,75 @@ +--- +layout: post +title: RangeSelector Widget in FlutterFlow | Syncfusion +description: Learn here all about adding Syncfusion Flutter Range Selector (SfRangeSelector) widget in FlutterFlow. +platform: chart-sdk +control: SfRangeSelector +documentation: ug +--- + +# How to add Syncfusion® RangeSelector widget in FlutterFlow? + +## Overview + +[FlutterFlow](https://app.flutterflow.io/dashboard) enables you to create native applications using its graphical interface, reducing the need to write extensive amounts of code. Additionally, it offers the capability to include custom widgets that are not included in the default [FlutterFlow](https://app.flutterflow.io/dashboard) widget collection. This article explains how to incorporate our SfRangeSelector widget as a custom widget in [FlutterFlow](https://app.flutterflow.io/dashboard). + +### Create a new project + +Navigate to the [FlutterFlow dashboard](https://app.flutterflow.io/dashboard) and click the `+ Create New` button to create a new project. + +### Creating the custom widget + +1. Navigate to the `Custom Code` section in the left side navigation menu. +2. Click on the `+ Add` button to open a dropdown menu, then select `Widget`. +3. Update the widget name as desired. +4. Click the `View Boilerplate Code` button on the right side, represented by this icon `[]`. +5. A popup will appear with startup code; locate the button labeled ` Copy to Editor` and click on it. +6. Save the widget. + +![Custom Widget](how-to-section-images/custom-widget.png) + +### Add RangeSelector widget as a dependency + +1. Click on `+ Add Dependency`, a text editor will appear. +2. Navigate to [Syncfusion® Flutter Sliders](https://pub.dev/packages/syncfusion_flutter_sliders) in [pub.dev](https://pub.dev/) and copy the dependency name and version using the `Copy to Clipboard` option. +![Version](how-to-section-images/copy-version.png) +3. Paste the copied dependency into the text editor, then click `Refresh` and `Save` it. + +>**Note**: The live version of [Syncfusion® Flutter Sliders](https://pub.dev/packages/syncfusion_flutter_sliders) has been migrated to the latest version of Flutter SDK. To ensure compatibility, check [FlutterFlow](https://app.flutterflow.io/dashboard)'s current Flutter version and obtain the corresponding version of [Syncfusion® Flutter Sliders](https://pub.dev/packages/syncfusion_flutter_sliders) by referring to the [SDK compatibility](https://help.syncfusion.com/flutter/system-requirements#sdk-version-compatibility). + +![Dependency](how-to-section-images/dependency.png) + +>**Note**: If you are using an older version of a dependency instead of the latest one, remove the caret symbol (^) prefix in the version number after pasting the dependency. For example, change `^21.3.0` to `21.3.0`. + +>**Note**: Since [Syncfusion® Flutter Sliders](https://pub.dev/packages/syncfusion_flutter_sliders) depends on the [Syncfusion® Flutter Core](https://pub.dev/packages/syncfusion_flutter_core) package, make sure to add it as a dependency following the same steps mentioned above. + +### Import the package + +1. Navigate to the `Installing` tab on the [Syncfusion® Flutter Sliders](https://pub.dev/packages/syncfusion_flutter_sliders) page. Under the `Import it` section, copy the package import statement. +![Package](how-to-section-images/copy-package.png) +2. Paste the copied import statement into the code editor and then `Save` it. +![Import](how-to-section-images/import-package-flutterflow.png) + +### Add widget code snippet in code editor + +1. Navigate to the [Example](https://pub.dev/packages/syncfusion_flutter_sliders/example) tab in [Syncfusion® Flutter Sliders](https://pub.dev/packages/syncfusion_flutter_sliders) and copy the widget specific codes. +![Code](how-to-section-images/code-snippet.png) +2. Paste the copied code sample into the code editor, click `Format Code`, and `Save` it. +![Code snippet](how-to-section-images/Adding-code-snippent.png) + +### Compiling the codes + +1. Click the 'Compile Code' button located in the top right corner. +2. If there are no errors, save the process. If errors are present, fix them and compile the code again. Once the code has been successfully compiled, save the process. + +![Compile code](how-to-section-images/compile-code.png) + +>**Note**: The compilation progress takes 2 to 3 minutes to complete. + +### Utilizing the custom widget + +1. Navigate to `Widget Palette` located in the left side navigation menu. +2. Click on the `Components` tab. +3. Your custom widget will be under `Custom Code Widgets`. Drag and drop the custom widget to your page. + +![Page](how-to-section-images/page.png) diff --git a/chart-sdk/flutter/range-selector/how-to/how-to-section-images/Adding-code-snippent.png b/chart-sdk/flutter/range-selector/how-to/how-to-section-images/Adding-code-snippent.png new file mode 100644 index 000000000..a0b6c7b4f Binary files /dev/null and b/chart-sdk/flutter/range-selector/how-to/how-to-section-images/Adding-code-snippent.png differ diff --git a/chart-sdk/flutter/range-selector/how-to/how-to-section-images/code-snippet.png b/chart-sdk/flutter/range-selector/how-to/how-to-section-images/code-snippet.png new file mode 100644 index 000000000..f04e38d30 Binary files /dev/null and b/chart-sdk/flutter/range-selector/how-to/how-to-section-images/code-snippet.png differ diff --git a/chart-sdk/flutter/range-selector/how-to/how-to-section-images/compile-code.png b/chart-sdk/flutter/range-selector/how-to/how-to-section-images/compile-code.png new file mode 100644 index 000000000..cf3c0d353 Binary files /dev/null and b/chart-sdk/flutter/range-selector/how-to/how-to-section-images/compile-code.png differ diff --git a/chart-sdk/flutter/range-selector/how-to/how-to-section-images/copy-package.png b/chart-sdk/flutter/range-selector/how-to/how-to-section-images/copy-package.png new file mode 100644 index 000000000..25ec3ec93 Binary files /dev/null and b/chart-sdk/flutter/range-selector/how-to/how-to-section-images/copy-package.png differ diff --git a/chart-sdk/flutter/range-selector/how-to/how-to-section-images/copy-version.png b/chart-sdk/flutter/range-selector/how-to/how-to-section-images/copy-version.png new file mode 100644 index 000000000..9c65ef907 Binary files /dev/null and b/chart-sdk/flutter/range-selector/how-to/how-to-section-images/copy-version.png differ diff --git a/chart-sdk/flutter/range-selector/how-to/how-to-section-images/custom-widget.png b/chart-sdk/flutter/range-selector/how-to/how-to-section-images/custom-widget.png new file mode 100644 index 000000000..675534438 Binary files /dev/null and b/chart-sdk/flutter/range-selector/how-to/how-to-section-images/custom-widget.png differ diff --git a/chart-sdk/flutter/range-selector/how-to/how-to-section-images/dependency.png b/chart-sdk/flutter/range-selector/how-to/how-to-section-images/dependency.png new file mode 100644 index 000000000..fb262b20e Binary files /dev/null and b/chart-sdk/flutter/range-selector/how-to/how-to-section-images/dependency.png differ diff --git a/chart-sdk/flutter/range-selector/how-to/how-to-section-images/import-package-flutterflow.png b/chart-sdk/flutter/range-selector/how-to/how-to-section-images/import-package-flutterflow.png new file mode 100644 index 000000000..7ca042136 Binary files /dev/null and b/chart-sdk/flutter/range-selector/how-to/how-to-section-images/import-package-flutterflow.png differ diff --git a/chart-sdk/flutter/range-selector/how-to/how-to-section-images/page.png b/chart-sdk/flutter/range-selector/how-to/how-to-section-images/page.png new file mode 100644 index 000000000..5ee24ba77 Binary files /dev/null and b/chart-sdk/flutter/range-selector/how-to/how-to-section-images/page.png differ diff --git a/chart-sdk/flutter/range-selector/images/basic-features/selector-active-region-color.png b/chart-sdk/flutter/range-selector/images/basic-features/selector-active-region-color.png new file mode 100644 index 000000000..e185e92b6 Binary files /dev/null and b/chart-sdk/flutter/range-selector/images/basic-features/selector-active-region-color.png differ diff --git a/chart-sdk/flutter/range-selector/images/basic-features/selector-inactive-region-color.png b/chart-sdk/flutter/range-selector/images/basic-features/selector-inactive-region-color.png new file mode 100644 index 000000000..acf0b0a25 Binary files /dev/null and b/chart-sdk/flutter/range-selector/images/basic-features/selector-inactive-region-color.png differ diff --git a/chart-sdk/flutter/range-selector/images/basic-features/selector_active_color.png b/chart-sdk/flutter/range-selector/images/basic-features/selector_active_color.png new file mode 100644 index 000000000..7e5cc3966 Binary files /dev/null and b/chart-sdk/flutter/range-selector/images/basic-features/selector_active_color.png differ diff --git a/chart-sdk/flutter/range-selector/images/basic-features/selector_date_label.png b/chart-sdk/flutter/range-selector/images/basic-features/selector_date_label.png new file mode 100644 index 000000000..832b99f2c Binary files /dev/null and b/chart-sdk/flutter/range-selector/images/basic-features/selector_date_label.png differ diff --git a/chart-sdk/flutter/range-selector/images/basic-features/selector_inactive_color.png b/chart-sdk/flutter/range-selector/images/basic-features/selector_inactive_color.png new file mode 100644 index 000000000..ea146e42c Binary files /dev/null and b/chart-sdk/flutter/range-selector/images/basic-features/selector_inactive_color.png differ diff --git a/chart-sdk/flutter/range-selector/images/basic-features/selector_numeric_label.png b/chart-sdk/flutter/range-selector/images/basic-features/selector_numeric_label.png new file mode 100644 index 000000000..325ee1f9f Binary files /dev/null and b/chart-sdk/flutter/range-selector/images/basic-features/selector_numeric_label.png differ diff --git a/chart-sdk/flutter/range-selector/images/disabled-state/selector-disabled-color.png b/chart-sdk/flutter/range-selector/images/disabled-state/selector-disabled-color.png new file mode 100644 index 000000000..b7bea5c43 Binary files /dev/null and b/chart-sdk/flutter/range-selector/images/disabled-state/selector-disabled-color.png differ diff --git a/chart-sdk/flutter/range-selector/images/disabled-state/selector_disabled_state.png b/chart-sdk/flutter/range-selector/images/disabled-state/selector_disabled_state.png new file mode 100644 index 000000000..0db5ed00a Binary files /dev/null and b/chart-sdk/flutter/range-selector/images/disabled-state/selector_disabled_state.png differ diff --git a/chart-sdk/flutter/range-selector/images/drag-mode/drag-mode-between-thumb.gif b/chart-sdk/flutter/range-selector/images/drag-mode/drag-mode-between-thumb.gif new file mode 100644 index 000000000..56a2ea28c Binary files /dev/null and b/chart-sdk/flutter/range-selector/images/drag-mode/drag-mode-between-thumb.gif differ diff --git a/chart-sdk/flutter/range-selector/images/drag-mode/drag-mode-both.gif b/chart-sdk/flutter/range-selector/images/drag-mode/drag-mode-both.gif new file mode 100644 index 000000000..38e2aecb1 Binary files /dev/null and b/chart-sdk/flutter/range-selector/images/drag-mode/drag-mode-both.gif differ diff --git a/chart-sdk/flutter/range-selector/images/drag-mode/drag-mode-on-thumb.gif b/chart-sdk/flutter/range-selector/images/drag-mode/drag-mode-on-thumb.gif new file mode 100644 index 000000000..50ec8bdb4 Binary files /dev/null and b/chart-sdk/flutter/range-selector/images/drag-mode/drag-mode-on-thumb.gif differ diff --git a/chart-sdk/flutter/range-selector/images/getting-started/date-time-range-selector.png b/chart-sdk/flutter/range-selector/images/getting-started/date-time-range-selector.png new file mode 100644 index 000000000..466bf7528 Binary files /dev/null and b/chart-sdk/flutter/range-selector/images/getting-started/date-time-range-selector.png differ diff --git a/chart-sdk/flutter/range-selector/images/getting-started/default-range-selector.png b/chart-sdk/flutter/range-selector/images/getting-started/default-range-selector.png new file mode 100644 index 000000000..7b6620e84 Binary files /dev/null and b/chart-sdk/flutter/range-selector/images/getting-started/default-range-selector.png differ diff --git a/chart-sdk/flutter/range-selector/images/getting-started/numeric-range-selector.png b/chart-sdk/flutter/range-selector/images/getting-started/numeric-range-selector.png new file mode 100644 index 000000000..b5b664f8c Binary files /dev/null and b/chart-sdk/flutter/range-selector/images/getting-started/numeric-range-selector.png differ diff --git a/chart-sdk/flutter/range-selector/images/getting-started/range-selector_with_formatted_label.png b/chart-sdk/flutter/range-selector/images/getting-started/range-selector_with_formatted_label.png new file mode 100644 index 000000000..c12ed433b Binary files /dev/null and b/chart-sdk/flutter/range-selector/images/getting-started/range-selector_with_formatted_label.png differ diff --git a/chart-sdk/flutter/range-selector/images/getting-started/range-selector_with_ticks.png b/chart-sdk/flutter/range-selector/images/getting-started/range-selector_with_ticks.png new file mode 100644 index 000000000..0fe235aaa Binary files /dev/null and b/chart-sdk/flutter/range-selector/images/getting-started/range-selector_with_ticks.png differ diff --git a/chart-sdk/flutter/range-selector/images/interval/date_interval.png b/chart-sdk/flutter/range-selector/images/interval/date_interval.png new file mode 100644 index 000000000..00a761efe Binary files /dev/null and b/chart-sdk/flutter/range-selector/images/interval/date_interval.png differ diff --git a/chart-sdk/flutter/range-selector/images/interval/numeric_interval.png b/chart-sdk/flutter/range-selector/images/interval/numeric_interval.png new file mode 100644 index 000000000..244bfaf3a Binary files /dev/null and b/chart-sdk/flutter/range-selector/images/interval/numeric_interval.png differ diff --git a/chart-sdk/flutter/range-selector/images/interval/selector-interval-selection-support.gif b/chart-sdk/flutter/range-selector/images/interval/selector-interval-selection-support.gif new file mode 100644 index 000000000..fdf876f8d Binary files /dev/null and b/chart-sdk/flutter/range-selector/images/interval/selector-interval-selection-support.gif differ diff --git a/chart-sdk/flutter/range-selector/images/interval/selector-step-duration-support.gif b/chart-sdk/flutter/range-selector/images/interval/selector-step-duration-support.gif new file mode 100644 index 000000000..2343772ef Binary files /dev/null and b/chart-sdk/flutter/range-selector/images/interval/selector-step-duration-support.gif differ diff --git a/chart-sdk/flutter/range-selector/images/interval/selector-step-size-support.gif b/chart-sdk/flutter/range-selector/images/interval/selector-step-size-support.gif new file mode 100644 index 000000000..9bdf57cd0 Binary files /dev/null and b/chart-sdk/flutter/range-selector/images/interval/selector-step-size-support.gif differ diff --git a/chart-sdk/flutter/range-selector/images/label-and-divider/range-selector-divider-radius.png b/chart-sdk/flutter/range-selector/images/label-and-divider/range-selector-divider-radius.png new file mode 100644 index 000000000..82f49cd2f Binary files /dev/null and b/chart-sdk/flutter/range-selector/images/label-and-divider/range-selector-divider-radius.png differ diff --git a/chart-sdk/flutter/range-selector/images/label-and-divider/range-selector-divider-stroke-color.png b/chart-sdk/flutter/range-selector/images/label-and-divider/range-selector-divider-stroke-color.png new file mode 100644 index 000000000..e08df4444 Binary files /dev/null and b/chart-sdk/flutter/range-selector/images/label-and-divider/range-selector-divider-stroke-color.png differ diff --git a/chart-sdk/flutter/range-selector/images/label-and-divider/selector-divider-color.png b/chart-sdk/flutter/range-selector/images/label-and-divider/selector-divider-color.png new file mode 100644 index 000000000..a9fd1a6b7 Binary files /dev/null and b/chart-sdk/flutter/range-selector/images/label-and-divider/selector-divider-color.png differ diff --git a/chart-sdk/flutter/range-selector/images/label-and-divider/selector-edge-label-placement.png b/chart-sdk/flutter/range-selector/images/label-and-divider/selector-edge-label-placement.png new file mode 100644 index 000000000..e786d4166 Binary files /dev/null and b/chart-sdk/flutter/range-selector/images/label-and-divider/selector-edge-label-placement.png differ diff --git a/chart-sdk/flutter/range-selector/images/label-and-divider/selector-individual-label-color.png b/chart-sdk/flutter/range-selector/images/label-and-divider/selector-individual-label-color.png new file mode 100644 index 000000000..61e8619ec Binary files /dev/null and b/chart-sdk/flutter/range-selector/images/label-and-divider/selector-individual-label-color.png differ diff --git a/chart-sdk/flutter/range-selector/images/label-and-divider/selector-labels-color.png b/chart-sdk/flutter/range-selector/images/label-and-divider/selector-labels-color.png new file mode 100644 index 000000000..9fba93b97 Binary files /dev/null and b/chart-sdk/flutter/range-selector/images/label-and-divider/selector-labels-color.png differ diff --git a/chart-sdk/flutter/range-selector/images/label-and-divider/selector-labels-offset.png b/chart-sdk/flutter/range-selector/images/label-and-divider/selector-labels-offset.png new file mode 100644 index 000000000..21cc3d1e8 Binary files /dev/null and b/chart-sdk/flutter/range-selector/images/label-and-divider/selector-labels-offset.png differ diff --git a/chart-sdk/flutter/range-selector/images/label-and-divider/selector_hour_date_format.png b/chart-sdk/flutter/range-selector/images/label-and-divider/selector_hour_date_format.png new file mode 100644 index 000000000..2bc2bd799 Binary files /dev/null and b/chart-sdk/flutter/range-selector/images/label-and-divider/selector_hour_date_format.png differ diff --git a/chart-sdk/flutter/range-selector/images/label-and-divider/selector_label_formatter.png b/chart-sdk/flutter/range-selector/images/label-and-divider/selector_label_formatter.png new file mode 100644 index 000000000..ce6428224 Binary files /dev/null and b/chart-sdk/flutter/range-selector/images/label-and-divider/selector_label_formatter.png differ diff --git a/chart-sdk/flutter/range-selector/images/label-and-divider/selector_label_placement.png b/chart-sdk/flutter/range-selector/images/label-and-divider/selector_label_placement.png new file mode 100644 index 000000000..536f2ecdb Binary files /dev/null and b/chart-sdk/flutter/range-selector/images/label-and-divider/selector_label_placement.png differ diff --git a/chart-sdk/flutter/range-selector/images/label-and-divider/selector_month_date_format.png b/chart-sdk/flutter/range-selector/images/label-and-divider/selector_month_date_format.png new file mode 100644 index 000000000..277953606 Binary files /dev/null and b/chart-sdk/flutter/range-selector/images/label-and-divider/selector_month_date_format.png differ diff --git a/chart-sdk/flutter/range-selector/images/label-and-divider/selector_number_format.png b/chart-sdk/flutter/range-selector/images/label-and-divider/selector_number_format.png new file mode 100644 index 000000000..800451a57 Binary files /dev/null and b/chart-sdk/flutter/range-selector/images/label-and-divider/selector_number_format.png differ diff --git a/chart-sdk/flutter/range-selector/images/label-and-divider/selector_show_divider.png b/chart-sdk/flutter/range-selector/images/label-and-divider/selector_show_divider.png new file mode 100644 index 000000000..e9f47db84 Binary files /dev/null and b/chart-sdk/flutter/range-selector/images/label-and-divider/selector_show_divider.png differ diff --git a/chart-sdk/flutter/range-selector/images/label-and-divider/selector_show_label.png b/chart-sdk/flutter/range-selector/images/label-and-divider/selector_show_label.png new file mode 100644 index 000000000..afee4d625 Binary files /dev/null and b/chart-sdk/flutter/range-selector/images/label-and-divider/selector_show_label.png differ diff --git a/chart-sdk/flutter/range-selector/images/label-and-divider/selector_year_date_format.png b/chart-sdk/flutter/range-selector/images/label-and-divider/selector_year_date_format.png new file mode 100644 index 000000000..bbafe15f4 Binary files /dev/null and b/chart-sdk/flutter/range-selector/images/label-and-divider/selector_year_date_format.png differ diff --git a/chart-sdk/flutter/range-selector/images/overview/range-selector-overview.png b/chart-sdk/flutter/range-selector/images/overview/range-selector-overview.png new file mode 100644 index 000000000..e99d56e5c Binary files /dev/null and b/chart-sdk/flutter/range-selector/images/overview/range-selector-overview.png differ diff --git a/chart-sdk/flutter/range-selector/images/range-controller/deferred-update.gif b/chart-sdk/flutter/range-selector/images/range-controller/deferred-update.gif new file mode 100644 index 000000000..cc7c53f82 Binary files /dev/null and b/chart-sdk/flutter/range-selector/images/range-controller/deferred-update.gif differ diff --git a/chart-sdk/flutter/range-selector/images/range-controller/range-controller.png b/chart-sdk/flutter/range-selector/images/range-controller/range-controller.png new file mode 100644 index 000000000..31e468569 Binary files /dev/null and b/chart-sdk/flutter/range-selector/images/range-controller/range-controller.png differ diff --git a/chart-sdk/flutter/range-selector/images/range-controller/selection-controller-with-sfchart.gif b/chart-sdk/flutter/range-selector/images/range-controller/selection-controller-with-sfchart.gif new file mode 100644 index 000000000..34754f5d6 Binary files /dev/null and b/chart-sdk/flutter/range-selector/images/range-controller/selection-controller-with-sfchart.gif differ diff --git a/chart-sdk/flutter/range-selector/images/range-controller/zooming-controller-with-sfchart.gif b/chart-sdk/flutter/range-selector/images/range-controller/zooming-controller-with-sfchart.gif new file mode 100644 index 000000000..603f3b5d5 Binary files /dev/null and b/chart-sdk/flutter/range-selector/images/range-controller/zooming-controller-with-sfchart.gif differ diff --git a/chart-sdk/flutter/range-selector/images/right-to-left/right-to-left-support.png b/chart-sdk/flutter/range-selector/images/right-to-left/right-to-left-support.png new file mode 100644 index 000000000..b88c1758a Binary files /dev/null and b/chart-sdk/flutter/range-selector/images/right-to-left/right-to-left-support.png differ diff --git a/chart-sdk/flutter/range-selector/images/shapes/divider-shape.png b/chart-sdk/flutter/range-selector/images/shapes/divider-shape.png new file mode 100644 index 000000000..dc5801da5 Binary files /dev/null and b/chart-sdk/flutter/range-selector/images/shapes/divider-shape.png differ diff --git a/chart-sdk/flutter/range-selector/images/shapes/thumb-shape.png b/chart-sdk/flutter/range-selector/images/shapes/thumb-shape.png new file mode 100644 index 000000000..f542b6512 Binary files /dev/null and b/chart-sdk/flutter/range-selector/images/shapes/thumb-shape.png differ diff --git a/chart-sdk/flutter/range-selector/images/shapes/ticks-shape.png b/chart-sdk/flutter/range-selector/images/shapes/ticks-shape.png new file mode 100644 index 000000000..e7bb6f830 Binary files /dev/null and b/chart-sdk/flutter/range-selector/images/shapes/ticks-shape.png differ diff --git a/chart-sdk/flutter/range-selector/images/shapes/track-shape.png b/chart-sdk/flutter/range-selector/images/shapes/track-shape.png new file mode 100644 index 000000000..36a2d230d Binary files /dev/null and b/chart-sdk/flutter/range-selector/images/shapes/track-shape.png differ diff --git a/chart-sdk/flutter/range-selector/images/thumb-and-overlay/selector-overlap-stroke-color.png b/chart-sdk/flutter/range-selector/images/thumb-and-overlay/selector-overlap-stroke-color.png new file mode 100644 index 000000000..020aee314 Binary files /dev/null and b/chart-sdk/flutter/range-selector/images/thumb-and-overlay/selector-overlap-stroke-color.png differ diff --git a/chart-sdk/flutter/range-selector/images/thumb-and-overlay/selector-overlay-color.png b/chart-sdk/flutter/range-selector/images/thumb-and-overlay/selector-overlay-color.png new file mode 100644 index 000000000..c5b76d140 Binary files /dev/null and b/chart-sdk/flutter/range-selector/images/thumb-and-overlay/selector-overlay-color.png differ diff --git a/chart-sdk/flutter/range-selector/images/thumb-and-overlay/selector-overlay-size.png b/chart-sdk/flutter/range-selector/images/thumb-and-overlay/selector-overlay-size.png new file mode 100644 index 000000000..be4e8c599 Binary files /dev/null and b/chart-sdk/flutter/range-selector/images/thumb-and-overlay/selector-overlay-size.png differ diff --git a/chart-sdk/flutter/range-selector/images/thumb-and-overlay/selector-thumb-color.png b/chart-sdk/flutter/range-selector/images/thumb-and-overlay/selector-thumb-color.png new file mode 100644 index 000000000..058a37088 Binary files /dev/null and b/chart-sdk/flutter/range-selector/images/thumb-and-overlay/selector-thumb-color.png differ diff --git a/chart-sdk/flutter/range-selector/images/thumb-and-overlay/selector-thumb-icon.png b/chart-sdk/flutter/range-selector/images/thumb-and-overlay/selector-thumb-icon.png new file mode 100644 index 000000000..3c5a376e0 Binary files /dev/null and b/chart-sdk/flutter/range-selector/images/thumb-and-overlay/selector-thumb-icon.png differ diff --git a/chart-sdk/flutter/range-selector/images/thumb-and-overlay/selector-thumb-size.png b/chart-sdk/flutter/range-selector/images/thumb-and-overlay/selector-thumb-size.png new file mode 100644 index 000000000..130f227d2 Binary files /dev/null and b/chart-sdk/flutter/range-selector/images/thumb-and-overlay/selector-thumb-size.png differ diff --git a/chart-sdk/flutter/range-selector/images/thumb-and-overlay/selector-thumb-stroke-color.png b/chart-sdk/flutter/range-selector/images/thumb-and-overlay/selector-thumb-stroke-color.png new file mode 100644 index 000000000..e6152fb35 Binary files /dev/null and b/chart-sdk/flutter/range-selector/images/thumb-and-overlay/selector-thumb-stroke-color.png differ diff --git a/chart-sdk/flutter/range-selector/images/tick/selector-major-tick.png b/chart-sdk/flutter/range-selector/images/tick/selector-major-tick.png new file mode 100644 index 000000000..41e328d0b Binary files /dev/null and b/chart-sdk/flutter/range-selector/images/tick/selector-major-tick.png differ diff --git a/chart-sdk/flutter/range-selector/images/tick/selector-minor-tick.png b/chart-sdk/flutter/range-selector/images/tick/selector-minor-tick.png new file mode 100644 index 000000000..19d058ea3 Binary files /dev/null and b/chart-sdk/flutter/range-selector/images/tick/selector-minor-tick.png differ diff --git a/chart-sdk/flutter/range-selector/images/tick/selector-ticks-customization.png b/chart-sdk/flutter/range-selector/images/tick/selector-ticks-customization.png new file mode 100644 index 000000000..b6f478cbd Binary files /dev/null and b/chart-sdk/flutter/range-selector/images/tick/selector-ticks-customization.png differ diff --git a/chart-sdk/flutter/range-selector/images/tick/selector-ticks-offset.png b/chart-sdk/flutter/range-selector/images/tick/selector-ticks-offset.png new file mode 100644 index 000000000..2e9b2d2ff Binary files /dev/null and b/chart-sdk/flutter/range-selector/images/tick/selector-ticks-offset.png differ diff --git a/chart-sdk/flutter/range-selector/images/tick/selector-ticks-size.png b/chart-sdk/flutter/range-selector/images/tick/selector-ticks-size.png new file mode 100644 index 000000000..60669f5b5 Binary files /dev/null and b/chart-sdk/flutter/range-selector/images/tick/selector-ticks-size.png differ diff --git a/chart-sdk/flutter/range-selector/images/tick/selector_major_tick.png b/chart-sdk/flutter/range-selector/images/tick/selector_major_tick.png new file mode 100644 index 000000000..2bea76998 Binary files /dev/null and b/chart-sdk/flutter/range-selector/images/tick/selector_major_tick.png differ diff --git a/chart-sdk/flutter/range-selector/images/tick/selector_minor_tick.png b/chart-sdk/flutter/range-selector/images/tick/selector_minor_tick.png new file mode 100644 index 000000000..06a7ffabd Binary files /dev/null and b/chart-sdk/flutter/range-selector/images/tick/selector_minor_tick.png differ diff --git a/chart-sdk/flutter/range-selector/images/tooltip/selector-overlap-stroke-color.png b/chart-sdk/flutter/range-selector/images/tooltip/selector-overlap-stroke-color.png new file mode 100644 index 000000000..bff102841 Binary files /dev/null and b/chart-sdk/flutter/range-selector/images/tooltip/selector-overlap-stroke-color.png differ diff --git a/chart-sdk/flutter/range-selector/images/tooltip/selector-tooltip-color.png b/chart-sdk/flutter/range-selector/images/tooltip/selector-tooltip-color.png new file mode 100644 index 000000000..52438d673 Binary files /dev/null and b/chart-sdk/flutter/range-selector/images/tooltip/selector-tooltip-color.png differ diff --git a/chart-sdk/flutter/range-selector/images/tooltip/selector-tooltip-shape.png b/chart-sdk/flutter/range-selector/images/tooltip/selector-tooltip-shape.png new file mode 100644 index 000000000..59c2d03e3 Binary files /dev/null and b/chart-sdk/flutter/range-selector/images/tooltip/selector-tooltip-shape.png differ diff --git a/chart-sdk/flutter/range-selector/images/tooltip/selector-tooltip-style.png b/chart-sdk/flutter/range-selector/images/tooltip/selector-tooltip-style.png new file mode 100644 index 000000000..8b6321a9e Binary files /dev/null and b/chart-sdk/flutter/range-selector/images/tooltip/selector-tooltip-style.png differ diff --git a/chart-sdk/flutter/range-selector/images/tooltip/selector_tooltip.png b/chart-sdk/flutter/range-selector/images/tooltip/selector_tooltip.png new file mode 100644 index 000000000..1ef95a6d6 Binary files /dev/null and b/chart-sdk/flutter/range-selector/images/tooltip/selector_tooltip.png differ diff --git a/chart-sdk/flutter/range-selector/images/tooltip/tooltip_format.png b/chart-sdk/flutter/range-selector/images/tooltip/tooltip_format.png new file mode 100644 index 000000000..68918be14 Binary files /dev/null and b/chart-sdk/flutter/range-selector/images/tooltip/tooltip_format.png differ diff --git a/chart-sdk/flutter/range-selector/images/track/selector-track-color.png b/chart-sdk/flutter/range-selector/images/track/selector-track-color.png new file mode 100644 index 000000000..a6bab2845 Binary files /dev/null and b/chart-sdk/flutter/range-selector/images/track/selector-track-color.png differ diff --git a/chart-sdk/flutter/range-selector/images/track/selector-track-corner-radius.png b/chart-sdk/flutter/range-selector/images/track/selector-track-corner-radius.png new file mode 100644 index 000000000..2d6eea661 Binary files /dev/null and b/chart-sdk/flutter/range-selector/images/track/selector-track-corner-radius.png differ diff --git a/chart-sdk/flutter/range-selector/images/track/selector-track-size.png b/chart-sdk/flutter/range-selector/images/track/selector-track-size.png new file mode 100644 index 000000000..43f50dd88 Binary files /dev/null and b/chart-sdk/flutter/range-selector/images/track/selector-track-size.png differ diff --git a/chart-sdk/flutter/range-selector/interval.md b/chart-sdk/flutter/range-selector/interval.md new file mode 100644 index 000000000..cd5f75bbb --- /dev/null +++ b/chart-sdk/flutter/range-selector/interval.md @@ -0,0 +1,387 @@ +--- +layout: post +title: Interval in Flutter Range Selector widget | Syncfusion +description: Learn here all about adding the Interval feature in Syncfusion Flutter Range Selector (SfRangeSelector) widget and more. +platform: chart-sdk +control: SfRangeSelector +documentation: ug +--- + +# Interval in Flutter Range Selector (SfRangeSelector) +This section explains about how to add the intervals for numeric and date range selector. + +## Numeric interval + +Range selector elements like labels, ticks and dividers are rendered based on the [`interval`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/interval.html), [`min`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/min.html) and [`max`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/max.html) properties. The default value of the [`interval`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/interval.html) property is `null` and it must be greater than 0. + +For example, if [`min`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/min.html) is 2.0 and [`max`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/max.html) is 10.0 and [`interval`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/interval.html) is 2.0, the range selector will render the labels, major ticks, and dividers at 2.0, 4.0 and so on. + +{% tabs %} +{% highlight Dart %} + +final double _min = 2.0; +final double _max = 10.0; +SfRangeValues _values = SfRangeValues(4.0, 8.0); + +final List chartData = [ + Data(x:2.0, y: 2.2), + Data(x:3.0, y: 3.4), + Data(x:4.0, y: 2.8), + Data(x:5.0, y: 1.6), + Data(x:6.0, y: 2.3), + Data(x:7.0, y: 2.5), + Data(x:8.0, y: 2.9), + Data(x:9.0, y: 3.8), + Data(x:10.0, y: 3.7), +]; + +@override +Widget build(BuildContext context) { + return MaterialApp( + home: Scaffold( + body: Center( + child: SfRangeSelector( + min: _min, + max: _max, + interval: 2, + showLabels: true, + showTicks: true, + initialValues: _values, + child: Container( + height: 130, + child: SfCartesianChart( + margin: const EdgeInsets.all(0), + primaryXAxis: NumericAxis(minimum: _min, + maximum: _max, + isVisible: false,), + primaryYAxis: NumericAxis(isVisible: false), + plotAreaBorderWidth: 0, + series: >[ + ColumnSeries( + color: Color.fromARGB(255, 126, 184, 253), + dataSource: chartData, + xValueMapper: (Data sales, int index) => sales.x, + yValueMapper: (Data sales, int index) => sales.y) + ], + ), + ), + ), + ) + ) + ); +} + +class Data { + Data({required this.x, required this.y}); + final double x; + final double y; +} + +{% endhighlight %} +{% endtabs %} + +![Numeric interval](images/interval/numeric_interval.png) + +N> +* Refer the [`showDividers`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/showDividers.html) to know about the rendering of dividers at given interval. +* Refer the [`showTicks`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/showTicks.html) to know about the rendering of major ticks at given interval. +* Refer the [`showLabels`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/showLabels.html) to know about the rendering of labels at given interval. + +## Date interval + +The type of date interval can range from years to seconds. It is mandatory for date [`SfRangeSelector`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector-class.html). The default value of [`dateIntervalType`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/dateIntervalType.html) property is `null`. + +For date values, the range selector does not have auto interval support. So, it is mandatory to set [`interval`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/interval.html), [`dateIntervalType`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/dateIntervalType.html), and [`dateFormat`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/dateFormat.html) for date values. + +For example, if [`min`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/min.html) is `DateTime(2002, 01, 01)` and [`max`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/max.html) is `DateTime(2010, 01, 01)` and [`interval`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/interval.html) is `2`, [`dateIntervalType`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/dateIntervalType.html) is `DateIntervalType.years`, [`dateFormat`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/dateFormat.html) is `DateFormat.y()` then the range selector will render the labels, major ticks, and dividers at 2002, 2004, 2006 and so on. + +{% tabs %} +{% highlight Dart %} + +final DateTime _min = DateTime(2002, 01, 01); +final DateTime _max = DateTime(2010, 01, 01); +SfRangeValues _values = SfRangeValues(DateTime(2004, 01, 01), DateTime(2008, 01, 01)); + +final List chartData = [ + Data(x: DateTime(2002, 01, 01), y: 2.2), + Data(x: DateTime(2003, 01, 01), y: 3.4), + Data(x: DateTime(2004, 01, 01), y: 2.8), + Data(x: DateTime(2005, 01, 01), y: 1.6), + Data(x: DateTime(2006, 01, 01), y: 2.3), + Data(x: DateTime(2007, 01, 01), y: 2.5), + Data(x: DateTime(2008, 01, 01), y: 2.9), + Data(x: DateTime(2009, 01, 01), y: 3.8), + Data(x: DateTime(2010, 01, 01), y: 3.7), +]; + +@override +Widget build(BuildContext context) { + return MaterialApp( + home: Scaffold( + body: Center( + child: SfRangeSelector( + min: _min, + max: _max, + showLabels: true, + showTicks: true, + interval: 2, + dateFormat: DateFormat.y(), + dateIntervalType: DateIntervalType.years, + initialValues: _values, + child: Container( + height: 130, + child: SfCartesianChart( + margin: const EdgeInsets.all(0), + primaryXAxis: DateTimeAxis( + minimum: _min, + maximum: _max, + isVisible: false,), + primaryYAxis: NumericAxis(isVisible: false), + plotAreaBorderWidth: 0, + series: >[ + ColumnSeries( + color: Color.fromARGB(255, 126, 184, 253), + dataSource: chartData, + xValueMapper: (Data sales, int index) => sales.x, + yValueMapper: (Data sales, int index) => sales.y) + ], + ), + ), + ), + ) + ) + ); +} + +class Data { + Data({required this.x, required this.y}); + final DateTime x; + final double y; +} + +{% endhighlight %} +{% endtabs %} + +![Date interval](images/interval/date_interval.png) + +## Discrete selection for numeric values + +You can move the thumb in discrete manner for numeric values using the [`stepSize`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/stepSize.html) property in the range selector. + +{% tabs %} +{% highlight Dart %} + +final double _min = 2.0; +final double _max = 10.0; +SfRangeValues _values = SfRangeValues(4.0, 8.0); + +final List chartData = [ + Data(x:2.0, y: 2.2), + Data(x:3.0, y: 3.4), + Data(x:4.0, y: 2.8), + Data(x:5.0, y: 1.6), + Data(x:6.0, y: 2.3), + Data(x:7.0, y: 2.5), + Data(x:8.0, y: 2.9), + Data(x:9.0, y: 3.8), + Data(x:10.0, y: 3.7), +]; + +@override +Widget build(BuildContext context) { + return MaterialApp( + home: Scaffold( + body: Center( + child: SfRangeSelector( + min: _min, + max: _max, + interval: 2, + stepSize: 1, + showLabels: true, + showTicks: true, + minorTicksPerInterval: 1, + initialValues: _values, + child: Container( + height: 130, + child: SfCartesianChart( + margin: const EdgeInsets.all(0), + primaryXAxis: NumericAxis(minimum: _min, + maximum: _max, + isVisible: false,), + primaryYAxis: NumericAxis(isVisible: false), + plotAreaBorderWidth: 0, + series: >[ + SplineAreaSeries( + color: Color.fromARGB(255, 126, 184, 253), + dataSource: chartData, + xValueMapper: (Data sales, int index) => sales.x, + yValueMapper: (Data sales, int index) => sales.y) + ], + ), + ), + ), + ) + ) + ); +} + +class Data { + Data({required this.x, required this.y}); + final double x; + final double y; +} + +{% endhighlight %} +{% endtabs %} + +![Step size support](images/interval/selector-step-size-support.gif) + +## Discrete selection for date values + +You can move the thumb in discrete manner for date values based on the value provided in the [`stepDuration`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/stepDuration.html) property in the range selector. + +For example, if [min](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/min.html) is DateTime(2015, 01, 01) and [max](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/max.html) is DateTime(2020, 01, 01) and [stepDuration](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/stepDuration.html) is SliderDuration(years: 1, months: 6),the range selector will move the thumbs at DateTime(2015, 01, 01), DateTime(2016, 07, 01), DateTime(2018, 01, 01),and DateTime(2019, 07, 01). + +{% tabs %} +{% highlight Dart %} + +final DateTime _min = DateTime(2002, 01, 01); +final DateTime _max = DateTime(2010, 01, 01); +SfRangeValues _values = SfRangeValues(DateTime(2004, 01, 01), DateTime(2008, 01, 01)); + +final List chartData = [ + Data(x: DateTime(2002, 01, 01), y: 2.2), + Data(x: DateTime(2003, 01, 01), y: 3.4), + Data(x: DateTime(2004, 01, 01), y: 2.8), + Data(x: DateTime(2005, 01, 01), y: 1.6), + Data(x: DateTime(2006, 01, 01), y: 2.3), + Data(x: DateTime(2007, 01, 01), y: 2.5), + Data(x: DateTime(2008, 01, 01), y: 2.9), + Data(x: DateTime(2009, 01, 01), y: 3.8), + Data(x: DateTime(2010, 01, 01), y: 3.7), +]; + +@override +Widget build(BuildContext context) { + return MaterialApp( + home: Scaffold( + body: Center( + child: SfRangeSelector( + min: _min, + max: _max, + showLabels: true, + showTicks: true, + interval: 2, + stepDuration: SliderStepDuration(years: 2), + dateFormat: DateFormat.y(), + dateIntervalType: DateIntervalType.years, + initialValues: _values, + child: Container( + height: 130, + child: SfCartesianChart( + margin: const EdgeInsets.all(0), + primaryXAxis: DateTimeAxis( + minimum: _min, + maximum: _max, + isVisible: false,), + primaryYAxis: NumericAxis(isVisible: false), + plotAreaBorderWidth: 0, + series: >[ + SplineAreaSeries( + color: Color.fromARGB(255, 126, 184, 253), + dataSource: chartData, + xValueMapper: (Data sales, int index) => sales.x, + yValueMapper: (Data sales, int index) => sales.y) + ], + ), + ), + ), + ) + ) + ); +} + +class Data { + Data({required this.x, required this.y}); + final DateTime x; + final double y; +} + +{% endhighlight %} +{% endtabs %} + +![Step duration support](images/interval/selector-step-duration-support.gif) + +## Enable interval selection + +You can select a particular interval by tapping when setting the [`enableIntervalSelection`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/enableIntervalSelection.html) property as `true`. Both the thumbs will be moved to the current interval with animation. + +{% tabs %} +{% highlight Dart %} + +final DateTime _min = DateTime(2002, 01, 01); +final DateTime _max = DateTime(2010, 01, 01); +SfRangeValues _values = SfRangeValues(DateTime(2004, 01, 01), DateTime(2008, 01, 01)); + +final List chartData = [ + Data(x: DateTime(2002, 01, 01), y: 2.2), + Data(x: DateTime(2003, 01, 01), y: 3.4), + Data(x: DateTime(2004, 01, 01), y: 2.8), + Data(x: DateTime(2005, 01, 01), y: 1.6), + Data(x: DateTime(2006, 01, 01), y: 2.3), + Data(x: DateTime(2007, 01, 01), y: 2.5), + Data(x: DateTime(2008, 01, 01), y: 2.9), + Data(x: DateTime(2009, 01, 01), y: 3.8), + Data(x: DateTime(2010, 01, 01), y: 3.7), +]; + +@override +Widget build(BuildContext context) { + return MaterialApp( + home: Scaffold( + body: Center( + child: SfRangeSelector( + min: _min, + max: _max, + showLabels: true, + showTicks: true, + interval: 2, + enableIntervalSelection: true, + dateFormat: DateFormat.y(), + dateIntervalType: DateIntervalType.years, + initialValues: _values, + child: Container( + height: 130, + child: SfCartesianChart( + margin: const EdgeInsets.all(0), + primaryXAxis: DateTimeAxis( + minimum: _min, + maximum: _max, + isVisible: false,), + primaryYAxis: NumericAxis(isVisible: false), + plotAreaBorderWidth: 0, + series: >[ + SplineAreaSeries( + color: Color.fromARGB(255, 126, 184, 253), + dataSource: chartData, + xValueMapper: (Data sales, int index) => sales.x, + yValueMapper: (Data sales, int index) => sales.y) + ], + ), + ), + ), + ) + ) + ); +} + +class Data { + Data({required this.x, required this.y}); + final DateTime x; + final double y; +} + +{% endhighlight %} +{% endtabs %} + +![Interval selection support](images/interval/selector-interval-selection-support.gif) diff --git a/chart-sdk/flutter/range-selector/labels-and-divider.md b/chart-sdk/flutter/range-selector/labels-and-divider.md new file mode 100644 index 000000000..e4e828631 --- /dev/null +++ b/chart-sdk/flutter/range-selector/labels-and-divider.md @@ -0,0 +1,1171 @@ +--- +layout: post +title: Labels in Flutter Range Selector widget | Syncfusion +description: Learn here all about adding the Labels feature in Syncfusion Flutter Range Selector (SfRangeSelector) widget and more. +platform: chart-sdk +control: SfRangeSelector +documentation: ug +--- + +# Labels in Flutter Range Selector (SfRangeSelector) +This section explains about how to add the labels and dividers in the range selector. + +## Show labels + +The [`showLabels`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/showLabels.html) property is used to render the labels at given interval. The default value of [`showLabels`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/showLabels.html) property is `false`. + +{% tabs %} +{% highlight Dart %} + +final double _min = 2.0; +final double _max = 10.0; +SfRangeValues _values = SfRangeValues(5.0, 8.0); + +final List chartData = [ + Data(x:2.0, y: 2.2), + Data(x:3.0, y: 3.4), + Data(x:4.0, y: 2.8), + Data(x:5.0, y: 1.6), + Data(x:6.0, y: 2.3), + Data(x:7.0, y: 2.5), + Data(x:8.0, y: 2.9), + Data(x:9.0, y: 3.8), + Data(x:10.0, y: 3.7), +]; + +@override +Widget build(BuildContext context) { + return MaterialApp( + home: Scaffold( + body: Center( + child: SfRangeSelector( + min: _min, + max: _max, + interval: 1, + showLabels: true, + showTicks: true, + initialValues: _values, + child: Container( + height: 130, + child: SfCartesianChart( + margin: const EdgeInsets.all(0), + primaryXAxis: NumericAxis(minimum: _min, + maximum: _max, + isVisible: false,), + primaryYAxis: NumericAxis(isVisible: false), + plotAreaBorderWidth: 0, + series: >[ + SplineAreaSeries( + color: Color.fromARGB(255, 126, 184, 253), + dataSource: chartData, + xValueMapper: (Data sales, int index) => sales.x, + yValueMapper: (Data sales, int index) => sales.y) + ], + ), + ), + ), + ) + ) + ); +} + +class Data { + Data({required this.x, required this.y}); + final double x; + final double y; +} + +{% endhighlight %} +{% endtabs %} + +![Range selector labels](images/label-and-divider/selector_show_label.png) + +N> +* Refer the [`numberFormat`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/numberFormat.html) and [`dateFormat`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/dateFormat.html) for formatting the numeric and date labels respectively. +* Refer the [`SfRangeSelectorThemeData`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfRangeSelectorThemeData-class.html) for customizing the appearance of the labels. + +## Number format + +The [`numberFormat`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/numberFormat.html) property is used to format the numeric labels. The default value of [`numberFormat`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/numberFormat.html) property is `null`. + +N> You must import [`intl`](https://pub.dev/packages/intl) package for formatting numeric range selector using the [`NumberFormat`](https://pub.dev/documentation/intl/latest/intl/NumberFormat-class.html) class. + +{% tabs %} +{% highlight Dart %} + +final double _min = 2.0; +final double _max = 10.0; +SfRangeValues _values = SfRangeValues(4.5, 8.5); + +final List chartData = [ + Data(x:2.0, y: 2.2), + Data(x:3.0, y: 3.4), + Data(x:4.0, y: 2.8), + Data(x:5.0, y: 1.6), + Data(x:6.0, y: 2.3), + Data(x:7.0, y: 2.5), + Data(x:8.0, y: 2.9), + Data(x:9.0, y: 3.8), + Data(x:10.0, y: 3.7), +]; + +@override +Widget build(BuildContext context) { + return MaterialApp( + home: Scaffold( + body: Center( + child: SfRangeSelector( + min: _min, + max: _max, + interval: 1, + showLabels: true, + showTicks: true, + numberFormat: NumberFormat("\$"), + initialValues: _values, + child: Container( + height: 130, + child: SfCartesianChart( + margin: const EdgeInsets.all(0), + primaryXAxis: NumericAxis(minimum: _min, + maximum: _max, + isVisible: false,), + primaryYAxis: NumericAxis(isVisible: false), + plotAreaBorderWidth: 0, + series: >[ + ColumnSeries( + color: Color.fromARGB(255, 126, 184, 253), + dataSource: chartData, + xValueMapper: (Data sales, int index) => sales.x, + yValueMapper: (Data sales, int index) => sales.y) + ], + ), + ), + ), + ) + ) + ); +} + +class Data { + Data({required this.x, required this.y}); + final double x; + final double y; +} + +{% endhighlight %} +{% endtabs %} + +![Number format support](images/label-and-divider/selector_number_format.png) + +## Date format + +The [`dateFormat`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/dateFormat.html) property is used to format the date labels. It is mandatory for date [`SfRangeSelector`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector-class.html). For date values, the range selector does not have auto interval support. So, it is mandatory to set [`interval`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/interval.html), [`dateIntervalType`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/dateIntervalType.html), and [`dateFormat`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/dateFormat.html) for date values. The default value of [`dateFormat`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/dateFormat.html) property is `null`. + +N> You must import [`intl`](https://pub.dev/packages/intl) package for formatting date range selector using the [`DateFormat`](https://pub.dev/documentation/intl/latest/intl/DateFormat-class.html) class. + +### Year format + +{% tabs %} +{% highlight Dart %} + +final DateTime _min = DateTime(2000, 01, 01); +final DateTime _max = DateTime(2008, 01, 01); +SfRangeValues _values = SfRangeValues(DateTime(2002, 01, 01), DateTime(2006, 01, 01)); + +final List _chartData = [ + Data(x: DateTime(2000, 01, 01), y: 2.2), + Data(x: DateTime(2001, 01, 01), y: 3.4), + Data(x: DateTime(2002, 01, 01), y: 2.8), + Data(x: DateTime(2003, 01, 01), y: 1.6), + Data(x: DateTime(2004, 01, 01), y: 2.3), + Data(x: DateTime(2005, 01, 01), y: 2.5), + Data(x: DateTime(2006, 01, 01), y: 2.9), + Data(x: DateTime(2007, 01, 01), y: 3.8), + Data(x: DateTime(2008, 01, 01), y: 3.7), +]; + +@override +Widget build(BuildContext context) { + return MaterialApp( + home: Scaffold( + body: Center( + child: SfRangeSelector( + min: _min, + max: _max, + showLabels: true, + showTicks: true, + interval: 2, + dateFormat: DateFormat.y(), + dateIntervalType: DateIntervalType.years, + initialValues: _values, + child: Container( + height: 130, + child: SfCartesianChart( + margin: const EdgeInsets.all(0), + primaryXAxis: DateTimeAxis( + minimum: _min, + maximum: _max, + isVisible: false), + primaryYAxis: NumericAxis(isVisible: false), + plotAreaBorderWidth: 0, + series: >[ + SplineAreaSeries( + color: Color.fromARGB(255, 126, 184, 253), + dataSource: _chartData, + xValueMapper: (Data sales, int index) => sales.x, + yValueMapper: (Data sales, int index) => sales.y) + ], + ), + ), + ), + ) + ) + ); +} + +class Data { + Data({required this.x, required this.y}); + final DateTime x; + final double y; +} + +{% endhighlight %} +{% endtabs %} + +![Year date format support](images/label-and-divider/selector_year_date_format.png) + +### Month format + +{% tabs %} +{% highlight Dart %} + +final DateTime _min = DateTime(2000, 01, 01); +final DateTime _max = DateTime(2000, 09, 01); +SfRangeValues _values = SfRangeValues(DateTime(2000, 05, 01), DateTime(2000, 07, 01)); + +final List chartData = [ + Data(x: DateTime(2000, 01, 01), y: 2.2), + Data(x: DateTime(2000, 01, 01), y: 3.4), + Data(x: DateTime(2000, 01, 01), y: 2.8), + Data(x: DateTime(2000, 01, 01), y: 1.6), + Data(x: DateTime(2000, 01, 01), y: 2.3), + Data(x: DateTime(2000, 01, 01), y: 2.5), + Data(x: DateTime(2000, 01, 01), y: 2.9), + Data(x: DateTime(2000, 01, 01), y: 3.8), + Data(x: DateTime(2000, 01, 01), y: 3.7), +]; + +@override +Widget build(BuildContext context) { + return MaterialApp( + home: Scaffold( + body: Center( + child: SfRangeSelector( + min: _min, + max: _max, + showLabels: true, + showTicks: true, + interval: 2, + dateFormat: DateFormat.yM(), + dateIntervalType: DateIntervalType.months, + initialValues: _values, + child: Container( + height: 130, + child: SfCartesianChart( + margin: const EdgeInsets.all(0), + primaryXAxis: DateTimeAxis( + minimum: _min, + maximum: _max, + isVisible: false), + primaryYAxis: NumericAxis(isVisible: false), + plotAreaBorderWidth: 0, + series: >[ + SplineAreaSeries( + color: Color.fromARGB(255, 126, 184, 253), + dataSource: chartData, + xValueMapper: (Data sales, int index) => sales.x, + yValueMapper: (Data sales, int index) => sales.y) + ], + ), + ), + ), + ) + ) + ); +} + +class Data { + Data({required this.x, required this.y}); + final DateTime x; + final double y; +} + +{% endhighlight %} +{% endtabs %} + +![Month date format support](images/label-and-divider/selector_month_date_format.png) + +### Hour format + +{% tabs %} +{% highlight Dart %} + +final DateTime _min = DateTime(2002, 01, 01, 09, 00, 00); +final DateTime _max = DateTime(2002, 01, 01, 17, 00, 00); +SfRangeValues _values = SfRangeValues(DateTime(2002, 01, 01, 11, 00, 00), DateTime(2002, 01, 01, 15, 00, 00)); + +final List _chartData = [ + Data(x: DateTime(2002, 01, 01, 09, 00, 00), y: 2.2), + Data(x: DateTime(2002, 01, 01, 10, 00, 00), y: 3.4), + Data(x: DateTime(2002, 01, 01, 11, 00, 00), y: 2.8), + Data(x: DateTime(2002, 01, 01, 12, 00, 00), y: 1.6), + Data(x: DateTime(2002, 01, 01, 13, 00, 00), y: 2.3), + Data(x: DateTime(2002, 01, 01, 14, 00, 00), y: 2.5), + Data(x: DateTime(2002, 01, 01, 15, 00, 00), y: 2.9), + Data(x: DateTime(2002, 01, 01, 16, 00, 00), y: 3.8), + Data(x: DateTime(2002, 01, 01, 17, 00, 00), y: 3.7), +]; + +@override +Widget build(BuildContext context) { + return MaterialApp( + home: Scaffold( + body: Center( + child: SfRangeSelector( + min: _min, + max: _max, + showLabels: true, + showTicks: true, + interval: 2, + dateFormat: DateFormat('h:mm a'), + dateIntervalType: DateIntervalType.hours, + initialValues: _values, + child: Container( + height: 130, + child: SfCartesianChart( + margin: const EdgeInsets.all(0), + primaryXAxis: DateTimeAxis( + minimum: _min, + maximum: _max, + isVisible: false), + primaryYAxis: NumericAxis(isVisible: false), + plotAreaBorderWidth: 0, + series: >[ + SplineAreaSeries( + color: Color.fromARGB(255, 126, 184, 253), + dataSource: _chartData, + xValueMapper: (Data sales, int index) => sales.x, + yValueMapper: (Data sales, int index) => sales.y) + ], + ), + ), + ), + ) + ) + ); +} + +class Data { + Data({required this.x, required this.y}); + final DateTime x; + final double y; +} + +{% endhighlight %} +{% endtabs %} + +![Hour date format support](images/label-and-divider/selector_hour_date_format.png) + +N> Refer the [`DateFormat`](https://api.flutter.dev/flutter/intl/DateFormat-class.html) class for other date format. + +## Label placement + +The [`labelPlacement`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/labelPlacement.html) property is used to place the labels either between the major ticks or on the major ticks. The default value of [`labelPlacement`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/labelPlacement.html) property is `LabelPlacement.onTicks`. + +{% tabs %} +{% highlight Dart %} + +final DateTime _min = DateTime(2002, 01, 01); +final DateTime _max = DateTime(2010, 01, 01); +SfRangeValues _values = SfRangeValues(DateTime(2005, 01, 01), DateTime(2008, 01, 01)); + +final List chartData = [ + Data(x: DateTime(2002, 01, 01), y: 2.2), + Data(x: DateTime(2003, 01, 01), y: 3.4), + Data(x: DateTime(2004, 01, 01), y: 2.8), + Data(x: DateTime(2005, 01, 01), y: 1.6), + Data(x: DateTime(2006, 01, 01), y: 2.3), + Data(x: DateTime(2007, 01, 01), y: 2.5), + Data(x: DateTime(2008, 01, 01), y: 2.9), + Data(x: DateTime(2009, 01, 01), y: 3.8), + Data(x: DateTime(2010, 01, 01), y: 3.7), +]; + +@override +Widget build(BuildContext context) { + return MaterialApp( + home: Scaffold( + body: Center( + child: SfRangeSelector( + min: _min, + max: _max, + showLabels: true, + showTicks: true, + interval: 1, + dateFormat: DateFormat.y(), + labelPlacement: LabelPlacement.betweenTicks, + dateIntervalType: DateIntervalType.years, + initialValues: _values, + child: Container( + height: 130, + child: SfCartesianChart( + margin: const EdgeInsets.all(0), + primaryXAxis: DateTimeAxis( + minimum: _min, + maximum: _max, + isVisible: false,), + primaryYAxis: NumericAxis(isVisible: false), + plotAreaBorderWidth: 0, + series: >[ + SplineAreaSeries( + color: Color.fromARGB(255, 126, 184, 253), + dataSource: chartData, + xValueMapper: (Data sales, int index) => sales.x, + yValueMapper: (Data sales, int index) => sales.y) + ], + ), + ), + ), + ) + ) + ); +} + +class Data { + Data({required this.x, required this.y}); + final DateTime x; + final double y; +} + +{% endhighlight %} +{% endtabs %} + +![Label placement support](images/label-and-divider/selector_label_placement.png) + +## Edge label placement + +The [`edgeLabelPlacement`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/edgeLabelPlacement.html) property determines how the edge (first and last) labels are positioned on the range selector. This property allows the edge labels to be placed either inside the major ticks or directly on the major ticks. + +The default value of [`edgeLabelPlacement`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/edgeLabelPlacement.html) property is `EdgeLabelPlacement.auto`. + +{% tabs %} +{% highlight Dart %} + +final DateTime _min = DateTime(2002, 01, 01); +final DateTime _max = DateTime(2010, 01, 01); +SfRangeValues _values = SfRangeValues(DateTime(2005, 01, 01), DateTime(2008, 01, 01)); + +final List chartData = [ + Data(x: DateTime(2002, 01, 01), y: 2.2), + Data(x: DateTime(2003, 01, 01), y: 3.4), + Data(x: DateTime(2004, 01, 01), y: 2.8), + Data(x: DateTime(2005, 01, 01), y: 1.6), + Data(x: DateTime(2006, 01, 01), y: 2.3), + Data(x: DateTime(2007, 01, 01), y: 2.5), + Data(x: DateTime(2008, 01, 01), y: 2.9), + Data(x: DateTime(2009, 01, 01), y: 3.8), + Data(x: DateTime(2010, 01, 01), y: 3.7), +]; + +@override +Widget build(BuildContext context) { + return MaterialApp( + home: Scaffold( + body: Center( + child: SfRangeSelector( + min: _min, + max: _max, + showLabels: true, + showTicks: true, + interval: 1, + dateFormat: DateFormat.y(), + edgeLabelPlacement: EdgeLabelPlacement.inside, + dateIntervalType: DateIntervalType.years, + initialValues: _values, + child: Container( + height: 130, + child: SfCartesianChart( + margin: const EdgeInsets.all(0), + primaryXAxis: DateTimeAxis( + minimum: _min, + maximum: _max, + isVisible: false,), + primaryYAxis: NumericAxis(isVisible: false), + plotAreaBorderWidth: 0, + series: >[ + SplineAreaSeries( + color: Color.fromARGB(255, 126, 184, 253), + dataSource: chartData, + xValueMapper: (Data sales, int index) => sales.x, + yValueMapper: (Data sales, int index) => sales.y) + ], + ), + ), + ), + ) + ) + ); +} + +class Data { + Data({required this.x, required this.y}); + final DateTime x; + final double y; +} + +{% endhighlight %} +{% endtabs %} + +![Edge Label placement support](images/label-and-divider/selector-edge-label-placement.png) + +## Customize label text + +You can format or change the whole numeric or date label text using the [`labelFormatterCallback`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/labelFormatterCallback.html). Its arguments are, + +* **actualValue** – either `DateTime` or `double` based on given [`initialValues`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/initialValues.html). +* **formattedText** – If the actual value is `double`, it is formatted by [`numberFormat`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/numberFormat.html) and if the actual value is `DateTime`, it is formatted by [`dateFormat`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/dateFormat.html). + +>**NOTE** +* [`labelFormatterCallback`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfSlider/labelFormatterCallback.html) has been deprecated, you can use [`onLabelCreated`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/onLabelCreated.html) callback to customize both the text and text style of the label. + +{% tabs %} +{% highlight Dart %} + +final double _min = 2.0; +final double _max = 10.0; +SfRangeValues _values = SfRangeValues(100.0, 10000.0); + +final List chartData = [ + Data(x:2.0, y: 2.2), + Data(x:3.0, y: 3.4), + Data(x:4.0, y: 2.8), + Data(x:5.0, y: 1.6), + Data(x:6.0, y: 2.3), + Data(x:7.0, y: 2.5), + Data(x:8.0, y: 2.9), + Data(x:9.0, y: 3.8), + Data(x:10.0, y: 3.7), +]; + + +@override +Widget build(BuildContext context) { + return MaterialApp( + home: Scaffold( + body: Center( + child: SfRangeSelector( + min: 100.0, + max: 10000.0, + initialValues: _values, + showLabels: true, + interval: 9900, + labelFormatterCallback: (dynamic actualValue, String formattedText) { + return actualValue == 10000 ? '\$ $formattedText+' : '\$ $formattedText'; + }, + child: Container( + height: 130, + child: SfCartesianChart( + margin: const EdgeInsets.all(0), + primaryXAxis: NumericAxis(minimum: _min, + maximum: _max, + isVisible: false,), + primaryYAxis: NumericAxis(isVisible: false), + plotAreaBorderWidth: 0, + series: >[ + ColumnSeries( + color: Color.fromARGB(255, 126, 184, 253), + dataSource: chartData, + xValueMapper: (Data sales, int index) => sales.x, + yValueMapper: (Data sales, int index) => sales.y) + ], + ), + ), + ), + ) + ) + ); +} + +class Data { + Data({required this.x, required this.y}); + final double x; + final double y; +} + +{% endhighlight %} +{% endtabs %} + +![Label formatter support](images/label-and-divider/selector_label_formatter.png) + +## Label style + +You can change the active and inactive label appearance of the range selector using the [`activeLabelStyle`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfSliderThemeData/activeLabelStyle.html) and [`inactiveLabelStyle`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfSliderThemeData/inactiveLabelStyle.html) properties respectively. + +The active side of the [`SfRangeSelector`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector-class.html) is between start and end thumbs. + +The inactive side of the [`SfRangeSelector`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector-class.html) is between the [`min`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/min.html) value and the left thumb, and the right thumb and the [`max`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/max.html) value. + +For RTL, the inactive side is between the [`max`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/max.html) value and the left thumb, and the right thumb and the [`min`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/min.html) value. + +N> You must import the `theme.dart` library from the [`Core`](https://pub.dev/packages/syncfusion_flutter_core) package to use [`SfRangeSelectorTheme`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfRangeSelectorTheme-class.html). + +{% tabs %} +{% highlight Dart %} + +final double _min = 2.0; +final double _max = 10.0; +SfRangeValues _values = SfRangeValues(4.0, 8.0); + +final List chartData = [ + Data(x:2.0, y: 2.2), + Data(x:3.0, y: 3.4), + Data(x:4.0, y: 2.8), + Data(x:5.0, y: 1.6), + Data(x:6.0, y: 2.3), + Data(x:7.0, y: 2.5), + Data(x:8.0, y: 2.9), + Data(x:9.0, y: 3.8), + Data(x:10.0, y: 3.7), +]; + +@override +Widget build(BuildContext context) { + return MaterialApp( + home: Scaffold( + body: Center( + child: SfRangeSelectorTheme( + data: SfRangeSelectorThemeData( + activeLabelStyle: TextStyle(color: Colors.red, fontSize: 12, fontStyle: FontStyle.italic), + inactiveLabelStyle: TextStyle(color: Colors.red[200], fontSize: 12, fontStyle: FontStyle.italic), + ), + child: SfRangeSelector( + min: _min, + max: _max, + interval: 1, + showLabels: true, + showTicks: true, + initialValues: _values, + child: Container( + height: 130, + child: SfCartesianChart( + margin: const EdgeInsets.all(0), + primaryXAxis: NumericAxis(minimum: _min, + maximum: _max, + isVisible: false), + primaryYAxis: NumericAxis(isVisible: false), + plotAreaBorderWidth: 0, + series: >[ + SplineAreaSeries( + color: Color.fromARGB(255, 126, 184, 253), + dataSource: chartData, + xValueMapper: (Data sales, int index) => sales.x, + yValueMapper: (Data sales, int index) => sales.y) + ], + ), + ), + ), + ), + ) + ) + ); +} + +class Data { + Data({required this.x, required this.y}); + final double x; + final double y; +} + +{% endhighlight %} +{% endtabs %} + +![Labels color support](images/label-and-divider/selector-labels-color.png) + +## Individual label style + +You can now customize the appearance of each label on the [`SfRangeSelector`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector-class.html) individually by using the [`onLabelCreated`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/onLabelCreated.html) callback. This callback allows you to have complete control over the text and text style for each label. + +{% tabs %} +{% highlight Dart %} + + final double _min = 2.0; + final double _max = 10.0; + SfRangeValues _values = const SfRangeValues(4.0, 8.0); + + @override + Widget build(BuildContext context) { + return Scaffold( + body: Center( + child: SfRangeSelector( + min: _min, + max: _max, + interval: 1, + showLabels: true, + showTicks: true, + initialValues: _values, + onChanged: (dynamic value) { + setState(() { + _values = value; + }); + }, + onLabelCreated: ( + dynamic actualValue, + String text, + TextStyle labelTextStyle, + ) { + final int value = actualValue.toInt(); + final int start = _values.start.toInt(); + final int end = _values.end.toInt(); + return RangeSelectorLabel( + text: text, + textStyle: + (value == start || value == end) + ? const TextStyle( + color: Colors.blue, + fontSize: 14, + ) + : TextStyle( + color: Colors.red[200], + fontSize: 10, + ), + ); + }, + child: SizedBox( + height: 130, + child: SfCartesianChart( + margin: EdgeInsets.zero, + primaryXAxis: NumericAxis( + minimum: _min, + maximum: _max, + isVisible: false, + ), + primaryYAxis: const NumericAxis(isVisible: false), + plotAreaBorderWidth: 0, + series: >[ + SplineAreaSeries( + color: const Color.fromARGB(255, 126, 184, 253), + dataSource: chartData, + xValueMapper: (Data sales, int index) => sales.x, + yValueMapper: (Data sales, int index) => sales.y, + ), + ], + ), + ), + ), + ), + ); + } + +class Data { + Data({required this.x, required this.y}); + final double x; + final double y; +} + +{% endhighlight %} +{% endtabs %} + +![Individual label style support](images/label-and-divider/selector-individual-label-color.png) + +## Label offset + +You can adjust the space between ticks and labels of the range selector using the [`labelOffset`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfSliderThemeData/labelOffset.html) property. + +The default value of [`labelOffset`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfSliderThemeData/labelOffset.html) property is `Offset(0.0, 13.0)` if the [`showTicks`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/showTicks.html) property is `false`. +The default value of [`labelOffset`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfSliderThemeData/labelOffset.html) property is `Offset(0.0, 5.0)` if the [`showTicks`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/showTicks.html) property is `true`. + +N> You must import the `theme.dart` library from the [`Core`](https://pub.dev/packages/syncfusion_flutter_core) package to use [`SfRangeSelectorTheme`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfRangeSelectorTheme-class.html). + +{% tabs %} +{% highlight Dart %} + +final double _min = 2.0; +final double _max = 10.0; +SfRangeValues _values = SfRangeValues(4.0, 8.0); + +final List chartData = [ + Data(x:2.0, y: 2.2), + Data(x:3.0, y: 3.4), + Data(x:4.0, y: 2.8), + Data(x:5.0, y: 1.6), + Data(x:6.0, y: 2.3), + Data(x:7.0, y: 2.5), + Data(x:8.0, y: 2.9), + Data(x:9.0, y: 3.8), + Data(x:10.0, y: 3.7), +]; + +@override +Widget build(BuildContext context) { + return MaterialApp( + home: Scaffold( + body: Center( + child: SfRangeSelectorTheme( + data: SfRangeSelectorThemeData( + labelOffset: Offset(0, 15), + ), + child: SfRangeSelector( + min: _min, + max: _max, + interval: 1, + showLabels: true, + showDividers: true, + initialValues: _values, + child: Container( + height: 130, + child: SfCartesianChart( + margin: const EdgeInsets.all(0), + primaryXAxis: NumericAxis(minimum: _min, + maximum: _max, + isVisible: false), + primaryYAxis: NumericAxis(isVisible: false), + plotAreaBorderWidth: 0, + series: >[ + SplineAreaSeries( + color: Color.fromARGB(255, 126, 184, 253), + dataSource: chartData, + xValueMapper: (Data sales, int index) => sales.x, + yValueMapper: (Data sales, int index) => sales.y) + ], + ), + ), + ), + ), + ) + ) + ); +} + +class Data { + Data({required this.x, required this.y}); + final double x; + final double y; +} + +{% endhighlight %} +{% endtabs %} + +![Labels offset support](images/label-and-divider/selector-labels-offset.png) + +## Show dividers + +The [`showDividers`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/showDividers.html) property is used to render the dividers on the track. The default value of [`showDividers`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/showDividers.html) property is `false`. It is a shape which is used to represent the major interval points of the track. + +For example, if [`min`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/min.html) is 0.0 and [`max`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/max.html) is 10.0 and [`interval`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/interval.html) is 2.0, the range selector will render the dividers at 0.0, 2.0, 4.0 and so on. + +{% tabs %} +{% highlight Dart %} + +final double _min = 2.0; +final double _max = 10.0; +SfRangeValues _values = SfRangeValues(4.0, 8.0); + +final List chartData = [ + Data(x:2.0, y: 2.2), + Data(x:3.0, y: 3.4), + Data(x:4.0, y: 2.8), + Data(x:5.0, y: 1.6), + Data(x:6.0, y: 2.3), + Data(x:7.0, y: 2.5), + Data(x:8.0, y: 2.9), + Data(x:9.0, y: 3.8), + Data(x:10.0, y: 3.7), +]; + +@override +Widget build(BuildContext context) { + return MaterialApp( + home: Scaffold( + body: Center( + child: SfRangeSelector( + min: _min, + max: _max, + interval: 1, + showDividers: true, + showLabels: true, + initialValues: _values, + child: Container( + height: 130, + child: SfCartesianChart( + margin: const EdgeInsets.all(0), + primaryXAxis: NumericAxis(minimum: _min, + maximum: _max, + isVisible: false,), + primaryYAxis: NumericAxis(isVisible: false), + plotAreaBorderWidth: 0, + series: >[ + SplineAreaSeries( + color: Color.fromARGB(255, 126, 184, 253), + dataSource: chartData, + xValueMapper: (Data sales, int index) => sales.x, + yValueMapper: (Data sales, int index) => sales.y) + ], + ), + ), + ), + ) + ) + ); +} + +class Data { + Data({required this.x, required this.y}); + final double x; + final double y; +} + +{% endhighlight %} +{% endtabs %} + +![Range selector dividers](images/label-and-divider/selector_show_divider.png) + +## Divider radius + +You can change the active and inactive divider radius of the range selector using the [`activeDividerRadius`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfSliderThemeData/activeDividerRadius.html) and the [`inactiveDividerRadius`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfSliderThemeData/inactiveDividerRadius.html) properties respectively. + +N> You must import the `theme.dart` library from the [`Core`](https://pub.dev/packages/syncfusion_flutter_core) package to use [`SfRangeSelectorTheme`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfRangeSelectorTheme-class.html). + +{% tabs %} +{% highlight Dart %} + +final double _min = 2.0; +final double _max = 10.0; +SfRangeValues _values = SfRangeValues(4.0, 8.0); + +final List chartData = [ + Data(x:2.0, y: 2.2), + Data(x:3.0, y: 3.4), + Data(x:4.0, y: 2.8), + Data(x:5.0, y: 1.6), + Data(x:6.0, y: 2.3), + Data(x:7.0, y: 2.5), + Data(x:8.0, y: 2.9), + Data(x:9.0, y: 3.8), + Data(x:10.0, y: 3.7), +]; + +@override +Widget build(BuildContext context) { + return MaterialApp( + home: Scaffold( + body: Center( + child: SfRangeSelectorTheme( + data: SfRangeSelectorThemeData( + activeTrackHeight: 10, + inactiveTrackHeight: 10, + activeDividerRadius: 5, + inactiveDividerRadius: 5 + ), + child: SfRangeSelector( + min: _min, + max: _max, + interval: 1, + showDividers: true, + initialValues: _values, + child: Container( + height: 130, + child: SfCartesianChart( + margin: const EdgeInsets.all(0), + primaryXAxis: NumericAxis(minimum: _min, + maximum: _max, + isVisible: false), + primaryYAxis: NumericAxis(isVisible: false), + plotAreaBorderWidth: 0, + series: >[ + SplineAreaSeries( + color: Color.fromARGB(255, 126, 184, 253), + dataSource: chartData, + xValueMapper: (Data sales, int index) => sales.x, + yValueMapper: (Data sales, int index) => sales.y) + ], + ), + ), + ), + ), + ) + ) + ); +} + +class Data { + Data({required this.x, required this.y}); + final double x; + final double y; +} + +{% endhighlight %} +{% endtabs %} + +![Divider radius support](images/label-and-divider/range-selector-divider-radius.png) + +## Divider stroke width and stroke color + +You can change the active and inactive divider stroke width of the range selector using the [`activeDividerStrokeWidth`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfSliderThemeData/activeDividerStrokeWidth.html) and the [`inactiveDividerStrokeWidth`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfSliderThemeData/inactiveDividerStrokeWidth.html) properties respectively. + +Also, you can change the active and inactive divider stroke color of the range selector using the [`activeDividerStrokeColor`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfSliderThemeData/activeDividerStrokeColor.html) and the [`inactiveDividerStrokeColor`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfSliderThemeData/inactiveDividerStrokeColor.html) properties respectively. + +N> You must import the `theme.dart` library from the [`Core`](https://pub.dev/packages/syncfusion_flutter_core) package to use [`SfRangeSelectorTheme`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfRangeSelectorTheme-class.html). + +{% tabs %} +{% highlight Dart %} + +final double _min = 2.0; +final double _max = 10.0; +SfRangeValues _values = SfRangeValues(4.0, 8.0); + +final List chartData = [ + Data(x:2.0, y: 2.2), + Data(x:3.0, y: 3.4), + Data(x:4.0, y: 2.8), + Data(x:5.0, y: 1.6), + Data(x:6.0, y: 2.3), + Data(x:7.0, y: 2.5), + Data(x:8.0, y: 2.9), + Data(x:9.0, y: 3.8), + Data(x:10.0, y: 3.7), +]; + +@override +Widget build(BuildContext context) { + return MaterialApp( + home: Scaffold( + body: Center( + child: SfRangeSelectorTheme( + data: SfRangeSelectorThemeData( + activeTrackHeight: 10, + inactiveTrackHeight: 10, + activeDividerStrokeColor: Colors.red, + activeDividerStrokeWidth: 2, + inactiveDividerStrokeWidth: 2, + inactiveDividerStrokeColor: Colors.red, + ), + child: SfRangeSelector( + min: _min, + max: _max, + interval: 1, + showDividers: true, + initialValues: _values, + child: Container( + height: 130, + child: SfCartesianChart( + margin: const EdgeInsets.all(0), + primaryXAxis: NumericAxis(minimum: _min, + maximum: _max, + isVisible: false), + primaryYAxis: NumericAxis(isVisible: false), + plotAreaBorderWidth: 0, + series: >[ + SplineAreaSeries( + color: Color.fromARGB(255, 126, 184, 253), + dataSource: chartData, + xValueMapper: (Data sales, int index) => sales.x, + yValueMapper: (Data sales, int index) => sales.y) + ], + ), + ), + ), + ), + ) + ) + ); +} + +class Data { + Data({required this.x, required this.y}); + final double x; + final double y; +} + +{% endhighlight %} +{% endtabs %} + +![Divider stroke width and color support](images/label-and-divider/range-selector-divider-stroke-color.png) + +## Divider color + +You can change the active and inactive divider color of the range selector using the [`activeDividerColor`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfSliderThemeData/activeDividerColor.html) and [`inactiveDividerColor`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfSliderThemeData/inactiveDividerColor.html) properties respectively. + +N> You must import the `theme.dart` library from the [`Core`](https://pub.dev/packages/syncfusion_flutter_core) package to use [`SfRangeSelectorTheme`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfRangeSelectorTheme-class.html). + +{% tabs %} +{% highlight Dart %} + +final double _min = 2.0; +final double _max = 10.0; +SfRangeValues _values = SfRangeValues(4.0, 8.0); + +final List chartData = [ + Data(x:2.0, y: 2.2), + Data(x:3.0, y: 3.4), + Data(x:4.0, y: 2.8), + Data(x:5.0, y: 1.6), + Data(x:6.0, y: 2.3), + Data(x:7.0, y: 2.5), + Data(x:8.0, y: 2.9), + Data(x:9.0, y: 3.8), + Data(x:10.0, y: 3.7), +]; + +@override +Widget build(BuildContext context) { + return MaterialApp( + home: Scaffold( + body: Center( + child: SfRangeSelectorTheme( + data: SfRangeSelectorThemeData( + activeTrackHeight: 5, + inactiveTrackHeight: 5, + activeDividerColor: Colors.red, + inactiveDividerColor: Colors.red[200], + ), + child: SfRangeSelector( + min: _min, + max: _max, + interval: 1, + showDividers: true, + initialValues: _values, + child: Container( + height: 130, + child: SfCartesianChart( + margin: const EdgeInsets.all(0), + primaryXAxis: NumericAxis(minimum: _min, + maximum: _max, + isVisible: false), + primaryYAxis: NumericAxis(isVisible: false), + plotAreaBorderWidth: 0, + series: >[ + SplineAreaSeries( + color: Color.fromARGB(255, 126, 184, 253), + dataSource: chartData, + xValueMapper: (Data sales, int index) => sales.x, + yValueMapper: (Data sales, int index) => sales.y) + ], + ), + ), + ), + ), + ) + ) + ); +} + +class Data { + Data({required this.x, required this.y}); + final double x; + final double y; +} + +{% endhighlight %} +{% endtabs %} + +![Divider color support](images/label-and-divider/selector-divider-color.png) diff --git a/chart-sdk/flutter/range-selector/overview.md b/chart-sdk/flutter/range-selector/overview.md new file mode 100644 index 000000000..c71c3ccc2 --- /dev/null +++ b/chart-sdk/flutter/range-selector/overview.md @@ -0,0 +1,23 @@ +--- +layout: post +title: About Flutter Range Selector widget | Syncfusion +description: Learn here all about the introduction of Syncfusion Flutter Range Selector (SfRangeSelector) widget, its features, and more. +platform: chart-sdk +control: SfRangeSelector +documentation: ug +--- + +# Flutter Range selector (SfRangeSelector) Overview + +Syncfusion® Flutter Range Selector is a highly interactive UI widget for selecting a smaller range from a larger data set. It provides a rich set of features such as numeric and date values, labels, ticks, dividers, and tooltips. It also supports adding any type of widget as content. + +![Range selector overview](images/overview/range-selector-overview.png) + +## Features + +* **Child support** - Add a child of any type inside the range selector. It is also possible to add [Charts](https://www.syncfusion.com/flutter-widgets/flutter-charts) widget. With the built-in integrations, the range selector is smart enough to handle features like segment selection and zooming in the chart based on the selected range in the range selector. Similar to the range slider, it also supports both numeric and date values. +* **Numeric and date support** - Provides functionality for selecting numeric and date ranges. For the date range, support is provided up to the seconds interval. +* **Labels** - Render labels for the date and numeric ranges with the option to customize their format based on your requirements. +* **Ticks and dividers** - Provides the option to show ticks and dividers based on the interval. Also enables minor ticks to indicate the values between each interval. These options present the selected range in a more intuitive way for end users. +* **Highly customizable** - In addition to the rich set of built-in features, fully customize the control in a much simpler way using the wide range of provided options. +* **Tooltips** - Render tooltips to show the selected range clearly. It is also possible to customize the format of the text shown in the tooltip. diff --git a/chart-sdk/flutter/range-selector/range-controller.md b/chart-sdk/flutter/range-selector/range-controller.md new file mode 100644 index 000000000..7eec4c073 --- /dev/null +++ b/chart-sdk/flutter/range-selector/range-controller.md @@ -0,0 +1,486 @@ +--- +layout: post +title: Controller in Flutter Range Selector widget | Syncfusion +description: Learn here all about adding the Controller in Syncfusion Flutter Range Selector (SfRangeSelector) widget and more. +platform: chart-sdk +control: SfRangeSelector +documentation: ug +--- + +# Controller in Flutter Range Selector (SfRangeSelector) + +You can use [`RangeController`](https://pub.dev/documentation/syncfusion_flutter_core/latest/core/RangeController-class.html) for setting and getting current selected values of range selector. + +The `start` represents the currently selected start value of the range selector. The left thumb of the range selector was drawn corresponding to this value. + +The `end` represents the currently selected end value of the range selector. The right thumb of the range selector was drawn corresponding to this value. + +You can get previous values using `previousStart` and `previousEnd` properties. + +The `start`, `end`, `previousStart`, `previousEnd` properties can be either `double` or `DateTime` based on whether it is date type [`SfRangeSelector`](https://help.syncfusion.com/flutter/range-selector/getting-started#set-date-range) or numeric [`SfRangeSelector`](https://help.syncfusion.com/flutter/range-selector/getting-started#set-numeric-range). + +I> You need not to set the [`initialValues`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/initialValues.html) property when using [`controller`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/controller.html) property in the range selector. + +N> You must import the [`Core`](https://pub.dev/packages/syncfusion_flutter_core) to use the range controller in the range selector. + +{% tabs %} +{% highlight Dart %} + +final double _min = 2.0; +final double _max = 10.0; +SfRangeValues _values = SfRangeValues(4.0, 6.0); +RangeController _rangeController; + +@override +void initState() { + super.initState(); + _rangeController = RangeController( + start: _values.start, + end: _values.end); +} + +@override +void dispose() { + _rangeController.dispose(); + super.dispose(); +} + +final List chartData = [ + Data(x:2.0, y: 2.2), + Data(x:3.0, y: 3.4), + Data(x:4.0, y: 2.8), + Data(x:5.0, y: 1.6), + Data(x:6.0, y: 2.3), + Data(x:7.0, y: 2.5), + Data(x:8.0, y: 2.9), + Data(x:9.0, y: 3.8), + Data(x:10.0, y: 3.7), +]; + +@override +Widget build(BuildContext context) { + return MaterialApp( + home: Scaffold( + body: Center( + child: SfRangeSelector( + min: _min, + max: _max, + interval: 1, + showTicks: true, + showLabels: true, + controller: _rangeController, + child: Container( + height: 130, + child: SfCartesianChart( + margin: const EdgeInsets.all(0), + primaryXAxis: NumericAxis(minimum: _min, + maximum: _max, + isVisible: false), + primaryYAxis: NumericAxis(isVisible: false), + plotAreaBorderWidth: 0, + series: >[ + SplineAreaSeries( + color: Color.fromARGB(255, 126, 184, 253), + dataSource: chartData, + xValueMapper: (Data sales, int index) => sales.x, + yValueMapper: (Data sales, int index) => sales.y) + ], + ), + ), + ), + ) + ) + ); +} + +class Data { + Data({required this.x, required this.y}); + final double x; + final double y; +} + +{% endhighlight %} +{% endtabs %} + +![Range selector controller](images/range-controller/range-controller.png) + +## Selection with SfChart + +We have provided built-in support for selecting the chart segments based on the selected range in range selector. To achieve this segment selection, you must set the `SelectionSettings.selectionController` property in the `SfCartesianChart.series` property. + +{% tabs %} +{% highlight Dart %} + +SfRangeValues _values = SfRangeValues(DateTime(2010, 03, 01), DateTime(2010, 06, 01)); +RangeController _rangeController; + +@override +void initState() { + super.initState(); + _rangeController = RangeController( + start: _values.start, + end: _values.end); +} + +@override +void dispose() { + _rangeController.dispose(); + super.dispose(); +} + +final List chartData = [ + Data(x: DateTime(2010, 01, 01), y: 2.2), + Data(x: DateTime(2010, 02, 01), y: 3.4), + Data(x: DateTime(2010, 03, 01), y: 2.8), + Data(x: DateTime(2010, 04, 01), y: 1.6), + Data(x: DateTime(2010, 05, 01), y: 2.3), + Data(x: DateTime(2010, 06, 01), y: 2.5), + Data(x: DateTime(2010, 07, 01), y: 2.9), + Data(x: DateTime(2010, 08, 01), y: 3.8), + Data(x: DateTime(2010, 09, 01), y: 3.7), +]; + +@override +Widget build(BuildContext context) { + return Scaffold( + body: Center( + child: SfRangeSelector( + min: DateTime(2010, 01, 01), + max: DateTime(2010, 09, 01), + interval: 2, + dateIntervalType: DateIntervalType.months, + dateFormat: DateFormat.yM(), + showTicks: true, + showLabels: true, + controller: _rangeController, + onChanged: (SfRangeValues values) { + setState(() {}); + }, + child: SizedBox( + height: 130, + child: SfCartesianChart( + margin: EdgeInsets.zero, + primaryXAxis: DateTimeAxis( + minimum: DateTime(2010, 01, 01), + maximum: DateTime(2010, 09, 01), + isVisible: false, + ), + primaryYAxis: const NumericAxis(isVisible: false), + plotAreaBorderWidth: 0, + plotAreaBackgroundColor: Colors.transparent, + series: >[ + ColumnSeries( + dataSource: chartData, + selectionBehavior: SelectionBehavior( + selectionController: _rangeController, + ), + xValueMapper: (Data sales, int index) => sales.x, + yValueMapper: (Data sales, int index) => sales.y, + pointColorMapper: (Data sales, int index) { + if (sales.x.isAfter(_rangeController.start) && + sales.x.isBefore(_rangeController.end)) { + return const Color.fromRGBO(0, 178, 206, 1); + } + return Colors.transparent; + }, + color: const Color.fromRGBO(255, 255, 255, 0), + dashArray: const [5, 4], + borderColor: const Color.fromRGBO(194, 194, 194, 1), + animationDuration: 0, + borderWidth: 1, + ), + ], + ), + ), + ), + ), + ); +} + +{% endhighlight %} +{% endtabs %} + +{% tabs %} +{% highlight Dart %} + +class Data { + Data({this.x, this.y}); + final DateTime x; + final double y; +} + +{% endhighlight %} +{% endtabs %} + +![Selection support](images/range-controller/selection-controller-with-sfchart.gif) + +## Zooming with SfChart + +We have provided built-in support for updating the visible range of the chart based on the selected range in range selector. To update the visible range, you must set the `primaryYAxis.rangeController` property in the [`SfCartesianChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCartesianChart-class.html). + +{% tabs %} +{% highlight Dart %} + +final double _min = 2.0; +final double _max = 19.0; +SfRangeValues _values = SfRangeValues(8.0, 16.0); +RangeController _rangeController; +SfCartesianChart splineChart; + +@override +void initState() { + super.initState(); + _rangeController = RangeController(start: _values.start, end: _values.end); +} + +@override +void dispose() { + _rangeController.dispose(); + super.dispose(); +} + +final List chartData = [ + Data(x: 2.0, y: 2.2), + Data(x: 3.0, y: 3.4), + Data(x: 4.0, y: 2.8), + Data(x: 5.0, y: 1.6), + Data(x: 6.0, y: 2.3), + Data(x: 7.0, y: 2.5), + Data(x: 8.0, y: 2.9), + Data(x: 9.0, y: 3.8), + Data(x: 10.0, y: 3.7), + Data(x: 11.0, y: 2.2), + Data(x: 12.0, y: 3.4), + Data(x: 13.0, y: 2.8), + Data(x: 14.0, y: 1.6), + Data(x: 15.0, y: 2.3), + Data(x: 16.0, y: 2.5), + Data(x: 17.0, y: 2.9), + Data(x: 18.0, y: 3.8), + Data(x: 19.0, y: 3.7), +]; + +@override +Widget build(BuildContext context) { + splineChart = SfCartesianChart( + margin: const EdgeInsets.only(left: 10, right: 10, bottom: 20), + primaryXAxis: NumericAxis( + minimum: _min, + maximum: _max, + isVisible: true, + rangeController: _rangeController), + primaryYAxis: NumericAxis(isVisible: true), + plotAreaBorderWidth: 0, + series: >[ + SplineSeries( + color: Color.fromARGB(255, 126, 184, 253), + dataSource: chartData, + animationDuration: 0, + xValueMapper: (Data sales, int index) => sales.x, + yValueMapper: (Data sales, int index) => sales.y) + ], + ); + + return Scaffold( + body: Center( + child: Padding( + padding: EdgeInsets.only(left: 10, right: 10, top: 80), + child: Column( + children: [ + Container( + child: splineChart, + ), + SfRangeSelector( + min: _min, + max: _max, + interval: 2, + showTicks: true, + showLabels: true, + controller: _rangeController, + child: Container( + height: 130, + child: SfCartesianChart( + margin: const EdgeInsets.all(0), + primaryXAxis: NumericAxis( + minimum: _min, + maximum: _max, + isVisible: false), + primaryYAxis: NumericAxis(isVisible: false), + plotAreaBorderWidth: 0, + series: >[ + SplineSeries( + color: Color.fromARGB(255, 126, 184, 253), + dataSource: chartData, + xValueMapper: (Data sales, int index) => sales.x, + yValueMapper: (Data sales, int index) => sales.y) + ], + ), + ), + ), + ], + ), + ), + ) + ); +} + +class Data { + Data({required this.x, required this.y}); + final double x; + final double y; +} + +{% endhighlight %} +{% endtabs %} + +![Zooming support](images/range-controller/zooming-controller-with-sfchart.gif) + +## Deferred update + +You can control when the dependent components are updated while thumbs are being dragged continuously. It can be achieved by setting the [`SfRangeSelector.enableDeferredUpdate`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/enableDeferredUpdate.html) property and the delay in the update can be achieved by setting the [`SfRangeSelector.deferredUpdateDelay`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/deferredUpdateDelay.html) property. The default value of the [`deferredUpdateDelay`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/deferredUpdateDelay.html) property is `500 milliseconds`. + +It updates the [`controller`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/controller.html) start and end values and invoke the [`onChanged`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/onChanged.html) callback when the thumb is dragged and held for the duration specified in the [`deferredUpdateDelay`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/deferredUpdateDelay.html). However, range values are immediately updated in touch up action. + +{% tabs %} +{% highlight Dart %} + +final DateTime min = DateTime(2000, 01, 01, 0), max = DateTime(2000, 12, 15); +RangeController rangeController; +SfCartesianChart splineAreaChart, splineChart; +List data; + +@override +void initState() { + super.initState(); + rangeController = RangeController( + start: DateTime(2000, 04, 15), + end: DateTime(2000, 07, 15), + ); + + data = [ + Data(x: DateTime(2000, 01, 01, 0), y: 100), + Data(x: DateTime(2000, 01, 15), y: 10), + Data(x: DateTime(2000, 02, 01), y: 40), + Data(x: DateTime(2000, 02, 15), y: 34), + Data(x: DateTime(2000, 03, 01), y: 80), + Data(x: DateTime(2000, 03, 15), y: 49), + Data(x: DateTime(2000, 04, 01), y: 56), + Data(x: DateTime(2000, 04, 15), y: 26), + Data(x: DateTime(2000, 05, 01), y: 8), + Data(x: DateTime(2000, 05, 15), y: 80), + Data(x: DateTime(2000, 06, 01), y: 42), + Data(x: DateTime(2000, 06, 15), y: 12), + Data(x: DateTime(2000, 07, 01), y: 28), + Data(x: DateTime(2000, 07, 15), y: 68), + Data(x: DateTime(2000, 08, 01), y: 94), + Data(x: DateTime(2000, 08, 15), y: 24), + Data(x: DateTime(2000, 09, 01), y: 72), + Data(x: DateTime(2000, 09, 15), y: 32), + Data(x: DateTime(2000, 10, 01), y: 48), + Data(x: DateTime(2000, 10, 15), y: 4), + Data(x: DateTime(2000, 11, 01), y: 64), + Data(x: DateTime(2000, 11, 15), y: 10), + Data(x: DateTime(2000, 12, 01), y: 85), + Data(x: DateTime(2000, 12, 15), y: 96), + ]; + + splineAreaChart = SfCartesianChart( + margin: const EdgeInsets.all(0), + primaryXAxis: DateTimeAxis(isVisible: false, maximum: max), + primaryYAxis: NumericAxis(isVisible: false), + plotAreaBorderWidth: 0, + series: >[ + SplineAreaSeries( + dataSource: data, + xValueMapper: (Data sales, int index) => sales.x, + yValueMapper: (Data sales, int index) => sales.y, + ) + ], + ); +} + +@override +Widget build(BuildContext context) { + splineChart = SfCartesianChart( + plotAreaBorderWidth: 0, + primaryXAxis: DateTimeAxis( + isVisible: false, + minimum: min, + maximum: max, + rangeController: rangeController), + primaryYAxis: NumericAxis( + labelPosition: ChartDataLabelPosition.inside, + labelAlignment: LabelAlignment.end, + majorTickLines: MajorTickLines(size: 0), + axisLine: AxisLine(color: Colors.transparent), + ), + series: >[ + SplineSeries( + dataSource: data, + animationDuration: 0, + xValueMapper: (Data sales, int index) => sales.x, + yValueMapper: (Data sales, int index) => sales.y, + ) + ], + ); + final Widget page = Container( + margin: const EdgeInsets.all(0), + padding: const EdgeInsets.all(0), + child: Center( + child: Column( + children: [ + Expanded( + child: Container( + padding: const EdgeInsets.fromLTRB(5, 20, 15, 25), + child: splineChart), + ), + Container( + margin: const EdgeInsets.all(0), + padding: const EdgeInsets.all(0), + child: Center( + child: Padding( + padding: const EdgeInsets.fromLTRB(14, 0, 15, 15), + child: SfRangeSelector( + min: min, + max: max, + interval: 1, + enableDeferredUpdate: true, + deferredUpdateDelay: 500, + labelPlacement: LabelPlacement.betweenTicks, + dateIntervalType: DateIntervalType.months, + controller: rangeController, + showTicks: true, + showLabels: true, + dragMode: SliderDragMode.both, + labelFormatterCallback: + (dynamic actualLabel, String formattedText) { + String label = DateFormat.MMM().format(actualLabel); + label = label; + return label; + }, + onChanged: (SfRangeValues values) {}, + child: Container( + child: splineAreaChart, + height: 75, + padding: const EdgeInsets.all(0), + margin: const EdgeInsets.all(0), + ), + ), + ), + ), + ), + ], + ), + ) + ); + return Scaffold( + body: Center( + child: Container(height: 400, child: page), + ) + ); +} + +{% endhighlight %} +{% endtabs %} + +![Deferred update support](images/range-controller/deferred-update.gif) diff --git a/chart-sdk/flutter/range-selector/right-to-left.md b/chart-sdk/flutter/range-selector/right-to-left.md new file mode 100644 index 000000000..6c685f622 --- /dev/null +++ b/chart-sdk/flutter/range-selector/right-to-left.md @@ -0,0 +1,104 @@ +--- +layout: post +title: RTL in Flutter Range Selector widget | Syncfusion +description: Learn here all about the RTL rendering in Syncfusion Flutter Range Selector (SfRangeSelector) widget. +platform: chart-sdk +control: SfRangeSelector +documentation: ug +--- + +# Right to Left (RTL) in Flutter Range Selector (SfRangeSelector) + +## RTL rendering ways + +Right to left rendering can be achieved in the following ways: + +### Wrapping the SfRangeSelector with Directionality widget + +The range selector can be wrapped inside the [`Directionality`](https://api.flutter.dev/flutter/widgets/Directionality-class.html) widget and you can set the [`textDirection`](https://api.flutter.dev/flutter/widgets/Directionality/textDirection.html) property to `rtl`. + +{% tabs %} +{% highlight Dart %} + +SfRangeValues _initialValues = SfRangeValues(4.0, 8.0); + +@override +Widget build(BuildContext context) { + return MaterialApp( + home: Scaffold( + body: Directionality( + textDirection: TextDirection.rtl, + child: Center( + child: SfRangeSelector( + min: 2.0, + max: 10.0, + interval: 1, + showLabels: true, + showTicks: true, + initialValues: _initialValues, + child: Container( + color: Colors.pink[200], + height: 150, + ), + ), + ) + ), + ) + ); +} + +{% endhighlight %} +{% endtabs %} + +### Changing the locale to RTL languages + +The range selector will render in right to left direction if the locale belongs to RTL languages such as Arabic, Persian, Hebrew, Pashto, and Urdu. This can be achieved by specifying the MaterialApp properties such as `localizationsDelegates`, `supportedLocales`, `locale` and adding the flutter_localizations package to your pubspec.yaml file. + +{% tabs %} +{% highlight Dart %} + +dependencies: + flutter_localizations: + sdk: flutter + +{% endhighlight %} +{% endtabs %} + +{% tabs %} +{% highlight Dart %} + +SfRangeValues _initialValues = SfRangeValues(4.0, 8.0); + +@override +Widget build(BuildContext context) { + return MaterialApp( + localizationsDelegates: [ + GlobalMaterialLocalizations.delegate, + GlobalWidgetsLocalizations.delegate, + ], + supportedLocales: [ + Locale("fa", "IR"), + ], + locale: Locale("fa", "IR"), + home: Scaffold( + backgroundColor: Colors.white, + body: SfRangeSelector( + min: 2.0, + max: 10.0, + interval: 1, + showLabels: true, + showTicks: true, + initialValues: _initialValues, + child: Container( + color: Colors.pink[200], + height: 150, + ), + ), + ), + ); +} + +{% endhighlight %} +{% endtabs %} + +![RTL support](images/right-to-left/right-to-left-support.png) \ No newline at end of file diff --git a/chart-sdk/flutter/range-selector/shapes.md b/chart-sdk/flutter/range-selector/shapes.md new file mode 100644 index 000000000..0b5119ad8 --- /dev/null +++ b/chart-sdk/flutter/range-selector/shapes.md @@ -0,0 +1,484 @@ +--- +layout: post +title: Custom shapes in Flutter Range Selector widget | Syncfusion +description: Learn here all about adding the custom shapes in Syncfusion Flutter Range Selector (SfRangeSelector) widget and more. +platform: chart-sdk +control: SfRangeSelector +documentation: ug +--- + +# Shapes in Flutter Range Selector (SfRangeSelector) + +This section helps to learn about how to customize the shapes of the range selector elements. + +## Track shape + +You can change the size and shape of the track using the [`trackShape`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/trackShape.html) property in the [`SfRangeSelector`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector-class.html). + +* getPreferredSize() - Returns the size based on the values passed to it. +* paint() - Used to change the track shape. + +N> +* You must use the `thumbCenter` and `currentValue` parameters of paint override method for customizing slider track. +* You must use the `startThumbCenter`, `endThumbCenter`, and `currentValues` parameters of paint override method for customizing range slider and range selector track. + +{% tabs %} +{% highlight Dart %} + +double _min = 2.0; +double _max = 10.0; +SfRangeValues _values = SfRangeValues(3.0, 8.0); + + final List chartData = [ + Data(x: 2.0, y: 2.2), + Data(x: 3.0, y: 3.4), + Data(x: 4.0, y: 2.8), + Data(x: 5.0, y: 1.6), + Data(x: 6.0, y: 2.3), + Data(x: 7.0, y: 2.5), + Data(x: 8.0, y: 2.9), + Data(x: 9.0, y: 3.8), + Data(x: 10.0, y: 3.7), + ]; + +@override +Widget build(BuildContext context) { + return Scaffold( + body: Center( + child: SfRangeSelectorTheme( + data: SfRangeSelectorThemeData( + activeTrackHeight: 10, + inactiveTrackHeight: 10, + ), + child: SfRangeSelector( + min: 0.0, + max: 10.0, + initialValues: _values, + trackShape: _TrackShape(), + child: Container( + height: 130, + child: SfCartesianChart( + margin: const EdgeInsets.all(0), + primaryXAxis: + NumericAxis(minimum: _min, maximum: _max, isVisible: false), + primaryYAxis: NumericAxis(isVisible: false), + plotAreaBorderWidth: 0, + series: >[ + SplineAreaSeries( + color: Color.fromARGB(255, 126, 184, 253), + dataSource: chartData, + xValueMapper: (Data sales, int index) => sales.x, + yValueMapper: (Data sales, int index) => sales.y) + ], + ), + ), + ), + ), + ), + ); +} + +class Data { + Data({required this.x, required this.y}); + final double x; + final double y; +} + +class _TrackShape extends SfTrackShape { + void paint(PaintingContext context, Offset offset, Offset? thumbCenter, + Offset? startThumbCenter, Offset? endThumbCenter, + {required RenderBox parentBox, + required SfSliderThemeData themeData, + SfRangeValues? currentValues, + dynamic currentValue, + required Animation enableAnimation, + required Paint? inactivePaint, + required Paint? activePaint, + required TextDirection textDirection}) { + Paint paint = Paint() + ..color = themeData.activeTrackColor! + ..style = PaintingStyle.stroke + ..strokeWidth = 1; + super.paint(context, offset, thumbCenter, startThumbCenter, endThumbCenter, + parentBox: parentBox, + themeData: themeData, + enableAnimation: enableAnimation, + inactivePaint: inactivePaint, + activePaint: paint, + textDirection: textDirection); + } +} + +{% endhighlight %} +{% endtabs %} + +![Track shape](images/shapes/track-shape.png) + +## Thumb shape + +You can change the size and shape of the thumb using the [`thumbShape`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/thumbShape.html) property in the [`SfRangeSelector`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector-class.html). + +* getPreferredSize() - Returns the size based on the values passed to it. +* paint() - Used to change the thumb shape. + +N> +* You must use the `currentValue` parameter of paint override method for customizing slider thumb. +* You must use the `currentValues` parameter of paint override method for customizing range slider and range selector thumbs. + +{% tabs %} +{% highlight Dart %} + +double _min = 2.0; +double _max = 10.0; +SfRangeValues _values = SfRangeValues(4.0, 8.0); + +final List chartData = [ + Data(x: 2.0, y: 2.2), + Data(x: 3.0, y: 3.4), + Data(x: 4.0, y: 2.8), + Data(x: 5.0, y: 1.6), + Data(x: 6.0, y: 2.3), + Data(x: 7.0, y: 2.5), + Data(x: 8.0, y: 2.9), + Data(x: 9.0, y: 3.8), + Data(x: 10.0, y: 3.7), +]; + +@override +Widget build(BuildContext context) { + return MaterialApp( + home: Scaffold( + body: Center( + child: SfRangeSelectorTheme( + data: SfRangeSelectorThemeData(overlayColor: Colors.transparent), + child: SfRangeSelector( + min: _min, + max: _max, + initialValues: _values, + thumbShape: _SfThumbShape(), + child: Container( + height: 130, + child: SfCartesianChart( + margin: const EdgeInsets.all(0), + primaryXAxis: NumericAxis( + minimum: _min, maximum: _max, isVisible: false), + primaryYAxis: NumericAxis(isVisible: false), + plotAreaBorderWidth: 0, + series: >[ + SplineAreaSeries( + color: Color.fromARGB(255, 126, 184, 253), + dataSource: chartData, + xValueMapper: (Data sales, int index) => sales.x, + yValueMapper: (Data sales, int index) => sales.y) + ], + ), + ), + ), + ), + ), + ), + ); +} + +class Data { + Data({required this.x, required this.y}); + final double x; + final double y; +} + +class _SfThumbShape extends SfThumbShape { + @override + void paint(PaintingContext context, Offset center, + {required RenderBox parentBox, + required RenderBox? child, + required SfSliderThemeData themeData, + SfRangeValues? currentValues, + dynamic currentValue, + required Paint? paint, + required Animation enableAnimation, + required TextDirection textDirection, + required SfThumb? thumb}) { + final Path path = Path(); + + path.moveTo(center.dx, center.dy); + path.lineTo(center.dx + 10, center.dy - 15); + path.lineTo(center.dx - 10, center.dy - 15); + path.close(); + context.canvas.drawPath( + path, + Paint() + ..color = themeData.activeTrackColor! + ..style = PaintingStyle.fill + ..strokeWidth = 2); + } +} + +{% endhighlight %} +{% endtabs %} + +![Thumb shape](images/shapes/thumb-shape.png) + +## Divider shape + +You can change the size and shape of the divider using the [`dividerShape`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/dividerShape.html) property in the [`SfRangeSelector`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector-class.html). + +* getPreferredSize() - Returns the size based on the values passed to it. +* paint() - Used to change the divider shape. + +N> +* You must use the `thumbCenter` and `currentValue` parameters of paint override method for customizing slider divider. +* You must use the `startThumbCenter`, `endThumbCenter`, and `currentValues` parameters of paint override method for customizing range slider and range selector divider. + +{% tabs %} +{% highlight Dart %} + +double _min = 2.0; +double _max = 10.0; +SfRangeValues _values = SfRangeValues(4.0, 8.0); + +final List chartData = [ + Data(x: 2.0, y: 2.2), + Data(x: 3.0, y: 3.4), + Data(x: 4.0, y: 2.8), + Data(x: 5.0, y: 1.6), + Data(x: 6.0, y: 2.3), + Data(x: 7.0, y: 2.5), + Data(x: 8.0, y: 2.9), + Data(x: 9.0, y: 3.8), + Data(x: 10.0, y: 3.7), +]; + +@override +Widget build(BuildContext context) { + return MaterialApp( + home: Scaffold( + body: Center( + child: SfRangeSelector( + min: _min, + max: _max, + initialValues: _values, + interval: 1, + showDividers: true, + dividerShape: _DividerShape(), + child: Container( + height: 130, + child: SfCartesianChart( + margin: const EdgeInsets.all(0), + primaryXAxis: + NumericAxis(minimum: _min, maximum: _max, isVisible: false), + primaryYAxis: NumericAxis(isVisible: false), + plotAreaBorderWidth: 0, + series: >[ + SplineAreaSeries( + color: Color.fromARGB(255, 126, 184, 253), + dataSource: chartData, + xValueMapper: (Data sales, int index) => sales.x, + yValueMapper: (Data sales, int index) => sales.y) + ], + ), + ), + ), + ), + ), + ); +} + +class Data { + Data({required this.x, required this.y}); + final double x; + final double y; +} + +class _DividerShape extends SfDividerShape { + @override + void paint(PaintingContext context, Offset center, Offset? thumbCenter, + Offset? startThumbCenter, Offset? endThumbCenter, + {required RenderBox parentBox, + required SfSliderThemeData themeData, + SfRangeValues? currentValues, + dynamic currentValue, + required Paint? paint, + required Animation enableAnimation, + required TextDirection textDirection}) { + final bool isActive = + center.dx >= startThumbCenter!.dx && center.dx <= endThumbCenter!.dx; + context.canvas.drawRect( + Rect.fromCenter(center: center, width: 5.0, height: 10.0), + Paint() + ..isAntiAlias = true + ..style = PaintingStyle.fill + ..color = isActive ? Colors.white : themeData.activeTrackColor!); + } +} + +{% endhighlight %} +{% endtabs %} + +![Divider shape](images/shapes/divider-shape.png) + +## Major and minor ticks shapes + +You can change the size and shape of the major and minor ticks using the [`tickShape`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/tickShape.html) and [`minorTickShape`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/minorTickShape.html) properties in the [`SfRangeSelector`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector-class.html). + +* getPreferredSize() - Returns the size based on the values passed to it. +* paint() - Used to change the ticks shape. + +N> +* You must use the `thumbCenter` and `currentValue` parameters of paint override method for customizing slider ticks. +* You must use the `startThumbCenter`, `endThumbCenter`, and `currentValues` parameters of paint override method for customizing range slider and range selector ticks. + +{% tabs %} +{% highlight Dart %} + +double _min = 2.0; +double _max = 10.0; +SfRangeValues _values = SfRangeValues(4.0, 8.0); + +final List chartData = [ + Data(x: 2.0, y: 2.2), + Data(x: 3.0, y: 3.4), + Data(x: 4.0, y: 2.8), + Data(x: 5.0, y: 1.6), + Data(x: 6.0, y: 2.3), + Data(x: 7.0, y: 2.5), + Data(x: 8.0, y: 2.9), + Data(x: 9.0, y: 3.8), + Data(x: 10.0, y: 3.7), +]; + +@override +Widget build(BuildContext context) { + return MaterialApp( + home: Scaffold( + body: Center( + child: SfRangeSelector( + min: _min, + max: _max, + initialValues: _values, + interval: 1, + showTicks: true, + minorTicksPerInterval: 3, + tickShape: _TickShape(), + minorTickShape: _MinorTickShape(), + child: Container( + height: 130, + child: SfCartesianChart( + margin: const EdgeInsets.all(0), + primaryXAxis: + NumericAxis(minimum: _min, maximum: _max, isVisible: false), + primaryYAxis: NumericAxis(isVisible: false), + plotAreaBorderWidth: 0, + series: >[ + SplineAreaSeries( + color: Color.fromARGB(255, 126, 184, 253), + dataSource: chartData, + xValueMapper: (Data sales, int index) => sales.x, + yValueMapper: (Data sales, int index) => sales.y) + ], + ), + ), + ), + ), + ), + ); +} + +class Data { + Data({required this.x, required this.y}); + final double x; + final double y; +} + +class _TickShape extends SfTickShape { + @override + void paint(PaintingContext context, Offset offset, Offset? thumbCenter, + Offset? startThumbCenter, Offset? endThumbCenter, + {required RenderBox parentBox, + required SfSliderThemeData themeData, + SfRangeValues? currentValues, + dynamic currentValue, + required Animation enableAnimation, + required TextDirection textDirection}) { + final Size tickSize = getPreferredSize(themeData); + final bool isTickRightOfThumb = endThumbCenter == null + ? offset.dx > thumbCenter!.dx + : offset.dx < startThumbCenter!.dx || offset.dx > endThumbCenter.dx; + final Color begin = isTickRightOfThumb + ? themeData.disabledInactiveTickColor + : themeData.disabledActiveTickColor; + final Color end = isTickRightOfThumb + ? themeData.inactiveTickColor + : themeData.activeTickColor; + final Paint paint = Paint() + ..isAntiAlias = true + ..strokeWidth = tickSize.width + ..color = ColorTween(begin: begin, end: end).evaluate(enableAnimation)!; + context.canvas.drawLine( + offset, Offset(offset.dx, offset.dy + tickSize.height), paint); + context.canvas.drawLine( + Offset( + offset.dx, + offset.dy - + 2 - + math.max(themeData.activeTrackHeight, + themeData.inactiveTrackHeight)), + Offset( + offset.dx, + offset.dy - + 2 - + math.max(themeData.activeTrackHeight, + themeData.inactiveTrackHeight) - + tickSize.height), + paint); + } +} + +class _MinorTickShape extends SfTickShape { + @override + void paint(PaintingContext context, Offset offset, Offset? thumbCenter, + Offset? startThumbCenter, Offset? endThumbCenter, + {required RenderBox parentBox, + required SfSliderThemeData themeData, + SfRangeValues? currentValues, + dynamic currentValue, + required Animation enableAnimation, + required TextDirection textDirection}) { + final Size minorTickSize = getPreferredSize(themeData); + final bool isMinorTickRightOfThumb = endThumbCenter == null + ? offset.dx > thumbCenter!.dx + : offset.dx < startThumbCenter!.dx || offset.dx > endThumbCenter.dx; + + final Color begin = isMinorTickRightOfThumb + ? themeData.disabledInactiveMinorTickColor + : themeData.disabledActiveMinorTickColor; + final Color end = isMinorTickRightOfThumb + ? themeData.inactiveMinorTickColor + : themeData.activeMinorTickColor; + final Paint paint = Paint() + ..isAntiAlias = true + ..strokeWidth = minorTickSize.width + ..color = ColorTween(begin: begin, end: end).evaluate(enableAnimation)!; + context.canvas.drawLine( + offset, Offset(offset.dx, offset.dy + minorTickSize.height), paint); + context.canvas.drawLine( + Offset( + offset.dx, + offset.dy - + 2 - + math.max(themeData.activeTrackHeight, + themeData.inactiveTrackHeight)), + Offset( + offset.dx, + offset.dy - + 2 - + math.max(themeData.activeTrackHeight, + themeData.inactiveTrackHeight) - + minorTickSize.height), + paint); + } +} + +{% endhighlight %} +{% endtabs %} + +![Ticks shape](images/shapes/ticks-shape.png) \ No newline at end of file diff --git a/chart-sdk/flutter/range-selector/thumb-and-overlay.md b/chart-sdk/flutter/range-selector/thumb-and-overlay.md new file mode 100644 index 000000000..f73e0c13a --- /dev/null +++ b/chart-sdk/flutter/range-selector/thumb-and-overlay.md @@ -0,0 +1,564 @@ +--- +layout: post +title: Thumb in Flutter Range Selector widget | Syncfusion +description: Learn here all about adding the thumb and thumb overlay features in Syncfusion Flutter Range Selector (SfRangeSelector) widget and more. +platform: chart-sdk +control: SfRangeSelector +documentation: ug +--- + +# Thumb and Thumb overlay in Flutter Range Selector (SfRangeSelector) + +This section helps to learn about how to customize the thumb and thumb overlay in the range selector. + +* **Thumb** - It is one of the elements of range selector which can be used to drag and change the selected values of the range selector. +* **Thumb overlay** - It is rendered around the thumb while interacting with them. + +## Thumb size + +You can change the size of the thumb in the range selector using the [`thumbRadius`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfSliderThemeData/thumbRadius.html) property. + +N> You must import the `theme.dart` library from the [`Core`](https://pub.dev/packages/syncfusion_flutter_core) package to use [`SfRangeSelectorTheme`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfRangeSelectorTheme-class.html). + +{% tabs %} +{% highlight Dart %} + +final double _min = 2.0; +final double _max = 10.0; +SfRangeValues _values = SfRangeValues(4.0, 8.0); + +final List chartData = [ + Data(x:2.0, y: 2.2), + Data(x:3.0, y: 3.4), + Data(x:4.0, y: 2.8), + Data(x:5.0, y: 1.6), + Data(x:6.0, y: 2.3), + Data(x:7.0, y: 2.5), + Data(x:8.0, y: 2.9), + Data(x:9.0, y: 3.8), + Data(x:10.0, y: 3.7), +]; + +@override +Widget build(BuildContext context) { + return MaterialApp( + home: Scaffold( + body: Center( + child: SfRangeSelectorTheme( + data: SfRangeSelectorThemeData( + thumbRadius: 13, + ), + child: SfRangeSelector( + min: _min, + max: _max, + interval: 1, + showTicks: true, + showLabels: true, + initialValues: _values, + child: Container( + height: 130, + child: SfCartesianChart( + margin: const EdgeInsets.all(0), + primaryXAxis: NumericAxis(minimum: _min, + maximum: _max, + isVisible: false), + primaryYAxis: NumericAxis(isVisible: false), + plotAreaBorderWidth: 0, + series: >[ + SplineAreaSeries( + color: Color.fromARGB(255, 126, 184, 253), + dataSource: chartData, + xValueMapper: (Data sales, int index) => sales.x, + yValueMapper: (Data sales, int index) => sales.y) + ], + ), + ), + ), + ), + ) + ) + ); +} + +class Data { + Data({required this.x, required this.y}); + final double x; + final double y; +} + +{% endhighlight %} +{% endtabs %} + +![Thumb size support](images/thumb-and-overlay/selector-thumb-size.png) + +## Thumb color + +You can change the color of the thumb in the range selector using the [`thumbColor`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfSliderThemeData/thumbColor.html) property. + +N> You must import the `theme.dart` library from the [`Core`](https://pub.dev/packages/syncfusion_flutter_core) package to use [`SfRangeSelectorTheme`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfRangeSelectorTheme-class.html). + +{% tabs %} +{% highlight Dart %} + +final double _min = 2.0; +final double _max = 10.0; +SfRangeValues _values = SfRangeValues(4.0, 8.0); + +final List chartData = [ + Data(x:2.0, y: 2.2), + Data(x:3.0, y: 3.4), + Data(x:4.0, y: 2.8), + Data(x:5.0, y: 1.6), + Data(x:6.0, y: 2.3), + Data(x:7.0, y: 2.5), + Data(x:8.0, y: 2.9), + Data(x:9.0, y: 3.8), + Data(x:10.0, y: 3.7), +]; + +@override +Widget build(BuildContext context) { + return MaterialApp( + home: Scaffold( + body: Center( + child: SfRangeSelectorTheme( + data: SfRangeSelectorThemeData( + thumbColor: Colors.red, + ), + child: SfRangeSelector( + min: _min, + max: _max, + interval: 1, + showTicks: true, + showLabels: true, + initialValues: _values, + child: Container( + height: 130, + child: SfCartesianChart( + margin: const EdgeInsets.all(0), + primaryXAxis: NumericAxis(minimum: _min, + maximum: _max, + isVisible: false), + primaryYAxis: NumericAxis(isVisible: false), + plotAreaBorderWidth: 0, + series: >[ + SplineAreaSeries( + color: Color.fromARGB(255, 126, 184, 253), + dataSource: chartData, + xValueMapper: (Data sales, int index) => sales.x, + yValueMapper: (Data sales, int index) => sales.y) + ], + ), + ), + ), + ), + ) + ) + ); +} + +class Data { + Data({required this.x, required this.y}); + final double x; + final double y; +} + +{% endhighlight %} +{% endtabs %} + +![Thumb color support](images/thumb-and-overlay/selector-thumb-color.png) + +## Thumb stroke width and stroke color + +You can change the thumb stroke width using the [`thumbStrokeWidth`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfSliderThemeData/thumbStrokeWidth.html) property and thumb stroke color using the [`thumbStrokeColor`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfSliderThemeData/thumbStrokeColor.html) property. + +N> You must import the `theme.dart` library from the [`Core`](https://pub.dev/packages/syncfusion_flutter_core) package to use [`SfRangeSelectorTheme`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfRangeSelectorTheme-class.html). + +{% tabs %} +{% highlight Dart %} + +final double _min = 2.0; +final double _max = 10.0; +SfRangeValues _values = SfRangeValues(4.0, 8.0); + +final List chartData = [ + Data(x:2.0, y: 2.2), + Data(x:3.0, y: 3.4), + Data(x:4.0, y: 2.8), + Data(x:5.0, y: 1.6), + Data(x:6.0, y: 2.3), + Data(x:7.0, y: 2.5), + Data(x:8.0, y: 2.9), + Data(x:9.0, y: 3.8), + Data(x:10.0, y: 3.7), +]; + +@override +Widget build(BuildContext context) { + return MaterialApp( + home: Scaffold( + body: Center( + child: SfRangeSelectorTheme( + data: SfRangeSelectorThemeData( + thumbStrokeWidth: 3, + thumbStrokeColor: Colors.red, + ), + child: SfRangeSelector( + min: _min, + max: _max, + interval: 1, + showTicks: true, + showLabels: true, + initialValues: _values, + child: Container( + height: 130, + child: SfCartesianChart( + margin: const EdgeInsets.all(0), + primaryXAxis: NumericAxis(minimum: _min, + maximum: _max, + isVisible: false), + primaryYAxis: NumericAxis(isVisible: false), + plotAreaBorderWidth: 0, + series: >[ + SplineAreaSeries( + color: Color.fromARGB(255, 126, 184, 253), + dataSource: chartData, + xValueMapper: (Data sales, int index) => sales.x, + yValueMapper: (Data sales, int index) => sales.y) + ], + ), + ), + ), + ), + ) + ) + ); +} + +class Data { + Data({required this.x, required this.y}); + final double x; + final double y; +} + +{% endhighlight %} +{% endtabs %} + +![Thumb stroke color support](images/thumb-and-overlay/selector-thumb-stroke-color.png) + +## Thumb icon + +You can show the custom widgets like icon or text inside the thumbs using the [`startThumbIcon`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/startThumbIcon.html) and the [`endThumbIcon`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/endThumbIcon.html) properties. + +{% tabs %} +{% highlight Dart %} + +final double _min = 2.0; +final double _max = 10.0; +SfRangeValues _values = SfRangeValues(4.0, 8.0); + +final List chartData = [ + Data(x:2.0, y: 2.2), + Data(x:3.0, y: 3.4), + Data(x:4.0, y: 2.8), + Data(x:5.0, y: 1.6), + Data(x:6.0, y: 2.3), + Data(x:7.0, y: 2.5), + Data(x:8.0, y: 2.9), + Data(x:9.0, y: 3.8), + Data(x:10.0, y: 3.7), +]; + +@override +Widget build(BuildContext context) { + return MaterialApp( + home: Scaffold( + body: Center( + child: SfRangeSelectorTheme( + data: SfRangeSelectorThemeData( + thumbColor: Colors.white, + thumbRadius: 15, + thumbStrokeWidth: 2, + thumbStrokeColor: Colors.blue + ), + child: SfRangeSelector( + min: _min, + max: _max, + interval: 1, + showTicks: true, + showLabels: true, + initialValues: _values, + startThumbIcon: Icon( + Icons.arrow_back_ios, + color: Colors.blue, + size: 20.0), + endThumbIcon: Icon( + Icons.arrow_forward_ios, + color: Colors.blue, + size: 20.0), + child: Container( + height: 130, + child: SfCartesianChart( + margin: const EdgeInsets.all(0), + primaryXAxis: NumericAxis(minimum: _min, + maximum: _max, + isVisible: false), + primaryYAxis: NumericAxis(isVisible: false), + plotAreaBorderWidth: 0, + series: >[ + SplineAreaSeries( + color: Color.fromARGB(255, 126, 184, 253), + dataSource: chartData, + xValueMapper: (Data sales, int index) => sales.x, + yValueMapper: (Data sales, int index) => sales.y) + ], + ), + ), + ), + ), + ) + ) + ); +} + +class Data { + Data({required this.x, required this.y}); + final double x; + final double y; +} + +{% endhighlight %} +{% endtabs %} + +![Thumb icon support](images/thumb-and-overlay/selector-thumb-icon.png) + +## Thumb overlay size + +You can change the size of the thumb overlay in the range selector using the [`overlayRadius`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfSliderThemeData/overlayRadius.html) property. + +N> You must import the `theme.dart` library from the [`Core`](https://pub.dev/packages/syncfusion_flutter_core) package to use [`SfRangeSelectorTheme`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfRangeSelectorTheme-class.html). + +{% tabs %} +{% highlight Dart %} + +final double _min = 2.0; +final double _max = 10.0; +SfRangeValues _values = SfRangeValues(4.0, 8.0); + +final List chartData = [ + Data(x:2.0, y: 2.2), + Data(x:3.0, y: 3.4), + Data(x:4.0, y: 2.8), + Data(x:5.0, y: 1.6), + Data(x:6.0, y: 2.3), + Data(x:7.0, y: 2.5), + Data(x:8.0, y: 2.9), + Data(x:9.0, y: 3.8), + Data(x:10.0, y: 3.7), +]; + +@override +Widget build(BuildContext context) { + return MaterialApp( + home: Scaffold( + body: Center( + child: SfRangeSelectorTheme( + data: SfRangeSelectorThemeData( + overlayRadius: 25, + ), + child: SfRangeSelector( + min: _min, + max: _max, + interval: 1, + showTicks: true, + showLabels: true, + initialValues: _values, + child: Container( + height: 130, + child: SfCartesianChart( + margin: const EdgeInsets.all(0), + primaryXAxis: NumericAxis(minimum: _min, + maximum: _max, + isVisible: false), + primaryYAxis: NumericAxis(isVisible: false), + plotAreaBorderWidth: 0, + series: >[ + SplineAreaSeries( + color: Color.fromARGB(255, 126, 184, 253), + dataSource: chartData, + xValueMapper: (Data sales, int index) => sales.x, + yValueMapper: (Data sales, int index) => sales.y) + ], + ), + ), + ), + ), + ) + ) + ); +} + +class Data { + Data({required this.x, required this.y}); + final double x; + final double y; +} + +{% endhighlight %} +{% endtabs %} + +![Thumb overlay size support](images/thumb-and-overlay/selector-overlay-size.png) + +## Thumb overlay color + +You can change the color of the thumb overlay in the range selector using the [`overlayColor`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfSliderThemeData/overlayColor.html) property. + +N> You must import the `theme.dart` library from the [`Core`](https://pub.dev/packages/syncfusion_flutter_core) package to use [`SfRangeSelectorTheme`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfRangeSelectorTheme-class.html). + +{% tabs %} +{% highlight Dart %} + +final double _min = 2.0; +final double _max = 10.0; +SfRangeValues _values = SfRangeValues(4.0, 8.0); + +final List chartData = [ + Data(x:2.0, y: 2.2), + Data(x:3.0, y: 3.4), + Data(x:4.0, y: 2.8), + Data(x:5.0, y: 1.6), + Data(x:6.0, y: 2.3), + Data(x:7.0, y: 2.5), + Data(x:8.0, y: 2.9), + Data(x:9.0, y: 3.8), + Data(x:10.0, y: 3.7), +]; + +@override +Widget build(BuildContext context) { + return MaterialApp( + home: Scaffold( + body: Center( + child: SfRangeSelectorTheme( + data: SfRangeSelectorThemeData( + overlayColor: Colors.red[50], + ), + child: SfRangeSelector( + min: _min, + max: _max, + interval: 1, + showTicks: true, + showLabels: true, + initialValues: _values, + child: Container( + height: 130, + child: SfCartesianChart( + margin: const EdgeInsets.all(0), + primaryXAxis: NumericAxis(minimum: _min, + maximum: _max, + isVisible: false), + primaryYAxis: NumericAxis(isVisible: false), + plotAreaBorderWidth: 0, + series: >[ + SplineAreaSeries( + color: Color.fromARGB(255, 126, 184, 253), + dataSource: chartData, + xValueMapper: (Data sales, int index) => sales.x, + yValueMapper: (Data sales, int index) => sales.y) + ], + ), + ), + ), + ), + ) + ) + ); +} + +class Data { + Data({required this.x, required this.y}); + final double x; + final double y; +} + +{% endhighlight %} +{% endtabs %} + +![Thumb overlay color support](images/thumb-and-overlay/selector-overlay-color.png) + +## Thumb overlap stroke color + +You can change the overlap stroke color of the thumb in the range selector using the [`overlappingThumbStrokeColor`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfRangeSliderThemeData/overlappingThumbStrokeColor.html) property. + +N> You must import the `theme.dart` library from the [`Core`](https://pub.dev/packages/syncfusion_flutter_core) package to use [`SfRangeSelectorTheme`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfRangeSelectorTheme-class.html). + +{% tabs %} +{% highlight Dart %} + +final double _min = 2.0; +final double _max = 10.0; +SfRangeValues _values = SfRangeValues(4.0, 8.0); + +final List chartData = [ + Data(x:2.0, y: 2.2), + Data(x:3.0, y: 3.4), + Data(x:4.0, y: 2.8), + Data(x:5.0, y: 1.6), + Data(x:6.0, y: 2.3), + Data(x:7.0, y: 2.5), + Data(x:8.0, y: 2.9), + Data(x:9.0, y: 3.8), + Data(x:10.0, y: 3.7), +]; + +@override +Widget build(BuildContext context) { + return MaterialApp( + home: Scaffold( + body: Center( + child: SfRangeSelectorTheme( + data: SfRangeSelectorThemeData( + overlappingThumbStrokeColor: Colors.red, + ), + child: SfRangeSelector( + min: _min, + max: _max, + interval: 1, + showTicks: true, + showLabels: true, + initialValues: _values, + child: Container( + height: 130, + child: SfCartesianChart( + margin: const EdgeInsets.all(0), + primaryXAxis: NumericAxis(minimum: _min, + maximum: _max, + isVisible: false), + primaryYAxis: NumericAxis(isVisible: false), + plotAreaBorderWidth: 0, + series: >[ + SplineAreaSeries( + color: Color.fromARGB(255, 126, 184, 253), + dataSource: chartData, + xValueMapper: (Data sales, int index) => sales.x, + yValueMapper: (Data sales, int index) => sales.y) + ], + ), + ), + ), + ), + ) + ) + ); +} + +class Data { + Data({required this.x, required this.y}); + final double x; + final double y; +} + +{% endhighlight %} +{% endtabs %} + +![Thumb overlap stroke color support](images/thumb-and-overlay/selector-overlap-stroke-color.png) diff --git a/chart-sdk/flutter/range-selector/ticks.md b/chart-sdk/flutter/range-selector/ticks.md new file mode 100644 index 000000000..cca4a7385 --- /dev/null +++ b/chart-sdk/flutter/range-selector/ticks.md @@ -0,0 +1,488 @@ +--- +layout: post +title: Tick in Flutter Range Selector widget | Syncfusion +description: Learn here all about adding the Ticks feature in Syncfusion Flutter Range Selector (SfRangeSelector) widget and more. +platform: chart-sdk +control: SfRangeSelector +documentation: ug +--- + +# Ticks in Flutter Range Selector (SfRangeSelector) + +This section helps to learn about how to add major and minor ticks in the range selector. + +## Show major ticks + +You can enable the major ticks on the track. It is a shape which is used to represent the major interval points of the track. The default value of [`showTicks`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/showTicks.html) property is `false`. + +For example, if [`min`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/min.html) is 0.0 and [`max`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/max.html) is 10.0 and [`interval`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/interval.html) is 2.0, the range selector will render the major ticks at 0.0, 2.0, 4.0 and so on. + +{% tabs %} +{% highlight Dart %} + +final DateTime _min = DateTime(2002, 01, 01, 09, 00, 00); +final DateTime _max = DateTime(2002, 01, 01, 17, 00, 00); +SfRangeValues _values = SfRangeValues(DateTime(2002, 01, 01, 11, 00, 00), DateTime(2002, 01, 01, 15, 00, 00)); + +final List chartData = [ + Data(x: DateTime(2002, 01, 01, 09, 00, 00), y: 2.2), + Data(x: DateTime(2002, 01, 01, 10, 00, 00), y: 3.4), + Data(x: DateTime(2002, 01, 01, 11, 00, 00), y: 2.8), + Data(x: DateTime(2002, 01, 01, 12, 00, 00), y: 1.6), + Data(x: DateTime(2002, 01, 01, 13, 00, 00), y: 2.3), + Data(x: DateTime(2002, 01, 01, 14, 00, 00), y: 2.5), + Data(x: DateTime(2002, 01, 01, 15, 00, 00), y: 2.9), + Data(x: DateTime(2002, 01, 01, 16, 00, 00), y: 3.8), + Data(x: DateTime(2002, 01, 01, 17, 00, 00), y: 3.7), +]; + +@override +Widget build(BuildContext context) { + return MaterialApp( + home: Scaffold( + body: Center( + child: SfRangeSelector( + min: _min, + max: _max, + showLabels: true, + showTicks: true, + interval: 2, + dateFormat: DateFormat('h:mm'), + dateIntervalType: DateIntervalType.hours, + initialValues: _values, + child: Container( + height: 130, + child: SfCartesianChart( + margin: const EdgeInsets.all(0), + primaryXAxis: DateTimeAxis( + minimum: _min, + maximum: _max, + isVisible: false,), + primaryYAxis: NumericAxis(isVisible: false), + plotAreaBorderWidth: 0, + series: >[ + SplineAreaSeries( + color: Color.fromARGB(255, 126, 184, 253), + dataSource: chartData, + xValueMapper: (Data sales, int index) => sales.x, + yValueMapper: (Data sales, int index) => sales.y) + ], + ), + ), + ), + ) + ) + ); +} + +class Data { + Data({required this.x, required this.y}); + final DateTime x; + final double y; +} + +{% endhighlight %} +{% endtabs %} + +![Major tick support](images/tick/selector_major_tick.png) + +N> Refer the [`tickShape`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/tickShape.html) and [`SfRangeSelectorThemeData`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfRangeSelectorThemeData-class.html) for customizing the major tick's visual appearance. + +## Show minor ticks + +It represents the number of smaller ticks between two major ticks. For example, if [`min`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/min.html) is 0.0 and [`max`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/max.html) is 10.0 and [`interval`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/interval.html) is 2.0, the range selector will render the major ticks at 0.0, 2.0, 4.0 and so on. If [`minorTicksPerInterval`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/minorTicksPerInterval.html) is 1, then smaller ticks will be rendered on 1.0 and 3.0 and so on. + +I> The default value of [`minorTicksPerInterval`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/minorTicksPerInterval.html) property is `null` and it must be greater than 0. + +{% tabs %} +{% highlight Dart %} + +final double _min = 2.0; +final double _max = 10.0; +SfRangeValues _values = SfRangeValues(4.0, 8.0); + +final List chartData = [ + Data(x:2.0, y: 2.2), + Data(x:3.0, y: 3.4), + Data(x:4.0, y: 2.8), + Data(x:5.0, y: 1.6), + Data(x:6.0, y: 2.3), + Data(x:7.0, y: 2.5), + Data(x:8.0, y: 2.9), + Data(x:9.0, y: 3.8), + Data(x:10.0, y: 3.7), +]; + +@override +Widget build(BuildContext context) { + return MaterialApp( + home: Scaffold( + body: Center( + child: SfRangeSelector( + min: _min, + max: _max, + interval: 2, + showLabels: true, + showTicks: true, + minorTicksPerInterval: 1, + initialValues: _values, + child: Container( + height: 130, + child: SfCartesianChart( + margin: const EdgeInsets.all(0), + primaryXAxis: NumericAxis(minimum: _min, + maximum: _max, + isVisible: false,), + primaryYAxis: NumericAxis(isVisible: false), + plotAreaBorderWidth: 0, + series: >[ + SplineAreaSeries( + color: Color.fromARGB(255, 126, 184, 253), + dataSource: chartData, + xValueMapper: (Data sales, int index) => sales.x, + yValueMapper: (Data sales, int index) => sales.y) + ], + ), + ), + ), + ) + ) + ); +} + +class Data { + Data({required this.x, required this.y}); + final double x; + final double y; +} + +{% endhighlight %} +{% endtabs %} + +![Minor tick support](images/tick/selector_minor_tick.png) + +N> +* Refer the [`showTicks`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/showTicks.html) to know about the rendering of major ticks at given interval. +* Refer the [`minorTickShape`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/minorTickShape.html) and [`SfRangeSelectorThemeData`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfRangeSelectorThemeData-class.html) for customizing the minor tick's visual appearance. + +## Major ticks color + +You can change the active and inactive major ticks color of the range selector using the [`activeTickColor`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfRangeSelectorThemeData/activeTickColor.html) and [`inactiveTickColor`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfRangeSelectorThemeData/inactiveTickColor.html) properties respectively. + +The active side of the [`SfRangeSelector`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector-class.html) is between start and end thumbs. + +The inactive side of the [`SfRangeSelector`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector-class.html) is between the [`min`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/min.html) value and the left thumb, and the right thumb and the [`max`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/max.html) value. + +For RTL, the inactive side is between the [`max`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/max.html) value and the left thumb, and the right thumb and the [`min`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/min.html) value. + +N> You must import the `theme.dart` library from the [`Core`](https://pub.dev/packages/syncfusion_flutter_core) package to use [`SfRangeSelectorTheme`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfRangeSelectorTheme-class.html). + +{% tabs %} +{% highlight Dart %} + +final double _min = 2.0; +final double _max = 10.0; +SfRangeValues _values = SfRangeValues(4.0, 8.0); + +final List chartData = [ + Data(x:2.0, y: 2.2), + Data(x:3.0, y: 3.4), + Data(x:4.0, y: 2.8), + Data(x:5.0, y: 1.6), + Data(x:6.0, y: 2.3), + Data(x:7.0, y: 2.5), + Data(x:8.0, y: 2.9), + Data(x:9.0, y: 3.8), + Data(x:10.0, y: 3.7), +]; + +@override +Widget build(BuildContext context) { + return MaterialApp( + home: Scaffold( + body: Center( + child: SfRangeSelectorTheme( + data: SfRangeSelectorThemeData( + activeTickColor: Colors.red, + inactiveTickColor: Colors.red[100], + ), + child: SfRangeSelector( + min: _min, + max: _max, + interval: 1, + showTicks: true, + initialValues: _values, + child: Container( + height: 130, + child: SfCartesianChart( + margin: const EdgeInsets.all(0), + primaryXAxis: NumericAxis(minimum: _min, + maximum: _max, + isVisible: false), + primaryYAxis: NumericAxis(isVisible: false), + plotAreaBorderWidth: 0, + series: >[ + SplineAreaSeries( + color: Color.fromARGB(255, 126, 184, 253), + dataSource: chartData, + xValueMapper: (Data sales, int index) => sales.x, + yValueMapper: (Data sales, int index) => sales.y) + ], + ), + ), + ), + ), + ) + ) + ); +} + +class Data { + Data({required this.x, required this.y}); + final double x; + final double y; +} + +{% endhighlight %} +{% endtabs %} + +![Major ticks support](images/tick/selector-major-tick.png) + +## Minor ticks color + +You can change the active and inactive minor ticks color of the range selector using the [`activeMinorTickColor`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfRangeSelectorThemeData/activeMinorTickColor.html) and [`inactiveMinorTickColor`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfRangeSelectorThemeData/inactiveMinorTickColor.html) properties respectively. + +The active side of the [`SfRangeSelector`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector-class.html) is between start and end thumbs. + +The inactive side of the [`SfRangeSelector`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector-class.html) is between the [`min`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/min.html) value and the left thumb, and the right thumb and the [`max`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/max.html) value. + +For RTL, the inactive side is between the [`max`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/max.html) value and the left thumb, and the right thumb and the [`min`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/min.html) value. + +N> You must import the `theme.dart` library from the [`Core`](https://pub.dev/packages/syncfusion_flutter_core) package to use [`SfRangeSelectorTheme`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfRangeSelectorTheme-class.html). + +{% tabs %} +{% highlight Dart %} + +final double _min = 2.0; +final double _max = 10.0; +SfRangeValues _values = SfRangeValues(4.0, 8.0); + +final List chartData = [ + Data(x:2.0, y: 2.2), + Data(x:3.0, y: 3.4), + Data(x:4.0, y: 2.8), + Data(x:5.0, y: 1.6), + Data(x:6.0, y: 2.3), + Data(x:7.0, y: 2.5), + Data(x:8.0, y: 2.9), + Data(x:9.0, y: 3.8), + Data(x:10.0, y: 3.7), +]; + +@override +Widget build(BuildContext context) { + return MaterialApp( + home: Scaffold( + body: Center( + child: SfRangeSelectorTheme( + data: SfRangeSelectorThemeData( + activeMinorTickColor: Colors.red, + inactiveMinorTickColor: Colors.red[200], + ), + child: SfRangeSelector( + min: _min, + max: _max, + interval: 2, + minorTicksPerInterval: 1, + showTicks: true, + initialValues: _values, + child: Container( + height: 130, + child: SfCartesianChart( + margin: const EdgeInsets.all(0), + primaryXAxis: NumericAxis(minimum: _min, + maximum: _max, + isVisible: false), + primaryYAxis: NumericAxis(isVisible: false), + plotAreaBorderWidth: 0, + series: >[ + SplineAreaSeries( + color: Color.fromARGB(255, 126, 184, 253), + dataSource: chartData, + xValueMapper: (Data sales, int index) => sales.x, + yValueMapper: (Data sales, int index) => sales.y) + ], + ), + ), + ), + ), + ) + ) + ); +} + +class Data { + Data({required this.x, required this.y}); + final double x; + final double y; +} + +{% endhighlight %} +{% endtabs %} + +![Minor ticks support](images/tick/selector-minor-tick.png) + +## Ticks size + +You can change the major and minor ticks size of the range selector using the [`tickSize`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfRangeSelectorThemeData/tickSize.html) and [`minorTickSize`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfRangeSelectorThemeData/minorTickSize.html) properties respectively. The default value of the [`tickSize`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfRangeSelectorThemeData/tickSize.html) property is `Size(1.0, 8.0)` and [`minorTickSize`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfRangeSelectorThemeData/minorTickSize.html) property is `Size(1.0, 5.0)`. + +N> You must import the `theme.dart` library from the [`Core`](https://pub.dev/packages/syncfusion_flutter_core) package to use [`SfRangeSelectorTheme`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfRangeSelectorTheme-class.html). + +{% tabs %} +{% highlight Dart %} + +final double _min = 2.0; +final double _max = 10.0; +SfRangeValues _values = SfRangeValues(4.0, 8.0); + +final List chartData = [ + Data(x:2.0, y: 2.2), + Data(x:3.0, y: 3.4), + Data(x:4.0, y: 2.8), + Data(x:5.0, y: 1.6), + Data(x:6.0, y: 2.3), + Data(x:7.0, y: 2.5), + Data(x:8.0, y: 2.9), + Data(x:9.0, y: 3.8), + Data(x:10.0, y: 3.7), +]; + +@override +Widget build(BuildContext context) { + return MaterialApp( + home: Scaffold( + body: Center( + child: SfRangeSelectorTheme( + data: SfRangeSelectorThemeData( + tickSize: Size(3.0, 12.0), + minorTickSize: Size(3.0, 8.0), + ), + child: SfRangeSelector( + min: _min, + max: _max, + interval: 2, + minorTicksPerInterval: 1, + showTicks: true, + initialValues: _values, + child: Container( + height: 130, + child: SfCartesianChart( + margin: const EdgeInsets.all(0), + primaryXAxis: NumericAxis(minimum: _min, + maximum: _max, + isVisible: false), + primaryYAxis: NumericAxis(isVisible: false), + plotAreaBorderWidth: 0, + series: >[ + SplineAreaSeries( + color: Color.fromARGB(255, 126, 184, 253), + dataSource: chartData, + xValueMapper: (Data sales, int index) => sales.x, + yValueMapper: (Data sales, int index) => sales.y) + ], + ), + ), + ), + ), + ) + ) + ); +} + +class Data { + Data({required this.x, required this.y}); + final double x; + final double y; +} + +{% endhighlight %} +{% endtabs %} + +![Ticks size support](images/tick/selector-ticks-size.png) + +## Ticks offset + +You can adjust the space between track and ticks of the range selector using the [`tickOffset`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfRangeSelectorThemeData/tickOffset.html) property in the [`SfRangeSelectorThemeData`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfRangeSelectorThemeData-class.html). The default value of the [`tickOffset`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfRangeSelectorThemeData/tickOffset.html) property is `null`. + +N> You must import the `theme.dart` library from the [`Core`](https://pub.dev/packages/syncfusion_flutter_core) package to use [`SfRangeSelectorTheme`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfRangeSelectorTheme-class.html). + +{% tabs %} +{% highlight Dart %} + +final double _min = 2.0; +final double _max = 10.0; +SfRangeValues _values = SfRangeValues(4.0, 8.0); + +final List chartData = [ + Data(x:2.0, y: 2.2), + Data(x:3.0, y: 3.4), + Data(x:4.0, y: 2.8), + Data(x:5.0, y: 1.6), + Data(x:6.0, y: 2.3), + Data(x:7.0, y: 2.5), + Data(x:8.0, y: 2.9), + Data(x:9.0, y: 3.8), + Data(x:10.0, y: 3.7), +]; + +@override +Widget build(BuildContext context) { + return MaterialApp( + home: Scaffold( + body: Center( + child: SfRangeSelectorTheme( + data: SfRangeSelectorThemeData( + tickOffset: Offset(0.0, 10.0), + ), + child: SfRangeSelector( + min: _min, + max: _max, + interval: 2, + minorTicksPerInterval: 1, + showTicks: true, + initialValues: _values, + child: Container( + height: 130, + child: SfCartesianChart( + margin: const EdgeInsets.all(0), + primaryXAxis: NumericAxis(minimum: _min, + maximum: _max, + isVisible: false), + primaryYAxis: NumericAxis(isVisible: false), + plotAreaBorderWidth: 0, + series: >[ + SplineAreaSeries( + color: Color.fromARGB(255, 126, 184, 253), + dataSource: chartData, + xValueMapper: (Data sales, int index) => sales.x, + yValueMapper: (Data sales, int index) => sales.y) + ], + ), + ), + ), + ), + ) + ) + ); +} + +class Data { + Data({required this.x, required this.y}); + final double x; + final double y; +} + +{% endhighlight %} +{% endtabs %} + +![Ticks offset support](images/tick/selector-ticks-offset.png) diff --git a/chart-sdk/flutter/range-selector/tooltip.md b/chart-sdk/flutter/range-selector/tooltip.md new file mode 100644 index 000000000..70ee8a423 --- /dev/null +++ b/chart-sdk/flutter/range-selector/tooltip.md @@ -0,0 +1,477 @@ +--- +layout: post +title: Tooltip in Flutter Range Selector widget | Syncfusion +description: Learn here all about adding the Tooltip feature in Syncfusion Flutter Range Selector (SfRangeSelector) widget and more. +platform: chart-sdk +control: SfRangeSelector +documentation: ug +--- + +# Tooltip in Flutter Range Selector (SfRangeSelector) + +This section helps to learn about how to add tooltip in the range selector. + +## Enable tooltips + +You can enable tooltips for both thumbs using the [`enableTooltip`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/enableTooltip.html). It is used to clearly indicate the current selection of the ranges during interaction. By default, tooltip text is formatted with either [`numberFormat`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/numberFormat.html) or [`dateFormat`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/dateFormat.html). + +I> By setting the value of [`shouldAlwaysShowTooltip`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/shouldAlwaysShowTooltip.html) to true, you can always show a tooltip without having to interact with the range selector thumb. The default value is `false` and it works independent of the [`enableTooltip`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/enableTooltip.html) behavior. + +{% tabs %} +{% highlight Dart %} + +final double _min = 2.0; +final double _max = 10.0; +SfRangeValues _values = SfRangeValues(4.0, 8.0); + +final List chartData = [ + Data(x:2.0, y: 2.2), + Data(x:3.0, y: 3.4), + Data(x:4.0, y: 2.8), + Data(x:5.0, y: 1.6), + Data(x:6.0, y: 2.3), + Data(x:7.0, y: 2.5), + Data(x:8.0, y: 2.9), + Data(x:9.0, y: 3.8), + Data(x:10.0, y: 3.7), +]; + +@override +Widget build(BuildContext context) { + return MaterialApp( + home: Scaffold( + body: Center( + child: SfRangeSelector( + min: _min, + max: _max, + interval: 2, + showLabels: true, + showTicks: true, + enableTooltip: true, + initialValues: _values, + child: Container( + height: 130, + child: SfCartesianChart( + margin: const EdgeInsets.all(0), + primaryXAxis: NumericAxis(minimum: _min, + maximum: _max, + isVisible: false,), + primaryYAxis: NumericAxis(isVisible: false), + plotAreaBorderWidth: 0, + series: >[ + SplineAreaSeries( + color: Color.fromARGB(255, 126, 184, 253), + dataSource: chartData, + xValueMapper: (Data sales, int index) => sales.x, + yValueMapper: (Data sales, int index) => sales.y) + ], + ), + ), + ), + ) + ) + ); +} + +class Data { + Data({required this.x, required this.y}); + final double x; + final double y; +} + +{% endhighlight %} +{% endtabs %} + +![Tooltip support](images/tooltip/selector_tooltip.png) + +N> +* Refer the [`tooltipTextFormatterCallback`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/tooltipTextFormatterCallback.html) for changing the default tooltip text. +* Refer the [`SfRangeSelectorThemeData`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfRangeSelectorThemeData-class.html) for customizing the appearance of the tooltip text. + +## Tooltip shape + +You can show tooltip in rectangular or paddle shape using the [`tooltipShape`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/tooltipShape.html) property. The default value of the [`tooltipShape`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/tooltipShape.html) property is [`SfRectangularTooltipShape`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRectangularTooltipShape-class.html). + +{% tabs %} +{% highlight Dart %} + +final double _min = 2.0; +final double _max = 10.0; +SfRangeValues _values = SfRangeValues(4.0, 8.0); + +final List chartData = [ + Data(x: 2.0, y: 2.2), + Data(x: 3.0, y: 3.4), + Data(x: 4.0, y: 2.8), + Data(x: 5.0, y: 1.6), + Data(x: 6.0, y: 2.3), + Data(x: 7.0, y: 2.5), + Data(x: 8.0, y: 2.9), + Data(x: 9.0, y: 3.8), + Data(x: 10.0, y: 3.7), +]; + +@override +Widget build(BuildContext context) { + return MaterialApp( + home: Scaffold( + body: Center( + child: SfRangeSelector( + min: _min, + max: _max, + interval: 1, + showLabels: true, + showTicks: true, + enableTooltip: true, + tooltipShape: SfPaddleTooltipShape(), + initialValues: _values, + child: Container( + height: 130, + child: SfCartesianChart( + margin: const EdgeInsets.all(0), + primaryXAxis: NumericAxis(minimum: _min, + maximum: _max, + isVisible: false,), + primaryYAxis: NumericAxis(isVisible: false), + plotAreaBorderWidth: 0, + series: >[ + SplineAreaSeries( + color: Color.fromARGB(255, 126, 184, 253), + dataSource: chartData, + xValueMapper: (Data sales, int index) => sales.x, + yValueMapper: (Data sales, int index) => sales.y) + ], + ), + ), + ), + ) + ) + ); +} + +class Data { + Data({required this.x, required this.y}); + final double x; + final double y; +} + +{% endhighlight %} +{% endtabs %} + +![Range selector tooltip shape](images/tooltip/selector-tooltip-shape.png) + +## Tooltip text format + +By default it is formatted based on [`numberFormat`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/numberFormat.html) property and [`dateFormat`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/dateFormat.html) property based on whether it is date type [`SfRangeSelector`](https://help.syncfusion.com/flutter/range-selector/getting-started#set-date-range) or numeric [`SfRangeSelector`](https://help.syncfusion.com/flutter/range-selector/getting-started#set-numeric-range). + +You can format or change the whole tooltip label text using the [`tooltipTextFormatterCallback`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/tooltipTextFormatterCallback.html). Its arguments are, + +* **actualValue** – either `DateTime` or `double` based on given [`initialValues`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/initialValues.html). +* **formattedText** – If the actual value is `double`, it is formatted by [`numberFormat`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/numberFormat.html) and if the actual value is `DateTime`, it is formatted by [`dateFormat`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/dateFormat.html). + +{% tabs %} +{% highlight Dart %} + +final DateTime _min = DateTime(2002, 01, 01, 09, 00, 00); +final DateTime _max = DateTime(2002, 01, 01, 17, 00, 00); +SfRangeValues _values = SfRangeValues(DateTime(2002, 01, 01, 11, 00, 00), DateTime(2002, 01, 01, 15, 00, 00)); + +final List chartData = [ + Data(x: DateTime(2002, 01, 01, 09, 00, 00), y: 2.2), + Data(x: DateTime(2002, 01, 01, 10, 00, 00), y: 3.4), + Data(x: DateTime(2002, 01, 01, 11, 00, 00), y: 2.8), + Data(x: DateTime(2002, 01, 01, 12, 00, 00), y: 1.6), + Data(x: DateTime(2002, 01, 01, 13, 00, 00), y: 2.3), + Data(x: DateTime(2002, 01, 01, 14, 00, 00), y: 2.5), + Data(x: DateTime(2002, 01, 01, 15, 00, 00), y: 2.9), + Data(x: DateTime(2002, 01, 01, 16, 00, 00), y: 3.8), + Data(x: DateTime(2002, 01, 01, 17, 00, 00), y: 3.7), +]; + +@override +Widget build(BuildContext context) { + return MaterialApp( + home: Scaffold( + body: Center( + child: SfRangeSelector( + min: _min, + max: _max, + showLabels: true, + showTicks: true, + interval: 2, + dateFormat: DateFormat('h:mm'), + dateIntervalType: DateIntervalType.hours, + enableTooltip: true, + tooltipTextFormatterCallback: (dynamic actualValue, String formattedText) { + return DateFormat('h:mm a').format(actualValue); + }, + initialValues: _values, + child: Container( + height: 130, + child: SfCartesianChart( + margin: const EdgeInsets.all(0), + primaryXAxis: DateTimeAxis( + minimum: _min, + maximum: _max, + isVisible: false,), + primaryYAxis: NumericAxis(isVisible: false), + plotAreaBorderWidth: 0, + series: >[ + SplineAreaSeries( + color: Color.fromARGB(255, 126, 184, 253), + dataSource: chartData, + xValueMapper: (Data sales, int index) => sales.x, + yValueMapper: (Data sales, int index) => sales.y) + ], + ), + ), + ), + ) + ) + ); +} + +class Data { + Data({required this.x, required this.y}); + final DateTime x; + final double y; +} + +{% endhighlight %} +{% endtabs %} + +![Tooltip format support](images/tooltip/tooltip_format.png) + +## Tooltip color + +You can change the background color of the tooltip in the range selector using the [`tooltipBackgroundColor`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfSliderThemeData/tooltipBackgroundColor.html) property. + +N> You must import the `theme.dart` library from the [`Core`](https://pub.dev/packages/syncfusion_flutter_core) package to use [`SfRangeSelectorTheme`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfRangeSelectorTheme-class.html). + +{% tabs %} +{% highlight Dart %} + +final double _min = 2.0; +final double _max = 10.0; +SfRangeValues _values = SfRangeValues(4.0, 8.0); + +final List chartData = [ + Data(x:2.0, y: 2.2), + Data(x:3.0, y: 3.4), + Data(x:4.0, y: 2.8), + Data(x:5.0, y: 1.6), + Data(x:6.0, y: 2.3), + Data(x:7.0, y: 2.5), + Data(x:8.0, y: 2.9), + Data(x:9.0, y: 3.8), + Data(x:10.0, y: 3.7), +]; + +@override +Widget build(BuildContext context) { + return MaterialApp( + home: Scaffold( + body: Center( + child: SfRangeSelectorTheme( + data: SfRangeSelectorThemeData( + tooltipBackgroundColor: Colors.red[300], + ), + child: SfRangeSelector( + min: _min, + max: _max, + interval: 1, + enableTooltip: true, + showTicks: true, + showLabels: true, + initialValues: _values, + child: Container( + height: 130, + child: SfCartesianChart( + margin: const EdgeInsets.all(0), + primaryXAxis: NumericAxis(minimum: _min, + maximum: _max, + isVisible: false), + primaryYAxis: NumericAxis(isVisible: false), + plotAreaBorderWidth: 0, + series: >[ + SplineAreaSeries( + color: Color.fromARGB(255, 126, 184, 253), + dataSource: chartData, + xValueMapper: (Data sales, int index) => sales.x, + yValueMapper: (Data sales, int index) => sales.y) + ], + ), + ), + ), + ), + ) + ) + ); +} + +class Data { + Data({required this.x, required this.y}); + final double x; + final double y; +} + +{% endhighlight %} +{% endtabs %} + +![Tooltip color support](images/tooltip/selector-tooltip-color.png) + +## Tooltip label style + +You can change the appearance of the tooltip text in the range selector using the [`tooltipTextStyle`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfSliderThemeData/tooltipTextStyle.html) property. + +N> You must import the `theme.dart` library from the [`Core`](https://pub.dev/packages/syncfusion_flutter_core) package to use [`SfRangeSelectorTheme`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfRangeSelectorTheme-class.html). + +{% tabs %} +{% highlight Dart %} + +final double _min = 2.0; +final double _max = 10.0; +SfRangeValues _values = SfRangeValues(4.0, 8.0); + +final List chartData = [ + Data(x:2.0, y: 2.2), + Data(x:3.0, y: 3.4), + Data(x:4.0, y: 2.8), + Data(x:5.0, y: 1.6), + Data(x:6.0, y: 2.3), + Data(x:7.0, y: 2.5), + Data(x:8.0, y: 2.9), + Data(x:9.0, y: 3.8), + Data(x:10.0, y: 3.7), +]; + +@override +Widget build(BuildContext context) { + return MaterialApp( + home: Scaffold( + body: Center( + child: SfRangeSelectorTheme( + data: SfRangeSelectorThemeData( + tooltipTextStyle: TextStyle(color: Colors.red, fontSize: 16, fontStyle: FontStyle.italic), + ), + child: SfRangeSelector( + min: _min, + max: _max, + interval: 1, + enableTooltip: true, + showTicks: true, + showLabels: true, + initialValues: _values, + child: Container( + height: 130, + child: SfCartesianChart( + margin: const EdgeInsets.all(0), + primaryXAxis: NumericAxis(minimum: _min, + maximum: _max, + isVisible: false), + primaryYAxis: NumericAxis(isVisible: false), + plotAreaBorderWidth: 0, + series: >[ + SplineAreaSeries( + color: Color.fromARGB(255, 126, 184, 253), + dataSource: chartData, + xValueMapper: (Data sales, int index) => sales.x, + yValueMapper: (Data sales, int index) => sales.y) + ], + ), + ), + ), + ), + ) + ) + ); +} + +class Data { + Data({required this.x, required this.y}); + final double x; + final double y; +} + +{% endhighlight %} +{% endtabs %} + +![Tooltip style support](images/tooltip/selector-tooltip-style.png) + +## Tooltip overlap stroke color + +You can change the overlap stroke color of the tooltip in the range selector using the [`overlappingTooltipStrokeColor`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfRangeSliderThemeData/overlappingTooltipStrokeColor.html) property. + +N> You must import the `theme.dart` library from the [`Core`](https://pub.dev/packages/syncfusion_flutter_core) package to use [`SfRangeSelectorTheme`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfRangeSelectorTheme-class.html). + +{% tabs %} +{% highlight Dart %} + +final double _min = 2.0; +final double _max = 10.0; +SfRangeValues _values = SfRangeValues(4.0, 8.0); + +final List chartData = [ + Data(x:2.0, y: 2.2), + Data(x:3.0, y: 3.4), + Data(x:4.0, y: 2.8), + Data(x:5.0, y: 1.6), + Data(x:6.0, y: 2.3), + Data(x:7.0, y: 2.5), + Data(x:8.0, y: 2.9), + Data(x:9.0, y: 3.8), + Data(x:10.0, y: 3.7), +]; + +@override +Widget build(BuildContext context) { + return MaterialApp( + home: Scaffold( + body: Center( + child: SfRangeSelectorTheme( + data: SfRangeSelectorThemeData( + overlappingTooltipStrokeColor: Colors.white, + ), + child: SfRangeSelector( + min: _min, + max: _max, + interval: 1, + enableTooltip: true, + showTicks: true, + showLabels: true, + initialValues: _values, + child: Container( + height: 130, + child: SfCartesianChart( + margin: const EdgeInsets.all(0), + primaryXAxis: NumericAxis(minimum: _min, + maximum: _max, + isVisible: false), + primaryYAxis: NumericAxis(isVisible: false), + plotAreaBorderWidth: 0, + series: >[ + SplineAreaSeries( + color: Color.fromARGB(255, 126, 184, 253), + dataSource: chartData, + xValueMapper: (Data sales, int index) => sales.x, + yValueMapper: (Data sales, int index) => sales.y) + ], + ), + ), + ), + ), + ) + ) + ); +} + +class Data { + Data({required this.x, required this.y}); + final double x; + final double y; +} + +{% endhighlight %} +{% endtabs %} + +![Tooltip overlap support](images/tooltip/selector-overlap-stroke-color.png) diff --git a/chart-sdk/flutter/range-selector/track.md b/chart-sdk/flutter/range-selector/track.md new file mode 100644 index 000000000..d953ed221 --- /dev/null +++ b/chart-sdk/flutter/range-selector/track.md @@ -0,0 +1,244 @@ +--- +layout: post +title: Track in Flutter Range Selector widget | Syncfusion +description: Learn here all about adding the Track feature in Syncfusion Flutter Range Selector (SfRangeSelector) widget and more. +platform: chart-sdk +control: SfRangeSelector +documentation: ug +--- + +# Track in Flutter Range Selector (SfRangeSelector) + +This section helps to learn about how to customize the track in the range selector. + +## Track color + +You can change the active and inactive track color of the range selector using the [`activeTrackColor`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfRangeSelectorThemeData/activeTrackColor.html) and [`inactiveTrackColor`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfRangeSelectorThemeData/inactiveTrackColor.html) properties respectively. + +The active side of the [`SfRangeSelector`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector-class.html) is between start and end thumbs. + +The inactive side of the [`SfRangeSelector`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector-class.html) is between the [`min`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/min.html) value and the left thumb, and the right thumb and the [`max`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/max.html) value. + +For RTL, the inactive side is between the [`max`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/max.html) value and the left thumb, and the right thumb and the [`min`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector/min.html) value. + +N> You must import the `theme.dart` library from the [`Core`](https://pub.dev/packages/syncfusion_flutter_core) package to use [`SfRangeSelectorTheme`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfRangeSelectorTheme-class.html). + +{% tabs %} +{% highlight Dart %} + +final double _min = 2.0; +final double _max = 10.0; +SfRangeValues _values = SfRangeValues(4.0, 7.0); + +final List chartData = [ + Data(x:2.0, y: 2.2), + Data(x:3.0, y: 3.4), + Data(x:4.0, y: 2.8), + Data(x:5.0, y: 1.6), + Data(x:6.0, y: 2.3), + Data(x:7.0, y: 2.5), + Data(x:8.0, y: 2.9), + Data(x:9.0, y: 3.8), + Data(x:10.0, y: 3.7), +]; + +@override +Widget build(BuildContext context) { + return MaterialApp( + home: Scaffold( + body: Center( + child: SfRangeSelectorTheme( + data: SfRangeSelectorThemeData( + activeTrackColor: Colors.red, + inactiveTrackColor: Colors.red[100], + ), + child: SfRangeSelector( + min: _min, + max: _max, + initialValues: _values, + child: Container( + height: 130, + child: SfCartesianChart( + margin: const EdgeInsets.all(0), + primaryXAxis: NumericAxis(minimum: _min, + maximum: _max, + isVisible: false), + primaryYAxis: NumericAxis(isVisible: false), + plotAreaBorderWidth: 0, + series: >[ + SplineAreaSeries( + color: Color.fromARGB(255, 126, 184, 253), + dataSource: chartData, + xValueMapper: (Data sales, int index) => sales.x, + yValueMapper: (Data sales, int index) => sales.y) + ], + ), + ), + ), + ), + ) + ) + ); +} + +class Data { + Data({required this.x, required this.y}); + final double x; + final double y; +} + +{% endhighlight %} +{% endtabs %} + +![Track color support](images/track/selector-track-color.png) + +## Track height + +You can change the track height of the range selector using the [`activeTrackHeight`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfRangeSelectorThemeData/activeTrackHeight.html) and the [`inactiveTrackHeight`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfRangeSelectorThemeData/inactiveTrackHeight.html) properties. The default value of the [`activeTrackHeight`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfRangeSelectorThemeData/activeTrackHeight.html) and the [`inactiveTrackHeight`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfRangeSelectorThemeData/inactiveTrackHeight.html) properties are `6.0` and `4.0`. + +N> You must import the `theme.dart` library from the [`Core`](https://pub.dev/packages/syncfusion_flutter_core) package to use [`SfRangeSelectorTheme`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfRangeSelectorTheme-class.html). + +{% tabs %} +{% highlight Dart %} + +final double _min = 2.0; +final double _max = 10.0; +SfRangeValues _values = SfRangeValues(4.0, 7.0); + +final List chartData = [ + Data(x:2.0, y: 2.2), + Data(x:3.0, y: 3.4), + Data(x:4.0, y: 2.8), + Data(x:5.0, y: 1.6), + Data(x:6.0, y: 2.3), + Data(x:7.0, y: 2.5), + Data(x:8.0, y: 2.9), + Data(x:9.0, y: 3.8), + Data(x:10.0, y: 3.7), +]; + +@override +Widget build(BuildContext context) { + return MaterialApp( + home: Scaffold( + body: Center( + child: SfRangeSelectorTheme( + data: SfRangeSelectorThemeData( + activeTrackHeight: 8, + inactiveTrackHeight: 8, + ), + child: SfRangeSelector( + min: _min, + max: _max, + initialValues: _values, + child: Container( + height: 130, + child: SfCartesianChart( + margin: const EdgeInsets.all(0), + primaryXAxis: NumericAxis(minimum: _min, + maximum: _max, + isVisible: false), + primaryYAxis: NumericAxis(isVisible: false), + plotAreaBorderWidth: 0, + series: >[ + SplineAreaSeries( + color: Color.fromARGB(255, 126, 184, 253), + dataSource: chartData, + xValueMapper: (Data sales, int index) => sales.x, + yValueMapper: (Data sales, int index) => sales.y) + ], + ), + ), + ), + ), + ) + ) + ); +} + +class Data { + Data({required this.x, required this.y}); + final double x; + final double y; +} + +{% endhighlight %} +{% endtabs %} + +![Track size support](images/track/selector-track-size.png) + +## Track corner radius + +You can change the corner of the track to be round in the range selector using the [`trackCornerRadius`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfRangeSelectorThemeData/trackCornerRadius.html) property. The default value of the [`trackCornerRadius`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfRangeSelectorThemeData/trackCornerRadius.html) property is `1.0`. + +N> You must import the `theme.dart` library from the [`Core`](https://pub.dev/packages/syncfusion_flutter_core) package to use [`SfRangeSelectorTheme`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfRangeSelectorTheme-class.html). + +{% tabs %} +{% highlight Dart %} + +final double _min = 2.0; +final double _max = 10.0; +SfRangeValues _values = SfRangeValues(4.0, 7.0); + +final List chartData = [ + Data(x:2.0, y: 2.2), + Data(x:3.0, y: 3.4), + Data(x:4.0, y: 2.8), + Data(x:5.0, y: 1.6), + Data(x:6.0, y: 2.3), + Data(x:7.0, y: 2.5), + Data(x:8.0, y: 2.9), + Data(x:9.0, y: 3.8), + Data(x:10.0, y: 3.7), +]; + +@override +Widget build(BuildContext context) { + return MaterialApp( + home: Scaffold( + body: Center( + child: SfRangeSelectorTheme( + data: SfRangeSelectorThemeData( + activeTrackHeight: 10, + inactiveTrackHeight: 10, + trackCornerRadius: 5, + ), + child: SfRangeSelector( + min: _min, + max: _max, + initialValues: _values, + child: Container( + height: 130, + child: SfCartesianChart( + margin: const EdgeInsets.all(0), + primaryXAxis: NumericAxis(minimum: _min, + maximum: _max, + isVisible: false), + primaryYAxis: NumericAxis(isVisible: false), + plotAreaBorderWidth: 0, + series: >[ + SplineAreaSeries( + color: Color.fromARGB(255, 126, 184, 253), + dataSource: chartData, + xValueMapper: (Data sales, int index) => sales.x, + yValueMapper: (Data sales, int index) => sales.y) + ], + ), + ), + ), + ), + ) + ) + ); +} + +class Data { + Data({required this.x, required this.y}); + final double x; + final double y; +} + +{% endhighlight %} +{% endtabs %} + +![Track corner radius support](images/track/selector-track-corner-radius.png) diff --git a/chart-sdk/flutter/sparkcharts/accessibility.md b/chart-sdk/flutter/sparkcharts/accessibility.md deleted file mode 100644 index 6092a50ec..000000000 --- a/chart-sdk/flutter/sparkcharts/accessibility.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -layout: post -title: Accessibility in Flutter Spark Chart | Syncfusion® -description: The accessibility support in Flutter Spark Chart offers sufficient contrast and large font options, improving readability for all users. -platform: chart-sdk -control: Sparkline -documentation: ug ---- - -# Accessibility in Flutter Spark Chart - -## Sufficient contrast - -The Syncfusion® Flutter Spark/Micro charts widget [`theming`](https://help.syncfusion.com/flutter/themes) support offers a consistent and standardized look, as well as the ability to set the colors for all UI elements. - -The colors can be customized for the following chart elements. -* [Axis](https://help.syncfusion.com/flutter/sparkcharts/axis-types) -* [Chart types](https://help.syncfusion.com/flutter/sparkcharts/sparkcharts-types) -* [Special points](https://help.syncfusion.com/flutter/sparkcharts/sparkcharts-types#winloss-sparkline-chart) -* [Plot band](https://help.syncfusion.com/flutter/sparkcharts/plotband) -* [Trackball](https://help.syncfusion.com/flutter/sparkcharts/trackball) -* [Marker](https://help.syncfusion.com/flutter/sparkcharts/marker-datalabel) -* [Data label](https://help.syncfusion.com/flutter/sparkcharts/marker-datalabel) - -## Large fonts - -The Syncfusion® Flutter Spark/Micro charts widget font size can be adjusted automatically based on device settings and scaled using the [`MediaQueryData.textScaleFactor`](https://api.flutter.dev/flutter/widgets/MediaQueryData/textScaleFactor.html). It also allows you to change the font size of all elements in Spark chart. -* [Data label](https://help.syncfusion.com/flutter/sparkcharts/marker-datalabel#data-label) -* [Trackball tooltip](https://help.syncfusion.com/flutter/sparkcharts/trackball) \ No newline at end of file diff --git a/chart-sdk/flutter/sparkcharts/axis-types.md b/chart-sdk/flutter/sparkcharts/axis-types.md deleted file mode 100644 index 920be6fcf..000000000 --- a/chart-sdk/flutter/sparkcharts/axis-types.md +++ /dev/null @@ -1,212 +0,0 @@ ---- -layout: post -title: Axis types in Flutter Spark Chart | Syncfusion® -description: The axis types support in Flutter Spark Chart offers numeric, datetime, and category axes, enabling accurate visualization of diverse data formats. -platform: chart-sdk -control: Sparkline -documentation: ug ---- - -# Axis types in Flutter Spark Chart - -Charts typically have two axes that are used to measure and categorize data: a vertical (Y) axis and a horizontal (X) axis. - -The vertical (Y) axis always uses a numerical scale. The horizontal (X) axis supports the following types of scale: - -* Category -* Numeric -* Date-time - - -## Numeric axis - -To use numeric values or to bind a custom data source, use the [`SfSparkBarChart.custom()`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkBarChart/SfSparkBarChart.custom.html) method and map the x and y values to [`xValueMapper`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SparkChartIndexedValueMapper.html) and [`yValueMapper`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SparkChartIndexedValueMapper.html) respectively. You must also specify the data length using the [`dataCount`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkLineChart/SfSparkLineChart.custom.html) property. - -{% tabs %} -{% highlight dart %} - - @override - Widget build(BuildContext context) { - return Scaffold( - body: Padding( - padding: EdgeInsets.all(5), - child: SfSparkBarChart.custom( - axisLineWidth: 0, - dataCount: 7, - xValueMapper: (index) => data[index].xval, - yValueMapper: (index) => data[index].yval, - ) - ), - ); - } - - final List data = [ - ChartData(xval: 1, yval: 190), - ChartData(xval: 2, yval: 165), - ChartData(xval: 3, yval: 158), - ChartData(xval: 4, yval: 175), - ChartData(xval: 5, yval: 200), - ChartData(xval: 6, yval: 180), - ChartData(xval: 7, yval: 210), - ]; - - class ChartData { - ChartData({this.xval, this.yval}); - final double xval; - final double yval; - } - -{% endhighlight %} -{% endtabs %} - -![numeric Axis](images/axis-types/numeric.jpg) - -## Date-time axis - -To use date-time values or bind a custom data source, use the [`SfSparkBarChart.custom()`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkBarChart/SfSparkBarChart.custom.html) method and map the x and y values to [`xValueMapper`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SparkChartIndexedValueMapper.html) and [`yValueMapper`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SparkChartIndexedValueMapper.html) respectively. You must also specify the data length using the [`dataCount`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkBarChart/SfSparkBarChart.custom.html) property. - -{% tabs %} -{% highlight dart %} - - @override - Widget build(BuildContext context) { - return Scaffold( - body: Padding( - padding: EdgeInsets.all(5), - child: SfSparkBarChart.custom( - axisLineWidth: 0, - dataCount: 23, - xValueMapper: (index) => data[index].xval, - yValueMapper: (index) => data[index].yval, - ) - ), - ); - } - final List data = [ - ChartData(xval: DateTime(2018, 0, 1), yval: 4), - ChartData(xval: DateTime(2018, 0, 2), yval: 4.5), - ChartData(xval: DateTime(2018, 0, 3), yval: 8), - ChartData(xval: DateTime(2018, 0, 4), yval: 7), - ChartData(xval: DateTime(2018, 0, 5), yval: 6), - ChartData(xval: DateTime(2018, 0, 8), yval: 8), - ChartData(xval: DateTime(2018, 0, 9), yval: 8), - ChartData(xval: DateTime(2018, 0, 10), yval: 6.5), - ChartData(xval: DateTime(2018, 0, 11), yval: 4), - ChartData(xval: DateTime(2018, 0, 12), yval: 5.5), - ChartData(xval: DateTime(2018, 0, 15), yval: 8), - ChartData(xval: DateTime(2018, 0, 16), yval: 6), - ChartData(xval: DateTime(2018, 0, 17), yval: 6.5), - ChartData(xval: DateTime(2018, 0, 18), yval: 7.5), - ChartData(xval: DateTime(2018, 0, 19), yval: 7.5), - ChartData(xval: DateTime(2018, 0, 22), yval: 4), - ChartData(xval: DateTime(2018, 0, 23), yval: 8), - ChartData(xval: DateTime(2018, 0, 24), yval: 6), - ChartData(xval: DateTime(2018, 0, 25), yval: 7.5), - ChartData(xval: DateTime(2018, 0, 26), yval: 4.5), - ChartData(xval: DateTime(2018, 0, 29), yval: 6), - ChartData(xval: DateTime(2018, 0, 30), yval: 5), - ChartData(xval: DateTime(2018, 0, 31), yval: 7), - ]; - - class ChartData { - ChartData({this.xval, this.yval}); - final DateTime xval; - final double yval; - } - -{% endhighlight %} -{% endtabs %} - -![Datetime Axis](images/axis-types/datetime.jpg) - -## Category Axis - -To use category values or bind a custom data source, use the [`SfSparkBarChart.custom()`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkBarChart/SfSparkBarChart.custom.html) method and map the x and y values to [`xValueMapper`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SparkChartIndexedValueMapper.html) and [`yValueMapper`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SparkChartIndexedValueMapper.html) respectively. You must also specify the data length using the [`dataCount`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkBarChart/SfSparkBarChart.custom.html) property. - -{% tabs %} -{% highlight dart %} - - @override - Widget build(BuildContext context) { - return Scaffold( - body: Padding( - padding: EdgeInsets.all(5), - child: SfSparkLineChart.custom( - axisLineWidth: 0, - dataCount: 12, - xValueMapper: (index) => data[index].xval, - yValueMapper: (index) => data[index].yval, - ) - ), - ); - } - final List data = [ - ChartData(xval: 'Robert', yval: 60), - ChartData(xval: 'Andrew', yval: 65), - ChartData(xval: 'Suyama', yval: 70), - ChartData(xval: 'Michael', yval: 80), - ChartData(xval: 'Janet', yval: 55), - ChartData(xval: 'Davolio', yval: 90), - ChartData(xval: 'Fuller', yval: 75), - ChartData(xval: 'Nancy', yval: 85), - ChartData(xval: 'Margaret', yval: 77), - ChartData(xval: 'Steven', yval: 68), - ChartData(xval: 'Laura', yval: 96), - ChartData(xval: 'Elizabeth', yval: 57) - ]; - - class ChartData { - ChartData({this.xval, this.yval}); - final String xval; - final double yval; - } - -{% endhighlight %} -{% endtabs %} - -![category Axis](images/axis-types/category.jpg) - -### Axis line customization - -Axis line of the spark charts can be customized using the following properties. - -* [`axisCrossesAt`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkLineChart/axisCrossesAt.html) - Specifies the horizontal axis line position. The default value is `0`. -* [`axisLineColor`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkLineChart/axisLineColor.html) - Specifies the color of the axis line. -* [`axisLineWidth`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkLineChart/axisLineWidth.html) - Specifies the width of the axis line. -* [`axisLineDashArray`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkLineChart/axisLineDashArray.html) - Specifies the axis line dash array. - - -{% tabs %} -{% highlight dart %} - - @override - Widget build(BuildContext context) { - return Scaffold( - body: Padding( - padding: EdgeInsets.all(5), - child: SfSparkLineChart.custom( - axisLineWidth: 2, - axisLineDashArray: [5,3], - axisCrossesAt: 174, - dataCount: 7, - xValueMapper: (index) => data[index].xval, - yValueMapper: (index) => data[index].yval, - ) - ), - ); - } - - final List data = [ - ChartData(xval: 1, yval: 190), - ChartData(xval: 2, yval: 165), - ChartData(xval: 3, yval: 158), - ChartData(xval: 4, yval: 175), - ChartData(xval: 5, yval: 200), - ChartData(xval: 6, yval: 180), - ChartData(xval: 7, yval: 210), - ]; - -{% endhighlight %} -{% endtabs %} - -![Axis customization](images/axis-types/axis-customization.jpg) \ No newline at end of file diff --git a/chart-sdk/flutter/sparkcharts/getting-started.md b/chart-sdk/flutter/sparkcharts/getting-started.md deleted file mode 100644 index 0691d86b6..000000000 --- a/chart-sdk/flutter/sparkcharts/getting-started.md +++ /dev/null @@ -1,198 +0,0 @@ ---- -layout: post -title: Getting Started with Flutter Spark Chart | Syncfusion® -description: Learn how to get started with the Syncfusion® Flutter Spark Charts widget, its elements, and customization options. -platform: chart-sdk -control: Sparkline -documentation: ug ---- - -# Getting Started with Flutter Spark Chart - -This section explains the steps required to populate the spark charts with data, data labels, and trackball. It covers only the minimal features needed to get started with spark charts. - -## Add Flutter Spark charts to an application - -Create a new Flutter project by following the instructions in the [Getting Started with your first Flutter app](https://docs.flutter.dev/get-started/test-drive#choose-your-ide) documentation. - -**Add dependency** - -Add the Syncfusion® Flutter Charts package dependency to your pubspec.yaml file. - -{% tabs %} -{% highlight dart %} - - dependencies: - - syncfusion_flutter_charts: ^xx.x.xx - -{% endhighlight %} -{% endtabs %} - -> **NOTE** -Here **xx.x.xx** denotes the current version of [`Syncfusion® Flutter Charts`](https://pub.dev/packages/syncfusion_flutter_charts/versions) package. - -**Get packages** - -Run the following command to get the required packages. - -{% tabs %} -{% highlight dart %} - - $ flutter pub get - -{% endhighlight %} -{% endtabs %} - -**Import package** - -Import the following package in your Dart code. - -{% tabs %} -{% highlight dart %} - - import 'package:syncfusion_flutter_charts/sparkcharts.dart'; - -{% endhighlight %} -{% endtabs %} - -## Initialize spark charts - -Once the package has been imported, place the spark chart as a child of any widget. Here, as we are rendering a line chart, initialize [`SfSparkLineChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkLineChart-class.html) as a child of the `Container` widget. - -{% tabs %} -{% highlight dart %} - - @override - Widget build(BuildContext context) { - return Scaffold( - body: Center( - child: Container( - //Initialize the spark charts - child: SfSparkLineChart() - ) - ) - ); - } - -{% endhighlight %} -{% endtabs %} - -## Bind data source - -Use the `data` property to bind data to the spark charts. This property accepts a list of numeric values. - -{% tabs %} -{% highlight dart %} - - @override - Widget build(BuildContext context) { - return Scaffold( - body: Center( - child: Container( - //Initialize the spark line chart - child: SfSparkLineChart( - data: [ - 10, 6, 8, -5, 11, 5, -2, 7, -3, 6, 8, 10 - ] - ) - ), - ) - ); - } - -{% endhighlight %} -{% endtabs %} - -![bind datasource](images/getting-started/bind-data.png) - -## Spark charts types - -You can use the following widgets to create spark charts: [`SfSparkLineChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkLineChart-class.html), [`SfSparkAreaChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkAreaChart-class.html), [`SfSparkBarChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkBarChart-class.html), or [`SfSparkWinLossChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkWinLossChart-class.html). - -In this example, the spark chart type is set to [`SfSparkAreaChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkAreaChart-class.html). - -{% tabs %} -{% highlight dart %} - - @override - Widget build(BuildContext context) { - return Scaffold( - body: Center( - child: Container( - //Initialize the spark area chart - child: SfSparkAreaChart( - axisLineWidth:0, - data: [ - 10, - ) - ), - ) - ); - } - -{% endhighlight %} -{% endtabs %} - -![chart type](images/getting-started/sparkline-type.png) - -## Enable data labels - -You can add data labels to improve chart readability by using the [`labelDisplayMode`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkLineChart/labelDisplayMode.html) property. - -{% tabs %} -{% highlight dart %} - - @override - Widget build(BuildContext context) { - return Scaffold( - body: Center( - child: Container( - //Initialize spark line chart - child: SfSparthe spark line chart - child: SfSparkLineChart( - //Enable data labels - labelDisplayMode: SparkChartLabelDisplayMode.all, - data: [ - 10, - ) - ) - ) - ); - } - -{% endhighlight %} -{% endtabs %} - -![datalabel](images/getting-started/sparkline-datalabel.png) - -## Enable trackball for spark chart - -The spark charts display additional information through trackball when you tap a specific location in the chart area. You can enable the trackball by setting the [`trackball`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkLineChart/trackball.html) property to [`SparkChartTrackball`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SparkChartTrackball-class.html). Once it is activated, it appears in the UI and moves based on your touch movement until you stop touching the chart. -{% tabs %} -{% highlight dart %} - - @override - Widget build(BuildContext context) { - return Scaffold( - body: Center( - child: Container( - child: SfSparkLineChart( - //Enable trackball - trackball: SparkChartTrackball( - activationMode: SparkChartActivationMode.tap - ), - data: [ - 10, 6, 8, -5, 11, 5, -2, 7, -3, 6, 8, 10 - ] - ) - ) - ) - ); - } - -{% endhighlight %} -{% endtabs %} - -![trackball](images/getting-started/sparkline-trackball.png) \ No newline at end of file diff --git a/chart-sdk/flutter/sparkcharts/how-to/custom-widget-on-flutterflow.md b/chart-sdk/flutter/sparkcharts/how-to/custom-widget-on-flutterflow.md deleted file mode 100644 index 5da78c2e3..000000000 --- a/chart-sdk/flutter/sparkcharts/how-to/custom-widget-on-flutterflow.md +++ /dev/null @@ -1,75 +0,0 @@ ---- -layout: post -title: How to add Syncfusion® Spark Chart in FlutterFlow | Syncfusion® -description: Add Syncfusion® Flutter Spark Chart in FlutterFlow to create compact, interactive charts that visualize trends and data patterns with ease. -platform: chart-sdk -control: Sparkline -documentation: ug ---- - -# How to add Syncfusion® Spark Chart in FlutterFlow - -## Overview - -[FlutterFlow](https://app.flutterflow.io/dashboard) enables you to create native applications using its graphical interface, reducing the need to write extensive amounts of code. It also lets you include custom widgets that are not part of the default [FlutterFlow](https://app.flutterflow.io/dashboard) widget collection. This article explains how to incorporate the `SfSparkLineChart` widget as a custom widget in [FlutterFlow](https://app.flutterflow.io/dashboard). - -### Create a new project - -Navigate to the [FlutterFlow dashboard](https://app.flutterflow.io/dashboard) and click the `+ Create New` button to create a new project. - -### Creating the custom widget - -1. Navigate to the `Custom Code` section in the left-side navigation menu. -2. Click the `+ Add` button to open a dropdown menu, then select `Widget`. -3. Update the widget name as desired. -4. Click the `View Boilerplate Code` button on the right side, represented by the `[]` icon. -5. A popup appears with the startup code; locate the ` Copy to Editor` button and click it. -6. Save the widget. - -![Custom Widget](how-to-section-images/custom-widget.png) - -### Add Spark Chart widget as a dependency - -1. Click `+ Add Dependency`; a text editor appears. -2. Navigate to [Syncfusion® Flutter Charts](https://pub.dev/packages/syncfusion_flutter_charts) in [pub.dev](https://pub.dev/) and copy the dependency name and version using the `Copy to Clipboard` option. -![Version](how-to-section-images/copy-version.png) -3. Paste the copied dependency into the text editor, then click `Refresh` and `Save`. - ->**Note**: The live version of [Syncfusion® Flutter Charts](https://pub.dev/packages/syncfusion_flutter_charts) has been migrated to the latest version of Flutter SDK. To ensure compatibility, check [FlutterFlow](https://app.flutterflow.io/dashboard)'s current Flutter version and obtain the corresponding version of [Syncfusion® Flutter Charts](https://pub.dev/packages/syncfusion_flutter_charts) by referring to the [SDK compatibility](https://help.syncfusion.com/flutter/system-requirements#sdk-version-compatibility). - -![Dependency](how-to-section-images/dependency.png) - ->**Note**: If you are using an older version of a dependency instead of the latest one, remove the caret symbol (^) prefix in the version number after pasting the dependency. For example, change `^21.3.0` to `21.3.0`. - ->**Note**: Since [Syncfusion® Flutter Charts](https://pub.dev/packages/syncfusion_flutter_charts) depends on the [Syncfusion® Flutter Core](https://pub.dev/packages/syncfusion_flutter_core) package, make sure to add it as a dependency following the same steps mentioned above. - -### Import the package - -1. Navigate to the `Installing` tab on the [Syncfusion® Flutter Charts](https://pub.dev/packages/syncfusion_flutter_charts) page. Under the `Import it` section, copy the package import statement. -![Package](how-to-section-images/copy-package.png) -2. Paste the copied import statement into the code editor and then `Save` it. -![Import](how-to-section-images/import-package-flutterflow.png) - -### Add widget code snippet in code editor - -1. Navigate to the [Example](https://pub.dev/packages/syncfusion_flutter_charts/example) tab in [Syncfusion® Flutter Charts](https://pub.dev/packages/syncfusion_flutter_charts) and copy the widget-specific code. -![Code](how-to-section-images/code-snippet.png) -2. Paste the copied code sample into the code editor, click `Format Code`, and `Save` it. -![Code snippet](how-to-section-images/Adding-code-snippent.png) - -### Compile the code - -1. Click the `Compile Code` button in the top-right corner. -2. If there are no errors, save the process. If errors are present, fix them and compile the code again. Once the code compiles successfully, save the process. - -![Compile code](how-to-section-images/compile-code.png) - ->**Note**: The compilation process takes 2 to 3 minutes to complete. - -### Utilize the custom widget - -1. Navigate to `Widget Palette` in the left-side navigation menu. -2. Click the `Components` tab. -3. Your custom widget appears under `Custom Code Widgets`. Drag and drop it onto your page. - -![Page](how-to-section-images/page.png) diff --git a/chart-sdk/flutter/sparkcharts/how-to/how-to-section-images/Adding-code-snippent.png b/chart-sdk/flutter/sparkcharts/how-to/how-to-section-images/Adding-code-snippent.png deleted file mode 100644 index 36ea9d523..000000000 Binary files a/chart-sdk/flutter/sparkcharts/how-to/how-to-section-images/Adding-code-snippent.png and /dev/null differ diff --git a/chart-sdk/flutter/sparkcharts/how-to/how-to-section-images/code-snippet.png b/chart-sdk/flutter/sparkcharts/how-to/how-to-section-images/code-snippet.png deleted file mode 100644 index 7d020fa5e..000000000 Binary files a/chart-sdk/flutter/sparkcharts/how-to/how-to-section-images/code-snippet.png and /dev/null differ diff --git a/chart-sdk/flutter/sparkcharts/how-to/how-to-section-images/compile-code.png b/chart-sdk/flutter/sparkcharts/how-to/how-to-section-images/compile-code.png deleted file mode 100644 index b88fd7d54..000000000 Binary files a/chart-sdk/flutter/sparkcharts/how-to/how-to-section-images/compile-code.png and /dev/null differ diff --git a/chart-sdk/flutter/sparkcharts/how-to/how-to-section-images/copy-package.png b/chart-sdk/flutter/sparkcharts/how-to/how-to-section-images/copy-package.png deleted file mode 100644 index 3a16a7a61..000000000 Binary files a/chart-sdk/flutter/sparkcharts/how-to/how-to-section-images/copy-package.png and /dev/null differ diff --git a/chart-sdk/flutter/sparkcharts/how-to/how-to-section-images/copy-version.png b/chart-sdk/flutter/sparkcharts/how-to/how-to-section-images/copy-version.png deleted file mode 100644 index 3078a61b0..000000000 Binary files a/chart-sdk/flutter/sparkcharts/how-to/how-to-section-images/copy-version.png and /dev/null differ diff --git a/chart-sdk/flutter/sparkcharts/how-to/how-to-section-images/dependency.png b/chart-sdk/flutter/sparkcharts/how-to/how-to-section-images/dependency.png deleted file mode 100644 index 9e42ae589..000000000 Binary files a/chart-sdk/flutter/sparkcharts/how-to/how-to-section-images/dependency.png and /dev/null differ diff --git a/chart-sdk/flutter/sparkcharts/how-to/how-to-section-images/import-package-flutterflow.png b/chart-sdk/flutter/sparkcharts/how-to/how-to-section-images/import-package-flutterflow.png deleted file mode 100644 index 13c07216c..000000000 Binary files a/chart-sdk/flutter/sparkcharts/how-to/how-to-section-images/import-package-flutterflow.png and /dev/null differ diff --git a/chart-sdk/flutter/sparkcharts/how-to/how-to-section-images/page.png b/chart-sdk/flutter/sparkcharts/how-to/how-to-section-images/page.png deleted file mode 100644 index a1062e231..000000000 Binary files a/chart-sdk/flutter/sparkcharts/how-to/how-to-section-images/page.png and /dev/null differ diff --git a/chart-sdk/flutter/sparkcharts/images/axis-types/axis-customization.jpg b/chart-sdk/flutter/sparkcharts/images/axis-types/axis-customization.jpg deleted file mode 100644 index 926a90565..000000000 Binary files a/chart-sdk/flutter/sparkcharts/images/axis-types/axis-customization.jpg and /dev/null differ diff --git a/chart-sdk/flutter/sparkcharts/images/axis-types/category.jpg b/chart-sdk/flutter/sparkcharts/images/axis-types/category.jpg deleted file mode 100644 index 6989b69e4..000000000 Binary files a/chart-sdk/flutter/sparkcharts/images/axis-types/category.jpg and /dev/null differ diff --git a/chart-sdk/flutter/sparkcharts/images/axis-types/datetime.jpg b/chart-sdk/flutter/sparkcharts/images/axis-types/datetime.jpg deleted file mode 100644 index 31c67ee68..000000000 Binary files a/chart-sdk/flutter/sparkcharts/images/axis-types/datetime.jpg and /dev/null differ diff --git a/chart-sdk/flutter/sparkcharts/images/axis-types/numeric.jpg b/chart-sdk/flutter/sparkcharts/images/axis-types/numeric.jpg deleted file mode 100644 index 9a20ee7e9..000000000 Binary files a/chart-sdk/flutter/sparkcharts/images/axis-types/numeric.jpg and /dev/null differ diff --git a/chart-sdk/flutter/sparkcharts/images/getting-started/bind-data.png b/chart-sdk/flutter/sparkcharts/images/getting-started/bind-data.png deleted file mode 100644 index 73a1d89a4..000000000 Binary files a/chart-sdk/flutter/sparkcharts/images/getting-started/bind-data.png and /dev/null differ diff --git a/chart-sdk/flutter/sparkcharts/images/getting-started/sparkline-datalabel.png b/chart-sdk/flutter/sparkcharts/images/getting-started/sparkline-datalabel.png deleted file mode 100644 index f8a608222..000000000 Binary files a/chart-sdk/flutter/sparkcharts/images/getting-started/sparkline-datalabel.png and /dev/null differ diff --git a/chart-sdk/flutter/sparkcharts/images/getting-started/sparkline-trackball.png b/chart-sdk/flutter/sparkcharts/images/getting-started/sparkline-trackball.png deleted file mode 100644 index 857beedb0..000000000 Binary files a/chart-sdk/flutter/sparkcharts/images/getting-started/sparkline-trackball.png and /dev/null differ diff --git a/chart-sdk/flutter/sparkcharts/images/getting-started/sparkline-type.png b/chart-sdk/flutter/sparkcharts/images/getting-started/sparkline-type.png deleted file mode 100644 index 9be3df212..000000000 Binary files a/chart-sdk/flutter/sparkcharts/images/getting-started/sparkline-type.png and /dev/null differ diff --git a/chart-sdk/flutter/sparkcharts/images/marker/spark-datalabel.png b/chart-sdk/flutter/sparkcharts/images/marker/spark-datalabel.png deleted file mode 100644 index 127653239..000000000 Binary files a/chart-sdk/flutter/sparkcharts/images/marker/spark-datalabel.png and /dev/null differ diff --git a/chart-sdk/flutter/sparkcharts/images/marker/spark-marker-circle.png b/chart-sdk/flutter/sparkcharts/images/marker/spark-marker-circle.png deleted file mode 100644 index 4ef3a3935..000000000 Binary files a/chart-sdk/flutter/sparkcharts/images/marker/spark-marker-circle.png and /dev/null differ diff --git a/chart-sdk/flutter/sparkcharts/images/marker/spark-marker-square.png b/chart-sdk/flutter/sparkcharts/images/marker/spark-marker-square.png deleted file mode 100644 index e384f4052..000000000 Binary files a/chart-sdk/flutter/sparkcharts/images/marker/spark-marker-square.png and /dev/null differ diff --git a/chart-sdk/flutter/sparkcharts/images/plotband/spark-plotband.png b/chart-sdk/flutter/sparkcharts/images/plotband/spark-plotband.png deleted file mode 100644 index 29aea796a..000000000 Binary files a/chart-sdk/flutter/sparkcharts/images/plotband/spark-plotband.png and /dev/null differ diff --git a/chart-sdk/flutter/sparkcharts/images/sparkline-types/spark-area.png b/chart-sdk/flutter/sparkcharts/images/sparkline-types/spark-area.png deleted file mode 100644 index a208480be..000000000 Binary files a/chart-sdk/flutter/sparkcharts/images/sparkline-types/spark-area.png and /dev/null differ diff --git a/chart-sdk/flutter/sparkcharts/images/sparkline-types/spark-bar.png b/chart-sdk/flutter/sparkcharts/images/sparkline-types/spark-bar.png deleted file mode 100644 index 930c198da..000000000 Binary files a/chart-sdk/flutter/sparkcharts/images/sparkline-types/spark-bar.png and /dev/null differ diff --git a/chart-sdk/flutter/sparkcharts/images/sparkline-types/spark-win-loss.png b/chart-sdk/flutter/sparkcharts/images/sparkline-types/spark-win-loss.png deleted file mode 100644 index 96e40b0fc..000000000 Binary files a/chart-sdk/flutter/sparkcharts/images/sparkline-types/spark-win-loss.png and /dev/null differ diff --git a/chart-sdk/flutter/sparkcharts/images/sparkline-types/sparkline-dasharray.png b/chart-sdk/flutter/sparkcharts/images/sparkline-types/sparkline-dasharray.png deleted file mode 100644 index 15434f61f..000000000 Binary files a/chart-sdk/flutter/sparkcharts/images/sparkline-types/sparkline-dasharray.png and /dev/null differ diff --git a/chart-sdk/flutter/sparkcharts/images/sparkline-types/sparkline.png b/chart-sdk/flutter/sparkcharts/images/sparkline-types/sparkline.png deleted file mode 100644 index 86f5962d3..000000000 Binary files a/chart-sdk/flutter/sparkcharts/images/sparkline-types/sparkline.png and /dev/null differ diff --git a/chart-sdk/flutter/sparkcharts/images/trackball/spark-trackball.png b/chart-sdk/flutter/sparkcharts/images/trackball/spark-trackball.png deleted file mode 100644 index 88e047425..000000000 Binary files a/chart-sdk/flutter/sparkcharts/images/trackball/spark-trackball.png and /dev/null differ diff --git a/chart-sdk/flutter/sparkcharts/marker-datalabel.md b/chart-sdk/flutter/sparkcharts/marker-datalabel.md deleted file mode 100644 index 2f6d62218..000000000 --- a/chart-sdk/flutter/sparkcharts/marker-datalabel.md +++ /dev/null @@ -1,126 +0,0 @@ ---- -layout: post -title: Marker and Data label in Flutter Spark Chart | Syncfusion® -description: The marker and data label support in Flutter Spark Chart offers clear data point value display, improving chart readability and data interpretation. -platform: chart-sdk -control: Sparkline -documentation: ug ---- - -# Marker and Data label in Flutter Spark Chart - -## Marker - -Markers provide information about the exact point location. You can add a shape to each data point by using the [`marker`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SparkChartMarker-class.html) property with [`SfSparkLineChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkLineChart-class.html) and [`SfSparkAreaChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkAreaChart-class.html) widgets. - -You can use the following properties to customize the appearance: - -* [`displayMode`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SparkChartMarker/displayMode.html) - Toggles the visibility of the marker. Defaults to [`SparkChartMarkerDisplayMode.none`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SparkChartMarkerDisplayMode.html). -* [`borderWidth`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SparkChartMarker/borderWidth.html) - Represents the border width of the marker. -* [`color`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SparkChartMarker/color.html) - Represents the color of the marker. -* [`borderColor`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SparkChartMarker/borderColor.html) - Represents the border color of the marker. - -{% tabs %} -{% highlight dart %} - - @override - Widget build(BuildContext context) { - return Scaffold( - body: Center( - child: SfSparkLineChart( - axisLineWidth: 0, - marker: SparkChartMarker( - borderColor: Colors.orange, - borderWidth: 2, - displayMode: SparkChartMarkerDisplayMode.all - ), - data: [ - 5, 6, 5, 7, 4, 3, 9, 5, 6, 5, 7, 8, 4, 5, 3, 4, 11, 10, 2, 12, 4, 7, 6, 8 - ], - ) - ) - ); - } - -{% endhighlight %} -{% endtabs %} - -![Sparkline marker](images/marker/spark-marker-circle.png) - -### Customizing marker shapes - -Markers can be assigned with different shapes using the [`shape`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SparkChartMarker/shape.html) property. By default, markers are rendered with circle shape. The shapes of markers are listed below. - -* circle, -* diamond, -* square, -* triangle, -* invertedTriangle - -{% tabs %} -{% highlight dart %} - - @override - Widget build(BuildContext context) { - return Scaffold( - body: Center( - child: SfSparkLineChart( - axisLineWidth: 0, - marker: SparkChartMarker( - shape: SparkChartMarkerShape.square, - displayMode: SparkChartMarkerDisplayMode.all - ), - data: [ - 5, 6, 5, 7, 4, 3, 9, 5, 6, 5, 7, 8, 4, 5, 3, 4, 11, 10, 2, 12, 4, 7, 6, 8 - ], - ) - ) - ); - } - -{% endhighlight %} -{% endtabs %} - -![Sparkline marker shape](images/marker/spark-marker-square.png) - -## Data label - -Data labels display data point values to improve readability. - -### Enable data labels - -To enable data labels for spark charts, use the [`labelDisplayMode`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkLineChart/labelDisplayMode.html) property in spark chart widgets. - -The following values are available in spark charts to render data labels: - -* [`SparkChartLabelDisplayMode.none`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SparkChartLabelDisplayMode.html) - Does not allow to display data points on any side. -* [`SparkChartLabelDisplayMode.all`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SparkChartLabelDisplayMode.html) - Allows to display data labels on all points. -* [`SparkChartLabelDisplayMode.high`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SparkChartLabelDisplayMode.html) - Allows to display data labels on the high point. -* [`SparkChartLabelDisplayMode.low`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SparkChartLabelDisplayMode.html) - Allows to display data labels on the low point. -* [`SparkChartLabelDisplayMode.last`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SparkChartLabelDisplayMode.html) - Allows to display data labels on the last point. -* [`SparkChartLabelDisplayMode.first`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SparkChartLabelDisplayMode.html) - Allows to display data labels on the first point. - -{% tabs %} -{% highlight dart %} - - @override - Widget build(BuildContext context) { - return Scaffold( - body: Center( - child: SfSparkLineChart( - axisLineWidth: 0, - labelDisplayMode: SparkChartLabelDisplayMode.all, - data: [ - 5, 6, 5, 7, 4, 3, 9, 5, 6, 5, 7, 8, 4, 5, 3, 4, 11, 10, 2, 12, 4, 7, 6, 8 - ], - ) - ) - ); - } - -{% endhighlight %} -{% endtabs %} - -![Sparkline datalabel](images/marker/spark-datalabel.png) - -> **Note**: The [`SfSparkWinLossChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkWinLossChart-class.html) widget doesn't support data labels. \ No newline at end of file diff --git a/chart-sdk/flutter/sparkcharts/overview.md b/chart-sdk/flutter/sparkcharts/overview.md deleted file mode 100644 index 11f97f885..000000000 --- a/chart-sdk/flutter/sparkcharts/overview.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -layout: post -title: About Syncfusion® Flutter Spark Chart widget | Syncfusion® -description: Learn about introduction of Syncfusion® Flutter Spark Charts widget, its features, and more customization details. -platform: chart-sdk -control: Sparkline -documentation: ug ---- - -# About Syncfusion® Flutter Spark Chart widget - -Syncfusion® Flutter Spark/Micro charts are lightweight charts, typically drawn without axes or coordinates. They present the general shape of data in a simple and highly condensed way. - -## Key features - -* Supports four spark chart types: line, area, win-loss, and bar. -* Provides marker support for line and area chart types. -* Supports trackball to display additional information about data points when interacting with the spark charts. -* Supports data labels to display information about data points. -* Supports plot bands to highlight a particular range. diff --git a/chart-sdk/flutter/sparkcharts/plotband.md b/chart-sdk/flutter/sparkcharts/plotband.md deleted file mode 100644 index 2079b3168..000000000 --- a/chart-sdk/flutter/sparkcharts/plotband.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -layout: post -title: Plot band in Flutter Spark Chart | Syncfusion® -description: The plot band support in Flutter Spark Chart offers visual highlighting of value ranges to identify targets and thresholds. -platform: chart-sdk -control: Sparkline -documentation: ug ---- -# Plot band in Flutter Spark Chart - -This feature is used to highlight a particular region in spark charts along the Y axis. - -The following properties are used to customize the appearance: -* [`start`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SparkChartPlotBand/start.html) - Configures the start plot band value on the Y axis. -* [`end`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SparkChartPlotBand/end.html) - Configures the end plot band value on the Y axis. -* [`color`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SparkChartPlotBand/color.html) - Changes the plot band color. -* [`borderColor`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SparkChartPlotBand/borderColor.html) - Changes the plot band border color. -* [`borderWidth`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SparkChartPlotBand/borderWidth.html) - Changes the plot band border width. - -{% tabs %} -{% highlight dart %} - - @override - Widget build(BuildContext context) { - return Scaffold( - body: Center( - child: SfSparkLineChart( - axisLineWidth:0, - plotBand: SparkChartPlotBand(start: 7, end: 8), - data: [ - 5, 6, 5, 7, 4, 3, 9, 5, 6, 5, 7, 8, 4, 5, 3, 4, 11, 10, 2, 12, 4, 7, 6, 8 - ], - ) - ) - ); - } - -{% endhighlight %} -{% endtabs %} - -![Sparkline plot band](images/plotband/spark-plotband.png) \ No newline at end of file diff --git a/chart-sdk/flutter/sparkcharts/sparkcharts-types.md b/chart-sdk/flutter/sparkcharts/sparkcharts-types.md deleted file mode 100644 index 024917137..000000000 --- a/chart-sdk/flutter/sparkcharts/sparkcharts-types.md +++ /dev/null @@ -1,246 +0,0 @@ ---- -layout: post -title: Chart types in Flutter Spark Chart | Syncfusion® -description: The chart types support in Flutter Spark Chart offers line, area, bar, and win-loss charts for compact and effective trend visualization. -platform: chart-sdk -control: Sparkline -documentation: ug ---- - -# Chart types in Flutter Spark Chart - -## Line chart - -[`SfSparkLineChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkLineChart-class.html) is used to identify patterns and trends in data such as seasonal effects, large changes, and turning points over time. - -The following properties are used to customize the appearance: - -* [`color`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkLineChart/color.html) - Specifies the spark line color. -* [`data`] - Used to bind data to spark line charts. -* [`axisCrossesAt`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkLineChart/axisCrossesAt.html) - Specifies the axis line's position. -* [`axisLineColor`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkLineChart/axisLineColor.html) - Specifies the color of the axis line. -* [`axisLineWidth`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkLineChart/axisLineWidth.html) - Specifies the width of the axis line. -* [`axisLineDashArray`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkLineChart/axisLineDashArray.html) - Specifies the dash array value of the axis line. -* [`marker`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkLineChart/marker.html) - Represents the marker settings of spark line chart. -* [`labelDisplayMode`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkLineChart/labelDisplayMode.html) - Specifies the spark line data label. -* [`labelStyle`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkLineChart/labelStyle.html) - Specifies the spark line data label style. -* [`trackball`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkLineChart/trackball.html) - Represents the trackball options of spark line chart. -* [`plotBand`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkLineChart/plotBand.html) - Represents the plot band settings for spark line chart. -* [`isInversed`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkLineChart/isInversed.html) - Specifies whether to inverse the spark line chart. -* [`highPointColor`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkLineChart/highPointColor.html) - Specifies the high point color. -* [`lowPointColor`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkLineChart/lowPointColor.html) - Specifies the low point color. -* [`negativePointColor`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkLineChart/negativePointColor.html) - Specifies the negative point color. -* [`firstPointColor`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkLineChart/firstPointColor.html) - Specifies the first point color. -* [`lastPointColor`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkLineChart/lastPointColor.html) - Specifies the last point color. -* [`width`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkLineChart/width.html) - Specifies the width of the line series. - -{% tabs %} -{% highlight dart %} - - @override - Widget build(BuildContext context) { - return Scaffold( - body: Center( - child: SfSparkLineChart( - axisLineWidth: 0, - data: [ - 5, 6, 5, 7, 4, 3, 9, 5, 6, 5, 7, 8, 4, 5, 3, 4, 11, 10, 2, 12, 4, 7, 6, 8 - ], - highPointColor: Colors.red, - lowPointColor: Colors.red, - firstPointColor: Colors.orange, - lastPointColor: Colors.orange, - width: 3, - marker: SparkChartMarker( - displayMode: SparkChartMarkerDisplayMode.all - ), - ) - ) - ); - } - -{% endhighlight %} -{% endtabs %} - -![Spark line chart](images/sparkline-types/sparkline.png) - -### Dashed line - -The [`dashArray`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkLineChart/dashArray.html) property of [`SfSparkLineChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkLineChart-class.html) is used to render line chart with dashes. Odd value is considered as rendering size and even value is considered as gap. - -{% tabs %} -{% highlight dart %} - - @override - Widget build(BuildContext context) { - return Scaffold( - body: Center( - child: SfSparkLineChart( - axisLineWidth: 0, - data: [ - 5, 6, 5, 7, 4, 3, 9, 5, 6, 5, 7, 8, 4, 5, 3, 4, 11, 10, 2, 12, 4, 7, 6, 8 - ], - dashArray: [5,3], - ) - ) - ); - } - -{% endhighlight %} -{% endtabs %} - -![Spark line dashArray](images/sparkline-types/sparkline-dasharray.png) - -#### See Also - -* [Bind data to the Flutter Sparkline chart](https://support.syncfusion.com/kb/article/10813/how-to-bind-data-to-the-flutter-sparkline-chart-sfsparklinechart). - -## Area chart - -[`SfSparkAreaChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkAreaChart-class.html) is used to emphasize changes in values. It is primarily used when the magnitude of the trend should be communicated rather than individual data values. - -The following properties are used to customize the appearance: - -* [`color`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkAreaChart/color.html) - Specifies the fill color of spark area chart. -* [`data`]() - Used to bind the data to spark area charts. -* [`axisCrossesAt`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkAreaChart/axisCrossesAt.html) - Specifies the axis line's position. -* [`axisLineColor`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkAreaChart/axisLineColor.html) - Specifies the color of the axis line. -* [`axisLineWidth`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkAreaChart/axisLineWidth.html) - Specifies the width of the axis line. -* [`axisLineDashArray`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkAreaChart/axisLineDashArray.html) - Specifies the dash array value of the axis line. -* [`marker`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkAreaChart/marker.html) - Represents the marker settings of spark area chart. -* [`labelDisplayMode`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkAreaChart/labelDisplayMode.html) - Specifies the spark area data label. -* [`labelStyle`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkAreaChart/labelStyle.html) - Specifies the spark area data label style. -* [`trackball`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkAreaChart/trackball.html) - Represents the trackball options of spark area chart. -* [`plotBand`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkAreaChart/plotBand.html) - Represents the plot band settings for spark area chart. -* [`isInversed`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkAreaChart/isInversed.html) - Specifies whether to inverse the spark area chart. -* [`highPointColor`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkAreaChart/highPointColor.html) - Specifies the high point color. -* [`lowPointColor`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkAreaChart/lowPointColor.html) - Specifies the low point color. -* [`negativePointColor`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkAreaChart/negativePointColor.html) - Specifies the negative point color. -* [`firstPointColor`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkAreaChart/firstPointColor.html) - Specifies the first point color. -* [`lastPointColor`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkAreaChart/lastPointColor.html) - Specifies the last point color. -* [`borderWidth`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkAreaChart/borderWidth.html) - Changes the stroke width of the spark area chart. -* [`borderColor`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkAreaChart/borderColor.html) - Changes the stroke color of the spark area chart. - -{% tabs %} -{% highlight dart %} - - @override - Widget build(BuildContext context) { - return Scaffold( - body: Center( - child: SfSparkAreaChart( - data: [ - 34, 36, 32, 35, 40, 38, 33, 37, 34, 31, 30 - ], - borderColor: Colors.red.withOpacity(0.8), - borderWidth: 2, - marker: SparkChartMarker( - displayMode: SparkChartMarkerDisplayMode.high - ), - ) - ) - ); - } - -{% endhighlight %} -{% endtabs %} - -![Spark area chart](images/sparkline-types/spark-area.png) - -## Bar chart - -[`SfSparkBarChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkBarChart-class.html) is used to render spark bar series. The following properties are used to customize the appearance: - -* [`color`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkBarChart/color.html) - Specifies the fill color of the spark bar chart. -* [`data`]() - Used to bind the data to spark area charts. -* [`axisCrossesAt`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkBarChart/axisCrossesAt.html) - Specifies the axis line's position. -* [`axisLineColor`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkBarChart/axisLineColor.html) - Specifies the color of the axis line. -* [`axisLineWidth`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkBarChart/axisLineWidth.html) - Specifies the width of the axis line. -* [`axisLineDashArray`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkBarChart/axisLineDashArray.html) - Specifies the dash array value of the axis line. -* [`labelDisplayMode`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkBarChart/labelDisplayMode.html) - Specifies the spark bar data label. -* [`labelStyle`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkBarChart/labelStyle.html) - Specifies the spark bar data label style. -* [`trackball`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkBarChart/trackball.html) - Represents the trackball options of spark bar chart. -* [`plotBand`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkBarChart/plotBand.html) - Represents the plot band settings for spark bar chart. -* [`isInversed`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkBarChart/isInversed.html) - Specifies whether to inverse the spark line chart. -* [`highPointColor`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkBarChart/highPointColor.html) - Specifies the high point color. -* [`lowPointColor`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkBarChart/lowPointColor.html) - Specifies the low point color. -* [`negativePointColor`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkBarChart/negativePointColor.html) - Specifies the negative point color. -* [`firstPointColor`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkBarChart/firstPointColor.html) - Specifies the first point color. -* [`lastPointColor`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkBarChart/lastPointColor.html) - Specifies the last point color. -* [`borderWidth`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkBarChart/borderWidth.html) - Changes the stroke width of the series. -* [`borderColor`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkBarChart/borderColor.html) - Changes the stroke color of the series. - -{% tabs %} -{% highlight dart %} - - @override - Widget build(BuildContext context) { - return Scaffold( - body: Center( - child: SfSparkBarChart( - data: [ - 10, 6, 8, -5, 11, 5, -2, 7, -3, 6, 8, 10 - ], - highPointColor: Colors.red, - lowPointColor: Colors.green, - firstPointColor: Colors.orange, - lastPointColor: Colors.orange, - ) - ) - ); - } - -{% endhighlight %} -{% endtabs %} - -![Spark Bar chart](images/sparkline-types/spark-bar.png) - -### See Also - -* [Export Flutter Spark bar charts as a pdf](https://support.syncfusion.com/kb/article/11432/how-to-export-flutter-spark-bar-charts-as-a-pdf-sfsparkbarchart). - -* [Customize the Flutter Spark bar charts](https://support.syncfusion.com/kb/article/10756/how-to-customize-the-flutter-spark-bar-charts-sfsparkbarchart). - -## WinLoss Sparkline chart - -[`SfSparkWinLossChart`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkWinLossChart-class.html) is used to show whether each value is positive or negative and visualize a win-loss scenario. - -The following properties are used to customize the appearance: - -* [`color`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkWinLossChart/color.html) - Specifies the spark line color. -* [`data`]() - Create the spark line chart with custom data source. -* [`axisCrossesAt`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkWinLossChart/axisCrossesAt.html) - Specifies the axis line's position. -* [`axisLineColor`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkWinLossChart/axisLineColor.html) - Specifies the color of the axis line. -* [`axisLineWidth`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkWinLossChart/axisLineWidth.html) - Specifies the width of the axis line. -* [`axisLineDashArray`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkWinLossChart/axisLineDashArray.html) - Specifies the dash array value of the axis line. -* [`trackball`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkWinLossChart/trackball.html) - Represents the trackball options of spark bar chart. -* [`isInversed`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkWinLossChart/isInversed.html) - Specifies whether to inverse the spark line chart. -* [`highPointColor`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkWinLossChart/highPointColor.html) - Specifies the high point color. -* [`lowPointColor`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkWinLossChart/lowPointColor.html) - Specifies the low point color. -* [`negativePointColor`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkWinLossChart/negativePointColor.html) - Specifies the negative point color. -* [`firstPointColor`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkWinLossChart/firstPointColor.html) - Specifies the first point color. -* [`lastPointColor`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkWinLossChart/lastPointColor.html) - Specifies the last point color. -* [`borderWidth`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkWinLossChart/borderWidth.html) - Changes the stroke width of the win loss chart. -* [`borderColor`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkWinLossChart/borderColor.html) - Changes the stroke color of the win loss chart. -* [`tiePointColor`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkWinLossChart/tiePointColor.html) - Specifies the tie point color of the win-loss chart. - -{% tabs %} -{% highlight dart %} - - @override - Widget build(BuildContext context) { - return Scaffold( - body: Center( - child: SfSparkWinLossChart( - data: [ - 12, 15, -10, 13, 15, 6, -12, 17, 13, 0, 8, -10 - ], - ) - ) - ); - } - -{% endhighlight %} -{% endtabs %} - -![Spark win-loss chart](images/sparkline-types/spark-win-loss.png) diff --git a/chart-sdk/flutter/sparkcharts/trackball.md b/chart-sdk/flutter/sparkcharts/trackball.md deleted file mode 100644 index 6e5204dc2..000000000 --- a/chart-sdk/flutter/sparkcharts/trackball.md +++ /dev/null @@ -1,82 +0,0 @@ ---- -layout: post -title: Trackball in Flutter Spark Chart | Syncfusion® -description: The trackball support in Flutter Spark Chart offers precise data point inspection with interactive tooltips for improved analysis. -platform: chart-sdk -control: Sparkline -documentation: ug ---- - -# Trackball in Flutter Spark Chart - -Trackball displays tooltips for data points near the point where you touch the chart area. It can be used instead of data labels when you cannot show labels for all data points because of space constraints. This feature can be enabled using the [`trackball`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SfSparkLineChart/trackball.html) property. Trackball is activated using the [`activationMode`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SparkChartTrackball/activationMode.html) property. Once it is activated, it appears in the UI and moves based on your touch movement until you stop touching the chart. - -You can use the following properties to customize the appearance: - -* [`borderWidth`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SparkChartTrackball/borderWidth.html) - Represents the border width. -* [`borderColor`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SparkChartTrackball/borderColor.html) - Represents the border color. -* [`backgroundColor`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SparkChartTrackball/backgroundColor.html) - Represents the background color for trackball. -* [`width`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SparkChartTrackball/width.html) - Represents the width of trackball line. -* [`color`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SparkChartTrackball/color.html) - Represents the color of trackball line. - -{% tabs %} -{% highlight dart %} - - @override - Widget build(BuildContext context) { - return Scaffold( - body: Center( - child: SfSparkLineChart( - axisLineWidth: 0, - trackball: SparkChartTrackball( - backgroundColor: Colors.red.withOpacity(0.8), - borderColor: Colors.red.withOpacity(0.8), - borderWidth: 2, - color: Colors.red, - labelStyle: TextStyle(color: Colors.black), - activationMode: SparkChartActivationMode.tap - ), - marker: SparkChartMarker( - displayMode: SparkChartMarkerDisplayMode.all), - data: [ - 5, 6, 5, 7, 4, 3, 9, 5, 6, 5, 7, 8, 4, 5, 3, 4, 11, 10, 2, 12, 4, 7, 6, 8 - ], - ) - ) - ); - } - -{% endhighlight %} -{% endtabs %} - -![Sparkline trackball](images/trackball/spark-trackball.png) - -## Activation mode - -The [`activationMode`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SparkChartTrackball/activationMode.html) property is used to restrict the visibility of trackball based on the touch actions. The default value of this property is [`ActivationMode.tap`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SparkChartActivationMode.html). - -* [`ActivationMode.longPress`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SparkChartActivationMode.html) - Activates trackball only when performing the long press action. -* [`ActivationMode.tap`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SparkChartActivationMode.html) - Activates trackball only when performing tap action. -* [`ActivationMode.doubleTap`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/sparkcharts/SparkChartActivationMode.html) - Activates trackball only when performing double tap action. - -{% tabs %} -{% highlight dart %} - - @override - Widget build(BuildContext context) { - return Scaffold( - body: Center( - child: SfSparkAreaChart( - trackball: SparkChartTrackball( - activationMode: SparkChartActivationMode.doubleTap - ), - data: [ - 5, 6, 5, 7, 4, 3, 9, 5, 6, 5, 7, 8, 4, 5, 3, 4, 11, 10, 2, 12, 4, 7, 6, 8 - ], - ) - ) - ); - } - -{% endhighlight %} -{% endtabs %} \ No newline at end of file diff --git a/chart-sdk/flutter/treemap/accessibility.md b/chart-sdk/flutter/treemap/accessibility.md index fc7b91f2e..aeebb37a3 100644 --- a/chart-sdk/flutter/treemap/accessibility.md +++ b/chart-sdk/flutter/treemap/accessibility.md @@ -1,7 +1,7 @@ --- layout: post -title: Accessibility in Flutter Treemap | Syncfusion® -description: Learn about accessibility support in Syncfusion® Flutter Treemap (SfTreemap), including screen readers, keyboard navigation, and more. +title: Accessibility in Flutter treemap widget | Syncfusion +description: Learn here all about the accessibility support in Syncfusion Flutter treemap (SfTreemap) widget and how to customize it. platform: chart-sdk control: SfTreemap documentation: ug @@ -11,64 +11,61 @@ documentation: ug ## Screen reader -The [`SfTreemap`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/SfTreemap-class.html) can be accessed by screen readers by wrapping the [`SfTreemap`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/SfTreemap-class.html) widget with the [`Semantics`](https://api.flutter.dev/flutter/widgets/Semantics-class.html) widget. +The [`SfTreemap`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/SfTreemap-class.html) can be accessed by the screen readers by wrapping the [`SfTreemap`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/SfTreemap-class.html) widget to the [`Semantics`](https://api.flutter.dev/flutter/widgets/Semantics-class.html) widget. {% tabs %} -{% highlight dart %} +{% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_treemap/treemap.dart'; - -class TreemapAccessibilityExample extends StatefulWidget { - const TreemapAccessibilityExample({super.key}); - - @override - State createState() => - _TreemapAccessibilityExampleState(); -} - -class _TreemapAccessibilityExampleState - extends State { late List _source; - final String _semanticLabel = - 'Asia is the most populated continent and Australia is the least populated continent'; + late String _semanticLabel = 'Asia is the most populated continent and Australia is the least populated continent'; @override void initState() { - _source = [ - const PopulationModel('Asia', 456.07), - const PopulationModel('Africa', 121.61), - const PopulationModel('Europe', 74.64), - const PopulationModel('North America', 57.9), - const PopulationModel('South America', 42.25), - const PopulationModel('Australia', 2.54), + _source = const [ + PopulationModel('Asia', 456.07), + PopulationModel('Africa', 121.61), + PopulationModel('Europe', 74.64), + PopulationModel('North America', 57.9), + PopulationModel('South America', 42.25), + PopulationModel('Australia', 2.54), ]; super.initState(); } + @override + void dispose() { + _source.clear(); + super.dispose(); + } + @override Widget build(BuildContext context) { return Scaffold( body: Semantics( - label: 'Syncfusion Flutter Treemap', - value: _semanticLabel, - child: SfTreemap( - dataCount: _source.length, - weightValueMapper: (int index) { - return _source[index].populationInCrores; - }, - levels: [ - TreemapLevel( - groupMapper: (int index) { - return _source[index].continent; - }, - ), - ], + label: 'Syncfusion Flutter Treemap', + value: _semanticLabel, + child: Column( + children: [ + Expanded( + child: SfTreemap( + dataCount: _source.length, + weightValueMapper: (int index) { + return _source[index].populationInCrores; + }, + levels: [ + TreemapLevel( + groupMapper: (int index) { + return _source[index].continent; + }, + ), + ], + ), + ), + ], + ), ), - ), ); } -} class PopulationModel { const PopulationModel(this.continent, this.populationInCrores); @@ -84,19 +81,19 @@ class PopulationModel { You can customize the color of the [`SfTreemap`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/SfTreemap-class.html) elements using the following APIs for the sufficient contrast. -* [`Level`](https://help.syncfusion.com/chart-sdk/flutter/treemap/color-customization#level-color) -* [`Labels`](https://help.syncfusion.com/chart-sdk/flutter/treemap/labels) -* [`Legend`](https://help.syncfusion.com/chart-sdk/flutter/treemap/legend#icon-and-text-customization) -* [`Tooltip`](https://help.syncfusion.com/chart-sdk/flutter/treemap/tooltip#appearance-customization) +* [`Level`](https://help.syncfusion.com/flutter/treemap/color-customization#level-color) +* [`Labels`](https://help.syncfusion.com/flutter/treemap/labels) +* [`Legend`](https://help.syncfusion.com/flutter/treemap/legend#icon-and-text-customization) +* [`Tooltip`](https://help.syncfusion.com/flutter/treemap/tooltip#appearance-customization) ## Large fonts The font size of the [`SfTreemap`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/SfTreemap-class.html) will be automatically scaled based on the device settings. Additionally, you can change the font size of the [`SfTreemap`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/SfTreemap-class.html) elements using the following APIs: -* [`Label style`](https://help.syncfusion.com/chart-sdk/flutter/treemap/labels#add-labels) -* [`Legend text style`](https://help.syncfusion.com/chart-sdk/flutter/treemap/legend#text-style) -* [`Tooltip label style`](https://help.syncfusion.com/chart-sdk/flutter/treemap/tooltip#tooltip-for-the-tiles) +* [`Label style`](https://help.syncfusion.com/flutter/treemap/labels#add-labels) +* [`Legend text style`](https://help.syncfusion.com/flutter/treemap/legend#text-style) +* [`Tooltip label style`](https://help.syncfusion.com/flutter/treemap/tooltip#tooltip-for-the-tiles) ## Easier touch targets -The [`SfTreemap`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/SfTreemap-class.html) has touch targets of 48 × 48 pixels for all elements, following standard accessibility guidelines. \ No newline at end of file +The [`SfTreemap`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/SfTreemap-class.html) has touch target as 48 * 48 for all elements, following standard accessibility guidelines. \ No newline at end of file diff --git a/chart-sdk/flutter/treemap/color-customization.md b/chart-sdk/flutter/treemap/color-customization.md index 47642e8e7..c22511bdf 100644 --- a/chart-sdk/flutter/treemap/color-customization.md +++ b/chart-sdk/flutter/treemap/color-customization.md @@ -1,120 +1,105 @@ --- layout: post -title: Color Customization in Flutter Treemap | Syncfusion® -description: Learn about color customization in Syncfusion® Flutter Treemap (SfTreemap), including color mapping, palettes, legends, and styling options. +title: Colors Customization in Flutter Treemap widget | Syncfusion +description: Learn here all about the Colors Customization feature of Syncfusion Flutter Treemap (SfTreemap) widget and more. platform: chart-sdk control: SfTreemap documentation: ug --- -# Color Customization in Flutter Treemap (SfTreemap) +# Colors Customization in Flutter Treemap (SfTreemap) -This section explains the customization of color for the tiles based on a specific value or range of values. +This section explains about the customization of color for the tiles based on specific value or range of values. ## Level color You can apply uniform color to the whole level using the [`TreemapLevel.color`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapLevel/color.html) property. {% tabs %} -{% highlight dart %} +{% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_treemap/treemap.dart'; - -class TreemapLevelColorExample extends StatefulWidget { - const TreemapLevelColorExample({super.key}); - - @override - State createState() => - _TreemapLevelColorExampleState(); -} - -class _TreemapLevelColorExampleState extends State { late List _source; @override void initState() { _source = [ - const JobVacancyModel(country: 'America', job: 'Sales', vacancy: 70), - const JobVacancyModel( - country: 'America', job: 'Technical', group: 'Testers', vacancy: 35), - const JobVacancyModel( - country: 'America', - job: 'Technical', - group: 'Developers', - role: 'Windows', - vacancy: 105), - const JobVacancyModel( - country: 'America', - job: 'Technical', - group: 'Developers', - role: 'Web', - vacancy: 40), - const JobVacancyModel( - country: 'India', job: 'Technical', group: 'Testers', vacancy: 25), - const JobVacancyModel( - country: 'India', - job: 'Technical', - group: 'Developers', - role: 'Windows', - vacancy: 155), - const JobVacancyModel( - country: 'India', - job: 'Technical', - group: 'Developers', - role: 'Web', - vacancy: 60), - const JobVacancyModel( - country: 'Germany', job: 'Technical', group: 'Testers', vacancy: 25), - const JobVacancyModel( - country: 'Germany', - job: 'Technical', - group: 'Developers', - role: 'Windows', - vacancy: 155), + JobVacancyModel(country: 'America', job: 'Sales', vacancy: 70), + JobVacancyModel( + country: 'America', job: 'Technical', group: 'Testers', vacancy: 35), + JobVacancyModel( + country: 'America', + job: 'Technical', + group: 'Developers', + role: 'Windows', + vacancy: 105), + JobVacancyModel( + country: 'America', + job: 'Technical', + group: 'Developers', + role: 'Web', + vacancy: 40), + JobVacancyModel( + country: 'India', job: 'Technical', group: 'Testers', vacancy: 25), + JobVacancyModel( + country: 'India', + job: 'Technical', + group: 'Developers', + role: 'Windows', + vacancy: 155), + JobVacancyModel( + country: 'India', + job: 'Technical', + group: 'Developers', + role: 'Web', + vacancy: 60), + JobVacancyModel( + country: 'Germany', job: 'Technical', group: 'Testers', vacancy: 25), + JobVacancyModel( + country: 'Germany', + job: 'Technical', + group: 'Developers', + role: 'Windows', + vacancy: 155), ]; super.initState(); } @override - Widget build(BuildContext context) { - return Scaffold( - body: SfTreemap( - dataCount: _source.length, - weightValueMapper: (int index) { - return _source[index].vacancy; - }, - levels: [ - TreemapLevel( - groupMapper: (int index) => _source[index].country, - color: Colors.cyan, - padding: const EdgeInsets.all(1.5), - ), - TreemapLevel( - groupMapper: (int index) => _source[index].job, - color: Colors.pink[200], - padding: const EdgeInsets.all(10), - ), - TreemapLevel( - groupMapper: (int index) => _source[index].group, - color: Colors.green[400], - padding: const EdgeInsets.all(10), - ), - ], - ), + Widget build(BuildContext context) { + return Scaffold( + body: SfTreemap( + dataCount: _source.length, + weightValueMapper: (int index) { + return _source[index].vacancy; + }, + levels: [ + TreemapLevel( + groupMapper: (int index) => _source[index].country, + color: Colors.cyan, + padding: EdgeInsets.all(1.5), + ), + TreemapLevel( + groupMapper: (int index) => _source[index].job, + color: Colors.pink[200], + padding: EdgeInsets.all(10), + ), + TreemapLevel( + groupMapper: (int index) => _source[index].group, + color: Colors.green[400], + padding: EdgeInsets.all(10), + ), + ], + ), ); } -} class JobVacancyModel { - const JobVacancyModel({ - required this.country, - required this.job, - this.group, - this.role, - required this.vacancy, - }); - + const JobVacancyModel( + {required this.country, + required this.job, + this.group, + this.role, + required this.vacancy}); final String country; final String job; final String? group; @@ -133,47 +118,34 @@ N> ## Equal color mapping -If you return a value of a type other than color from the [`TreemapLevel.colorValueMapper`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapLevel/colorValueMapper.html), then you must set the [`colorMappers`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/SfTreemap/colorMappers.html) property, which is a collection of [`TreemapColorMapper`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapColorMapper-class.html). +If you return a value of different type other than the color from the [`TreemapLevel.colorValueMapper`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapLevel/colorValueMapper.html), then you must set the [`colorMappers`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/SfTreemap/colorMappers.html) property which is a collection of [`TreemapColorMapper`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapColorMapper-class.html). The value returned from the [`TreemapLevel.colorValueMapper`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapLevel/colorValueMapper.html) callback will be used for the comparison in the [`TreemapColorMapper.value`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapColorMapper/TreemapColorMapper.value.html). For the matched values, the [`TreemapColorMapper.color`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapColorMapper/color.html) will be applied to the respective tiles. N> You can customize the legend icons color and texts using the [`TreemapColorMapper.color`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapColorMapper/color.html) and the [`TreemapColorMapper.value`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapColorMapper/TreemapColorMapper.value.html) properties respectively. {% tabs %} -{% highlight dart %} - -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_treemap/treemap.dart'; +{% highlight Dart %} -class TreemapEqualColorMappingExample extends StatefulWidget { - const TreemapEqualColorMappingExample({super.key}); - - @override - State createState() => - _TreemapEqualColorMappingExampleState(); -} - -class _TreemapEqualColorMappingExampleState - extends State { late List _source; late List _colorMappers; @override void initState() { _source = [ - const SocialMediaUsers('India', 'Facebook', 25.4), - const SocialMediaUsers('USA', 'Instagram', 19.11), - const SocialMediaUsers('Japan', 'Facebook', 13.3), - const SocialMediaUsers('Germany', 'Instagram', 10.65), - const SocialMediaUsers('France', 'Twitter', 7.54), - const SocialMediaUsers('UK', 'Instagram', 4.93), + SocialMediaUsers('India', 'Facebook', 25.4), + SocialMediaUsers('USA', 'Instagram', 19.11), + SocialMediaUsers('Japan', 'Facebook', 13.3), + SocialMediaUsers('Germany', 'Instagram', 10.65), + SocialMediaUsers('France', 'Twitter', 7.54), + SocialMediaUsers('UK', 'Instagram', 4.93), ]; _colorMappers = [ - TreemapColorMapper.value(value: 'Facebook', color: Colors.blue[200]!), - TreemapColorMapper.value(value: 'Instagram', color: Colors.deepOrange), - TreemapColorMapper.value(value: 'Twitter', color: Colors.blue[800]!), - ]; + TreemapColorMapper.value(value: 'Facebook', color: Colors.blue[200]!), + TreemapColorMapper.value(value: 'Instagram', color: Colors.deepOrange), + TreemapColorMapper.value(value: 'Twitter', color: Colors.blue[800]!), + ]; super.initState(); } @@ -181,29 +153,28 @@ class _TreemapEqualColorMappingExampleState Widget build(BuildContext context) { return Scaffold( body: SfTreemap( - dataCount: _source.length, - weightValueMapper: (int index) { - return _source[index].usersInMillions; - }, - levels: [ - TreemapLevel( - padding: const EdgeInsets.all(2.5), - groupMapper: (int index) { - return _source[index].country; - }, - labelBuilder: (BuildContext context, TreemapTile tile) { - return Text(_source[tile.indices[0]].socialMedia); - }, - colorValueMapper: (TreemapTile tile) { - return _source[tile.indices[0]].socialMedia; - }, - ), - ], - colorMappers: _colorMappers, - ), + dataCount: _source.length, + weightValueMapper: (int index) { + return _source[index].usersInMillions; + }, + levels: [ + TreemapLevel( + padding: const EdgeInsets.all(2.5), + groupMapper: (int index) { + return _source[index].country; + }, + labelBuilder: (BuildContext context, TreemapTile tile) { + return Text(_source[tile.indices[0]].socialMedia); + }, + colorValueMapper: (TreemapTile tile) { + return _source[tile.indices[0]].socialMedia; + }, + ), + ], + colorMappers: _colorMappers, + ), ); } -} class SocialMediaUsers { const SocialMediaUsers(this.country, this.socialMedia, this.usersInMillions); @@ -232,57 +203,41 @@ The value returned from the [`TreemapLevel.colorValueMapper`](https://pub.dev/do N> Customize the legend icons color and texts using the [`TreemapColorMapper.color`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapColorMapper/color.html) and the [`TreemapColorMapper.from`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapColorMapper/from.html) and [`TreemapColorMapper.to`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapColorMapper/to.html) properties. {% tabs %} -{% highlight dart %} - -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_treemap/treemap.dart'; - -class TreemapRangeColorMappingExample extends StatefulWidget { - const TreemapRangeColorMappingExample({super.key}); +{% highlight Dart %} - @override - State createState() => - _TreemapRangeColorMappingExampleState(); -} - -class _TreemapRangeColorMappingExampleState - extends State { late List _source; late List _colorMappers; @override void initState() { _source = [ - const SocialMediaUsers('India', 'Facebook', 25.4), - const SocialMediaUsers('USA', 'Instagram', 19.11), - const SocialMediaUsers('Japan', 'Facebook', 13.3), - const SocialMediaUsers('Germany', 'Instagram', 10.65), - const SocialMediaUsers('France', 'Twitter', 7.54), - const SocialMediaUsers('UK', 'Instagram', 4.93), + SocialMediaUsers('India', 'Facebook', 25.4), + SocialMediaUsers('USA', 'Instagram', 19.11), + SocialMediaUsers('Japan', 'Facebook', 13.3), + SocialMediaUsers('Germany', 'Instagram', 10.65), + SocialMediaUsers('France', 'Twitter', 7.54), + SocialMediaUsers('UK', 'Instagram', 4.93), ]; _colorMappers = [ - TreemapColorMapper.range( - from: 0, - to: 10, - minSaturation: 0.5, - maxSaturation: 1, - color: Colors.blue[200]!, - ), - TreemapColorMapper.range( - from: 10, - to: 20, - minSaturation: 0.5, - maxSaturation: 1, - color: Colors.deepOrange, - ), - TreemapColorMapper.range( - from: 20, - to: 30, - minSaturation: 0.5, - maxSaturation: 1, - color: Colors.blue[800]!, - ), + TreemapColorMapper.range( + from: 0, + to: 10, + minSaturation: 0.5, + maxSaturation: 1, + color: Colors.blue[200]!), + TreemapColorMapper.range( + from: 10, + to: 20, + minSaturation: 0.5, + maxSaturation: 1, + color: Colors.deepOrange), + TreemapColorMapper.range( + from: 20, + to: 30, + minSaturation: 0.5, + maxSaturation: 1, + color: Colors.blue[800]!), ]; super.initState(); } @@ -290,35 +245,34 @@ class _TreemapRangeColorMappingExampleState @override Widget build(BuildContext context) { return Scaffold( - body: Center( - child: Container( - height: 400, - width: 400, - child: SfTreemap( - dataCount: _source.length, - weightValueMapper: (int index) { - return _source[index].usersInMillions; - }, - levels: [ - TreemapLevel( - groupMapper: (int index) { - return _source[index].country; - }, - colorValueMapper: (TreemapTile tile) { - return tile.weight; - }, - ), - ], - colorMappers: _colorMappers, + body: Center( + child: Container( + height: 400, + width: 400, + child: SfTreemap( + dataCount: _source.length, + weightValueMapper: (int index) { + return _source[index].usersInMillions; + }, + levels: [ + TreemapLevel( + groupMapper: (int index) { + return _source[index].country; + }, + colorValueMapper: (TreemapTile tile) { + return tile.weight; + }, + ), + ], + colorMappers: _colorMappers, + ), ), ), - ), ); } -} class SocialMediaUsers { - const SocialMediaUsers(this.country, this.socialMedia, this.usersInMillions); + SocialMediaUsers(this.country, this.socialMedia, this.usersInMillions); final String country; final String socialMedia; @@ -331,4 +285,4 @@ class SocialMediaUsers { ![Range color mapping](images/colors/range-color-mapping.png) N> -* Refer the [`TreemapColorMapper.value`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapColorMapper/TreemapColorMapper.value.html), for applying color to the tiles based on the specific value. \ No newline at end of file +* Refer the [`TreemapColorMapper.value`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapColorMapper/TreemapColorMapper.value.html), for applying color to the tiles based on the specific value. diff --git a/chart-sdk/flutter/treemap/drilldown.md b/chart-sdk/flutter/treemap/drilldown.md index 9571eae1e..d9cfa1a11 100644 --- a/chart-sdk/flutter/treemap/drilldown.md +++ b/chart-sdk/flutter/treemap/drilldown.md @@ -1,7 +1,7 @@ --- layout: post -title: Drilldown in Flutter Treemap | Syncfusion® -description: Learn about drilldown support in Syncfusion® Flutter Treemap (SfTreemap), including hierarchical navigation, drilldown levels, and interactive data exploration. +title: Drilldown in Flutter Treemap widget | Syncfusion +description: Learn here all about how to drilled down hierarchical level tiles in Syncfusion Flutter Treemap (SfTreemap) widget and more. platform: chart-sdk control: SfTreemap documentation: ug @@ -9,12 +9,12 @@ documentation: ug # Drilldown in Flutter Treemap (SfTreemap) -The drilldown feature provides better visualization of a larger set of hierarchical-level data. +The drilldown feature provides better visualization of larger set of hierarchical level data. -To learn more about the drilldown feature in Flutter Treemap, you can watch this video. +To learn more about how to deep dive into the drill down feature in Flutter Treemap, you can watch this video. - - + + ## Enable drilldown @@ -22,187 +22,180 @@ You can drill down the tiles by setting the [`enableDrilldown`](https://pub.dev/ The widget returned by the [`TreemapBreadcrumbs.builder`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapBreadcrumbs/builder.html) will be added to the breadcrumbs item. While drilling down the tiles, it is called with the tapped tile details. -Selection for touch and mouse-enabled devices, and tooltip for touch devices, will work only for the tiles that don’t have descendants. +Selection for touch and mouse enabled devices, and tooltip for touch devices will work only for the tiles which don’t have descendants. {% tabs %} -{% highlight dart %} +{% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_treemap/treemap.dart'; - -class TreemapDrilldownExample extends StatefulWidget { - const TreemapDrilldownExample({super.key}); - - @override - State createState() => - _TreemapDrilldownExampleState(); -} - -class _TreemapDrilldownExampleState extends State { late List _source; late Map _colors; @override void initState() { _source = [ - const CarSale(carName: 'Hyundai', model: 'Elantra', totalScale: 198210), - const CarSale(carName: 'Hyundai', model: 'Sonata', totalScale: 131803), - const CarSale(carName: 'Hyundai', model: 'Tucson', totalScale: 114735), - const CarSale(carName: 'Hyundai', model: 'Santa Fe', totalScale: 133171), - const CarSale(carName: 'Hyundai', model: 'Accent', totalScale: 58955), - const CarSale(carName: 'Hyundai', model: 'Veloster', totalScale: 12658), - const CarSale(carName: 'Hyundai', model: 'loniq', totalScale: 11197), - const CarSale(carName: 'Hyundai', model: 'Azera', totalScale: 3060), - const CarSale(carName: 'Benz', model: 'C-Class', totalScale: 77447), - const CarSale(carName: 'Benz', model: 'GLE-Class', totalScale: 54595), - const CarSale(carName: 'Benz', model: 'E/CLS-Class', totalScale: 51312), - const CarSale(carName: 'Benz', model: 'GLC-Class', totalScale: 48643), - const CarSale(carName: 'Benz', model: 'GLS-Class', totalScale: 322548), - const CarSale(carName: 'Benz', model: 'Sprinter', totalScale: 27415), - const CarSale(carName: 'Benz', model: 'CLA-Class', totalScale: 20669), - const CarSale(carName: 'Benz', model: 'GLA-Class', totalScale: 24104), - const CarSale(carName: 'Benz', model: 'S-Class', totalScale: 15888), - const CarSale(carName: 'Benz', model: 'Metris', totalScale: 7579), - const CarSale(carName: 'BMW', model: '3-Series', totalScale: 59449), - const CarSale(carName: 'BMW', model: 'X5', totalScale: 50815), - const CarSale(carName: 'BMW', model: 'X3', totalScale: 40691), - const CarSale(carName: 'BMW', model: '5-Series', totalScale: 40658), - const CarSale(carName: 'BMW', model: '4-Series', totalScale: 39634), - const CarSale(carName: 'BMW', model: '2-Series', totalScale: 11737), - const CarSale(carName: 'BMW', model: '7-Series', totalScale: 9276), - const CarSale(carName: 'BMW', model: 'X1', totalScale: 30826), - const CarSale(carName: 'BMW', model: 'X6', totalScale: 6780), - const CarSale(carName: 'BMW', model: 'X4', totalScale: 5198), - const CarSale(carName: 'BMW', model: '6-Series', totalScale: 3355), - const CarSale(carName: 'Jeep', model: 'Grand Cherokee', totalScale: 240696), - const CarSale(carName: 'Jeep', model: 'Cherokee', totalScale: 169822), - const CarSale(carName: 'Jeep', model: 'Renegade', totalScale: 103434), - const CarSale(carName: 'Jeep', model: 'Wrangler', totalScale: 190522), - const CarSale(carName: 'Jeep', model: 'Compass', totalScale: 83523), - const CarSale(carName: 'Jeep', model: 'Patriot', totalScale: 10735), - const CarSale(carName: 'Nissan', model: 'Rogue', totalScale: 403465), - const CarSale(carName: 'Nissan', model: 'Sentra', totalScale: 218451), - const CarSale(carName: 'Nissan', model: 'Murano', totalScale: 76732), - const CarSale(carName: 'Nissan', model: 'Frontier', totalScale: 74360), - const CarSale(carName: 'Nissan', model: 'Altima', totalScale: 254996), - const CarSale(carName: 'Nissan', model: 'Versa', totalScale: 106772), - const CarSale(carName: 'Nissan', model: 'Pathfinder', totalScale: 81065), - const CarSale(carName: 'Nissan', model: 'Maxima', totalScale: 67627), - const CarSale(carName: 'Nissan', model: 'Titan', totalScale: 52924), - const CarSale(carName: 'Nissan', model: 'Armada', totalScale: 35667), - const CarSale(carName: 'Nissan', model: 'NV', totalScale: 17858), - const CarSale(carName: 'Nissan', model: 'NV200', totalScale: 18602), - const CarSale(carName: 'Nissan', model: 'Duke', totalScale: 10157), - const CarSale(carName: 'Honda', model: 'Rogue', totalScale: 403465), - const CarSale(carName: 'Honda', model: 'Sentra', totalScale: 218451), - const CarSale(carName: 'Honda', model: 'Murano', totalScale: 76732), - const CarSale(carName: 'Honda', model: 'Frontier', totalScale: 74360), - const CarSale(carName: 'Honda', model: 'Altima', totalScale: 254996), - const CarSale(carName: 'Honda', model: 'Versa', totalScale: 106772), - const CarSale(carName: 'Honda', model: 'Maxima', totalScale: 67627), - const CarSale(carName: 'Honda', model: 'Titan', totalScale: 52924), - const CarSale(carName: 'Honda', model: 'Armada', totalScale: 35667), - const CarSale(carName: 'Honda', model: 'NV', totalScale: 17858), - const CarSale(carName: 'Honda', model: 'NV200', totalScale: 18602), - const CarSale(carName: 'Honda', model: 'Duke', totalScale: 10157), - const CarSale(carName: 'Ford', model: 'F-Series', totalScale: 896764), - const CarSale(carName: 'Ford', model: 'Explorer', totalScale: 271134), - const CarSale(carName: 'Ford', model: 'Fusion', totalScale: 209623), - const CarSale(carName: 'Ford', model: 'Focus', totalScale: 158385), - const CarSale(carName: 'Ford', model: 'Edge', totalScale: 142603), - const CarSale(carName: 'Ford', model: 'Transit', totalScale: 127340), - const CarSale(carName: 'Ford', model: 'Mustang', totalScale: 81866), - const CarSale(carName: 'Ford', model: 'Escape', totalScale: 308286), - const CarSale(carName: 'Ford', model: 'E-Series', totalScale: 53304), - const CarSale(carName: 'Ford', model: 'Expedition', totalScale: 51833), - const CarSale(carName: 'Ford', model: 'Fiesta', totalScale: 46249), - const CarSale(carName: 'Ford', model: 'Taurus', totalScale: 41326), - const CarSale(carName: 'Ford', model: 'Flex', totalScale: 22389), - const CarSale(carName: 'Ford', model: 'Transit Connect', totalScale: 34473), + CarSale(carName: 'Hyundai', model: 'Elantra', totalScale: 198210), + CarSale(carName: 'Hyundai', model: 'Sonata', totalScale: 131803), + CarSale(carName: 'Hyundai', model: 'Tucson', totalScale: 114735), + CarSale(carName: 'Hyundai', model: 'Santa Fe', totalScale: 133171), + CarSale(carName: 'Hyundai', model: 'Accent', totalScale: 58955), + CarSale(carName: 'Hyundai', model: 'Veloster', totalScale: 12658), + CarSale(carName: 'Hyundai', model: 'loniq', totalScale: 11197), + CarSale(carName: 'Hyundai', model: 'Azera', totalScale: 3060), + CarSale(carName: 'Hyundai', model: 'Elantra', totalScale: 198210), + CarSale(carName: 'Benz', model: 'C-Class', totalScale: 77447), + CarSale(carName: 'Benz', model: 'GLE-Class', totalScale: 54595), + CarSale(carName: 'Benz', model: 'E/ CLS-CLass', totalScale: 51312), + CarSale(carName: 'Benz', model: 'GLC-Class', totalScale: 48643), + CarSale(carName: 'Benz', model: 'GLS-Class', totalScale: 322548), + CarSale(carName: 'Benz', model: 'Sprinter', totalScale: 27415), + CarSale(carName: 'Benz', model: 'CLA-Class', totalScale: 20669), + CarSale(carName: 'Benz', model: 'GLA-Class', totalScale: 24104), + CarSale(carName: 'Benz', model: 'S-Class', totalScale: 15888), + CarSale(carName: 'Benz', model: 'Metris', totalScale: 7579), + CarSale(carName: 'BMW', model: '3-Series', totalScale: 59449), + CarSale(carName: 'BMW', model: 'X5', totalScale: 50815), + CarSale(carName: 'BMW', model: 'X3', totalScale: 40691), + CarSale(carName: 'BMW', model: '5-Series', totalScale: 40658), + CarSale(carName: 'BMW', model: '4-Series', totalScale: 39634), + CarSale(carName: 'BMW', model: '2-Series', totalScale: 11737), + CarSale(carName: 'BMW', model: '7-Series', totalScale: 9276), + CarSale(carName: 'BMW', model: 'X1', totalScale: 30826), + CarSale(carName: 'BMW', model: 'X6', totalScale: 6780), + CarSale(carName: 'BMW', model: 'X4', totalScale: 5198), + CarSale(carName: 'BMW', model: '6-Series', totalScale: 3355), + CarSale(carName: 'Jeep', model: 'Grand cherokee', totalScale: 240696), + CarSale(carName: 'Jeep', model: 'Cherokee', totalScale: 169822), + CarSale(carName: 'Jeep', model: 'Renegada', totalScale: 103434), + CarSale(carName: 'Jeep', model: 'Wrangler', totalScale: 190522), + CarSale(carName: 'Jeep', model: 'Compass', totalScale: 83523), + CarSale(carName: 'Jeep', model: 'Patriot', totalScale: 10735), + CarSale(carName: 'Nissan', model: 'Rogue', totalScale: 403465), + CarSale(carName: 'Nissan', model: 'Sentra', totalScale: 218451), + CarSale(carName: 'Nissan', model: 'Murano', totalScale: 76732), + CarSale(carName: 'Nissan', model: 'Frontier', totalScale: 74360), + CarSale(carName: 'Nissan', model: 'Altima', totalScale: 254996), + CarSale(carName: 'Nissan', model: 'Versa', totalScale: 106772), + CarSale(carName: 'Nissan', model: 'Pathfinder', totalScale: 81065), + CarSale(carName: 'Nissan', model: 'Maxima', totalScale: 67627), + CarSale(carName: 'Nissan', model: 'Titan', totalScale: 52924), + CarSale(carName: 'Nissan', model: 'Armada', totalScale: 35667), + CarSale(carName: 'Nissan', model: 'NV', totalScale: 17858), + CarSale(carName: 'Nissan', model: 'NV200', totalScale: 18602), + CarSale(carName: 'Nissan', model: 'Duke', totalScale: 10157), + CarSale(carName: 'Honda', model: 'Rogue', totalScale: 403465), + CarSale(carName: 'Honda', model: 'Sentra', totalScale: 218451), + CarSale(carName: 'Honda', model: 'Murano', totalScale: 76732), + CarSale(carName: 'Honda', model: 'Frontier', totalScale: 74360), + CarSale(carName: 'Honda', model: 'Altima', totalScale: 254996), + CarSale(carName: 'Honda', model: 'Versa', totalScale: 106772), + CarSale(carName: 'Honda', model: 'Maxima', totalScale: 67627), + CarSale(carName: 'Honda', model: 'Titan', totalScale: 52924), + CarSale(carName: 'Honda', model: 'Armada', totalScale: 35667), + CarSale(carName: 'Honda', model: 'NV', totalScale: 17858), + CarSale(carName: 'Honda', model: 'NV200', totalScale: 18602), + CarSale(carName: 'Honda', model: 'Duke', totalScale: 10157), + CarSale(carName: 'Ford', model: 'F-series', totalScale: 896764), + CarSale(carName: 'Ford', model: 'Explorer', totalScale: 271134), + CarSale(carName: 'Ford', model: 'Fusion', totalScale: 209623), + CarSale(carName: 'Ford', model: 'Focus', totalScale: 158385), + CarSale(carName: 'Ford', model: 'Edge', totalScale: 142603), + CarSale(carName: 'Ford', model: 'Transit', totalScale: 127340), + CarSale(carName: 'Ford', model: 'Mustang', totalScale: 81866), + CarSale(carName: 'Ford', model: 'Escape', totalScale: 308286), + CarSale(carName: 'Ford', model: 'E-series', totalScale: 53304), + CarSale(carName: 'Ford', model: 'Expedition', totalScale: 51833), + CarSale(carName: 'Ford', model: 'Fiesta', totalScale: 46249), + CarSale(carName: 'Ford', model: 'Taurus', totalScale: 41326), + CarSale(carName: 'Ford', model: 'Flex', totalScale: 22389), + CarSale(carName: 'Ford', model: 'Transit connect', totalScale: 34473), + CarSale(carName: 'Ford', model: 'Transit', totalScale: 18390), ]; - _colors = { - 'Hyundai': const Color.fromRGBO(220, 103, 171, 1.0), - 'BMW': const Color.fromRGBO(160, 220, 103, 1.0), - 'Benz': const Color.fromRGBO(220, 210, 103, 1.0), - 'Nissan': const Color.fromRGBO(163, 103, 220, 1.0), - 'Jeep': const Color.fromRGBO(220, 105, 103, 1.0), - 'Ford': const Color.fromRGBO(103, 183, 220, 1.0), - 'Honda': const Color.fromRGBO(103, 220, 187, 1.0), + 'Hyundai': const Color.fromRGBO(220, 103, 171, 1.0), + 'BMW': const Color.fromRGBO(160, 220, 103, 1.0), + 'Benz': const Color.fromRGBO(220, 210, 103, 1.0), + 'Nissan': const Color.fromRGBO(163, 103, 220, 1.0), + 'Jeep': const Color.fromRGBO(220, 105, 103, 1.0), + 'Ford': const Color.fromRGBO(103, 183, 220, 1.0), + 'Honda': const Color.fromRGBO(103, 220, 187, 1.0), }; super.initState(); } + @override + void dispose() { + _source.clear(); + super.dispose(); + } + @override Widget build(BuildContext context) { return Scaffold( - body: Center( - child: Container( - height: 400, - width: 400, - child: SfTreemap( - dataCount: _source.length, - weightValueMapper: (int index) { - return _source[index].totalScale!; - }, - enableDrilldown: true, - breadcrumbs: TreemapBreadcrumbs( - builder: (BuildContext context, TreemapTile tile, bool isCurrent) { - return Text(tile.group, style: const TextStyle(color: Colors.black)); + body: Center( + child: Container( + height: 400, + width: 400, + child: SfTreemap( + dataCount: _source.length, + weightValueMapper: (int index) { + return _source[index].totalScale!; }, - ), - levels: [ - TreemapLevel( - groupMapper: (int index) => _source[index].carName, - labelBuilder: (BuildContext context, TreemapTile tile) { - return Padding( - padding: const EdgeInsets.only(left: 5.0, top: 5.0), - child: Text( - tile.group, - style: const TextStyle(color: Colors.black), - overflow: TextOverflow.ellipsis, - ), - ); - }, - colorValueMapper: (TreemapTile tile) { - return _colors[_source[tile.indices[0]].carName]; + enableDrilldown: true, + breadcrumbs: TreemapBreadcrumbs( + builder: + (BuildContext context, TreemapTile tile, bool isCurrent) { + return Text(tile.group, style: TextStyle(color: Colors.black)); }, ), - TreemapLevel( - groupMapper: (int index) { - return _source[index].model; - }, - colorValueMapper: (TreemapTile tile) { - return _colors[_source[tile.indices[0]].carName]; - }, - labelBuilder: (BuildContext context, TreemapTile tile) { - return Padding( - padding: const EdgeInsets.only(left: 5.0, top: 5.0), - child: Text( - tile.group, - style: const TextStyle(color: Colors.black), - overflow: TextOverflow.ellipsis, - ), - ); - }, - ), - ], + levels: [ + TreemapLevel( + groupMapper: (int index) => _source[index].carName, + labelBuilder: (BuildContext context, TreemapTile tile) { + return Padding( + padding: const EdgeInsets.only(left: 5.0, top: 5.0), + child: Text( + tile.group, + style: TextStyle(color: Colors.black), + overflow: TextOverflow.ellipsis, + ), + ); + }, + colorValueMapper: (TreemapTile tile) { + return _colors[_source[tile.indices[0]].carName]; + }, + ), + TreemapLevel( + groupMapper: (int index) { + return _source[index].model; + }, + colorValueMapper: (TreemapTile tile) { + return _colors[_source[tile.indices[0]].carName]; + }, + labelBuilder: (BuildContext context, TreemapTile tile) { + return Padding( + padding: const EdgeInsets.only(left: 5.0, top: 5.0), + child: Text( + tile.group, + style: TextStyle(color: Colors.black), + overflow: TextOverflow.ellipsis, + ), + ); + }, + ), + ], + ), ), ), - ), ); } -} class CarSale { - const CarSale({ - required this.carName, - this.model, - this.version, - this.versionNumber, - this.totalScale, - }); - + const CarSale( + {required this.carName, + this.model, + this.version, + this.versionNumber, + this.totalScale}); final String carName; final String? model; final String? version; @@ -217,208 +210,198 @@ class CarSale { ## Breadcrumb customization -The breadcrumb is used to display information about the drilled item and provides an option to navigate back to the previous level. You can customize the breadcrumb items using the following properties: +The breadcrumb is used to display information about the drilled item and provides option to navigate back to previous level. You can customize the breadcrumb items using the following properties: -* **Position** - Positions the breadcrumbs either at the top or bottom of the treemap. The default value of the [`position`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapBreadcrumbs/position.html) is [`TreemapBreadcrumbPosition.top`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapBreadcrumbPosition.html#top). +* **Position** - Positions the breadcrumbs either top or bottom of the treemap. The default value of the [`position`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapBreadcrumbs/position.html) is [` TreemapBreadcrumbPosition.top`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapBreadcrumbPosition.html#top). * **Divider** - Used to add a separator between two breadcrumbs. {% tabs %} -{% highlight dart %} - -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_treemap/treemap.dart'; - -class TreemapBreadcrumbCustomizationExample extends StatefulWidget { - const TreemapBreadcrumbCustomizationExample({super.key}); - - @override - State createState() => - _TreemapBreadcrumbCustomizationExampleState(); -} +{% highlight Dart %} -class _TreemapBreadcrumbCustomizationExampleState - extends State { late List _source; late Map _colors; @override void initState() { _source = [ - const CarSale(carName: 'Hyundai', model: 'Elantra', totalScale: 198210), - const CarSale(carName: 'Hyundai', model: 'Sonata', totalScale: 131803), - const CarSale(carName: 'Hyundai', model: 'Tucson', totalScale: 114735), - const CarSale(carName: 'Hyundai', model: 'Santa Fe', totalScale: 133171), - const CarSale(carName: 'Hyundai', model: 'Accent', totalScale: 58955), - const CarSale(carName: 'Hyundai', model: 'Veloster', totalScale: 12658), - const CarSale(carName: 'Hyundai', model: 'loniq', totalScale: 11197), - const CarSale(carName: 'Hyundai', model: 'Azera', totalScale: 3060), - const CarSale(carName: 'Benz', model: 'C-Class', totalScale: 77447), - const CarSale(carName: 'Benz', model: 'GLE-Class', totalScale: 54595), - const CarSale(carName: 'Benz', model: 'E/CLS-Class', totalScale: 51312), - const CarSale(carName: 'Benz', model: 'GLC-Class', totalScale: 48643), - const CarSale(carName: 'Benz', model: 'GLS-Class', totalScale: 322548), - const CarSale(carName: 'Benz', model: 'Sprinter', totalScale: 27415), - const CarSale(carName: 'Benz', model: 'CLA-Class', totalScale: 20669), - const CarSale(carName: 'Benz', model: 'GLA-Class', totalScale: 24104), - const CarSale(carName: 'Benz', model: 'S-Class', totalScale: 15888), - const CarSale(carName: 'Benz', model: 'Metris', totalScale: 7579), - const CarSale(carName: 'BMW', model: '3-Series', totalScale: 59449), - const CarSale(carName: 'BMW', model: 'X5', totalScale: 50815), - const CarSale(carName: 'BMW', model: 'X3', totalScale: 40691), - const CarSale(carName: 'BMW', model: '5-Series', totalScale: 40658), - const CarSale(carName: 'BMW', model: '4-Series', totalScale: 39634), - const CarSale(carName: 'BMW', model: '2-Series', totalScale: 11737), - const CarSale(carName: 'BMW', model: '7-Series', totalScale: 9276), - const CarSale(carName: 'BMW', model: 'X1', totalScale: 30826), - const CarSale(carName: 'BMW', model: 'X6', totalScale: 6780), - const CarSale(carName: 'BMW', model: 'X4', totalScale: 5198), - const CarSale(carName: 'BMW', model: '6-Series', totalScale: 3355), - const CarSale(carName: 'Jeep', model: 'Grand Cherokee', totalScale: 240696), - const CarSale(carName: 'Jeep', model: 'Cherokee', totalScale: 169822), - const CarSale(carName: 'Jeep', model: 'Renegade', totalScale: 103434), - const CarSale(carName: 'Jeep', model: 'Wrangler', totalScale: 190522), - const CarSale(carName: 'Jeep', model: 'Compass', totalScale: 83523), - const CarSale(carName: 'Jeep', model: 'Patriot', totalScale: 10735), - const CarSale(carName: 'Nissan', model: 'Rogue', totalScale: 403465), - const CarSale(carName: 'Nissan', model: 'Sentra', totalScale: 218451), - const CarSale(carName: 'Nissan', model: 'Murano', totalScale: 76732), - const CarSale(carName: 'Nissan', model: 'Frontier', totalScale: 74360), - const CarSale(carName: 'Nissan', model: 'Altima', totalScale: 254996), - const CarSale(carName: 'Nissan', model: 'Versa', totalScale: 106772), - const CarSale(carName: 'Nissan', model: 'Pathfinder', totalScale: 81065), - const CarSale(carName: 'Nissan', model: 'Maxima', totalScale: 67627), - const CarSale(carName: 'Nissan', model: 'Titan', totalScale: 52924), - const CarSale(carName: 'Nissan', model: 'Armada', totalScale: 35667), - const CarSale(carName: 'Nissan', model: 'NV', totalScale: 17858), - const CarSale(carName: 'Nissan', model: 'NV200', totalScale: 18602), - const CarSale(carName: 'Nissan', model: 'Duke', totalScale: 10157), - const CarSale(carName: 'Honda', model: 'Rogue', totalScale: 403465), - const CarSale(carName: 'Honda', model: 'Sentra', totalScale: 218451), - const CarSale(carName: 'Honda', model: 'Murano', totalScale: 76732), - const CarSale(carName: 'Honda', model: 'Frontier', totalScale: 74360), - const CarSale(carName: 'Honda', model: 'Altima', totalScale: 254996), - const CarSale(carName: 'Honda', model: 'Versa', totalScale: 106772), - const CarSale(carName: 'Honda', model: 'Maxima', totalScale: 67627), - const CarSale(carName: 'Honda', model: 'Titan', totalScale: 52924), - const CarSale(carName: 'Honda', model: 'Armada', totalScale: 35667), - const CarSale(carName: 'Honda', model: 'NV', totalScale: 17858), - const CarSale(carName: 'Honda', model: 'NV200', totalScale: 18602), - const CarSale(carName: 'Honda', model: 'Duke', totalScale: 10157), - const CarSale(carName: 'Ford', model: 'F-Series', totalScale: 896764), - const CarSale(carName: 'Ford', model: 'Explorer', totalScale: 271134), - const CarSale(carName: 'Ford', model: 'Fusion', totalScale: 209623), - const CarSale(carName: 'Ford', model: 'Focus', totalScale: 158385), - const CarSale(carName: 'Ford', model: 'Edge', totalScale: 142603), - const CarSale(carName: 'Ford', model: 'Transit', totalScale: 127340), - const CarSale(carName: 'Ford', model: 'Mustang', totalScale: 81866), - const CarSale(carName: 'Ford', model: 'Escape', totalScale: 308286), - const CarSale(carName: 'Ford', model: 'E-Series', totalScale: 53304), - const CarSale(carName: 'Ford', model: 'Expedition', totalScale: 51833), - const CarSale(carName: 'Ford', model: 'Fiesta', totalScale: 46249), - const CarSale(carName: 'Ford', model: 'Taurus', totalScale: 41326), - const CarSale(carName: 'Ford', model: 'Flex', totalScale: 22389), - const CarSale(carName: 'Ford', model: 'Transit Connect', totalScale: 34473), + CarSale(carName: 'Hyundai', model: 'Elantra', totalScale: 198210), + CarSale(carName: 'Hyundai', model: 'Sonata', totalScale: 131803), + CarSale(carName: 'Hyundai', model: 'Tucson', totalScale: 114735), + CarSale(carName: 'Hyundai', model: 'Santa Fe', totalScale: 133171), + CarSale(carName: 'Hyundai', model: 'Accent', totalScale: 58955), + CarSale(carName: 'Hyundai', model: 'Veloster', totalScale: 12658), + CarSale(carName: 'Hyundai', model: 'loniq', totalScale: 11197), + CarSale(carName: 'Hyundai', model: 'Azera', totalScale: 3060), + CarSale(carName: 'Hyundai', model: 'Elantra', totalScale: 198210), + CarSale(carName: 'Benz', model: 'C-Class', totalScale: 77447), + CarSale(carName: 'Benz', model: 'GLE-Class', totalScale: 54595), + CarSale(carName: 'Benz', model: 'E/ CLS-CLass', totalScale: 51312), + CarSale(carName: 'Benz', model: 'GLC-Class', totalScale: 48643), + CarSale(carName: 'Benz', model: 'GLS-Class', totalScale: 322548), + CarSale(carName: 'Benz', model: 'Sprinter', totalScale: 27415), + CarSale(carName: 'Benz', model: 'CLA-Class', totalScale: 20669), + CarSale(carName: 'Benz', model: 'GLA-Class', totalScale: 24104), + CarSale(carName: 'Benz', model: 'S-Class', totalScale: 15888), + CarSale(carName: 'Benz', model: 'Metris', totalScale: 7579), + CarSale(carName: 'BMW', model: '3-Series', totalScale: 59449), + CarSale(carName: 'BMW', model: 'X5', totalScale: 50815), + CarSale(carName: 'BMW', model: 'X3', totalScale: 40691), + CarSale(carName: 'BMW', model: '5-Series', totalScale: 40658), + CarSale(carName: 'BMW', model: '4-Series', totalScale: 39634), + CarSale(carName: 'BMW', model: '2-Series', totalScale: 11737), + CarSale(carName: 'BMW', model: '7-Series', totalScale: 9276), + CarSale(carName: 'BMW', model: 'X1', totalScale: 30826), + CarSale(carName: 'BMW', model: 'X6', totalScale: 6780), + CarSale(carName: 'BMW', model: 'X4', totalScale: 5198), + CarSale(carName: 'BMW', model: '6-Series', totalScale: 3355), + CarSale(carName: 'Jeep', model: 'Grand cherokee', totalScale: 240696), + CarSale(carName: 'Jeep', model: 'Cherokee', totalScale: 169822), + CarSale(carName: 'Jeep', model: 'Renegada', totalScale: 103434), + CarSale(carName: 'Jeep', model: 'Wrangler', totalScale: 190522), + CarSale(carName: 'Jeep', model: 'Compass', totalScale: 83523), + CarSale(carName: 'Jeep', model: 'Patriot', totalScale: 10735), + CarSale(carName: 'Nissan', model: 'Rogue', totalScale: 403465), + CarSale(carName: 'Nissan', model: 'Sentra', totalScale: 218451), + CarSale(carName: 'Nissan', model: 'Murano', totalScale: 76732), + CarSale(carName: 'Nissan', model: 'Frontier', totalScale: 74360), + CarSale(carName: 'Nissan', model: 'Altima', totalScale: 254996), + CarSale(carName: 'Nissan', model: 'Versa', totalScale: 106772), + CarSale(carName: 'Nissan', model: 'Pathfinder', totalScale: 81065), + CarSale(carName: 'Nissan', model: 'Maxima', totalScale: 67627), + CarSale(carName: 'Nissan', model: 'Titan', totalScale: 52924), + CarSale(carName: 'Nissan', model: 'Armada', totalScale: 35667), + CarSale(carName: 'Nissan', model: 'NV', totalScale: 17858), + CarSale(carName: 'Nissan', model: 'NV200', totalScale: 18602), + CarSale(carName: 'Nissan', model: 'Duke', totalScale: 10157), + CarSale(carName: 'Honda', model: 'Rogue', totalScale: 403465), + CarSale(carName: 'Honda', model: 'Sentra', totalScale: 218451), + CarSale(carName: 'Honda', model: 'Murano', totalScale: 76732), + CarSale(carName: 'Honda', model: 'Frontier', totalScale: 74360), + CarSale(carName: 'Honda', model: 'Altima', totalScale: 254996), + CarSale(carName: 'Honda', model: 'Versa', totalScale: 106772), + CarSale(carName: 'Honda', model: 'Maxima', totalScale: 67627), + CarSale(carName: 'Honda', model: 'Titan', totalScale: 52924), + CarSale(carName: 'Honda', model: 'Armada', totalScale: 35667), + CarSale(carName: 'Honda', model: 'NV', totalScale: 17858), + CarSale(carName: 'Honda', model: 'NV200', totalScale: 18602), + CarSale(carName: 'Honda', model: 'Duke', totalScale: 10157), + CarSale(carName: 'Ford', model: 'F-series', totalScale: 896764), + CarSale(carName: 'Ford', model: 'Explorer', totalScale: 271134), + CarSale(carName: 'Ford', model: 'Fusion', totalScale: 209623), + CarSale(carName: 'Ford', model: 'Focus', totalScale: 158385), + CarSale(carName: 'Ford', model: 'Edge', totalScale: 142603), + CarSale(carName: 'Ford', model: 'Transit', totalScale: 127340), + CarSale(carName: 'Ford', model: 'Mustang', totalScale: 81866), + CarSale(carName: 'Ford', model: 'Escape', totalScale: 308286), + CarSale(carName: 'Ford', model: 'E-series', totalScale: 53304), + CarSale(carName: 'Ford', model: 'Expedition', totalScale: 51833), + CarSale(carName: 'Ford', model: 'Fiesta', totalScale: 46249), + CarSale(carName: 'Ford', model: 'Taurus', totalScale: 41326), + CarSale(carName: 'Ford', model: 'Flex', totalScale: 22389), + CarSale(carName: 'Ford', model: 'Transit connect', totalScale: 34473), + CarSale(carName: 'Ford', model: 'Transit', totalScale: 18390), ]; - _colors = { - 'Hyundai': const Color.fromRGBO(220, 103, 171, 1.0), - 'BMW': const Color.fromRGBO(160, 220, 103, 1.0), - 'Benz': const Color.fromRGBO(220, 210, 103, 1.0), - 'Nissan': const Color.fromRGBO(163, 103, 220, 1.0), - 'Jeep': const Color.fromRGBO(220, 105, 103, 1.0), - 'Ford': const Color.fromRGBO(103, 183, 220, 1.0), - 'Honda': const Color.fromRGBO(103, 220, 187, 1.0), + 'Hyundai': const Color.fromRGBO(220, 103, 171, 1.0), + 'BMW': const Color.fromRGBO(160, 220, 103, 1.0), + 'Benz': const Color.fromRGBO(220, 210, 103, 1.0), + 'Nissan': const Color.fromRGBO(163, 103, 220, 1.0), + 'Jeep': const Color.fromRGBO(220, 105, 103, 1.0), + 'Ford': const Color.fromRGBO(103, 183, 220, 1.0), + 'Honda': const Color.fromRGBO(103, 220, 187, 1.0), }; super.initState(); } + @override + void dispose() { + _source.clear(); + super.dispose(); + } + @override Widget build(BuildContext context) { return Scaffold( - body: Center( - child: Container( - height: 400, - width: 400, - child: SfTreemap( - dataCount: _source.length, - weightValueMapper: (int index) { - return _source[index].totalScale!; - }, - enableDrilldown: true, - breadcrumbs: TreemapBreadcrumbs( - builder: (BuildContext context, TreemapTile tile, bool isCurrent) { - if (tile.group == 'Home') { - return const Icon(Icons.home, color: Colors.black); - } - - return Text( - tile.group, - style: const TextStyle(color: Colors.black), - ); + body: Center( + child: Container( + height: 400, + width: 400, + child: SfTreemap( + dataCount: _source.length, + weightValueMapper: (int index) { + return _source[index].totalScale!; }, - divider: const Icon(Icons.chevron_right, color: Colors.black), - position: TreemapBreadcrumbPosition.top, - ), - levels: [ - TreemapLevel( - groupMapper: (int index) => _source[index].carName, - labelBuilder: (BuildContext context, TreemapTile tile) { - return Padding( - padding: const EdgeInsets.only(left: 5.0, top: 5.0), - child: Text( - tile.group, - style: const TextStyle(color: Colors.black), - overflow: TextOverflow.ellipsis, - ), - ); - }, - colorValueMapper: (TreemapTile tile) { - return _colors[_source[tile.indices[0]].carName]; + enableDrilldown: true, + breadcrumbs: TreemapBreadcrumbs( + builder: + (BuildContext context, TreemapTile tile, bool isCurrent) { + if (tile.group == 'Home') { + return Icon(Icons.home, color: Colors.black); + } else { + return Text(tile.group, + style: TextStyle(color: Colors.black)); + } }, + divider: Icon(Icons.chevron_right, color: Colors.black), + position: TreemapBreadcrumbPosition.top, ), - TreemapLevel( - groupMapper: (int index) { - return _source[index].model; - }, - colorValueMapper: (TreemapTile tile) { - return _colors[_source[tile.indices[0]].carName]; - }, - labelBuilder: (BuildContext context, TreemapTile tile) { - return Padding( - padding: const EdgeInsets.only(left: 5.0, top: 5.0), - child: Text( - tile.group, - style: const TextStyle(color: Colors.black), - overflow: TextOverflow.ellipsis, - ), - ); - }, - ), - ], + levels: [ + TreemapLevel( + groupMapper: (int index) => _source[index].carName, + labelBuilder: (BuildContext context, TreemapTile tile) { + return Padding( + padding: const EdgeInsets.only(left: 5.0, top: 5.0), + child: Text( + tile.group, + style: TextStyle(color: Colors.black), + overflow: TextOverflow.ellipsis, + ), + ); + }, + colorValueMapper: (TreemapTile tile) { + return _colors[_source[tile.indices[0]].carName]; + }, + ), + TreemapLevel( + groupMapper: (int index) { + return _source[index].model; + }, + colorValueMapper: (TreemapTile tile) { + return _colors[_source[tile.indices[0]].carName]; + }, + labelBuilder: (BuildContext context, TreemapTile tile) { + return Padding( + padding: const EdgeInsets.only(left: 5.0, top: 5.0), + child: Text( + tile.group, + style: TextStyle(color: Colors.black), + overflow: TextOverflow.ellipsis, + ), + ); + }, + ), + ], + ), ), ), - ), ); } -} class CarSale { - const CarSale({ - required this.carName, - this.model, - this.version, - this.versionNumber, - this.totalScale, - }); - - final String carName; - final String? model; - final String? version; - final String? versionNumber; - final double? totalScale; + const CarSale( + {required this.carName, + this.model, + this.version, + this.versionNumber, + this.totalScale}); + final String carName; + final String? model; + final String? version; + final String? versionNumber; + final double? totalScale; } {% endhighlight %} {% endtabs %} -![Treemap drilldown](images/drilldown/breadcrumb_customization.gif) \ No newline at end of file +![Treemap drilldown](images/drilldown/breadcrumb_customization.gif) diff --git a/chart-sdk/flutter/treemap/getting-started.md b/chart-sdk/flutter/treemap/getting-started.md index 5fe47837a..13bb188e9 100644 --- a/chart-sdk/flutter/treemap/getting-started.md +++ b/chart-sdk/flutter/treemap/getting-started.md @@ -1,17 +1,17 @@ --- layout: post -title: Getting Started with Flutter Treemap | Syncfusion® -description: Learn how to get started with the Syncfusion® Flutter Treemap (SfTreemap). Explore setup, hierarchical data visualization, and customization options. +title: Getting started with Flutter Treemap widget | Syncfusion +description: Learn about getting started with Syncfusion Flutter Treemap (SfTreemap) widget, its elements, and more. platform: chart-sdk control: SfTreemap documentation: ug --- -# Getting Started with Flutter Treemap (SfTreemap) +# Getting started with Flutter Treemap (SfTreemap) -This section explains the steps required to add the treemap widget and enable its features such as labels, tooltip, assigning colors based on region, and legends. This section covers only the basic features needed to get started with Syncfusion® treemap. +This section explains the steps required to add the treemap widget and enable its features such as labels, tooltip, assigning colors based on region, and legends. This section covers only basic features needed to know to get started with Syncfusion® treemap. -To get started quickly with our Flutter Treemap widget, you can refer to this video. +To get start quickly with our Flutter Treemap widget, you can check on this video. @@ -24,34 +24,32 @@ Create a simple project using the instructions given in the [Getting Started wit Add the Syncfusion® Flutter Treemap dependency to your pubspec.yaml file. -{% tabs %} {% highlight dart %} dependencies: - syncfusion_flutter_treemap: ^xx.x.xx + +syncfusion_flutter_treemap: ^xx.x.xx + {% endhighlight %} -{% endtabs %} -N> Here **xx.x.xx** denotes the current version of [`Syncfusion Flutter Treemap`](https://pub.dev/packages/syncfusion_flutter_treemap/versions) package. It is recommended to use the latest available version from pub.dev. +N> Here **xx.x.xx** denotes the current version of [`Syncfusion Flutter Treemap`](https://pub.dev/packages/syncfusion_flutter_treemap/versions) package. **Get packages** Run the following command to get the required packages. -{% tabs %} {% highlight dart %} $ flutter pub get {% endhighlight %} -{% endtabs %} **Import package** Import the following package in your Dart code. {% tabs %} -{% highlight dart %} +{% highlight Dart %} import 'package:syncfusion_flutter_treemap/treemap.dart'; @@ -65,54 +63,25 @@ After importing the package, initialize the treemap widget as a child of any wid To populate the data source, set its count to the [`dataCount`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/SfTreemap/dataCount.html) property of the treemap. The data will be grouped based on the values returned from the [`TreemapLevel.groupMapper`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapLevel/groupMapper.html) callback. You can have more than one TreemapLevel in the [`levels`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/SfTreemap/levels.html) collection to form a hierarchical treemap. The quantitative value of the underlying data has to be returned from the [`weightValueMapper`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/SfTreemap/weightValueMapper.html) callback. Based on this value, every tile (rectangle) will have its size. {% tabs %} -{% highlight dart %} +{% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_treemap/treemap.dart'; - -class TreemapExample extends StatefulWidget { - const TreemapExample({super.key}); - - @override - State createState() => _TreemapExampleState(); -} - -class _TreemapExampleState extends State { late List _source; @override void initState() { _source = [ - const SocialMediaUsers( - country: 'India', - socialMedia: 'Facebook', - usersInMillions: 25.4, - ), - const SocialMediaUsers( - country: 'USA', - socialMedia: 'Instagram', - usersInMillions: 19.11, - ), - const SocialMediaUsers( - country: 'Japan', - socialMedia: 'Facebook', - usersInMillions: 13.3, - ), - const SocialMediaUsers( - country: 'Germany', - socialMedia: 'Instagram', - usersInMillions: 10.65, - ), - const SocialMediaUsers( - country: 'France', - socialMedia: 'Twitter', - usersInMillions: 7.54, - ), - const SocialMediaUsers( - country: 'UK', - socialMedia: 'Instagram', - usersInMillions: 4.93, - ), + SocialMediaUsers( + country: 'India', socialMedia: 'Facebook', usersInMillions: 25.4), + SocialMediaUsers( + country: 'USA', socialMedia: 'Instagram', usersInMillions: 19.11), + SocialMediaUsers( + country: 'Japan', socialMedia: 'Facebook', usersInMillions: 13.3), + SocialMediaUsers( + country: 'Germany', socialMedia: 'Instagram', usersInMillions: 10.65), + SocialMediaUsers( + country: 'France', socialMedia: 'Twitter', usersInMillions: 7.54), + SocialMediaUsers( + country: 'UK', socialMedia: 'Instagram', usersInMillions: 4.93), ]; super.initState(); } @@ -121,27 +90,26 @@ class _TreemapExampleState extends State { Widget build(BuildContext context) { return Scaffold( body: Center( - child: Container( - height: 400, - width: 400, - child: SfTreemap( - dataCount: _source.length, - weightValueMapper: (int index) { - return _source[index].usersInMillions; - }, - levels: [ - TreemapLevel( - groupMapper: (int index) { - return _source[index].country; - }, - ), - ], + child: Container( + height: 400, + width: 400, + child: SfTreemap( + dataCount: _source.length, + weightValueMapper: (int index) { + return _source[index].usersInMillions; + }, + levels: [ + TreemapLevel( + groupMapper: (int index) { + return _source[index].country; + }, + ), + ], + ), ), ), - ), ); } -} class SocialMediaUsers { const SocialMediaUsers({ @@ -166,57 +134,28 @@ N> ## Add labels -You can add any type of custom widgets to the tiles as labels based on the index using the [`TreemapLevel.labelBuilder`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapLevel/labelBuilder.html) property. The following example extends the initial sample by adding a label builder. +You can add any type of custom widgets to the tiles as labels based on the index using the [`TreemapLevel.labelBuilder`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapLevel/labelBuilder.html) property. {% tabs %} -{% highlight dart %} +{% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_treemap/treemap.dart'; - -class TreemapExample extends StatefulWidget { - const TreemapExample({super.key}); - - @override - State createState() => _TreemapExampleState(); -} - -class _TreemapExampleState extends State { late List _source; @override void initState() { _source = [ - const SocialMediaUsers( - country: 'India', - socialMedia: 'Facebook', - usersInMillions: 25.4, - ), - const SocialMediaUsers( - country: 'USA', - socialMedia: 'Instagram', - usersInMillions: 19.11, - ), - const SocialMediaUsers( - country: 'Japan', - socialMedia: 'Facebook', - usersInMillions: 13.3, - ), - const SocialMediaUsers( - country: 'Germany', - socialMedia: 'Instagram', - usersInMillions: 10.65, - ), - const SocialMediaUsers( - country: 'France', - socialMedia: 'Twitter', - usersInMillions: 7.54, - ), - const SocialMediaUsers( - country: 'UK', - socialMedia: 'Instagram', - usersInMillions: 4.93, - ), + SocialMediaUsers( + country: 'India', socialMedia: 'Facebook', usersInMillions: 25.4), + SocialMediaUsers( + country: 'USA', socialMedia: 'Instagram', usersInMillions: 19.11), + SocialMediaUsers( + country: 'Japan', socialMedia: 'Facebook', usersInMillions: 13.3), + SocialMediaUsers( + country: 'Germany', socialMedia: 'Instagram', usersInMillions: 10.65), + SocialMediaUsers( + country: 'France', socialMedia: 'Twitter', usersInMillions: 7.54), + SocialMediaUsers( + country: 'UK', socialMedia: 'Instagram', usersInMillions: 4.93), ]; super.initState(); } @@ -225,36 +164,33 @@ class _TreemapExampleState extends State { Widget build(BuildContext context) { return Scaffold( body: Center( - child: Container( - height: 400, - width: 400, - child: SfTreemap( - dataCount: _source.length, - weightValueMapper: (int index) { - return _source[index].usersInMillions; - }, - levels: [ - TreemapLevel( - groupMapper: (int index) { - return _source[index].country; - }, - labelBuilder: (BuildContext context, TreemapTile tile) { - return Padding( - padding: const EdgeInsets.only(left: 2.5, right: 2.4, top: 1), - child: Text( - tile.group, - style: const TextStyle(color: Colors.black), - ), - ); - }, - ), - ], + child: Container( + height: 400, + width: 400, + child: SfTreemap( + dataCount: _source.length, + weightValueMapper: (int index) { + return _source[index].usersInMillions; + }, + levels: [ + TreemapLevel( + groupMapper: (int index) { + return _source[index].country; + }, + labelBuilder: (BuildContext context, TreemapTile tile) { + return Padding( + padding: EdgeInsets.only(left: 2.5, right: 2.4, top: 1), + child: + Text(tile.group, style: TextStyle(color: Colors.black)), + ); + }, + ), + ], + ), ), ), - ), ); } -} class SocialMediaUsers { const SocialMediaUsers({ @@ -275,57 +211,28 @@ class SocialMediaUsers { ## Add tooltip -You can enable tooltip for any tile in the treemap and return a fully customized widget using the [`tooltipBuilder`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapLevel/tooltipBuilder.html) property. The following example extends the initial sample by adding a tooltip builder. +You can enable tooltip for any tile in the treemap and able to return the completely customized widget using the [`tooltipBuilder`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapLevel/tooltipBuilder.html) property. {% tabs %} -{% highlight dart %} - -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_treemap/treemap.dart'; +{% highlight Dart %} -class TreemapExample extends StatefulWidget { - const TreemapExample({super.key}); - - @override - State createState() => _TreemapExampleState(); -} - -class _TreemapExampleState extends State { late List _source; @override void initState() { _source = [ - const SocialMediaUsers( - country: 'India', - socialMedia: 'Facebook', - usersInMillions: 25.4, - ), - const SocialMediaUsers( - country: 'USA', - socialMedia: 'Instagram', - usersInMillions: 19.11, - ), - const SocialMediaUsers( - country: 'Japan', - socialMedia: 'Facebook', - usersInMillions: 13.3, - ), - const SocialMediaUsers( - country: 'Germany', - socialMedia: 'Instagram', - usersInMillions: 10.65, - ), - const SocialMediaUsers( - country: 'France', - socialMedia: 'Twitter', - usersInMillions: 7.54, - ), - const SocialMediaUsers( - country: 'UK', - socialMedia: 'Instagram', - usersInMillions: 4.93, - ), + SocialMediaUsers( + country: 'India', socialMedia: 'Facebook', usersInMillions: 25.4), + SocialMediaUsers( + country: 'USA', socialMedia: 'Instagram', usersInMillions: 19.11), + SocialMediaUsers( + country: 'Japan', socialMedia: 'Facebook', usersInMillions: 13.3), + SocialMediaUsers( + country: 'Germany', socialMedia: 'Instagram', usersInMillions: 10.65), + SocialMediaUsers( + country: 'France', socialMedia: 'Twitter', usersInMillions: 7.54), + SocialMediaUsers( + country: 'UK', socialMedia: 'Instagram', usersInMillions: 4.93), ]; super.initState(); } @@ -349,11 +256,8 @@ class _TreemapExampleState extends State { }, labelBuilder: (BuildContext context, TreemapTile tile) { return Padding( - padding: const EdgeInsets.only(left: 2.5, right: 2.4, top: 1), - child: Text( - tile.group, - style: const TextStyle(color: Colors.black), - ), + padding: EdgeInsets.only(left: 2.5, right: 2.4, top: 1), + child: Text(tile.group, style: TextStyle(color: Colors.black)), ); }, tooltipBuilder: (BuildContext context, TreemapTile tile) { @@ -361,7 +265,7 @@ class _TreemapExampleState extends State { padding: const EdgeInsets.only(left: 5, right: 5, top: 2, bottom: 3), child: Text( 'Country : ${tile.group}\nSocial media : ${tile.weight}M', - style: const TextStyle(color: Colors.black), + style: TextStyle(color: Colors.black), ), ); }, @@ -372,7 +276,6 @@ class _TreemapExampleState extends State { ), ); } -} class SocialMediaUsers { const SocialMediaUsers({ @@ -393,57 +296,28 @@ class SocialMediaUsers { ## Add legend -You can show legend by initializing the [`legend`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/SfTreemap/legend.html) property in the [`SfTreemap`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/SfTreemap-class.html). It is possible to customize the legend item's color and text using the [`SfTreemap.colorMappers`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/SfTreemap/colorMappers.html) property. The following example extends the initial sample by adding legend support. +You can show legend by initializing the [`legend`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/SfTreemap/legend.html) property in the [`SfTreemap`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/SfTreemap-class.html). It is possible to customize the legend item's color and text using the [`SfTreemap.colorMappers`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/SfTreemap/colorMappers.html) property. {% tabs %} -{% highlight dart %} - -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_treemap/treemap.dart'; +{% highlight Dart %} -class TreemapExample extends StatefulWidget { - const TreemapExample({super.key}); - - @override - State createState() => _TreemapExampleState(); -} - -class _TreemapExampleState extends State { late List _source; @override void initState() { _source = [ - const SocialMediaUsers( - country: 'India', - socialMedia: 'Facebook', - usersInMillions: 25.4, - ), - const SocialMediaUsers( - country: 'USA', - socialMedia: 'Instagram', - usersInMillions: 19.11, - ), - const SocialMediaUsers( - country: 'Japan', - socialMedia: 'Facebook', - usersInMillions: 13.3, - ), - const SocialMediaUsers( - country: 'Germany', - socialMedia: 'Instagram', - usersInMillions: 10.65, - ), - const SocialMediaUsers( - country: 'France', - socialMedia: 'Twitter', - usersInMillions: 7.54, - ), - const SocialMediaUsers( - country: 'UK', - socialMedia: 'Instagram', - usersInMillions: 4.93, - ), + SocialMediaUsers( + country: 'India', socialMedia: 'Facebook', usersInMillions: 25.4), + SocialMediaUsers( + country: 'USA', socialMedia: 'Instagram', usersInMillions: 19.11), + SocialMediaUsers( + country: 'Japan', socialMedia: 'Facebook', usersInMillions: 13.3), + SocialMediaUsers( + country: 'Germany', socialMedia: 'Instagram', usersInMillions: 10.65), + SocialMediaUsers( + country: 'France', socialMedia: 'Twitter', usersInMillions: 7.54), + SocialMediaUsers( + country: 'UK', socialMedia: 'Instagram', usersInMillions: 4.93), ]; super.initState(); } @@ -452,46 +326,43 @@ class _TreemapExampleState extends State { Widget build(BuildContext context) { return Scaffold( body: Center( - child: Container( - height: 400, - width: 400, - child: SfTreemap( - dataCount: _source.length, - weightValueMapper: (int index) { - return _source[index].usersInMillions; - }, - levels: [ - TreemapLevel( - groupMapper: (int index) { - return _source[index].country; - }, - labelBuilder: (BuildContext context, TreemapTile tile) { - return Padding( - padding: const EdgeInsets.only(left: 2.5, right: 2.4, top: 1), - child: Text( - tile.group, - style: const TextStyle(color: Colors.black), - ), - ); - }, - tooltipBuilder: (BuildContext context, TreemapTile tile) { - return Padding( - padding: const EdgeInsets.only(left: 5, right: 5, top: 2, bottom: 3), - child: Text( - 'Country : ${tile.group}\nSocial media : ${tile.weight}M', - style: const TextStyle(color: Colors.black), - ), - ); - }, - ), - ], - legend: TreemapLegend(), + child: Container( + height: 400, + width: 400, + child: SfTreemap( + dataCount: _source.length, + weightValueMapper: (int index) { + return _source[index].usersInMillions; + }, + levels: [ + TreemapLevel( + groupMapper: (int index) { + return _source[index].country; + }, + labelBuilder: (BuildContext context, TreemapTile tile) { + return Padding( + padding: EdgeInsets.only(left: 2.5, right: 2.4, top: 1), + child: + Text(tile.group, style: TextStyle(color: Colors.black)), + ); + }, + tooltipBuilder: (BuildContext context, TreemapTile tile) { + return Padding( + padding: const EdgeInsets.only( + left: 5, right: 5, top: 2, bottom: 3), + child: Text( + 'Country : ${tile.group}\nSocial media : ${tile.weight}M', + style: TextStyle(color: Colors.black)), + ); + }, + ), + ], + legend: TreemapLegend(), + ), ), ), - ), ); } -} class SocialMediaUsers { const SocialMediaUsers({ @@ -508,4 +379,4 @@ class SocialMediaUsers { {% endhighlight %} {% endtabs %} -![Treemap legend](images/getting-started/legend.png) \ No newline at end of file +![Treemap legend](images/getting-started/legend.png) diff --git a/chart-sdk/flutter/treemap/how-to/custom-widget-on-flutterflow.md b/chart-sdk/flutter/treemap/how-to/custom-widget-on-flutterflow.md index 6b459106f..a333127fb 100644 --- a/chart-sdk/flutter/treemap/how-to/custom-widget-on-flutterflow.md +++ b/chart-sdk/flutter/treemap/how-to/custom-widget-on-flutterflow.md @@ -1,13 +1,13 @@ --- layout: post -title: How to Add Treemap in FlutterFlow | Syncfusion® -description: Learn how to add and use Syncfusion® Flutter Treemap (SfTreemap) in FlutterFlow, including setup, integration, and configuration. +title: Treemap Widget in FlutterFlow | Syncfusion +description: Learn here all about adding Syncfusion Flutter Treemap ( SfTreemap Widget ) widget in FlutterFlow Framework. platform: chart-sdk control: SfTreemap documentation: ug --- -# How to Add Treemap in FlutterFlow (SfTreemap) +# How to add Syncfusion® Treemap widget in FlutterFlow? ## Overview diff --git a/chart-sdk/flutter/treemap/images/overview/treemap_overview.png b/chart-sdk/flutter/treemap/images/overview/treemap_overview.png deleted file mode 100644 index 7bc275b7d..000000000 Binary files a/chart-sdk/flutter/treemap/images/overview/treemap_overview.png and /dev/null differ diff --git a/chart-sdk/flutter/treemap/item-builder.md b/chart-sdk/flutter/treemap/item-builder.md index 333c93339..62603a5a8 100644 --- a/chart-sdk/flutter/treemap/item-builder.md +++ b/chart-sdk/flutter/treemap/item-builder.md @@ -1,7 +1,7 @@ --- layout: post -title: Item Builder in Flutter Treemap | Syncfusion® -description: Learn about item builder support in Syncfusion® Flutter Treemap (SfTreemap), including custom tile content, templates, layouts, and data visualization. +title: Item Builder in Flutter Treemap widget | Syncfusion +description: Learn here all about the Item Builder feature of Syncfusion Flutter Treemap (SfTreemap) widget and more. platform: chart-sdk control: SfTreemap documentation: ug @@ -9,37 +9,26 @@ documentation: ug # Item Builder in Flutter Treemap (SfTreemap) -You can add any type of custom widget, such as an image widget as a background, to easily visualize the type of data that a particular tile shows. +You can add any type of custom widgets such as image widget as a background of the tiles to easily visualize the type of data that a particular tile shows. ## Add images You can add images as a background of the tiles using the [`TreemapLevel.itemBuilder`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapLevel/itemBuilder.html) callback. {% tabs %} -{% highlight dart %} +{% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_treemap/treemap.dart'; - -class ItemBuilderExample extends StatefulWidget { - const ItemBuilderExample({super.key}); - - @override - State createState() => _ItemBuilderExampleState(); -} - -class _ItemBuilderExampleState extends State { late List _source; @override void initState() { _source = [ - const SocialMediaUsers('India', 'Facebook', 25.4), - const SocialMediaUsers('USA', 'Instagram', 19.11), - const SocialMediaUsers('Japan', 'Facebook', 13.3), - const SocialMediaUsers('Germany', 'Instagram', 10.65), - const SocialMediaUsers('France', 'Twitter', 7.54), - const SocialMediaUsers('UK', 'Instagram', 4.93), + SocialMediaUsers('India', 'Facebook', 25.4), + SocialMediaUsers('USA', 'Instagram', 19.11), + SocialMediaUsers('Japan', 'Facebook', 13.3), + SocialMediaUsers('Germany', 'Instagram', 10.65), + SocialMediaUsers('France', 'Twitter', 7.54), + SocialMediaUsers('UK', 'Instagram', 4.93), ]; super.initState(); } @@ -48,43 +37,44 @@ class _ItemBuilderExampleState extends State { Widget build(BuildContext context) { return Scaffold( body: Center( - child: SizedBox( - height: 400, - width: 400, - child: SfTreemap( - dataCount: _source.length, - weightValueMapper: (int index) { - return _source[index].usersInMillions; - }, - levels: [ - TreemapLevel( - groupMapper: (int index) { - return _source[index].country; - }, - itemBuilder: (BuildContext context, TreemapTile tile) { - return Align( - alignment: Alignment.center, - child: Image.asset(_getImageSource(tile)!), - ); - }, - ), - ], + child: Container( + height: 400, + width: 400, + child: SfTreemap( + dataCount: _source.length, + weightValueMapper: (int index) { + return _source[index].usersInMillions; + }, + levels: [ + TreemapLevel( + groupMapper: (int index) { + return _source[index].country; + }, + itemBuilder: (BuildContext context, TreemapTile tile) { + return Align( + alignment: Alignment.center, + child: Image.asset( + _getImageSource(tile)!, + ), + ); + }, + ), + ], + ), ), ), - ), ); } - String? _getImageSource(TreemapTile tile) { - if (_source[tile.indices[0]].socialMedia == 'Facebook') { - return 'images/facebook.png'; - } else if (_source[tile.indices[0]].socialMedia == 'Instagram') { - return 'images/instagram.png'; - } else if (_source[tile.indices[0]].socialMedia == 'Twitter') { - return 'images/twitter.png'; - } - return null; - } +String? _getImageSource(TreemapTile tile) { + if (_source[tile.indices[0]].socialMedia == 'Facebook') { + return 'images/facebook.png'; + } else if (_source[tile.indices[0]].socialMedia == 'Instagram') { + return 'images/instagram.png'; + } else if (_source[tile.indices[0]].socialMedia == 'Twitter') { + return 'images/twitter.png'; + } + return null; } class SocialMediaUsers { @@ -102,4 +92,4 @@ class SocialMediaUsers { N> * Refer the [`Align`](https://api.flutter.dev/flutter/widgets/Align-class.html) widget, to change the position of the widget. -* Refer the [`TreemapLevel.labelBuilder`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapLevel/labelBuilder.html), to add labels on the tiles. \ No newline at end of file +* Refer the [`TreemapLevel.labelBuilder`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapLevel/labelBuilder.html), to add labels on the tiles. diff --git a/chart-sdk/flutter/treemap/labels.md b/chart-sdk/flutter/treemap/labels.md index cbb307a90..84dfbe27e 100644 --- a/chart-sdk/flutter/treemap/labels.md +++ b/chart-sdk/flutter/treemap/labels.md @@ -1,7 +1,7 @@ --- layout: post -title: Labels in Flutter Treemap | Syncfusion® -description: Learn about label support in Syncfusion® Flutter Treemap (SfTreemap), including label customization, text styling, placement, and data visualization. +title: Labels in Flutter Treemap widget | Syncfusion +description: Learn here all about adding the Labels feature of Syncfusion Flutter Treemap (SfTreemap) widget and more. platform: chart-sdk control: SfTreemap documentation: ug @@ -9,120 +9,69 @@ documentation: ug # Labels in Flutter Treemap (SfTreemap) -You can add any type of widget, like a text widget, to improve the readability of the individual tiles by providing brief descriptions on labels. +You can add any type of widgets like text widget to improve the readability of the individual tiles by providing brief descriptions on labels. ## Add labels You can add labels on the tiles using the [`TreemapLevel.labelBuilder`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapLevel/labelBuilder.html) callback which is available in the [`SfTreemap.levels`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/SfTreemap/levels.html) collection. -The examples below use the same job vacancy data source and differ only in how the labels are rendered. - {% tabs %} -{% highlight dart %} - -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_treemap/treemap.dart'; - -class LabelsExample extends StatefulWidget { - const LabelsExample({super.key}); - - @override - State createState() => _LabelsExampleState(); -} +{% highlight Dart %} -class _LabelsExampleState extends State { late List _source; @override void initState() { _source = [ - const JobVacancyModel(country: 'America', job: 'Sales', vacancy: 70), - const JobVacancyModel( - country: 'America', - job: 'Technical', - group: 'Testers', - vacancy: 35, - ), - const JobVacancyModel( - country: 'America', - job: 'Technical', - group: 'Developers', - role: 'Windows', - vacancy: 105, - ), - const JobVacancyModel( - country: 'America', - job: 'Technical', - group: 'Developers', - role: 'Web', - vacancy: 40, - ), - const JobVacancyModel( - country: 'America', - job: 'Management', - vacancy: 40, - ), - const JobVacancyModel( - country: 'America', - job: 'Accounts', - vacancy: 60, - ), - const JobVacancyModel( - country: 'India', - job: 'Technical', - group: 'Testers', - vacancy: 25, - ), - const JobVacancyModel( - country: 'India', - job: 'Technical', - group: 'Developers', - role: 'Windows', - vacancy: 155, - ), - const JobVacancyModel( - country: 'India', - job: 'Technical', - group: 'Developers', - role: 'Web', - vacancy: 60, - ), - const JobVacancyModel( - country: 'Germany', - job: 'Sales', - group: 'Executive', - vacancy: 30, - ), - const JobVacancyModel( - country: 'Germany', - job: 'Sales', - group: 'Analyst', - vacancy: 40, - ), - const JobVacancyModel( - country: 'UK', - job: 'Technical', - group: 'Developers', - role: 'Windows', - vacancy: 100, - ), - const JobVacancyModel( - country: 'UK', - job: 'Technical', - group: 'Developers', - role: 'Web', - vacancy: 30, - ), - const JobVacancyModel( - country: 'UK', - job: 'HR Executives', - vacancy: 60, - ), - const JobVacancyModel( - country: 'UK', - job: 'Marketing', - vacancy: 40, - ), + JobVacancyModel(country: 'America', job: 'Sales', vacancy: 70), + JobVacancyModel( + country: 'America', job: 'Technical', group: 'Testers', vacancy: 35), + JobVacancyModel( + country: 'America', + job: 'Technical', + group: 'Developers', + role: 'Windows', + vacancy: 105), + JobVacancyModel( + country: 'America', + job: 'Technical', + group: 'Developers', + role: 'Web', + vacancy: 40), + JobVacancyModel(country: 'America', job: 'Management', vacancy: 40), + JobVacancyModel(country: 'America', job: 'Accounts', vacancy: 60), + JobVacancyModel( + country: 'India', job: 'Technical', group: 'Testers', vacancy: 25), + JobVacancyModel( + country: 'India', + job: 'Technical', + group: 'Developers', + role: 'Windows', + vacancy: 155), + JobVacancyModel( + country: 'India', + job: 'Technical', + group: 'Developers', + role: 'Web', + vacancy: 60), + JobVacancyModel( + country: 'Germany', job: 'Sales', group: 'Executive', vacancy: 30), + JobVacancyModel( + country: 'Germany', job: 'Sales', group: 'Analyst', vacancy: 40), + JobVacancyModel( + country: 'UK', + job: 'Technical', + group: 'Developers', + role: 'Windows', + vacancy: 100), + JobVacancyModel( + country: 'UK', + job: 'Technical', + group: 'Developers', + role: 'Web', + vacancy: 30), + JobVacancyModel(country: 'UK', job: 'HR Executives', vacancy: 60), + JobVacancyModel(country: 'UK', job: 'Marketing', vacancy: 40), ]; super.initState(); } @@ -131,62 +80,59 @@ class _LabelsExampleState extends State { Widget build(BuildContext context) { return Scaffold( body: Center( - child: SizedBox( - height: 400, - width: 400, - child: SfTreemap( - dataCount: _source.length, - weightValueMapper: (int index) { - return _source[index].vacancy; - }, - levels: [ - TreemapLevel( - groupMapper: (int index) => _source[index].country, - color: Colors.pink, - labelBuilder: (BuildContext context, TreemapTile tile) { - return Padding( - padding: const EdgeInsets.all(5), - child: Text(tile.group), - ); - }, - ), - TreemapLevel( - groupMapper: (int index) => _source[index].job, - color: Colors.green, - labelBuilder: (BuildContext context, TreemapTile tile) { - return Padding( - padding: const EdgeInsets.all(5), - child: Text(tile.group), - ); - }, - ), - TreemapLevel( - groupMapper: (int index) => _source[index].group, - color: Colors.blue, - labelBuilder: (BuildContext context, TreemapTile tile) { - return Padding( - padding: const EdgeInsets.all(5), - child: Text(tile.group), - ); - }, - ), - ], + child: Container( + height: 400, + width: 400, + child: SfTreemap( + dataCount: _source.length, + weightValueMapper: (int index) { + return _source[index].vacancy; + }, + levels: [ + TreemapLevel( + groupMapper: (int index) => _source[index].country, + color: Colors.pink, + labelBuilder: (BuildContext context, TreemapTile tile) { + return Padding( + padding: EdgeInsets.all(5), + child: Text(tile.group), + ); + }, + ), + TreemapLevel( + groupMapper: (int index) => _source[index].job, + color: Colors.green, + labelBuilder: (BuildContext context, TreemapTile tile) { + return Padding( + padding: EdgeInsets.all(5), + child: Text(tile.group), + ); + }, + ), + TreemapLevel( + groupMapper: (int index) => _source[index].group, + color: Colors.blue, + labelBuilder: (BuildContext context, TreemapTile tile) { + return Padding( + padding: EdgeInsets.all(5), + child: Text(tile.group), + ); + }, + ), + ], + ), ), ), - ), ); } -} class JobVacancyModel { - const JobVacancyModel({ - required this.country, - required this.job, - this.group, - this.role, - required this.vacancy, - }); - + const JobVacancyModel( + {required this.country, + required this.job, + this.group, + this.role, + required this.vacancy}); final String country; final String job; final String? group; @@ -201,116 +147,67 @@ class JobVacancyModel { ## Overflow mode -You can trim or fade a label when it overflows the tile bounds by using the Flutter framework's [`Text.overflow`](https://api.flutter.dev/flutter/widgets/Text/overflow.html) property inside the label builder. The possible values are [`visible`](https://api.flutter.dev/flutter/painting/TextOverflow.html#visible), [`ellipsis`](https://api.flutter.dev/flutter/painting/TextOverflow.html#ellipsis), [`clip`](https://api.flutter.dev/flutter/painting/TextOverflow.html#clip), and [`fade`](https://api.flutter.dev/flutter/painting/TextOverflow.html#fade). The default value of [`Text.overflow`](https://api.flutter.dev/flutter/widgets/Text/overflow.html) is [`TextOverflow.visible`](https://api.flutter.dev/flutter/painting/TextOverflow.html#visible). +You can trim or fade the label when it is overflowed from the tile using the [`Text.overflow`](https://api.flutter.dev/flutter/widgets/Text/overflow.html) property. The possible values are [`visible`](https://api.flutter.dev/flutter/painting/TextOverflow.html#visible), [`ellipsis`](https://api.flutter.dev/flutter/painting/TextOverflow.html#ellipsis), [`clip`](https://api.flutter.dev/flutter/painting/TextOverflow.html#clip) and [`fade`](https://api.flutter.dev/flutter/painting/TextOverflow.html#fade). The default value of the [`Text.overflow`](https://api.flutter.dev/flutter/widgets/Text/overflow.html)property is [`TextOverflow.visible`](https://api.flutter.dev/flutter/painting/TextOverflow.html#visible). -By default, the labels render even if they overflow from the tile. +By default, the labels will render even if it overflows from the tile. {% tabs %} -{% highlight dart %} - -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_treemap/treemap.dart'; +{% highlight Dart %} -class LabelsOverflowExample extends StatefulWidget { - const LabelsOverflowExample({super.key}); - - @override - State createState() => _LabelsOverflowExampleState(); -} - -class _LabelsOverflowExampleState extends State { late List _source; @override void initState() { _source = [ - const JobVacancyModel(country: 'America', job: 'Sales', vacancy: 70), - const JobVacancyModel( - country: 'America', - job: 'Technical', - group: 'Testers', - vacancy: 35, - ), - const JobVacancyModel( - country: 'America', - job: 'Technical', - group: 'Developers', - role: 'Windows', - vacancy: 105, - ), - const JobVacancyModel( - country: 'America', - job: 'Technical', - group: 'Developers', - role: 'Web', - vacancy: 40, - ), - const JobVacancyModel( - country: 'America', - job: 'Management', - vacancy: 40, - ), - const JobVacancyModel( - country: 'America', - job: 'Accounts', - vacancy: 60, - ), - const JobVacancyModel( - country: 'India', - job: 'Technical', - group: 'Testers', - vacancy: 25, - ), - const JobVacancyModel( - country: 'India', - job: 'Technical', - group: 'Developers', - role: 'Windows', - vacancy: 155, - ), - const JobVacancyModel( - country: 'India', - job: 'Technical', - group: 'Developers', - role: 'Web', - vacancy: 60, - ), - const JobVacancyModel( - country: 'Germany', - job: 'Sales', - group: 'Executive', - vacancy: 30, - ), - const JobVacancyModel( - country: 'Germany', - job: 'Sales', - group: 'Analyst', - vacancy: 40, - ), - const JobVacancyModel( - country: 'UK', - job: 'Technical', - group: 'Developers', - role: 'Windows', - vacancy: 100, - ), - const JobVacancyModel( - country: 'UK', - job: 'Technical', - group: 'Developers', - role: 'Web', - vacancy: 30, - ), - const JobVacancyModel( - country: 'UK', - job: 'HR Executives', - vacancy: 60, - ), - const JobVacancyModel( - country: 'UK', - job: 'Marketing', - vacancy: 40, - ), + JobVacancyModel(country: 'America', job: 'Sales', vacancy: 70), + JobVacancyModel( + country: 'America', job: 'Technical', group: 'Testers', vacancy: 35), + JobVacancyModel( + country: 'America', + job: 'Technical', + group: 'Developers', + role: 'Windows', + vacancy: 105), + JobVacancyModel( + country: 'America', + job: 'Technical', + group: 'Developers', + role: 'Web', + vacancy: 40), + JobVacancyModel(country: 'America', job: 'Management', vacancy: 40), + JobVacancyModel(country: 'America', job: 'Accounts', vacancy: 60), + JobVacancyModel( + country: 'India', job: 'Technical', group: 'Testers', vacancy: 25), + JobVacancyModel( + country: 'India', + job: 'Technical', + group: 'Developers', + role: 'Windows', + vacancy: 155), + JobVacancyModel( + country: 'India', + job: 'Technical', + group: 'Developers', + role: 'Web', + vacancy: 60), + JobVacancyModel( + country: 'Germany', job: 'Sales', group: 'Executive', vacancy: 30), + JobVacancyModel( + country: 'Germany', job: 'Sales', group: 'Analyst', vacancy: 40), + JobVacancyModel( + country: 'UK', + job: 'Technical', + group: 'Developers', + role: 'Windows', + vacancy: 100), + JobVacancyModel( + country: 'UK', + job: 'Technical', + group: 'Developers', + role: 'Web', + vacancy: 30), + JobVacancyModel(country: 'UK', job: 'HR Executives', vacancy: 60), + JobVacancyModel(country: 'UK', job: 'Marketing', vacancy: 40), ]; super.initState(); } @@ -318,72 +215,69 @@ class _LabelsOverflowExampleState extends State { @override Widget build(BuildContext context) { return Scaffold( - body: Center( - child: SizedBox( - height: 400, - width: 400, - child: SfTreemap( - dataCount: _source.length, - weightValueMapper: (int index) { - return _source[index].vacancy; - }, - levels: [ - TreemapLevel( - groupMapper: (int index) => _source[index].country, - color: Colors.pink, - labelBuilder: (BuildContext context, TreemapTile tile) { - return Padding( - padding: const EdgeInsets.all(5), - child: Text( - tile.group, - overflow: TextOverflow.ellipsis, - ), - ); - }, - ), - TreemapLevel( - groupMapper: (int index) => _source[index].job, - color: Colors.green, - labelBuilder: (BuildContext context, TreemapTile tile) { - return Padding( - padding: const EdgeInsets.all(5), - child: Text( - tile.group, - overflow: TextOverflow.ellipsis, - ), - ); - }, - ), - TreemapLevel( - groupMapper: (int index) => _source[index].group, - color: Colors.blue, - labelBuilder: (BuildContext context, TreemapTile tile) { - return Padding( - padding: const EdgeInsets.all(5), - child: Text( - tile.group, - overflow: TextOverflow.ellipsis, - ), - ); - }, - ), - ], + body: Center( + child: Container( + height: 400, + width: 400, + child: SfTreemap( + dataCount: _source.length, + weightValueMapper: (int index) { + return _source[index].vacancy; + }, + levels: [ + TreemapLevel( + groupMapper: (int index) => _source[index].country, + color: Colors.pink, + labelBuilder: (BuildContext context, TreemapTile tile) { + return Padding( + padding: EdgeInsets.all(5), + child: Text( + tile.group, + overflow: TextOverflow.ellipsis, + ), + ); + }, + ), + TreemapLevel( + groupMapper: (int index) => _source[index].job, + color: Colors.green, + labelBuilder: (BuildContext context, TreemapTile tile) { + return Padding( + padding: EdgeInsets.all(5), + child: Text( + tile.group, + overflow: TextOverflow.ellipsis, + ), + ); + }, + ), + TreemapLevel( + groupMapper: (int index) => _source[index].group, + color: Colors.blue, + labelBuilder: (BuildContext context, TreemapTile tile) { + return Padding( + padding: EdgeInsets.all(5), + child: Text( + tile.group, + overflow: TextOverflow.ellipsis, + ), + ); + }, + ), + ], + ), ), ), - ), ); } -} class JobVacancyModel { - const JobVacancyModel({ - required this.country, - required this.job, - this.group, - this.role, - required this.vacancy, - }); - + const JobVacancyModel( + {required this.country, + required this.job, + this.group, + this.role, + required this.vacancy}); final String country; final String job; final String? group; @@ -398,114 +292,65 @@ class JobVacancyModel { ## Alignment -You can change the label alignment by wrapping the text widget in the [`Align`](https://api.flutter.dev/flutter/widgets/Align-class.html) widget and setting the [`alignment`](https://api.flutter.dev/flutter/widgets/Align/alignment.html) property. +You can change the labels alignment by wrapping the text widget in the [`Align`](https://api.flutter.dev/flutter/widgets/Align-class.html) widget and setting the [`alignment`](https://api.flutter.dev/flutter/widgets/Align/alignment.html) property. {% tabs %} -{% highlight dart %} - -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_treemap/treemap.dart'; - -class LabelsAlignmentExample extends StatefulWidget { - const LabelsAlignmentExample({super.key}); +{% highlight Dart %} - @override - State createState() => _LabelsAlignmentExampleState(); -} - -class _LabelsAlignmentExampleState extends State { late List _source; @override void initState() { _source = [ - const JobVacancyModel(country: 'America', job: 'Sales', vacancy: 70), - const JobVacancyModel( - country: 'America', - job: 'Technical', - group: 'Testers', - vacancy: 35, - ), - const JobVacancyModel( - country: 'America', - job: 'Technical', - group: 'Developers', - role: 'Windows', - vacancy: 105, - ), - const JobVacancyModel( - country: 'America', - job: 'Technical', - group: 'Developers', - role: 'Web', - vacancy: 40, - ), - const JobVacancyModel( - country: 'America', - job: 'Management', - vacancy: 40, - ), - const JobVacancyModel( - country: 'America', - job: 'Accounts', - vacancy: 60, - ), - const JobVacancyModel( - country: 'India', - job: 'Technical', - group: 'Testers', - vacancy: 25, - ), - const JobVacancyModel( - country: 'India', - job: 'Technical', - group: 'Developers', - role: 'Windows', - vacancy: 155, - ), - const JobVacancyModel( - country: 'India', - job: 'Technical', - group: 'Developers', - role: 'Web', - vacancy: 60, - ), - const JobVacancyModel( - country: 'Germany', - job: 'Sales', - group: 'Executive', - vacancy: 30, - ), - const JobVacancyModel( - country: 'Germany', - job: 'Sales', - group: 'Analyst', - vacancy: 40, - ), - const JobVacancyModel( - country: 'UK', - job: 'Technical', - group: 'Developers', - role: 'Windows', - vacancy: 100, - ), - const JobVacancyModel( - country: 'UK', - job: 'Technical', - group: 'Developers', - role: 'Web', - vacancy: 30, - ), - const JobVacancyModel( - country: 'UK', - job: 'HR Executives', - vacancy: 60, - ), - const JobVacancyModel( - country: 'UK', - job: 'Marketing', - vacancy: 40, - ), + JobVacancyModel(country: 'America', job: 'Sales', vacancy: 70), + JobVacancyModel( + country: 'America', job: 'Technical', group: 'Testers', vacancy: 35), + JobVacancyModel( + country: 'America', + job: 'Technical', + group: 'Developers', + role: 'Windows', + vacancy: 105), + JobVacancyModel( + country: 'America', + job: 'Technical', + group: 'Developers', + role: 'Web', + vacancy: 40), + JobVacancyModel(country: 'America', job: 'Management', vacancy: 40), + JobVacancyModel(country: 'America', job: 'Accounts', vacancy: 60), + JobVacancyModel( + country: 'India', job: 'Technical', group: 'Testers', vacancy: 25), + JobVacancyModel( + country: 'India', + job: 'Technical', + group: 'Developers', + role: 'Windows', + vacancy: 155), + JobVacancyModel( + country: 'India', + job: 'Technical', + group: 'Developers', + role: 'Web', + vacancy: 60), + JobVacancyModel( + country: 'Germany', job: 'Sales', group: 'Executive', vacancy: 30), + JobVacancyModel( + country: 'Germany', job: 'Sales', group: 'Analyst', vacancy: 40), + JobVacancyModel( + country: 'UK', + job: 'Technical', + group: 'Developers', + role: 'Windows', + vacancy: 100), + JobVacancyModel( + country: 'UK', + job: 'Technical', + group: 'Developers', + role: 'Web', + vacancy: 30), + JobVacancyModel(country: 'UK', job: 'HR Executives', vacancy: 60), + JobVacancyModel(country: 'UK', job: 'Marketing', vacancy: 40), ]; super.initState(); } @@ -514,62 +359,59 @@ class _LabelsAlignmentExampleState extends State { Widget build(BuildContext context) { return Scaffold( body: Center( - child: SizedBox( - height: 400, - width: 400, - child: SfTreemap( - dataCount: _source.length, - weightValueMapper: (int index) { - return _source[index].vacancy; - }, - levels: [ - TreemapLevel( - groupMapper: (int index) => _source[index].country, - color: Colors.pink, - labelBuilder: (BuildContext context, TreemapTile tile) { - return Align( - alignment: Alignment.center, - child: Text(tile.group), - ); - }, - ), - TreemapLevel( - groupMapper: (int index) => _source[index].job, - color: Colors.green, - labelBuilder: (BuildContext context, TreemapTile tile) { - return Align( - alignment: Alignment.center, - child: Text(tile.group), - ); - }, - ), - TreemapLevel( - groupMapper: (int index) => _source[index].group, - color: Colors.blue, - labelBuilder: (BuildContext context, TreemapTile tile) { - return Align( - alignment: Alignment.center, - child: Text(tile.group), - ); - }, - ), - ], + child: Container( + height: 400, + width: 400, + child: SfTreemap( + dataCount: _source.length, + weightValueMapper: (int index) { + return _source[index].vacancy; + }, + levels: [ + TreemapLevel( + groupMapper: (int index) => _source[index].country, + color: Colors.pink, + labelBuilder: (BuildContext context, TreemapTile tile) { + return Align( + alignment: Alignment.center, + child: Text(tile.group), + ); + }, + ), + TreemapLevel( + groupMapper: (int index) => _source[index].job, + color: Colors.green, + labelBuilder: (BuildContext context, TreemapTile tile) { + return Align( + alignment: Alignment.center, + child: Text(tile.group), + ); + }, + ), + TreemapLevel( + groupMapper: (int index) => _source[index].group, + color: Colors.blue, + labelBuilder: (BuildContext context, TreemapTile tile) { + return Align( + alignment: Alignment.center, + child: Text(tile.group), + ); + }, + ), + ], + ), ), ), - ), ); } -} class JobVacancyModel { - const JobVacancyModel({ - required this.country, - required this.job, - this.group, - this.role, - required this.vacancy, - }); - + const JobVacancyModel( + {required this.country, + required this.job, + this.group, + this.role, + required this.vacancy}); final String country; final String job; final String? group; @@ -580,4 +422,4 @@ class JobVacancyModel { {% endhighlight %} {% endtabs %} -![labels alignment](images/labels/labels-alignment.png) \ No newline at end of file +![labels alignment](images/labels/labels-alignment.png) diff --git a/chart-sdk/flutter/treemap/layout.md b/chart-sdk/flutter/treemap/layout.md index 46b1deafd..53ba09b7f 100644 --- a/chart-sdk/flutter/treemap/layout.md +++ b/chart-sdk/flutter/treemap/layout.md @@ -1,7 +1,7 @@ --- layout: post -title: Layouts in Flutter Treemap | Syncfusion® -description: Learn about layout options in Syncfusion® Flutter Treemap (SfTreemap), including slice, dice, squarified, and custom data visualization layouts. +title: Layouts in Flutter Treemap widget | Syncfusion +description: Learn here all about adding different layouts of the Syncfusion Flutter Treemap (SfTreemap) widget and more. platform: chart-sdk control: SfTreemap documentation: ug @@ -9,7 +9,7 @@ documentation: ug # Layouts in Flutter Treemap (SfTreemap) -This section explains the different layouts in the Treemap widget. The available layouts are: +This section explains the different layouts in the treemap widget. The available layouts are, * Squarified * Slice @@ -17,40 +17,22 @@ This section explains the different layouts in the Treemap widget. The available ## Squarified -The [`squarified`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/SfTreemap/SfTreemap.html) layout arranges the rectangles in a row and wraps them to the next row according to the available size. The size of each rectangle is based on the value returned from the [`weightValueMapper`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/SfTreemap/weightValueMapper.html) callback. By default, the squarified layout is used. +The [`squarified`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/SfTreemap/SfTreemap.html) layout will arrange the rectangles in a row and wrap them to the next row according to the available size. The size of the particular rectangle is based on the value returned from [`weightValueMapper`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/SfTreemap/weightValueMapper.html) callback. By default, squarified layout is used. {% tabs %} -{% highlight dart %} +{% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_treemap/treemap.dart'; - -class SquarifiedLayoutExample extends StatefulWidget { - const SquarifiedLayoutExample({super.key}); - - @override - State createState() => - _SquarifiedLayoutExampleState(); -} - -class _SquarifiedLayoutExampleState extends State { late List _dataSource; @override void initState() { _dataSource = [ - const PopulationModel(continent: 'Asia', populationInMillions: 25.4), - const PopulationModel( - continent: 'South America', - populationInMillions: 19.11, - ), - const PopulationModel( - continent: 'North America', - populationInMillions: 13.3, - ), - const PopulationModel(continent: 'Europe', populationInMillions: 10.65), - const PopulationModel(continent: 'Africa', populationInMillions: 7.54), - const PopulationModel(continent: 'Australia', populationInMillions: 4.93), + PopulationModel(continent: 'Asia', populationInMillions: 25.4), + PopulationModel(continent: 'South America', populationInMillions: 19.11), + PopulationModel(continent: 'North America', populationInMillions: 13.3), + PopulationModel(continent: 'Europe', populationInMillions: 10.65), + PopulationModel(continent: 'Africa', populationInMillions: 7.54), + PopulationModel(continent: 'Australia', populationInMillions: 4.93), ]; super.initState(); } @@ -58,30 +40,23 @@ class _SquarifiedLayoutExampleState extends State { @override Widget build(BuildContext context) { return Scaffold( - body: Center( - child: SizedBox( - height: 400, - width: 400, - child: SfTreemap( - dataCount: _dataSource.length, - weightValueMapper: (int index) { - return _dataSource[index].populationInMillions; - }, - levels: [ - TreemapLevel( - groupMapper: (int index) { - return _dataSource[index].continent; - }, - color: Colors.teal[200], - padding: const EdgeInsets.all(1.5), - ), - ], - ), + body: SfTreemap( + dataCount: _dataSource.length, + weightValueMapper: (int index) { + return _dataSource[index].populationInMillions; + }, + levels: [ + TreemapLevel( + groupMapper: (int index) { + return _dataSource[index].continent; + }, + color: Colors.teal[200], + padding: const EdgeInsets.all(1.5), + ), + ], ), - ), ); } -} class PopulationModel { const PopulationModel({ @@ -100,39 +75,22 @@ class PopulationModel { ## Slice -The [`slice`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/SfTreemap/SfTreemap.slice.html) layout arranges each rectangle in a horizontal direction. The size of each rectangle is based on the value returned from the [`weightValueMapper`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/SfTreemap/weightValueMapper.html) callback and the available height. +The [`slice`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/SfTreemap/SfTreemap.slice.html) layout will arrange each rectangle in a horizontal direction and the size of the rectangle will be based on the value returned from [`weightValueMapper`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/SfTreemap/weightValueMapper.html) callback and the available height. {% tabs %} -{% highlight dart %} - -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_treemap/treemap.dart'; - -class SliceLayoutExample extends StatefulWidget { - const SliceLayoutExample({super.key}); +{% highlight Dart %} - @override - State createState() => _SliceLayoutExampleState(); -} - -class _SliceLayoutExampleState extends State { late List _dataSource; @override void initState() { _dataSource = [ - const PopulationModel(continent: 'Asia', populationInMillions: 25.4), - const PopulationModel( - continent: 'South America', - populationInMillions: 19.11, - ), - const PopulationModel( - continent: 'North America', - populationInMillions: 13.3, - ), - const PopulationModel(continent: 'Europe', populationInMillions: 10.65), - const PopulationModel(continent: 'Africa', populationInMillions: 7.54), - const PopulationModel(continent: 'Australia', populationInMillions: 4.93), + PopulationModel(continent: 'Asia', populationInMillions: 25.4), + PopulationModel(continent: 'South America', populationInMillions: 19.11), + PopulationModel(continent: 'North America', populationInMillions: 13.3), + PopulationModel(continent: 'Europe', populationInMillions: 10.65), + PopulationModel(continent: 'Africa', populationInMillions: 7.54), + PopulationModel(continent: 'Australia', populationInMillions: 4.93), ]; super.initState(); } @@ -140,30 +98,23 @@ class _SliceLayoutExampleState extends State { @override Widget build(BuildContext context) { return Scaffold( - body: Center( - child: SizedBox( - height: 400, - width: 400, - child: SfTreemap.slice( - dataCount: _dataSource.length, - weightValueMapper: (int index) { - return _dataSource[index].populationInMillions; - }, - levels: [ - TreemapLevel( - groupMapper: (int index) { - return _dataSource[index].continent; - }, - color: Colors.teal[200], - padding: const EdgeInsets.all(1.5), - ), - ], - ), + body: SfTreemap.slice( + dataCount: _dataSource.length, + weightValueMapper: (int index) { + return _dataSource[index].populationInMillions; + }, + levels: [ + TreemapLevel( + groupMapper: (int index) { + return _dataSource[index].continent; + }, + color: Colors.teal[200], + padding: const EdgeInsets.all(1.5), + ), + ], ), - ), ); } -} class PopulationModel { const PopulationModel({ @@ -182,39 +133,22 @@ class PopulationModel { ## Dice -The [`dice`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/SfTreemap/SfTreemap.dice.html) layout arranges each rectangle in the vertical direction. The size of each rectangle is based on the value returned from the [`weightValueMapper`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/SfTreemap/weightValueMapper.html) callback and the available width. +The [`dice`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/SfTreemap/SfTreemap.dice.html) layout will arrange each rectangle in the vertical direction and the size of the rectangle will be based on the value returned from the [`weightValueMapper`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/SfTreemap/weightValueMapper.html) callback and the available width. {% tabs %} -{% highlight dart %} - -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_treemap/treemap.dart'; - -class DiceLayoutExample extends StatefulWidget { - const DiceLayoutExample({super.key}); - - @override - State createState() => _DiceLayoutExampleState(); -} +{% highlight Dart %} -class _DiceLayoutExampleState extends State { late List _dataSource; @override void initState() { _dataSource = [ - const PopulationModel(continent: 'Asia', populationInMillions: 25.4), - const PopulationModel( - continent: 'South America', - populationInMillions: 19.11, - ), - const PopulationModel( - continent: 'North America', - populationInMillions: 13.3, - ), - const PopulationModel(continent: 'Europe', populationInMillions: 10.65), - const PopulationModel(continent: 'Africa', populationInMillions: 7.54), - const PopulationModel(continent: 'Australia', populationInMillions: 4.93), + PopulationModel(continent: 'Asia', populationInMillions: 25.4), + PopulationModel(continent: 'South America', populationInMillions: 19.11), + PopulationModel(continent: 'North America', populationInMillions: 13.3), + PopulationModel(continent: 'Europe', populationInMillions: 10.65), + PopulationModel(continent: 'Africa', populationInMillions: 7.54), + PopulationModel(continent: 'Australia', populationInMillions: 4.93), ]; super.initState(); } @@ -222,30 +156,23 @@ class _DiceLayoutExampleState extends State { @override Widget build(BuildContext context) { return Scaffold( - body: Center( - child: SizedBox( - height: 400, - width: 400, - child: SfTreemap.dice( - dataCount: _dataSource.length, - weightValueMapper: (int index) { - return _dataSource[index].populationInMillions; - }, - levels: [ - TreemapLevel( - groupMapper: (int index) { - return _dataSource[index].continent; - }, - color: Colors.teal[200], - padding: const EdgeInsets.all(1.5), - ), - ], - ), + body: SfTreemap.dice( + dataCount: _dataSource.length, + weightValueMapper: (int index) { + return _dataSource[index].populationInMillions; + }, + levels: [ + TreemapLevel( + groupMapper: (int index) { + return _dataSource[index].continent; + }, + color: Colors.teal[200], + padding: const EdgeInsets.all(1.5), + ), + ], ), - ), ); } -} class PopulationModel { const PopulationModel({ @@ -269,36 +196,19 @@ Tiles start to layout from the top-left to the bottom-right of the rectangle by N> It is applicable for squarified treemap. {% tabs %} -{% highlight dart %} - -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_treemap/treemap.dart'; - -class LayoutDirectionExample extends StatefulWidget { - const LayoutDirectionExample({super.key}); - - @override - State createState() => _LayoutDirectionExampleState(); -} +{% highlight Dart %} -class _LayoutDirectionExampleState extends State { late List _dataSource; @override void initState() { _dataSource = [ - const PopulationModel(continent: 'Asia', populationInMillions: 25.4), - const PopulationModel( - continent: 'South America', - populationInMillions: 19.11, - ), - const PopulationModel( - continent: 'North America', - populationInMillions: 13.3, - ), - const PopulationModel(continent: 'Europe', populationInMillions: 10.65), - const PopulationModel(continent: 'Africa', populationInMillions: 7.54), - const PopulationModel(continent: 'Australia', populationInMillions: 4.93), + PopulationModel(continent: 'Asia', populationInMillions: 25.4), + PopulationModel(continent: 'South America', populationInMillions: 19.11), + PopulationModel(continent: 'North America', populationInMillions: 13.3), + PopulationModel(continent: 'Europe', populationInMillions: 10.65), + PopulationModel(continent: 'Africa', populationInMillions: 7.54), + PopulationModel(continent: 'Australia', populationInMillions: 4.93), ]; super.initState(); } @@ -307,37 +217,33 @@ class _LayoutDirectionExampleState extends State { Widget build(BuildContext context) { return Scaffold( body: Center( - child: SizedBox( - height: 400, - width: 400, - child: SfTreemap( - dataCount: _dataSource.length, - weightValueMapper: (int index) { - return _dataSource[index].populationInMillions; - }, - layoutDirection: TreemapLayoutDirection.bottomRight, - levels: [ - TreemapLevel( - groupMapper: (int index) { + child: Container( + height: 400, + width: 400, + child: SfTreemap( + dataCount: _dataSource.length, + weightValueMapper: (int index) { + return _dataSource[index].populationInMillions; + }, + layoutDirection: TreemapLayoutDirection.bottomRight, + levels: [ + TreemapLevel(groupMapper: (int index) { return _dataSource[index].continent; - }, - labelBuilder: (BuildContext context, TreemapTile tile) { + }, labelBuilder: (BuildContext context, TreemapTile tile) { return Padding( padding: const EdgeInsets.all(4.0), child: Text( tile.group, - style: const TextStyle(color: Colors.black), + style: TextStyle(color: Colors.black), ), ); - }, - ), - ], + }), + ], + ), ), - ), ), ); } -} class PopulationModel { const PopulationModel({ @@ -361,36 +267,19 @@ You can sort the tiles either in ascending or descending order based on the [`so N> It is applicable for slice and dice treemap. {% tabs %} -{% highlight dart %} +{% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_treemap/treemap.dart'; - -class SortingExample extends StatefulWidget { - const SortingExample({super.key}); - - @override - State createState() => _SortingExampleState(); -} - -class _SortingExampleState extends State { late List _dataSource; @override void initState() { _dataSource = [ - const PopulationModel(continent: 'Asia', populationInMillions: 25.4), - const PopulationModel( - continent: 'South America', - populationInMillions: 19.11, - ), - const PopulationModel( - continent: 'North America', - populationInMillions: 13.3, - ), - const PopulationModel(continent: 'Europe', populationInMillions: 10.65), - const PopulationModel(continent: 'Africa', populationInMillions: 7.54), - const PopulationModel(continent: 'Australia', populationInMillions: 4.93), + PopulationModel(continent: 'Asia', populationInMillions: 25.4), + PopulationModel(continent: 'South America', populationInMillions: 19.11), + PopulationModel(continent: 'North America', populationInMillions: 13.3), + PopulationModel(continent: 'Europe', populationInMillions: 10.65), + PopulationModel(continent: 'Africa', populationInMillions: 7.54), + PopulationModel(continent: 'Australia', populationInMillions: 4.93), ]; super.initState(); } @@ -399,37 +288,33 @@ class _SortingExampleState extends State { Widget build(BuildContext context) { return Scaffold( body: Center( - child: SizedBox( - height: 400, - width: 400, - child: SfTreemap.slice( - dataCount: _dataSource.length, - weightValueMapper: (int index) { - return _dataSource[index].populationInMillions; - }, - sortAscending: true, - levels: [ - TreemapLevel( - groupMapper: (int index) { + child: Container( + height: 400, + width: 400, + child: SfTreemap.slice( + dataCount: _dataSource.length, + weightValueMapper: (int index) { + return _dataSource[index].populationInMillions; + }, + sortAscending: true, + levels: [ + TreemapLevel(groupMapper: (int index) { return _dataSource[index].continent; - }, - labelBuilder: (BuildContext context, TreemapTile tile) { + }, labelBuilder: (BuildContext context, TreemapTile tile) { return Padding( padding: const EdgeInsets.all(4.0), child: Text( tile.group, - style: const TextStyle(color: Colors.black), + style: TextStyle(color: Colors.black), ), ); - }, - ), - ], + }), + ], + ), ), - ), ), ); } -} class PopulationModel { const PopulationModel({ diff --git a/chart-sdk/flutter/treemap/legend.md b/chart-sdk/flutter/treemap/legend.md index 94fc3a8ec..db61bfbd8 100644 --- a/chart-sdk/flutter/treemap/legend.md +++ b/chart-sdk/flutter/treemap/legend.md @@ -1,7 +1,7 @@ --- layout: post -title: Legend in Flutter Treemap | Syncfusion® -description: Learn about legend support in Syncfusion® Flutter Treemap (SfTreemap), including legend customization, color mapping, positioning, and styling options. +title: Legend in Flutter Treemap widget | Syncfusion +description: Learn here all about adding the Legend feature of Syncfusion Flutter Treemap (SfTreemap) widget and more. platform: chart-sdk control: SfTreemap documentation: ug @@ -15,22 +15,9 @@ The legend provides clarity about the data plotted on the treemap. To display a legend, initialize the [`SfTreemap.legend`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/SfTreemap/legend.html) property. By default, the legend item's text is rendered based on the value of [`TreemapLevel.groupMapper`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapLevel/groupMapper.html) property. The default value of the [`legend`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/SfTreemap/legend.html) property is `null`. -The examples in this section use the same data source and differ only in the legend constructor. - {% tabs %} -{% highlight dart %} - -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_treemap/treemap.dart'; - -class DefaultLegendExample extends StatefulWidget { - const DefaultLegendExample({super.key}); - - @override - State createState() => _DefaultLegendExampleState(); -} +{% highlight Dart %} -class _DefaultLegendExampleState extends State { late List _source; @override @@ -50,7 +37,7 @@ class _DefaultLegendExampleState extends State { Widget build(BuildContext context) { return Scaffold( body: Center( - child: SizedBox( + child: Container( height: 400, width: 400, child: SfTreemap( @@ -71,7 +58,6 @@ class _DefaultLegendExampleState extends State { ), ); } -} class SocialMediaUsers { const SocialMediaUsers(this.country, this.socialMedia, this.usersInMillions); @@ -94,19 +80,8 @@ N> You can show bar shape legend by initializing the [`SfTreemap.legend`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/SfTreemap/legend.html) property as [`TreemapLegend.bar`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapLegend/TreemapLegend.bar.html). By default, the legend item's text is rendered based on the value of [`TreemapLevel.groupMapper`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapLevel/groupMapper.html) property. {% tabs %} -{% highlight dart %} - -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_treemap/treemap.dart'; +{% highlight Dart %} -class BarLegendExample extends StatefulWidget { - const BarLegendExample({super.key}); - - @override - State createState() => _BarLegendExampleState(); -} - -class _BarLegendExampleState extends State { late List _source; @override @@ -126,7 +101,7 @@ class _BarLegendExampleState extends State { Widget build(BuildContext context) { return Scaffold( body: Center( - child: SizedBox( + child: Container( height: 400, width: 400, child: SfTreemap( @@ -147,7 +122,6 @@ class _BarLegendExampleState extends State { ), ); } -} class SocialMediaUsers { const SocialMediaUsers(this.country, this.socialMedia, this.usersInMillions); @@ -167,23 +141,11 @@ N> ## Icon and text customization -Legend icons and text are customized based on the [`TreemapLevel.color`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapLevel/color.html) and [`TreemapLevel.groupMapper`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapLevel/groupMapper.html) properties by default. It is possible to customize the legend icon colors and texts using the [`TreemapColorMapper.color`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapColorMapper/color.html) based on the [`TreemapColorMapper.value`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapColorMapper/value.html) or [`TreemapColorMapper.from`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapColorMapper/from.html) and [`TreemapColorMapper.to`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapColorMapper/to.html) properties. You can also customize the legend item's text using the [`TreemapColorMapper.name`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapColorMapper/name.html) when setting the [`TreemapColorMapper.range`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapColorMapper/TreemapColorMapper.range.html) color mapper constructor. +Customize legend icons and text based on the [`TreemapLevel.color`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapLevel/color.html) and [`TreemapLevel.groupMapper`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapLevel/groupMapper.html) properties respectively by default. It is possible to customize the legend icons color and texts using the [`TreemapColorMapper.color`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapColorMapper/color.html) based on the [`TreemapColorMapper.value`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapColorMapper/value.html) or [`TreemapColorMapper.from`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapColorMapper/from.html) and [`TreemapColorMapper.to`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapColorMapper/to.html) properties. You can also customize the legend item's text using the [`TreemapColorMapper.name`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapColorMapper/name.html) when setting the [`TreemapColorMapper.range`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapColorMapper/TreemapColorMapper.range.html) color mapper constructor. {% tabs %} -{% highlight dart %} - -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_treemap/treemap.dart'; +{% highlight Dart %} -class IconTextCustomizationExample extends StatefulWidget { - const IconTextCustomizationExample({super.key}); - - @override - State createState() => - _IconTextCustomizationExampleState(); -} - -class _IconTextCustomizationExampleState extends State { late List _source; late List _colorMappers; @@ -230,7 +192,6 @@ class _IconTextCustomizationExampleState extends State createState() => - _FirstSegmentLabelExampleState(); -} +{% highlight Dart %} -class _FirstSegmentLabelExampleState extends State { late List _source; late List _colorMappers; @@ -315,7 +264,6 @@ class _FirstSegmentLabelExampleState extends State { ), ); } -} class SocialMediaUsers { const SocialMediaUsers(this.country, this.socialMedia, this.usersInMillions); @@ -332,25 +280,13 @@ class SocialMediaUsers { ## Scrollbar visibility -You can control the visibility of the scrollbar in the treemap legend using the [`shouldAlwaysShowScrollbar`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapLegend/shouldAlwaysShowScrollbar.html) property. When set to `true`, the scrollbar for the legend will always be visible, making it easier to see and navigate through legend items, even if all items fit within the available space. +You can control the visibility of the scrollbar in the treemap legend using the [`shouldAlwaysShowScrollbar`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapLegend/shouldAlwaysShowScrollbar.html) property. When set to `true`, the scrollbar for the legend will always be visible, making it easier to see and navigate through legend items, even if all items fit within the available space. The default value is `false`, so the scrollbar appears in legend only when the legend items exceed the available space and scrolling is needed. {% tabs %} -{% highlight dart %} - -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_treemap/treemap.dart'; +{% highlight Dart %} -class ScrollbarVisibilityExample extends StatefulWidget { - const ScrollbarVisibilityExample({super.key}); - - @override - State createState() => - _ScrollbarVisibilityExampleState(); -} - -class _ScrollbarVisibilityExampleState extends State { late List _source; @override @@ -370,7 +306,7 @@ class _ScrollbarVisibilityExampleState extends State Widget build(BuildContext context) { return Scaffold( body: Center( - child: SizedBox( + child: Container( height: 400, width: 400, child: SfTreemap( @@ -394,7 +330,6 @@ class _ScrollbarVisibilityExampleState extends State ), ); } -} class SocialMediaUsers { const SocialMediaUsers(this.country, this.socialMedia, this.usersInMillions); @@ -414,19 +349,8 @@ You can set a title specifically for the legend in the treemap by using the [`ti By default, the value of the legend's [`title`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapLegend/title.html) property is `null`, indicating that no title is displayed for the legend, unless it is specified explicitly. {% tabs %} -{% highlight dart %} +{% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_treemap/treemap.dart'; - -class LegendTitleExample extends StatefulWidget { - const LegendTitleExample({super.key}); - - @override - State createState() => _LegendTitleExampleState(); -} - -class _LegendTitleExampleState extends State { late List _source; @override @@ -446,7 +370,7 @@ class _LegendTitleExampleState extends State { Widget build(BuildContext context) { return Scaffold( body: Center( - child: SizedBox( + child: Container( height: 400, width: 400, child: SfTreemap( @@ -469,7 +393,6 @@ class _LegendTitleExampleState extends State { ), ); } -} class SocialMediaUsers { const SocialMediaUsers(this.country, this.socialMedia, this.usersInMillions); @@ -489,19 +412,8 @@ class SocialMediaUsers { You can position the legend items in different directions using the [`TreemapLegend.position`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapLegend/position.html) property. The default value of the [position`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapLegend/position.html) property is [`TreemapLegendPosition.top`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapLegendPosition.html). The possible values are [`left`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapLegendPosition.html#left), [`right`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapLegendPosition.html#right), [`top`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapLegendPosition.html#top), and [`bottom`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapLegendPosition.html#bottom). {% tabs %} -{% highlight dart %} - -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_treemap/treemap.dart'; - -class LegendPositionExample extends StatefulWidget { - const LegendPositionExample({super.key}); +{% highlight Dart %} - @override - State createState() => _LegendPositionExampleState(); -} - -class _LegendPositionExampleState extends State { late List _source; @override @@ -521,7 +433,7 @@ class _LegendPositionExampleState extends State { Widget build(BuildContext context) { return Scaffold( body: Center( - child: SizedBox( + child: Container( height: 400, width: 400, child: SfTreemap( @@ -544,7 +456,6 @@ class _LegendPositionExampleState extends State { ), ); } -} class SocialMediaUsers { const SocialMediaUsers(this.country, this.socialMedia, this.usersInMillions); @@ -564,24 +475,13 @@ N> ## Offset -You can place the legend in a custom position using the [`TreemapLegend.offset`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapLegend/offset.html) property. The default value of the [`offset`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapLegend/offset.html) property is `null`. +You can place the legend in custom position using the [`TreemapLegend.offset`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapLegend/offset.html) property. The default value of the [`offset`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapLegend/offset.html) property is `null`. -If the property [`TreemapLegend.offset`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapLegend/offset.html) has been set with the property [`TreemapLegend.position`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapLegend/position.html) as top, then the legend will be placed at the top but with an absolute position, meaning it will not take a dedicated position and will be drawn at the top of the map. +If the property [`TreemapLegend.offset`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapLegend/offset.html) has been set with the property [`TreemapLegend.position`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapLegend/position.html) as top, then the legend will be placed in top but with absolute position, i.e. legend will not take dedicated position for it and will be drawn at the top of the map. {% tabs %} -{% highlight dart %} - -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_treemap/treemap.dart'; - -class LegendOffsetExample extends StatefulWidget { - const LegendOffsetExample({super.key}); - - @override - State createState() => _LegendOffsetExampleState(); -} +{% highlight Dart %} -class _LegendOffsetExampleState extends State { late List _source; @override @@ -601,7 +501,7 @@ class _LegendOffsetExampleState extends State { Widget build(BuildContext context) { return Scaffold( body: Center( - child: SizedBox( + child: Container( height: 400, width: 400, child: SfTreemap( @@ -617,14 +517,13 @@ class _LegendOffsetExampleState extends State { ), ], legend: TreemapLegend( - offset: const Offset(70, 250), + offset: Offset(70, 250), ), ), ), ), ); } -} class SocialMediaUsers { const SocialMediaUsers(this.country, this.socialMedia, this.usersInMillions); @@ -650,19 +549,8 @@ If the legend position is `left` or `right`, then the default scroll direction i If the legend position is `top` or `bottom`, then the default scroll direction is `horizontal`. {% tabs %} -{% highlight dart %} - -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_treemap/treemap.dart'; - -class OverflowModeExample extends StatefulWidget { - const OverflowModeExample({super.key}); - - @override - State createState() => _OverflowModeExampleState(); -} +{% highlight Dart %} -class _OverflowModeExampleState extends State { late List _source; @override @@ -684,30 +572,29 @@ class _OverflowModeExampleState extends State { Widget build(BuildContext context) { return Scaffold( body: Center( - child: SizedBox( - height: 400, - width: 400, - child: SfTreemap( - dataCount: _source.length, - weightValueMapper: (int index) { - return _source[index].usersInMillions; - }, - levels: [ - TreemapLevel( - groupMapper: (int index) { - return _source[index].country; - }, + child: Container( + height: 400, + width: 400, + child: SfTreemap( + dataCount: _source.length, + weightValueMapper: (int index) { + return _source[index].usersInMillions; + }, + levels: [ + TreemapLevel( + groupMapper: (int index) { + return _source[index].country; + }, + ), + ], + legend: TreemapLegend( + overflowMode: TreemapLegendOverflowMode.scroll, ), - ], - legend: TreemapLegend( - overflowMode: TreemapLegendOverflowMode.scroll, ), ), ), - ), ); } -} class SocialMediaUsers { const SocialMediaUsers(this.country, this.socialMedia, this.usersInMillions); @@ -731,19 +618,8 @@ If the legend position is `left` or `right`, then the default scroll direction i If the legend position is `top` or `bottom`, then the default scroll direction is `horizontal`. {% tabs %} -{% highlight dart %} - -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_treemap/treemap.dart'; - -class BarOverflowModeExample extends StatefulWidget { - const BarOverflowModeExample({super.key}); - - @override - State createState() => _BarOverflowModeExampleState(); -} +{% highlight Dart %} -class _BarOverflowModeExampleState extends State { late List _source; @override @@ -763,30 +639,29 @@ class _BarOverflowModeExampleState extends State { Widget build(BuildContext context) { return Scaffold( body: Center( - child: SizedBox( - height: 400, - width: 400, - child: SfTreemap( - dataCount: _source.length, - weightValueMapper: (int index) { - return _source[index].usersInMillions; - }, - levels: [ - TreemapLevel( - groupMapper: (int index) { - return _source[index].country; - }, + child: Container( + height: 400, + width: 400, + child: SfTreemap( + dataCount: _source.length, + weightValueMapper: (int index) { + return _source[index].usersInMillions; + }, + levels: [ + TreemapLevel( + groupMapper: (int index) { + return _source[index].country; + }, + ), + ], + legend: TreemapLegend.bar( + overflowMode: TreemapLegendOverflowMode.scroll, ), - ], - legend: TreemapLegend.bar( - overflowMode: TreemapLegendOverflowMode.scroll, ), ), ), - ), ); } -} class SocialMediaUsers { const SocialMediaUsers(this.country, this.socialMedia, this.usersInMillions); @@ -809,30 +684,19 @@ N> You can customize the legend item's text style using the [`TreemapLegend.textStyle`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapLegend/textStyle.html) property. {% tabs %} -{% highlight dart %} - -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_treemap/treemap.dart'; +{% highlight Dart %} -class TextStyleExample extends StatefulWidget { - const TextStyleExample({super.key}); - - @override - State createState() => _TextStyleExampleState(); -} - -class _TextStyleExampleState extends State { late List _source; @override void initState() { _source = [ - SocialMediaUsers('India', 'Facebook', 25.4), - SocialMediaUsers('USA', 'Instagram', 19.11), - SocialMediaUsers('Japan', 'Facebook', 13.3), - SocialMediaUsers('Germany', 'Instagram', 10.65), - SocialMediaUsers('France', 'Twitter', 7.54), - SocialMediaUsers('UK', 'Instagram', 4.93), + SocialMediaUsers('India', 'Facebook', 25.4), + SocialMediaUsers('USA', 'Instagram', 19.11), + SocialMediaUsers('Japan', 'Facebook', 13.3), + SocialMediaUsers('Germany', 'Instagram', 10.65), + SocialMediaUsers('France', 'Twitter', 7.54), + SocialMediaUsers('UK', 'Instagram', 4.93), ]; super.initState(); } @@ -841,35 +705,34 @@ class _TextStyleExampleState extends State { Widget build(BuildContext context) { return Scaffold( body: Center( - child: SizedBox( - height: 400, - width: 400, - child: SfTreemap( - dataCount: _source.length, - weightValueMapper: (int index) { - return _source[index].usersInMillions; - }, - levels: [ - TreemapLevel( - groupMapper: (int index) { - return _source[index].country; - }, - ), - ], - legend: TreemapLegend( - textStyle: const TextStyle( - color: Colors.red, - fontSize: 14, - fontWeight: FontWeight.bold, - fontStyle: FontStyle.italic, + child: Container( + height: 400, + width: 400, + child: SfTreemap( + dataCount: _source.length, + weightValueMapper: (int index) { + return _source[index].usersInMillions; + }, + levels: [ + TreemapLevel( + groupMapper: (int index) { + return _source[index].country; + }, + ), + ], + legend: TreemapLegend( + textStyle: TextStyle( + color: Colors.red, + fontSize: 14, + fontWeight: FontWeight.bold, + fontStyle: FontStyle.italic, + ), ), ), ), ), - ), ); } -} class SocialMediaUsers { const SocialMediaUsers(this.country, this.socialMedia, this.usersInMillions); @@ -895,31 +758,19 @@ You can customize the legend items using the following properties. * **padding** - Used to set padding around the legend. The default value of the [`padding`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapLegend/padding.html) property is `EdgeInsets.all(10.0)`. {% tabs %} -{% highlight dart %} +{% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_treemap/treemap.dart'; - -class LegendAppearanceExample extends StatefulWidget { - const LegendAppearanceExample({super.key}); - - @override - State createState() => - _LegendAppearanceExampleState(); -} - -class _LegendAppearanceExampleState extends State { late List _source; @override void initState() { _source = [ - SocialMediaUsers('India', 'Facebook', 25.4), - SocialMediaUsers('USA', 'Instagram', 19.11), - SocialMediaUsers('Japan', 'Facebook', 13.3), - SocialMediaUsers('Germany', 'Instagram', 10.65), - SocialMediaUsers('France', 'Twitter', 7.54), - SocialMediaUsers('UK', 'Instagram', 4.93), + SocialMediaUsers('India', 'Facebook', 25.4), + SocialMediaUsers('USA', 'Instagram', 19.11), + SocialMediaUsers('Japan', 'Facebook', 13.3), + SocialMediaUsers('Germany', 'Instagram', 10.65), + SocialMediaUsers('France', 'Twitter', 7.54), + SocialMediaUsers('UK', 'Instagram', 4.93), ]; super.initState(); } @@ -928,34 +779,33 @@ class _LegendAppearanceExampleState extends State { Widget build(BuildContext context) { return Scaffold( body: Center( - child: SizedBox( - height: 400, - width: 400, - child: SfTreemap( - dataCount: _source.length, - weightValueMapper: (int index) { - return _source[index].usersInMillions; - }, - levels: [ - TreemapLevel( - groupMapper: (int index) { - return _source[index].country; - }, + child: Container( + height: 400, + width: 400, + child: SfTreemap( + dataCount: _source.length, + weightValueMapper: (int index) { + return _source[index].usersInMillions; + }, + levels: [ + TreemapLevel( + groupMapper: (int index) { + return _source[index].country; + }, + ), + ], + legend: TreemapLegend( + iconType: TreemapIconType.triangle, + iconSize: Size(12.0, 12.0), + spacing: 15, + padding: EdgeInsets.all(12.0), + direction: Axis.vertical, ), - ], - legend: TreemapLegend( - iconType: TreemapIconType.triangle, - iconSize: const Size(12.0, 12.0), - spacing: 15, - padding: const EdgeInsets.all(12.0), - direction: Axis.vertical, ), ), ), - ), ); } -} class SocialMediaUsers { const SocialMediaUsers(this.country, this.socialMedia, this.usersInMillions); @@ -980,38 +830,27 @@ N> You can set solid color for the legend bar by using the [`TreemapLegendPaintingStyle.solid`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapLegendPaintingStyle.html#solid). By defaults [`TreemapLegendPaintingStyle`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapLegendPaintingStyle.html) will be [`solid`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapLegendPaintingStyle.html#solid). {% tabs %} -{% highlight dart %} - -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_treemap/treemap.dart'; - -class SolidBarLegendExample extends StatefulWidget { - const SolidBarLegendExample({super.key}); - - @override - State createState() => _SolidBarLegendExampleState(); -} +{% highlight Dart %} -class _SolidBarLegendExampleState extends State { late List _source; late List _colorMappers; @override void initState() { _source = [ - SocialMediaUsers('India', 'Facebook', 25.4), - SocialMediaUsers('USA', 'Instagram', 19.11), - SocialMediaUsers('Japan', 'Facebook', 13.3), - SocialMediaUsers('Germany', 'Instagram', 10.65), - SocialMediaUsers('France', 'Twitter', 7.54), - SocialMediaUsers('UK', 'Instagram', 4.93), + SocialMediaUsers('India', 'Facebook', 25.4), + SocialMediaUsers('USA', 'Instagram', 19.11), + SocialMediaUsers('Japan', 'Facebook', 13.3), + SocialMediaUsers('Germany', 'Instagram', 10.65), + SocialMediaUsers('France', 'Twitter', 7.54), + SocialMediaUsers('UK', 'Instagram', 4.93), ]; _colorMappers = [ - TreemapColorMapper.range(from: 0, to: 10, color: Colors.blue[200]!), - TreemapColorMapper.range(from: 10, to: 20, color: Colors.deepOrange), - TreemapColorMapper.range(from: 20, to: 30, color: Colors.blue[800]!), - ]; + TreemapColorMapper.range(from: 0, to: 10, color: Colors.blue[200]!), + TreemapColorMapper.range(from: 10, to: 20, color: Colors.deepOrange), + TreemapColorMapper.range(from: 20, to: 30, color: Colors.blue[800]!), + ]; super.initState(); } @@ -1019,29 +858,28 @@ class _SolidBarLegendExampleState extends State { Widget build(BuildContext context) { return Scaffold( body: SfTreemap( - dataCount: _source.length, - weightValueMapper: (int index) { - return _source[index].usersInMillions; - }, - levels: [ - TreemapLevel( - padding: const EdgeInsets.all(1.5), - groupMapper: (int index) { - return _source[index].country; - }, - colorValueMapper: (TreemapTile tile) { - return tile.weight; - }, + dataCount: _source.length, + weightValueMapper: (int index) { + return _source[index].usersInMillions; + }, + levels: [ + TreemapLevel( + padding: const EdgeInsets.all(1.5), + groupMapper: (int index) { + return _source[index].country; + }, + colorValueMapper: (TreemapTile tile) { + return tile.weight; + }, + ), + ], + colorMappers: _colorMappers, + legend: TreemapLegend.bar( + segmentPaintingStyle: TreemapLegendPaintingStyle.solid, ), - ], - colorMappers: _colorMappers, - legend: TreemapLegend.bar( - segmentPaintingStyle: TreemapLegendPaintingStyle.solid, ), - ), ); } -} class SocialMediaUsers { const SocialMediaUsers(this.country, this.socialMedia, this.usersInMillions); @@ -1061,39 +899,27 @@ class SocialMediaUsers { You can set gradient color for the legend bar by using the [`TreemapLegendPaintingStyle.gradient`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapLegendPaintingStyle.html#gradient). {% tabs %} -{% highlight dart %} - -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_treemap/treemap.dart'; - -class GradientBarLegendExample extends StatefulWidget { - const GradientBarLegendExample({super.key}); - - @override - State createState() => - _GradientBarLegendExampleState(); -} +{% highlight Dart %} -class _GradientBarLegendExampleState extends State { late List _source; late List _colorMappers; @override void initState() { _source = [ - SocialMediaUsers('India', 'Facebook', 25.4), - SocialMediaUsers('USA', 'Instagram', 19.11), - SocialMediaUsers('Japan', 'Facebook', 13.3), - SocialMediaUsers('Germany', 'Instagram', 10.65), - SocialMediaUsers('France', 'Twitter', 7.54), - SocialMediaUsers('UK', 'Instagram', 4.93), + SocialMediaUsers('India', 'Facebook', 25.4), + SocialMediaUsers('USA', 'Instagram', 19.11), + SocialMediaUsers('Japan', 'Facebook', 13.3), + SocialMediaUsers('Germany', 'Instagram', 10.65), + SocialMediaUsers('France', 'Twitter', 7.54), + SocialMediaUsers('UK', 'Instagram', 4.93), ]; _colorMappers = [ - TreemapColorMapper.range(from: 0, to: 10, color: Colors.blue[200]!), - TreemapColorMapper.range(from: 10, to: 20, color: Colors.deepOrange), - TreemapColorMapper.range(from: 20, to: 30, color: Colors.blue[800]!), - ]; + TreemapColorMapper.range(from: 0, to: 10, color: Colors.blue[200]!), + TreemapColorMapper.range(from: 10, to: 20, color: Colors.deepOrange), + TreemapColorMapper.range(from: 20, to: 30, color: Colors.blue[800]!), + ]; super.initState(); } @@ -1101,29 +927,28 @@ class _GradientBarLegendExampleState extends State { Widget build(BuildContext context) { return Scaffold( body: SfTreemap( - dataCount: _source.length, - weightValueMapper: (int index) { - return _source[index].usersInMillions; - }, - levels: [ - TreemapLevel( - padding: const EdgeInsets.all(1.5), - groupMapper: (int index) { - return _source[index].country; - }, - colorValueMapper: (TreemapTile tile) { - return tile.weight; - }, + dataCount: _source.length, + weightValueMapper: (int index) { + return _source[index].usersInMillions; + }, + levels: [ + TreemapLevel( + padding: const EdgeInsets.all(1.5), + groupMapper: (int index) { + return _source[index].country; + }, + colorValueMapper: (TreemapTile tile) { + return tile.weight; + }, + ), + ], + colorMappers: _colorMappers, + legend: TreemapLegend.bar( + segmentPaintingStyle: TreemapLegendPaintingStyle.gradient, ), - ], - colorMappers: _colorMappers, - legend: TreemapLegend.bar( - segmentPaintingStyle: TreemapLegendPaintingStyle.gradient, ), - ), ); } -} class SocialMediaUsers { const SocialMediaUsers(this.country, this.socialMedia, this.usersInMillions); @@ -1150,31 +975,19 @@ You can customize the legend items using the following properties. * **padding** - Used to set padding around the legend. The default value of the [`padding`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapLegend/TreemapLegend.bar.html) property is `EdgeInsets.all(10.0)`. {% tabs %} -{% highlight dart %} +{% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_treemap/treemap.dart'; - -class BarLegendAppearanceExample extends StatefulWidget { - const BarLegendAppearanceExample({super.key}); - - @override - State createState() => - _BarLegendAppearanceExampleState(); -} - -class _BarLegendAppearanceExampleState extends State { late List _source; @override void initState() { _source = [ - SocialMediaUsers('India', 'Facebook', 25.4), - SocialMediaUsers('USA', 'Instagram', 19.11), - SocialMediaUsers('Japan', 'Facebook', 13.3), - SocialMediaUsers('Germany', 'Instagram', 10.65), - SocialMediaUsers('United Kingdom', 'Instagram', 4.93), - SocialMediaUsers('France', 'Twitter', 7.54), + SocialMediaUsers('India', 'Facebook', 25.4), + SocialMediaUsers('USA', 'Instagram', 19.11), + SocialMediaUsers('Japan', 'Facebook', 13.3), + SocialMediaUsers('Germany', 'Instagram', 10.65), + SocialMediaUsers('United Kingdom', 'Instagram', 4.93), + SocialMediaUsers('France', 'Twitter', 7.54), ]; super.initState(); } @@ -1183,35 +996,34 @@ class _BarLegendAppearanceExampleState extends State Widget build(BuildContext context) { return Scaffold( body: Center( - child: SizedBox( - height: 400, - width: 400, - child: SfTreemap( - dataCount: _source.length, - weightValueMapper: (int index) { - return _source[index].usersInMillions; - }, - levels: [ - TreemapLevel( - groupMapper: (int index) { - return _source[index].country; - }, + child: Container( + height: 400, + width: 400, + child: SfTreemap( + dataCount: _source.length, + weightValueMapper: (int index) { + return _source[index].usersInMillions; + }, + levels: [ + TreemapLevel( + groupMapper: (int index) { + return _source[index].country; + }, + ), + ], + legend: TreemapLegend.bar( + segmentSize: Size(60, 12), + labelOverflow: TreemapLabelOverflow.ellipsis, + edgeLabelsPlacement: TreemapLegendEdgeLabelsPlacement.center, + padding: EdgeInsets.all(12), + direction: Axis.horizontal, + spacing: 5, ), - ], - legend: TreemapLegend.bar( - segmentSize: const Size(60, 12), - labelOverflow: TreemapLabelOverflow.ellipsis, - edgeLabelsPlacement: TreemapLegendEdgeLabelsPlacement.center, - padding: const EdgeInsets.all(12), - direction: Axis.horizontal, - spacing: 5, ), ), ), - ), ); } -} class SocialMediaUsers { const SocialMediaUsers(this.country, this.socialMedia, this.usersInMillions); @@ -1235,39 +1047,27 @@ You can place the labels either between the segments or on the segments using th The labels are positioned between the segments when setting range color mapper without setting color mapper [`TreemapColorMapper.name`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapColorMapper/name.html) property. The [`TreemapColorMapper.from`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapColorMapper/from.html) value of the first item is positioned at starting point of the first segment and the [`TreemapColorMapper.to`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapColorMapper/to.html) value of the first item is placed at the first segment end position. For other segments, the values of [`TreemapColorMapper.to`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapColorMapper/to.html) is positioned as label between the other segments. {% tabs %} -{% highlight dart %} - -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_treemap/treemap.dart'; - -class LabelPlacementRangeColorMapperExample extends StatefulWidget { - const LabelPlacementRangeColorMapperExample({super.key}); - - @override - State createState() => - _LabelPlacementRangeColorMapperExampleState(); -} +{% highlight Dart %} -class _LabelPlacementRangeColorMapperExampleState extends State { late List _source; late List _colorMappers; @override void initState() { _source = [ - SocialMediaUsers('India', 'Facebook', 25.4), - SocialMediaUsers('USA', 'Instagram', 19.11), - SocialMediaUsers('Japan', 'Facebook', 13.3), - SocialMediaUsers('Germany', 'Instagram', 10.65), - SocialMediaUsers('France', 'Twitter', 7.54), - SocialMediaUsers('UK', 'Instagram', 4.93), + SocialMediaUsers('India', 'Facebook', 25.4), + SocialMediaUsers('USA', 'Instagram', 19.11), + SocialMediaUsers('Japan', 'Facebook', 13.3), + SocialMediaUsers('Germany', 'Instagram', 10.65), + SocialMediaUsers('France', 'Twitter', 7.54), + SocialMediaUsers('UK', 'Instagram', 4.93), ]; _colorMappers = [ - TreemapColorMapper.range(from: 0, to: 10, color: Colors.blue[200]!), - TreemapColorMapper.range(from: 10, to: 20, color: Colors.deepOrange), - TreemapColorMapper.range(from: 20, to: 30, color: Colors.blue[800]!), - ]; + TreemapColorMapper.range(from: 0, to: 10, color: Colors.blue[200]!), + TreemapColorMapper.range(from: 10, to: 20, color: Colors.deepOrange), + TreemapColorMapper.range(from: 20, to: 30, color: Colors.blue[800]!), + ]; super.initState(); } @@ -1275,30 +1075,29 @@ class _LabelPlacementRangeColorMapperExampleState extends State createState() => - _NamedRangeColorMapperExampleState(); -} - -class _NamedRangeColorMapperExampleState extends State { late List _source; late List _colorMappers; @override void initState() { _source = [ - SocialMediaUsers('India', 'Facebook', 25.4), - SocialMediaUsers('USA', 'Instagram', 19.11), - SocialMediaUsers('Japan', 'Facebook', 13.3), - SocialMediaUsers('Germany', 'Instagram', 10.65), - SocialMediaUsers('France', 'Twitter', 7.54), - SocialMediaUsers('UK', 'Instagram', 4.93), + SocialMediaUsers('India', 'Facebook', 25.4), + SocialMediaUsers('USA', 'Instagram', 19.11), + SocialMediaUsers('Japan', 'Facebook', 13.3), + SocialMediaUsers('Germany', 'Instagram', 10.65), + SocialMediaUsers('France', 'Twitter', 7.54), + SocialMediaUsers('UK', 'Instagram', 4.93), ]; _colorMappers = [ - TreemapColorMapper.range( - from: 0, to: 10, color: Colors.blue[200]!, name: '<10'), - TreemapColorMapper.range( - from: 10, to: 20, color: Colors.deepOrange, name: '10 - 20'), - TreemapColorMapper.range( - from: 20, to: 30, color: Colors.blue[800]!, name: '20 - 30'), - ]; + TreemapColorMapper.range( + from: 0, to: 10, color: Colors.blue[200]!, name: '<10'), + TreemapColorMapper.range( + from: 10, to: 20, color: Colors.deepOrange, name: '10 - 20'), + TreemapColorMapper.range( + from: 20, to: 30, color: Colors.blue[800]!, name: '20 - 30'), + ]; super.initState(); } @@ -1359,30 +1146,29 @@ class _NamedRangeColorMapperExampleState extends State createState() => - _BarLegendLabelPlacementExampleState(); -} - -class _BarLegendLabelPlacementExampleState extends State { +{% highlight Dart %} late List _source; late List _colorMappers; @@ -1468,7 +1241,6 @@ class _BarLegendLabelPlacementExampleState extends State createState() => - _PointerCustomizationExampleState(); -} - -class _PointerCustomizationExampleState extends State { +{% highlight Dart %} late List _source; late List _colorMappers; @@ -1555,7 +1314,6 @@ class _PointerCustomizationExampleState extends State createState() => _ShowPointerExampleState(); -} +{% highlight Dart %} -class _ShowPointerExampleState extends State { late List _population; late List _colorMappers; @@ -1615,36 +1362,37 @@ class _ShowPointerExampleState extends State { @override Widget build(BuildContext context) { - return Scaffold( - body: Center( - child: SizedBox( - height: 400, - width: 400, - child: SfTreemap( - dataCount: _population.length, - weightValueMapper: (int index) => - _population[index].population.toDouble(), - colorMappers: _colorMappers, - legend: TreemapLegend.bar( - segmentPaintingStyle: TreemapLegendPaintingStyle.gradient, - showPointerOnHover: true, + return MaterialApp( + home: Scaffold( + body: Center( + child: Container( + height: 400, + width: 400, + child: SfTreemap( + dataCount: _population.length, + weightValueMapper: (int index) => + _population[index].population.toDouble(), + colorMappers: _colorMappers, + legend: TreemapLegend.bar( + segmentPaintingStyle: TreemapLegendPaintingStyle.gradient, + showPointerOnHover: true, + ), + levels: [ + TreemapLevel( + groupMapper: (int index) { + return _population[index].state; + }, + colorValueMapper: (TreemapTile tile) { + return _population[tile.indices[0]].population / 10000; + }, + ) + ], + ), ), - levels: [ - TreemapLevel( - groupMapper: (int index) { - return _population[index].state; - }, - colorValueMapper: (TreemapTile tile) { - return _population[tile.indices[0]].population / 10000; - }, - ) - ], ), ), - ), ); } -} class IndianPopulation { const IndianPopulation(this.state, this.population); @@ -1667,19 +1415,8 @@ The pointer is used to indicate the exact color of the hovering tile on the lege The [`pointerBuilder`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapLegend/pointerBuilder.html) will be called when the user interacts with the tiles i.e., while tapping in touch devices and hovering in the mouse enabled devices. {% tabs %} -{% highlight dart %} - -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_treemap/treemap.dart'; - -class PointerBuilderExample extends StatefulWidget { - const PointerBuilderExample({super.key}); +{% highlight Dart %} - @override - State createState() => _PointerBuilderExampleState(); -} - -class _PointerBuilderExampleState extends State { late List _population; late List _colorMappers; @@ -1707,39 +1444,40 @@ class _PointerBuilderExampleState extends State { @override Widget build(BuildContext context) { - return Scaffold( - body: Center( - child: SizedBox( - height: 400, - width: 400, - child: SfTreemap( - dataCount: _population.length, - weightValueMapper: (int index) => - _population[index].population.toDouble(), - colorMappers: _colorMappers, - legend: TreemapLegend.bar( - segmentPaintingStyle: TreemapLegendPaintingStyle.gradient, - showPointerOnHover: true, - pointerBuilder: (BuildContext context, dynamic value) { - return const Icon(Icons.arrow_downward, size: 15); - }, + return MaterialApp( + home: Scaffold( + body: Center( + child: Container( + height: 400, + width: 400, + child: SfTreemap( + dataCount: _population.length, + weightValueMapper: (int index) => + _population[index].population.toDouble(), + colorMappers: _colorMappers, + legend: TreemapLegend.bar( + segmentPaintingStyle: TreemapLegendPaintingStyle.gradient, + showPointerOnHover: true, + pointerBuilder: (BuildContext context, dynamic value) { + return Icon(Icons.arrow_downward, size: 15); + }, + ), + levels: [ + TreemapLevel( + groupMapper: (int index) { + return _population[index].state; + }, + colorValueMapper: (TreemapTile tile) { + return _population[tile.indices[0]].population / 10000; + }, + ) + ], + ), ), - levels: [ - TreemapLevel( - groupMapper: (int index) { - return _population[index].state; - }, - colorValueMapper: (TreemapTile tile) { - return _population[tile.indices[0]].population / 10000; - }, - ) - ], ), ), - ), ); } -} class IndianPopulation { const IndianPopulation(this.state, this.population); @@ -1758,20 +1496,8 @@ class IndianPopulation { You can customize the size and color of the pointer using the [`pointerSize`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapLegend/pointerSize.html) and [`pointerColor`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapLegend/pointerColor.html) properties. The default value of the [`pointerSize`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapLegend/pointerSize.html) property is `Size(16, 12)`. {% tabs %} -{% highlight dart %} +{% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_treemap/treemap.dart'; - -class PointerCustomizationExample extends StatefulWidget { - const PointerCustomizationExample({super.key}); - - @override - State createState() => - _PointerCustomizationExampleState(); -} - -class _PointerCustomizationExampleState extends State { late List _population; late List _colorMappers; @@ -1799,38 +1525,39 @@ class _PointerCustomizationExampleState extends State - _population[index].population.toDouble(), - colorMappers: _colorMappers, - legend: TreemapLegend.bar( - segmentPaintingStyle: TreemapLegendPaintingStyle.gradient, - showPointerOnHover: true, - pointerSize: const Size(20, 20), - pointerColor: Colors.deepPurple, + return MaterialApp( + home: Scaffold( + body: Center( + child: Container( + height: 400, + width: 400, + child: SfTreemap( + dataCount: _population.length, + weightValueMapper: (int index) => + _population[index].population.toDouble(), + colorMappers: _colorMappers, + legend: TreemapLegend.bar( + segmentPaintingStyle: TreemapLegendPaintingStyle.gradient, + showPointerOnHover: true, + pointerSize: Size(20, 20), + pointerColor: Colors.deepPurple, + ), + levels: [ + TreemapLevel( + groupMapper: (int index) { + return _population[index].state; + }, + colorValueMapper: (TreemapTile tile) { + return _population[tile.indices[0]].population / 10000; + }, + ) + ], + ), ), - levels: [ - TreemapLevel( - groupMapper: (int index) { - return _population[index].state; - }, - colorValueMapper: (TreemapTile tile) { - return _population[tile.indices[0]].population / 10000; - }, - ) - ], ), ), - ), ); } -} class IndianPopulation { const IndianPopulation(this.state, this.population); @@ -1842,4 +1569,4 @@ class IndianPopulation { {% endhighlight %} {% endtabs %} -![Bar legend pointer customization](images/legend/bar-legend-pointer-customization.png) \ No newline at end of file +![Bar legend pointer customization](images/legend/bar-legend-pointer-customization.png) diff --git a/chart-sdk/flutter/treemap/levels.md b/chart-sdk/flutter/treemap/levels.md index 33e99a0fc..774ea54af 100644 --- a/chart-sdk/flutter/treemap/levels.md +++ b/chart-sdk/flutter/treemap/levels.md @@ -1,7 +1,7 @@ --- layout: post -title: Flat and Hierarchical Levels in Flutter Treemap | Syncfusion® -description: Learn about flat and hierarchical levels in Syncfusion® Flutter Treemap (SfTreemap), including grouping, hierarchy visualization, and drilldown support. +title: Flat and Hierarchical Levels in Flutter Treemap | Syncfusion +description: Learn here all about the Flat and Hierarchical Levels feature of Syncfusion Flutter Treemap (SfTreemap) widget and more. platform: chart-sdk control: SfTreemap documentation: ug @@ -9,7 +9,7 @@ documentation: ug # Flat and Hierarchical Levels in Flutter Treemap (SfTreemap) -The levels of the treemap can be categorized into the following two types: +The levels of the treemap can be categorized into the following two types, * Flat level. * Hierarchical level. @@ -18,34 +18,22 @@ The levels of the treemap can be categorized into the following two types: There will be a tile for each unique value returned in the [`TreemapLevel.groupMapper`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapLevel/groupMapper.html) callback which is added to the [`levels`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/SfTreemap/levels.html) collection property of [`SfTreemap`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/SfTreemap-class.html). -### Squarified flat level example +### Squarified {% tabs %} -{% highlight dart %} +{% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_treemap/treemap.dart'; - -class TreemapFlatLevelExample extends StatefulWidget { - const TreemapFlatLevelExample({super.key}); - - @override - State createState() => - _TreemapFlatLevelExampleState(); -} - -class _TreemapFlatLevelExampleState extends State { late List _source; @override void initState() { _source = [ - const PopulationModel('Asia', 25.4), - const PopulationModel('South America', 19.11), - const PopulationModel('North America', 13.3), - const PopulationModel('Europe', 10.65), - const PopulationModel('Africa', 7.54), - const PopulationModel('Australia', 4.93), + PopulationModel('Asia', 25.4), + PopulationModel('South America', 19.11), + PopulationModel('North America', 13.3), + PopulationModel('Europe', 10.65), + PopulationModel('Africa', 7.54), + PopulationModel('Australia', 4.93), ]; super.initState(); } @@ -54,27 +42,26 @@ class _TreemapFlatLevelExampleState extends State { Widget build(BuildContext context) { return Scaffold( body: Center( - child: Container( - height: 400, - width: 400, - child: SfTreemap( - dataCount: _source.length, - weightValueMapper: (int index) { - return _source[index].populationInMillions; - }, - levels: [ - TreemapLevel( - groupMapper: (int index) { - return _source[index].continent; - }, - ), - ], + child: Container( + height: 400, + width: 400, + child: SfTreemap( + dataCount: _source.length, + weightValueMapper: (int index) { + return _source[index].populationInMillions; + }, + levels: [ + TreemapLevel( + groupMapper: (int index) { + return _source[index].continent; + }, + ), + ], + ), ), ), - ), ); } -} class PopulationModel { const PopulationModel(this.continent, this.populationInMillions); @@ -96,82 +83,69 @@ N> ## Hierarchical level -Hierarchical levels arrange the tiles in the form of nested rectangles. Each tile of the treemap is a rectangle which is filled with smaller rectangles representing sub-data. You can have more than one [`TreemapLevel`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapLevel-class.html) in the [`levels`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/SfTreemap/levels.html) collection to form a hierarchical treemap. +Hierarchical level arrange the tiles in the form of nested rectangles. Each tile of the treemap is a rectangle which is filled with smaller rectangles representing sub-data. You can have more than one [`TreemapLevel`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapLevel-class.html) in the [`levels`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/SfTreemap/levels.html) collection to form a hierarchical treemap. The first level will work similarly to the flat level. From the next level in the [`levels`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/SfTreemap/levels.html) collection, the items returned from the [`TreemapLevel.groupMapper`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapLevel/groupMapper.html) for the indices, will be placed inside the rectangle for the same indices returned from the [`TreemapLevel.groupMapper`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapLevel/groupMapper.html) in the previous level. This will go on until the last level in the [`levels`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/SfTreemap/levels.html) collection. -### Squarified hierarchical level example +### Squarified {% tabs %} -{% highlight dart %} - -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_treemap/treemap.dart'; - -class TreemapHierarchicalLevelExample extends StatefulWidget { - const TreemapHierarchicalLevelExample({super.key}); - - @override - State createState() => - _TreemapHierarchicalLevelExampleState(); -} +{% highlight Dart %} -class _TreemapHierarchicalLevelExampleState - extends State { late List _source; @override void initState() { _source = [ - const JobVacancyModel(country: 'America', job: 'Sales', vacancy: 70), - const JobVacancyModel( - country: 'America', job: 'Technical', group: 'Testers', vacancy: 35), - const JobVacancyModel( - country: 'America', - job: 'Technical', - group: 'Developers', - role: 'Windows', - vacancy: 105), - const JobVacancyModel( - country: 'America', - job: 'Technical', - group: 'Developers', - role: 'Web', - vacancy: 40), - const JobVacancyModel(country: 'America', job: 'Management', vacancy: 40), - const JobVacancyModel(country: 'America', job: 'Accounts', vacancy: 60), - const JobVacancyModel( - country: 'India', job: 'Technical', group: 'Testers', vacancy: 25), - const JobVacancyModel( - country: 'India', - job: 'Technical', - group: 'Developers', - role: 'Windows', - vacancy: 155), - const JobVacancyModel( - country: 'India', - job: 'Technical', - group: 'Developers', - role: 'Web', - vacancy: 60), - const JobVacancyModel( - country: 'Germany', job: 'Sales', group: 'Executive', vacancy: 30), - const JobVacancyModel( - country: 'Germany', job: 'Sales', group: 'Analyst', vacancy: 40), - const JobVacancyModel( - country: 'UK', - job: 'Technical', - group: 'Developers', - role: 'Windows', - vacancy: 100), - const JobVacancyModel( - country: 'UK', - job: 'Technical', - group: 'Developers', - role: 'Web', - vacancy: 30), - const JobVacancyModel(country: 'UK', job: 'HR Executives', vacancy: 60), - const JobVacancyModel(country: 'UK', job: 'Marketing', vacancy: 40), + JobVacancyModel(country: 'America', job: 'Sales', vacancy: 70), + JobVacancyModel( + country: 'America', job: 'Technical', group: 'Testers', vacancy: 35), + JobVacancyModel( + country: 'America', + job: 'Technical', + group: 'Developers', + role: 'Windows', + vacancy: 105), + JobVacancyModel( + country: 'America', + job: 'Technical', + group: 'Developers', + role: 'Web', + vacancy: 40), + JobVacancyModel(country: 'America', job: 'Management', vacancy: 40), + JobVacancyModel(country: 'America', job: 'Accounts', vacancy: 60), + JobVacancyModel( + country: 'India', job: 'Technical', group: 'Testers', vacancy: 25), + JobVacancyModel( + country: 'India', + job: 'Technical', + group: 'Developers', + role: 'Windows', + vacancy: 155), + JobVacancyModel( + country: 'India', + job: 'Technical', + group: 'Developers', + role: 'Web', + vacancy: 60), + JobVacancyModel( + country: 'Germany', job: 'Sales', group: 'Executive', vacancy: 30), + JobVacancyModel( + country: 'Germany', job: 'Sales', group: 'Analyst', vacancy: 40), + JobVacancyModel( + country: 'UK', + job: 'Technical', + group: 'Developers', + role: 'Windows', + vacancy: 100), + JobVacancyModel( + country: 'UK', + job: 'Technical', + group: 'Developers', + role: 'Web', + vacancy: 30), + JobVacancyModel(country: 'UK', job: 'HR Executives', vacancy: 60), + JobVacancyModel(country: 'UK', job: 'Marketing', vacancy: 40), ]; super.initState(); } @@ -180,36 +154,33 @@ class _TreemapHierarchicalLevelExampleState Widget build(BuildContext context) { return Scaffold( body: Center( - child: Container( - height: 400, - width: 400, - child: SfTreemap( - dataCount: _source.length, - weightValueMapper: (int index) { - return _source[index].vacancy; - }, - levels: [ - TreemapLevel(groupMapper: (int index) => _source[index].country), - TreemapLevel(groupMapper: (int index) => _source[index].job), - TreemapLevel(groupMapper: (int index) => _source[index].group), - TreemapLevel(groupMapper: (int index) => _source[index].role), - ], + child: Container( + height: 400, + width: 400, + child: SfTreemap( + dataCount: _source.length, + weightValueMapper: (int index) { + return _source[index].vacancy; + }, + levels: [ + TreemapLevel(groupMapper: (int index) => _source[index].country), + TreemapLevel(groupMapper: (int index) => _source[index].job), + TreemapLevel(groupMapper: (int index) => _source[index].group), + TreemapLevel(groupMapper: (int index) => _source[index].role), + ], + ), ), ), - ), ); } -} class JobVacancyModel { - const JobVacancyModel({ - required this.country, - required this.job, - this.group, - this.role, - required this.vacancy, - }); - + const JobVacancyModel( + {required this.country, + required this.job, + this.group, + this.role, + required this.vacancy}); final String country; final String job; final String? group; @@ -238,77 +209,65 @@ You can customize the levels using the following properties: * **Border** - Specifies the border color, border width and border radius for the group using the [`TreemapLevel.border`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapLevel/border.html) property. -### Squarified appearance example +### Squarified {% tabs %} -{% highlight dart %} - -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_treemap/treemap.dart'; - -class TreemapAppearanceExample extends StatefulWidget { - const TreemapAppearanceExample({super.key}); - - @override - State createState() => - _TreemapAppearanceExampleState(); -} +{% highlight Dart %} -class _TreemapAppearanceExampleState extends State { late List _source; @override void initState() { _source = [ - const JobVacancyModel(country: 'America', job: 'Sales', vacancy: 70), - const JobVacancyModel( - country: 'America', job: 'Technical', group: 'Testers', vacancy: 35), - const JobVacancyModel( - country: 'America', - job: 'Technical', - group: 'Developers', - role: 'Windows', - vacancy: 105), - const JobVacancyModel( - country: 'America', - job: 'Technical', - group: 'Developers', - role: 'Web', - vacancy: 40), - const JobVacancyModel(country: 'America', job: 'Management', vacancy: 40), - const JobVacancyModel(country: 'America', job: 'Accounts', vacancy: 60), - const JobVacancyModel( - country: 'India', job: 'Technical', group: 'Testers', vacancy: 25), - const JobVacancyModel( - country: 'India', - job: 'Technical', - group: 'Developers', - role: 'Windows', - vacancy: 155), - const JobVacancyModel( - country: 'India', - job: 'Technical', - group: 'Developers', - role: 'Web', - vacancy: 60), - const JobVacancyModel( - country: 'Germany', job: 'Sales', group: 'Executive', vacancy: 30), - const JobVacancyModel( - country: 'Germany', job: 'Sales', group: 'Analyst', vacancy: 40), - const JobVacancyModel( - country: 'UK', - job: 'Technical', - group: 'Developers', - role: 'Windows', - vacancy: 100), - const JobVacancyModel( - country: 'UK', - job: 'Technical', - group: 'Developers', - role: 'Web', - vacancy: 30), - const JobVacancyModel(country: 'UK', job: 'HR Executives', vacancy: 60), - const JobVacancyModel(country: 'UK', job: 'Marketing', vacancy: 40), + JobVacancyModel(country: 'America', job: 'Sales', vacancy: 70), + JobVacancyModel( + country: 'America', job: 'Technical', group: 'Testers', vacancy: 35), + JobVacancyModel( + country: 'America', + job: 'Technical', + group: 'Developers', + role: 'Windows', + vacancy: 105), + JobVacancyModel( + country: 'America', + job: 'Technical', + group: 'Developers', + role: 'Web', + vacancy: 40), + JobVacancyModel(country: 'America', job: 'Management', vacancy: 40), + JobVacancyModel(country: 'America', job: 'Accounts', vacancy: 60), + JobVacancyModel( + country: 'India', job: 'Technical', group: 'Testers', vacancy: 25), + JobVacancyModel( + country: 'India', + job: 'Technical', + group: 'Developers', + role: 'Windows', + vacancy: 155), + JobVacancyModel( + country: 'India', + job: 'Technical', + group: 'Developers', + role: 'Web', + vacancy: 60), + JobVacancyModel( + country: 'Germany', job: 'Sales', group: 'Executive', vacancy: 30), + JobVacancyModel( + country: 'Germany', job: 'Sales', group: 'Analyst', vacancy: 40), + JobVacancyModel( + country: 'UK', + job: 'Technical', + group: 'Developers', + role: 'Windows', + vacancy: 100), + JobVacancyModel( + country: 'UK', + job: 'Technical', + group: 'Developers', + role: 'Web', + vacancy: 30), + JobVacancyModel(country: 'UK', job: 'HR Executives', vacancy: 60), + JobVacancyModel(country: 'UK', job: 'Marketing', vacancy: 40), ]; super.initState(); } @@ -316,77 +275,68 @@ class _TreemapAppearanceExampleState extends State { @override Widget build(BuildContext context) { return Scaffold( - body: Center( - child: Container( - height: 400, - width: 400, - child: SfTreemap( - dataCount: _source.length, - weightValueMapper: (int index) { - return _source[index].vacancy; - }, - levels: [ - TreemapLevel( - groupMapper: (int index) => _source[index].country, - color: Colors.blue, - border: RoundedRectangleBorder( - side: BorderSide( - color: Colors.blue, - width: 1, - ), + body: SfTreemap( + dataCount: _source.length, + weightValueMapper: (int index) { + return _source[index].vacancy; + }, + levels: [ + TreemapLevel( + groupMapper: (int index) => _source[index].country, + color: Colors.blue, + border: RoundedRectangleBorder( + side: BorderSide( + color: Colors.blue, + width: 1, ), - padding: const EdgeInsets.all(2.5), ), - TreemapLevel( - groupMapper: (int index) => _source[index].job, - color: Colors.orangeAccent, - border: RoundedRectangleBorder( - side: BorderSide( - color: Colors.orangeAccent, - width: 1, - ), + padding: EdgeInsets.all(2.5), + ), + TreemapLevel( + groupMapper: (int index) => _source[index].job, + color: Colors.orangeAccent, + border: RoundedRectangleBorder( + side: BorderSide( + color: Colors.orangeAccent, + width: 1, ), - padding: const EdgeInsets.all(2.5), ), - TreemapLevel( - groupMapper: (int index) => _source[index].group, - color: Colors.green[300], - border: RoundedRectangleBorder( - side: BorderSide( - color: Colors.green, - width: 1, - ), + padding: EdgeInsets.all(2.5), + ), + TreemapLevel( + groupMapper: (int index) => _source[index].group, + color: Colors.green[300], + border: RoundedRectangleBorder( + side: BorderSide( + color: Colors.green, + width: 1, ), - padding: const EdgeInsets.all(5), ), - TreemapLevel( - groupMapper: (int index) => _source[index].role, - color: Colors.pink[300], - border: RoundedRectangleBorder( - side: BorderSide( - color: Colors.pink, - width: 1, - ), + padding: EdgeInsets.all(5), + ), + TreemapLevel( + groupMapper: (int index) => _source[index].role, + color: Colors.pink[300], + border: RoundedRectangleBorder( + side: BorderSide( + color: Colors.pink, + width: 1, ), - padding: const EdgeInsets.all(5), ), - ], - ), + padding: EdgeInsets.all(5), + ), + ], ), - ), ); } -} class JobVacancyModel { - const JobVacancyModel({ - required this.country, - required this.job, - this.group, - this.role, - required this.vacancy, - }); - + const JobVacancyModel( + {required this.country, + required this.job, + this.group, + this.role, + required this.vacancy}); final String country; final String job; final String? group; diff --git a/chart-sdk/flutter/treemap/overview.md b/chart-sdk/flutter/treemap/overview.md index b6f5ff220..96c0777fe 100644 --- a/chart-sdk/flutter/treemap/overview.md +++ b/chart-sdk/flutter/treemap/overview.md @@ -1,19 +1,17 @@ --- layout: post -title: About Flutter Treemap Control | Syncfusion® -description: Learn about the Syncfusion® Flutter Treemap (SfTreemap), its features, hierarchical data visualization, and customization options. +title: About Flutter Treemap widget | Syncfusion +description: Learn here all about the introduction of Syncfusion Flutter Treemap (SfTreemap) widget, its features, and more. platform: chart-sdk control: SfTreemap documentation: ug --- -# About Flutter Treemap Control (SfTreemap) +# Flutter Treemap (SfTreemap) Overview Syncfusion® Flutter Treemap is a powerful and customizable widget that allows you to create interactive treemaps in Flutter applications. It offers a rich feature set including selection, legends, labels, tooltips, color mapping, and more. -![Flutter Treemap](images/overview/treemap_overview.png) - -## Features +### Features * **Layouts** - Utilize various layouts based on algorithms such as squarified, slice, and dice to represent both flat and hierarchically-structured data. @@ -30,5 +28,3 @@ Syncfusion® Flutter Treemap is a powerful and customizable widget * **Tooltip** - Use customizable tooltips to display additional information about the tiles on the treemap. * **Custom background widgets** - Add custom widgets, such as image widgets, as backgrounds of the tiles to enrich the UI and easily visualize the data type that a particular tile represents. - -For step-by-step installation and setup instructions, see [Getting Started with Flutter Treemap](getting-started.md). \ No newline at end of file diff --git a/chart-sdk/flutter/treemap/right-to-left.md b/chart-sdk/flutter/treemap/right-to-left.md index 3731ca5d7..0fb9d773b 100644 --- a/chart-sdk/flutter/treemap/right-to-left.md +++ b/chart-sdk/flutter/treemap/right-to-left.md @@ -1,60 +1,44 @@ --- layout: post -title: Right-to-Left (RTL) in Flutter Treemap | Syncfusion® -description: Learn about right-to-left (RTL) support in Syncfusion® Flutter Treemap (SfTreemap), including layout customization, localization, and RTL rendering. +title: RTL in Flutter Treemap widget | Syncfusion +description: Learn here all about enabling the RTL rendering in the Syncfusion Flutter Treemap (SfTreemap) widget. platform: chart-sdk control: SfTreemap documentation: ug --- -# Right-to-Left (RTL) in Flutter Treemap (SfTreemap) +# Right to Left (RTL) in Flutter Treemap (SfTreemap) -## Enable RTL rendering +## RTL rendering ways -Right-to-left rendering can be achieved in the following ways: +Right to left rendering can be achieved in the following ways: -### Wrapping the SfTreemap with the Directionality widget +### Wrapping the SfTreemap with Directionality widget -The treemap can be wrapped inside the [`Directionality`](https://api.flutter.dev/flutter/widgets/Directionality-class.html) widget, and you can set the [`textDirection`](https://api.flutter.dev/flutter/widgets/Directionality/textDirection.html) property to [`rtl`](https://api.flutter.dev/flutter/dart-ui/TextDirection.html#rtl). +The treemap can be wrapped inside the [`Directionality`](https://api.flutter.dev/flutter/widgets/Directionality-class.html) widget and you can set the [`textDirection`](https://api.flutter.dev/flutter/widgets/Directionality/textDirection.html) property to [`rtl`](https://api.flutter.dev/flutter/dart-ui/TextDirection.html#rtl). {% tabs %} -{% highlight dart %} +{% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_treemap/treemap.dart'; - -void main() { - runApp(const RTLExample()); -} - -class RTLExample extends StatefulWidget { - const RTLExample({super.key}); - - @override - State createState() => _RTLExampleState(); -} - -class _RTLExampleState extends State { late List _source; @override void initState() { _source = [ - PopulationModel('Asia', 25.4), - PopulationModel('Africa', 19.11), - PopulationModel('Europe', 13.3), - PopulationModel('North America', 10.65), - PopulationModel('South America', 7.54), - PopulationModel('Australia', 4.93), + PopulationModel('Asia', 25.4), + PopulationModel('Africa', 19.11), + PopulationModel('Europe', 13.3), + PopulationModel('North America', 10.65), + PopulationModel('South America', 7.54), + PopulationModel('Australia', 4.93), ]; super.initState(); } @override Widget build(BuildContext context) { - return MaterialApp( - home: Scaffold( - body: Column( + return Scaffold( + body: Column( children: [ Expanded( child: Directionality( @@ -82,10 +66,8 @@ class _RTLExampleState extends State { ), ], ), - ), ); } -} class PopulationModel { const PopulationModel(this.continent, this.populationInMillions); @@ -99,10 +81,10 @@ class PopulationModel { ### Changing the locale to RTL languages -The treemap elements will render in the right-to-left direction if the locale belongs to RTL languages such as Arabic, Persian, Hebrew, Pashto, or Urdu. You can achieve this by specifying the MaterialApp properties such as [`localizationsDelegates`](https://api.flutter.dev/flutter/material/MaterialApp/localizationsDelegates.html), [`supportedLocales`](https://api.flutter.dev/flutter/material/MaterialApp/supportedLocales.html), [`locale`](https://api.flutter.dev/flutter/material/MaterialApp/locale.html), and adding the flutter_localizations package to your pubspec.yaml file. +The treemap elements will render in right to left direction if the locale belongs to RTL languages such as (Arabic ,Persian ,Hebrew, Pashto, Urdu). It can be achieved by specifying the MaterialApp properties such as [`localizationsDelegates`](https://api.flutter.dev/flutter/material/MaterialApp/localizationsDelegates.html), [`supportedLocales`](https://api.flutter.dev/flutter/material/MaterialApp/supportedLocales.html), [`locale`](https://api.flutter.dev/flutter/material/MaterialApp/locale.html) and adding the flutter_localizations package to your pubspec.yaml file. {% tabs %} -{% highlight yaml %} +{% highlight Dart %} dependencies: flutter_localizations: @@ -112,35 +94,19 @@ dependencies: {% endtabs %} {% tabs %} -{% highlight dart %} - -import 'package:flutter/material.dart'; -import 'package:flutter_localizations/flutter_localizations.dart'; -import 'package:syncfusion_flutter_treemap/treemap.dart'; - -void main() { - runApp(const RTLLocaleExample()); -} - -class RTLLocaleExample extends StatefulWidget { - const RTLLocaleExample({super.key}); +{% highlight Dart %} - @override - State createState() => _RTLLocaleExampleState(); -} - -class _RTLLocaleExampleState extends State { late List _source; @override void initState() { _source = [ - PopulationModel('Asia', 25.4), - PopulationModel('Africa', 19.11), - PopulationModel('Europe', 13.3), - PopulationModel('North America', 10.65), - PopulationModel('South America', 7.54), - PopulationModel('Australia', 4.93), + PopulationModel('Asia', 25.4), + PopulationModel('Africa', 19.11), + PopulationModel('Europe', 13.3), + PopulationModel('North America', 10.65), + PopulationModel('South America', 7.54), + PopulationModel('Australia', 4.93), ]; super.initState(); } @@ -148,37 +114,38 @@ class _RTLLocaleExampleState extends State { @override Widget build(BuildContext context) { return MaterialApp( - localizationsDelegates: const [ - GlobalMaterialLocalizations.delegate, - GlobalWidgetsLocalizations.delegate, - ], - supportedLocales: const [Locale('fa', 'IR')], - locale: const Locale('fa', 'IR'), - home: Scaffold( - backgroundColor: Colors.white, - body: SfTreemap( - dataCount: _source.length, - weightValueMapper: (int index) { - return _source[index].populationInMillions; - }, - levels: [ - TreemapLevel( - groupMapper: (int index) { - return _source[index].continent; - }, - labelBuilder: (BuildContext context, TreemapTile tile) { - return Padding( - padding: const EdgeInsets.all(5.0), - child: Text(tile.group), - ); - }, - ), - ], + localizationsDelegates: [ + GlobalMaterialLocalizations.delegate, + GlobalWidgetsLocalizations.delegate, + ], + supportedLocales: [ + Locale("fa", "IR"), + ], + locale: Locale("fa", "IR"), + home: Scaffold( + backgroundColor: Colors.white, + body: SfTreemap( + dataCount: _source.length, + weightValueMapper: (int index) { + return _source[index].populationInMillions; + }, + levels: [ + TreemapLevel( + groupMapper: (int index) { + return _source[index].continent; + }, + labelBuilder: (BuildContext context, TreemapTile tile) { + return Padding( + padding: const EdgeInsets.all(5.0), + child: Text(tile.group), + ); + }, + ), + ], + ), ), - ), ); } -} class PopulationModel { const PopulationModel(this.continent, this.populationInMillions); @@ -197,74 +164,62 @@ class PopulationModel { Labels will be rendered from right to left direction. {% tabs %} -{% highlight dart %} - -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_treemap/treemap.dart'; - -void main() { - runApp(const RTLLabelsExample()); -} - -class RTLLabelsExample extends StatefulWidget { - const RTLLabelsExample({super.key}); - - @override - State createState() => _RTLLabelsExampleState(); -} +{% highlight Dart %} -class _RTLLabelsExampleState extends State { late List _source; @override void initState() { _source = [ - PopulationModel('Asia', 25.4), - PopulationModel('Africa', 19.11), - PopulationModel('Europe', 13.3), - PopulationModel('North America', 10.65), - PopulationModel('South America', 7.54), - PopulationModel('Australia', 4.93), + PopulationModel('Asia', 25.4), + PopulationModel('Africa', 19.11), + PopulationModel('Europe', 13.3), + PopulationModel('North America', 10.65), + PopulationModel('South America', 7.54), + PopulationModel('Australia', 4.93), ]; super.initState(); } @override Widget build(BuildContext context) { - return MaterialApp( - home: Scaffold( - body: Center( - child: SizedBox( + return Scaffold( + body: Center( + child: Container( height: 400, width: 400, - child: Directionality( - textDirection: TextDirection.rtl, - child: SfTreemap( - dataCount: _source.length, - weightValueMapper: (int index) { - return _source[index].populationInMillions; - }, - levels: [ - TreemapLevel( - groupMapper: (int index) { - return _source[index].continent; - }, - labelBuilder: (BuildContext context, TreemapTile tile) { - return Padding( - padding: const EdgeInsets.all(5.0), - child: Text(tile.group), - ); - }, + child: Column( + children: [ + Expanded( + child: Directionality( + textDirection: TextDirection.rtl, + child: SfTreemap( + dataCount: _source.length, + weightValueMapper: (int index) { + return _source[index].populationInMillions; + }, + levels: [ + TreemapLevel( + groupMapper: (int index) { + return _source[index].continent; + }, + labelBuilder: (BuildContext context, TreemapTile tile) { + return Padding( + padding: const EdgeInsets.all(5.0), + child: Text(tile.group), + ); + }, + ), + ], + ), ), - ], - ), + ), + ], ), ), ), - ), ); } -} class PopulationModel { const PopulationModel(this.continent, this.populationInMillions); @@ -283,75 +238,63 @@ class PopulationModel { Legend items will be rendered from right to left direction. It is applicable for both solid and bar type legend. {% tabs %} -{% highlight dart %} - -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_treemap/treemap.dart'; - -void main() { - runApp(const RTLLegendExample()); -} - -class RTLLegendExample extends StatefulWidget { - const RTLLegendExample({super.key}); +{% highlight Dart %} - @override - State createState() => _RTLLegendExampleState(); -} - -class _RTLLegendExampleState extends State { late List _source; @override void initState() { _source = [ - PopulationModel('Asia', 25.4), - PopulationModel('Africa', 19.11), - PopulationModel('Europe', 13.3), - PopulationModel('North America', 10.65), - PopulationModel('South America', 7.54), - PopulationModel('Australia', 4.93), + PopulationModel('Asia', 25.4), + PopulationModel('Africa', 19.11), + PopulationModel('Europe', 13.3), + PopulationModel('North America', 10.65), + PopulationModel('South America', 7.54), + PopulationModel('Australia', 4.93), ]; super.initState(); } @override Widget build(BuildContext context) { - return MaterialApp( - home: Scaffold( - body: Center( - child: SizedBox( + return Scaffold( + body: Center( + child: Container( height: 400, width: 400, - child: Directionality( - textDirection: TextDirection.rtl, - child: SfTreemap( - dataCount: _source.length, - weightValueMapper: (int index) { - return _source[index].populationInMillions; - }, - levels: [ - TreemapLevel( - groupMapper: (int index) { - return _source[index].continent; - }, - labelBuilder: (BuildContext context, TreemapTile tile) { - return Padding( - padding: const EdgeInsets.all(5.0), - child: Text(tile.group), - ); - }, + child: Column( + children: [ + Expanded( + child: Directionality( + textDirection: TextDirection.rtl, + child: SfTreemap( + dataCount: _source.length, + weightValueMapper: (int index) { + return _source[index].populationInMillions; + }, + levels: [ + TreemapLevel( + groupMapper: (int index) { + return _source[index].continent; + }, + labelBuilder: (BuildContext context, TreemapTile tile) { + return Padding( + padding: const EdgeInsets.all(5.0), + child: Text(tile.group), + ); + }, + ), + ], + legend: TreemapLegend(), + ), ), - ], - legend: TreemapLegend(), - ), + ), + ], ), ), ), - ), ); } -} class PopulationModel { const PopulationModel(this.continent, this.populationInMillions); @@ -370,116 +313,98 @@ class PopulationModel { Tooltip text will be rendered from right to left direction. {% tabs %} -{% highlight dart %} - -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_treemap/treemap.dart'; - -void main() { - runApp(const RTLTooltipExample()); -} - -class RTLTooltipExample extends StatefulWidget { - const RTLTooltipExample({super.key}); - - @override - State createState() => _RTLTooltipExampleState(); -} +{% highlight Dart %} -class _RTLTooltipExampleState extends State { late List _source; @override void initState() { _source = [ - PopulationModel('Asia', 25.4), - PopulationModel('Africa', 19.11), - PopulationModel('Europe', 13.3), - PopulationModel('North America', 10.65), - PopulationModel('South America', 7.54), - PopulationModel('Australia', 4.93), + PopulationModel('Asia', 25.4), + PopulationModel('Africa', 19.11), + PopulationModel('Europe', 13.3), + PopulationModel('North America', 10.65), + PopulationModel('South America', 7.54), + PopulationModel('Australia', 4.93), ]; super.initState(); } @override Widget build(BuildContext context) { - return MaterialApp( - home: Scaffold( - body: Center( - child: SizedBox( + return Scaffold( + body: Center( + child: Container( height: 400, width: 400, - child: Directionality( - textDirection: TextDirection.rtl, - child: SfTreemap( - dataCount: _source.length, - weightValueMapper: (int index) { - return _source[index].populationInMillions; - }, - levels: [ - TreemapLevel( - groupMapper: (int index) { - return _source[index].continent; - }, - labelBuilder: (BuildContext context, TreemapTile tile) { - return Padding( - padding: const EdgeInsets.all(5.0), - child: Text(tile.group), - ); - }, - tooltipBuilder: (BuildContext context, TreemapTile tile) { - return Padding( - padding: const EdgeInsets.all(5), - child: Column( - mainAxisSize: MainAxisSize.min, - mainAxisAlignment: MainAxisAlignment.start, - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - Row( - mainAxisSize: MainAxisSize.min, - mainAxisAlignment: MainAxisAlignment.start, - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - const Text( - 'Continent : ', - style: TextStyle(color: Colors.white), - ), - Text( - tile.group, - style: const TextStyle(color: Colors.white), - ), - ], - ), - Row( - mainAxisSize: MainAxisSize.min, - mainAxisAlignment: MainAxisAlignment.start, - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - const Text( - 'Population : ', - style: TextStyle(color: Colors.white), - ), - Text( - tile.weight.toString(), - style: const TextStyle(color: Colors.white), - ), - ], - ), - ], + padding: const EdgeInsets.all(5.0), + child: Column( + children: [ + Expanded( + child: Directionality( + textDirection: TextDirection.rtl, + child: SfTreemap( + dataCount: _source.length, + weightValueMapper: (int index) { + return _source[index].populationInMillions; + }, + levels: [ + TreemapLevel( + groupMapper: (int index) { + return _source[index].continent; + }, + labelBuilder: (BuildContext context, TreemapTile tile) { + return Padding( + padding: const EdgeInsets.all(5.0), + child: Text(tile.group), + ); + }, + tooltipBuilder: + (BuildContext context, TreemapTile tile) { + return Padding( + padding: EdgeInsets.all(5), + child: Column( + mainAxisSize: MainAxisSize.min, + mainAxisAlignment: MainAxisAlignment.start, + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Row( + mainAxisSize: MainAxisSize.min, + mainAxisAlignment: MainAxisAlignment.start, + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Text('Continent : ', + style: TextStyle(color: Colors.white)), + Text(tile.group, + style: TextStyle(color: Colors.white)), + ], + ), + Row( + mainAxisSize: MainAxisSize.min, + mainAxisAlignment: MainAxisAlignment.start, + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Text('Population : ', + style: TextStyle(color: Colors.white)), + Text(tile.weight.toString(), + style: TextStyle(color: Colors.white)), + ], + ), + ], + ), + ); + }, ), - ); - }, + ], + ), ), - ], - ), + ), + ], ), ), - ), ), ); } -} class PopulationModel { const PopulationModel(this.continent, this.populationInMillions); @@ -491,4 +416,4 @@ class PopulationModel { {% endhighlight %} {% endtabs %} -![RTL treemap tooltip support](images/right-to-left/treemap-tooltip-rtl.png) \ No newline at end of file +![RTL treemap tooltip support](images/right-to-left/treemap-tooltip-rtl.png) diff --git a/chart-sdk/flutter/treemap/selection.md b/chart-sdk/flutter/treemap/selection.md index 8a8129469..9a96192d8 100644 --- a/chart-sdk/flutter/treemap/selection.md +++ b/chart-sdk/flutter/treemap/selection.md @@ -1,15 +1,15 @@ --- layout: post -title: Tile Selection in Flutter Treemap | Syncfusion® -description: Learn about tile selection in Syncfusion® Flutter Treemap (SfTreemap), including selection customization, interaction, highlighting, and styling options. +title: Tile selection in Flutter Treemap widget | Syncfusion +description: Learn here all about the Tile selection feature of Syncfusion Flutter Treemap (SfTreemap) widget and more. platform: chart-sdk control: SfTreemap documentation: ug --- -# Tile Selection in Flutter Treemap (SfTreemap) +# Tile selection in Flutter Treemap (SfTreemap) -You can select a tile to highlight that area on the treemap. You can use the callback to perform any action during tile selection. +You can select a tile in order to highlight that area on a treemap. You can use the callback for performing any action during tile selection. ## Enable tile selection @@ -18,30 +18,19 @@ You can enable tile selection on a treemap using the [`SfTreemap.onSelectionChan The [`onSelectionChanged`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/SfTreemap/onSelectionChanged.html) callback will be called with the details of the selected tile when the user is selecting a tile by tapping and you will be able to do any specific functionalities like showing pop-up or navigate to a different page. {% tabs %} -{% highlight dart %} +{% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_treemap/treemap.dart'; - -class EnableSelectionExample extends StatefulWidget { - const EnableSelectionExample({super.key}); - - @override - State createState() => _EnableSelectionExampleState(); -} - -class _EnableSelectionExampleState extends State { late List _source; @override void initState() { _source = [ - SocialMediaUsers('India', 'Facebook', 25.4), - SocialMediaUsers('USA', 'Instagram', 19.11), - SocialMediaUsers('Japan', 'Facebook', 13.3), - SocialMediaUsers('Germany', 'Instagram', 10.65), - SocialMediaUsers('France', 'Twitter', 7.54), - SocialMediaUsers('UK', 'Instagram', 4.93), + SocialMediaUsers('India', 'Facebook', 25.4), + SocialMediaUsers('USA', 'Instagram', 19.11), + SocialMediaUsers('Japan', 'Facebook', 13.3), + SocialMediaUsers('Germany', 'Instagram', 10.65), + SocialMediaUsers('France', 'Twitter', 7.54), + SocialMediaUsers('UK', 'Instagram', 4.93), ]; super.initState(); } @@ -50,28 +39,27 @@ class _EnableSelectionExampleState extends State { Widget build(BuildContext context) { return Scaffold( body: Center( - child: SizedBox( - height: 400, - width: 400, - child: SfTreemap( - dataCount: _source.length, - weightValueMapper: (int index) { - return _source[index].usersInMillions; - }, - onSelectionChanged: (TreemapTile tile) {}, - levels: [ - TreemapLevel( - groupMapper: (int index) { - return _source[index].country; - }, - ), - ], + child: Container( + height: 400, + width: 400, + child: SfTreemap( + dataCount: _source.length, + weightValueMapper: (int index) { + return _source[index].usersInMillions; + }, + onSelectionChanged: (TreemapTile) {}, + levels: [ + TreemapLevel( + groupMapper: (int index) { + return _source[index].country; + }, + ), + ], + ), ), ), - ), ); } -} class SocialMediaUsers { const SocialMediaUsers(this.country, this.socialMedia, this.usersInMillions); @@ -97,31 +85,19 @@ You can customize the below appearance of the selected tile. * **Border** - Change the border color, border stroke width using the [`BorderSide.color`](https://api.flutter.dev/flutter/painting/BorderSide/color.html) and [`BorderSide.width`](https://api.flutter.dev/flutter/painting/BorderSide/width.html) properties in the [`RoundedRectangleBorder`](https://api.flutter.dev/flutter/painting/RoundedRectangleBorder-class.html). Also apply rounded border using the [`RoundedRectangleBorder.borderRadius`](https://api.flutter.dev/flutter/painting/RoundedRectangleBorder/borderRadius.html) property. {% tabs %} -{% highlight dart %} - -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_treemap/treemap.dart'; - -class SelectionAppearanceExample extends StatefulWidget { - const SelectionAppearanceExample({super.key}); - - @override - State createState() => - _SelectionAppearanceExampleState(); -} +{% highlight Dart %} -class _SelectionAppearanceExampleState extends State { late List _source; @override void initState() { _source = [ - SocialMediaUsers('India', 'Facebook', 25.4), - SocialMediaUsers('USA', 'Instagram', 19.11), - SocialMediaUsers('Japan', 'Facebook', 13.3), - SocialMediaUsers('Germany', 'Instagram', 10.65), - SocialMediaUsers('France', 'Twitter', 7.54), - SocialMediaUsers('UK', 'Instagram', 4.93), + SocialMediaUsers('India', 'Facebook', 25.4), + SocialMediaUsers('USA', 'Instagram', 19.11), + SocialMediaUsers('Japan', 'Facebook', 13.3), + SocialMediaUsers('Germany', 'Instagram', 10.65), + SocialMediaUsers('France', 'Twitter', 7.54), + SocialMediaUsers('UK', 'Instagram', 4.93), ]; super.initState(); } @@ -130,38 +106,37 @@ class _SelectionAppearanceExampleState extends State Widget build(BuildContext context) { return Scaffold( body: Center( - child: SizedBox( - height: 400, - width: 400, - child: SfTreemap( - dataCount: _source.length, - weightValueMapper: (int index) { - return _source[index].usersInMillions; - }, - onSelectionChanged: (TreemapTile tile) {}, - selectionSettings: TreemapSelectionSettings( - color: Colors.orange, - border: RoundedRectangleBorder( - side: const BorderSide( - color: Colors.deepOrange, - width: 1, + child: Container( + height: 400, + width: 400, + child: SfTreemap( + dataCount: _source.length, + weightValueMapper: (int index) { + return _source[index].usersInMillions; + }, + onSelectionChanged: (TreemapTile) {}, + selectionSettings: TreemapSelectionSettings( + color: Colors.orange, + border: RoundedRectangleBorder( + side: BorderSide( + color: Colors.deepOrange, + width: 1, + ), + borderRadius: BorderRadius.circular(10), ), - borderRadius: BorderRadius.circular(10), ), + levels: [ + TreemapLevel( + groupMapper: (int index) { + return _source[index].country; + }, + ), + ], ), - levels: [ - TreemapLevel( - groupMapper: (int index) { - return _source[index].country; - }, - ), - ], ), ), - ), ); } -} class SocialMediaUsers { const SocialMediaUsers(this.country, this.socialMedia, this.usersInMillions); @@ -181,30 +156,19 @@ class SocialMediaUsers { You can customize the hovered tile color and border using the [`tileHoverColor`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/SfTreemap/tileHoverColor.html) and [`tileHoverBorder`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/SfTreemap/tileHoverBorder.html) properties. The default value of the [`tileHoverColor`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/SfTreemap/tileHoverColor.html) is `Colors.transparent`. {% tabs %} -{% highlight dart %} - -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_treemap/treemap.dart'; - -class HoveredTileExample extends StatefulWidget { - const HoveredTileExample({super.key}); - - @override - State createState() => _HoveredTileExampleState(); -} +{% highlight Dart %} -class _HoveredTileExampleState extends State { late List _source; @override void initState() { _source = [ - SocialMediaUsers('India', 'Facebook', 25.4), - SocialMediaUsers('USA', 'Instagram', 19.11), - SocialMediaUsers('Japan', 'Facebook', 13.3), - SocialMediaUsers('Germany', 'Instagram', 10.65), - SocialMediaUsers('France', 'Twitter', 7.54), - SocialMediaUsers('UK', 'Instagram', 4.93), + SocialMediaUsers('India', 'Facebook', 25.4), + SocialMediaUsers('USA', 'Instagram', 19.11), + SocialMediaUsers('Japan', 'Facebook', 13.3), + SocialMediaUsers('Germany', 'Instagram', 10.65), + SocialMediaUsers('France', 'Twitter', 7.54), + SocialMediaUsers('UK', 'Instagram', 4.93), ]; super.initState(); } @@ -212,43 +176,43 @@ class _HoveredTileExampleState extends State { @override Widget build(BuildContext context) { return Scaffold( - body: Center( - child: SizedBox( - height: 400, - width: 400, - child: SfTreemap( - dataCount: _source.length, - weightValueMapper: (int index) { - return _source[index].usersInMillions; - }, - levels: [ - TreemapLevel( - groupMapper: (int index) { - return _source[index].country; - }, - labelBuilder: (BuildContext context, TreemapTile tile) { - return Padding( - padding: const EdgeInsets.all(4), - child: Text(tile.group, style: const TextStyle(color: Colors.black)), - ); - }, - ), - ], - onSelectionChanged: (TreemapTile tile) {}, - tileHoverColor: Colors.tealAccent, - tileHoverBorder: RoundedRectangleBorder( - side: const BorderSide( - color: Colors.teal, - width: 1, + body: Center( + child: Container( + height: 400, + width: 400, + child: SfTreemap( + dataCount: _source.length, + weightValueMapper: (int index) { + return _source[index].usersInMillions; + }, + levels: [ + TreemapLevel( + groupMapper: (int index) { + return _source[index].country; + }, + labelBuilder: (BuildContext context, TreemapTile tile) { + return Padding( + padding: const EdgeInsets.all(4), + child: + Text(tile.group, style: TextStyle(color: Colors.black)), + ); + }, + ), + ], + onSelectionChanged: (TreemapTile tile) {}, + tileHoverColor: Colors.tealAccent, + tileHoverBorder: RoundedRectangleBorder( + side: BorderSide( + color: Colors.teal, + width: 1, + ), + borderRadius: BorderRadius.circular(10), ), - borderRadius: BorderRadius.circular(10), ), ), ), - ), ); } -} class SocialMediaUsers { const SocialMediaUsers(this.country, this.socialMedia, this.usersInMillions); diff --git a/chart-sdk/flutter/treemap/tooltip.md b/chart-sdk/flutter/treemap/tooltip.md index c39ee4ec9..401abd812 100644 --- a/chart-sdk/flutter/treemap/tooltip.md +++ b/chart-sdk/flutter/treemap/tooltip.md @@ -1,7 +1,7 @@ --- layout: post -title: Tooltip in Flutter Treemap | Syncfusion® -description: Learn about tooltip support in Syncfusion® Flutter Treemap (SfTreemap), including customization, formatting, templates, and data visualization. +title: Tooltip in Flutter Treemap widget | Syncfusion +description: Learn here all about adding the Tooltip feature of Syncfusion Flutter Treemap (SfTreemap) widget and more. platform: chart-sdk control: SfTreemap documentation: ug @@ -9,39 +9,28 @@ documentation: ug # Tooltip in Flutter Treemap (SfTreemap) -Tooltip is used to provide information about a tile during tap or click interaction. This section helps you learn how to show a tooltip on a tile and customize it. +Tooltip is used to provide information about the tile during the tap, or click interaction. This section helps to learn about how to show tooltip on a tile and customize them. ## Tooltip for the tiles -Tooltips are used to clearly indicate tile information on tap or click. To show a tooltip for the tile, return a widget in [`TreemapLevel.tooltipBuilder`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapLevel/tooltipBuilder.html). This widget is then wrapped in the built-in shape with the nose at the bottom. +It is used to clearly indicate the tile information on the tap or click. To show tooltip for the tile, return a widget in [`TreemapLevel.tooltipBuilder`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapLevel/tooltipBuilder.html). This widget will then be wrapped in the builtin shape which comes with the nose at the bottom. -The [`TreemapLevel.tooltipBuilder`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapLevel/tooltipBuilder.html) callback is called with the corresponding tile details every time you interact with the tile, while tapping on touch devices and hover-enter on mouse-enabled devices. +The [`TreemapLevel.tooltipBuilder`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapLevel/tooltipBuilder.html) will be called with the corresponding tile details every time you interact with the tile i.e., while tapping in touch devices and hover enter in the mouse enabled devices. {% tabs %} -{% highlight dart %} +{% highlight Dart %} -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_treemap/treemap.dart'; - -class TooltipExample extends StatefulWidget { - const TooltipExample({super.key}); - - @override - State createState() => _TooltipExampleState(); -} - -class _TooltipExampleState extends State { late List _source; @override void initState() { _source = [ - SocialMediaUsers('India', 'Facebook', 25.4), - SocialMediaUsers('USA', 'Instagram', 19.11), - SocialMediaUsers('Japan', 'Facebook', 13.3), - SocialMediaUsers('Germany', 'Instagram', 10.65), - SocialMediaUsers('France', 'Twitter', 7.54), - SocialMediaUsers('UK', 'Instagram', 4.93), + SocialMediaUsers('India', 'Facebook', 25.4), + SocialMediaUsers('USA', 'Instagram', 19.11), + SocialMediaUsers('Japan', 'Facebook', 13.3), + SocialMediaUsers('Germany', 'Instagram', 10.65), + SocialMediaUsers('France', 'Twitter', 7.54), + SocialMediaUsers('UK', 'Instagram', 4.93), ]; super.initState(); } @@ -50,61 +39,60 @@ class _TooltipExampleState extends State { Widget build(BuildContext context) { return Scaffold( body: Center( - child: SizedBox( - height: 400, - width: 400, - child: SfTreemap( - dataCount: _source.length, - weightValueMapper: (int index) { - return _source[index].usersInMillions; - }, - levels: [ - TreemapLevel( - groupMapper: (int index) { - return _source[index].country; - }, - tooltipBuilder: (BuildContext context, TreemapTile tile) { - return Padding( - padding: const EdgeInsets.all(5), - child: Column( - mainAxisSize: MainAxisSize.min, - mainAxisAlignment: MainAxisAlignment.start, - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - Row( - mainAxisSize: MainAxisSize.min, - mainAxisAlignment: MainAxisAlignment.start, - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - const Text('Country : ', - style: TextStyle(color: Colors.black)), - Text(tile.group, - style: const TextStyle(color: Colors.black)), - ], - ), - Row( - mainAxisSize: MainAxisSize.min, - mainAxisAlignment: MainAxisAlignment.start, - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - const Text('Social media : ', - style: TextStyle(color: Colors.black)), - Text(tile.weight.toString(), - style: const TextStyle(color: Colors.black)), - ], - ), - ], - ), - ); - }, - ), - ], + child: Container( + height: 400, + width: 400, + child: SfTreemap( + dataCount: _source.length, + weightValueMapper: (int index) { + return _source[index].usersInMillions; + }, + levels: [ + TreemapLevel( + groupMapper: (int index) { + return _source[index].country; + }, + tooltipBuilder: (BuildContext context, TreemapTile tile) { + return Padding( + padding: EdgeInsets.all(5), + child: Column( + mainAxisSize: MainAxisSize.min, + mainAxisAlignment: MainAxisAlignment.start, + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Row( + mainAxisSize: MainAxisSize.min, + mainAxisAlignment: MainAxisAlignment.start, + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Text('Country : ', + style: TextStyle(color: Colors.black)), + Text(tile.group, + style: TextStyle(color: Colors.black)), + ], + ), + Row( + mainAxisSize: MainAxisSize.min, + mainAxisAlignment: MainAxisAlignment.start, + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Text('Social media : ', + style: TextStyle(color: Colors.black)), + Text(tile.weight.toString(), + style: TextStyle(color: Colors.black)), + ], + ), + ], + ), + ); + }, + ), + ], + ), ), ), - ), ); } -} class SocialMediaUsers { const SocialMediaUsers(this.country, this.socialMedia, this.usersInMillions); @@ -133,31 +121,19 @@ You can customize the appearance of the tooltip. * **Visibility** - Change the duration of the tooltip visibility using the [`hideDelay`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapTooltipSettings/hideDelay.html) property. The default value of the [`hideDelay`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapTooltipSettings/hideDelay.html) property is 3. By default, tooltip will hide automatically after 3 seconds of inactivity for mobile platforms. Also, you can increase or decrease the tooltip duration or show tooltip always by setting double.infinity to the [`hideDelay`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapTooltipSettings/hideDelay.html) property. {% tabs %} -{% highlight dart %} - -import 'package:flutter/material.dart'; -import 'package:syncfusion_flutter_treemap/treemap.dart'; +{% highlight Dart %} -class TooltipAppearanceExample extends StatefulWidget { - const TooltipAppearanceExample({super.key}); - - @override - State createState() => - _TooltipAppearanceExampleState(); -} - -class _TooltipAppearanceExampleState extends State { late List _source; @override void initState() { _source = [ - SocialMediaUsers('India', 'Facebook', 25.4), - SocialMediaUsers('USA', 'Instagram', 19.11), - SocialMediaUsers('Japan', 'Facebook', 13.3), - SocialMediaUsers('Germany', 'Instagram', 10.65), - SocialMediaUsers('France', 'Twitter', 7.54), - SocialMediaUsers('UK', 'Instagram', 4.93), + SocialMediaUsers('India', 'Facebook', 25.4), + SocialMediaUsers('USA', 'Instagram', 19.11), + SocialMediaUsers('Japan', 'Facebook', 13.3), + SocialMediaUsers('Germany', 'Instagram', 10.65), + SocialMediaUsers('France', 'Twitter', 7.54), + SocialMediaUsers('UK', 'Instagram', 4.93), ]; super.initState(); } @@ -166,68 +142,67 @@ class _TooltipAppearanceExampleState extends State { Widget build(BuildContext context) { return Scaffold( body: Center( - child: SizedBox( - height: 400, - width: 400, - child: SfTreemap( - dataCount: _source.length, - weightValueMapper: (int index) { - return _source[index].usersInMillions; - }, - levels: [ - TreemapLevel( - groupMapper: (int index) { - return _source[index].country; - }, - tooltipBuilder: (BuildContext context, TreemapTile tile) { - return Padding( - padding: const EdgeInsets.all(5), - child: Column( - mainAxisSize: MainAxisSize.min, - mainAxisAlignment: MainAxisAlignment.start, - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - Row( - mainAxisSize: MainAxisSize.min, - mainAxisAlignment: MainAxisAlignment.start, - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - const Text('Country : ', - style: TextStyle(color: Colors.black)), - Text(tile.group, - style: const TextStyle(color: Colors.black)), - ], - ), - Row( - mainAxisSize: MainAxisSize.min, - mainAxisAlignment: MainAxisAlignment.start, - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - const Text('Social media : ', - style: TextStyle(color: Colors.black)), - Text(tile.weight.toString(), - style: const TextStyle(color: Colors.black)), - ], - ), - ], - ), - ); - }, + child: Container( + height: 400, + width: 400, + child: SfTreemap( + dataCount: _source.length, + weightValueMapper: (int index) { + return _source[index].usersInMillions; + }, + levels: [ + TreemapLevel( + groupMapper: (int index) { + return _source[index].country; + }, + tooltipBuilder: (BuildContext context, TreemapTile tile) { + return Padding( + padding: EdgeInsets.all(5), + child: Column( + mainAxisSize: MainAxisSize.min, + mainAxisAlignment: MainAxisAlignment.start, + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Row( + mainAxisSize: MainAxisSize.min, + mainAxisAlignment: MainAxisAlignment.start, + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Text('Country : ', + style: TextStyle(color: Colors.black)), + Text(tile.group, + style: TextStyle(color: Colors.black)), + ], + ), + Row( + mainAxisSize: MainAxisSize.min, + mainAxisAlignment: MainAxisAlignment.start, + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Text('Social media : ', + style: TextStyle(color: Colors.black)), + Text(tile.weight.toString(), + style: TextStyle(color: Colors.black)), + ], + ), + ], + ), + ); + }, + ), + ], + tooltipSettings: TreemapTooltipSettings( + color: Colors.orange[300], + borderColor: Colors.deepOrange[900], + borderWidth: 2, + borderRadius: BorderRadius.circular(10), + hideDelay: 6, ), - ], - tooltipSettings: TreemapTooltipSettings( - color: Colors.orange[300], - borderColor: Colors.deepOrange[900], - borderWidth: 2, - borderRadius: BorderRadius.circular(10), - hideDelay: 6, ), ), ), - ), ); } -} class SocialMediaUsers { const SocialMediaUsers(this.country, this.socialMedia, this.usersInMillions); @@ -243,4 +218,4 @@ class SocialMediaUsers { ![Treemap tooltip appearance customization](images/tooltip/tooltip_customization.png) N> -* Refer the [`TreemapLevel.tooltipBuilder`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapLevel/tooltipBuilder.html), for enabling tooltip for the tile. \ No newline at end of file +* Refer the [`TreemapLevel.tooltipBuilder`](https://pub.dev/documentation/syncfusion_flutter_treemap/latest/treemap/TreemapLevel/tooltipBuilder.html), for enabling tooltip for the tile. diff --git a/chart-sdk/javascript/3d-charts/Chart-types/bar.md b/chart-sdk/javascript/3d-charts/Chart-types/bar.md index 765cb04b8..bcbbe4459 100644 --- a/chart-sdk/javascript/3d-charts/Chart-types/bar.md +++ b/chart-sdk/javascript/3d-charts/Chart-types/bar.md @@ -1,17 +1,18 @@ --- layout: post -title: Bar Chart in JavaScript 3D Chart | Syncfusion -description: Learn how to render a bar series in the Syncfusion JavaScript 3D Chart using the BarSeries3D module. +title: Bar Chart in JavaScript 3D Chart control | Syncfusion +description: Learn here all about bar chart in Syncfusion JavaScript 3D Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: 3D Chart +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Bar Chart in JavaScript 3D Chart +# Bar Chart in JavaScript 3D Chart control ## Bar chart -To render a [bar series](https://www.syncfusion.com/javascript-ui-controls/js-charts/chart-types/bar-chart), use series [`type`](../../api/chart3d/series3DModel#type) as `Bar` and inject `BarSeries3D` module using `Chart3D.Inject(BarSeries3D)` method. +To render a [bar series](https://www.syncfusion.com/javascript-ui-controls/js-charts/chart-types/bar-chart), use series [`type`](../../api/chart3d/series3DModel/#type) as `Bar` and inject `BarSeries3D` module using `Chart3D.Inject(BarSeries3D)` method. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -26,7 +27,7 @@ To render a [bar series](https://www.syncfusion.com/javascript-ui-controls/js-ch ## Bar space and width -The [`columnSpacing`](../../api/chart3d/series3DModel#columnspacing) and [`columnWidth`](../../api/chart3d/series3DModel#columnwidth) properties are used to customize the space between bars. +The [`columnSpacing`](../../api/chart3d/series3DModel/#columnspacing) and [`columnWidth`](../../api/chart3d/series3DModel/#columnwidth) properties are used to customize the space between bars. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -41,7 +42,7 @@ The [`columnSpacing`](../../api/chart3d/series3DModel#columnspacing) and [`colum ## Grouped bar -The data points can be grouped in the bar type charts by using the [`groupName`](../../api/chart3d/series3DModel#groupname) property. Data points with same group name are grouped together. +The data points can be grouped in the bar type charts by using the [`groupName`](../../api/chart3d/series3DModel/#groupname) property. Data points with same group name are grouped together. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -56,7 +57,7 @@ The data points can be grouped in the bar type charts by using the [`groupName`] ## Cylindrical bar chart -To render a cylindrical bar chart, set the [`columnFacet`](../../api/chart3d/series3DModel#columnfacet) property to `Cylinder` in the chart series. +To render a cylindrical bar chart, set the [`columnFacet`](../../api/chart3d/series3DModel/#columnfacet) property to `Cylinder` in the chart series. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -73,8 +74,8 @@ To render a cylindrical bar chart, set the [`columnFacet`](../../api/chart3d/ser The following properties can be used to customize the `bar` series. -* [fill](../../api/chart3d/series3DModel#fill) – Specifies the color of the series. -* [opacity](../../api/chart3d/series3DModel#opacity) – Specifies the opacity of the [fill](../../api/chart3d/series3DModel#fill) color. +* [fill](../../api/chart3d/series3DModel/#fill) – Specifies the color of the series. +* [opacity](../../api/chart3d/series3DModel/#opacity) – Specifies the opacity of the [fill](../../api/chart3d/series3DModel/#fill) color. {% tabs %} {% highlight js tabtitle="index.js" %} diff --git a/chart-sdk/javascript/3d-charts/Chart-types/column.md b/chart-sdk/javascript/3d-charts/Chart-types/column.md index 4c6dfd71e..d1f49ab42 100644 --- a/chart-sdk/javascript/3d-charts/Chart-types/column.md +++ b/chart-sdk/javascript/3d-charts/Chart-types/column.md @@ -1,17 +1,18 @@ --- layout: post -title: Column Chart in JavaScript 3D Chart | Syncfusion -description: Learn how to render a column series in the Syncfusion JavaScript 3D Chart using the ColumnSeries3D module. +title: Column Chart in JavaScript 3D Chart control | Syncfusion +description: Learn here all about column chart in Syncfusion JavaScript 3D Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: 3D Chart +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Column Chart in JavaScript 3D Chart +# Column Chart in JavaScript 3D Chart control ## Column chart -To render a [column series](https://www.syncfusion.com/javascript-ui-controls/js-charts/chart-types/column-chart), use series [`type`](../../api/chart3d/series3DModel#type) as `Column` and inject `ColumnSeries3D` module using `Chart3D.Inject(ColumnSeries3D)` method. +To render a [column series](https://www.syncfusion.com/javascript-ui-controls/js-charts/chart-types/column-chart), use series [`type`](../../api/chart3d/series3DModel/#type) as `Column` and inject `ColumnSeries3D` module using `Chart3D.Inject(ColumnSeries3D)` method. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -26,7 +27,7 @@ To render a [column series](https://www.syncfusion.com/javascript-ui-controls/js ## Column space and width -The [`columnSpacing`](../../api/chart3d/series3DModel#columnspacing) and [`columnWidth`](../../api/chart3d/series3DModel#columnwidth) properties are used to customize the space between columns. +The [`columnSpacing`](../../api/chart3d/series3DModel/#columnspacing) and [`columnWidth`](../../api/chart3d/series3DModel/#columnwidth) properties are used to customize the space between columns. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -41,7 +42,7 @@ The [`columnSpacing`](../../api/chart3d/series3DModel#columnspacing) and [`colum ## Grouped column -The data points can be grouped in the column type charts by using the [`groupName`](../../api/chart3d/series3DModel#groupname) property. Data points with same group name are grouped together. +The data points can be grouped in the column type charts by using the [`groupName`](../../api/chart3d/series3DModel/#groupname) property. Data points with same group name are grouped together. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -56,7 +57,7 @@ The data points can be grouped in the column type charts by using the [`groupNam ## Cylindrical column chart -To render a cylindrical column chart, set the [`columnFacet`](../../api/chart3d/series3DModel#columnfacet) property to `Cylinder` in the chart series. +To render a cylindrical column chart, set the [`columnFacet`](../../api/chart3d/series3DModel/#columnfacet) property to `Cylinder` in the chart series. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -73,8 +74,8 @@ To render a cylindrical column chart, set the [`columnFacet`](../../api/chart3d/ The following properties can be used to customize the `column` series. -* [fill](../../api/chart3d/series3DModel#fill) – Specifies the color of the series. -* [opacity](../../api/chart3d/series3DModel#opacity) – Specifies the opacity of the [fill](../../api/chart3d/series3DModel#fill) color. +* [fill](../../api/chart3d/series3DModel/#fill) – Specifies the color of the series. +* [opacity](../../api/chart3d/series3DModel/#opacity) – Specifies the opacity of the [fill](../../api/chart3d/series3DModel/#fill) color. {% tabs %} {% highlight js tabtitle="index.js" %} diff --git a/chart-sdk/javascript/3d-charts/Chart-types/stack-bar.md b/chart-sdk/javascript/3d-charts/Chart-types/stack-bar.md index 76b7b4d2d..5a119b1fe 100644 --- a/chart-sdk/javascript/3d-charts/Chart-types/stack-bar.md +++ b/chart-sdk/javascript/3d-charts/Chart-types/stack-bar.md @@ -1,17 +1,18 @@ --- layout: post -title: Stacked Bar Chart in JavaScript 3D Chart | Syncfusion -description: Learn how to render a stacked bar series in the Syncfusion JavaScript 3D Chart using the StackingBarSeries3D module. +title: Stacked Bar Chart in JavaScript 3D Chart control | Syncfusion +description: Learn here all about stacked bar chart in Syncfusion JavaScript 3D Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: 3D Chart +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Stacked Bar Chart in JavaScript 3D Chart +# Stacked bar chart in JavaScript 3D Chart control ## Stacked bar chart -To render a stacked bar series, use series [`type`](../../api/chart3d/series3DModel#type) as `StackingBar` and inject `StackingBarSeries3D` module using `Chart3D.Inject(StackingBarSeries3D)` method. +To render a stacked bar series, use series [`type`](../../api/chart3d/series3DModel/#type) as `StackingBar` and inject `StackingBarSeries3D` module using `Chart3D.Inject(StackingBarSeries3D)` method. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -26,7 +27,7 @@ To render a stacked bar series, use series [`type`](../../api/chart3d/series3DMo ## Stacking group -To group the stacked bar, the [`stackingGroup`](../../api/chart3d/series3DModel#stackinggroup) property can be used. The columns with same group name are stacked on top of each other. +To group the stacked bar, the [`stackingGroup`](../../api/chart3d/series3DModel/#stackinggroup) property can be used. The columns with same group name are stacked on top of each other. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -41,7 +42,7 @@ To group the stacked bar, the [`stackingGroup`](../../api/chart3d/series3DModel# ## Cylindrical stacked bar chart -To render a cylindrical stacked bar chart, set the [`columnFacet`](../../api/chart3d/series3DModel#columnfacet) property to `Cylinder` in the chart series. +To render a cylindrical stacked bar chart, set the [`columnFacet`](../../api/chart3d/series3DModel/#columnfacet) property to `Cylinder` in the chart series. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -58,8 +59,8 @@ To render a cylindrical stacked bar chart, set the [`columnFacet`](../../api/cha The following properties can be used to customize the `stacked bar` series. -* [fill](../../api/chart3d/series3DModel#fill) – Specifies the color of the series. -* [opacity](../../api/chart3d/series3DModel#opacity) – Specifies the opacity of the [fill](../../api/chart3d/series3DModel#fill) color. +* [fill](../../api/chart3d/series3DModel/#fill) – Specifies the color of the series. +* [opacity](../../api/chart3d/series3DModel/#opacity) – Specifies the opacity of the [fill](../../api/chart3d/series3DModel/#fill) color. {% tabs %} {% highlight js tabtitle="index.js" %} diff --git a/chart-sdk/javascript/3d-charts/Chart-types/stack-column.md b/chart-sdk/javascript/3d-charts/Chart-types/stack-column.md index b2a3e8213..ca5ed049e 100644 --- a/chart-sdk/javascript/3d-charts/Chart-types/stack-column.md +++ b/chart-sdk/javascript/3d-charts/Chart-types/stack-column.md @@ -1,17 +1,18 @@ --- layout: post -title: Stacked Column Chart in JavaScript 3D Chart | Syncfusion -description: Learn how to render a stacked column series in the Syncfusion JavaScript 3D Chart using the StackingColumnSeries3D module. +title: Stacked Column Chart in JavaScript 3D Chart control | Syncfusion +description: Learn here all about stacked column chart in Syncfusion JavaScript 3D Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: 3D Chart +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Stacked Column Chart in JavaScript 3D Chart +# Stacked column chart in JavaScript 3D Chart control ## Stacked column chart -To render a stacked column series, use series [`type`](../../api/chart3d/series3DModel#type) as `StackingColumn` and inject `StackingColumnSeries3D` module using `Chart3D.Inject(StackingColumnSeries3D)` method. +To render a stacked column series, use series [`type`](../../api/chart3d/series3DModel/#type) as `StackingColumn` and inject `StackingColumnSeries3D` module using `Chart3D.Inject(StackingColumnSeries3D)` method. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -26,7 +27,7 @@ To render a stacked column series, use series [`type`](../../api/chart3d/series3 ## Stacking group -To group the stacked column, the [`stackingGroup`](../../api/chart3d/series3DModel#stackinggroup) property can be used. The columns with same group name are stacked on top of each other. +To group the stacked column, the [`stackingGroup`](../../api/chart3d/series3DModel/#stackinggroup) property can be used. The columns with same group name are stacked on top of each other. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -41,7 +42,7 @@ To group the stacked column, the [`stackingGroup`](../../api/chart3d/series3DMod ## Cylindrical stacked column chart -To render a cylindrical stacked column chart, set the [`columnFacet`](../../api/chart3d/series3DModel#columnfacet) property to `Cylinder` in the chart series. +To render a cylindrical stacked column chart, set the [`columnFacet`](../../api/chart3d/series3DModel/#columnfacet) property to `Cylinder` in the chart series. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -58,8 +59,8 @@ To render a cylindrical stacked column chart, set the [`columnFacet`](../../api/ The following properties can be used to customize the `stacked column` series. -* [fill](../../api/chart3d/series3DModel#fill) – Specifies the color of the series. -* [opacity](../../api/chart3d/series3DModel#opacity) – Specifies the opacity of the [fill](../../api/chart3d/series3DModel#fill) color. +* [fill](../../api/chart3d/series3DModel/#fill) – Specifies the color of the series. +* [opacity](../../api/chart3d/series3DModel/#opacity) – Specifies the opacity of the [fill](../../api/chart3d/series3DModel/#fill) color. {% tabs %} diff --git a/chart-sdk/javascript/3d-charts/Chart-types/stacked-bar.md b/chart-sdk/javascript/3d-charts/Chart-types/stacked-bar.md index cef8f5c1e..4f78af667 100644 --- a/chart-sdk/javascript/3d-charts/Chart-types/stacked-bar.md +++ b/chart-sdk/javascript/3d-charts/Chart-types/stacked-bar.md @@ -1,17 +1,18 @@ --- layout: post -title: 100% Stacked Bar Chart in JavaScript 3D Chart | Syncfusion -description: Learn how to render a 100% stacked bar series in the Syncfusion JavaScript 3D Chart using the StackingBarSeries3D module. +title: 100% Stacked Bar Chart in JavaScript 3D Chart control | Syncfusion +description: Learn here all about 100% stacked bar chart in Syncfusion JavaScript 3D Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: 3D Chart +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# 100% Stacked bar chart in JavaScript 3D Chart +# 100% Stacked bar chart in JavaScript 3D Chart control ## 100% Stacked bar chart -To render a [100% stacked bar](https://www.syncfusion.com/javascript-ui-controls/js-charts/chart-types/100-stacked-bar-chart) series, use series [`type`](../../api/chart3d/series3DModel#type) as `StackingBar100` and inject `StackingBarSeries3D` module using `Chart3D.Inject(StackingBarSeries3D)` method. +To render a [100% stacked bar](https://www.syncfusion.com/javascript-ui-controls/js-charts/chart-types/100-stacked-bar-chart) series, use series [`type`](../../api/chart3d/series3DModel/#type) as `StackingBar100` and inject `StackingBarSeries3D` module using `Chart3D.Inject(StackingBarSeries3D)` method. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -26,7 +27,7 @@ To render a [100% stacked bar](https://www.syncfusion.com/javascript-ui-controls ## 100% Cylindrical stacked bar chart -To render a cylindrical 100% stacked bar chart, set the [`columnFacet`](../../api/chart3d/series3DModel#columnfacet) property to `Cylinder` in the chart series. +To render a cylindrical 100% stacked bar chart, set the [`columnFacet`](../../api/chart3d/series3DModel/#columnfacet) property to `Cylinder` in the chart series. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -43,8 +44,8 @@ To render a cylindrical 100% stacked bar chart, set the [`columnFacet`](../../ap The following properties can be used to customize the `100% stacked bar` series. -* [fill](../../api/chart3d/series3DModel#fill) – Specifies the color of the series. -* [opacity](../../api/chart3d/series3DModel#opacity) – Specifies the opacity of the [fill](../../api/chart3d/series3DModel#fill) color. +* [fill](../../api/chart3d/series3DModel/#fill) – Specifies the color of the series. +* [opacity](../../api/chart3d/series3DModel/#opacity) – Specifies the opacity of the [fill](../../api/chart3d/series3DModel/#fill) color. {% tabs %} {% highlight js tabtitle="index.js" %} diff --git a/chart-sdk/javascript/3d-charts/Chart-types/stacked-column.md b/chart-sdk/javascript/3d-charts/Chart-types/stacked-column.md index 9fbdfb93e..7561d93ea 100644 --- a/chart-sdk/javascript/3d-charts/Chart-types/stacked-column.md +++ b/chart-sdk/javascript/3d-charts/Chart-types/stacked-column.md @@ -1,17 +1,18 @@ --- layout: post -title: 100% Stacked Column Chart in JavaScript 3D Chart | Syncfusion -description: Learn how to render a 100% stacked column series in the Syncfusion JavaScript 3D Chart using the StackingColumnSeries3D module. +title: 100% Stacked Column Chart in JavaScript 3D Chart control | Syncfusion +description: Learn here all about 100% stacked column chart in Syncfusion JavaScript 3D Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: 3D Chart +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# 100% Stacked column chart in JavaScript 3D Chart +# 100% Stacked column chart in JavaScript 3D Chart control ## 100% Stacked column chart -To render a [100% stacked column](https://www.syncfusion.com/javascript-ui-controls/js-charts/chart-types/100-stacked-column-chart) series, use series [`type`](../../api/chart3d/series3DModel#type) as `StackingColumn100` and inject `StackingColumnSeries3D` module using `Chart3D.Inject(StackingColumnSeries3D)` method. +To render a [100% stacked column](https://www.syncfusion.com/javascript-ui-controls/js-charts/chart-types/100-stacked-column-chart) series, use series [`type`](../../api/chart3d/series3DModel/#type) as `StackingColumn100` and inject `StackingColumnSeries3D` module using `Chart3D.Inject(StackingColumnSeries3D)` method. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -26,7 +27,7 @@ To render a [100% stacked column](https://www.syncfusion.com/javascript-ui-contr ## 100% Cylindrical stacked column chart -To render a 100% cylindrical stacked column chart, set the [`columnFacet`](../../api/chart3d/series3DModel#columnfacet) property to `Cylinder` in the chart series. +To render a 100% cylindrical stacked column chart, set the [`columnFacet`](../../api/chart3d/series3DModel/#columnfacet) property to `Cylinder` in the chart series. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -43,8 +44,8 @@ To render a 100% cylindrical stacked column chart, set the [`columnFacet`](../.. The following properties can be used to customize the `100% stacked column` series. -* [fill](../../api/chart3d/series3DModel#fill) – Specifies the color of the series. -* [opacity](../../api/chart3d/series3DModel#opacity) – Specifies the opacity of the [fill](../../api/chart3d/series3DModel#fill) color. +* [fill](../../api/chart3d/series3DModel/#fill) – Specifies the color of the series. +* [opacity](../../api/chart3d/series3DModel/#opacity) – Specifies the opacity of the [fill](../../api/chart3d/series3DModel/#fill) color. {% tabs %} {% highlight js tabtitle="index.js" %} diff --git a/chart-sdk/javascript/3d-charts/accessibility.md b/chart-sdk/javascript/3d-charts/accessibility.md index 5aadc4768..636ccfa89 100644 --- a/chart-sdk/javascript/3d-charts/accessibility.md +++ b/chart-sdk/javascript/3d-charts/accessibility.md @@ -1,14 +1,15 @@ --- layout: post -title: Accessibility in JavaScript 3D Chart | Syncfusion -description: Learn how to make the Syncfusion JavaScript 3D Chart accessible using WAI-ARIA roles and keyboard navigation. +title: Accessibility in JavaScript 3D Chart control | Syncfusion +description: Learn here all about accessibility in Syncfusion JavaScript 3D Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: 3D Chart +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Accessibility in JavaScript 3D Chart +# Accessibility in JavaScript 3D Chart control Accessibility is achieved in the 3D chart control through WAI-ARIA standard and keyboard navigation. The 3D chart features can be effectively accessed through assistive technologies such as screen readers. diff --git a/chart-sdk/javascript/3d-charts/appearance.md b/chart-sdk/javascript/3d-charts/appearance.md index 5c50e00cd..5ee94f91e 100644 --- a/chart-sdk/javascript/3d-charts/appearance.md +++ b/chart-sdk/javascript/3d-charts/appearance.md @@ -1,18 +1,19 @@ --- layout: post -title: Appearance in JavaScript 3D Chart | Syncfusion -description: Learn how to customize the appearance of the Syncfusion JavaScript 3D Chart using palettes, background, border, animation, and title. +title: Appearance in JavaScript 3D Chart control | Syncfusion +description: Learn here all about appearance in Syncfusion JavaScript 3D Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: 3D Chart +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Appearance in JavaScript 3D Chart +# Appearance in JavaScript 3D Chart control ## Custom color palette -The default color of series or points can be customized by providing a custom color palette of your choice by using the [`palettes`](../api/chart3d/chart3DModel#palettes) property. +The default color of series or points can be customized by providing a custom color palette of your choice by using the [`palettes`](../api/chart3d/chart3DModel/#palettes) property. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -31,7 +32,7 @@ The color of an individual data point can be customized using the below options. ### Point color mapping -The color for the points can be bound from the [`dataSource`](../api/chart3d/series3D#datasource) for the series by utilizing the [`pointColorMapping`](../api/chart3d/series3D#pointcolormapping) property. +The color for the points can be bound from the [`dataSource`](../api/chart3d/series3D/#datasource) for the series by utilizing the [`pointColorMapping`](../api/chart3d/series3D/#pointcolormapping) property. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -46,7 +47,7 @@ The color for the points can be bound from the [`dataSource`](../api/chart3d/ser ## Point level customization -The data label and fill color of each data point can be customized using the [`pointRender`](../api/chart3d/i3DPointRenderEventArgs) and [`textRender`](../api/chart3d/i3dtextrendereventargs) events. +The data label and fill color of each data point can be customized using the [`pointRender`](../api/chart3d/i3DPointRenderEventArgs/) and [`textRender`](../api/chart3d/i3dtextrendereventargs/) events. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -67,7 +68,7 @@ The data label and fill color of each data point can be customized using the [`p **Customize the chart background** -The background color and border of the 3D chart can be customized using the [`background`](../api/chart3d/chart3DModel#background) and [`border`](../api/chart3d/chart3DModel#border) properties. +The background color and border of the 3D chart can be customized using the [`background`](../api/chart3d/chart3DModel/#background) and [`border`](../api/chart3d/chart3DModel/#border) properties. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -82,7 +83,7 @@ The background color and border of the 3D chart can be customized using the [`ba **Chart margin** -The 3D chart's margin can be set from its container using the [`margin`](../api/chart3d/chart3DModel#margin) property. +The 3D chart's margin can be set from its container using the [`margin`](../api/chart3d/chart3DModel/#margin) property. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -97,7 +98,7 @@ The 3D chart's margin can be set from its container using the [`margin`](../api/ ## Animation -To customize the animation for a particular series, the [`animation`](../api/chart3d/series3D#animation) property can be used. It can be enabled or disabled by using the [`enable`](../api/chart3d/animationModel#enable) property. The [`duration`](../api/chart3d/animationModel#duration) property specifies the duration of an animation and the [`delay`](../api/chart3d/animationModel#delay) property allows us to start the animation at desire time. +To customize the animation for a particular series, the [`animation`](../api/chart3d/series3D/#animation) property can be used. It can be enabled or disabled by using the [`enable`](../api/chart3d/animationModel/#enable) property. The [`duration`](../api/chart3d/animationModel/#duration) property specifies the duration of an animation and the [`delay`](../api/chart3d/animationModel/#delay) property allows us to start the animation at desire time. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -112,7 +113,7 @@ To customize the animation for a particular series, the [`animation`](../api/cha ## Chart rotation -The 3D chart can be rotated by using the [`enableRotation`](../api/chart3d/chart3DModel#enablerotation) property. +The 3D chart can be rotated by using the [`enableRotation`](../api/chart3d/chart3DModel/#enablerotation) property. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -127,7 +128,7 @@ The 3D chart can be rotated by using the [`enableRotation`](../api/chart3d/chart ## Title -The 3D chart can be given a title by using [`title`](../api/chart3d/chart3DModel#title) property, to show the information about the data plotted. +The 3D chart can be given a title by using [`title`](../api/chart3d/chart3DModel/#title) property, to show the information about the data plotted. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -142,7 +143,7 @@ The 3D chart can be given a title by using [`title`](../api/chart3d/chart3DModel ### Title position -By using the [`position`](../api/chart3d/titleSettingsModel#position) property in [`titleStyle`](../api/chart3d/chart3DModel#titlestyle), the [`title`](../api/chart#title-string) can be positioned at left, right, top or bottom of the 3D chart. The title is positioned at the top of the 3D chart, by default. +By using the [`position`](../api/chart3d/titleSettingsModel/#position) property in [`titleStyle`](../api/chart3d/chart3DModel/#titlestyle), the [`title`](../api/chart/#title-string) can be positioned at left, right, top or bottom of the 3D chart. The title is positioned at the top of the 3D chart, by default. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -155,7 +156,7 @@ By using the [`position`](../api/chart3d/titleSettingsModel#position) property {% previewsample "https://help.syncfusion.com/code-snippet/chart-sdk/javascript/3d-charts/appearance-cs8" %} -The custom option is used to position the title anywhere in the 3D chart using [`x`](../api/chart3d/titleSettingsModel#x) and [`y`](../api/chart3d/titleSettingsModel#y) coordinates. +The custom option is used to position the title anywhere in the 3D chart using [`x`](../api/chart3d/titleSettingsModel/#x) and [`y`](../api/chart3d/titleSettingsModel/#y) coordinates. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -170,7 +171,7 @@ The custom option is used to position the title anywhere in the 3D chart using [ ### Title alignment -The title can be aligned to the near, far, or center of the 3D chart by using the [`textAlignment`](../api/chart3d/titleSettingsModel#textalignment) property. +The title can be aligned to the near, far, or center of the 3D chart by using the [`textAlignment`](../api/chart3d/titleSettingsModel/#textalignment) property. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -185,16 +186,16 @@ The title can be aligned to the near, far, or center of the 3D chart by using th ### Title customization -The [`titleStyle`](../api/chart3d/chart3DModel#titlestyle) property of the 3D chart provides options to customize the title by using the following properties. +The [`titleStyle`](../api/chart3d/chart3DModel/#titlestyle) property of the 3D chart provides options to customize the title by using the following properties. -* [`size`](../api/chart3d/titleSettingsModel#size) - Specifies the size of the title. -* [`color`](../api/chart3d/titleSettingsModel#color) - Specifies the color for the title. -* [`fontFamily`](../api/chart3d/titleSettingsModel#fontfamily) - Specifies the font family for the title. -* [`fontWeight`](../api/chart3d/titleSettingsModel#fontweight) - Specifies the font weight of the title. -* [`fontStyle`](../api/chart3d/titleSettingsModel#fontstyle) - Specifies the font style for the title. -* [`opacity`](../api/chart3d/titleSettingsModel#opacity) - Specifies the opacity for the color of the title. -* [`textAlignment`](../api/chart3d/titleSettingsModel#textalignment) - Specifies the alignment of the title. -* [`textOverflow`](../api/chart3d/titleSettingsModel#textoverflow) - Specifies the overflow of the title. +* [`size`](../api/chart3d/titleSettingsModel/#size) - Specifies the size of the title. +* [`color`](../api/chart3d/titleSettingsModel/#color) - Specifies the color for the title. +* [`fontFamily`](../api/chart3d/titleSettingsModel/#fontfamily) - Specifies the font family for the title. +* [`fontWeight`](../api/chart3d/titleSettingsModel/#fontweight) - Specifies the font weight of the title. +* [`fontStyle`](../api/chart3d/titleSettingsModel/#fontstyle) - Specifies the font style for the title. +* [`opacity`](../api/chart3d/titleSettingsModel/#opacity) - Specifies the opacity for the color of the title. +* [`textAlignment`](../api/chart3d/titleSettingsModel/#textalignment) - Specifies the alignment of the title. +* [`textOverflow`](../api/chart3d/titleSettingsModel/#textoverflow) - Specifies the overflow of the title. {% tabs %} {% highlight js tabtitle="index.js" %} diff --git a/chart-sdk/javascript/3d-charts/axis-customization.md b/chart-sdk/javascript/3d-charts/axis-customization.md index 2478f5b87..80ad46526 100644 --- a/chart-sdk/javascript/3d-charts/axis-customization.md +++ b/chart-sdk/javascript/3d-charts/axis-customization.md @@ -1,18 +1,19 @@ --- layout: post -title: Axis Customization in JavaScript 3D Chart | Syncfusion -description: Learn how to customize the axes of the Syncfusion JavaScript 3D Chart 3D Chart, including titles, labels, and tick lines. +title: Axis customization in JavaScript 3D Chart control | Syncfusion +description: Learn here all about axis customization in Syncfusion JavaScript 3D Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: 3D Chart +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Axis Customization in JavaScript 3D Chart +# Axis customization in JavaScript 3D Chart control ## Title -The title for the axis can be added by using the [`title`](../api/chart3d/axis3D#title) property. It helps to provide quick information to the user about the data plotted in the axis. Title style can be customized using [`titleStyle`](../api/chart3d/axis3D#titlestyle) property of the axis. +The title for the axis can be added by using the [`title`](../api/chart3d/axis3D/#title) property. It helps to provide quick information to the user about the data plotted in the axis. Title style can be customized using [`titleStyle`](../api/chart3d/axis3D/#titlestyle) property of the axis. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -27,7 +28,7 @@ The title for the axis can be added by using the [`title`](../api/chart3d/axis3D ## Title rotation -The title can be rotated from 0 to 360 degree by using the [`titleRotation`](../api/chart3d/axis3D#titlerotation) property. +The title can be rotated from 0 to 360 degree by using the [`titleRotation`](../api/chart3d/axis3D/#titlerotation) property. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -42,7 +43,7 @@ The title can be rotated from 0 to 360 degree by using the [`titleRotation`](../ ## Tick lines customization -The [`width`](../api/chart3d/majorTickModel#width), [`color`](../api/chart3d/majorTickModel#color) and [`height`](../api/chart3d/majorTickModel#height) of the minor and major tick lines can be customized by using the [`majorTickLines`](../api/chart3d/axis3D#majorticklines) and [`minorTickLines`](../api/chart3d/axis3D#minorticklines) properties in the axis. +The [`width`](../api/chart3d/majorTickModel/#width), [`color`](../api/chart3d/majorTickModel/#color) and [`height`](../api/chart3d/majorTickModel/#height) of the minor and major tick lines can be customized by using the [`majorTickLines`](../api/chart3d/axis3D/#majorticklines) and [`minorTickLines`](../api/chart3d/axis3D/#minorticklines) properties in the axis. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -57,7 +58,7 @@ The [`width`](../api/chart3d/majorTickModel#width), [`color`](../api/chart3d/ma ## Grid lines customization -The [`width`](../api/chart3d/majorGridModel#width) and [`color`](../api/chart3d/majorGridModel#color) of the minor and major grid lines can be customized by using the [`majorGridLines`](../api/chart3d/axis3D#majorgridlines) and [`minorGridLines`](../api/chart3d/axis3D#minorgridlines) properties in the axis. +The [`width`](../api/chart3d/majorGridModel/#width) and [`color`](../api/chart3d/majorGridModel/#color) of the minor and major grid lines can be customized by using the [`majorGridLines`](../api/chart3d/axis3D/#majorgridlines) and [`minorGridLines`](../api/chart3d/axis3D/#minorgridlines) properties in the axis. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -89,7 +90,7 @@ In addition to primary X and Y axis, n number of axis can be added to the chart. -When an axis is inversed, highest value of the axis comes closer to origin and vice versa. To place an axis in inversed manner, set the [`isInversed`](../api/chart3d/axis3D#isinversed) property to **true**. +When an axis is inversed, highest value of the axis comes closer to origin and vice versa. To place an axis in inversed manner, set the [`isInversed`](../api/chart3d/axis3D/#isinversed) property to **true**. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -104,7 +105,7 @@ When an axis is inversed, highest value of the axis comes closer to origin and v ## Opposed position -To place an axis opposite from its original position, set the [`opposedPosition`](../api/chart3d/axis3D#opposedposition) property to **true**. +To place an axis opposite from its original position, set the [`opposedPosition`](../api/chart3d/axis3D/#opposedposition) property to **true**. {% tabs %} {% highlight js tabtitle="index.js" %} diff --git a/chart-sdk/javascript/3d-charts/axis-labels.md b/chart-sdk/javascript/3d-charts/axis-labels.md index dd70b3f3a..115a9d257 100644 --- a/chart-sdk/javascript/3d-charts/axis-labels.md +++ b/chart-sdk/javascript/3d-charts/axis-labels.md @@ -1,20 +1,21 @@ --- layout: post -title: Axis Labels in JavaScript 3D Chart | Syncfusion -description: Learn how to customize axis labels in the Syncfusion JavaScript 3D Chart, including smart labels and edge label placement. +title: Axis labels in JavaScript 3D Chart control | Syncfusion +description: Learn here all about axis labels in Syncfusion JavaScript 3D Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: 3D Chart +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Axis Labels in JavaScript 3D Chart +# Axis labels in JavaScript 3D Chart control Axis labels are the labels that are positioned adjacent to the y-axis and beneath the x-axis. It provides descriptive information about the axis. ## Smart axis labels -When the axis labels overlap with each other, [`labelIntersectAction`](../api/chart3d/axis3D#labelintersectaction) property in the axis can be used to place them smartly. +When the axis labels overlap with each other, [`labelIntersectAction`](../api/chart3d/axis3D/#labelintersectaction) property in the axis can be used to place them smartly. **Case 1**: When setting `labelIntersectAction` as `Hide`. @@ -58,7 +59,7 @@ When the axis labels overlap with each other, [`labelIntersectAction`](../api/c ## Edge label placement Labels with long text at the edges of an axis may appear partially in the 3D chart. To avoid this, -use the [`edgeLabelPlacement`](../api/chart3d/axis3D#edgelabelplacement) property in axis, which moves the label inside the chart area for better appearance or hides it. +use the [`edgeLabelPlacement`](../api/chart3d/axis3D/#edgelabelplacement) property in axis, which moves the label inside the chart area for better appearance or hides it. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -73,7 +74,7 @@ use the [`edgeLabelPlacement`](../api/chart3d/axis3D#edgelabelplacement) prope ## Maximum labels -The labels will be rendered based on the count in the [`maximumLabels`](../api/chart3d/axis3D#maximumlabels) property per 100 pixel. If the range (minimum, maximum, interval) and `maximumLabels` are set, then the priority goes to range. If the range is not set, then the priority goes to `maximumLabels` property. +The labels will be rendered based on the count in the [`maximumLabels`](../api/chart3d/axis3D/#maximumlabels) property per 100 pixel. If the range (minimum, maximum, interval) and `maximumLabels` are set, then the priority goes to range. If the range is not set, then the priority goes to `maximumLabels` property. {% tabs %} {% highlight js tabtitle="index.js" %} diff --git a/chart-sdk/javascript/3d-charts/category-axis.md b/chart-sdk/javascript/3d-charts/category-axis.md index 690899bca..c065c14ea 100644 --- a/chart-sdk/javascript/3d-charts/category-axis.md +++ b/chart-sdk/javascript/3d-charts/category-axis.md @@ -1,14 +1,15 @@ --- layout: post -title: Category Axis in JavaScript 3D Chart | Syncfusion -description: Learn how to render the Syncfusion JavaScript 3D Chart with a category axis that shows text values along the horizontal axis. +title: Category axis in JavaScript 3D Chart control | Syncfusion +description: Learn here all about category axis in Syncfusion JavaScript 3D Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: 3D Chart +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Category Axis in JavaScript 3D Chart +# Category axis in JavaScript 3D Chart control The category axis is the horizontal axis of a 3D chart that shows text values rather than numerical values. Compared to the vertical axis, this axis has fewer labels. The following sample shows to render the 3D chart using category axis. @@ -23,11 +24,11 @@ The category axis is the horizontal axis of a 3D chart that shows text values ra {% previewsample "https://help.syncfusion.com/code-snippet/chart-sdk/javascript/3d-charts/column-cs1" %} ->Note: To use category axis, we need to inject `Category3D` module using `Chart3D.Inject(Category3D)` method and set the [`valueType`](../api/chart3d/axis3D#valuetype) of axis to **Category**. +>Note: To use category axis, we need to inject `Category3D` module using `Chart3D.Inject(Category3D)` method and set the [`valueType`](../api/chart3d/axis3D/#valuetype) of axis to **Category**. ## Labels placement -By default, category axis labels are placed between ticks in an axis. It can also be placed on ticks using the [`labelPlacement`](../api/chart3d/axis3D#labelplacement) property. +By default, category axis labels are placed between ticks in an axis. It can also be placed on ticks using the [`labelPlacement`](../api/chart3d/axis3D/#labelplacement) property. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -42,7 +43,7 @@ By default, category axis labels are placed between ticks in an axis. It can als ## Range -The range of the category axis can be customized using [`minimum`](../api/chart3d/axis3D#minimum), [`maximum`](../api/chart3d/axis3D#maximum) and [`interval`](../api/chart3d/axis3D#interval) properties of the axis. +The range of the category axis can be customized using [`minimum`](../api/chart3d/axis3D/#minimum), [`maximum`](../api/chart3d/axis3D/#maximum) and [`interval`](../api/chart3d/axis3D/#interval) properties of the axis. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -57,7 +58,7 @@ The range of the category axis can be customized using [`minimum`](../api/chart3 ## Indexed category axis -The category axis can also be rendered based on the index values of the data source. This can be achieved by defining the [`isIndexed`](../api/chart3d/axis3D#isindexed) property to **true** in the axis. +The category axis can also be rendered based on the index values of the data source. This can be achieved by defining the [`isIndexed`](../api/chart3d/axis3D/#isindexed) property to **true** in the axis. {% tabs %} {% highlight js tabtitle="index.js" %} diff --git a/chart-sdk/javascript/3d-charts/data-labels.md b/chart-sdk/javascript/3d-charts/data-labels.md index 632e2f06b..3f75848b8 100644 --- a/chart-sdk/javascript/3d-charts/data-labels.md +++ b/chart-sdk/javascript/3d-charts/data-labels.md @@ -1,16 +1,17 @@ --- layout: post -title: Data labels in JavaScript 3D Chart | Syncfusion -description: Learn how to add and customize data labels in the Syncfusion JavaScript 3D Chart for each chart series. +title: Data labels in JavaScript 3D Chart control | Syncfusion +description: Learn here all about data labels in Syncfusion JavaScript 3D Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: 3D Chart +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Data labels in JavaScript 3D Chart +# Data labels in JavaScript 3D Chart control -Data labels are fields that includes information about the sample point connected to an output. It can be added to a chart series by enabling the [`visible`](../api/chart3d/dataLabelStyleModel#visible) property in the [`dataLabel`](../api/chart3d/series3DModel#datalabel). By default, the labels will arrange smartly without overlapping. +Data labels are fields that includes information about the sample point connected to an output. It can be added to a chart series by enabling the [`visible`](../api/chart3d/dataLabelStyleModel/#visible) property in the [`dataLabel`](../api/chart3d/series3DModel/#datalabel). By default, the labels will arrange smartly without overlapping. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -27,7 +28,7 @@ Data labels are fields that includes information about the sample point connecte ## Position -The [`position`](../api/chart3d/dataLabelStyleModel#position) property is used to place the label either on `Top`, `Middle`, or `Bottom`. +The [`position`](../api/chart3d/dataLabelStyleModel/#position) property is used to place the label either on `Top`, `Middle`, or `Bottom`. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -42,7 +43,7 @@ The [`position`](../api/chart3d/dataLabelStyleModel#position) property is used t ## Template -Label content can be formatted by using the template option. Inside the template, the placeholder text `${point.x}` and `${point.y}` can be added to display corresponding data points x & y value. Using [`template`](../api/chart3d/dataLabelStyleModel#template) property, the data label template can be set. +Label content can be formatted by using the template option. Inside the template, the placeholder text `${point.x}` and `${point.y}` can be added to display corresponding data points x & y value. Using [`template`](../api/chart3d/dataLabelStyleModel/#template) property, the data label template can be set. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -57,7 +58,7 @@ Label content can be formatted by using the template option. Inside the template ## Text mapping -Text from the data source can be mapped using the [`name`](../api/chart3d/dataLabelStyleModel#name) property. +Text from the data source can be mapped using the [`name`](../api/chart3d/dataLabelStyleModel/#name) property. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -72,7 +73,7 @@ Text from the data source can be mapped using the [`name`](../api/chart3d/dataLa ## Format -Data label for the chart can be formatted using the [`format`](../api/chart3d/dataLabelStyleModel#format) property. The global formatting options can be used as 'n', 'p', and 'c'. +Data label for the chart can be formatted using the [`format`](../api/chart3d/dataLabelStyleModel/#format) property. The global formatting options can be used as 'n', 'p', and 'c'. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -144,7 +145,7 @@ Data label for the chart can be formatted using the [`format`](../api/chart3d/da ## Margin -The [`margin`](../api/chart3d/dataLabelStyleModel#margin) for data label can be applied by using [`left`](../api/chart3d/marginModel#left), [`right`](../api/chart3d/marginModel#right), [`bottom`](../api/chart3d/marginModel#bottom) and [`top`](../api/chart3d/marginModel#top) properties. +The [`margin`](../api/chart3d/dataLabelStyleModel/#margin) for data label can be applied by using [`left`](../api/chart3d/marginModel/#left), [`right`](../api/chart3d/marginModel/#right), [`bottom`](../api/chart3d/marginModel/#bottom) and [`top`](../api/chart3d/marginModel/#top) properties. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -159,7 +160,7 @@ The [`margin`](../api/chart3d/dataLabelStyleModel#margin) for data label can be ## Customization -The `stroke` and `border` of data label can be customized using [`fill`](../api/chart3d/dataLabelStyleModel#fill) and [`border`](../api/chart3d/dataLabelStyleModel#border) properties. +The `stroke` and `border` of data label can be customized using [`fill`](../api/chart3d/dataLabelStyleModel/#fill) and [`border`](../api/chart3d/dataLabelStyleModel/#border) properties. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -174,7 +175,7 @@ The `stroke` and `border` of data label can be customized using [`fill`](../api/ ## Customizing specific label -A specific label can be customized by using the [`textRender`](../api/chart3d/i3dtextrendereventargs) event. The `textRender` event allows you to change the label text for the point. +A specific label can be customized by using the [`textRender`](../api/chart3d/i3dtextrendereventargs/) event. The `textRender` event allows you to change the label text for the point. {% tabs %} {% highlight js tabtitle="index.js" %} diff --git a/chart-sdk/javascript/3d-charts/datetime-axis.md b/chart-sdk/javascript/3d-charts/datetime-axis.md index 589c07b0d..93b279e95 100644 --- a/chart-sdk/javascript/3d-charts/datetime-axis.md +++ b/chart-sdk/javascript/3d-charts/datetime-axis.md @@ -1,15 +1,16 @@ --- layout: post -title: DateTime Axis in JavaScript 3D Chart | Syncfusion -description: Learn how to render the Syncfusion JavaScript 3D Chart with a DateTime axis that displays date and time scale values. +title: DateTime axis in JavaScript 3D Chart control | Syncfusion +description: Learn here all about DateTime axis in Syncfusion JavaScript 3D Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: 3D Chart +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# DateTime Axis in JavaScript 3D Chart +# DateTime axis in JavaScript 3D Chart control ## DateTime axis @@ -26,7 +27,7 @@ DateTime axis uses date time scale and displays the date time values as axis lab {% previewsample "https://help.syncfusion.com/code-snippet/chart-sdk/javascript/3d-charts/date-time-cs1" %} ->Note: To use datetime axis, we need to inject `DateTime3D` module using `Chart3D.Inject(DateTime3D)` method and set the [`valueType`](../api/chart3d/axis3D#valuetype) of axis to **DateTime**. +>Note: To use datetime axis, we need to inject `DateTime3D` module using `Chart3D.Inject(DateTime3D)` method and set the [`valueType`](../api/chart3d/axis3D/#valuetype) of axis to **DateTime**. ## DateTime category axis @@ -43,11 +44,11 @@ DateTime category axis is used to display the date time values with non-linear i {% previewsample "https://help.syncfusion.com/code-snippet/chart-sdk/javascript/3d-charts/date-time-cs2" %} ->Note: To use datetime category axis, we need to inject `DateTimeCategory3D` module using the `Chart3D.Inject(DateTimeCategory3D)` method and set the [`valueType`](../api/chart3d/axis3D#valuetype) of axis to **DateTimeCategory**. +>Note: To use datetime category axis, we need to inject `DateTimeCategory3D` module using the `Chart3D.Inject(DateTimeCategory3D)` method and set the [`valueType`](../api/chart3d/axis3D/#valuetype) of axis to **DateTimeCategory**. ### Range -Range of an axis will be calculated automatically based on the provided data. You can also customize the range of an axis using [`minimum`](../api/chart3d/axis3D#minimum), [`maximum`](../api/chart3d/axis3D#maximum) and [`interval`](../api/chart3d/axis3D#interval) properties. +Range of an axis will be calculated automatically based on the provided data. You can also customize the range of an axis using [`minimum`](../api/chart3d/axis3D/#minimum), [`maximum`](../api/chart3d/axis3D/#maximum) and [`interval`](../api/chart3d/axis3D/#interval) properties. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -62,7 +63,7 @@ Range of an axis will be calculated automatically based on the provided data. Yo ### Interval customization -Date time intervals can be customized by using the [`interval`](../api/chart3d/axis3D#interval) and [`intervalType`](../api/chart3d/axis3D#intervaltype) properties of the axis. For example, when you set `interval` as **2** and `intervalType` as **Years**, it considers 2 years as interval. DateTime axis supports following interval types, +Date time intervals can be customized by using the [`interval`](../api/chart3d/axis3D/#interval) and [`intervalType`](../api/chart3d/axis3D/#intervaltype) properties of the axis. For example, when you set `interval` as **2** and `intervalType` as **Years**, it considers 2 years as interval. DateTime axis supports following interval types, * Auto * Years @@ -85,7 +86,7 @@ Date time intervals can be customized by using the [`interval`](../api/chart3d/a **Applying padding to the range** -Padding can be applied to the minimum and maximum extremes of the range by using the [`rangePadding`](../api/chart3d/axis3D#rangepadding) property. DateTime axis supports the following types of padding, +Padding can be applied to the minimum and maximum extremes of the range by using the [`rangePadding`](../api/chart3d/axis3D/#rangepadding) property. DateTime axis supports the following types of padding, * None * Round @@ -93,7 +94,7 @@ Padding can be applied to the minimum and maximum extremes of the range by using **DateTime - None** -When the [`rangePadding`](../api/chart3d/axis3D#rangepadding) is set to `None`, minimum and maximum of an axis is based on the data. +When the [`rangePadding`](../api/chart3d/axis3D/#rangepadding) is set to `None`, minimum and maximum of an axis is based on the data. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -108,7 +109,7 @@ When the [`rangePadding`](../api/chart3d/axis3D#rangepadding) is set to `None`, **DateTime - Round** -When the [`rangePadding`](../api/chart3d/axis3D#rangepadding) is set to `Round`, minimum and maximum will be rounded to the nearest possible value, which is divisible by interval. For example, when the minimum is **15th Jan**, interval is **1** and interval type is **Month**, then the axis minimum will be **Jan 1st**. +When the [`rangePadding`](../api/chart3d/axis3D/#rangepadding) is set to `Round`, minimum and maximum will be rounded to the nearest possible value, which is divisible by interval. For example, when the minimum is **15th Jan**, interval is **1** and interval type is **Month**, then the axis minimum will be **Jan 1st**. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -123,7 +124,7 @@ When the [`rangePadding`](../api/chart3d/axis3D#rangepadding) is set to `Round`, **DateTime - Additional** -When the [`rangePadding`](../api/chart3d/axis3D#rangepadding) is set to `Additional`, interval of an axis will be padded to the minimum and maximum of the axis. +When the [`rangePadding`](../api/chart3d/axis3D/#rangepadding) is set to `Additional`, interval of an axis will be padded to the minimum and maximum of the axis. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -138,7 +139,7 @@ When the [`rangePadding`](../api/chart3d/axis3D#rangepadding) is set to `Additio ## Label format -The date can be formatted and parsed to all globalize format using the [`labelFormat`](../api/chart3d/axis3D#labelformat) property in an axis. +The date can be formatted and parsed to all globalize format using the [`labelFormat`](../api/chart3d/axis3D/#labelformat) property in an axis. {% tabs %} {% highlight js tabtitle="index.js" %} diff --git a/chart-sdk/javascript/3d-charts/dimensions.md b/chart-sdk/javascript/3d-charts/dimensions.md index 4b6ff00db..e33643eed 100644 --- a/chart-sdk/javascript/3d-charts/dimensions.md +++ b/chart-sdk/javascript/3d-charts/dimensions.md @@ -1,14 +1,15 @@ --- layout: post -title: Dimensions in JavaScript 3D Chart | Syncfusion +title: Dimensions in JavaScript 3D Chart control | Syncfusion description: Learn here all about dimensions in Syncfusion JavaScript 3D Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: 3D Chart +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Dimensions in JavaScript 3D Chart +# Dimensions in JavaScript 3D Chart control ## Size for container @@ -36,7 +37,7 @@ The 3D chart can be rendered to its container size and it can be set via inline -The size of the 3D chart can be set directly through [`width`](../api/chart3d/chart3DModel#width) and [`height`](../api/chart3d/chart3DModel#height) properties. +The size of the 3D chart can be set directly through [`width`](../api/chart3d/chart3DModel/#width) and [`height`](../api/chart3d/chart3DModel/#height) properties. **In Pixel** diff --git a/chart-sdk/javascript/3d-charts/es5-getting-started.md b/chart-sdk/javascript/3d-charts/es5-getting-started.md index 68b4ca59f..12220c376 100644 --- a/chart-sdk/javascript/3d-charts/es5-getting-started.md +++ b/chart-sdk/javascript/3d-charts/es5-getting-started.md @@ -1,16 +1,17 @@ --- layout: post -title: Getting Started with JavaScript 3D Chart (ES5) | Syncfusion -description: Learn how to get started with the Syncfusion JavaScript 3D Chart in an ES5 application using the CDN approach. +title: ES5 getting started with JavaScript 3D Chart control | Syncfusion +description: Check out and learn about ES5 getting started with JavaScript 3D Chart control of Syncfusion Essential JS 2 and more details. platform: chart-sdk control: 3D Chart +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- # Getting Started with Syncfusion® JavaScript (ES5) 3D Chart Control -Build your first Syncfusion JavaScript (ES5) application with a simple 3D Chart in just a few minutes. This quick start guides you through creating a minimal, runnable HTML page that loads the Syncfusion EJ2 (ES5) 3D Chart from the CDN, initializes it with sample data, and renders an interactive Column chart with a title. +Build your first Syncfusion JavaScript (ES5) application with a simple 3D Chart in just a few minutes. This quickstart guides you through creating a minimal, runnable HTML page that loads the Syncfusion EJ2 (ES5) 3D Chart from the CDN, initializes it with sample data, and renders an interactive Column chart with a title. ## Prerequisites @@ -37,8 +38,8 @@ The 3D Chart control ships as part of the `@syncfusion/ej2-charts` package. Belo ### Step 1: Create Folder and HTML file -* Create a folder named `quick start` in your desired directory. -* Inside the `quick start` folder, create two new files: `index.html` and `index.js`. +* Create a folder named `quickstart` in your desired directory. +* Inside the `quickstart` folder, create two new files: `index.html` and `index.js`. ### Step 2: Add Syncfusion® CDN Resources @@ -73,7 +74,7 @@ Key options used in the configuration object: Finally, `chart3D.appendTo('#element')` renders the control into the `
      ` element declared in `index.html`. -Copy the snippets below into the matching files in your `quick start` folder. +Copy the snippets below into the matching files in your `quickstart` folder. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -86,7 +87,7 @@ Copy the snippets below into the matching files in your `quick start` folder. ### Step 4: Open in Browser -Open `quick start/index.html` through a local web server. With the VS Code **Live Server** extension installed, right-click `index.html` in the Explorer and choose **Open with Live Server**, then visit the URL it prints (for example, `http://127.0.0.1:5500/`). You should see the Syncfusion 3D Chart control displaying the sample sales data. +Open `quickstart/index.html` through a local web server. With the VS Code **Live Server** extension installed, right-click `index.html` in the Explorer and choose **Open with Live Server**, then visit the URL it prints (for example, `http://127.0.0.1:5500/`). You should see the Syncfusion 3D Chart control displaying the sample sales data. ## Output @@ -94,7 +95,7 @@ The 3D Chart shows 12 months of sales data rendered as 3D columns. The title "Sa {% previewsample "https://help.syncfusion.com/code-snippet/chart-sdk/javascript/3d-charts/getting-started-cs7" %} -![Syncfusion 3D Chart Quick Start Output](./images/Chart-3D.png) +![Syncfusion 3D Chart Quick Start Output](./images/3D-Chart.png) ## Troubleshooting diff --git a/chart-sdk/javascript/3d-charts/images/Chart-3D.png b/chart-sdk/javascript/3d-charts/images/3D-Chart.png similarity index 100% rename from chart-sdk/javascript/3d-charts/images/Chart-3D.png rename to chart-sdk/javascript/3d-charts/images/3D-Chart.png diff --git a/chart-sdk/javascript/3d-charts/legend.md b/chart-sdk/javascript/3d-charts/legend.md index bf19e703a..965e97589 100644 --- a/chart-sdk/javascript/3d-charts/legend.md +++ b/chart-sdk/javascript/3d-charts/legend.md @@ -1,15 +1,16 @@ --- layout: post -title: Legend in JavaScript 3D Chart | Syncfusion -description: Learn how to add and customize the legend in the Syncfusion JavaScript 3D Chart, including position, alignment, and title. +title: Legend in JavaScript 3D Chart control | Syncfusion +description: Learn here all about legend in Syncfusion JavaScript 3D Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: 3D Chart +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Legend in JavaScript 3D Chart +# Legend in JavaScript 3D Chart control @@ -17,7 +18,7 @@ Legend provides information about the series rendered in the 3D chart. ## Position and alignment -By using the [`position`](../api/chart3d/legendSettings#position) property, the legend can be positioned at left, right, top or bottom of the 3D chart. The legend is positioned at the bottom of the 3D chart, by default. +By using the [`position`](../api/chart3d/legendSettings/#position) property, the legend can be positioned at left, right, top or bottom of the 3D chart. The legend is positioned at the bottom of the 3D chart, by default. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -45,7 +46,7 @@ The custom position helps you to position the legend anywhere in the 3D chart us ### Legend reverse -The order of the legend items can be reversed by using the [`reverse`](../api/chart3d/legendSettings#reverse) property. By default, legend for the first series in the collection will be placed first. +The order of the legend items can be reversed by using the [`reverse`](../api/chart3d/legendSettings/#reverse) property. By default, legend for the first series in the collection will be placed first. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -60,7 +61,7 @@ The order of the legend items can be reversed by using the [`reverse`](../api/ch ### Legend alignment -The legend can be aligned at near, far or center to the 3D chart using the [`alignment`](../api/chart3d/legendSettings#alignment) property. +The legend can be aligned at near, far or center to the 3D chart using the [`alignment`](../api/chart3d/legendSettings/#alignment) property. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -75,7 +76,7 @@ The legend can be aligned at near, far or center to the 3D chart using the [`ali ## Legend customization -To change the legend icon shape, [`legendShape`](../api/chart3d/series3D#legendshape) property in the [`series`](../api/chart3d/series3D) can be used. By default, the legend icon shape is `seriesType`. +To change the legend icon shape, [`legendShape`](../api/chart3d/series3D/#legendshape) property in the [`series`](../api/chart3d/series3D/) can be used. By default, the legend icon shape is `seriesType`. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -90,7 +91,7 @@ To change the legend icon shape, [`legendShape`](../api/chart3d/series3D#legends ### Legend size -By default, legend takes 20% - 25% of the 3D chart's height horizontally, when it is placed on top or bottom position and 20% - 25% of the 3D chart's width vertically, when it is placed on left or right position. You can change this default legend size by using the [`height`](../api/chart3d/legendSettings#height) and [`width`](../api/chart3d/legendSettings#width) properties of the `legendSettings`. +By default, legend takes 20% - 25% of the 3D chart's height horizontally, when it is placed on top or bottom position and 20% - 25% of the 3D chart's width vertically, when it is placed on left or right position. You can change this default legend size by using the [`height`](../api/chart3d/legendSettings/#height) and [`width`](../api/chart3d/legendSettings/#width) properties of the `legendSettings`. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -105,7 +106,7 @@ By default, legend takes 20% - 25% of the 3D chart's height horizontally, when i ### Legend item size -The size of the legend items can be customized by using the [`shapeHeight`](../api/chart3d/legendSettings#shapeheight) and [`shapeWidth`](../api/chart3d/legendSettings#shapewidth) properties. +The size of the legend items can be customised by using the [`shapeHeight`](../api/chart3d/legendSettings/#shapeheight) and [`shapeWidth`](../api/chart3d/legendSettings/#shapewidth) properties. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -135,7 +136,7 @@ Paging will be enabled by default, when the legend items exceeds the legend boun ### Legend text wrap -When the legend text exceeds the container, the text can be wrapped by using the [`textWrap`](../api/chart3d/legendSettings#textwrap) property. End user can also wrap the legend text based on the [`maximumLabelWidth`](../api/chart3d/legendSettings#maximumlabelwidth) property. +When the legend text exceeds the container, the text can be wrapped by using the [`textWrap`](../api/chart3d/legendSettings/#textwrap) property. End user can also wrap the legend text based on the [`maximumLabelWidth`](../api/chart3d/legendSettings/#maximumlabelwidth) property. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -150,7 +151,7 @@ When the legend text exceeds the container, the text can be wrapped by using the ## Series selection through legend -By default, you can collapse the series visibility by clicking the legend. On the other hand, turn off the [`toggleVisibility`](../api/chart3d/legendSettings#togglevisibility) property if you must use a legend click to choose a series. +By default, you can collapse the series visibility by clicking the legend. On the other hand, turn off the [`toggleVisibility`](../api/chart3d/legendSettings/#togglevisibility) property if you must use a legend click to choose a series. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -180,7 +181,7 @@ By default, series name will be displayed as legend. To skip the legend for a pa ## Legend title -You can set title for legend using [`title`](../api/chart3d/legendSettings#title) property in [`legendSettings`](../api/chart3d/legendSettings). The [`size`](../api/chart3d/fontModel#size), [`color`](../api/chart3d/fontModel#color), [`opacity`](../api/chart3d/fontModel#opacity),[`fontStyle`](../api/chart3d/fontModel#fontstyle), [`fontWeight`](../api/chart3d/fontModel#fontweight), [`fontFamily`](../api/chart3d/fontModel#fontfamily), [`textAlignment`](../api/chart3d/fontModel#textalignment), and [`textOverflow`](../api/chart3d/fontModel#textoverflow) of legend title can be customized by using the [`titleStyle`](../api/chart3d/legendSettings#titlestyle) property in [`legendSettings`](../api/chart3d/legendSettings). The [`titlePosition`](../api/chart3d/legendSettings#titleposition) is used to set the legend position in `Top`, `Left` and `Right` position. The [`maximumTitleWidth`](../api/chart3d/legendSettings#maximumtitlewidth) is used to set the width of the legend title. By default, it will be `100px`. +You can set title for legend using [`title`](../api/chart3d/legendSettings/#title) property in [`legendSettings`](../api/chart3d/legendSettings). The [`size`](../api/chart3d/fontModel/#size), [`color`](../api/chart3d/fontModel/#color), [`opacity`](../api/chart3d/fontModel/#opacity),[`fontStyle`](../api/chart3d/fontModel/#fontstyle), [`fontWeight`](../api/chart3d/fontModel/#fontweight), [`fontFamily`](../api/chart3d/fontModel/#fontfamily), [`textAlignment`](../api/chart3d/fontModel/#textalignment), and [`textOverflow`](../api/chart3d/fontModel/#textoverflow) of legend title can be customized by using the [`titleStyle`](../api/chart3d/legendSettings/#titlestyle) property in [`legendSettings`](../api/chart3d/legendSettings/). The [`titlePosition`](../api/chart3d/legendSettings/#titleposition) is used to set the legend position in `Top`, `Left` and `Right` position. The [`maximumTitleWidth`](../api/chart3d/legendSettings/#maximumtitlewidth) is used to set the width of the legend title. By default, it will be `100px`. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -195,7 +196,7 @@ You can set title for legend using [`title`](../api/chart3d/legendSettings#title ## Arrow page navigation -The page number will always be visible while using legend paging. It is now possible to disable the page number and enable page navigation with the left and right arrows. The [`enablePages`](../api/chart3d/legendSettings#enablepages) property needs to be set to **false** in order to render the arrow page navigation. +The page number will always be visible while using legend paging. It is now possible to disable the page number and enable page navigation with the left and right arrows. The [`enablePages`](../api/chart3d/legendSettings/#enablepages) property needs to be set to **false** in order to render the arrow page navigation. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -210,7 +211,7 @@ The page number will always be visible while using legend paging. It is now poss ## Legend item padding -The [`itemPadding`](../api/chart3d/legendSettings#itempadding) property can be used to adjust the space between the legend items. +The [`itemPadding`](../api/chart3d/legendSettings/#itempadding) property can be used to adjust the space between the legend items. {% tabs %} {% highlight js tabtitle="index.js" %} diff --git a/chart-sdk/javascript/3d-charts/logarithmic-axis.md b/chart-sdk/javascript/3d-charts/logarithmic-axis.md index 65950689e..edbdc66a1 100644 --- a/chart-sdk/javascript/3d-charts/logarithmic-axis.md +++ b/chart-sdk/javascript/3d-charts/logarithmic-axis.md @@ -1,14 +1,15 @@ --- layout: post -title: Logarithmic Axis in JavaScript 3D Chart | Syncfusion -description: Learn how to render the Syncfusion JavaScript 3D Chart with a logarithmic axis to visualize data across many orders of magnitude. +title: Logarithmic axis in JavaScript 3D Chart control | Syncfusion +description: Learn here all about logarithmic axis in Syncfusion JavaScript 3D Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: 3D Chart +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Logarithmic Axis in JavaScript 3D Chart +# Logarithmic axis in JavaScript 3D Chart control Logarithmic axis uses logarithmic scale and it is very useful in visualizing data, when it has numerical values in both lower order of magnitude (eg: 10-6) and higher order of magnitude (eg: 106). @@ -23,11 +24,11 @@ Logarithmic axis uses logarithmic scale and it is very useful in visualizing dat {% previewsample "https://help.syncfusion.com/code-snippet/chart-sdk/javascript/3d-charts/logarithmic-cs1" %} ->Note: To use logarithmic axis, we need to inject `Logarithmic3D` module using the `Chart3D.Inject(Logarithmic3D)` method and set the [`valueType`](../api/chart3d/axis3D#valuetype) of the axis to **Logarithmic**. +>Note: To use logarithmic axis, we need to inject `Logarithmic3D` module using the `Chart3D.Inject(Logarithmic3D)` method and set the [`valueType`](../api/chart3d/axis3D/#valuetype) of the axis to **Logarithmic**. ## Range -The range of an axis will be calculated automatically based on the provided data and it can also be customized by using the [`minimum`](../api/chart3d/axis3D#minimum), [`maximum`](../api/chart3d/axis3D#maximum) and [`interval`](../api/chart3d/axis3D#interval) properties of the axis. +The range of an axis will be calculated automatically based on the provided data and it can also be customized by using the [`minimum`](../api/chart3d/axis3D/#minimum), [`maximum`](../api/chart3d/axis3D/#maximum) and [`interval`](../api/chart3d/axis3D/#interval) properties of the axis. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -42,7 +43,7 @@ The range of an axis will be calculated automatically based on the provided data ## Logarithmic base -Logarithmic base can be customized by using the [`logBase`](../api/chart3d/axis3D#logbase) property of the axis. For example when the `logBase` is **5**, the axis values follows 5-2, 5-1, 50, 51, 52 etc. +Logarithmic base can be customized by using the [`logBase`](../api/chart3d/axis3D/#logbase) property of the axis. For example when the `logBase` is **5**, the axis values follows 5-2, 5-1, 50, 51, 52 etc. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -57,7 +58,7 @@ Logarithmic base can be customized by using the [`logBase`](../api/chart3d/axis ## Logarithmic interval -The interval of the logarithmic axis can be customized by using the [`interval`](../api/chart3d/axis3D#interval) property in the axis. When the logarithmic base is 10 and logarithmic **interval** is 2, then the axis labels are placed at an interval of 102. The default value of the [`interval`](../api/chart3d/axis3D#interval) is **1**. +The interval of the logarithmic axis can be customized by using the [`interval`](../api/chart3d/axis3D/#interval) property in the axis. When the logarithmic base is 10 and logarithmic **interval** is 2, then the axis labels are placed at an interval of 102. The default value of the [`interval`](../api/chart3d/axis3D/#interval) is **1**. {% tabs %} {% highlight js tabtitle="index.js" %} diff --git a/chart-sdk/javascript/3d-charts/multiple-panes.md b/chart-sdk/javascript/3d-charts/multiple-panes.md index d7026a34b..0f3673fb2 100644 --- a/chart-sdk/javascript/3d-charts/multiple-panes.md +++ b/chart-sdk/javascript/3d-charts/multiple-panes.md @@ -1,23 +1,24 @@ --- layout: post -title: Multiple Panes in JavaScript 3D Chart | Syncfusion -description: Learn how to split the Syncfusion JavaScript 3D Chart area into multiple rows and columns to create multiple panes. +title: Multiple panes in JavaScript 3D Chart control | Syncfusion +description: Learn here all about multiple panes in Syncfusion JavaScript 3D Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: 3D Chart +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Multiple Panes in JavaScript 3D Chart +# Multiple panes in JavaScript 3D Chart control -The chart area can be divided into multiple panes using [`rows`](../api/chart3d/chart3DModel#rows) and [`columns`](../api/chart3d/chart3DModel#columns). +The chart area can be divided into multiple panes using [`rows`](../api/chart3d/chart3DModel/#rows) and [`columns`](../api/chart3d/chart3DModel/#columns). ## Rows -To split the chart area vertically into number of rows, use [`rows`](../api/chart3d/chart3DModel#rows) property of the 3D chart. +To split the chart area vertically into number of rows, use [`rows`](../api/chart3d/chart3DModel/#rows) property of the 3D chart. -* The space for each row can be allocated by using the [`height`](../api/chart3d/threeDimensionRowModel#height) property. The value can be either in percentage or in pixel. -* To associate a vertical axis to a particular row, specify its index to [`rowIndex`](../api/chart3d/axis3DModel#rowindex) property of the axis. +* The space for each row can be allocated by using the [`height`](../api/chart3d/threeDimensionRowModel/#height) property. The value can be either in percentage or in pixel. +* To associate a vertical axis to a particular row, specify its index to [`rowIndex`](../api/chart3d/axis3DModel/#rowindex) property of the axis. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -30,7 +31,7 @@ To split the chart area vertically into number of rows, use [`rows`](../api/char {% previewsample "https://help.syncfusion.com/code-snippet/chart-sdk/javascript/3d-charts/multi-pane-cs1" %} -For spanning the vertical axis along multiple rows, use [`span`](../api/chart3d/axis3DModel#span) property of an axis. +For spanning the vertical axis along multiple rows, use [`span`](../api/chart3d/axis3DModel/#span) property of an axis. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -45,10 +46,10 @@ For spanning the vertical axis along multiple rows, use [`span`](../api/chart3d ## Columns -To split the chart area horizontally into number of columns, use [`columns`](../api/chart3d/chart3DModel#columns) property of the 3D chart. +To split the chart area horizontally into number of columns, use [`columns`](../api/chart3d/chart3DModel/#columns) property of the 3D chart. -* The space for each column can be allocated by using the [`width`](../api/chart3d/threeDimensionColumnModel#width) property. The given width can be either in percentage or in pixel. -* To associate a horizontal axis to a particular column, specify its index to [`columnIndex`](../api/chart3d/axis3DModel#columnindex) property of the axis. +* The space for each column can be allocated by using the [`width`](../api/chart3d/threeDimensionColumnModel/#width) property. The given width can be either in percentage or in pixel. +* To associate a horizontal axis to a particular column, specify its index to [`columnIndex`](../api/chart3d/axis3DModel/#columnindex) property of the axis. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -61,7 +62,7 @@ To split the chart area horizontally into number of columns, use [`columns`](../ {% previewsample "https://help.syncfusion.com/code-snippet/chart-sdk/javascript/3d-charts/multi-pane-cs3" %} -For spanning the vertical axis along multiple column, you can use [`span`](../api/chart3d/axis3DModel#span) property of an axis. +For spanning the vertical axis along multiple column, you can use [`span`](../api/chart3d/axis3DModel/#span) property of an axis. {% tabs %} {% highlight js tabtitle="index.js" %} diff --git a/chart-sdk/javascript/3d-charts/numeric-axis.md b/chart-sdk/javascript/3d-charts/numeric-axis.md index 3b702151c..a67d4718f 100644 --- a/chart-sdk/javascript/3d-charts/numeric-axis.md +++ b/chart-sdk/javascript/3d-charts/numeric-axis.md @@ -1,15 +1,16 @@ --- layout: post -title: Numeric Axis in JavaScript 3D Chart | Syncfusion -description: Learn how to render the Syncfusion JavaScript 3D Chart with a numeric axis to represent numeric values along an axis. +title: Numeric axis in JavaScript 3D Chart control | Syncfusion +description: Learn here all about numeric axis in Syncfusion JavaScript 3D Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: 3D Chart +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Numeric Axis in JavaScript 3D Chart +# Numeric axis in JavaScript 3D Chart control The [numeric axis](https://www.syncfusion.com/javascript-ui-controls/js-charts/chart-axis) can be used to represent the numeric values of data in 3D chart. By default, the `valueType` of an axis is **Double**. @@ -26,7 +27,7 @@ The [numeric axis](https://www.syncfusion.com/javascript-ui-controls/js-charts/c ## Range -The range of an axis will be calculated automatically based on the provided data, and it can also be customized by using the [`minimum`](../api/chart3d/axis3D#maximum), [`maximum`](../api/chart3d/axis3D#maximum) and [`interval`](../api/chart3d/axis3D#interval) properties of the axis. +The range of an axis will be calculated automatically based on the provided data, and it can also be customized by using the [`minimum`](../api/chart3d/axis3D/#maximum), [`maximum`](../api/chart3d/axis3D/#maximum) and [`interval`](../api/chart3d/axis3D/#interval) properties of the axis. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -41,7 +42,7 @@ The range of an axis will be calculated automatically based on the provided data ## Range padding -Padding can be applied to the minimum and maximum extremes of an axis range by using the [`rangePadding`](../api/chart3d/axis3D#rangepadding) property. Numeric axis supports the following types of padding. +Padding can be applied to the minimum and maximum extremes of an axis range by using the [`rangePadding`](../api/chart3d/axis3D/#rangepadding) property. Numeric axis supports the following types of padding. * None * Round @@ -51,7 +52,7 @@ Padding can be applied to the minimum and maximum extremes of an axis range by u **Numeric - None** -When the [`rangePadding`](../api/chart3d/axis3D#rangepadding) is set to `None`, minimum and maximum of the axis is based on the data. +When the [`rangePadding`](../api/chart3d/axis3D/#rangepadding) is set to `None`, minimum and maximum of the axis is based on the data. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -66,7 +67,7 @@ When the [`rangePadding`](../api/chart3d/axis3D#rangepadding) is set to `None`, **Numeric - Round** -When the [`rangePadding`](../api/chart3d/axis3D#rangepadding) is set to **Round**, minimum and maximum will be rounded to the nearest possible value, which is divisible by interval. For example, when the [`minimum`](../api/chart3d/axis3D#maximum) is **3.5** and the [`interval`](../api/chart3d/axis3D#interval) is **1**, then the minimum will be rounded to **3**. +When the [`rangePadding`](../api/chart3d/axis3D/#rangepadding) is set to **Round**, minimum and maximum will be rounded to the nearest possible value, which is divisible by interval. For example, when the [`minimum`](../api/chart3d/axis3D/#maximum) is **3.5** and the [`interval`](../api/chart3d/axis3D/#interval) is **1**, then the minimum will be rounded to **3**. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -81,7 +82,7 @@ When the [`rangePadding`](../api/chart3d/axis3D#rangepadding) is set to **Round* **Numeric - Additional** -When the [`rangePadding`](../api/chart3d/axis3D#rangepadding) is set to **Additional**, interval of an axis will be added to the minimum and maximum of the axis. +When the [`rangePadding`](../api/chart3d/axis3D/#rangepadding) is set to **Additional**, interval of an axis will be added to the minimum and maximum of the axis. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -96,7 +97,7 @@ When the [`rangePadding`](../api/chart3d/axis3D#rangepadding) is set to **Additi **Numeric - Normal** -When the [`rangePadding`](../api/chart3d/axis3D#rangepadding) is set to **Normal**, padding is applied to the axis based on default range calculation. +When the [`rangePadding`](../api/chart3d/axis3D/#rangepadding) is set to **Normal**, padding is applied to the axis based on default range calculation. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -111,7 +112,7 @@ When the [`rangePadding`](../api/chart3d/axis3D#rangepadding) is set to **Normal **Numeric - Auto** -When the [`rangePadding`](../api/chart3d/axis3D#rangepadding) is set to **Auto**, horizontal numeric axis takes **None** as padding calculation, while the vertical numeric axis takes **Normal** as padding calculation. +When the [`rangePadding`](../api/chart3d/axis3D/#rangepadding) is set to **Auto**, horizontal numeric axis takes **None** as padding calculation, while the vertical numeric axis takes **Normal** as padding calculation. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -128,7 +129,7 @@ When the [`rangePadding`](../api/chart3d/axis3D#rangepadding) is set to **Auto** **Numeric label format** -Numeric labels can be formatted by using the [`labelFormat`](../api/chart3d/axis3D#labelformat) property. Also, it supports all globalize format. +Numeric labels can be formatted by using the [`labelFormat`](../api/chart3d/axis3D/#labelformat) property. Also, it supports all globalize format. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -203,7 +204,7 @@ The following table describes the result of applying some commonly used label fo ## Grouping separator -To separate the y-axis labels to groups of thousands, set the [`useGroupingSeparator`](../api/chart3d/chart3DModel#usegroupingseparator) property to **true** in the 3D chart. +To separate the y-axis labels to groups of thousands, set the [`useGroupingSeparator`](../api/chart3d/chart3DModel/#usegroupingseparator) property to **true** in the 3D chart. {% tabs %} {% highlight js tabtitle="index.js" %} diff --git a/chart-sdk/javascript/3d-charts/print-export.md b/chart-sdk/javascript/3d-charts/print-export.md index 272c45c93..083941bfe 100644 --- a/chart-sdk/javascript/3d-charts/print-export.md +++ b/chart-sdk/javascript/3d-charts/print-export.md @@ -1,18 +1,19 @@ --- layout: post -title: Print and Export in JavaScript 3D Chart | Syncfusion -description: Learn how to print and export the Syncfusion JavaScript 3D Chart from the browser using the built-in print method. +title: Print and Export in JavaScript 3D Chart control | Syncfusion +description: Learn here all about print and export in Syncfusion JavaScript 3D Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: 3D Chart +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Print and Export in JavaScript 3D Chart +# Print and Export in JavaScript 3D Chart control ## Print -The rendered 3D chart can be printed directly from the browser by calling the public method [`print`](../api/chart3d/printUtils#print). The ID of the 3D chart's div element must be passed as the input parameter to that method. +The rendered 3D chart can be printed directly from the browser by calling the public method [`print`](../api/chart3d/printUtils/#print). The ID of the 3D chart's div element must be passed as the input parameter to that method. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -27,7 +28,7 @@ The rendered 3D chart can be printed directly from the browser by calling the pu ## Export -The rendered 3D chart can be exported to `JPEG`, `PNG`, `SVG`, or `PDF` format using the [`export`](../api/chart3d/exportUtils#export) method. The input parameters for this method are: `type` for format and `fileName` for result. +The rendered 3D chart can be exported to `JPEG`, `PNG`, `SVG`, or `PDF` format using the [`export`](../api/chart3d/exportUtils/#export) method. The input parameters for this method are: `type` for format and `fileName` for result. {% tabs %} {% highlight js tabtitle="index.js" %} diff --git a/chart-sdk/javascript/3d-charts/selection.md b/chart-sdk/javascript/3d-charts/selection.md index 982e2b3eb..f5ddce597 100644 --- a/chart-sdk/javascript/3d-charts/selection.md +++ b/chart-sdk/javascript/3d-charts/selection.md @@ -1,15 +1,16 @@ --- layout: post -title: Selection in JavaScript 3D Chart | Syncfusion -description: Learn how to enable selection in the Syncfusion JavaScript 3D Chart for series and data points on mouse click. +title: Selection in JavaScript 3D Chart control | Syncfusion +description: Learn here all about selection in Syncfusion JavaScript 3D Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: 3D Chart +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Selection in JavaScript 3D Chart +# Selection in JavaScript 3D Chart control The 3D chart provides selection support for the series and its data points on mouse click. @@ -24,7 +25,7 @@ We have different types of selection mode for selecting a data. ## Point -To select a point, set the [`selectionMode`](../api/chart3d/chart3DModel#selectionmode) property to **Point**. +To select a point, set the [`selectionMode`](../api/chart3d/chart3DModel/#selectionmode) property to **Point**. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -39,7 +40,7 @@ To select a point, set the [`selectionMode`](../api/chart3d/chart3DModel#selecti ## Series -To select a series, set the [`selectionMode`](../api/chart3d/chart3DModel#selectionmode) property to **Series**. +To select a series, set the [`selectionMode`](../api/chart3d/chart3DModel/#selectionmode) property to **Series**. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -54,7 +55,7 @@ To select a series, set the [`selectionMode`](../api/chart3d/chart3DModel#select ## Cluster -To select the points that corresponds to the same index in all the series, set the [`selectionMode`](../api/chart3d/chart3DModel#selectionmode) property to **Cluster**. +To select the points that corresponds to the same index in all the series, set the [`selectionMode`](../api/chart3d/chart3DModel/#selectionmode) property to **Cluster**. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -69,7 +70,7 @@ To select the points that corresponds to the same index in all the series, set t ## Selection type -To select multiple points or series, enable the [`isMultiSelect`](../api/chart3d/chart3DModel#ismultiselect) property. +To select multiple points or series, enable the [`isMultiSelect`](../api/chart3d/chart3DModel/#ismultiselect) property. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -84,7 +85,7 @@ To select multiple points or series, enable the [`isMultiSelect`](../api/chart3d ## Selection during initial loading -In a 3D chart, selecting a point or series during initial loading can only be done programmatically. The [`selectedDataIndexes`](../api/chart3d/chart3DModel#selecteddataindexes) property can be used for this. +In a 3D chart, selecting a point or series during initial loading can only be done programmatically. The [`selectedDataIndexes`](../api/chart3d/chart3DModel/#selecteddataindexes) property can be used for this. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -99,7 +100,7 @@ In a 3D chart, selecting a point or series during initial loading can only be do ## Selection through legend -To select a point or series through legend use the [`toggleVisibility`](../api/chart3d/legendSettingsModel#togglevisibility) property. Also, use [`enableHighlight`](../api/chart3d/legendSettingsModel#enablehighlight) property for highlighting the series through legend. +To select a point or series through legend use the [`toggleVisibility`](../api/chart3d/legendSettingsModel/#togglevisibility) property. Also, use [`enableHighlight`](../api/chart3d/legendSettingsModel/#enablehighlight) property for highlighting the series through legend. {% tabs %} {% highlight js tabtitle="index.js" %} diff --git a/chart-sdk/javascript/3d-charts/tool-tip.md b/chart-sdk/javascript/3d-charts/tool-tip.md index 3e9ac9ccd..8b4b395f1 100644 --- a/chart-sdk/javascript/3d-charts/tool-tip.md +++ b/chart-sdk/javascript/3d-charts/tool-tip.md @@ -1,14 +1,15 @@ --- layout: post -title: Tooltip in JavaScript 3D Chart | Syncfusion -description: Learn how to enable and customize tooltips in the Syncfusion JavaScript 3D Chart to display point details on hover. +title: Tooltip in JavaScript 3D Chart control | Syncfusion +description: Learn here all about tooltip in Syncfusion JavaScript 3D Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: 3D Chart +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Tooltip in JavaScript 3D Chart +# Tooltip in JavaScript 3D Chart control @@ -16,7 +17,7 @@ The 3D Chart will display details about the points through tooltip, when the mou ## Default tooltip -By default, tooltip is not visible. The tooltip can be enabled by setting the [`enable`](../../api/chart3d/tooltipSettings#enable) property in `tooltipSettings` to **true** and by injecting `Tooltip3D` module using `Chart3D.Inject(Tooltip3D)`. +By default, tooltip is not visible. The tooltip can be enabled by setting the [`enable`](../../api/chart3d/tooltipSettings/#enable) property in `tooltipSettings` to **true** and by injecting `Tooltip3D` module using `Chart3D.Inject(Tooltip3D)`. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -33,7 +34,7 @@ By default, tooltip is not visible. The tooltip can be enabled by setting the [` ## Fixed tooltip -By default, tooltip track the mouse movement, but the tooltip can be set in fixed position by using the [`location`](../../api/chart3d/tooltipSettings#location) property. +By default, tooltip track the mouse movement, but the tooltip can be set in fixed position by using the [`location`](../../api/chart3d/tooltipSettings/#location) property. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -50,7 +51,7 @@ By default, tooltip track the mouse movement, but the tooltip can be set in fixe -By default, tooltip shows information of x and y value in points. In addition to that, more information can be shown in tooltip by using the [`format`](../../api/chart3d/tooltipSettings#format) property. For example the format `${series.name} : ${point.y}` shows series name and point y value. +By default, tooltip shows information of x and y value in points. In addition to that, more information can be shown in tooltip by using the [`format`](../../api/chart3d/tooltipSettings/#format) property. For example the format `${series.name} : ${point.y}` shows series name and point y value. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -65,7 +66,7 @@ By default, tooltip shows information of x and y value in points. In addition to ## Inline tooltip formatting -The tooltip content can be formatted directly within the [`format`](../../api/chart3d/tooltipSettings#format) property by adding DateTime or number format specifiers to supported tooltip tokens. This allows you to control how point and series values are displayed without using additional events. +The tooltip content can be formatted directly within the [`format`](../../api/chart3d/tooltipSettings/#format) property by adding DateTime or number format specifiers to supported tooltip tokens. This allows you to control how point and series values are displayed without using additional events. A format specifier can be applied to a tooltip token by adding a colon (`:`) followed by the required format. @@ -115,7 +116,7 @@ If the specified format does not match the resolved value type, the original val ## Tooltip template -Any HTML elements can be displayed in the tooltip by using the [`template`](../../api/chart3d/tooltipSettings#template) property of the tooltip. The ${x} and ${y} can be used as place holders in the HTML element to display the x and y values of the corresponding data point. +Any HTML elements can be displayed in the tooltip by using the [`template`](../../api/chart3d/tooltipSettings/#template) property of the tooltip. The ${x} and ${y} can be used as place holders in the HTML element to display the x and y values of the corresponding data point. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -130,7 +131,7 @@ Any HTML elements can be displayed in the tooltip by using the [`template`](../. ## Customize the appearance of tooltip -The [`fill`](../../api/chart3d/tooltipSettings#fill) and [`border`](../../api/chart3d/tooltipSettings#border) properties are used to customize the background color and border of the tooltip respectively. The [`textStyle`](../../api/chart3d/tooltipSettings#textstyle) property in the tooltip is used to customize the font of the tooltip text. +The [`fill`](../../api/chart3d/tooltipSettings/#fill) and [`border`](../../api/chart3d/tooltipSettings/#border) properties are used to customize the background color and border of the tooltip respectively. The [`textStyle`](../../api/chart3d/tooltipSettings/#textstyle) property in the tooltip is used to customize the font of the tooltip text. {% tabs %} {% highlight js tabtitle="index.js" %} diff --git a/chart-sdk/javascript/3d-charts/working-with-data.md b/chart-sdk/javascript/3d-charts/working-with-data.md index e50fbd5da..5a2e5ef7e 100644 --- a/chart-sdk/javascript/3d-charts/working-with-data.md +++ b/chart-sdk/javascript/3d-charts/working-with-data.md @@ -1,19 +1,20 @@ --- layout: post -title: Working with Data in JavaScript 3D Chart | Syncfusion -description: Learn how to bind local, remote, and complex data sources to the Syncfusion JavaScript 3D Chart using the dataSource property. +title: Working with data source in JavaScript 3D Chart control | Syncfusion +description: Learn here all about working with data source in Syncfusion JavaScript 3D Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: 3D Chart +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Working with Data in JavaScript 3D Chart +# Working with data in JavaScript 3D Chart control ## Local data -A simple JSON data can be bound to the 3D chart using [`dataSource`](../api/chart3d/series3DModel#datasource) property in series. Now map the fields in JSON to [`xName`](../api/chart3d/series3DModel#xname) and [`yName`](../api/chart3d/series3DModel#yname) properties. +A simple JSON data can be bound to the 3D chart using [`dataSource`](../api/chart3d/series3DModel/#datasource) property in series. Now map the fields in JSON to [`xName`](../api/chart3d/series3DModel/#xname) and [`yName`](../api/chart3d/series3DModel/#yname) properties. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -28,7 +29,7 @@ A simple JSON data can be bound to the 3D chart using [`dataSource`](../api/char ## Remote data -The remote data can be bound to the 3D chart using the [`DataManager`](https://ej2.syncfusion.com/documentation/api/data/dataManager). The `DataManager` requires minimal information like web service URL, adaptor and cross domain to interact with service endpoint properly. Assign the instance of the `DataManager` to the [`dataSource`](../api/chart3d/series3DModel#datasource) property in series and map the fields of data to [`xName`](../api/chart3d/series3DModel#xname) and [`yName`](../api/chart3d/series3DModel#yname) properties. You can also use the [`query`](../api/chart3d/series3DModel#query) property of the series to filter the data. +The remote data can be bound to the 3D chart using the [`DataManager`](https://ej2.syncfusion.com/documentation/api/data/dataManager/). The `DataManager` requires minimal information like web service URL, adaptor and cross domain to interact with service endpoint properly. Assign the instance of the `DataManager` to the [`dataSource`](../api/chart3d/series3DModel/#datasource) property in series and map the fields of data to [`xName`](../api/chart3d/series3DModel/#xname) and [`yName`](../api/chart3d/series3DModel/#yname) properties. You can also use the [`query`](../api/chart3d/series3DModel/#query) property of the series to filter the data. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -58,7 +59,7 @@ The remote data can be bound to the 3D chart using the [`DataManager`](https://e ## Empty points -The data points that uses the `null` or `undefined` as value are considered as empty points. The empty data points are ignored and is not plotted in the chart. When the data is provided by using the points property, by using [`emptyPointSettings`](../api/chart3d/threeDimensionalEmptyPointSettingsModel) property in series, the empty can be customized. The default [`mode`](../api/chart3d/threeDimensionalEmptyPointSettingsModel#mode) of the empty point is **Gap**. +The data points that uses the `null` or `undefined` as value are considered as empty points. The empty data points are ignored and is not plotted in the chart. When the data is provided by using the points property, by using [`emptyPointSettings`](../api/chart3d/threeDimensionalEmptyPointSettingsModel/) property in series, the empty can be customized. The default [`mode`](../api/chart3d/threeDimensionalEmptyPointSettingsModel/#mode) of the empty point is **Gap**. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -73,7 +74,7 @@ The data points that uses the `null` or `undefined` as value are considered as e **Customizing empty point** -The specific color for empty point can be set by the [`fill`](../api/chart3d/threeDimensionalEmptyPointSettingsModel#fill) property in [`emptyPointSettings`](../api/chart3d/threeDimensionalEmptyPointSettingsModel). +The specific color for empty point can be set by the [`fill`](../api/chart3d/threeDimensionalEmptyPointSettingsModel/#fill) property in [`emptyPointSettings`](../api/chart3d/threeDimensionalEmptyPointSettingsModel/). {% tabs %} {% highlight js tabtitle="index.js" %} diff --git a/chart-sdk/javascript/3d-circular-charts/data-label.md b/chart-sdk/javascript/3d-circular-charts/data-label.md index eb98323dd..35917ee0d 100644 --- a/chart-sdk/javascript/3d-circular-charts/data-label.md +++ b/chart-sdk/javascript/3d-circular-charts/data-label.md @@ -1,14 +1,15 @@ --- layout: post -title: Data Label in JavaScript 3D Circular Chart | Syncfusion -description: Learn here all about data label in Syncfusion JavaScript 3D Circular Chart of Syncfusion Essential JS 2 and more. +title: Data Label in JavaScript 3D Circular Chart control | Syncfusion +description: Learn here all about data label in Syncfusion JavaScript 3D Circular Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Data Label +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Data Label in JavaScript 3D Circular Chart +# Data Label in JavaScript 3D Circular Chart control A data label refers to a label associated with specific data points. It can be added to a 3D Circular Chart series by enabling the `visible` option in the `dataLabel` property. By default, the labels will arrange themselves smartly to avoid overlapping. diff --git a/chart-sdk/javascript/3d-circular-charts/empty-points.md b/chart-sdk/javascript/3d-circular-charts/empty-points.md index 7fdab072a..47079e473 100644 --- a/chart-sdk/javascript/3d-circular-charts/empty-points.md +++ b/chart-sdk/javascript/3d-circular-charts/empty-points.md @@ -1,14 +1,15 @@ --- layout: post -title: Empty points in JavaScript 3D Circular Chart | Syncfusion -description: Learn here all about empty points in Syncfusion JavaScript 3D Circular Chart of Syncfusion Essential JS 2 and more. +title: Empty points in JavaScript 3D Circular Chart control | Syncfusion +description: Learn here all about empty points in Syncfusion JavaScript 3D Circular Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Empty points +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Empty points in JavaScript 3D Circular Chart +# Empty points in JavaScript 3D Circular Chart control Data points containing `null` or `undefined` values are considered empty points. These empty data points are ignored and not plotted in the 3D Circular Chart. You can customize the handling of empty points using the `emptyPointSettings` property in the series. The default mode for empty points is `Gap`. Other supported modes include `Average`, `Drop`, and `Zero`. diff --git a/chart-sdk/javascript/3d-circular-charts/es5-getting-started.md b/chart-sdk/javascript/3d-circular-charts/es5-getting-started.md index 2df7c8236..995cb7eec 100644 --- a/chart-sdk/javascript/3d-circular-charts/es5-getting-started.md +++ b/chart-sdk/javascript/3d-circular-charts/es5-getting-started.md @@ -1,16 +1,17 @@ --- layout: post -title: ES5 getting started with JavaScript 3D Circular Chart | Syncfusion -description: Check out and learn about ES5 getting started with JavaScript 3D Circular Chart of Syncfusion Essential JS 2 and more details. +title: ES5 getting started with JavaScript 3D Circular Chart control | Syncfusion +description: Check out and learn about ES5 getting started with JavaScript 3D Circular Chart control of Syncfusion Essential JS 2 and more details. platform: chart-sdk control: 3D Circular Chart +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Getting Started with Syncfusion® JavaScript (ES5) 3D Circular Chart +# Getting Started with Syncfusion® JavaScript (ES5) 3D Circular Chart Control -Build your first Syncfusion JavaScript (ES5) application with a simple 3D Circular Chart in just a few minutes. This quick start guides you through creating a minimal, runnable HTML page that loads the Syncfusion EJ2 (ES5) 3D Circular Chart from the CDN, initializes it with sample data, and renders an interactive Pie chart with a title. +Build your first Syncfusion JavaScript (ES5) application with a simple 3D Circular Chart in just a few minutes. This quickstart guides you through creating a minimal, runnable HTML page that loads the Syncfusion EJ2 (ES5) 3D Circular Chart from the CDN, initializes it with sample data, and renders an interactive Pie chart with a title. ## Prerequisites @@ -36,8 +37,8 @@ The 3D Circular Chart control ships as part of the `@syncfusion/ej2-charts` pack ### Step 1: Create Folder and HTML file -* Create a folder named `quick start` in your desired directory. -* Inside the `quick start` folder, create two new files: `index.html` and `index.js`. +* Create a folder named `quickstart` in your desired directory. +* Inside the `quickstart` folder, create two new files: `index.html` and `index.js`. ### Step 2: Add Syncfusion® CDN Resources @@ -71,7 +72,7 @@ The main configuration options are: Finally, `circularChart.appendTo('#element')` renders the chart in the `
      ` container. -Copy the snippets below into the matching files in your `quick start` folder. +Copy the snippets below into the matching files in your `quickstart` folder. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -84,7 +85,7 @@ Copy the snippets below into the matching files in your `quick start` folder. ### Step 4: Open in Browser -Open `quick start/index.html` through a local web server. With the VS Code **Live Server** extension installed, right-click `index.html` in the Explorer and choose **Open with Live Server**, then visit the URL it prints (for example, `http://127.0.0.1:5500/`). You should see the Syncfusion 3D Circular Chart control displaying the browser-market-share sample data as a 3D Pie series with a title. +Open `quickstart/index.html` through a local web server. With the VS Code **Live Server** extension installed, right-click `index.html` in the Explorer and choose **Open with Live Server**, then visit the URL it prints (for example, `http://127.0.0.1:5500/`). You should see the Syncfusion 3D Circular Chart control displaying the browser-market-share sample data as a 3D Pie series with a title. ## Output diff --git a/chart-sdk/javascript/3d-circular-charts/legend.md b/chart-sdk/javascript/3d-circular-charts/legend.md index 3d9a73f54..11a5f8993 100644 --- a/chart-sdk/javascript/3d-circular-charts/legend.md +++ b/chart-sdk/javascript/3d-circular-charts/legend.md @@ -1,14 +1,15 @@ --- layout: post -title: Legend in JavaScript 3D Circular Chart | Syncfusion -description: Learn here all about legend in Syncfusion JavaScript 3D Circular Chart of Syncfusion Essential JS 2 and more. +title: Legend in JavaScript 3D Circular Chart control | Syncfusion +description: Learn here all about legend in Syncfusion JavaScript 3D Circular Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Legend +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Legend in JavaScript 3D Circular Chart +# Legend in JavaScript 3D Circular Chart control The legend provides information about the data points rendered in the 3D Circular Chart. It can be added by enabling the `visible` option in the `legendSettings` property. diff --git a/chart-sdk/javascript/3d-circular-charts/pie-donut-chart.md b/chart-sdk/javascript/3d-circular-charts/pie-donut-chart.md index 4592957ee..34c87299c 100644 --- a/chart-sdk/javascript/3d-circular-charts/pie-donut-chart.md +++ b/chart-sdk/javascript/3d-circular-charts/pie-donut-chart.md @@ -1,14 +1,15 @@ --- layout: post -title: Pie and Donut in JavaScript 3D Circular Chart | Syncfusion -description: Learn here all about Pie and Donut in Syncfusion JavaScript 3D Circular Chart of Syncfusion Essential JS 2 and more. +title: Pie and Donut in JavaScript 3D Circular Chart control | Syncfusion +description: Learn here all about Pie and Donut in Syncfusion JavaScript 3D Circular Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Pie and Donut +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Pie and Donut in JavaScript 3D Circular Chart +# Pie and Donut in JavaScript 3D Circular Chart control ## Pie chart diff --git a/chart-sdk/javascript/3d-circular-charts/print-and-export.md b/chart-sdk/javascript/3d-circular-charts/print-and-export.md index c3a80570f..ce7e422e0 100644 --- a/chart-sdk/javascript/3d-circular-charts/print-and-export.md +++ b/chart-sdk/javascript/3d-circular-charts/print-and-export.md @@ -1,14 +1,15 @@ --- layout: post -title: Print and Export in JavaScript 3D Circular Chart | Syncfusion -description: Learn here all about print and export in Syncfusion JavaScript 3D Circular Chart of Syncfusion Essential JS 2 and more. +title: Print and Export in JavaScript 3D Circular Chart control | Syncfusion +description: Learn here all about print and export in Syncfusion JavaScript 3D Circular Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Print and Export +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Print and Export in JavaScript 3D Circular Chart +# Print and Export in JavaScript 3D Circular Chart control ## Print diff --git a/chart-sdk/javascript/3d-circular-charts/title-and-subtitle.md b/chart-sdk/javascript/3d-circular-charts/title-and-subtitle.md index f301db052..bad307857 100644 --- a/chart-sdk/javascript/3d-circular-charts/title-and-subtitle.md +++ b/chart-sdk/javascript/3d-circular-charts/title-and-subtitle.md @@ -1,14 +1,15 @@ --- layout: post -title: Title and subtitle in JavaScript 3D Circular Chart | Syncfusion -description: Learn here all about title and subtitle in Syncfusion JavaScript 3D Circular Chart of Syncfusion Essential JS 2 and more. +title: Title and subtitle in JavaScript 3D Circular Chart control | Syncfusion +description: Learn here all about title and subtitle in Syncfusion JavaScript 3D Circular Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Title and subtitle +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Title and subtitle in JavaScript 3D Circular Chart +# Title and subtitle in JavaScript 3D Circular Chart control ## Title diff --git a/chart-sdk/javascript/3d-circular-charts/tooltip.md b/chart-sdk/javascript/3d-circular-charts/tooltip.md index b2d75466f..0fff12c8b 100644 --- a/chart-sdk/javascript/3d-circular-charts/tooltip.md +++ b/chart-sdk/javascript/3d-circular-charts/tooltip.md @@ -1,14 +1,15 @@ --- layout: post -title: Tooltip in JavaScript 3D Circular Chart | Syncfusion -description: Learn here all about tooltip in Syncfusion JavaScript 3D Circular Chart of Syncfusion Essential JS 2 and more. +title: Tooltip in JavaScript 3D Circular Chart control | Syncfusion +description: Learn here all about tooltip in Syncfusion JavaScript 3D Circular Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Tooltip +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Tooltip in JavaScript 3D Circular Chart +# Tooltip in JavaScript 3D Circular Chart control The 3D Circular Chart will display details about the points through a tooltip, when the mouse is moved over a specific point. By default, the tooltip is not visible. It can be enabled by using the `enable` property in `tooltip` to **true**. diff --git a/chart-sdk/javascript/accumulation-charts/accessibility.md b/chart-sdk/javascript/accumulation-charts/accessibility.md index 9e64f659b..dee649910 100644 --- a/chart-sdk/javascript/accumulation-charts/accessibility.md +++ b/chart-sdk/javascript/accumulation-charts/accessibility.md @@ -1,14 +1,15 @@ --- layout: post -title: Accessibility in JavaScript Accumulation Charts | Syncfusion -description: Learn how to make the Syncfusion JavaScript Accumulation Charts accessible using ADA, Section 508, WCAG 2.2, and ARIA roles. +title: Accessibility in JavaScript Accumulation chart control | Syncfusion +description: Learn here all about Accessibility in Syncfusion JavaScript Accumulation chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Accumulation Chart +control: Accessibility +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Accessibility in JavaScript Accumulation Charts +# Accessibility in JavaScript Accumulation chart control The Accumulation chart control followed the accessibility guidelines and standards, including [ADA](https://www.ada.gov/), [Section 508](https://www.section508.gov/), [WCAG 2.2](https://www.w3.org/TR/WCAG22/) standards, and [WCAG roles](https://www.w3.org/TR/wai-aria/#roles) that are commonly used to evaluate accessibility. diff --git a/chart-sdk/javascript/accumulation-charts/advanced-accessibility-configuration.md b/chart-sdk/javascript/accumulation-charts/advanced-accessibility-configuration.md index bd742f613..d06392909 100644 --- a/chart-sdk/javascript/accumulation-charts/advanced-accessibility-configuration.md +++ b/chart-sdk/javascript/accumulation-charts/advanced-accessibility-configuration.md @@ -1,26 +1,27 @@ --- layout: post -title: Advanced Accessibility in JavaScript Accumulation Charts | Syncfusion -description: Learn how to customize accessibility features in the Syncfusion JavaScript Accumulation Charts for users with disabilities. +title: Accessibility customization in Accumulation chart control | Syncfusion +description: Learn here all about Accessibility customization in Syncfusion JavaScript Accumulation chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Accumulation Chart +control: Accessibility customization +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Advanced Accessibility in JavaScript Accumulation Charts +# Accessibility customization -The Syncfusion® JavaScript Accumulation Charts control is structured to visualize data in a graphical manner. It provides robust customization options for accessibility, allowing you to enhance the user experience for those with disabilities. The main attributes of the JavaScript Accumulation Charts control's accessibility customization are briefly explained in this section. +The Syncfusion® JavaScript Accumulation Chart control is structured to visualize data in a graphical manner. It provides robust customization options for accessibility, allowing you to enhance the user experience for those with disabilities. The main attributes of the JavaScript Accumulation Chart control's accessibility customization are briefly explained in this section. The accumulation chart control has a number of characteristics that enable accessibility features to be customized, including: -* [`accessibilityDescription`](../api/accumulation-chart/accessibilityModel#accessibilitydescription) - Provides a text description for the accumulation chart, improving support for screen readers. -* [`accessibilityRole`](../api/accumulation-chart/accessibilityModel#accessibilityrole) - Specifies the role of the accumulation chart, helping screen readers to identify the element appropriately. -* [`focusable`](../api/accumulation-chart/accessibilityModel#focusable) - Allows the accumulation chart to receive focus, making it accessible via keyboard navigation. -* [`focusBorderColor`](../api/accumulation-chart#focusbordercolor) - Sets the color of the focus border, enhancing visibility when the accumulation chart is focused. -* [`focusBorderMargin`](../api/accumulation-chart#focusbordermargin) - Defines the margin around the focus border. -* [`focusBorderWidth`](../api/accumulation-chart#focusborderwidth) - Specifies the width of the focus border. -* [`tabIndex`](../api/accumulation-chart/accessibilityModel#tabindex) - Specifies the tab order for the accumulation chart element, enabling efficient keyboard navigation. +* [`accessibilityDescription`](../api/accumulation-chart/accessibilityModel/#accessibilitydescription) - Provides a text description for the accumulation chart, improving support for screen readers. +* [`accessibilityRole`](../api/accumulation-chart/accessibilityModel/#accessibilityrole) - Specifies the role of the accumulation chart, helping screen readers to identify the element appropriately. +* [`focusable`](../api/accumulation-chart/accessibilityModel/#focusable) - Allows the accumulation chart to receive focus, making it accessible via keyboard navigation. +* [`focusBorderColor`](../api/accumulation-chart/#focusbordercolor) - Sets the color of the focus border, enhancing visibility when the accumulation chart is focused. +* [`focusBorderMargin`](../api/accumulation-chart/#focusbordermargin) - Defines the margin around the focus border. +* [`focusBorderWidth`](../api/accumulation-chart/#focusborderwidth) - Specifies the width of the focus border. +* [`tabIndex`](../api/accumulation-chart/accessibilityModel/#tabindex) - Specifies the tab order for the accumulation chart element, enabling efficient keyboard navigation. {% if page.publishingplatform == "typescript" %} @@ -51,12 +52,12 @@ The accumulation chart control has a number of characteristics that enable acces ## Series -The [`series`](../api/accumulation-chart#series) supports the customization of accessibility for data points, allowing key characteristics to be adjusted for enhanced accessibility, such as: +The [`series`](../api/accumulation-chart/#series) supports the customization of accessibility for data points, allowing key characteristics to be adjusted for enhanced accessibility, such as: -* [`accessibilityDescription`](../api/accumulation-chart/accessibilityModel#accessibilitydescription) - Provides a text description for the series root element, enhancing support for screen readers. -* [`accessibilityRole`](../api/accumulation-chart/accessibilityModel#accessibilityrole) - Specifies the role of the series, helping screen readers to identify the element appropriately. -* [`focusable`](../api/accumulation-chart/accessibilityModel#focusable) - Allows the series to receive focus, making it accessible via keyboard navigation. -* [`tabIndex`](../api/accumulation-chart/accessibilityModel#tabindex) - Specifies the tab order of the series element, enabling efficient keyboard navigation. +* [`accessibilityDescription`](../api/accumulation-chart/accessibilityModel/#accessibilitydescription) - Provides a text description for the series root element, enhancing support for screen readers. +* [`accessibilityRole`](../api/accumulation-chart/accessibilityModel/#accessibilityrole) - Specifies the role of the series, helping screen readers to identify the element appropriately. +* [`focusable`](../api/accumulation-chart/accessibilityModel/#focusable) - Allows the series to receive focus, making it accessible via keyboard navigation. +* [`tabIndex`](../api/accumulation-chart/accessibilityModel/#tabindex) - Specifies the tab order of the series element, enabling efficient keyboard navigation. {% if page.publishingplatform == "typescript" %} @@ -87,12 +88,12 @@ The [`series`](../api/accumulation-chart#series) supports the customization of a ## Legend -The [`legendSettings`](../api/accumulation-chart#legendsettings) provide information about the series shown in the accumulation chart. The following [`accessibility`](../api/accumulation-chart/legendSettingsModel#accessibility) properties in [`legendSettings`](../api/accumulation-chart#legendsettings) can be used to alter the accessibility of the accumulation chart's legend: +The [`legendSettings`](../api/accumulation-chart/#legendsettings) provide information about the series shown in the accumulation chart. The following [`accessibility`](../api/accumulation-chart/legendSettingsModel/#accessibility) properties in [`legendSettings`](../api/accumulation-chart/#legendsettings) can be used to alter the accessibility of the accumulation chart's legend: -* [`accessibilityDescription`](../api/accumulation-chart/accessibilityModel#accessibilitydescription) - Provides a text description for the legend root element, enhancing support for screen readers.. -* [`accessibilityRole`](../api/accumulation-chart/accessibilityModel#accessibilityrole) - Specifies the role of the legend items to screen readers, providing appropriate context. -* [`focusable`](../api/accumulation-chart/accessibilityModel#focusable) - Specifies whether legend items are focusable via keyboard navigation. -* [`tabIndex`](../api/accumulation-chart/accessibilityModel#tabindex) - Specifies the tab order of the legend element, enabling efficient keyboard navigation. +* [`accessibilityDescription`](../api/accumulation-chart/accessibilityModel/#accessibilitydescription) - Provides a text description for the legend root element, enhancing support for screen readers.. +* [`accessibilityRole`](../api/accumulation-chart/accessibilityModel/#accessibilityrole) - Specifies the role of the legend items to screen readers, providing appropriate context. +* [`focusable`](../api/accumulation-chart/accessibilityModel/#focusable) - Specifies whether legend items are focusable via keyboard navigation. +* [`tabIndex`](../api/accumulation-chart/accessibilityModel/#tabindex) - Specifies the tab order of the legend element, enabling efficient keyboard navigation. {% if page.publishingplatform == "typescript" %} diff --git a/chart-sdk/javascript/accumulation-charts/annotation.md b/chart-sdk/javascript/accumulation-charts/annotation.md index 725e71082..443fa3b28 100644 --- a/chart-sdk/javascript/accumulation-charts/annotation.md +++ b/chart-sdk/javascript/accumulation-charts/annotation.md @@ -1,14 +1,15 @@ --- layout: post -title: Annotation in JavaScript Accumulation Charts | Syncfusion -description: Learn how to add annotations to the Syncfusion JavaScript Accumulation Charts to mark areas of interest with text, shapes, or images. +title: Annotation in JavaScript Accumulation chart control | Syncfusion +description: Learn here all about Annotation in Syncfusion JavaScript Accumulation chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Accumulation Chart +control: Annotation +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Annotation in JavaScript Accumulation Charts +# Annotation in JavaScript Accumulation chart control The annotations are used to mark the specific area of interest in the chart area with texts, shapes or images. diff --git a/chart-sdk/javascript/accumulation-charts/center-label.md b/chart-sdk/javascript/accumulation-charts/center-label.md index 8448d83c5..af57f19cd 100644 --- a/chart-sdk/javascript/accumulation-charts/center-label.md +++ b/chart-sdk/javascript/accumulation-charts/center-label.md @@ -1,16 +1,17 @@ --- layout: post -title: Center Label in JavaScript Accumulation Charts | Syncfusion -description: Learn how to place a label at the center of a pie or doughnut chart in the Syncfusion JavaScript Accumulation Charts. +title: Center label in JavaScript Accumulation chart control | Syncfusion +description: Learn here all about Center label in Syncfusion JavaScript Accumulation chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Center label +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Center Label in JavaScript Accumulation Charts +# Center label in JavaScript Accumulation chart control -Using [`centerLabel`](../api/accumulation-chart/centerLabel) it is now possible to place a label at the center of a pie or doughnut chart. To configure the default text rendered on the center label for the pie and doughnut charts, use the [`text`](../api/accumulation-chart/centerLabel#text) property in the [`centerLabel`](../api/accumulation-chart/centerLabel). +Using [`centerLabel`](../api/accumulation-chart/centerLabel) it is now possible to place a label at the center of a pie or doughnut chart. To configure the default text rendered on the center label for the pie and doughnut charts, use the [`text`](../api/accumulation-chart/centerLabel/#text) property in the [`centerLabel`](../api/accumulation-chart/centerLabel). {% tabs %} @@ -26,7 +27,7 @@ Using [`centerLabel`](../api/accumulation-chart/centerLabel) it is now possible ## Hover text -The default text in the center label can be changed when the mouse pointer hovers over the pie and doughnut charts slice using the [`hoverTextFormat`](../api/accumulation-chart/centerLabel#hovertextformat) property. +The default text in the center label can be changed when the mouse pointer hovers over the pie and doughnut charts slice using the [`hoverTextFormat`](../api/accumulation-chart/centerLabel/#hovertextformat) property. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -41,7 +42,7 @@ The default text in the center label can be changed when the mouse pointer hover ## Customization -Customize the center label text using the [`textStyle`](../api/accumulation-chart/centerLabel#textstyle) property. +Customize the center label text using the [`textStyle`](../api/accumulation-chart/centerLabel/#textstyle) property. {% tabs %} {% highlight js tabtitle="index.js" %} diff --git a/chart-sdk/javascript/accumulation-charts/chart-print.md b/chart-sdk/javascript/accumulation-charts/chart-print.md index a0e504ff5..f51c3f86f 100644 --- a/chart-sdk/javascript/accumulation-charts/chart-print.md +++ b/chart-sdk/javascript/accumulation-charts/chart-print.md @@ -1,14 +1,15 @@ --- layout: post -title: Print and Export in JavaScript Accumulation Charts | Syncfusion -description: Learn how to print and export the Syncfusion JavaScript Accumulation Charts to PNG, JPEG, SVG, or PDF formats. +title: Chart print in JavaScript Accumulation chart control | Syncfusion +description: Learn here all about Chart print in Syncfusion JavaScript Accumulation chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Chart print +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Chart Print in JavaScript Accumulation Charts +# Chart print in JavaScript Accumulation chart control ## Print diff --git a/chart-sdk/javascript/accumulation-charts/data-label.md b/chart-sdk/javascript/accumulation-charts/data-label.md index 6ea14448f..2f4851503 100644 --- a/chart-sdk/javascript/accumulation-charts/data-label.md +++ b/chart-sdk/javascript/accumulation-charts/data-label.md @@ -1,16 +1,17 @@ --- layout: post -title: Data label in JavaScript Accumulation Charts | Syncfusion -description: Learn how to add and customize data labels in the Syncfusion JavaScript Accumulation Charts series to improve data visualization and readability. +title: Data label in JavaScript Accumulation chart control | Syncfusion +description: Learn here all about Data label in Syncfusion JavaScript Accumulation chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Data label +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Data label in JavaScript Accumulation Charts +# Data label in JavaScript Accumulation chart control -Data label can be added to a chart series by enabling the [`visible`](../api/accumulation-chart/accumulationDataLabelSettingsModel) +Data label can be added to a chart series by enabling the [`visible`](../api/accumulation-chart/accumulationDataLabelSettingsModel/) option in the dataLabel property. {% tabs %} @@ -43,7 +44,7 @@ Accumulation chart provides support for placing the data label either `inside` o ## Smart labels -Data labels will be arranged smartly without overlapping with each other. You can enable or disable this feature using the [`enableSmartLabels`](../api/accumulation-chart/accumulationChartModel#enablesmartlabels) property. +Data labels will be arranged smartly without overlapping with each other. You can enable or disable this feature using the [`enableSmartLabels`](../api/accumulation-chart/accumulationChartModel/#enablesmartlabels) property. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -58,7 +59,7 @@ Data labels will be arranged smartly without overlapping with each other. You ca ## Data Label Template -Label content can be formatted by using the template option. Inside the template, you can add the placeholder text `${point.x}` and `${point.y}` to display corresponding data points x & y value. Using [`template`](../api/accumulation-chart/accumulationDataLabelSettingsModel)property, you can set data label template in chart. +Label content can be formatted by using the template option. Inside the template, you can add the placeholder text `${point.x}` and `${point.y}` to display corresponding data points x & y value. Using [`template`](../api/accumulation-chart/accumulationDataLabelSettingsModel/)property, you can set data label template in chart. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -103,7 +104,7 @@ Text from the data source can be mapped to data label using `name` property. ## Format -Data label for the accumulation chart can be formatted using [`format`](../api/accumulation-chart/accumulationChartModel#format) property. You can use the global formatting options, such as 'n', 'p', and 'c'. +Data label for the accumulation chart can be formatted using [`format`](../api/accumulation-chart/accumulationChartModel/#format) property. You can use the global formatting options, such as 'n', 'p', and 'c'. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -190,7 +191,7 @@ Individual text can be customized using the `textRender` event. ## Text wrap -When the data label text exceeds the container, the text can be wrapped by using [`textWrap`](../api/accumulation-chart/accumulationDataLabelSettings#textwrap) property. End user can also wrap the data label text based on [`maxWidth`](../api/accumulation-chart/accumulationDataLabelSettings#maxwidth) property. +When the data label text exceeds the container, the text can be wrapped by using [`textWrap`](../api/accumulation-chart/accumulationDataLabelSettings/#textwrap) property. End user can also wrap the data label text based on [`maxWidth`](../api/accumulation-chart/accumulationDataLabelSettings/#maxwidth) property. {% tabs %} {% highlight js tabtitle="index.js" %} diff --git a/chart-sdk/javascript/accumulation-charts/dynamic-data-update.md b/chart-sdk/javascript/accumulation-charts/dynamic-data-update.md index d3ee8bdfc..14aa5fc96 100644 --- a/chart-sdk/javascript/accumulation-charts/dynamic-data-update.md +++ b/chart-sdk/javascript/accumulation-charts/dynamic-data-update.md @@ -1,18 +1,19 @@ --- layout: post -title: Dynamic Data Update in JavaScript Accumulation Charts | Syncfusion -description: Learn how to dynamically add, update, or remove data points in the Syncfusion JavaScript Accumulation Charts at runtime. +title: Dynamic data update in JavaScript Accumulation chart control | Syncfusion +description: Learn here all about dynamic data update in Syncfusion JavaScript Accumulation chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Dynamic Data Update +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Dynamic Data Update in JavaScript Accumulation Charts +# Dynamic data update in Angular Accumulation Chart component ## Adding a new data point -The [`addPoint`](../api/accumulation-chart/accumulationSeries#addpoint) method is used to dynamically add a new data point to the accumulation 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 accumulation chart. This method takes two parameters: +The [`addPoint`](../api/accumulation-chart/accumulationSeries/#addpoint) method is used to dynamically add a new data point to the accumulation 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 accumulation 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. @@ -30,7 +31,7 @@ The [`addPoint`](../api/accumulation-chart/accumulationSeries#addpoint) method i ## Removing an existing data point -The [`removePoint`](../api/accumulation-chart/accumulationSeries#removepoint) method is used to dynamically remove a data point from the accumulation chart series. This method is particularly useful when you want to update the accumulation chart by removing an existing data point without having to refresh the entire accumulation chart. This method takes two parameters: +The [`removePoint`](../api/accumulation-chart/accumulationSeries/#removepoint) method is used to dynamically remove a data point from the accumulation chart series. This method is particularly useful when you want to update the accumulation chart by removing an existing data point without having to refresh the entire accumulation 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. @@ -48,7 +49,7 @@ The [`removePoint`](../api/accumulation-chart/accumulationSeries#removepoint) me ## Replacing entire data points -To replace the existing data source in the accumulation chart with a new data source, you can simply use the [`setData`](../api/accumulation-chart/accumulationSeries#setdata) method. This method allows you to replace the existing data points in the accumulation chart series with a new set of data points, enabling you to easily update the accumulation chart with new information. This method takes two parameters: +To replace the existing data source in the accumulation chart with a new data source, you can simply use the [`setData`](../api/accumulation-chart/accumulationSeries/#setdata) method. This method allows you to replace the existing data points in the accumulation chart series with a new set of data points, enabling you to easily update the accumulation 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. diff --git a/chart-sdk/javascript/accumulation-charts/ej1-api-migration.md b/chart-sdk/javascript/accumulation-charts/ej1-api-migration.md index ff7cb7a1f..29244c17f 100644 --- a/chart-sdk/javascript/accumulation-charts/ej1-api-migration.md +++ b/chart-sdk/javascript/accumulation-charts/ej1-api-migration.md @@ -1,14 +1,15 @@ --- layout: post -title: Migration from EJ 1 in JavaScript Accumulation Charts | Syncfusion -description: Learn how to migrate Accumulation Chart code and APIs from Syncfusion Essential JS 1 to Syncfusion Essential JS 2. +title: Ej1 api migration in JavaScript Accumulation chart control | Syncfusion +description: Learn here all about Ej1 api migration in Syncfusion JavaScript Accumulation chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Accumulation Chart +control: Ej1 api migration +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Migration from Essential JS 1 in JavaScript Accumulation Charts +# Ej1 api migration in JavaScript Accumulation chart control This article describes the API migration process of Chart component from Essential JS 1 to Essential JS 2. diff --git a/chart-sdk/javascript/accumulation-charts/empty-points.md b/chart-sdk/javascript/accumulation-charts/empty-points.md index b822a9e1d..8e011c0a3 100644 --- a/chart-sdk/javascript/accumulation-charts/empty-points.md +++ b/chart-sdk/javascript/accumulation-charts/empty-points.md @@ -1,14 +1,15 @@ --- layout: post -title: Empty Points in JavaScript Accumulation Charts | Syncfusion -description: Learn how to handle and customize empty data points in the Syncfusion JavaScript Accumulation Charts. +title: Empty points in JavaScript Accumulation chart control | Syncfusion +description: Learn here all about Empty points in Syncfusion JavaScript Accumulation chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Accumulation Chart +control: Empty points +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Empty points in JavaScript Accumulation Charts +# Empty points in JavaScript Accumulation chart control The data points those uses the `null` or `undefined` as value are considered as empty points. The empty data points are ignored and not plotted in the chart. You can customize those points, using the `emptyPointSettings` property in series. The default mode of the empty point is `Gap`. Other supported modes are `Average` and `Zero`. diff --git a/chart-sdk/javascript/accumulation-charts/es5-getting-started.md b/chart-sdk/javascript/accumulation-charts/es5-getting-started.md index 0ad5bb714..9650dfc1b 100644 --- a/chart-sdk/javascript/accumulation-charts/es5-getting-started.md +++ b/chart-sdk/javascript/accumulation-charts/es5-getting-started.md @@ -1,18 +1,19 @@ --- layout: post -title: ES5 getting started with JavaScript Accumulation Charts | Syncfusion -description: Check out and learn about ES5 getting started with JavaScript Accumulation Charts control of Syncfusion Essential JS 2 and more details. +title: ES5 getting started with JavaScript Accumulation Chart control | Syncfusion +description: Check out and learn about ES5 getting started with JavaScript Accumulation Chart control of Syncfusion Essential JS 2 and more details. platform: chart-sdk control: Accumulation Chart +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Getting Started with Syncfusion® JavaScript (ES5) Accumulation Charts +# Getting Started with Syncfusion® JavaScript (ES5) Accumulation Chart Control Build your first Syncfusion JavaScript (ES5) application with a simple Accumulation Chart control in just a few minutes. This quickstart guides you through creating a minimal, runnable HTML page that loads the Syncfusion EJ2 (ES5) Accumulation Chart from the CDN, initializes it with sample data, and renders an interactive chart. -> The `34.1.29` version segment in the CDN URLs is shown for reference. Replace it with the latest published version from the [Syncfusion EJ2 CDN](https://cdn.syncfusion.com/ej2) when you start a new project. +> The `34.1.29` version segment in the CDN URLs is shown for reference. Replace it with the latest published version from the [Syncfusion EJ2 CDN](https://cdn.syncfusion.com/ej2/) when you start a new project. ## Prerequisites diff --git a/chart-sdk/javascript/accumulation-charts/funnel.md b/chart-sdk/javascript/accumulation-charts/funnel.md index cc8993753..e9be7c000 100644 --- a/chart-sdk/javascript/accumulation-charts/funnel.md +++ b/chart-sdk/javascript/accumulation-charts/funnel.md @@ -1,16 +1,17 @@ --- layout: post -title: Funnel in JavaScript Accumulation Charts | Syncfusion -description: Learn how to render a funnel series in the Syncfusion JavaScript Accumulation Charts using the FunnelSeries module. +title: Funnel in JavaScript Accumulation chart control | Syncfusion +description: Learn here all about Funnel in Syncfusion JavaScript Accumulation chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: FAccumulation Chart +control: Funnel +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Funnel in JavaScript Accumulation Charts +# Funnel in JavaScript Accumulation chart control -To render a funnel series, use the series [`type`](../api/accumulation-chart/accumulationSeriesModel) as `Funnel` and inject, the `FunnelSeries` module using the `AccumulationChart.Inject(FunnelSeries)` method. +To render a funnel series, use the series [`type`](../api/accumulation-chart/accumulationSeriesModel/) as `Funnel` and inject, the `FunnelSeries` module using the `AccumulationChart.Inject(FunnelSeries)` method. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -115,7 +116,7 @@ Individual points can be customized using the `pointRender` event. ## Modes -The Funnel chart supports both Standard and Trapezoidal modes of rendering. The default value of the [`funnelMode`](../api/accumulation-chart/funnelModes) is `Standard`. +The Funnel chart supports both Standard and Trapezoidal modes of rendering. The default value of the [`funnelMode`](../api/accumulation-chart/funnelModes/) is `Standard`. ### Standard diff --git a/chart-sdk/javascript/accumulation-charts/gradient.md b/chart-sdk/javascript/accumulation-charts/gradient.md index cc850d379..ae299c9ac 100644 --- a/chart-sdk/javascript/accumulation-charts/gradient.md +++ b/chart-sdk/javascript/accumulation-charts/gradient.md @@ -1,14 +1,15 @@ --- layout: post -title: Gradient in JavaScript Accumulation Charts | Syncfusion -description: Learn how to apply linear and radial gradients to the Syncfusion JavaScript Accumulation Charts for richer styling. +title: Gradient in JavaScript Accumulation chart control | Syncfusion +description: Learn here all about Gradient in Syncfusion JavaScript Accumulation chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Accumulation Chart +control: Gradient +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Gradient in JavaScript Accumulation Charts +# Gradient in JavaScript Accumulation chart control Gradients add depth and modern styling to charts by smoothly blending multiple colors. The Charts component supports two gradient types: diff --git a/chart-sdk/javascript/accumulation-charts/grouping.md b/chart-sdk/javascript/accumulation-charts/grouping.md index 58434e258..483ed73c9 100644 --- a/chart-sdk/javascript/accumulation-charts/grouping.md +++ b/chart-sdk/javascript/accumulation-charts/grouping.md @@ -1,17 +1,18 @@ --- layout: post -title: Grouping in JavaScript Accumulation Charts | Syncfusion -description: Learn how to group data points in the Syncfusion JavaScript Accumulation Charts using the groupTo property. +title: Grouping in JavaScript Accumulation chart control | Syncfusion +description: Learn here all about Grouping in Syncfusion JavaScript Accumulation chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Accumulation Chart +control: Grouping +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Grouping in JavaScript Accumulation Charts +# Grouping in JavaScript Accumulation chart control You can club/group few points of the series based on -[`groupTo`](../api/accumulation-chart/accumulationSeries) property. For example, if the club +[`groupTo`](../api/accumulation-chart/accumulationSeries/) property. For example, if the club value is 11, then the points with value less than 11 is grouped together and will be showed as a single point with label `others`. The property also takes value in percentage (percentage of total data points value). diff --git a/chart-sdk/javascript/accumulation-charts/legend.md b/chart-sdk/javascript/accumulation-charts/legend.md index eabd0c488..7ecf59a80 100644 --- a/chart-sdk/javascript/accumulation-charts/legend.md +++ b/chart-sdk/javascript/accumulation-charts/legend.md @@ -1,14 +1,15 @@ --- layout: post -title: Legend in JavaScript Accumulation Charts | Syncfusion -description: Learn how to add and customize the legend in the Syncfusion JavaScript Accumulation Charts, including position and visibility. +title: Legend in JavaScript Accumulation chart control | Syncfusion +description: Learn here all about Legend in Syncfusion JavaScript Accumulation chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Accumulation Chart +control: Legend +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Legend in JavaScript Accumulation Charts +# Legend in JavaScript Accumulation chart control As like a chart, the legend is also available for accumulation charts, which gives information about the points. By default, the legend will be placed on the right, if the width of the chart is high or will be placed on the bottom, if the height of the chart is high. Other customization features regarding the legend element are same as the [`chart legend`](http://ej2.syncfusion.com/documentation/chart/legend). Here, the legend for a point can be collapsed by giving the empty string to the x value of the point. @@ -42,7 +43,7 @@ By using the position property, you can position the legend at the `left`, ` ## Legend reverse -You can reverse the order of the legend items by using the [`reverse`](https://ej2.syncfusion.com/documentation/api/accumulation-chart/legendSettingsModel#reverse) property. By default, legend for the first series in the collection will be placed first. +You can reverse the order of the legend items by using the [`reverse`](https://ej2.syncfusion.com/documentation/api/accumulation-chart/legendSettingsModel/#reverse) property. By default, legend for the first series in the collection will be placed first. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -162,7 +163,7 @@ By default, the page number will be enabled while legend paging. Now, you can di ## Legend item padding -The [`itemPadding`](../api/accumulation-chart/legendSettings#itempadding) property can be used to adjust the space between the legend items. +The [`itemPadding`](../api/accumulation-chart/legendSettings/#itempadding) property can be used to adjust the space between the legend items. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -177,7 +178,7 @@ The [`itemPadding`](../api/accumulation-chart/legendSettings#itempadding) proper ## Legend layout -The [`layout`](../api/accumulation-chart/legendSettingsModel#layout) property in [`legendSettings`](../api/accumulation-chart#legendsettings) allows you to display the legend either horizontally or vertically. By default, the [`layout`](../api/accumulation-chart/legendSettingsModel#layout) is set to **Auto**. The [`maximumColumns`](../api/accumulation-chart/legendSettingsModel#maximumcolumns) property in [`legendSettings`](../api/accumulation-chart#legendsettings) defines the maximum number of columns that can be displayed within the available space when using the auto layout. Additionally, enabling the [`fixedWidth`](../api/accumulation-chart/legendSettingsModel#fixedwidth) property in [`legendSettings`](../api/accumulation-chart#legendsettings) ensures that all legend items are displayed with equal widths. The width of each item is determined by the maximum width among the legend items. +The [`layout`](../api/accumulation-chart/legendSettingsModel/#layout) property in [`legendSettings`](../api/accumulation-chart/#legendsettings) allows you to display the legend either horizontally or vertically. By default, the [`layout`](../api/accumulation-chart/legendSettingsModel/#layout) is set to **Auto**. The [`maximumColumns`](../api/accumulation-chart/legendSettingsModel/#maximumcolumns) property in [`legendSettings`](../api/accumulation-chart/#legendsettings) defines the maximum number of columns that can be displayed within the available space when using the auto layout. Additionally, enabling the [`fixedWidth`](../api/accumulation-chart/legendSettingsModel/#fixedwidth) property in [`legendSettings`](../api/accumulation-chart/#legendsettings) ensures that all legend items are displayed with equal widths. The width of each item is determined by the maximum width among the legend items. {% tabs %} {% highlight js tabtitle="index.js" %} diff --git a/chart-sdk/javascript/accumulation-charts/pie-dough-nut.md b/chart-sdk/javascript/accumulation-charts/pie-dough-nut.md index f3201a76d..e5c3171c9 100644 --- a/chart-sdk/javascript/accumulation-charts/pie-dough-nut.md +++ b/chart-sdk/javascript/accumulation-charts/pie-dough-nut.md @@ -1,18 +1,19 @@ --- layout: post -title: Pie and Doughnut in JavaScript Accumulation Charts | Syncfusion -description: Learn how to render pie and doughnut series in the Syncfusion JavaScript Accumulation Charts with various customizations. +title: Pie dough nut in JavaScript Accumulation chart control | Syncfusion +description: Learn here all about Pie dough nut in Syncfusion JavaScript Accumulation chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Accumulation Chart +control: Pie dough nut +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Pie and Doughnut in JavaScript Accumulation Charts +# Pie dough nut in JavaScript Accumulation chart control ## Pie chart -To render a pie series, use the series [`type`](../api/accumulation-chart/accumulationSeriesModel#type) as `Pie` and inject the `PieSeries` module using `AccumulationChart.Inject(PieSeries)` method. If the `PieSeries` module is not injected, this module will be loaded by default. +To render a pie series, use the series [`type`](../api/accumulation-chart/accumulationSeriesModel/#type) as `Pie` and inject the `PieSeries` module using `AccumulationChart.Inject(PieSeries)` method. If the `PieSeries` module is not injected, this module will be loaded by default. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -27,7 +28,7 @@ To render a pie series, use the series [`type`](../api/accumulation-chart/accumu ## Radius customization -By default, radius of the pie series will be 80% of the size (minimum of chart width and height). You can customize this using [`radius`](../api/accumulation-chart/accumulationSeriesModel#radius) property of the series. +By default, radius of the pie series will be 80% of the size (minimum of chart width and height). You can customize this using [`radius`](../api/accumulation-chart/accumulationSeriesModel/#radius) property of the series. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -42,7 +43,7 @@ By default, radius of the pie series will be 80% of the size (minimum of chart w ## Pie center -The center position of the pie can be changed by Center X and Center Y. By default, center value of the pie series x and y is 50%. You can customize this using [`center`](../api/accumulation-chart/accumulationChartModel#center) property of the series. +The center position of the pie can be changed by Center X and Center Y. By default, center value of the pie series x and y is 50%. You can customize this using [`center`](../api/accumulation-chart/accumulationChartModel/#center) property of the series. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -57,7 +58,7 @@ The center position of the pie can be changed by Center X and Center Y. By defau ## Various radius pie chart -You can use radius mapping to render the slice with different [`radius`](../api/accumulation-chart/accumulationSeries#radius) pie and also use [`border`](../api/accumulation-chart/accumulationSeries#border) , fill properties to customize the point. dataLabel is used to represent individual data and its value. +You can use radius mapping to render the slice with different [`radius`](../api/accumulation-chart/accumulationSeries/#radius) pie and also use [`border`](../api/accumulation-chart/accumulationSeries/#border) , fill properties to customize the point. dataLabel is used to represent individual data and its value. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -72,7 +73,7 @@ You can use radius mapping to render the slice with different [`radius`](../api/ ## Doughnut chart -To achieve a doughnut in pie series, customize the [`innerRadius`](../api/accumulation-chart/accumulationSeries#innerradius) property of the series. By setting value greater than 0%, a doughnut will appear. The `innerRadius` property takes value from 0% to 100% of the pie radius. +To achieve a doughnut in pie series, customize the [`innerRadius`](../api/accumulation-chart/accumulationSeries/#innerradius) property of the series. By setting value greater than 0%, a doughnut will appear. The `innerRadius` property takes value from 0% to 100% of the pie radius. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -87,7 +88,7 @@ To achieve a doughnut in pie series, customize the [`innerRadius`](../api/accumu ## Multiple Donut -You can create multiple donuts within a single chart by adding multiple series with different [`innerRadius`](../api/accumulation-chart/accumulationSeries#innerradius) and [`radius`](../api/accumulation-chart/accumulationSeries#radius) values. This allows you to compare multiple data sets with the same categories. Each series can have different data, colors, and customizations. You can also use the [`mappingKey`](../api/accumulation-chart/accumulationLegendSettings#mappingkey) property in `legendSettings` to map the legend items based on the specified field from the data source. When set, points with matching `mappingKey` values are grouped into a single legend item. +You can create multiple donuts within a single chart by adding multiple series with different [`innerRadius`](../api/accumulation-chart/accumulationSeries/#innerradius) and [`radius`](../api/accumulation-chart/accumulationSeries/#radius) values. This allows you to compare multiple data sets with the same categories. Each series can have different data, colors, and customizations. You can also use the [`mappingKey`](../api/accumulation-chart/accumulationLegendSettings/#mappingkey) property in `legendSettings` to map the legend items based on the specified field from the data source. When set, points with matching `mappingKey` values are grouped into a single legend item. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -102,7 +103,7 @@ You can create multiple donuts within a single chart by adding multiple series w ## Start and end angles -You can customize the start and end angle of the pie series using the [`startAngle`](../api/accumulation-chart/accumulationSeries#startangle) and [`endAngle`](../api/accumulation-chart/accumulationSeries#endangle) properties. The default value of `startAngle` is 0 degree, and `endAngle` is 360 degrees. By customizing this, you can achieve a semi pie series. +You can customize the start and end angle of the pie series using the [`startAngle`](../api/accumulation-chart/accumulationSeries/#startangle) and [`endAngle`](../api/accumulation-chart/accumulationSeries/#endangle) properties. The default value of `startAngle` is 0 degree, and `endAngle` is 360 degrees. By customizing this, you can achieve a semi pie series. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -132,7 +133,7 @@ The fill color and the text in the data source can be mapped to the chart using ## Border radius -You can create rounded corners for each slice by using the [borderRadius](../api/accumulation-chart/accumulationSeriesModel#borderradius) option, which gives the chart a modern and polished appearance. +You can create rounded corners for each slice by using the [borderRadius](../api/accumulation-chart/accumulationSeriesModel/#borderradius) option, which gives the chart a modern and polished appearance. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -147,7 +148,7 @@ You can create rounded corners for each slice by using the [borderRadius](../api ## Palette -The default palette for the pie series can be customized by using the [`palettes`](../api/accumulation-chart/accumulationSeriesModel#palettes) property in the series. +The default palette for the pie series can be customized by using the [`palettes`](../api/accumulation-chart/accumulationSeriesModel/#palettes) property in the series. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -177,7 +178,7 @@ Individual points can be customized using the `pointRender` event. ## Patterns -You can apply different patterns to the pie slices using the [`applyPattern`](../api/accumulation-chart/accumulationSeriesModel#applypattern) property in the series and the [`pointRender`](../api/accumulation-chart/iAccPointRenderEventArgs) event. +You can apply different patterns to the pie slices using the [`applyPattern`](../api/accumulation-chart/accumulationSeriesModel/#applypattern) property in the series and the [`pointRender`](../api/accumulation-chart/iAccPointRenderEventArgs/) event. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -207,9 +208,9 @@ By default, the border will appear in the pie/doughnut chart while mouse hover o ## Multi-level pie chart -You can achieve a multi-level drill down in pie and doughnut charts using [pointClick](../../api/accumulation-chart/accumulationChartModel#pointclick) event. If user clicks any point in the chart, that corresponding data will be shown in the next level and so on based on point clicked. +You can achieve a multi-level drill down in pie and doughnut charts using [pointClick](../../api/accumulation-chart/accumulationChartModel/#pointclick) event. If user clicks any point in the chart, that corresponding data will be shown in the next level and so on based on point clicked. -You can also achieve drill-up (back to the initial state) by using [chartMouseClick](../../api/accumulation-chart/accumulationChartModel#chartmouseclick) event. In below sample, you can drill-up by clicking back button in the center of the chart. +You can also achieve drill-up (back to the initial state) by using [chartMouseClick](../../api/accumulation-chart/accumulationChartModel/#chartmouseclick) event. In below sample, you can drill-up by clicking back button in the center of the chart. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -224,5 +225,5 @@ You can also achieve drill-up (back to the initial state) by using [chartMouseCl ## See also -* [Data label](./data-label) -* [Grouping](./grouping) \ No newline at end of file +* [Data label](./data-label/) +* [Grouping](./grouping/) \ No newline at end of file diff --git a/chart-sdk/javascript/accumulation-charts/pyramid.md b/chart-sdk/javascript/accumulation-charts/pyramid.md index de7ee0b0c..a01b9670c 100644 --- a/chart-sdk/javascript/accumulation-charts/pyramid.md +++ b/chart-sdk/javascript/accumulation-charts/pyramid.md @@ -1,16 +1,17 @@ --- layout: post -title: Pyramid in JavaScript Accumulation Charts | Syncfusion -description: Learn how to render a pyramid series in the Syncfusion JavaScript Accumulation Charts using the PyramidSeries module. +title: Pyramid in JavaScript Accumulation chart control | Syncfusion +description: Learn here all about Pyramid in Syncfusion JavaScript Accumulation chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Accumulation Chart +control: Pyramid +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Pyramid in JavaScript Accumulation Charts +# Pyramid in JavaScript Accumulation chart control -To render a pyramid series, use the series [`type`](../api/accumulation-chart/accumulationSeriesModel) as `Pyramid` and inject `PyramidSeries` module using the `AccumulationChart.Inject(PyramidSeries)` method. +To render a pyramid series, use the series [`type`](../api/accumulation-chart/accumulationSeriesModel/) as `Pyramid` and inject `PyramidSeries` module using the `AccumulationChart.Inject(PyramidSeries)` method. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -100,5 +101,5 @@ Individual points can be customized using the `pointRender` event. ## See also -* [Data label](./data-label) -* [Grouping](./grouping) +* [Data label](./data-label/) +* [Grouping](./grouping/) diff --git a/chart-sdk/javascript/accumulation-charts/title-and-sub-title.md b/chart-sdk/javascript/accumulation-charts/title-and-sub-title.md index 214360d25..013b59328 100644 --- a/chart-sdk/javascript/accumulation-charts/title-and-sub-title.md +++ b/chart-sdk/javascript/accumulation-charts/title-and-sub-title.md @@ -1,18 +1,19 @@ --- layout: post -title: Title and Subtitle in JavaScript Accumulation Charts | Syncfusion -description: Learn how to add a title and subtitle to the Syncfusion JavaScript Accumulation Charts using the title property. +title: Title and sub title in JavaScript Accumulation chart control | Syncfusion +description: Learn here all about Title and sub title in Syncfusion JavaScript Accumulation chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Accumulation Chart +control: Title and sub title +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Title and Subtitle in JavaScript Accumulation Charts +# Title and sub title in JavaScript Accumulation chart control ## Title -Accumulation Chart can be given a title using [`title`](../api/accumulation-chart/accumulationChartModel#title) property, to show the information about the data plotted. +Accumulation Chart can be given a title using [`title`](../api/accumulation-chart/accumulationChartModel/#title) property, to show the information about the data plotted. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -27,7 +28,7 @@ Accumulation Chart can be given a title using [`title`](../api/accumulation-char ## Title customization -Accumulation Chart can be customizing a title using [`titleStyle`](../api/accumulation-chart/accumulationChartModel#titlestyle) property. +Accumulation Chart can be customizing a title using [`titleStyle`](../api/accumulation-chart/accumulationChartModel/#titlestyle) property. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -42,7 +43,7 @@ Accumulation Chart can be customizing a title using [`titleStyle`](../api/accumu ### Position -The [`position`](../api/accumulation-chart/titlePosition) property customizes the placement of the accumulation chart title. It supports the following options: `Right`, `Left`, `Bottom`, `Top`, and `Custom`. The custom option allows you to position the title anywhere on the chart using x and y coordinates, providing flexible title alignment based on layout requirements. +The [`position`](../api/accumulation-chart/titlePosition/) property customizes the placement of the accumulation chart title. It supports the following options: `Right`, `Left`, `Bottom`, `Top`, and `Custom`. The custom option allows you to position the title anywhere on the chart using x and y coordinates, providing flexible title alignment based on layout requirements. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -57,7 +58,7 @@ The [`position`](../api/accumulation-chart/titlePosition) property customizes th ## SubTitle -Accumulation Chart can be given a subtitle using [`subTitle`](../api/accumulation-chart/accumulationChartModel#subtitle) property, to show the information about the data plotted. +Accumulation Chart can be given a subtitle using [`subTitle`](../api/accumulation-chart/accumulationChartModel/#subtitle) property, to show the information about the data plotted. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -72,7 +73,7 @@ Accumulation Chart can be given a subtitle using [`subTitle`](../api/accumulatio ## SubTitle customization -Accumulation Chart can be customizing a subtitle using [`subTitleStyle`](../api/accumulation-chart/accumulationChartModel#subtitlestyle) property, to show the information about the data plotted. +Accumulation Chart can be customizing a subtitle using [`subTitleStyle`](../api/accumulation-chart/accumulationChartModel/#subtitlestyle) property, to show the information about the data plotted. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -87,7 +88,7 @@ Accumulation Chart can be customizing a subtitle using [`subTitleStyle`](../api/ ### Position -The [`position`](../api/accumulation-chart/titleStyleSettings#position) property customizes the placement of the accumulation chart subtitle. It supports the following options: `Right`, `Left`, `Bottom`, `Top`, and `Custom`. The Custom option allows you to position the subtitle anywhere on the chart using x and y coordinates, providing flexible subtitle alignment based on layout requirements. +The [`position`](../api/accumulation-chart/titleStyleSettings/#position) property customizes the placement of the accumulation chart subtitle. It supports the following options: `Right`, `Left`, `Bottom`, `Top`, and `Custom`. The Custom option allows you to position the subtitle anywhere on the chart using x and y coordinates, providing flexible subtitle alignment based on layout requirements. {% tabs %} {% highlight js tabtitle="index.js" %} diff --git a/chart-sdk/javascript/accumulation-charts/tool-tip.md b/chart-sdk/javascript/accumulation-charts/tool-tip.md index cb808329a..f40ffdde2 100644 --- a/chart-sdk/javascript/accumulation-charts/tool-tip.md +++ b/chart-sdk/javascript/accumulation-charts/tool-tip.md @@ -1,16 +1,17 @@ --- layout: post -title: Tooltip in JavaScript Accumulation Charts | Syncfusion -description: Learn how to enable and customize tooltips in the Syncfusion JavaScript Accumulation Charts to display point details on hover. +title: Tooltip in JavaScript Accumulation chart control | Syncfusion +description: Learn here all about Tooltip in Syncfusion JavaScript Accumulation chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Tooltip +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Tooltip in JavaScript Accumulation Charts +# Tooltip in JavaScript Accumulation chart control -Tooltip for the accumulation chart can be enabled by using the [`enable`](../api/accumulation-chart/tooltipSettingsModel#enable) property. +Tooltip for the accumulation chart can be enabled by using the [`enable`](../api/accumulation-chart/tooltipSettingsModel/#enable) property. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -27,7 +28,7 @@ Tooltip for the accumulation chart can be enabled by using the [`enable`](../ap ## Header -We can specify header for the tooltip using [`header`](../api/accumulation-chart/tooltipSettingsModel#header) property. +We can specify header for the tooltip using [`header`](../api/accumulation-chart/tooltipSettingsModel/#header) property. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -57,7 +58,7 @@ By default, tooltip shows information of x and y value in points. In addition to ## Inline tooltip formatting -The tooltip content can be formatted directly within the [`format`](../api/accumulation-chart/tooltipSettingsModel#format) property by adding DateTime or number format specifiers to supported tooltip tokens. This allows you to control how point and series values are displayed without using additional events. +The tooltip content can be formatted directly within the [`format`](../api/accumulation-chart/tooltipSettingsModel/#format) property by adding DateTime or number format specifiers to supported tooltip tokens. This allows you to control how point and series values are displayed without using additional events. A format specifier can be applied to a tooltip token by adding a colon (`:`) followed by the required format. @@ -113,7 +114,7 @@ If the specified format does not match the resolved value type, the original val ## Tooltip Template -Any HTML element can be displayed in the tooltip by using the [`template`](../api/accumulation-chart/tooltipSettingsModel#template) property. +Any HTML element can be displayed in the tooltip by using the [`template`](../api/accumulation-chart/tooltipSettingsModel/#template) property. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -128,7 +129,7 @@ Any HTML element can be displayed in the tooltip by using the [`template`](../ap ## Fixed tooltip -By default, tooltip track the mouse movement, but you can set a fixed position for the tooltip by using the [`location`](../api/accumulation-chart/tooltipSettingsModel#location) property. +By default, tooltip track the mouse movement, but you can set a fixed position for the tooltip by using the [`location`](../api/accumulation-chart/tooltipSettingsModel/#location) property. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -143,7 +144,7 @@ By default, tooltip track the mouse movement, but you can set a fixed position f ## Customization -The [`fill`](../api/accumulation-chart/tooltipSettingsModel#fill) and [`border`](../api/accumulation-chart/tooltipSettingsModel#border) properties are used to customize the background color and border of the tooltip respectively. The [`textStyle`](../api/accumulation-chart/tooltipSettingsModel#textstyle) property in the tooltip is used to customize the font of the tooltip text. The [`highlightColor`](../api/accumulation-chart/accumulationChartModel#highlightcolor) property can be used to change the color of the data point when hovering. +The [`fill`](../api/accumulation-chart/tooltipSettingsModel/#fill) and [`border`](../api/accumulation-chart/tooltipSettingsModel/#border) properties are used to customize the background color and border of the tooltip respectively. The [`textStyle`](../api/accumulation-chart/tooltipSettingsModel/#textstyle) property in the tooltip is used to customize the font of the tooltip text. The [`highlightColor`](../api/accumulation-chart/accumulationChartModel/#highlightcolor) property can be used to change the color of the data point when hovering. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -158,7 +159,7 @@ The [`fill`](../api/accumulation-chart/tooltipSettingsModel#fill) and [`border`] ## To customize individual tooltip -Using [`tooltipRender`](../api/accumulation-chart/iAccTooltipRenderEventArgs) event, you can customize a tooltip for particular point. event, you can customize a tooltip for particular point. +Using [`tooltipRender`](../api/accumulation-chart/iAccTooltipRenderEventArgs/) event, you can customize a tooltip for particular point. event, you can customize a tooltip for particular point. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -173,7 +174,7 @@ Using [`tooltipRender`](../api/accumulation-chart/iAccTooltipRenderEventArgs) e ## Enable highlight -By setting the [`enableHighlight`](../api/accumulation-chart/tooltipSettingsModel#enablehighlight) property to **true**, the hovered pie slice is highlighted, while the remaining slices are dimmed, enhancing focus and clarity. +By setting the [`enableHighlight`](../api/accumulation-chart/tooltipSettingsModel/#enablehighlight) property to **true**, the hovered pie slice is highlighted, while the remaining slices are dimmed, enhancing focus and clarity. {% tabs %} {% highlight js tabtitle="index.js" %} diff --git a/chart-sdk/javascript/bullet-chart/accessibility.md b/chart-sdk/javascript/bullet-chart/accessibility.md index 9cdd67457..7ec4d4726 100644 --- a/chart-sdk/javascript/bullet-chart/accessibility.md +++ b/chart-sdk/javascript/bullet-chart/accessibility.md @@ -1,14 +1,15 @@ --- layout: post -title: Accessibility in JavaScript Bullet Chart | Syncfusion -description: Learn how to make the Syncfusion JavaScript Bullet Chart accessible using ADA, Section 508, WCAG 2.2, and ARIA roles. +title: Accessibility in JavaScript Bullet chart control | Syncfusion +description: Learn here all about Accessibility in Syncfusion JavaScript Bullet chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Bullet Chart +control: Accessibility +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Accessibility in JavaScript Bullet Chart +# Accessibility in JavaScript Bullet chart control The Bullet chart control followed the accessibility guidelines and standards, including [ADA](https://www.ada.gov/), [Section 508](https://www.section508.gov/), [WCAG 2.2](https://www.w3.org/TR/WCAG22/) standards, and [WCAG roles](https://www.w3.org/TR/wai-aria/#roles) that are commonly used to evaluate accessibility. diff --git a/chart-sdk/javascript/bullet-chart/axis-customization.md b/chart-sdk/javascript/bullet-chart/axis-customization.md index e2dc8b9f4..f7508ad12 100644 --- a/chart-sdk/javascript/bullet-chart/axis-customization.md +++ b/chart-sdk/javascript/bullet-chart/axis-customization.md @@ -1,18 +1,19 @@ --- layout: post -title: Axis customization in JavaScript Bullet Chart | Syncfusion -description: Learn how to customize the major and minor tick lines and grid lines of the Syncfusion JavaScript Bullet Chart axis. +title: Axis customization in JavaScript Bullet chart control | Syncfusion +description: Learn here all about Axis customization in Syncfusion JavaScript Bullet chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Bullet Chart +control: Axis customization +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Axis customization in JavaScript Bullet Chart +# Axis customization in JavaScript Bullet chart control ## MajorTickLines and MinorTickLines Customization -You can customize the `width`, `color`, and `size` of minor and major tick lines using the [`majorTickLines`](../api/bullet-chart/bulletChartModel) and [`minorTickLines`](../api/bullet-chart/bulletChartModel) properties of the bullet-chart. +You can customize the `width`, `color`, and `size` of minor and major tick lines using the [`majorTickLines`](../api/bullet-chart/bulletChartModel/) and [`minorTickLines`](../api/bullet-chart/bulletChartModel/) properties of the bullet-chart. The following properties can be used to customize `majorTicklines` and `minorTicklines`. @@ -34,7 +35,7 @@ The following properties can be used to customize `majorTicklines` and `minorTic ## Tick Placement -You can place major and minor ticks `inside` or `outside` the ranges using the [`tickPosition`](../api/bullet-chart/bulletChartModel) property of bullet-chart. The major and the minor ticks can be placed **inside** or **outside** the ranges using the `tickPosition` property. +You can place major and minor ticks `inside` or `outside` the ranges using the [`tickPosition`](../api/bullet-chart/bulletChartModel/) property of bullet-chart. The major and the minor ticks can be placed **inside** or **outside** the ranges using the `tickPosition` property. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -51,7 +52,7 @@ You can place major and minor ticks `inside` or `outside` the ranges using the [ ***Axis Label Format*** -Axis numeric labels can be formatted by using the [`labelFormat`](../api/bullet-chart/bulletChartModel#labelformat)property. Axis labels support all globalize formats. The following table describes the result of applying some commonly used label formats on numeric axis values. +Axis numeric labels can be formatted by using the [`labelFormat`](../api/bullet-chart/bulletChartModel/#labelformat)property. Axis labels support all globalize formats. The following table describes the result of applying some commonly used label formats on numeric axis values. Axis numeric labels can be formatted by using the `labelFormat` property. Axis labels support all globalize formats. {% tabs %} @@ -127,7 +128,7 @@ The following table describes the result of applying some commonly used formats ## GroupingSeparator -To separate groups of thousands, use the [`enableGroupSeparator`](../api/bullet-chart/bulletChartModel#enablegroupseparator) property of bullet-chart. +To separate groups of thousands, use the [`enableGroupSeparator`](../api/bullet-chart/bulletChartModel/#enablegroupseparator) property of bullet-chart. To separate the groups of thousands, set the `enableGroupSeparator` property to **true**. {% tabs %} @@ -158,7 +159,7 @@ Using the `labelFormat` property, axis labels can be specified with a custom def ## Label Placement -You can customize the axis labels `inside` or `outside` the bullet-chart using the [`labelPosition`](../api/bullet-chart/bulletChartModel#labelposition) property. Label can be placed **Inside** or **Outside** of the ranges using the `labelPosition` property. +You can customize the axis labels `inside` or `outside` the bullet-chart using the [`labelPosition`](../api/bullet-chart/bulletChartModel/#labelposition) property. Label can be placed **Inside** or **Outside** of the ranges using the `labelPosition` property. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -173,7 +174,7 @@ You can customize the axis labels `inside` or `outside` the bullet-chart using t ## Opposed Position -To place an axis opposite to its original position, set the [`opposedPosition`](../api/bullet-chart/bulletChartModel#opposedposition) property to true. To place an axis opposite to its original position, set the `opposedPosition` property to **true**. +To place an axis opposite to its original position, set the [`opposedPosition`](../api/bullet-chart/bulletChartModel/#opposedposition) property to true. To place an axis opposite to its original position, set the `opposedPosition` property to **true**. {% tabs %} {% highlight js tabtitle="index.js" %} diff --git a/chart-sdk/javascript/bullet-chart/bullet-chart-dimensions.md b/chart-sdk/javascript/bullet-chart/bullet-chart-dimensions.md index c72f86023..4d119e909 100644 --- a/chart-sdk/javascript/bullet-chart/bullet-chart-dimensions.md +++ b/chart-sdk/javascript/bullet-chart/bullet-chart-dimensions.md @@ -1,14 +1,15 @@ --- layout: post -title: Bullet Chart Dimensions in JavaScript Bullet Chart | Syncfusion -description: Learn how to set the width and height of the Syncfusion JavaScript Bullet Chart by configuring the container size. +title: Bullet chart dimensions in JavaScript Bullet chart control | Syncfusion +description: Learn here all about Bullet chart dimensions in Syncfusion JavaScript Bullet chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Bullet chart +control: Bullet chart dimensions +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Bullet Chart Dimensions in JavaScript Bullet Chart +# Bullet chart dimensions in JavaScript Bullet chart control ## Size for Container diff --git a/chart-sdk/javascript/bullet-chart/comparative-bar.md b/chart-sdk/javascript/bullet-chart/comparative-bar.md index 576836336..886462236 100644 --- a/chart-sdk/javascript/bullet-chart/comparative-bar.md +++ b/chart-sdk/javascript/bullet-chart/comparative-bar.md @@ -1,15 +1,16 @@ --- layout: post -title: Comparative Bar in JavaScript Bullet Chart | Syncfusion -description: Learn how to display the target bar in the Syncfusion JavaScript Bullet Chart using the targetField property. +title: Comparative bar in JavaScript Bullet chart control | Syncfusion +description: Learn here all about Comparative bar in Syncfusion JavaScript Bullet chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Comparative Bar +control: Comparative bar +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Comparative Bar in JavaScript Bullet Chart +# Comparative bar in JavaScript Bullet chart control The line marker that runs perpendicular to the orientation of the graph is known as the **Comparative Measure** and it is used as a target marker to compare against the feature measure value. This is also called as the **Target Bar** in the Bullet Chart. To display the target bar, the [`targetField`](../api/bullet-chart#targetfield) should be mapped to the appropriate field from the datasource. @@ -41,7 +42,7 @@ The shape of the target bar can be customized using the [`targetTypes`](../api/b ## Target bar customization -The following properties can be used to customize the target bar. Also, you can bind the color for the target bar from [`dataSource`](../api/bullet-chart#datasource) for the bullet chart. +The following properties can be used to customize the target bar. Also, you can bind the color for the target bar from [`dataSource`](../api/bullet-chart/#datasource) for the bullet chart. * [`targetColor`](../api/bullet-chart#targetcolor) - Specifies the fill color of target bar. * [`targetWidth`](../api/bullet-chart#targetwidth) - Specifies the width of target bar. diff --git a/chart-sdk/javascript/bullet-chart/customization.md b/chart-sdk/javascript/bullet-chart/customization.md index 30e3a4f5a..357458d6c 100644 --- a/chart-sdk/javascript/bullet-chart/customization.md +++ b/chart-sdk/javascript/bullet-chart/customization.md @@ -1,15 +1,16 @@ --- layout: post -title: Customization in JavaScript Bullet Chart | Syncfusion -description: Learn how to customize the Syncfusion JavaScript Bullet Chart, including orientation, flow direction, and animation. +title: Customization in JavaScript Bullet chart control | Syncfusion +description: Learn here all about Customization in Syncfusion JavaScript Bullet chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Bullet Chart +control: Customization +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Customization in JavaScript Bullet Chart +# Customization in JavaScript Bullet chart control ## Orientation diff --git a/chart-sdk/javascript/bullet-chart/data-binding.md b/chart-sdk/javascript/bullet-chart/data-binding.md index 77687b93b..4b3a7f020 100644 --- a/chart-sdk/javascript/bullet-chart/data-binding.md +++ b/chart-sdk/javascript/bullet-chart/data-binding.md @@ -1,15 +1,16 @@ --- layout: post -title: Working with Data in JavaScript Bullet Chart | Syncfusion -description: Learn how to bind local and remote data to the Syncfusion JavaScript Bullet Chart using valueField and targetField. +title: Data binding in JavaScript Bullet chart control | Syncfusion +description: Learn here all about Data binding in Syncfusion JavaScript Bullet chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Data binding +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Working with Data in JavaScript Bullet Chart +# Data binding in JavaScript Bullet chart control The `dataSource` property accepts a collection of values as input that helps to display measures, and compares them to a target bar. To display the actual and target bar, specify the property from the datasource into the `valueField` and `targetField` respectively. diff --git a/chart-sdk/javascript/bullet-chart/data-label.md b/chart-sdk/javascript/bullet-chart/data-label.md index 7913616f3..c4d9dbf41 100644 --- a/chart-sdk/javascript/bullet-chart/data-label.md +++ b/chart-sdk/javascript/bullet-chart/data-label.md @@ -1,15 +1,16 @@ --- layout: post -title: Data Label in JavaScript Bullet Chart | Syncfusion -description: Learn how to enable and customize data labels in the Syncfusion JavaScript Bullet Chart for the actual bar. +title: Data label in JavaScript Bullet chart control | Syncfusion +description: Learn here all about Data label in Syncfusion JavaScript Bullet chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Bullet Chart +control: Data label +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Data Label in JavaScript Bullet Chart +# Data label in JavaScript Bullet chart control Data Labels are used to identify the value of actual bar in the Bullet Chart component. The Data Labels will be shown by specifying the `dataLabel` setting's `enable` property to **true**. diff --git a/chart-sdk/javascript/bullet-chart/es5-getting-started.md b/chart-sdk/javascript/bullet-chart/es5-getting-started.md index 9a9ad66e6..6c3de2977 100644 --- a/chart-sdk/javascript/bullet-chart/es5-getting-started.md +++ b/chart-sdk/javascript/bullet-chart/es5-getting-started.md @@ -1,9 +1,10 @@ --- layout: post -title: Getting Started with JavaScript Bullet Chart (ES5) | Syncfusion -description: Learn how to get started with the Syncfusion JavaScript Bullet Chart in an ES5 application using the CDN approach. +title: ES5 getting started with JavaScript Bullet Chart control | Syncfusion +description: Check out and learn about ES5 getting started with JavaScript Bullet Chart control of Syncfusion Essential JS 2 and more details. platform: chart-sdk control: Bullet Chart +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- diff --git a/chart-sdk/javascript/bullet-chart/ranges.md b/chart-sdk/javascript/bullet-chart/ranges.md index 3079951e7..29704abaf 100644 --- a/chart-sdk/javascript/bullet-chart/ranges.md +++ b/chart-sdk/javascript/bullet-chart/ranges.md @@ -1,15 +1,16 @@ --- layout: post -title: Ranges in JavaScript Bullet Chart | Syncfusion -description: Learn how to define qualitative ranges in the Syncfusion JavaScript Bullet Chart scale using the ranges property. +title: Ranges in JavaScript Bullet chart control | Syncfusion +description: Learn here all about Ranges in Syncfusion JavaScript Bullet chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Bullet Chart +control: Ranges +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Ranges in JavaScript Bullet Chart +# Ranges in JavaScript Bullet chart control Ranges represent the quality of a specific range such as **Good**, **Bad** and **Satisfactory** in the Bullet Chart scale. The ending point of a qualitative range is specified in the `end` property in `ranges`. The `minimum` value of a quantitative scale is considered the starting point of the first range or the previous range end point. diff --git a/chart-sdk/javascript/bullet-chart/title.md b/chart-sdk/javascript/bullet-chart/title.md index ccf264e80..fd1ea1dd3 100644 --- a/chart-sdk/javascript/bullet-chart/title.md +++ b/chart-sdk/javascript/bullet-chart/title.md @@ -1,15 +1,16 @@ --- layout: post -title: Title and Subtitle in JavaScript Bullet Chart | Syncfusion -description: Learn how to add a title and subtitle to the Syncfusion JavaScript Bullet Chart and customize their text styles. +title: Title in JavaScript Bullet chart control | Syncfusion +description: Learn here all about Title in Syncfusion JavaScript Bullet chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Bullet Chart +control: Title +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Title in JavaScript Bullet Chart +# Title in JavaScript Bullet chart control ## Title diff --git a/chart-sdk/javascript/bullet-chart/tool-tip.md b/chart-sdk/javascript/bullet-chart/tool-tip.md index 79910a088..a2558ada4 100644 --- a/chart-sdk/javascript/bullet-chart/tool-tip.md +++ b/chart-sdk/javascript/bullet-chart/tool-tip.md @@ -1,20 +1,21 @@ --- layout: post -title: Tooltip in JavaScript Bullet Chart | Syncfusion -description: Learn how to enable and customize tooltips in the SyncfusionJavaScript Bullet Chart to display actual and target values. +title: Tool tip in JavaScript Bullet chart control | Syncfusion +description: Learn here all about Tool tip in Syncfusion JavaScript Bullet chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Bullet Chart +control: Tool tip +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Tooltip in JavaScript Bullet Chart +# Tool tip in JavaScript Bullet chart control When the mouse is hovered over a bar in the Bullet Chart, the tooltip displays important summary about the actual and the target bar values. ## Default tooltip -By setting [`enable`](https://ej2.syncfusion.com/documentation/api/bullet-chart/bulletTooltipSettingsModel#enable)the property to 'True' and by injecting `BulletTooltip` module using `BulletChart.Inject(BulletTooltip)`.The 'Tooltip' is visible in the 'Bullet chart' by default. +By setting [`enable`](https://ej2.syncfusion.com/documentation/api/bullet-chart/bulletTooltipSettingsModel/#enable)the property to 'True' and by injecting `BulletTooltip` module using `BulletChart.Inject(BulletTooltip)`.The 'Tooltip' is visible in the 'Bullet chart' by default. The tooltip is not visible by default. To make it visible, set the `enable` property in the `tooltip` to **true** and injecting `BulletTooltip` module using `BulletChart.Inject(BulletTooltip)`. {% tabs %} @@ -45,7 +46,7 @@ Any HTML elements can be displayed in the tooltip by using the `template` proper ## Customization of the appearance of tooltip -The [`fill`](https://ej2.syncfusion.com/documentation/api/bullet-chart/bulletTooltipSettingsModel#fill) and [`border`](https://ej2.syncfusion.com/documentation/api/bullet-chart/bulletTooltipSettingsModel#border) properties are used to customize the background color and border of the tooltip respectively. The [`textStyle`](https://ej2.syncfusion.com/documentation/api/bullet-chart/bulletTooltipSettingsModel#textstyle) property in the tooltip is used to customize the font of the tooltip text. +The [`fill`](https://ej2.syncfusion.com/documentation/api/bullet-chart/bulletTooltipSettingsModel/#fill) and [`border`](https://ej2.syncfusion.com/documentation/api/bullet-chart/bulletTooltipSettingsModel/#border) properties are used to customize the background color and border of the tooltip respectively. The [`textStyle`](https://ej2.syncfusion.com/documentation/api/bullet-chart/bulletTooltipSettingsModel/#textstyle) property in the tooltip is used to customize the font of the tooltip text. The following properties can be used to customize the Bullet Chart tooltip. diff --git a/chart-sdk/javascript/bullet-chart/value-bar.md b/chart-sdk/javascript/bullet-chart/value-bar.md index 1904b279d..b5746eeb4 100644 --- a/chart-sdk/javascript/bullet-chart/value-bar.md +++ b/chart-sdk/javascript/bullet-chart/value-bar.md @@ -1,17 +1,18 @@ --- layout: post -title: Value Bar in JavaScript Bullet Chart | Syncfusion -description: Learn how to display the actual bar in the Syncfusion JavaScript Bullet Chart using the valueField property. +title: Value bar in JavaScript Bullet chart control | Syncfusion +description: Learn here all about Value bar in Syncfusion JavaScript Bullet chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Bullet Chart +control: Value bar +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Value Bar in JavaScript Bullet Chart +# Value bar in JavaScript Bullet chart control -To display the primary data or the current value of the data being measured known as the **Feature Measure** that should be encoded as a bar. This is called as the **Actual Bar** or the **Feature Bar** in the Bullet Chart, and to display the actual bar the [`valueField`](../api/bullet-chart#valuefield) should be mapped to the appropriate field from the data source. +To display the primary data or the current value of the data being measured known as the **Feature Measure** that should be encoded as a bar. This is called as the **Actual Bar** or the **Feature Bar** in the Bullet Chart, and to display the actual bar the [`valueField`](../api/bullet-chart/#valuefield) should be mapped to the appropriate field from the data source. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -26,7 +27,7 @@ To display the primary data or the current value of the data being measured know ## Types of actual bar -The shape of the actual bar can be customized using the [`type`](../api/bullet-chart#type) property of the Bullet Chart. The actual bar contains `Rect` and `Dot` shapes. By default, the actual bar shape is Rect. +The shape of the actual bar can be customized using the [`type`](../api/bullet-chart/#type) property of the Bullet Chart. The actual bar contains `Rect` and `Dot` shapes. By default, the actual bar shape is Rect. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -43,7 +44,7 @@ The shape of the actual bar can be customized using the [`type`](../api/bullet-c ### Border customization -Using the [`valueBorder`](../api/bullet-chart#valueborder) property of the bullet chart, you can customize the border [`color`](../api/bullet-chart/border#color) and [`width`](../api/bullet-chart/border#width) of the actual bar. +Using the [`valueBorder`](../api/bullet-chart/#valueborder) property of the bullet chart, you can customize the border [`color`](../api/bullet-chart/border/#color) and [`width`](../api/bullet-chart/border/#width) of the actual bar. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -58,7 +59,7 @@ Using the [`valueBorder`](../api/bullet-chart#valueborder) property of the bulle ### Fill color and height customization -Customize the fill color and height of the actual bar using the [`valueFill`](../api/bullet-chart#valuefill) and [`valueHeight`](../api/bullet-chart#valueheight) properties of the bullet chart. Also, you can bind the color for the actual bar from [`dataSource`](../api/bullet-chart#datasource) for the bullet chart using [`valueFill`](../api/bullet-chart#valuefill) property. +Customize the fill color and height of the actual bar using the [`valueFill`](../api/bullet-chart/#valuefill) and [`valueHeight`](../api/bullet-chart/#valueheight) properties of the bullet chart. Also, you can bind the color for the actual bar from [`dataSource`](../api/bullet-chart/#datasource) for the bullet chart using [`valueFill`](../api/bullet-chart/#valuefill) property. {% tabs %} {% highlight js tabtitle="index.js" %} diff --git a/chart-sdk/javascript/charts/Chart-types/area.md b/chart-sdk/javascript/charts/Chart-types/area.md index 1d328323e..5dcb33c0d 100644 --- a/chart-sdk/javascript/charts/Chart-types/area.md +++ b/chart-sdk/javascript/charts/Chart-types/area.md @@ -1,9 +1,10 @@ --- layout: post title: Area Chart in JavaScript Charts | Syncfusion -description: Learn here all about Area in Syncfusion JavaScript Charts control of Syncfusion Essential JS 2 and more. +description: Learn here all about Area in Syncfusion JavaScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Chart +control: Area +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- @@ -90,7 +91,7 @@ The [opacity](../../api/chart/series#opacity) property controls the transparency ## Area border -Use the [`border`](../../api/chart/series#border) property to configure the border width, color, and dash array of the area series. +Use the [`border`](../../api/chart/series#border) property to configure the border width, color, and dasharray of the area series. {% tabs %} {% highlight js tabtitle="index.js" %} diff --git a/chart-sdk/javascript/charts/Chart-types/bar.md b/chart-sdk/javascript/charts/Chart-types/bar.md index ee5b828c2..f300a5b62 100644 --- a/chart-sdk/javascript/charts/Chart-types/bar.md +++ b/chart-sdk/javascript/charts/Chart-types/bar.md @@ -1,9 +1,10 @@ --- layout: post title: Bar Chart in JavaScript Charts | Syncfusion -description: Learn here all about Bar in Syncfusion JavaScript Charts control of Syncfusion Essential JS 2 and more. +description: Learn here all about Bar in Syncfusion JavaScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Chart +control: Bar +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- @@ -90,7 +91,7 @@ The [opacity](../../api/chart/series#opacity) property controls the transparency **Border** -Use the [`border`](../../api/chart/series#border) property to configure the border width, color, and dash array of the bar series. +Use the [`border`](../../api/chart/series#border) property to configure the border width, color, and dasharray of the bar series. {% tabs %} {% highlight js tabtitle="index.js" %} diff --git a/chart-sdk/javascript/charts/Chart-types/box-whisker.md b/chart-sdk/javascript/charts/Chart-types/box-whisker.md index 16532ed1f..cb859acc5 100644 --- a/chart-sdk/javascript/charts/Chart-types/box-whisker.md +++ b/chart-sdk/javascript/charts/Chart-types/box-whisker.md @@ -1,9 +1,10 @@ --- layout: post title: Box and Whiskerk Chart in JavaScript Charts | Syncfusion -description: Learn here all about Box and Whisker in Syncfusion JavaScript Charts control of Syncfusion Essential JS 2 and more. +description: Learn here all about Box and Whisker in Syncfusion JavaScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Chart +control: Box and Whisker +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- @@ -93,7 +94,7 @@ The [opacity](../../api/chart/series#opacity) property controls the transparency **Border** -Use the [`border`](../../api/chart/series#border) property to configure the border width, color, and dash array of the box and whisker series. +Use the [`border`](../../api/chart/series#border) property to configure the border width, color, and dasharray of the box and whisker series. {% tabs %} {% highlight js tabtitle="index.js" %} diff --git a/chart-sdk/javascript/charts/Chart-types/bubble.md b/chart-sdk/javascript/charts/Chart-types/bubble.md index 866ef32af..8f9d65c80 100644 --- a/chart-sdk/javascript/charts/Chart-types/bubble.md +++ b/chart-sdk/javascript/charts/Chart-types/bubble.md @@ -1,9 +1,10 @@ --- layout: post title: Bubble Chart in JavaScript Charts | Syncfusion -description: Learn here all about Bubble in Syncfusion JavaScript Charts control of Syncfusion Essential JS 2 and more. +description: Learn here all about Bubble in Syncfusion JavaScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Chart +control: Bubble +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- diff --git a/chart-sdk/javascript/charts/Chart-types/candle.md b/chart-sdk/javascript/charts/Chart-types/candle.md index 87bef459c..37b009a3a 100644 --- a/chart-sdk/javascript/charts/Chart-types/candle.md +++ b/chart-sdk/javascript/charts/Chart-types/candle.md @@ -1,9 +1,10 @@ --- layout: post title: Candle Chart in JavaScript Charts | Syncfusion -description: Learn here all about Candle in Syncfusion JavaScript Charts control of Syncfusion Essential JS 2 and more. +description: Learn here all about Candle in Syncfusion JavaScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Chart +control: Candle +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- diff --git a/chart-sdk/javascript/charts/Chart-types/column.md b/chart-sdk/javascript/charts/Chart-types/column.md index f1ecabcdf..a9bc1f930 100644 --- a/chart-sdk/javascript/charts/Chart-types/column.md +++ b/chart-sdk/javascript/charts/Chart-types/column.md @@ -1,9 +1,10 @@ --- layout: post title: Column Chart in JavaScript Charts | Syncfusion -description: Learn here all about Column in Syncfusion JavaScript Charts control of Syncfusion Essential JS 2 and more. +description: Learn here all about Column in Syncfusion JavaScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Column +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- @@ -90,7 +91,7 @@ The [opacity](../../api/chart/series#opacity) property controls the transparency **Border** -Use the [`border`](../../api/chart/series#border) property to configure the border width, color, and dash array of the column series. +Use the [`border`](../../api/chart/series#border) property to configure the border width, color, and dasharray of the column series. {% tabs %} {% highlight js tabtitle="index.js" %} diff --git a/chart-sdk/javascript/charts/Chart-types/error-bar.md b/chart-sdk/javascript/charts/Chart-types/error-bar.md index fde32eb16..27181742f 100644 --- a/chart-sdk/javascript/charts/Chart-types/error-bar.md +++ b/chart-sdk/javascript/charts/Chart-types/error-bar.md @@ -1,9 +1,10 @@ --- layout: post title: Error Bar Chart in JavaScript Charts | Syncfusion -description: Learn here all about Error Bar in Syncfusion JavaScript Charts control of Syncfusion Essential JS 2 and more. +description: Learn here all about Error Bar in Syncfusion JavaScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Chart +control: Error Bar +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- diff --git a/chart-sdk/javascript/charts/Chart-types/high-low-open-close.md b/chart-sdk/javascript/charts/Chart-types/high-low-open-close.md index 8e0413ca9..145f2edee 100644 --- a/chart-sdk/javascript/charts/Chart-types/high-low-open-close.md +++ b/chart-sdk/javascript/charts/Chart-types/high-low-open-close.md @@ -1,9 +1,10 @@ --- layout: post title: High Low Open Close Chart in JavaScript Charts | Syncfusion -description: Learn here all about High Low Open Close in Syncfusion JavaScript Charts control of Syncfusion Essential JS 2 and more. +description: Learn here all about High Low Open Close in Syncfusion JavaScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Chart +control: High Low Open Close +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- @@ -14,7 +15,7 @@ domainurl: https://help.syncfusion.com/chart-sdk To render an [`hiloOpenClose`](https://www.syncfusion.com/javascript-ui-controls/js-charts/chart-types/ohlc-chart) series in your chart, you need to follow a few steps to configure it correctly. Here's a concise guide on how to do this: -* **Set the series type**: Define the series [`type`](../../api/chart/series#type) as `HiloOpenClose` in your chart configuration. This indicates that the data should be represented as a HiloOpenClose chart, which displays the high, low, open, and close values for each data point, providing a comprehensive visualization of stock price movements. +* **Set the series type**: Define the series [`type`](../../api/chart/series#type) as `HiloOpenClose` in your chart configuration. This indicates that the data should be represented as a hiloOpenClose chart, which displays the high, low, open, and close values for each data point, providing a comprehensive visualization of stock price movements. * **Provide high, low, open, and close values**: The `HiloOpenClose` series requires five fields (x, high, low, open, and close) to accurately display the stock's high, low, open, and close prices. Ensure that your data source includes these fields to create a detailed representation of stock price movements over time. diff --git a/chart-sdk/javascript/charts/Chart-types/high-low.md b/chart-sdk/javascript/charts/Chart-types/high-low.md index 2d3f22218..fc9d3c5f1 100644 --- a/chart-sdk/javascript/charts/Chart-types/high-low.md +++ b/chart-sdk/javascript/charts/Chart-types/high-low.md @@ -1,9 +1,10 @@ --- layout: post title: High Low Chart in JavaScript Charts | Syncfusion -description: Learn here all about High Low in Syncfusion JavaScript Charts control of Syncfusion Essential JS 2 and more. +description: Learn here all about High Low in Syncfusion JavaScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Chart +control: High Low +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- diff --git a/chart-sdk/javascript/charts/Chart-types/histogram.md b/chart-sdk/javascript/charts/Chart-types/histogram.md index 5110561e4..df6ddc5ee 100644 --- a/chart-sdk/javascript/charts/Chart-types/histogram.md +++ b/chart-sdk/javascript/charts/Chart-types/histogram.md @@ -1,9 +1,10 @@ --- layout: post title: Histogram Chart in JavaScript Charts | Syncfusion -description: Learn here all about Histogram in Syncfusion JavaScript Charts control of Syncfusion Essential JS 2 and more. +description: Learn here all about Histogram in Syncfusion JavaScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Chart +control: Histogram +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- diff --git a/chart-sdk/javascript/charts/Chart-types/line.md b/chart-sdk/javascript/charts/Chart-types/line.md index 7b17e7224..b6bf1b1f2 100644 --- a/chart-sdk/javascript/charts/Chart-types/line.md +++ b/chart-sdk/javascript/charts/Chart-types/line.md @@ -1,9 +1,10 @@ --- layout: post title: Line Chart in JavaScript Charts | Syncfusion -description: Learn here all about Line Chart in Syncfusion JavaScript Charts control of Syncfusion Essential JS 2 and more. +description: Learn here all about Line Chart in Syncfusion JavaScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Chart +control: Line Chart +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- diff --git a/chart-sdk/javascript/charts/Chart-types/pare-to.md b/chart-sdk/javascript/charts/Chart-types/pare-to.md index 3e5e31ed4..ce80985cf 100644 --- a/chart-sdk/javascript/charts/Chart-types/pare-to.md +++ b/chart-sdk/javascript/charts/Chart-types/pare-to.md @@ -1,9 +1,10 @@ --- layout: post title: Pareto Chart in JavaScript Charts | Syncfusion -description: Learn here all about Pareto in Syncfusion JavaScript Charts control of Syncfusion Essential JS 2 and more. +description: Learn here all about Pareto in Syncfusion JavaScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Chart +control: Pareto +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- diff --git a/chart-sdk/javascript/charts/Chart-types/polar.md b/chart-sdk/javascript/charts/Chart-types/polar.md index e744f63fe..b31e5be20 100644 --- a/chart-sdk/javascript/charts/Chart-types/polar.md +++ b/chart-sdk/javascript/charts/Chart-types/polar.md @@ -1,9 +1,10 @@ --- layout: post title: Polar Chart in JavaScript Charts | Syncfusion -description: Learn here all about Polar in Syncfusion JavaScript Charts control of Syncfusion Essential JS 2 and more. +description: Learn here all about Polar in Syncfusion JavaScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Chart +control: Polar +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- diff --git a/chart-sdk/javascript/charts/Chart-types/radar.md b/chart-sdk/javascript/charts/Chart-types/radar.md index bffca4331..a4ff17741 100644 --- a/chart-sdk/javascript/charts/Chart-types/radar.md +++ b/chart-sdk/javascript/charts/Chart-types/radar.md @@ -1,9 +1,10 @@ --- layout: post title: Radar Chart in JavaScript Charts | Syncfusion -description: Learn here all about Radar in Syncfusion JavaScript Charts control of Syncfusion Essential JS 2 and more. +description: Learn here all about Radar in Syncfusion JavaScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Chart +control: Radar +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- diff --git a/chart-sdk/javascript/charts/Chart-types/range-area.md b/chart-sdk/javascript/charts/Chart-types/range-area.md index a7ea27a12..ec5b45937 100644 --- a/chart-sdk/javascript/charts/Chart-types/range-area.md +++ b/chart-sdk/javascript/charts/Chart-types/range-area.md @@ -1,9 +1,10 @@ --- layout: post title: Range Area Chart in JavaScript Charts | Syncfusion -description: Learn here all about Range Area in Syncfusion JavaScript Charts control of Syncfusion Essential JS 2 and more. +description: Learn here all about Range Area in Syncfusion JavaScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Chart +control: Range Area +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- @@ -97,7 +98,7 @@ The [opacity](../../api/chart/series#opacity) property controls the transparency **Border** -Use the [`border`](../../api/chart/series#border) property to configure the border width, color, and dash array of the range area series. +Use the [`border`](../../api/chart/series#border) property to configure the border width, color, and dasharray of the range area series. {% tabs %} {% highlight js tabtitle="index.js" %} diff --git a/chart-sdk/javascript/charts/Chart-types/range-column.md b/chart-sdk/javascript/charts/Chart-types/range-column.md index 82d46e303..0c6f4888a 100644 --- a/chart-sdk/javascript/charts/Chart-types/range-column.md +++ b/chart-sdk/javascript/charts/Chart-types/range-column.md @@ -1,9 +1,10 @@ --- layout: post -title: Range Column in JavaScript Charts | Syncfusion -description: Learn here all about Range Column in Syncfusion JavaScript Charts control of Syncfusion Essential JS 2 and more. +title: Range Column in JavaScript Chart control | Syncfusion +description: Learn here all about Range Column in Syncfusion JavaScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Chart +control: Range Column +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- @@ -92,7 +93,7 @@ The [opacity](../../api/chart/series#opacity) property controls the transparency **Border** -Use the [`border`](../../api/chart/series#border) property to configure the border width, color, and dash array of the range column series. +Use the [`border`](../../api/chart/series#border) property to configure the border width, color, and dasharray of the range column series. {% tabs %} {% highlight js tabtitle="index.js" %} diff --git a/chart-sdk/javascript/charts/Chart-types/range-step-area.md b/chart-sdk/javascript/charts/Chart-types/range-step-area.md index f20c95593..a0591d701 100644 --- a/chart-sdk/javascript/charts/Chart-types/range-step-area.md +++ b/chart-sdk/javascript/charts/Chart-types/range-step-area.md @@ -1,9 +1,10 @@ --- layout: post title: Range Step Area Chart in JavaScript Charts | Syncfusion -description: Learn here all about Range Step Area in Syncfusion JavaScript Charts control of Syncfusion Essential JS 2 and more. +description: Learn here all about Range Step Area in Syncfusion JavaScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Chart +control: Range Step Area +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- @@ -93,7 +94,7 @@ The [opacity](../../api/chart/series#opacity) property controls the transparency **Border** -Use the [`border`](../../api/chart/series#border) property to configure the border width, color, and dash array of the range step area series. +Use the [`border`](../../api/chart/series#border) property to configure the border width, color, and dasharray of the range step area series. {% tabs %} {% highlight js tabtitle="index.js" %} diff --git a/chart-sdk/javascript/charts/Chart-types/scatter.md b/chart-sdk/javascript/charts/Chart-types/scatter.md index f228db4f0..61fa59fa5 100644 --- a/chart-sdk/javascript/charts/Chart-types/scatter.md +++ b/chart-sdk/javascript/charts/Chart-types/scatter.md @@ -1,9 +1,10 @@ --- layout: post title: Scatter Chart in JavaScript Charts | Syncfusion -description: Learn here all about Scatter in Syncfusion JavaScript Charts control of Syncfusion Essential JS 2 and more. +description: Learn here all about Scatter in Syncfusion JavaScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Chart +control: Scatter +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- @@ -93,7 +94,7 @@ The [shape](../../api/chart/markerSettings#shape) property allows you to customi **Border** -Use the [`border`](../../api/chart/series#border) property to configure the border width, color, and dash array of the scatter series. +Use the [`border`](../../api/chart/series#border) property to configure the border width, color, and dasharray of the scatter series. {% tabs %} {% highlight js tabtitle="index.js" %} diff --git a/chart-sdk/javascript/charts/Chart-types/spline-area.md b/chart-sdk/javascript/charts/Chart-types/spline-area.md index dcc8a7b1f..c42e1437e 100644 --- a/chart-sdk/javascript/charts/Chart-types/spline-area.md +++ b/chart-sdk/javascript/charts/Chart-types/spline-area.md @@ -1,9 +1,10 @@ --- layout: post title: Spline Area Chart in JavaScript Charts | Syncfusion -description: Learn here all about Spline Area in Syncfusion JavaScript Charts control of Syncfusion Essential JS 2 and more. +description: Learn here all about Spline Area in Syncfusion JavaScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Chart +control: Spline Area +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- @@ -91,7 +92,7 @@ The [opacity](../../api/chart/series#opacity) property controls the transparency **Border** -Use the [`border`](../../api/chart/series#border) property to configure the border width, color, and dash array of the spline area series. +Use the [`border`](../../api/chart/series#border) property to configure the border width, color, and dasharray of the spline area series. {% tabs %} {% highlight js tabtitle="index.js" %} diff --git a/chart-sdk/javascript/charts/Chart-types/spline-range-area.md b/chart-sdk/javascript/charts/Chart-types/spline-range-area.md index 71671034f..11884e72d 100644 --- a/chart-sdk/javascript/charts/Chart-types/spline-range-area.md +++ b/chart-sdk/javascript/charts/Chart-types/spline-range-area.md @@ -1,9 +1,10 @@ --- layout: post title: Spline Range Area Chart in JavaScript Charts | Syncfusion -description: Learn here all about Spline Range Area in Syncfusion JavaScript Charts control of Syncfusion Essential JS 2 and more. +description: Learn here all about Spline Range Area in Syncfusion JavaScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Chart +control: Spline Range Area +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- @@ -92,7 +93,7 @@ The [opacity](../../api/chart/series#opacity) property controls the transparency **Border** -Use the [`border`](../../api/chart/series#border) property to configure the border width, color, and dash array of the spline range area series. +Use the [`border`](../../api/chart/series#border) property to configure the border width, color, and dasharray of the spline range area series. {% tabs %} {% highlight js tabtitle="index.js" %} diff --git a/chart-sdk/javascript/charts/Chart-types/spline.md b/chart-sdk/javascript/charts/Chart-types/spline.md index 09bde3cfd..6d056a2af 100644 --- a/chart-sdk/javascript/charts/Chart-types/spline.md +++ b/chart-sdk/javascript/charts/Chart-types/spline.md @@ -1,9 +1,10 @@ --- layout: post title: Spline Chart in JavaScript Charts | Syncfusion -description: Learn here all about Spline in Syncfusion JavaScript Charts control of Syncfusion Essential JS 2 and more. +description: Learn here all about Spline in Syncfusion JavaScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Chart +control: Spline +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- diff --git a/chart-sdk/javascript/charts/Chart-types/stack-area.md b/chart-sdk/javascript/charts/Chart-types/stack-area.md index 57a73e845..19f68f2e9 100644 --- a/chart-sdk/javascript/charts/Chart-types/stack-area.md +++ b/chart-sdk/javascript/charts/Chart-types/stack-area.md @@ -1,9 +1,10 @@ --- layout: post title: Stacked Area Chart in JavaScript Charts | Syncfusion -description: Learn here all about Stacked area in Syncfusion JavaScript Charts control of Syncfusion Essential JS 2 and more. +description: Learn here all about Stacked area in Syncfusion JavaScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Chart +control: Stacked Area +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- @@ -91,7 +92,7 @@ The [opacity](../../api/chart/series#opacity) property controls the transparency **Border** -Use the [`border`](../../api/chart/series#border) property to configure the border width, color, and dash array of the stacked area series. +Use the [`border`](../../api/chart/series#border) property to configure the border width, color, and dasharray of the stacked area series. {% tabs %} {% highlight js tabtitle="index.js" %} diff --git a/chart-sdk/javascript/charts/Chart-types/stack-bar.md b/chart-sdk/javascript/charts/Chart-types/stack-bar.md index 0ead8c1c3..eaf486b3a 100644 --- a/chart-sdk/javascript/charts/Chart-types/stack-bar.md +++ b/chart-sdk/javascript/charts/Chart-types/stack-bar.md @@ -1,9 +1,10 @@ --- layout: post title: Stacked Bar Chart in JavaScript Charts | Syncfusion -description: Learn here all about Stacked Bar in Syncfusion JavaScript Charts control of Syncfusion Essential JS 2 and more. +description: Learn here all about Stacked Bar in Syncfusion JavaScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Chart +control: Stacked Bar +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- @@ -90,7 +91,7 @@ The [opacity](../../api/chart/series#opacity) property controls the transparency **Border** -Use the [`border`](../../api/chart/series#border) property to configure the border width, color, and dash array of the stacked bar series. +Use the [`border`](../../api/chart/series#border) property to configure the border width, color, and dasharray of the stacked bar series. {% tabs %} {% highlight js tabtitle="index.js" %} diff --git a/chart-sdk/javascript/charts/Chart-types/stack-column.md b/chart-sdk/javascript/charts/Chart-types/stack-column.md index 2c859a7de..d721ab432 100644 --- a/chart-sdk/javascript/charts/Chart-types/stack-column.md +++ b/chart-sdk/javascript/charts/Chart-types/stack-column.md @@ -1,9 +1,10 @@ --- layout: post title: Stacked Column in JavaScript Charts | Syncfusion -description: Learn here all about Stacked Column in Syncfusion JavaScript Charts control of Syncfusion Essential JS 2 and more. +description: Learn here all about Stacked Column in Syncfusion JavaScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Chart +control: Stacked Column +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- @@ -90,7 +91,7 @@ The [opacity](../../api/chart/series#opacity) property controls the transparency **Border** -Use the [`border`](../../api/chart/series#border) property to configure the border width, color, and dash array of the stacked column series. +Use the [`border`](../../api/chart/series#border) property to configure the border width, color, and dasharray of the stacked column series. {% tabs %} {% highlight js tabtitle="index.js" %} diff --git a/chart-sdk/javascript/charts/Chart-types/stack-line.md b/chart-sdk/javascript/charts/Chart-types/stack-line.md index 6eb790bfc..a952776de 100644 --- a/chart-sdk/javascript/charts/Chart-types/stack-line.md +++ b/chart-sdk/javascript/charts/Chart-types/stack-line.md @@ -1,9 +1,10 @@ --- layout: post title: Stacked Line Chart in JavaScript Charts | Syncfusion -description: Learn here all about Stacked Line in Syncfusion JavaScript Charts control of Syncfusion Essential JS 2 and more. +description: Learn here all about Stacked Line in Syncfusion JavaScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Chart +control: Stacked Line +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- diff --git a/chart-sdk/javascript/charts/Chart-types/stacked-area.md b/chart-sdk/javascript/charts/Chart-types/stacked-area.md index 011e332f8..0df9c9a63 100644 --- a/chart-sdk/javascript/charts/Chart-types/stacked-area.md +++ b/chart-sdk/javascript/charts/Chart-types/stacked-area.md @@ -1,9 +1,10 @@ --- layout: post title: Stacked Area Chart in JavaScript Charts | Syncfusion -description: Learn here all about Stacked Area in Syncfusion JavaScript Charts control of Syncfusion Essential JS 2 and more. +description: Learn here all about Stacked Area in Syncfusion JavaScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Chart +control: Stacked Area +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- @@ -90,7 +91,7 @@ The [opacity](../../api/chart/series#opacity) property controls the transparency **Border** -Use the [`border`](../../api/chart/series#border) property to configure the border width, color, and dash array of the 100% stacked area series. +Use the [`border`](../../api/chart/series#border) property to configure the border width, color, and dasharray of the 100% stacked area series. {% tabs %} {% highlight js tabtitle="index.js" %} diff --git a/chart-sdk/javascript/charts/Chart-types/stacked-bar.md b/chart-sdk/javascript/charts/Chart-types/stacked-bar.md index 72fa82fb1..db9e5df61 100644 --- a/chart-sdk/javascript/charts/Chart-types/stacked-bar.md +++ b/chart-sdk/javascript/charts/Chart-types/stacked-bar.md @@ -1,9 +1,10 @@ --- layout: post title: Stacked Bar Chart in JavaScript Charts | Syncfusion -description: Learn here all about Stacked Bar in Syncfusion JavaScript Charts control of Syncfusion Essential JS 2 and more. +description: Learn here all about Stacked Bar in Syncfusion JavaScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Chart +control: Stacked Bar +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- @@ -90,7 +91,7 @@ The [opacity](../../api/chart/series#opacity) property controls the transparency **Border** -Use the [`border`](../../api/chart/series#border) property to configure the border width, color, and dash array of the 100% stacked bar series. +Use the [`border`](../../api/chart/series#border) property to configure the border width, color, and dasharray of the 100% stacked bar series. {% tabs %} {% highlight js tabtitle="index.js" %} diff --git a/chart-sdk/javascript/charts/Chart-types/stacked-column.md b/chart-sdk/javascript/charts/Chart-types/stacked-column.md index 879192648..f3a5ec4b7 100644 --- a/chart-sdk/javascript/charts/Chart-types/stacked-column.md +++ b/chart-sdk/javascript/charts/Chart-types/stacked-column.md @@ -1,9 +1,10 @@ --- layout: post title: Stacked Column Chart in JavaScript Charts | Syncfusion -description: Learn here all about Stacked Column in Syncfusion JavaScript Charts control of Syncfusion Essential JS 2 and more. +description: Learn here all about Stacked Column in Syncfusion JavaScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Chart +control: Stacked Column +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- @@ -90,7 +91,7 @@ The [opacity](../../api/chart/series#opacity) property controls the transparency **Border** -Use the [`border`](../../api/chart/series#border) property to configure the border width, color, and dash array of the 100% stacked column series. +Use the [`border`](../../api/chart/series#border) property to configure the border width, color, and dasharray of the 100% stacked column series. {% tabs %} {% highlight js tabtitle="index.js" %} diff --git a/chart-sdk/javascript/charts/Chart-types/stacked-line.md b/chart-sdk/javascript/charts/Chart-types/stacked-line.md index eeb55bdbd..8e5e7bae9 100644 --- a/chart-sdk/javascript/charts/Chart-types/stacked-line.md +++ b/chart-sdk/javascript/charts/Chart-types/stacked-line.md @@ -1,9 +1,10 @@ --- layout: post title: Stacked Line Chart in JavaScript Charts | Syncfusion -description: Learn here all about Stacked Line in Syncfusion JavaScript Charts control of Syncfusion Essential JS 2 and more. +description: Learn here all about Stacked Line in Syncfusion JavaScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Chart +control: Stacked Line +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- diff --git a/chart-sdk/javascript/charts/Chart-types/stacked-step-area.md b/chart-sdk/javascript/charts/Chart-types/stacked-step-area.md index 64fa0140b..7e18742a8 100644 --- a/chart-sdk/javascript/charts/Chart-types/stacked-step-area.md +++ b/chart-sdk/javascript/charts/Chart-types/stacked-step-area.md @@ -1,9 +1,10 @@ --- layout: post title: Stacked Step Area Chart in JavaScript Charts | Syncfusion -description: Learn here all about Stacked Step Area in Syncfusion JavaScript Charts control of Syncfusion Essential JS 2 and more. +description: Learn here all about Stacked Step Area in Syncfusion JavaScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Chart +control: Stacked Step Area +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- @@ -90,7 +91,7 @@ The [opacity](../../api/chart/series#opacity) property controls the transparency **Border** -Use the [`border`](../../api/chart/series#border) property to configure the border width, color, and dash array of the stacked step area series. +Use the [`border`](../../api/chart/series#border) property to configure the border width, color, and dasharray of the stacked step area series. {% tabs %} {% highlight js tabtitle="index.js" %} diff --git a/chart-sdk/javascript/charts/Chart-types/step-area.md b/chart-sdk/javascript/charts/Chart-types/step-area.md index 110739fcb..c91ed80de 100644 --- a/chart-sdk/javascript/charts/Chart-types/step-area.md +++ b/chart-sdk/javascript/charts/Chart-types/step-area.md @@ -1,9 +1,10 @@ --- layout: post title: Step Area Chart in JavaScript Charts | Syncfusion -description: Learn here all about Step Area in Syncfusion JavaScript Charts control of Syncfusion Essential JS 2 and more. +description: Learn here all about Step Area in Syncfusion JavaScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Chart +control: Step Area +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- @@ -90,7 +91,7 @@ The [opacity](../../api/chart/series#opacity) property controls the transparency **Border** -Use the [`border`](../../api/chart/series#border) property to configure the border width, color, and dash array of the step area series. +Use the [`border`](../../api/chart/series#border) property to configure the border width, color, and dasharray of the step area series. {% tabs %} {% highlight js tabtitle="index.js" %} diff --git a/chart-sdk/javascript/charts/Chart-types/step-line.md b/chart-sdk/javascript/charts/Chart-types/step-line.md index 4dde5f722..6502d37f8 100644 --- a/chart-sdk/javascript/charts/Chart-types/step-line.md +++ b/chart-sdk/javascript/charts/Chart-types/step-line.md @@ -1,9 +1,10 @@ --- layout: post title: Step Line Chart in JavaScript Charts | Syncfusion -description: Learn here all about Step Line in Syncfusion JavaScript Charts control of Syncfusion Essential JS 2 and more. +description: Learn here all about Step Line in Syncfusion JavaScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Chart +control: Step Line +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- diff --git a/chart-sdk/javascript/charts/Chart-types/vertical-chart.md b/chart-sdk/javascript/charts/Chart-types/vertical-chart.md index 3f1e3509a..7a779b915 100644 --- a/chart-sdk/javascript/charts/Chart-types/vertical-chart.md +++ b/chart-sdk/javascript/charts/Chart-types/vertical-chart.md @@ -1,9 +1,10 @@ --- layout: post title: Vertical Chart in JavaScript Charts | Syncfusion -description: Learn here all about Vertical Chart in Syncfusion JavaScript Charts control of Syncfusion Essential JS 2 and more. +description: Learn here all about Vertical Chart in Syncfusion JavaScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Chart +control: Vertical Chart +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- diff --git a/chart-sdk/javascript/charts/Chart-types/waterfall.md b/chart-sdk/javascript/charts/Chart-types/waterfall.md index 58c94937c..edd0a3f11 100644 --- a/chart-sdk/javascript/charts/Chart-types/waterfall.md +++ b/chart-sdk/javascript/charts/Chart-types/waterfall.md @@ -1,9 +1,10 @@ --- layout: post title: Waterfall Chart in JavaScript Charts | Syncfusion -description: Learn here all about Waterfall in Syncfusion JavaScript Charts control of Syncfusion Essential JS 2 and more. +description: Learn here all about Waterfall in Syncfusion JavaScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Chart +control: Waterfall +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- diff --git a/chart-sdk/javascript/charts/accessibility.md b/chart-sdk/javascript/charts/accessibility.md index 6ec797c41..c0b0930f1 100644 --- a/chart-sdk/javascript/charts/accessibility.md +++ b/chart-sdk/javascript/charts/accessibility.md @@ -1,14 +1,15 @@ --- layout: post -title: Accessibility in JavaScript Charts | Syncfusion +title: Accessibility in JavaScript Chart control | Syncfusion description: Learn here all about Accessibility in Syncfusion JavaScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Chart +control: Accessibility +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Accessibility in JavaScript Charts +# Accessibility in JavaScript Chart control The Chart control follows the accessibility guidelines and standards, including [ADA](https://www.ada.gov), [Section 508](https://www.section508.gov), [WCAG 2.2](https://www.w3.org/TR/WCAG22), and relevant [WAI-ARIA](https://www.w3.org/TR/wai-aria#roles) roles. diff --git a/chart-sdk/javascript/charts/advanced-accessibility-configuration.md b/chart-sdk/javascript/charts/advanced-accessibility-configuration.md index be13672a0..3d95b8422 100644 --- a/chart-sdk/javascript/charts/advanced-accessibility-configuration.md +++ b/chart-sdk/javascript/charts/advanced-accessibility-configuration.md @@ -1,26 +1,27 @@ --- layout: post -title: Advanced accessibility in JavaScript Charts | Syncfusion +title: Accessibility customization in JavaScript Chart control | Syncfusion description: Learn here all about Accessibility customization in Syncfusion JavaScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Chart +control: Accessibility customization +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Advanced accessibility in JavaScript Charts +# Accessibility customization in JavaScript Chart control The JavaScript Chart control visualizes data graphically and provides accessibility customization options to improve usability for people with disabilities. The primary accessibility attributes are described in this section. The chart control exposes attributes that enable accessibility customization, including: -* [`accessibilityDescription`](../api/chart/accessibilityModel#accessibilitydescription) - Provides a text description for the chart, improving support for screen readers. -* [`accessibilityRole`](../api/chart/accessibilityModel#accessibilityrole) - Specifies the role of the chart, helping screen readers to identify the element appropriately. -* [`focusable`](../api/chart/accessibilityModel#focusable) - Allows the chart to receive focus, making it accessible via keyboard navigation. +* [`accessibilityDescription`](../api/chart/accessibilityModel/#accessibilitydescription) - Provides a text description for the chart, improving support for screen readers. +* [`accessibilityRole`](../api/chart/accessibilityModel/#accessibilityrole) - Specifies the role of the chart, helping screen readers to identify the element appropriately. +* [`focusable`](../api/chart/accessibilityModel/#focusable) - Allows the chart to receive focus, making it accessible via keyboard navigation. * [`focusBorderColor`](../api/chart#focusbordercolor) - Sets the color of the focus border, enhancing visibility when the chart is focused. * [`focusBorderMargin`](../api/chart#focusbordermargin) - Defines the margin around the focus border. * [`focusBorderWidth`](../api/chart#focusborderwidth) - Specifies the width of the focus border. -* [`tabIndex`](../api/chart/accessibilityModel#tabindex) - Specifies the tab order of the chart element, enabling efficient keyboard navigation. +* [`tabIndex`](../api/chart/accessibilityModel/#tabindex) - Specifies the tab order of the chart element, enabling efficient keyboard navigation. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -37,11 +38,11 @@ The chart control exposes attributes that enable accessibility customization, in The [`series`](../api/chart#series) supports the customization of accessibility for data points, allowing key characteristics to be adjusted for enhanced accessibility, such as: -* [`accessibilityDescription`](../api/chart/seriesAccessibilityModel#accessibilitydescription) - Provides a text description for the series root element, enhancing support for screen readers. -* [`accessibilityDescriptionFormat`](../api/chart/seriesAccessibilityModel#accessibilitydescriptionformat) - Specifies a format for the accessibility description of each point in the series, allowing dynamic content. The format string can include the placeholders such as ${series.name}, ${point.x}, ${point.y}, ${point.high}, etc. For example, the format "${series.name} : ${point.x}" displays the series name and x-value of the point in the accessibility description. Data point's values like high, low, open, and close are applicable based on the series types. -* [`accessibilityRole`](../api/chart/seriesAccessibilityModel#accessibilityrole) - Specifies the role of the series, helping screen readers to identify the element appropriately. -* [`focusable`](../api/chart/seriesAccessibilityModel#focusable) - Allows the series to receive focus, making it accessible via keyboard navigation. -* [`tabIndex`](../api/chart/seriesAccessibilityModel#tabindex) - Specifies the tab order of the series element, enabling efficient keyboard navigation. +* [`accessibilityDescription`](../api/chart/seriesAccessibilityModel/#accessibilitydescription) - Provides a text description for the series root element, enhancing support for screen readers. +* [`accessibilityDescriptionFormat`](../api/chart/seriesAccessibilityModel/#accessibilitydescriptionformat) - Specifies a format for the accessibility description of each point in the series, allowing dynamic content. The format string can include the placeholders such as ${series.name}, ${point.x}, ${point.y}, ${point.high}, etc. For example, the format "${series.name} : ${point.x}" displays the series name and x-value of the point in the accessibility description. Data point's values like high, low, open, and close are applicable based on the series types. +* [`accessibilityRole`](../api/chart/seriesAccessibilityModel/#accessibilityrole) - Specifies the role of the series, helping screen readers to identify the element appropriately. +* [`focusable`](../api/chart/seriesAccessibilityModel/#focusable) - Allows the series to receive focus, making it accessible via keyboard navigation. +* [`tabIndex`](../api/chart/seriesAccessibilityModel/#tabindex) - Specifies the tab order of the series element, enabling efficient keyboard navigation. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -56,12 +57,12 @@ The [`series`](../api/chart#series) supports the customization of accessibility ## Title and subtitle -In the JavaScript chart control, the [`titleStyle`](../api/chart#titlestyle) and [`subTitleStyle`](../api/chart#subtitlestyle) attributes allow you to customize the accessibility of the chart's title and subtitle. The following [`accessibility`](../api/chart/titleSettingsModel#accessibility) properties in [`titleStyle`](../api/chart#titlestyle) and [`subTitleStyle`](../api/chart#subtitlestyle) can be customized for accessibility: +In the JavaScript chart control, the [`titleStyle`](../api/chart/#titlestyle) and [`subTitleStyle`](../api/chart/#subtitlestyle) attributes allow you to customize the accessibility of the chart's title and subtitle. The following [`accessibility`](../api/chart/titleSettingsModel/#accessibility) properties in [`titleStyle`](../api/chart/#titlestyle) and [`subTitleStyle`](../api/chart/#subtitlestyle) can be customized for accessibility: -* [`accessibilityDescription`](../api/chart/accessibilityModel#accessibilitydescription) - Provides a text description for the chart title and subtitle, enhancing support for screen readers. -* [`accessibilityRole`](../api/chart/accessibilityModel#accessibilityrole) - Specifies the role of the chart title and subtitle, helping screen readers to identify the element appropriately. -* [`focusable`](../api/chart/accessibilityModel#focusable) - Enables or disables the keyboard navigation focus for the title and subtitle. -* [`tabIndex`](../api/chart/accessibilityModel#tabindex) - Specifies the tab order of the title and subtitle element, enabling efficient keyboard navigation. +* [`accessibilityDescription`](../api/chart/accessibilityModel/#accessibilitydescription) - Provides a text description for the chart title and subtitle, enhancing support for screen readers. +* [`accessibilityRole`](../api/chart/accessibilityModel/#accessibilityrole) - Specifies the role of the chart title and subtitle, helping screen readers to identify the element appropriately. +* [`focusable`](../api/chart/accessibilityModel/#focusable) - Enables or disables the keyboard navigation focus for the title and subtitle. +* [`tabIndex`](../api/chart/accessibilityModel/#tabindex) - Specifies the tab order of the title and subtitle element, enabling efficient keyboard navigation. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -76,12 +77,12 @@ In the JavaScript chart control, the [`titleStyle`](../api/chart#titlestyle) and ## Annotations -The [`annotations`](../api/chart#annotations) property allows you to add annotations to the chart in specific regions. The following [`accessibility`](../api/chart/chartAnnotationSettingsModel#accessibility) properties in [`annotations`](../api/chart#annotations) can be customized for accessibility: +The [`annotations`](../api/chart/#annotations) property allows you to add annotations to the chart in specific regions. The following [`accessibility`](../api/chart/chartAnnotationSettingsModel/#accessibility) properties in [`annotations`](../api/chart/#annotations) can be customized for accessibility: -* [`accessibilityDescription`](../api/chart/accessibilityModel#accessibilitydescription) - Provides a text description for the annotation, enhancing support for screen readers. -* [`accessibilityRole`](../api/chart/accessibilityModel#accessibilityrole) - Specifies the role of the annotation, helping screen readers to identify the element appropriately. -* [`focusable`](../api/chart/accessibilityModel#focusable) - Specifies whether annotations are focusable via keyboard navigation. -* [`tabIndex`](../api/chart/accessibilityModel#tabindex) - Specifies the tab order of the annotation element, enabling efficient keyboard navigation. +* [`accessibilityDescription`](../api/chart/accessibilityModel/#accessibilitydescription) - Provides a text description for the annotation, enhancing support for screen readers. +* [`accessibilityRole`](../api/chart/accessibilityModel/#accessibilityrole) - Specifies the role of the annotation, helping screen readers to identify the element appropriately. +* [`focusable`](../api/chart/accessibilityModel/#focusable) - Specifies whether annotations are focusable via keyboard navigation. +* [`tabIndex`](../api/chart/accessibilityModel/#tabindex) - Specifies the tab order of the annotation element, enabling efficient keyboard navigation. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -96,12 +97,12 @@ The [`annotations`](../api/chart#annotations) property allows you to add annotat ## Trendline -The [`trendlines`](../api/chart#trendlinemodule) property allows you to display trends in the data. The following [`accessibility`](../api/chart/trendlineModel#accessibility) properties in [`trendlines`](../api/chart#trendlinemodule) can be customized for accessibility: +The [`trendlines`](../api/chart#trendlinemodule) property allows you to display trends in the data. The following [`accessibility`](../api/chart/trendlineModel/#accessibility) properties in [`trendlines`](../api/chart#trendlinemodule) can be customized for accessibility: -* [`accessibilityDescription`](../api/chart/accessibilityModel#accessibilitydescription) - Provides a text description for the trendline, enhancing support for screen readers. -* [`accessibilityRole`](../api/chart/accessibilityModel#accessibilityrole) - Specifies the role of the trendline, helping screen readers to identify the element appropriately. -* [`focusable`](../api/chart/accessibilityModel#focusable) - Specifies whether trendlines are focusable via keyboard navigation. -* [`tabIndex`](../api/chart/accessibilityModel#tabindex) - Specifies the tab order of the trendline element, enabling efficient keyboard navigation. +* [`accessibilityDescription`](../api/chart/accessibilityModel/#accessibilitydescription) - Provides a text description for the trendline, enhancing support for screen readers. +* [`accessibilityRole`](../api/chart/accessibilityModel/#accessibilityrole) - Specifies the role of the trendline, helping screen readers to identify the element appropriately. +* [`focusable`](../api/chart/accessibilityModel/#focusable) - Specifies whether trendlines are focusable via keyboard navigation. +* [`tabIndex`](../api/chart/accessibilityModel/#tabindex) - Specifies the tab order of the trendline element, enabling efficient keyboard navigation. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -116,12 +117,12 @@ The [`trendlines`](../api/chart#trendlinemodule) property allows you to display ## Zooming -The [`zoomSettings`](../api/chart#zoomsettings) attributes allow you to adjust the chart's zooming capability. The following [`accessibility`](../api/chart/zoomSettingsModel#accessibility) properties in [`zoomSettings`](../api/chart#zoomsettings) offer the parameters for accessibility customization: +The [`zoomSettings`](../api/chart#zoomsettings) attributes allow you to adjust the chart's zooming capability. The following [`accessibility`](../api/chart/zoomSettingsModel/#accessibility) properties in [`zoomSettings`](../api/chart#zoomsettings) offer the parameters for accessibility customization: -* [`accessibilityDescription`](../api/chart/accessibilityModel#accessibilitydescription) - Provides a text description for the zoom toolkit items, enhancing support for screen readers. -* [`accessibilityRole`](../api/chart/accessibilityModel#accessibilityrole) - Specifies the role of the zoom toolkit items, helping screen readers to identify the element appropriately. -* [`focusable`](../api/chart/accessibilityModel#focusable) - Specifies whether zoom toolkit items are focusable via keyboard navigation. -* [`tabIndex`](../api/chart/accessibilityModel#tabindex) - Specifies the tab order of the zooming element, enabling efficient keyboard navigation. +* [`accessibilityDescription`](../api/chart/accessibilityModel/#accessibilitydescription) - Provides a text description for the zoom toolkit items, enhancing support for screen readers. +* [`accessibilityRole`](../api/chart/accessibilityModel/#accessibilityrole) - Specifies the role of the zoom toolkit items, helping screen readers to identify the element appropriately. +* [`focusable`](../api/chart/accessibilityModel/#focusable) - Specifies whether zoom toolkit items are focusable via keyboard navigation. +* [`tabIndex`](../api/chart/accessibilityModel/#tabindex) - Specifies the tab order of the zooming element, enabling efficient keyboard navigation. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -136,12 +137,12 @@ The [`zoomSettings`](../api/chart#zoomsettings) attributes allow you to adjust t ## Technical indicators -The [`indicators`](../api/chart#indicators) property allows you to analyze the trends and patterns in the data. The following [`accessibility`](../api/chart/technicalIndicatorModel#accessibility) properties in [`indicators`](../api/chart#indicators) can be customized for accessibility: +The [`indicators`](../api/chart#indicators) property allows you to analyze the trends and patterns in the data. The following [`accessibility`](../api/chart/technicalIndicatorModel/#accessibility) properties in [`indicators`](../api/chart#indicators) can be customized for accessibility: -* [`accessibilityDescription`](../api/chart/accessibilityModel#accessibilitydescription) - Provides a text description for the indicators, enhancing support for screen readers. -* [`accessibilityRole`](../api/chart/accessibilityModel#accessibilityrole) - Specifies the role of the indicators, helping screen readers to identify the element appropriately. -* [`focusable`](../api/chart/accessibilityModel#focusable) - Specifies whether indicators are focusable via keyboard navigation. -* [`tabIndex`](../api/chart/accessibilityModel#tabindex) - Specifies the tab order of the indicators element, enabling efficient keyboard navigation. +* [`accessibilityDescription`](../api/chart/accessibilityModel/#accessibilitydescription) - Provides a text description for the indicators, enhancing support for screen readers. +* [`accessibilityRole`](../api/chart/accessibilityModel/#accessibilityrole) - Specifies the role of the indicators, helping screen readers to identify the element appropriately. +* [`focusable`](../api/chart/accessibilityModel/#focusable) - Specifies whether indicators are focusable via keyboard navigation. +* [`tabIndex`](../api/chart/accessibilityModel/#tabindex) - Specifies the tab order of the indicators element, enabling efficient keyboard navigation. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -156,12 +157,12 @@ The [`indicators`](../api/chart#indicators) property allows you to analyze the t ## Legend -The [`legendSettings`](../api/chart#legendsettings) provide information about the series shown in the chart. The following [`accessibility`](../api/chart/legendSettingsModel#accessibility) properties in [`legendSettings`](../api/chart#legendsettings) can be used to alter the accessibility of the chart's legend: +The [`legendSettings`](../api/chart#legendsettings) provide information about the series shown in the chart. The following [`accessibility`](../api/chart/legendSettingsModel/#accessibility) properties in [`legendSettings`](../api/chart#legendsettings) can be used to alter the accessibility of the chart's legend: -* [`accessibilityDescription`](../api/chart/accessibilityModel#accessibilitydescription) - Provides a text description for the legend root element, enhancing support for screen readers. -* [`accessibilityRole`](../api/chart/accessibilityModel#accessibilityrole) - Specifies the role of the legend items to screen readers, providing appropriate context. -* [`focusable`](../api/chart/accessibilityModel#focusable) - Specifies whether legend items are focusable via keyboard navigation. -* [`tabIndex`](../api/chart/accessibilityModel#tabindex) - Specifies the tab order of the legend element, enabling efficient keyboard navigation. +* [`accessibilityDescription`](../api/chart/accessibilityModel/#accessibilitydescription) - Provides a text description for the legend root element, enhancing support for screen readers. +* [`accessibilityRole`](../api/chart/accessibilityModel/#accessibilityrole) - Specifies the role of the legend items to screen readers, providing appropriate context. +* [`focusable`](../api/chart/accessibilityModel/#focusable) - Specifies whether legend items are focusable via keyboard navigation. +* [`tabIndex`](../api/chart/accessibilityModel/#tabindex) - Specifies the tab order of the legend element, enabling efficient keyboard navigation. {% tabs %} {% highlight js tabtitle="index.js" %} diff --git a/chart-sdk/javascript/charts/how-to/add-series.md b/chart-sdk/javascript/charts/how-to/add-series.md index 2369b375f..313dbaa79 100644 --- a/chart-sdk/javascript/charts/how-to/add-series.md +++ b/chart-sdk/javascript/charts/how-to/add-series.md @@ -1,14 +1,15 @@ --- layout: post -title: How to add or remove series in JavaScript Charts | Syncfusion -description: Learn here all about Add series in Syncfusion JavaScript Charts of Syncfusion Essential JS 2 and more. +title: Add series in JavaScript Chart control | Syncfusion +description: Learn here all about Add series in Syncfusion JavaScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Chart +control: Add series +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# How to add or remove series in JavaScript Charts +# Add series in JavaScript Chart control You can add or remove the chart series dynamically by using the `addSeries` or `removeSeries` method. diff --git a/chart-sdk/javascript/charts/how-to/axis-hide.md b/chart-sdk/javascript/charts/how-to/axis-hide.md index 5eb5092fe..59da7aca4 100644 --- a/chart-sdk/javascript/charts/how-to/axis-hide.md +++ b/chart-sdk/javascript/charts/how-to/axis-hide.md @@ -1,16 +1,17 @@ --- layout: post -title: How to hide axis on legend click in JavaScript Charts | Syncfusion -description: Learn here all about Axis hide in Syncfusion JavaScript Charts of Syncfusion Essential JS 2 and more. +title: Axis hide in JavaScript Chart control | Syncfusion +description: Learn here all about Axis hide in Syncfusion JavaScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Chart +control: Axis hide +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# How to hide axis on legend click in JavaScript Charts +# Axis hide in JavaScript Chart control -By using the [`chartMouseClick`](../../api/chart/chartModel#chartmouseclick) event, you can hide the axis line through legend. +By using the [`chartMouseClick`](../../api/chart/chartModel/#chartmouseclick) event, you can hide the axis line through legend. To hide the axis line through legend click, follow the given steps: @@ -18,7 +19,7 @@ To hide the axis line through legend click, follow the given steps: Create a chart with multiple axes. -By using the [`chartMouseClick`](../../api/chart/chartModel#chartmousemove) event, you can get the legend's target ids. Using this event, you can also get the `yAxisName` of each axis, based on which you can hide the axis line when clicking the legend. +By using the [`chartMouseClick`](../../api/chart/chartModel/#chartmousemove) event, you can get the legend's target ids. Using this event, you can also get the `yAxisName` of each axis, based on which you can hide the axis line when clicking the legend. The following code sample demonstrates the output. diff --git a/chart-sdk/javascript/charts/how-to/clicked-data.md b/chart-sdk/javascript/charts/how-to/clicked-data.md index 1877de331..17de86b34 100644 --- a/chart-sdk/javascript/charts/how-to/clicked-data.md +++ b/chart-sdk/javascript/charts/how-to/clicked-data.md @@ -1,14 +1,15 @@ --- layout: post -title: How to get pie clicked data in JavaScript Charts | Syncfusion -description: Learn here all about Clicked data in Syncfusion JavaScript Charts of Syncfusion Essential JS 2 and more. +title: Clicked data in JavaScript Chart control | Syncfusion +description: Learn here all about Clicked data in Syncfusion JavaScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Chart +control: Clicked data +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# How to get pie clicked data in JavaScript Charts +# Clicked data in JavaScript Chart control By using the [`pointClick`](../../api/accumulation-chart#pointClick-emittypeIPointEventArgs) event, you can get the chart data of clicked area. diff --git a/chart-sdk/javascript/charts/how-to/data-label-template.md b/chart-sdk/javascript/charts/how-to/data-label-template.md index f5c9014d3..2cb63eb39 100644 --- a/chart-sdk/javascript/charts/how-to/data-label-template.md +++ b/chart-sdk/javascript/charts/how-to/data-label-template.md @@ -1,14 +1,15 @@ --- layout: post -title: How to use data label template in JavaScript Charts | Syncfusion -description: Learn here all about Data label template in Syncfusion JavaScript Charts of Syncfusion Essential JS 2 and more. +title: Data label template in JavaScript Chart control | Syncfusion +description: Learn here all about Data label template in Syncfusion JavaScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Chart +control: Data label template +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# How to use data label template in JavaScript Charts +# Data label template in JavaScript Chart control You can bind text and interior information for a point from dataSource other than x and y value. To change color for the background in the datalabel template, you can use `${point.text}`. diff --git a/chart-sdk/javascript/charts/how-to/dialog-chart.md b/chart-sdk/javascript/charts/how-to/dialog-chart.md index 9f6a938c3..24914d564 100644 --- a/chart-sdk/javascript/charts/how-to/dialog-chart.md +++ b/chart-sdk/javascript/charts/how-to/dialog-chart.md @@ -1,14 +1,15 @@ --- layout: post -title: How to show chart in dialog in JavaScript Charts | Syncfusion -description: Learn here all about Dialog chart in Syncfusion JavaScript Charts of Syncfusion Essential JS 2 and more. +title: Dialog chart in JavaScript Chart control | Syncfusion +description: Learn here all about Dialog chart in Syncfusion JavaScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Chart +control: Dialog chart +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# How to show chart in dialog in JavaScript Charts +# Dialog chart in JavaScript Chart control Using the `content` property of the dialog component, you can show the chart in dialog pop-up. diff --git a/chart-sdk/javascript/charts/how-to/dotted-line.md b/chart-sdk/javascript/charts/how-to/dotted-line.md index 14077d711..9a1ec406d 100644 --- a/chart-sdk/javascript/charts/how-to/dotted-line.md +++ b/chart-sdk/javascript/charts/how-to/dotted-line.md @@ -1,14 +1,15 @@ --- layout: post -title: How to add dotted line in JavaScript Charts | Syncfusion -description: Learn here all about Dotted line in Syncfusion JavaScript Charts of Syncfusion Essential JS 2 and more. +title: Dotted line in JavaScript Chart control | Syncfusion +description: Learn here all about Dotted line in Syncfusion JavaScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Chart +control: Dotted line +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# How to add dotted line in JavaScript Charts +# Dotted line in JavaScript Chart control By using `annotation`, you can add dotted lines in the chart. diff --git a/chart-sdk/javascript/charts/how-to/down-sampling.md b/chart-sdk/javascript/charts/how-to/down-sampling.md index 15575c005..5bb6d1224 100644 --- a/chart-sdk/javascript/charts/how-to/down-sampling.md +++ b/chart-sdk/javascript/charts/how-to/down-sampling.md @@ -1,20 +1,21 @@ --- layout: post -title: How to downsample data in JavaScript Charts | Syncfusion -description: Learn here all about Down sampling in Syncfusion JavaScript Charts of Syncfusion Essential JS 2 and more. +title: Down sampling in JavaScript Chart control | Syncfusion +description: Learn here all about Down sampling in Syncfusion JavaScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Chart +control: Down sampling +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# How to down sample data in JavaScript Charts +# Down sampling in JavaScript Chart control -Down sampling is the process of reducing the data rate. We have given a 2000 data points for chart. After applying down sampling algorithm, chart data points has been reduced and rendered with 400 data points. +Downsampling is the process of reducing the data rate. We have given a 2000 data points for chart. After applying downsampling algorithm, chart data points has been reduced and rendered with 400 data points. -Down sampling data using the "Largest-Triangle-Three-Buckets algorithm"[`LTTB`](https://gist.github.com/FraserChapman/649f1aba28f6bc941d5c) which describes the point in the bucket that forms the largest triangle using the area of the triangles. This helps to reducing the number of points. +Downsampling data using the "Largest-Triangle-Three-Buckets algorithm"[`LTTB`](https://bl.ocks.org/FraserChapman/649f1aba28f6bc941d5c) which describes the point in the bucket that forms the largest triangle using the area of the triangles. This helps to reducing the number of points. -In Down sampling when we perform zooming, particular level of zoomed chart we can see the chart clearly with original data, so we can use original data for that level of zooming. This can be achieved by [`zoomComplete`](../../api/chart#zoomcomplete) event. Refer the below sample for down sampling with zooming feature. +In Downsampling when we perform zooming, particular level of zoomed chart we can see the chart clearly with original data, so we can use original data for that level of zooming. This can be achieved by [`zoomComplete`](../../api/chart/#zoomcomplete) event. Refer the below sample for downsampling with zooming feature. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -26,8 +27,8 @@ In Down sampling when we perform zooming, particular level of zoomed chart we ca {% endtabs %} {% previewsample "https://help.syncfusion.com/code-snippet/chart-sdk/javascript/charts/chart-appearance-cs18" %} -**Before applying down sampling algorithm** -![Before applying down sampling algorithm](images/Before_downsampling.png) +**Before applying downsampling algorithm** +![Before applying downsampling algorithm](images/Before_downsampling.png) -**After applying down sampling algorithm** -![After applying down sampling algorithm](images/After_downsampling.png) +**After applying downsampling algorithm** +![After applying downsampling algorithm](images/After_downsampling.png) diff --git a/chart-sdk/javascript/charts/how-to/dynamic-chart.md b/chart-sdk/javascript/charts/how-to/dynamic-chart.md index 6d5131d9f..cdd3da7ac 100644 --- a/chart-sdk/javascript/charts/how-to/dynamic-chart.md +++ b/chart-sdk/javascript/charts/how-to/dynamic-chart.md @@ -1,14 +1,15 @@ --- layout: post -title: How to create a dynamic chart in JavaScript Charts | Syncfusion -description: Learn here all about Dynamic chart in Syncfusion JavaScript Charts of Syncfusion Essential JS 2 and more. +title: Dynamic chart in JavaScript Chart control | Syncfusion +description: Learn here all about Dynamic chart in Syncfusion JavaScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Chart +control: Dynamic chart +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# How to create a dynamic chart in JavaScript Charts +# Dynamic chart in JavaScript Chart control By using html button, you can add the chart dynamically when click the button. diff --git a/chart-sdk/javascript/charts/how-to/exact-date.md b/chart-sdk/javascript/charts/how-to/exact-date.md index a25e7967c..a97536ad9 100644 --- a/chart-sdk/javascript/charts/how-to/exact-date.md +++ b/chart-sdk/javascript/charts/how-to/exact-date.md @@ -1,14 +1,15 @@ --- layout: post -title: How to show exact date in JavaScript Charts | Syncfusion -description: Learn here all about Exact date in Syncfusion JavaScript Charts of Syncfusion Essential JS 2 and more. +title: Exact date in JavaScript Chart control | Syncfusion +description: Learn here all about Exact date in Syncfusion JavaScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Chart +control: Exact date +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# How to show exact date in JavaScript Charts +# Exact date in JavaScript Chart control By using button click you can show exact time or month after scrolling. Here we have changed `zooFactor` and `zoomPosition` based on time or month requirement. After scrolling you want show full month or full day data then you will customize the zoomFactor and zoomPosition of the chart and show exact time or month. diff --git a/chart-sdk/javascript/charts/how-to/footer.md b/chart-sdk/javascript/charts/how-to/footer.md index 27c53e82e..fcd5fd49e 100644 --- a/chart-sdk/javascript/charts/how-to/footer.md +++ b/chart-sdk/javascript/charts/how-to/footer.md @@ -1,14 +1,15 @@ --- layout: post -title: How to add footer and watermark in JavaScript Charts | Syncfusion -description: Learn how to add and customize footers in Syncfusion JavaScript Charts to provide additional context, annotations, and chart information. +title: Footer in JavaScript Chart control | Syncfusion +description: Learn here all about Footer in Syncfusion JavaScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Chart +control: Footer +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# How to add footer and watermark in JavaScript Charts +# Footer in JavaScript Chart control By using `annotation`, you can place any html elements to chart in a desired view. diff --git a/chart-sdk/javascript/charts/how-to/grid-data-chart.md b/chart-sdk/javascript/charts/how-to/grid-data-chart.md index b6fceceb3..a1a0f0086 100644 --- a/chart-sdk/javascript/charts/how-to/grid-data-chart.md +++ b/chart-sdk/javascript/charts/how-to/grid-data-chart.md @@ -1,14 +1,15 @@ --- layout: post -title: How to visualize grid records in JavaScript Charts | Syncfusion -description: Learn here all about Grid data chart in Syncfusion JavaScript Charts of Syncfusion Essential JS 2 and more. +title: Grid data chart in JavaScript Chart control | Syncfusion +description: Learn here all about Grid data chart in Syncfusion JavaScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Chart +control: Grid data chart +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# How to visualize grid records in JavaScript Charts +# Grid data chart in JavaScript Chart control You can visualize the data that returned by grid in chart. @@ -22,7 +23,7 @@ Initialize the grid with datasource. By using the grid’s `actionComplete` event and `getCurrentViewRecords` method, you can get the current page records. -By using the grid’s [`dataBound`](https://ej2.syncfusion.com/documentation/api/grid/index-default#databound) event, you can update the current page records into the chart’s datasource and visualize the grid data in chart. +By using the grid’s `databound` event, you can update the current page records into the chart’s datasource and visualize the grid data in chart. {% tabs %} {% highlight js tabtitle="index.js" %} diff --git a/chart-sdk/javascript/charts/how-to/grid-data-pie.md b/chart-sdk/javascript/charts/how-to/grid-data-pie.md index 2947904e1..dd22ce76b 100644 --- a/chart-sdk/javascript/charts/how-to/grid-data-pie.md +++ b/chart-sdk/javascript/charts/how-to/grid-data-pie.md @@ -1,14 +1,15 @@ --- layout: post -title: Visualize Grid Records in JavaScript Pie Chart | Syncfusion -description: Learn here all about Grid data pie in Syncfusion JavaScript Charts of Syncfusion Essential JS 2 and more. +title: Grid data pie in JavaScript Chart control | Syncfusion +description: Learn here all about Grid data pie in Syncfusion JavaScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Chart +control: Grid data pie +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# How to visualize grid records in pie chart in JavaScript Charts +# Grid data pie in JavaScript Chart control You can visualize the filtered data that returned by grid in pie chart. @@ -20,7 +21,7 @@ Initialize the grid with datasource. **Step 2**: -By using the grid’s `actionComplete` event and `getCurrentViewRecords` method, you can get the current page records. By setting `allowFiltering` value as `true`, you can filter the data. By using the grid’s [`dataBound`](https://ej2.syncfusion.com/documentation/api/grid/index-default#databound) event, you can update the current page filtered records into the chart’s datasource and display the grid filtered data in chart. +By using the grid’s `actionComplete` event and `getCurrentViewRecords` method, you can get the current page records. By setting `allowFiltering` value as `true`, you can filter the data. By using the grid’s `databound` event, you can update the current page filtered records into the chart’s datasource and display the grid filtered data in chart. {% tabs %} {% highlight js tabtitle="index.js" %} diff --git a/chart-sdk/javascript/charts/how-to/hide-tool-tip.md b/chart-sdk/javascript/charts/how-to/hide-tool-tip.md index acd634861..210070625 100644 --- a/chart-sdk/javascript/charts/how-to/hide-tool-tip.md +++ b/chart-sdk/javascript/charts/how-to/hide-tool-tip.md @@ -1,22 +1,23 @@ --- layout: post -title: How to hide tooltip in JavaScript Charts | Syncfusion -description: Learn here all about Hide tool tip in Syncfusion JavaScript Charts of Syncfusion Essential JS 2 and more. +title: Hide tool tip in JavaScript Chart control | Syncfusion +description: Learn here all about Hide tool tip in Syncfusion JavaScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Chart +control: Hide tool tip +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# How to hide tooltip in JavaScript Charts +# Hide tool tip in JavaScript Chart control -By using the [`tooltipRender`](../../api/chart/chartModel#tooltiprender) event, you can cancel the tooltip for unselected series in the chart. +By using the [`tooltipRender`](../../api/chart/chartModel/#tooltiprender) event, you can cancel the tooltip for unselected series in the chart. To hide the tooltip value in unselected series, follow the given steps: **Step 1**: -By using the [`tooltipRender`](../../api/chart/chartModel#tooltiprender) event, you can get the series elements in the arguments. By using this argument we can compare whether series Element class list is deselected container or not. If it is true then we cancel the tooltip by setting the value for `args.cancel` as `true`. +By using the [`tooltipRender`](../../api/chart/chartModel/#tooltiprender) event, you can get the series elements in the arguments. By using this argument we can compare whether seriesElementclasslist is deselected container or not. If it is true then we cancel the tooltip by setting the value for `args.cancel` as `true`. {% tabs %} {% highlight js tabtitle="index.js" %} diff --git a/chart-sdk/javascript/charts/how-to/initial-scrollbar.md b/chart-sdk/javascript/charts/how-to/initial-scrollbar.md index c58f1502c..d6e541ae2 100644 --- a/chart-sdk/javascript/charts/how-to/initial-scrollbar.md +++ b/chart-sdk/javascript/charts/how-to/initial-scrollbar.md @@ -1,16 +1,17 @@ --- layout: post -title: How to enable initial scrollbar in JavaScript Charts | Syncfusion -description: Learn here all about Initial scrollbar in Syncfusion JavaScript Charts of Syncfusion Essential JS 2 and more. +title: Initial scrollbar in JavaScript Chart control | Syncfusion +description: Learn here all about Initial scrollbar in Syncfusion JavaScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Chart +control: Initial scrollbar +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# How to enable initial scrollbar in JavaScript Charts +# Initial scrollbar in JavaScript Chart control -By setting `zoomFactor` in primaryXAxis and `isZoomed` value as `true` in [`load`](../../api/chart/chartModel#load) event and `enableScrollbar` value as `true` in`zoomSettings`, you can make the scrollbar visible in initial rendering of chart. +By setting `zoomFactor` in primaryXAxis and `isZoomed` value as `true` in [`load`](../../api/chart/chartModel/#load) event and `enableScrollbar` value as `true` in`zoomSettings`, you can make the scrollbar visible in initial rendering of chart. {% tabs %} {% highlight js tabtitle="index.js" %} diff --git a/chart-sdk/javascript/charts/how-to/legend-customization.md b/chart-sdk/javascript/charts/how-to/legend-customization.md index 29558283b..ec28248c0 100644 --- a/chart-sdk/javascript/charts/how-to/legend-customization.md +++ b/chart-sdk/javascript/charts/how-to/legend-customization.md @@ -1,22 +1,23 @@ --- layout: post -title: How to customize legend in JavaScript Charts | Syncfusion -description: Learn here all about Legend customization in Syncfusion JavaScript Charts of Syncfusion Essential JS 2 and more. +title: Legend customization in JavaScript Chart control | Syncfusion +description: Learn here all about Legend customization in Syncfusion JavaScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Chart +control: Legend customization +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# How to customize legend in JavaScript Charts +# Legend customization in JavaScript Chart control -By using the [`legendRender`](../../api/chart/chartModel#legendrender), you can customize the legend shape. +By using the [`legendRender`](../../api/chart/chartModel/#legendrender), you can customize the legend shape. To Customize the legend shape, follow the given steps: **Step 1**: -Set the shape value for each legend using `args.shape` in [`legendRender`](../../api/chart/chartModel#legendrender) event. +Set the shape value for each legend using `args.shape` in [`legendRender`](../../api/chart/chartModel/#legendrender) event. {% tabs %} {% highlight js tabtitle="index.js" %} diff --git a/chart-sdk/javascript/charts/how-to/legend-in-table.md b/chart-sdk/javascript/charts/how-to/legend-in-table.md index 58da57c27..763de1835 100644 --- a/chart-sdk/javascript/charts/how-to/legend-in-table.md +++ b/chart-sdk/javascript/charts/how-to/legend-in-table.md @@ -1,14 +1,15 @@ --- layout: post -title: How to add legend in table in table in JavaScript Charts | Syncfusion -description: Learn here all about Legend in table in Syncfusion JavaScript Charts of Syncfusion Essential JS 2 and more. +title: Legend in table in JavaScript Chart control | Syncfusion +description: Learn here all about Legend in table in Syncfusion JavaScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Chart +control: Legend in table +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# How to add legend in table in table in JavaScript Charts +# Legend in table in JavaScript Chart control The `annotation` property is used to add legend in table and the `multiLevelLabels` property is used to customize the axis label in table format. diff --git a/chart-sdk/javascript/charts/how-to/live-chart.md b/chart-sdk/javascript/charts/how-to/live-chart.md index 3247dd9dc..285d90732 100644 --- a/chart-sdk/javascript/charts/how-to/live-chart.md +++ b/chart-sdk/javascript/charts/how-to/live-chart.md @@ -1,14 +1,15 @@ --- layout: post -title: How to create a live chart in JavaScript Charts | Syncfusion -description: Learn here all about Live chart in Syncfusion JavaScript Charts of Syncfusion Essential JS 2 and more. +title: Live chart in JavaScript Chart control | Syncfusion +description: Learn here all about Live chart in Syncfusion JavaScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Chart +control: Live chart +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# How to create a live chart in JavaScript Charts +# Live chart in JavaScript Chart control You can update a chart with live data by using the set interval. diff --git a/chart-sdk/javascript/charts/how-to/marker-customization.md b/chart-sdk/javascript/charts/how-to/marker-customization.md index 0844c1048..554f3a0b0 100644 --- a/chart-sdk/javascript/charts/how-to/marker-customization.md +++ b/chart-sdk/javascript/charts/how-to/marker-customization.md @@ -1,22 +1,23 @@ --- layout: post -title: How to customize markers in JavaScript Charts | Syncfusion -description: Learn here all about Marker customization in Syncfusion JavaScript Charts of Syncfusion Essential JS 2 and more. +title: Marker customization in JavaScript Chart control | Syncfusion +description: Learn here all about Marker customization in Syncfusion JavaScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Chart +control: Marker customization +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# How to customize markers in JavaScript Charts +# Marker customization in JavaScript Chart control -By using the [`pointRender`](../../api/chart/chartModel#pointrender), you can customize the marker shape. +By using the [`pointRender`](../../api/chart/chartModel/#pointrender), you can customize the marker shape. To Customize the marker shape, follow the given steps: **Step 1**: -Customize the marker shape in each data point by using the [`pointRender`](../../api/chart/chartModel#pointrender) event. Using this event, you can set the `shape` value to the argument. +Customize the marker shape in each data point by using the [`pointRender`](../../api/chart/chartModel/#pointrender) event. Using this event, you can set the `shape` value to the argument. {% tabs %} {% highlight js tabtitle="index.js" %} diff --git a/chart-sdk/javascript/charts/how-to/percentage-tool-tip.md b/chart-sdk/javascript/charts/how-to/percentage-tool-tip.md index ce0c221ea..c7d046d31 100644 --- a/chart-sdk/javascript/charts/how-to/percentage-tool-tip.md +++ b/chart-sdk/javascript/charts/how-to/percentage-tool-tip.md @@ -1,22 +1,23 @@ --- layout: post -title: Show pie percentage in tooltip in JavaScript Charts | Syncfusion -description: Learn here all about Percentage tool tip in Syncfusion JavaScript Charts of Syncfusion Essential JS 2 and more. +title: Percentage tool tip in JavaScript Chart control | Syncfusion +description: Learn here all about Percentage tool tip in Syncfusion JavaScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Chart +control: Percentage tool tip +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# How to show pie percentage in tooltip in JavaScript Charts +# Percentage tool tip in JavaScript Chart control -By using the [`tooltipRender`](../../api/accumulation-chart/accumulationChartModel#tooltiprender) event, you can show the percentage value for each point of pie series in tooltip. +By using the [`tooltipRender`](../../api/accumulation-chart/accumulationChartModel/#tooltiprender) event, you can show the percentage value for each point of pie series in tooltip. To show the percentage value in pie tooltip, follow the given steps: **Step 1**: -By using the [`tooltipRender`](../../api/accumulation-chart/accumulationChartModel#tooltiprender) event, you can get the `args.point.y` and `args.series.sumOfPoints` values. You can use these values to calculate the percentage value for each point of pie series. To display the percentage value in tooltip, use the `args.content` property. +By using the [`tooltipRender`](../../api/accumulation-chart/accumulationChartModel/#tooltiprender) event, you can get the `args.point.y` and `args.series.sumOfPoints` values. You can use these values to calculate the percentage value for each point of pie series. To display the percentage value in tooltip, use the `args.content` property. {% tabs %} {% highlight js tabtitle="index.js" %} diff --git a/chart-sdk/javascript/charts/how-to/points-customization.md b/chart-sdk/javascript/charts/how-to/points-customization.md index 544963ee4..3bad5d14b 100644 --- a/chart-sdk/javascript/charts/how-to/points-customization.md +++ b/chart-sdk/javascript/charts/how-to/points-customization.md @@ -1,14 +1,15 @@ --- layout: post -title: How to customize points in JavaScript Charts | Syncfusion -description: Learn here all about Points customization in Syncfusion JavaScript Charts of Syncfusion Essential JS 2 and more. +title: Points customization in JavaScript Chart control | Syncfusion +description: Learn here all about Points customization in Syncfusion JavaScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Chart +control: Points customization +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# How to customize points in JavaScript Charts +# Points customization in JavaScript Chart control You can customize the series points with patterns by using the `pointColorMapping` property. diff --git a/chart-sdk/javascript/charts/how-to/prevent-data-label.md b/chart-sdk/javascript/charts/how-to/prevent-data-label.md index 3872b17ef..d1fc6ee06 100644 --- a/chart-sdk/javascript/charts/how-to/prevent-data-label.md +++ b/chart-sdk/javascript/charts/how-to/prevent-data-label.md @@ -1,20 +1,21 @@ --- layout: post -title: How to prevent data label in JavaScript Charts | Syncfusion -description: Learn here all about Prevent data label in Syncfusion JavaScript Charts of Syncfusion Essential JS 2 and more. +title: Prevent data label in JavaScript Chart control | Syncfusion +description: Learn here all about Prevent data label in Syncfusion JavaScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Chart +control: Prevent data label +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# How to prevent data label in JavaScript Charts +# Prevent data label in JavaScript Chart control To prevent the chart data label when the data value is 0, follow the given steps: **Step 1**: -Get the point value and check whether the `args.point.y` value is zero or not by using the [`textRender`](../../api/chart/chartModel#textrender) event. If the value is zero, then set the `args.cancel` to true. +Get the point value and check whether the `args.point.y` value is zero or not by using the [`textRender`](../../api/chart/chartModel/#textrender) event. If the value is zero, then set the `args.cancel` to true. The output will appear as follows, diff --git a/chart-sdk/javascript/charts/how-to/selected-data-grid.md b/chart-sdk/javascript/charts/how-to/selected-data-grid.md index 0992be4bd..d0b7262c9 100644 --- a/chart-sdk/javascript/charts/how-to/selected-data-grid.md +++ b/chart-sdk/javascript/charts/how-to/selected-data-grid.md @@ -1,22 +1,23 @@ --- layout: post -title: How to display selected data in JavaScript Charts | Syncfusion -description: Learn here all about Selected data grid in Syncfusion JavaScript Charts of Syncfusion Essential JS 2 and more. +title: Selected data grid in JavaScript Chart control | Syncfusion +description: Learn here all about Selected data grid in Syncfusion JavaScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Chart +control: Selected data grid +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# How to display selected data in JavaScript Charts +# Selected data grid in JavaScript Chart control -By using the [`dragComplete`](../../api/chart/chartModel#dragcomplete), you can get the selected data values for range selection. +By using the [`dragComplete`](../../api/chart/chartModel/#dragcomplete), you can get the selected data values for range selection. To display the selected data value, follow the given steps: **Step 1**: -Get the selected data point values and display the values through grid component by using the [`dragComplete`](../../api/chart/chartModel#dragcomplete) event. +Get the selected data point values and display the values through grid component by using the [`dragComplete`](../../api/chart/chartModel/#dragcomplete) event. {% tabs %} {% highlight js tabtitle="index.js" %} diff --git a/chart-sdk/javascript/charts/how-to/series-visible.md b/chart-sdk/javascript/charts/how-to/series-visible.md index 1032ca4b0..b7e0648bc 100644 --- a/chart-sdk/javascript/charts/how-to/series-visible.md +++ b/chart-sdk/javascript/charts/how-to/series-visible.md @@ -1,14 +1,15 @@ --- layout: post -title: How to show series on legend click in JavaScript Charts | Syncfusion -description: Learn here all about Series visible in Syncfusion JavaScript Charts of Syncfusion Essential JS 2 and more. +title: Series visible in JavaScript Chart control | Syncfusion +description: Learn here all about Series visible in Syncfusion JavaScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Chart +control: Series visible +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# How to show series on legend click in JavaScript Charts +# Series visible in JavaScript Chart control By using the `chartMouseClick` event, you can show the series based on respective legend click. In this event, you can get the legend target id, using which you can get the current series index. Based on the index, you can set value of `visible` to `true` or `false`. diff --git a/chart-sdk/javascript/charts/how-to/stacking-total.md b/chart-sdk/javascript/charts/how-to/stacking-total.md index 88ba9e0ea..220474a1c 100644 --- a/chart-sdk/javascript/charts/how-to/stacking-total.md +++ b/chart-sdk/javascript/charts/how-to/stacking-total.md @@ -1,14 +1,15 @@ --- layout: post -title: How to display stacking series total in JavaScript Charts | Syncfusion -description: Learn here all about Stacking total in Syncfusion JavaScript Charts of Syncfusion Essential JS 2 and more. +title: Stacking total in JavaScript Chart control | Syncfusion +description: Learn here all about Stacking total in Syncfusion JavaScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Chart +control: Stacking total +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# How to display stacking series total in JavaScript Charts +# Stacking total in JavaScript Chart control By using the `annotation`, you can show any element in desired view. @@ -16,7 +17,7 @@ To show the total value in data points, follow the given steps: **Step 1**: -Define annotation for each x point in chart, now change the annotation value in chart by using the [`annotationRender`](../../api/chart/chartModel#annotationrender) event. In this event, assign the stacked value of the last series to the annotation to show the total value of the +Define annotation for each x point in chart, now change the annotation value in chart by using the [`annotationRender`](../../api/chart/chartModel/#annotationrender) event. In this event, assign the stacked value of the last series to the annotation to show the total value of the stacking series. {% tabs %} diff --git a/chart-sdk/javascript/charts/how-to/syn-pan.md b/chart-sdk/javascript/charts/how-to/syn-pan.md index 5b05408c7..29d73083d 100644 --- a/chart-sdk/javascript/charts/how-to/syn-pan.md +++ b/chart-sdk/javascript/charts/how-to/syn-pan.md @@ -1,16 +1,17 @@ --- layout: post -title: How to synchronize panning in JavaScript Charts | Syncfusion -description: Learn how to use synchronized panning in Syncfusion JavaScript Charts to navigate multiple charts together and compare data efficiently. +title: Syn pan in JavaScript Chart control | Syncfusion +description: Learn here all about Syn pan in Syncfusion JavaScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Chart +control: Syn pan +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# How to synchronize panning in JavaScript Charts +# Syn pan in JavaScript Chart control -Using the [`chartMouseMove`](../../api/chart/chartModel#chartmousemove) event, you can achieve the synchronized panning between multiple charts. +Using the [`chartMouseMove`](../../api/chart/chartModel/#chartmousemove) event, you can achieve the synchronized panning between multiple charts. To make a synchronized panning chart, follow the given steps: @@ -18,7 +19,7 @@ To make a synchronized panning chart, follow the given steps: Initially create two charts, and enable `zoomSettings` for both charts. -To use the [`chartMouseMove`](../../api/chart/chartModel#chartmousemove) event, assign the first chart's `zoomFactor` and `zoomPosition` values to the second chart. Now, pan the first zoomed chart, and then the second chart will be panned automatically based on `zoomFactor` and `zoomPosition`. +To use the [`chartMouseMove`](../../api/chart/chartModel/#chartmousemove) event, assign the first chart's `zoomFactor` and `zoomPosition` values to the second chart. Now, pan the first zoomed chart, and then the second chart will be panned automatically based on `zoomFactor` and `zoomPosition`. The following code sample demonstrates the output. diff --git a/chart-sdk/javascript/charts/how-to/threshold.md b/chart-sdk/javascript/charts/how-to/threshold.md index a741f2253..65e7a8521 100644 --- a/chart-sdk/javascript/charts/how-to/threshold.md +++ b/chart-sdk/javascript/charts/how-to/threshold.md @@ -1,14 +1,15 @@ --- layout: post -title: How to add threshold in JavaScript Charts | Syncfusion -description: Learn here all about Threshold in Syncfusion JavaScript Charts of Syncfusion Essential JS 2 and more. +title: Threshold in JavaScript Chart control | Syncfusion +description: Learn here all about Threshold in Syncfusion JavaScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Chart +control: Threshold +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# How to add threshold in JavaScript Charts +# Threshold in JavaScript Chart control You can mark a threshold in chart by using the `stripline`. diff --git a/chart-sdk/javascript/charts/how-to/tool-tip-format.md b/chart-sdk/javascript/charts/how-to/tool-tip-format.md index faacb9bfd..e9bafb9ec 100644 --- a/chart-sdk/javascript/charts/how-to/tool-tip-format.md +++ b/chart-sdk/javascript/charts/how-to/tool-tip-format.md @@ -1,22 +1,23 @@ --- layout: post -title: How to format tooltip in JavaScript Charts | Syncfusion -description: Learn here all about Tool tip format in Syncfusion JavaScript Charts of Syncfusion Essential JS 2 and more. +title: Tool tip format in JavaScript Chart control | Syncfusion +description: Learn here all about Tool tip format in Syncfusion JavaScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Chart +control: Tool tip format +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# How to format tooltip in JavaScript Charts +# Tool tip format in JavaScript Chart control -Using [`tooltipRender`](../../api/chart/chartModel#tooltiprender) event, you can able to format the datetime value instead of rendered value. +Using [`tooltipRender`](../../api/chart/chartModel/#tooltiprender) event, you can able to format the datetime value instead of rendered value. To format the datetime value,please follow the steps below **Step 1**: -By using [`tooltipRender`](../../api/chart/chartModel#tooltiprender) event we can able to get the current point x value. Using this value to format the tooltip by using `formatDate` method. +By using [`tooltipRender`](../../api/chart/chartModel/#tooltiprender) event we can able to get the current point x value. Using this value to format the tooltip by using `formatDate` method. The output will appear as follows, diff --git a/chart-sdk/javascript/charts/how-to/tool-tip-table.md b/chart-sdk/javascript/charts/how-to/tool-tip-table.md index 99cf5ab72..2a4041114 100644 --- a/chart-sdk/javascript/charts/how-to/tool-tip-table.md +++ b/chart-sdk/javascript/charts/how-to/tool-tip-table.md @@ -1,14 +1,15 @@ --- layout: post -title: How to show table in tooltip in JavaScript Charts | Syncfusion -description: Learn here all about Tool tip table in Syncfusion JavaScript Charts of Syncfusion Essential JS 2 and more. +title: Tool tip table in JavaScript Chart control | Syncfusion +description: Learn here all about Tool tip table in Syncfusion JavaScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Chart +control: Tool tip table +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# How to show table in tooltip in JavaScript Charts +# Tool tip table in JavaScript Chart control You can show the tooltip as table by using template property in tooltip. diff --git a/chart-sdk/javascript/circular-gauge/accessibility.md b/chart-sdk/javascript/circular-gauge/accessibility.md index 313020d12..188b838f0 100644 --- a/chart-sdk/javascript/circular-gauge/accessibility.md +++ b/chart-sdk/javascript/circular-gauge/accessibility.md @@ -1,15 +1,16 @@ --- layout: post -title: Accessibility in JavaScript Circular Gauge | Syncfusion -description: Learn here all about Accessibility in Syncfusion JavaScript Circular Gauge of Syncfusion Essential JS 2 and more. +title: Accessibility in JavaScript Circular gauge control | Syncfusion +description: Learn here all about Accessibility in Syncfusion JavaScript Circular gauge control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Circular Gauge +control: Accessibility +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Accessibility in JavaScript Circular Gauge +# Accessibility in JavaScript Circular gauge control The Circular Gauge control follows commonly used accessibility guidelines and standards, such as [ADA](https://www.ada.gov/), [Section 508](https://www.section508.gov/), [WCAG 2.2](https://www.w3.org/TR/WCAG22/) standards, and [WCAG roles](https://www.w3.org/TR/wai-aria/#roles). diff --git a/chart-sdk/javascript/circular-gauge/ej1-api-migration.md b/chart-sdk/javascript/circular-gauge/ej1-api-migration.md index d02c29ee8..49082b837 100644 --- a/chart-sdk/javascript/circular-gauge/ej1-api-migration.md +++ b/chart-sdk/javascript/circular-gauge/ej1-api-migration.md @@ -1,14 +1,15 @@ --- layout: post -title: Ej1 api migration in JavaScript Circular Gauge | Syncfusion -description: Learn here all about Ej1 api migration in Syncfusion JavaScript Circular Gauge of Syncfusion Essential JS 2 and more. +title: Ej1 api migration in JavaScript Circular gauge control | Syncfusion +description: Learn here all about Ej1 api migration in Syncfusion JavaScript Circular gauge control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Circular Gauge +control: Ej1 api migration +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Ej1 api migration in JavaScript Circular Gauge +# Ej1 api migration in JavaScript Circular gauge control This article describes the API migration process of Accordion component from Essential® JS 1 to Essential® JS 2. diff --git a/chart-sdk/javascript/circular-gauge/es5-getting-started.md b/chart-sdk/javascript/circular-gauge/es5-getting-started.md index 349ea73cf..e20f124b4 100644 --- a/chart-sdk/javascript/circular-gauge/es5-getting-started.md +++ b/chart-sdk/javascript/circular-gauge/es5-getting-started.md @@ -1,14 +1,15 @@ --- layout: post -title: ES5 getting started with JavaScript Circular Gauge | Syncfusion +title: ES5 getting started with JavaScript Circular Gauge control | Syncfusion description: Create and configure your first Syncfusion JavaScript ES5 Circular Gauge using CDN resources, sample data, and pointer settings. platform: chart-sdk control: Circular Gauge +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Getting Started with Syncfusion® JavaScript (ES5) Circular Gauge +# Getting Started with Syncfusion® JavaScript (ES5) Circular Gauge Control Build your first Syncfusion JavaScript (ES5) application with a simple Circular Gauge in just a few minutes. This quickstart guides you through creating a minimal, runnable HTML page that loads the Syncfusion EJ2 Circular Gauge control from the CDN, initializes it, and displays a pointer value. diff --git a/chart-sdk/javascript/circular-gauge/gauge-animation.md b/chart-sdk/javascript/circular-gauge/gauge-animation.md index f7002fa79..9966be059 100644 --- a/chart-sdk/javascript/circular-gauge/gauge-animation.md +++ b/chart-sdk/javascript/circular-gauge/gauge-animation.md @@ -4,6 +4,7 @@ title: Animation in JavaScript Circular Gauge control | Syncfusion description: Learn here all about animation in the Syncfusion JavaScript Circular Gauge control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Circular Gauge +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- diff --git a/chart-sdk/javascript/circular-gauge/gauge-annotations.md b/chart-sdk/javascript/circular-gauge/gauge-annotations.md index 91d5061d8..133a6a1a7 100644 --- a/chart-sdk/javascript/circular-gauge/gauge-annotations.md +++ b/chart-sdk/javascript/circular-gauge/gauge-annotations.md @@ -1,20 +1,21 @@ --- layout: post -title: Annotations in JavaScript Circular Gauge | Syncfusion -description: Learn here all about Gauge annotations in Syncfusion JavaScript Circular Gauge of Syncfusion Essential JS 2 and more. +title: Gauge annotations in JavaScript Circular gauge control | Syncfusion +description: Learn here all about Gauge annotations in Syncfusion JavaScript Circular gauge control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Circular Gauge +control: Gauge annotations +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Annotations in JavaScript Circular Gauge +# Gauge annotations in JavaScript Circular gauge control Annotations are used to mark a specific area of interest in the gauge with texts, shapes or images. ## Content -You can place any custom element on the axis area by assigning the id of the element to [`content`](../api/circular-gauge/annotation#content-string) property of [`annotation`](../api/circular-gauge/annotation) object. +You can place any custom element on the axis area by assigning the id of the element to [`content`](../api/circular-gauge/annotation/#content-string) property of [`annotation`](../api/circular-gauge/annotation) object. >Note: To use annotation feature, we need to inject `Annotations` module using `CircularGauge.Inject(Annotations)` method. @@ -31,7 +32,7 @@ You can place any custom element on the axis area by assigning the id of the ele ## Position -Annotation can be placed around the axis by using [`radius`](../api/circular-gauge/annotation#radius-string) and [`angle`](../api/circular-gauge/annotation#angle-number) property. +Annotation can be placed around the axis by using [`radius`](../api/circular-gauge/annotation/#radius-string) and [`angle`](../api/circular-gauge/annotation/#angle-number) property. For example, if the angle is 90 degree and the radius is 110%, then the annotation, will be placed at the right side of the axis. Radius of the annotation takes value either in pixel or percentage. By setting value in percentage, annotation gets its position with respect to its axis radius. @@ -64,4 +65,4 @@ As the annotation allows you to place any custom element, we can initialize a ga ## See also -* [Tooltip for Annotation](https://ej2.syncfusion.com/documentation/circular-gauge/gauge-user-interaction#tooltip-for-annotation) \ No newline at end of file +* [Tooltip for Annotation](https://ej2.syncfusion.com/documentation/circular-gauge/gauge-user-interaction/#tooltip-for-annotation) \ No newline at end of file diff --git a/chart-sdk/javascript/circular-gauge/gauge-appearance.md b/chart-sdk/javascript/circular-gauge/gauge-appearance.md index 18a65db56..e7dc5a2ef 100644 --- a/chart-sdk/javascript/circular-gauge/gauge-appearance.md +++ b/chart-sdk/javascript/circular-gauge/gauge-appearance.md @@ -1,19 +1,20 @@ --- layout: post -title: Appearance in JavaScript Circular Gauge | Syncfusion -description: Learn here all about Gauge appearance in Syncfusion JavaScript Circular Gauge of Syncfusion Essential JS 2 and more. +title: Gauge appearance in JavaScript Circular gauge control | Syncfusion +description: Learn here all about Gauge appearance in Syncfusion JavaScript Circular gauge control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Circular Gauge +control: Gauge appearance +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Appearance in JavaScript Circular Gauge +# Gauge appearance in JavaScript Circular gauge control ## Gauge Title -Circular gauge can be given a title by using [`title`](../api/circular-gauge#title-string) property, to show the information about the gauge. -Title can be customized by using [`titleStyle`](../api/circular-gauge#titlestyle-fontmodel) property in gauge. +Circular gauge can be given a title by using [`title`](../api/circular-gauge/#title-string) property, to show the information about the gauge. +Title can be customized by using [`titleStyle`](../api/circular-gauge/#titlestyle-fontmodel) property in gauge. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -28,9 +29,9 @@ Title can be customized by using [`titleStyle`](../api/circular-gauge#titlestyle ## Gauge Position -Gauge can be positioned anywhere in the container with the help of [`centerX`](../api/circular-gauge#centerx-string) and [`centerY`](../api/circular-gauge#centery-string) property and it accepts values either in percentage or in pixels. -The default value of the [`centerX`](../api/circular-gauge#centerx-string) and -[`centerY`](../api/circular-gauge#centery-string) property is 50%, which means gauge will get rendered to the centre of the container. +Gauge can be positioned anywhere in the container with the help of [`centerX`](../api/circular-gauge/#centerx-string) and [`centerY`](../api/circular-gauge/#centery-string) property and it accepts values either in percentage or in pixels. +The default value of the [`centerX`](../api/circular-gauge/#centerx-string) and +[`centerY`](../api/circular-gauge/#centery-string) property is 50%, which means gauge will get rendered to the centre of the container. **In Pixel** @@ -50,7 +51,7 @@ You can set the mid point of the gauge in pixel as demonstrated below, **In Percentage** By setting the value in percentage, gauge gets its mid point with respect to its plot area. -For example, when the [`centerX`](../api/circular-gauge#centerx-string) value as '0%' and [`centerY`](../api/circular-gauge#centery-string) value is ‘50%’, gauge will get positioned at the top left corner of the plot area. +For example, when the [`centerX`](../api/circular-gauge/#centerx-string) value as '0%' and [`centerY`](../api/circular-gauge/#centery-string) value is ‘50%’, gauge will get positioned at the top left corner of the plot area. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -67,7 +68,7 @@ For example, when the [`centerX`](../api/circular-gauge#centerx-string) value as **Customize the gauge background** -Using [`background`](../api/circular-gauge#background-string) and [`border`](../api/circular-gauge#border-bordermodel) properties, you can change the background color and border of the circular gauge. +Using [`background`](../api/circular-gauge/#background-string) and [`border`](../api/circular-gauge/#border-bordermodel) properties, you can change the background color and border of the circular gauge. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -82,7 +83,7 @@ Using [`background`](../api/circular-gauge#background-string) and [`border`](../ **Gauge Margin** -You can set margin for gauge from its container through [`margin`](../api/circular-gauge#margin-marginmodel) property. +You can set margin for gauge from its container through [`margin`](../api/circular-gauge/#margin-marginmodel) property. {% tabs %} {% highlight js tabtitle="index.js" %} diff --git a/chart-sdk/javascript/circular-gauge/gauge-axes.md b/chart-sdk/javascript/circular-gauge/gauge-axes.md index e8013f376..be71949c9 100644 --- a/chart-sdk/javascript/circular-gauge/gauge-axes.md +++ b/chart-sdk/javascript/circular-gauge/gauge-axes.md @@ -1,21 +1,22 @@ --- layout: post -title: Axes in JavaScript Circular Gauge | Syncfusion -description: Learn here all about Gauge axes in Syncfusion JavaScript Circular Gauge of Syncfusion Essential JS 2 and more. +title: Gauge axes in JavaScript Circular gauge control | Syncfusion +description: Learn here all about Gauge axes in Syncfusion JavaScript Circular gauge control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Circular Gauge +control: Gauge axes +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Axes in JavaScript Circular Gauge +# Gauge axes in JavaScript Circular gauge control By default, gauge will be displayed with an axis. Each axis contains its own ranges, pointers and annotation. ## Axis Customization You can customize the width and color of an axis line by using [`lineStyle`](../api/circular-gauge/line) property. -Background for an axis can be customized by using [`background`](../api/circular-gauge/axis#background-string) +Background for an axis can be customized by using [`background`](../api/circular-gauge/axis/#background-string) property. {% tabs %} @@ -31,7 +32,7 @@ property. ## Angles and Direction -Circular gauge axis can sweep from 0 to 360 degrees. By default start angle of an axis is 200 degree and end angle is 160 degree and you can customize this option by using [`startAngle`](../api/circular-gauge/axis#startangle-number) and [`endAngle`](../api/circular-gauge/axis#endangle-number) +Circular gauge axis can sweep from 0 to 360 degrees. By default start angle of an axis is 200 degree and end angle is 160 degree and you can customize this option by using [`startAngle`](../api/circular-gauge/axis/#startangle-number) and [`endAngle`](../api/circular-gauge/axis/#endangle-number) property. {% tabs %} @@ -45,7 +46,7 @@ property. {% previewsample "https://help.syncfusion.com/code-snippet/chart-sdk/javascript/circular-gauge/gauge-axes-cs2" %} -The [`direction`](../api/circular-gauge/axis#direction-string) property enables you to render the gauge axis either in `ClockWise` or in `AntiClockWise` direction. +The [`direction`](../api/circular-gauge/axis/#direction-string) property enables you to render the gauge axis either in `ClockWise` or in `AntiClockWise` direction. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -61,7 +62,7 @@ The [`direction`](../api/circular-gauge/axis#direction-string) property enables ## Axis Radius By default, radius of an axis is calculated based on the available size. -You can customize this, by using [`radius`](../api/circular-gauge/axis#radius-string) property. +You can customize this, by using [`radius`](../api/circular-gauge/axis/#radius-string) property. It takes value either in `percentage` or in `pixel`. **In Pixel** @@ -97,9 +98,9 @@ For example, when the radius is ‘50%’, gauge renders to half of the availabl ## Ticks -You can customize the [`height`](../api/circular-gauge/tickModel#color-string), -[`color`](../api/circular-gauge/tickModel#color-string) and [`width`](../api/circular-gauge/tickModel#width-number) of major ticks and minor ticks by using [`majorTicks`](../api/circular-gauge/axis#majorticks-tickmodel) and [`minorTicks`](../api/circular-gauge/axis#minorticks-tickmodel) property. -By default, [`interval`](../api/circular-gauge/tickModel#interval-number) for +You can customize the [`height`](../api/circular-gauge/tickModel/#color-string), +[`color`](../api/circular-gauge/tickModel/#color-string) and [`width`](../api/circular-gauge/tickModel/#width-number) of major ticks and minor ticks by using [`majorTicks`](../api/circular-gauge/axis/#majorticks-tickmodel) and [`minorTicks`](../api/circular-gauge/axis/#minorticks-tickmodel) property. +By default, [`interval`](../api/circular-gauge/tickModel/#interval-number) for `majorTicks` will be calculated automatically and also you can customize the interval for major and minor ticks using `interval` property. {% tabs %} @@ -115,8 +116,8 @@ By default, [`interval`](../api/circular-gauge/tickModel#interval-number) for **Tick Position** -Both minor and major ticks can be moved by using [`offset`](../api/circular-gauge/tickModel#offset-number) and [`position`](../api/circular-gauge/tickModel#position-string) property. The [`offset`](../api/circular-gauge/tickModel#offset-number) defines the distance between the axis and ticks. -By default, offset value is 0. The [`position`](../api/circular-gauge/tickModel#position-string) will place the ticks either inside or outside of the axis. +Both minor and major ticks can be moved by using [`offset`](../api/circular-gauge/tickModel/#offset-number) and [`position`](../api/circular-gauge/tickModel/#position-string) property. The [`offset`](../api/circular-gauge/tickModel/#offset-number) defines the distance between the axis and ticks. +By default, offset value is 0. The [`position`](../api/circular-gauge/tickModel/#position-string) will place the ticks either inside or outside of the axis. By default, ticks will be placed `inside` the axis. {% tabs %} @@ -132,7 +133,7 @@ By default, ticks will be placed `inside` the axis. ## Labels -Labels of an axis can be customized by using [`font`](../api/circular-gauge/labelModel#font-fontmodel) property in [`labelStyle`](../api/circular-gauge/axis#labelstyle-labelmodel) options. +Labels of an axis can be customized by using [`font`](../api/circular-gauge/labelModel/#font-fontmodel) property in [`labelStyle`](../api/circular-gauge/axis/#labelstyle-labelmodel) options. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -147,10 +148,10 @@ Labels of an axis can be customized by using [`font`](../api/circular-gauge/labe **Label Position** -Labels can be moved by using [`offset`](../api/circular-gauge/labelModel#offset-number) or [`position`](../api/circular-gauge/labelModel#position-string) property. -The [`offset`](../api/circular-gauge/labelModel#offset-number) defines the distance between the labels and ticks. +Labels can be moved by using [`offset`](../api/circular-gauge/labelModel/#offset-number) or [`position`](../api/circular-gauge/labelModel/#position-string) property. +The [`offset`](../api/circular-gauge/labelModel/#offset-number) defines the distance between the labels and ticks. By default, offset value is 0. -The [`position`](../api/circular-gauge/labelModel#position-string) will place the labels either inside or outside of the axis. +The [`position`](../api/circular-gauge/labelModel/#position-string) will place the labels either inside or outside of the axis. By default, labels will be placed `inside` the axis. {% tabs %} @@ -181,7 +182,7 @@ If the last label is not in the visible range, it will be hidden by default. If **Auto Angle** -Labels can be swept along the axis angle by enabling [`autoAngle`](../api/circular-gauge/labelModel#autoangle-boolean) property. +Labels can be swept along the axis angle by enabling [`autoAngle`](../api/circular-gauge/labelModel/#autoangle-boolean) property. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -197,7 +198,7 @@ Labels can be swept along the axis angle by enabling [`autoAngle`](../api/circul **Smart Labels** When an axis makes a complete circle, then the first and last label of the axis will get overlap with each other. -In this scenario, you can either hide 1st or last label using [`hiddenLabel`](../api/circular-gauge/labelModel#hiddenlabel-string) property. +In this scenario, you can either hide 1st or last label using [`hiddenLabel`](../api/circular-gauge/labelModel/#hiddenlabel-string) property. When `hiddenLabel` value is `First`,then the 1st label will be hidden and when the `hiddenLabel` value is 'Last', then the last label will be hidden. @@ -214,7 +215,7 @@ When `hiddenLabel` value is `First`,then the 1st label will be hidden and when t **Label Format** -Axis labels can be formatted by using [`format`](../api/circular-gauge/labelModel#format-string) property in [`labelStyle`](../api/circular-gauge/label) and its supports all globalize format. +Axis labels can be formatted by using [`format`](../api/circular-gauge/labelModel/#format-string) property in [`labelStyle`](../api/circular-gauge/label) and its supports all globalize format. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -318,7 +319,7 @@ When the axis labels overlap with each other, you can hide the intersected lab ## Minimum and Maximum -The [`minimum`](../api/circular-gauge/axis#minimum-number) and [`maximum`](../api/circular-gauge/axis#maximum-number) properties +The [`minimum`](../api/circular-gauge/axis/#minimum-number) and [`maximum`](../api/circular-gauge/axis/#maximum-number) properties enables you to customize the start and end values of an axis. {% tabs %} diff --git a/chart-sdk/javascript/circular-gauge/gauge-dimensions.md b/chart-sdk/javascript/circular-gauge/gauge-dimensions.md index c65f5a23b..984f73314 100644 --- a/chart-sdk/javascript/circular-gauge/gauge-dimensions.md +++ b/chart-sdk/javascript/circular-gauge/gauge-dimensions.md @@ -1,15 +1,16 @@ --- layout: post -title: Dimensions in JavaScript Circular Gauge | Syncfusion -description: Learn here all about Gauge dimensions in Syncfusion JavaScript Circular Gauge of Syncfusion Essential JS 2 and more. +title: Gauge dimensions in JavaScript Circular gauge control | Syncfusion +description: Learn here all about Gauge dimensions in Syncfusion JavaScript Circular gauge control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Circular Gauge +control: Gauge dimensions +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Dimensions in JavaScript Circular Gauge +# Gauge dimensions in JavaScript Circular gauge control ## Size for Container @@ -34,7 +35,7 @@ Circular gauge can render to its container size. You can set the size via inline ## Size for Circular Gauge -You can also set size for the gauge directly through [`width`](../api/circular-gauge#width-string) and [`height`](../api/circular-gauge#height-string) properties. +You can also set size for the gauge directly through [`width`](../api/circular-gauge/#width-string) and [`height`](../api/circular-gauge/#height-string) properties. **In Pixel** diff --git a/chart-sdk/javascript/circular-gauge/gauge-legend.md b/chart-sdk/javascript/circular-gauge/gauge-legend.md index 7d36b5313..5f1bd5776 100644 --- a/chart-sdk/javascript/circular-gauge/gauge-legend.md +++ b/chart-sdk/javascript/circular-gauge/gauge-legend.md @@ -1,14 +1,15 @@ --- layout: post -title: Legend in JavaScript Circular Gauge | Syncfusion -description: Learn here all about Gauge legend in Syncfusion JavaScript Circular Gauge of Syncfusion Essential JS 2 and more. +title: Gauge legend in JavaScript Circular gauge control | Syncfusion +description: Learn here all about Gauge legend in Syncfusion JavaScript Circular gauge control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Circular Gauge +control: Gauge legend +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Legend in JavaScript Circular Gauge +# Gauge legend in JavaScript Circular gauge control Legend provides valuable information for interpreting what the circular gauge axis range displays, and they can be represented in various colors, shapes, and other identifiers based on the data. It gives a breakdown of what each symbol represents in the axis range of circular gauge. @@ -141,7 +142,7 @@ By default, paging will be enabled if the legend items exceed the legend bounds. ## Legend text customization -You can customize the legend text using [`legendText`](../api/circular-gauge/range#legendtext) property in `ranges`. +You can customize the legend text using [`legendText`](../api/circular-gauge/range/#legendtext) property in `ranges`. {% tabs %} {% highlight js tabtitle="index.js" %} diff --git a/chart-sdk/javascript/circular-gauge/gauge-pointers.md b/chart-sdk/javascript/circular-gauge/gauge-pointers.md index 915fc9cf0..ce4e19ca7 100644 --- a/chart-sdk/javascript/circular-gauge/gauge-pointers.md +++ b/chart-sdk/javascript/circular-gauge/gauge-pointers.md @@ -1,17 +1,18 @@ --- layout: post -title: Aointers in JavaScript Circular Gauge | Syncfusion -description: Learn here all about Gauge pointers in Syncfusion JavaScript Circular Gauge of Syncfusion Essential JS 2 and more. +title: Gauge pointers in JavaScript Circular gauge control | Syncfusion +description: Learn here all about Gauge pointers in Syncfusion JavaScript Circular gauge control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Circular Gauge +control: Gauge pointers +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Aointers in JavaScript Circular Gauge +# Gauge pointers in JavaScript Circular gauge control -Pointers are used to indicate values on the axis. Value of the pointer can be modified using the [`value`](../api/circular-gauge/pointer#value-number) property. +Pointers are used to indicate values on the axis. Value of the pointer can be modified using the [`value`](../api/circular-gauge/pointer/#value-number) property. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -24,12 +25,12 @@ Pointers are used to indicate values on the axis. Value of the pointer can be mo {% previewsample "https://help.syncfusion.com/code-snippet/chart-sdk/javascript/circular-gauge/gauge-pointers-cs1" %} -Gauge supports 3 types of pointers such as `Needle`, `RangeBar` and `Marker`. You can choose any one of the pointer by using [`type`](../api/circular-gauge/pointer#type-string) property. +Gauge supports 3 types of pointers such as `Needle`, `RangeBar` and `Marker`. You can choose any one of the pointer by using [`type`](../api/circular-gauge/pointer/#type-string) property. ## Needle Pointers -A needle pointer contains three parts, a needle, a cap / knob and a tail. The length of the needle can be customized by using [`radius`](../api/circular-gauge/pointer#radius-string) property. The length of the tail can be -customized by using [`length`](../api/circular-gauge/needleTailModel#length-string) property. The radius of the cap can be customized by using [`radius`](../api/circular-gauge/capModel#radius-number) in cap object. The needle and tail +A needle pointer contains three parts, a needle, a cap / knob and a tail. The length of the needle can be customized by using [`radius`](../api/circular-gauge/pointer/#radius-string) property. The length of the tail can be +customized by using [`length`](../api/circular-gauge/needleTailModel/#length-string) property. The radius of the cap can be customized by using [`radius`](../api/circular-gauge/capModel/#radius-number) in cap object. The needle and tail length takes value either in `percentage` or `pixel`. {% tabs %} @@ -46,8 +47,8 @@ length takes value either in `percentage` or `pixel`. **Customization** -Needle color and width can be customized by using [`color`](../api/circular-gauge/pointer#color-string) and [`pointerWidth`](../api/circular-gauge/pointer#pointerwidth-number) property. -Cap and tails can be customized by using [`cap`](../api/circular-gauge/pointer#cap-capmodel) and [`needleTail`](../api/circular-gauge/pointer#needletail-needletailmodel) object. +Needle color and width can be customized by using [`color`](../api/circular-gauge/pointer/#color-string) and [`pointerWidth`](../api/circular-gauge/pointer/#pointerwidth-number) property. +Cap and tails can be customized by using [`cap`](../api/circular-gauge/pointer/#cap-capmodel) and [`needleTail`](../api/circular-gauge/pointer/#needletail-needletailmodel) object. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -60,7 +61,7 @@ Cap and tails can be customized by using [`cap`](../api/circular-gauge/pointer#c {% previewsample "https://help.syncfusion.com/code-snippet/chart-sdk/javascript/circular-gauge/gauge-pointers-cs3" %} -The appearance of the needle pointer can be customized by using [`needleStartWidth`](../api/circular-gauge/pointer#needlestartwidth) and [`needleEndWidth`](../api/circular-gauge/pointer#needleendwidth). +The appearance of the needle pointer can be customized by using [`needleStartWidth`](../api/circular-gauge/pointer/#needlestartwidth) and [`needleEndWidth`](../api/circular-gauge/pointer/#needleendwidth). {% tabs %} {% highlight js tabtitle="index.js" %} @@ -92,7 +93,7 @@ RangeBar starts from the beginning of the gauge and ends at the pointer value. **Customization** RangeBar can be customized in terms of color, border and thickness by using -[`color`](../api/circular-gauge/pointer#color-string), [`border`](../api/circular-gauge/pointer#border-bordermodel) and [`pointerWidth`](../api/circular-gauge/pointer#pointerwidth-number) property. +[`color`](../api/circular-gauge/pointer/#color-string), [`border`](../api/circular-gauge/pointer/#border-bordermodel) and [`pointerWidth`](../api/circular-gauge/pointer/#pointerwidth-number) property. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -122,14 +123,14 @@ The start and end pointers of range bar in the circular gauge are rounded to for ## Marker Pointer -Different type of marker shape can be used to mark the pointer value in axis. You can change the marker shape using [`markerShape`](../api/circular-gauge/pointer#markershape-string) property in pointer. Gauge supports the below marker shape. +Different type of marker shape can be used to mark the pointer value in axis. You can change the marker shape using [`markerShape`](../api/circular-gauge/pointer/#markershape-string) property in pointer. Gauge supports the below marker shape. * Circle * Rectangle * Triangle * InvertedTriangle * Diamond -We can use image instead of rendering marker shape to denote the pointer value. It can be achieved by setting [`markerShape`](../api/circular-gauge/pointer#markershape-string) to Image and assigning  image path to [`imageUrl`](../api/circular-gauge/pointer#imageurl-string) in pointer. +We can use image instead of rendering marker shape to denote the pointer value. It can be achieved by setting [`markerShape`](../api/circular-gauge/pointer/#markershape-string) to Image and assigning  image path to [`imageUrl`](../api/circular-gauge/pointer/#imageurl-string) in pointer. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -145,10 +146,10 @@ We can use image instead of rendering marker shape to denote the pointer value. **Customization** The marker can be customized in terms of color, border, width and height by using -[`color`](../api/circular-gauge/pointer#color-string), -[`border`](../api/circular-gauge/pointer#border-bordermodel), -[`markerWidth`](../api/circular-gauge/pointer#markerwidth-number) and -[`markerHeight`](../api/circular-gauge/pointer#markerheight-number) property in +[`color`](../api/circular-gauge/pointer/#color-string), +[`border`](../api/circular-gauge/pointer/#border-bordermodel), +[`markerWidth`](../api/circular-gauge/pointer/#markerwidth-number) and +[`markerHeight`](../api/circular-gauge/pointer/#markerheight-number) property in [`pointer`](../api/circular-gauge/pointer). {% tabs %} @@ -164,7 +165,7 @@ The marker can be customized in terms of color, border, width and height by usin ## Dragging pointer -The pointers can be dragged along the axis line by clicking and dragging them. To enable or disable the drag functionality for all pointers across all axes, use the [enablePointerDrag](../api/circular-gauge/circularGaugeModel#enablepointerdrag) property. When this property is set to **true**, all pointers can be dynamically adjusted by dragging. Setting it to **false** keeps all pointers fixed in their specified positions. +The pointers can be dragged along the axis line by clicking and dragging them. To enable or disable the drag functionality for all pointers across all axes, use the [enablePointerDrag](../api/circular-gauge/circularGaugeModel/#enablepointerdrag) property. When this property is set to **true**, all pointers can be dynamically adjusted by dragging. Setting it to **false** keeps all pointers fixed in their specified positions. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -179,7 +180,7 @@ The pointers can be dragged along the axis line by clicking and dragging them. T ### Enabling drag functionality for a specific pointer -To enable or disable the drag functionality for specific pointers along the axis line, use the [enableDrag](../api/circular-gauge/pointerModel#enabledrag) property in the required pointer model. +To enable or disable the drag functionality for specific pointers along the axis line, use the [enableDrag](../api/circular-gauge/pointerModel/#enabledrag) property in the required pointer model. >When the `enableDrag` property is enabled for any individual pointer model, the `enablePointerDrag` property becomes ineffective. @@ -214,9 +215,9 @@ In addition to the default pointer, you can add n number of pointer to an axis b ## Animation Pointer will get animate on loading the gauge, this can be handled by using -[`animation`](../api/circular-gauge/pointer#animation-animationmodel) property in pointer. -The [`enable`](../api/circular-gauge/animationModel#enable-boolean) property in animation allows you to enable or disable the animation. -The [`duration`](../api/circular-gauge/animationModel#duration-number) property specify the duration of the animation in milliseconds. +[`animation`](../api/circular-gauge/pointer/#animation-animationmodel) property in pointer. +The [`enable`](../api/circular-gauge/animationModel/#enable-boolean) property in animation allows you to enable or disable the animation. +The [`duration`](../api/circular-gauge/animationModel/#duration-number) property specify the duration of the animation in milliseconds. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -238,7 +239,7 @@ Gradient support allows to add multiple colors in the ranges and pointers of the ### Linear Gradient -Using linear gradient, colors will be applied in a linear progression. The start value of the linear gradient can be set using the [`startValue`](../api/circular-gauge/linearGradient#startvalue) property. The end value of the linear gradient will be set using the [`endValue`](../api/circular-gauge/linearGradient#endvalue) property. The color stop values such as color, opacity and offset are set using [`colorStop`](../api/circular-gauge/linearGradient#colorstop) property. +Using linear gradient, colors will be applied in a linear progression. The start value of the linear gradient can be set using the [`startValue`](../api/circular-gauge/linearGradient/#startvalue) property. The end value of the linear gradient will be set using the [`endValue`](../api/circular-gauge/linearGradient/#endvalue) property. The color stop values such as color, opacity and offset are set using [`colorStop`](../api/circular-gauge/linearGradient/#colorstop) property. The linear gradient can be applied to all pointer types like marker, range bar and needle. To do so, follow the below code sample. @@ -255,7 +256,7 @@ The linear gradient can be applied to all pointer types like marker, range bar a ### Radial Gradient -Using radial gradient, colors will be applied in circular progression. The inner circle position of the radial gradient will be set using the [`innerPosition`](../api/circular-gauge/radialGradient#innerposition) property. The outer circle position of the radial gradient can be set using the [`outerPosition`](../api/circular-gauge/radialGradient#outerposition) property. The color stop values such as color, opacity and offset are set using [`colorStop`](../api/circular-gauge/radialGradient#colorstop) property. +Using radial gradient, colors will be applied in circular progression. The inner circle position of the radial gradient will be set using the [`innerPosition`](../api/circular-gauge/radialGradient/#innerposition) property. The outer circle position of the radial gradient can be set using the [`outerPosition`](../api/circular-gauge/radialGradient/#outerposition) property. The color stop values such as color, opacity and offset are set using [`colorStop`](../api/circular-gauge/radialGradient/#colorstop) property. The radial gradient can be applied to all pointer types like marker, range bar and needle. To do so, follow the below code sample. diff --git a/chart-sdk/javascript/circular-gauge/gauge-print-and-export.md b/chart-sdk/javascript/circular-gauge/gauge-print-and-export.md index c20405c6f..8296b938e 100644 --- a/chart-sdk/javascript/circular-gauge/gauge-print-and-export.md +++ b/chart-sdk/javascript/circular-gauge/gauge-print-and-export.md @@ -1,19 +1,20 @@ --- layout: post -title: Print and Export in JavaScript Circular Gauge | Syncfusion -description: Learn here all about Gauge print and export in Syncfusion JavaScript Circular Gauge of Syncfusion Essential JS 2 and more. +title: Gauge print and export in JavaScript Circular gauge control | Syncfusion +description: Learn here all about Gauge print and export in Syncfusion JavaScript Circular gauge control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Circular Gauge +control: Gauge print and export +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Print and Export in JavaScript Circular Gauge +# Gauge print and export in JavaScript Circular gauge control ## Print -To use the print functionality, we should set the [`allowPrint`](../api/circular-gauge#allowprint) property to **true**. The rendered circular gauge can be printed directly from the browser by calling the method [`print`](../api/circular-gauge#print). +To use the print functionality, we should set the [`allowPrint`](../api/circular-gauge/#allowprint) property to **true**. The rendered circular gauge can be printed directly from the browser by calling the method [`print`](../api/circular-gauge/#print). {% tabs %} @@ -31,7 +32,7 @@ To use the print functionality, we should set the [`allowPrint`](../api/circular ### Image Export -To use the image export functionality, we should set the [`allowImageExport`](../api/circular-gauge#allowimageexport) property to **true**. The rendered circular gauge can be exported as an image using the [`export`](../api/circular-gauge#export) method. The method requires two parameters: image type and file name. The circular gauge can be exported as an image in the following formats. +To use the image export functionality, we should set the [`allowImageExport`](../api/circular-gauge/#allowimageexport) property to **true**. The rendered circular gauge can be exported as an image using the [`export`](../api/circular-gauge/#export) method. The method requires two parameters: image type and file name. The circular gauge can be exported as an image in the following formats. * JPEG * PNG @@ -48,7 +49,7 @@ To use the image export functionality, we should set the [`allowImageExport`](.. {% previewsample "https://help.syncfusion.com/code-snippet/chart-sdk/javascript/circular-gauge/gauge-export-cs1" %} -We can get the image file as base64 string for the JPEG and PNG formats. The circular gauge can be exported to image as a base64 string using the [`export`](../api/circular-gauge#export) method. There are four parameters required: image type, file name, orientation of the exported PDF document which must be set as **null** for image export and finally **allowDownload** which should be set as **false** to return base64 string. +We can get the image file as base64 string for the JPEG and PNG formats. The circular gauge can be exported to image as a base64 string using the [`export`](../api/circular-gauge/#export) method. There are four parameters required: image type, file name, orientation of the exported PDF document which must be set as **null** for image export and finally **allowDownload** which should be set as **false** to return base64 string. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -63,7 +64,7 @@ We can get the image file as base64 string for the JPEG and PNG formats. The cir ### PDF Export -To use the PDF export functionality, we should set the [`allowPdfExport`](../api/circular-gauge#allowpdfexport) property to **true**. The rendered circular gauge can be exported as PDF using the [`export`](../api/circular-gauge#export) method. The [`export`](../api/circular-gauge#export) method requires three parameters: file type, file name and orientation of the PDF document. The orientation setting is optional and "0" indicates portrait and "1" indicates landscape. +To use the PDF export functionality, we should set the [`allowPdfExport`](../api/circular-gauge/#allowpdfexport) property to **true**. The rendered circular gauge can be exported as PDF using the [`export`](../api/circular-gauge/#export) method. The [`export`](../api/circular-gauge/#export) method requires three parameters: file type, file name and orientation of the PDF document. The orientation setting is optional and "0" indicates portrait and "1" indicates landscape. {% tabs %} {% highlight js tabtitle="index.js" %} diff --git a/chart-sdk/javascript/circular-gauge/gauge-ranges.md b/chart-sdk/javascript/circular-gauge/gauge-ranges.md index 11ee763cf..db26cc932 100644 --- a/chart-sdk/javascript/circular-gauge/gauge-ranges.md +++ b/chart-sdk/javascript/circular-gauge/gauge-ranges.md @@ -1,21 +1,22 @@ --- layout: post -title: Ranges in JavaScript Circular Gauge | Syncfusion -description: Learn here all about Gauge ranges in Syncfusion JavaScript Circular Gauge of Syncfusion Essential JS 2 and more. +title: Gauge ranges in JavaScript Circular gauge control | Syncfusion +description: Learn here all about Gauge ranges in Syncfusion JavaScript Circular gauge control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Circular Gauge +control: Gauge ranges +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Ranges in JavaScript Circular Gauge +# Gauge ranges in JavaScript Circular gauge control -You can categories certain interval on gauge axis using [`ranges`](../api/circular-gauge/range#properties) property. +You can categories certain interval on gauge axis using [`ranges`](../api/circular-gauge/range/#properties) property. ## Start and End -Start and end value of a range in an axis can be customized by using [`start`](../api/circular-gauge/range#start-number) and [`end`](../api/circular-gauge/range#end-number) properties. +Start and end value of a range in an axis can be customized by using [`start`](../api/circular-gauge/range/#start-number) and [`end`](../api/circular-gauge/range/#end-number) properties. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -30,7 +31,7 @@ Start and end value of a range in an axis can be customized by using [`start`](. ## Customization -Color and thickness of the range can be customized by using [`color`](../api/circular-gauge/range#color-string),[`startWidth`](../api/circular-gauge/range#startwidth-number) and [`endWidth`](../api/circular-gauge/range#endwidth-number) property. +Color and thickness of the range can be customized by using [`color`](../api/circular-gauge/range/#color-string),[`startWidth`](../api/circular-gauge/range/#startwidth-number) and [`endWidth`](../api/circular-gauge/range/#endwidth-number) property. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -45,7 +46,7 @@ Color and thickness of the range can be customized by using [`color`](../api/cir ## Radius -You can place the range inside or outside of the axis by using [`radius`](../api/circular-gauge/range#radius-string) property. The radius of the range can takes value either in percentage or in pixels. By default, ranges +You can place the range inside or outside of the axis by using [`radius`](../api/circular-gauge/range/#radius-string) property. The radius of the range can takes value either in percentage or in pixels. By default, ranges take 100% of the axis radius. **In Pixel** @@ -80,7 +81,7 @@ By setting value in percentage, range gets its dimension with respect to its axi ## Dragging Range -The ranges can be dragged over the axis line by clicking and dragging the same. To enable or disable the range drag, use the [`enableRangeDrag`](../api/circular-gauge/circularGaugeModel#enablerangedrag) property. +The ranges can be dragged over the axis line by clicking and dragging the same. To enable or disable the range drag, use the [`enableRangeDrag`](../api/circular-gauge/circularGaugeModel/#enablerangedrag) property. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -135,7 +136,7 @@ Gradient support allows to add multiple colors in the ranges and pointers of the ### Linear Gradient -Using linear gradient, colors will be applied in a linear progression. The start value of the linear gradient will be set using the [`startValue`](../api/circular-gauge/linearGradient#startvalue) property. The end value of the linear gradient will be set using the [`endValue`](../api/circular-gauge/linearGradient#endvalue) property. The color stop values such as color, opacity and offset are set using [`colorStop`](../api/circular-gauge/linearGradient#colorstop) property. +Using linear gradient, colors will be applied in a linear progression. The start value of the linear gradient will be set using the [`startValue`](../api/circular-gauge/linearGradient/#startvalue) property. The end value of the linear gradient will be set using the [`endValue`](../api/circular-gauge/linearGradient/#endvalue) property. The color stop values such as color, opacity and offset are set using [`colorStop`](../api/circular-gauge/linearGradient/#colorstop) property. To apply linear gradient to the range, follow the below code sample. @@ -152,7 +153,7 @@ To apply linear gradient to the range, follow the below code sample. ### Radial Gradient -Using radial gradient, colors will be applied in circular progression. The inner circle position of the radial gradient will be set using the [`innerPosition`](../api/circular-gauge/radialGradient#innerposition) property. The outer circle position of the radial gradient can be set using the [`outerPosition`](../api/circular-gauge/radialGradient#outerposition) property. The color stop values such as color, opacity and offset are set using [`colorStop`](../api/circular-gauge/radialGradient#colorstop) property. +Using radial gradient, colors will be applied in circular progression. The inner circle position of the radial gradient will be set using the [`innerPosition`](../api/circular-gauge/radialGradient/#innerposition) property. The outer circle position of the radial gradient can be set using the [`outerPosition`](../api/circular-gauge/radialGradient/#outerposition) property. The color stop values such as color, opacity and offset are set using [`colorStop`](../api/circular-gauge/radialGradient/#colorstop) property. To apply radial gradient to the range, follow the below code sample. @@ -169,4 +170,4 @@ To apply radial gradient to the range, follow the below code sample. ## See also -* [Tooltip for Ranges](https://ej2.syncfusion.com/documentation/circular-gauge/gauge-user-interaction#tooltip-for-ranges) \ No newline at end of file +* [Tooltip for Ranges](https://ej2.syncfusion.com/documentation/circular-gauge/gauge-user-interaction/#tooltip-for-ranges) \ No newline at end of file diff --git a/chart-sdk/javascript/circular-gauge/gauge-user-interaction.md b/chart-sdk/javascript/circular-gauge/gauge-user-interaction.md index bc109a327..59364a5e7 100644 --- a/chart-sdk/javascript/circular-gauge/gauge-user-interaction.md +++ b/chart-sdk/javascript/circular-gauge/gauge-user-interaction.md @@ -1,15 +1,16 @@ --- layout: post -title: User Interaction in JavaScript Circular Gauge | Syncfusion -description: Learn here all about Gauge user interaction in Syncfusion JavaScript Circular Gauge of Syncfusion Essential JS 2 and more. +title: Gauge user interaction in JavaScript Circular gauge control | Syncfusion +description: Learn here all about Gauge user interaction in Syncfusion JavaScript Circular gauge control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Circular Gauge +control: Gauge user interaction +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# User Interaction in JavaScript Circular Gauge +# Gauge user interaction in JavaScript Circular gauge control ## Tooltip for pointers @@ -17,7 +18,7 @@ Circular gauge will displays the pointer details through [tooltip](../api/circul **Enable Tooltip** -By default, tooltip is not visible. Enable the tooltip by setting [`enable`](../api/circular-gauge/tooltipSettings#enable-boolean) property to true and injecting `GaugeTooltip` module using `CircularGauge.Inject(GaugeTooltip)` method. +By default, tooltip is not visible. Enable the tooltip by setting [`enable`](../api/circular-gauge/tooltipSettings/#enable-boolean) property to true and injecting `GaugeTooltip` module using `CircularGauge.Inject(GaugeTooltip)` method. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -32,7 +33,7 @@ By default, tooltip is not visible. Enable the tooltip by setting [`enable`](../ **Template** -Any HTML elements can be displayed in the tooltip by using the [`template`](../api/circular-gauge/tooltipSettings#template-string) property of the tooltip. +Any HTML elements can be displayed in the tooltip by using the [`template`](../api/circular-gauge/tooltipSettings/#template-string) property of the tooltip. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -103,7 +104,7 @@ The following code example shows the tooltip for the ranges and annotation. ## Pointer Drag Pointers can be dragged over the axis value. This can be achieved by clicking and dragging the pointer. To enable or disable the pointer drag, you can use -[`enablePointerDrag`](../api/circular-gauge#enablepointerdrag-boolean) property. +[`enablePointerDrag`](../api/circular-gauge/#enablepointerdrag-boolean) property. {% tabs %} {% highlight js tabtitle="index.js" %} diff --git a/chart-sdk/javascript/circular-gauge/how-to/gauge-range.md b/chart-sdk/javascript/circular-gauge/how-to/gauge-range.md index 3d9a6ba39..be64010de 100644 --- a/chart-sdk/javascript/circular-gauge/how-to/gauge-range.md +++ b/chart-sdk/javascript/circular-gauge/how-to/gauge-range.md @@ -1,14 +1,15 @@ --- layout: post -title: How to add a range to the Circular Gauge dynamically | Syncfusion -description: Learn how to add a range to the Circular Gauge dynamically on a button click by pushing new ranges to the axes collection. +title: Gauge range in JavaScript Circular gauge control | Syncfusion +description: Learn here all about Gauge range in Syncfusion JavaScript Circular gauge control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Circular Gauge +control: Gauge range +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# How to add a range to the Circular Gauge dynamically +# Gauge range in JavaScript Circular gauge control ## Add a range to the circular gauge dynamically diff --git a/chart-sdk/javascript/circular-gauge/internationalization.md b/chart-sdk/javascript/circular-gauge/internationalization.md index 3f62b390d..51dac98b8 100644 --- a/chart-sdk/javascript/circular-gauge/internationalization.md +++ b/chart-sdk/javascript/circular-gauge/internationalization.md @@ -1,27 +1,28 @@ --- layout: post -title: Internationalization in JavaScript Circular Gauge | Syncfusion -description: Learn here all about Internationalization in Syncfusion JavaScript Circular Gauge of Syncfusion Essential JS 2 and more. +title: Internationalization in JavaScript Circular gauge control | Syncfusion +description: Learn here all about Internationalization in Syncfusion JavaScript Circular gauge control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Circular Gauge +control: Internationalization +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Internationalization in JavaScript Circular Gauge +# Internationalization in JavaScript Circular gauge control Circular Gauge provides internationalization support for below elements. * Axis Labels * Tooltip -For more information about number formatter, you can refer [internationalization](https://ej2.syncfusion.com/documentation/common/internationalization). +For more information about number formatter, you can refer [internationalization](https://ej2.syncfusion.com/documentation/common/internationalization/). ## Globalization Globalization is the process of designing and developing a control that works in different cultures/locales. -Internationalization library is used to globalize number in the Circular Gauge using [format](../api/circular-gauge/label#format-string) property in [labelStyle](../api/circular-gauge/label). +Internationalization library is used to globalize number in the Circular Gauge using [format](../api/circular-gauge/label/#format-string) property in [labelStyle](../api/circular-gauge/label). **Numeric Format** @@ -40,7 +41,7 @@ In the below example, axis labels are globalized to **EUR**. ## Right-to-left -Circular Gauge can render its elements from right to left, which improves the user experience for certain language users. To do so, set the [enableRtl](../api/circular-gauge#enablertl) property to **true**. When this property is enabled, elements such as the tooltip and legend will be rendered from right to left. Meanwhile, the axis can be rendered from right to left by setting the [direction](../api/circular-gauge/axis#direction) property to **AntiClockWise**. For more information on axis, click [here](../circular-gauge/gauge-axes#angles-and-direction). +Circular Gauge can render its elements from right to left, which improves the user experience for certain language users. To do so, set the [enableRtl](../api/circular-gauge/#enablertl) property to **true**. When this property is enabled, elements such as the tooltip and legend will be rendered from right to left. Meanwhile, the axis can be rendered from right to left by setting the [direction](../api/circular-gauge/axis/#direction) property to **AntiClockWise**. For more information on axis, click [here](../circular-gauge/gauge-axes/#angles-and-direction). The following example illustrates the right to left rendering of the Circular Gauge. diff --git a/chart-sdk/javascript/heatmap-chart/accessibility.md b/chart-sdk/javascript/heatmap-chart/accessibility.md index c1b29ca54..506da8aef 100644 --- a/chart-sdk/javascript/heatmap-chart/accessibility.md +++ b/chart-sdk/javascript/heatmap-chart/accessibility.md @@ -1,14 +1,15 @@ --- layout: post -title: Accessibility in JavaScript HeatMap Chart | Syncfusion -description: Learn how the JavaScript HeatMap Chart supports WCAG 2.2, Section 508, screen readers, color contrast, and keyboard navigation for accessible apps. +title: Accessibility in JavaScript HeatMap chart control | Syncfusion +description: Learn here all about Accessibility in Syncfusion JavaScript HeatMap chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Accessibility +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Accessibility in JavaScript HeatMap Chart +# Accessibility in JavaScript HeatMap chart control The HeatMap control follows commonly used accessibility guidelines and standards, such as [ADA](https://www.ada.gov/), [Section 508](https://www.section508.gov/), [WCAG 2.2](https://www.w3.org/TR/WCAG22/) standards, and [WCAG roles](https://www.w3.org/TR/wai-aria/#roles). diff --git a/chart-sdk/javascript/heatmap-chart/appearance.md b/chart-sdk/javascript/heatmap-chart/appearance.md index 2104fe996..c41b7316e 100644 --- a/chart-sdk/javascript/heatmap-chart/appearance.md +++ b/chart-sdk/javascript/heatmap-chart/appearance.md @@ -1,14 +1,15 @@ --- layout: post -title: Appearance in JavaScript HeatMap Chart | Syncfusion -description: Customize JavaScript HeatMap Chart cell borders, background, margins, title, data labels, templates, and text style to match your application design. +title: Appearance in JavaScript HeatMap chart control | Syncfusion +description: Learn here all about Appearance in Syncfusion JavaScript HeatMap chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Appearance +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Appearance in JavaScript HeatMap Chart +# Appearance in JavaScript HeatMap chart control ## Cell customization @@ -16,7 +17,7 @@ You can customize the cell by using the [cellSettings](../api/heatmap/cellSettin ### Border -Change the width, color, and radius of the heat map cells by using the [border](../api/heatmap/cellSettings#border) property. +Change the width, color, and radius of the heat map cells by using the [border](../api/heatmap/cellSettings/#border) property. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -31,7 +32,7 @@ Change the width, color, and radius of the heat map cells by using the [border]( ### Cell highlighting -Enable or disable the cell highlighting while hovering over the heat map cells by using the [enableCellHighlighting](../api/heatmap/cellSettings#enablecellhighlighting) property. +Enable or disable the cell highlighting while hovering over the heat map cells by using the [enableCellHighlighting](../api/heatmap/cellSettings/#enablecellhighlighting) property. >Note: The cell highlighting only works in a SVG rendering mode. @@ -48,7 +49,7 @@ Enable or disable the cell highlighting while hovering over the heat map cells b ### Color gradient mode -The [colorGradientMode](../api/heatmap/paletteSettingsModel#colorgradientmode) property can be used to set the minimum and maximum values for colors based on row and column. Three types of color gradient modes are available. +The [colorGradientMode](../api/heatmap/paletteSettingsModel/#colorgradientmode) property can be used to set the minimum and maximum values for colors based on row and column. Three types of color gradient modes are available. * **Table**: The minimum and maximum value colors calculated for overall data. * **Row**: The minimum and maximum value colors calculated for each row of data. @@ -69,7 +70,7 @@ The [colorGradientMode](../api/heatmap/paletteSettingsModel#colorgradientmode) p ## Background color -The background color of the HeatMap can be customized using the [backgroundColor](../api/heatmap#backgroundcolor) property. +The background color of the HeatMap can be customized using the [backgroundColor](../api/heatmap/#backgroundcolor) property. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -84,7 +85,7 @@ The background color of the HeatMap can be customized using the [backgroundColor ## Margin -Set the margin for the HeatMap from its container by using the [margin](../api/heatmap#margin) property. +Set the margin for the HeatMap from its container by using the [margin](../api/heatmap/#margin) property. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -99,7 +100,7 @@ Set the margin for the HeatMap from its container by using the [margin](../api/h ## Title -The title is used to provide a quick information about the data plotted in HeatMap. The [text](../api/heatmap/title#text) property is used to set the title for the HeatMap. The text style of the title can be customized by using the [textStyle](../api/heatmap/title#textstyle) property. +The title is used to provide a quick information about the data plotted in HeatMap. The [text](../api/heatmap/title/#text) property is used to set the title for the HeatMap. The text style of the title can be customized by using the [textStyle](../api/heatmap/title/#textstyle) property. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -114,7 +115,7 @@ The title is used to provide a quick information about the data plotted in HeatM ## Data label -The visibility of data labels can be toggled using the [showLabel](../api/heatmap/cellSettings#showlabel) property. By default, the data labels will be visible. +The visibility of data labels can be toggled using the [showLabel](../api/heatmap/cellSettings/#showlabel) property. By default, the data labels will be visible. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -129,7 +130,7 @@ The visibility of data labels can be toggled using the [showLabel](../api/heatma ### Customize the data label -The label displayed in the HeatMap cell can be changed using the [cellRender](../api/heatmap#cellrender) event. +The label displayed in the HeatMap cell can be changed using the [cellRender](../api/heatmap/#cellrender) event. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -144,7 +145,7 @@ The label displayed in the HeatMap cell can be changed using the [cellRender](.. ### Text style -The text attributes of the data label such as font-family, font-size, and color can be customized using the [textStyle](../api/heatmap/cellSettings#textstyle) in the [cellSettings](../api/heatmap#cellsettings) property. +The text attributes of the data label such as font-family, font-size, and color can be customized using the [textStyle](../api/heatmap/cellSettings/#textstyle) in the [cellSettings](../api/heatmap/#cellsettings) property. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -159,7 +160,7 @@ The text attributes of the data label such as font-family, font-size, and color ### Format -The format of the data label, such as currency, decimal, percent etc. can be changed using [format](../api/heatmap/cellSettings#format) property. +The format of the data label, such as currency, decimal, percent etc. can be changed using [format](../api/heatmap/cellSettings/#format) property. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -174,7 +175,7 @@ The format of the data label, such as currency, decimal, percent etc. can be cha ### Template -Any HTML elements can be added as a template in the data labels by using the [labelTemplate](../api/heatmap/cellSettings#labeltemplate) property of [cellSettings](../api/heatmap/cellSettings) in the HeatMap. +Any HTML elements can be added as a template in the data labels by using the [labelTemplate](../api/heatmap/cellSettings/#labeltemplate) property of [cellSettings](../api/heatmap/cellSettings) in the HeatMap. The following examples show various data binding methods in the HeatMap using the `labelTemplate` property. @@ -248,4 +249,4 @@ The following example demonstrates how to add a data label template for JSON cel ## See Also -* [To customize the appearance of tool tip](./tooltip#customize-the-appearance-of-tooltip) +* [To customize the appearance of tool tip](./tooltip/#customize-the-appearance-of-tooltip) diff --git a/chart-sdk/javascript/heatmap-chart/axis.md b/chart-sdk/javascript/heatmap-chart/axis.md index cc001ee8b..5c6479639 100644 --- a/chart-sdk/javascript/heatmap-chart/axis.md +++ b/chart-sdk/javascript/heatmap-chart/axis.md @@ -1,21 +1,22 @@ --- layout: post -title: Axis in JavaScript HeatMap Chart | Syncfusion -description: Configure X and Y axes in the JavaScript HeatMap Chart with category, numeric, or date-time types, plus inversed, opposed, multilevel, and formatted labels. +title: Axis in JavaScript HeatMap chart control | Syncfusion +description: Learn here all about axis in Syncfusion JavaScript HeatMap chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Axis +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Axis in JavaScript HeatMap Chart +# Axis in JavaScript HeatMap chart control HeatMap consists of two axes namely, X-axis and Y-axis that displays the row headers and column headers to plot the data points respectively. You can define the type, format, and other customizing options for both axes in the HeatMap. ## Types -There are three different axis types available in the HeatMap, which defines the data type of the axis labels. You can define the axis type by using the [valueType](../api/heatmap/axis#valuetype) property in the HeatMap. +There are three different axis types available in the HeatMap, which defines the data type of the axis labels. You can define the axis type by using the [valueType](../api/heatmap/axis/#valuetype) property in the HeatMap. ### Category axis @@ -49,7 +50,7 @@ Numeric axis type is used to represent the numeric values in axis labels. ### Date-time axis -Date-time axis type is used to represent the date-time values in axis labels with a specific format. In date-time axis, you can define the start and end date/time using the [minimum](../api/heatmap/axis#minimum) and [maximum](../api/heatmap/axis#maximum) properties. +Date-time axis type is used to represent the date-time values in axis labels with a specific format. In date-time axis, you can define the start and end date/time using the [minimum](../api/heatmap/axis/#minimum) and [maximum](../api/heatmap/axis/#maximum) properties. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -64,7 +65,7 @@ Date-time axis type is used to represent the date-time values in axis labels wit ## Inversed axis -HeatMap supports inversing the axis origin for both axes, where the axis labels are placed in an inversed manner. You can enable axis inversing by enabling the [isInversed](../api/heatmap/axis#isinversed) property. +HeatMap supports inversing the axis origin for both axes, where the axis labels are placed in an inversed manner. You can enable axis inversing by enabling the [isInversed](../api/heatmap/axis/#isinversed) property. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -79,7 +80,7 @@ HeatMap supports inversing the axis origin for both axes, where the axis labels ## Opposed axis -In HeatMap, you can place the axis label in an opposite position of its default axis label position by using the [opposedPosition](../api/heatmap/axis#opposedposition) property. +In HeatMap, you can place the axis label in an opposite position of its default axis label position by using the [opposedPosition](../api/heatmap/axis/#opposedposition) property. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -111,15 +112,15 @@ You can add axis labels to the HeatMap and format those labels using the [xAxis] ### Customizing the text style -The text style of the axis labels can be customized using the following options available in the [textStyle](../api/heatmap/axisModel#textstyle) property. +The text style of the axis labels can be customized using the following options available in the [textStyle](../api/heatmap/axisModel/#textstyle) property. -* [color](../api/heatmap/fontModel#color) - It is used to change the text color of the axis labels. -* [fontFamily](../api/heatmap/fontModel#fontfamily) - It is used to change the font family of the axis labels. -* [fontStyle](../api/heatmap/fontModel#fontstyle) - It is used to change the font style of the axis labels. -* [fontWeight](../api/heatmap/fontModel#fontweight) - It is used to change the font weight of the axis labels. -* [size](../api/heatmap/fontModel#size) - It is used to change the font size of the axis labels. -* [textAlignment](../api/heatmap/fontModel#textalignment) - It is used to position and align the axis labels. This property allows you to specify values such as **Near**, **Center**, and **Far**. -* [textOverflow](../api/heatmap/fontModel#textoverflow) - When the axis label exceeds the intended space, this property is used to trim or wrap it. This property takes values such as **None**, **Trim**, and **Wrap**. +* [color](../api/heatmap/fontModel/#color) - It is used to change the text color of the axis labels. +* [fontFamily](../api/heatmap/fontModel/#fontfamily) - It is used to change the font family of the axis labels. +* [fontStyle](../api/heatmap/fontModel/#fontstyle) - It is used to change the font style of the axis labels. +* [fontWeight](../api/heatmap/fontModel/#fontweight) - It is used to change the font weight of the axis labels. +* [size](../api/heatmap/fontModel/#size) - It is used to change the font size of the axis labels. +* [textAlignment](../api/heatmap/fontModel/#textalignment) - It is used to position and align the axis labels. This property allows you to specify values such as **Near**, **Center**, and **Far**. +* [textOverflow](../api/heatmap/fontModel/#textoverflow) - When the axis label exceeds the intended space, this property is used to trim or wrap it. This property takes values such as **None**, **Trim**, and **Wrap**. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -149,7 +150,7 @@ Axis labels with line breaks improve the readability of the HeatMap by splitting ### Customizing labels when intersecting with other labels -When the axis labels intersect, [labelIntersectAction](../api/heatmap/axisModel#labelintersectaction) property is used to handle the intersection. The `labelIntersectAction` property can take the following values. +When the axis labels intersect, [labelIntersectAction](../api/heatmap/axisModel/#labelintersectaction) property is used to handle the intersection. The `labelIntersectAction` property can take the following values. * **None** - It specifies that no action is taken when the axis labels intersect. * **Trim** - It specifies to trim the axis labels when they intersect. @@ -171,7 +172,7 @@ The below example demonstrates to trim the axis labels by using the `labelInters ### Rotating labels -The axis labels can be rotated to the desired angles by using the [labelRotation](../api/heatmap/axisModel#labelrotation) property. +The axis labels can be rotated to the desired angles by using the [labelRotation](../api/heatmap/axisModel/#labelrotation) property. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -186,7 +187,7 @@ The axis labels can be rotated to the desired angles by using the [labelRotation ### Label formatting -HeatMap supports formatting the axis labels by using the [labelFormat](../api/heatmap/axis#labelformat) property. Using this property, you can customize the axis label by global string format ('P', 'C', etc) or customized format like '{value}°C'. +HeatMap supports formatting the axis labels by using the [labelFormat](../api/heatmap/axis/#labelformat) property. Using this property, you can customize the axis label by global string format ('P', 'C', etc) or customized format like '{value}°C'. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -201,7 +202,7 @@ HeatMap supports formatting the axis labels by using the [labelFormat](../api/he ## Axis intervals -In HeatMap, you can define an interval between the axis labels using the [interval](../api/heatmap/axis#interval) property. In date-time axis, you can change the interval mode by using the [intervalType](../api/heatmap/axis#intervaltype) property. The date-time axis supports the following interval types: +In HeatMap, you can define an interval between the axis labels using the [interval](../api/heatmap/axis/#interval) property. In date-time axis, you can change the interval mode by using the [intervalType](../api/heatmap/axis/#intervaltype) property. The date-time axis supports the following interval types: * Years * Months @@ -222,7 +223,7 @@ In HeatMap, you can define an interval between the axis labels using the [interv ## Axis label increment -Axis label increment in the HeatMap is used to display the axis labels with regular interval values in numeric and date-time axes. The labels will be displayed with tick gaps when you set the label interval. But, to achieve the same behavior without tick gaps, use the label increment. You can set the axis label increment using the [increment](../api/heatmap/axis#increment) property and the default value of this property is **1**. +Axis label increment in the HeatMap is used to display the axis labels with regular interval values in numeric and date-time axes. The labels will be displayed with tick gaps when you set the label interval. But, to achieve the same behavior without tick gaps, use the label increment. You can set the axis label increment using the [increment](../api/heatmap/axis/#increment) property and the default value of this property is **1**. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -237,7 +238,7 @@ Axis label increment in the HeatMap is used to display the axis labels with regu ## Limiting labels in date-time axis -You can display the axis labels at specific time intervals along with the date-time axis using the [showLabelOn](../api/heatmap/axis#showlabelon) property. This property supports the following types: +You can display the axis labels at specific time intervals along with the date-time axis using the [showLabelOn](../api/heatmap/axis/#showlabelon) property. This property supports the following types: * None: Displays the axis labels based on the `intervalType` and `interval` property of the axis. This type is default value of the `showLabelOn` property. * Years: Displays the axis labels on every year between given date-time range. @@ -258,16 +259,16 @@ You can display the axis labels at specific time intervals along with the date-t ## Multilevel Labels -Multilevel labels are used to classify a group of axis labels as a single category, which is then displayed with a label. By using [multiLevelLabels](../api/heatmap/axis#multilevellabels), you can add multiple levels on top of the axis labels. +Multilevel labels are used to classify a group of axis labels as a single category, which is then displayed with a label. By using [multiLevelLabels](../api/heatmap/axis/#multilevellabels), you can add multiple levels on top of the axis labels. -To divide and group the axis labels, you can use `multiLevelLabels` property. The starting and ending indexes of the axis labels can be set using the [start](../api/heatmap/multiLevelCategoriesModel#start) and [end](../api/heatmap/multiLevelCategoriesModel#end) properties in the [categories](../api/heatmap/multiLevelCategoriesModel). The [text](../api/heatmap/multiLevelCategoriesModel#text) property can be used to specify a name for the grouped axis labels. +To divide and group the axis labels, you can use `multiLevelLabels` property. The starting and ending indexes of the axis labels can be set using the [start](../api/heatmap/multiLevelCategoriesModel/#start) and [end](../api/heatmap/multiLevelCategoriesModel/#end) properties in the [categories](../api/heatmap/multiLevelCategoriesModel/). The [text](../api/heatmap/multiLevelCategoriesModel/#text) property can be used to specify a name for the grouped axis labels. The multilevel labels can be customized by using the following properties. -* [overflow](../api/heatmap/multiLevelLabels#overflow) - It is used to trim or wrap the multilevel labels when the label overflows the intended space. NOTE: This property is only for x-axis. -* [alignment](../api/heatmap/multiLevelLabels#alignment) - It is used to place and align the multilevel labels. -* [maximumTextWidth](../api/heatmap/multiLevelCategoriesModel#maximumtextwidth) - It is used to set the maximum width of the text. When the text length exceeds the maximum text width, the overflow action will be performed. -* [textStyle](../api/heatmap/multiLevelLabels#textstyle) - It is used to customize the font style of the multilevel labels. -* [border](../api/heatmap/multiLevelLabels#border) - It is used to customize the border of the multilevel labels displayed in the x-axis and y-axis. +* [overflow](../api/heatmap/multiLevelLabels/#overflow) - It is used to trim or wrap the multilevel labels when the label overflows the intended space. NOTE: This property is only for x-axis. +* [alignment](../api/heatmap/multiLevelLabels/#alignment) - It is used to place and align the multilevel labels. +* [maximumTextWidth](../api/heatmap/multiLevelCategoriesModel/#maximumtextwidth) - It is used to set the maximum width of the text. When the text length exceeds the maximum text width, the overflow action will be performed. +* [textStyle](../api/heatmap/multiLevelLabels/#textstyle) - It is used to customize the font style of the multilevel labels. +* [border](../api/heatmap/multiLevelLabels/#border) - It is used to customize the border of the multilevel labels displayed in the x-axis and y-axis. {% tabs %} {% highlight js tabtitle="index.js" %} diff --git a/chart-sdk/javascript/heatmap-chart/bubble-heatmap.md b/chart-sdk/javascript/heatmap-chart/bubble-heatmap.md index 86f2f1701..853615461 100644 --- a/chart-sdk/javascript/heatmap-chart/bubble-heatmap.md +++ b/chart-sdk/javascript/heatmap-chart/bubble-heatmap.md @@ -1,25 +1,26 @@ --- layout: post -title: Bubble heatmap in JavaScript HeatMap Chart | Syncfusion -description: Render JavaScript HeatMap Chart data points as bubbles with size, color, sector, or combined size-and-color attributes for richer visualizations. +title: Bubble heatmap in JavaScript Heatmap chart control | Syncfusion +description: Learn here all about Bubble heatmap in Syncfusion JavaScript Heatmap chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Bubble heatmap +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Bubble heatmap in JavaScript HeatMap Chart +# Bubble heatmap in JavaScript Heatmap chart control Data points represent the data source values with **gradient** or **fixed** colors in the HeatMap. You can customize the appearance of these data points by changing the `color` and `size` attributes. -The data points can be represented in color fill or bubble shape by defining the [tileType](../api/heatmap/cellSettings#tiletype) property. +The data points can be represented in color fill or bubble shape by defining the [tileType](../api/heatmap/cellSettings/#tiletype) property. By default, the data points are color filled with gradient or fixed colors and this depiction of data points is defined as `Rect` in the `tileType` property. -The cell customizations and color mapping for rect tile type is defined in [appearance](./appearance) and [palette](./palette) sections in detail. +The cell customizations and color mapping for rect tile type is defined in [appearance](./appearance/) and [palette](./palette/) sections in detail. ## Bubble types -The data points can be represented in the bubble along with its attributes by setting the [tileType](../api/heatmap/cellSettings#tiletype) property to **Bubble**. +The data points can be represented in the bubble along with its attributes by setting the [tileType](../api/heatmap/cellSettings/#tiletype) property to **Bubble**. In bubble HeatMap, you can display the data points with bubble size, bubble colors, and sector attributes of the bubble. @@ -27,9 +28,9 @@ In bubble HeatMap, you can display the data points with bubble size, bubble colo In this bubble HeatMap type, the size factor of the bubble is used to denote the data variations. The radius of the bubble varies according to data values. -By default, the bubble with small size denotes the data value with small magnitude and the larger bubble size denotes the data value with larger magnitude. This behavior can be inversed by using the [isInversedBubbleSize](../api/heatmap/cellSettings#isinversedbubblesize) property. +By default, the bubble with small size denotes the data value with small magnitude and the larger bubble size denotes the data value with larger magnitude. This behavior can be inversed by using the [isInversedBubbleSize](../api/heatmap/cellSettings/#isinversedbubblesize) property. -To render a bubble HeatMap with size series, set the [bubbleType](../api/heatmap/cellSettings#bubbletype) property to **Size**. +To render a bubble HeatMap with size series, set the [bubbleType](../api/heatmap/cellSettings/#bubbletype) property to **Size**. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -46,7 +47,7 @@ To render a bubble HeatMap with size series, set the [bubbleType](../api/heatmap In HeatMap, defined with this tile type, the data points will be represented with same sized bubbles and the data value variations are represented with the bubble colors. -To represent the data points with variations in bubble colors, set the [bubbleType](../api/heatmap/cellSettings#bubbletype) property to **Color**. +To represent the data points with variations in bubble colors, set the [bubbleType](../api/heatmap/cellSettings/#bubbletype) property to **Color**. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -63,7 +64,7 @@ To represent the data points with variations in bubble colors, set the [bubbleTy In this bubble HeatMap type, the sector of the bubble decides the magnitude of data point. If the sector is large, then the data point value will be high. -To render the data points with bubble sector, set the [bubbleType](../api/heatmap/cellSettings#bubbletype) property to **Sector**. +To render the data points with bubble sector, set the [bubbleType](../api/heatmap/cellSettings/#bubbletype) property to **Sector**. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -78,7 +79,7 @@ To render the data points with bubble sector, set the [bubbleType](../api/heatma ### Combining size and color bubble types -In this bubble HeatMap type, size and color of the bubble represents the data value variation. To render this bubble HeatMap type, set the [bubbleType](../api/heatmap/cellSettings#bubbletype) property to **SizeAndColor**. +In this bubble HeatMap type, size and color of the bubble represents the data value variation. To render this bubble HeatMap type, set the [bubbleType](../api/heatmap/cellSettings/#bubbletype) property to **SizeAndColor**. The following examples demonstrate different data binding with the **SizeAndColor** bubble type set in the HeatMap. @@ -159,7 +160,7 @@ The following example illustrates how to render a bubble HeatMap with different **Binding size and color values from datasource** -The size and color of the bubbles in the **SizeAndColor** bubble HeatMap type can be customized by binding the datasource field name that holds the size and color values to the [size](../api/heatmap/bubbleDataModel#size) and [color](../api/heatmap/bubbleDataModel#color) properties in the [bubbleDataMapping](../api/heatmap/dataModel#bubbledatamapping). +The size and color of the bubbles in the **SizeAndColor** bubble HeatMap type can be customized by binding the datasource field name that holds the size and color values to the [size](../api/heatmap/bubbleDataModel/#size) and [color](../api/heatmap/bubbleDataModel/#color) properties in the [bubbleDataMapping](../api/heatmap/dataModel/#bubbledatamapping). >The `bubbleDataMapping` supports only for the JSON data with cell adaptor type. diff --git a/chart-sdk/javascript/heatmap-chart/dimensions.md b/chart-sdk/javascript/heatmap-chart/dimensions.md index b103ce830..e81dbd866 100644 --- a/chart-sdk/javascript/heatmap-chart/dimensions.md +++ b/chart-sdk/javascript/heatmap-chart/dimensions.md @@ -1,14 +1,15 @@ --- layout: post -title: Dimensions in JavaScript HeatMap Chart | Syncfusion -description: Set the JavaScript HeatMap Chart width and height in pixels or as a percentage of its container for responsive layouts. +title: Dimensions in JavaScript Heatmap chart control | Syncfusion +description: Learn here all about Dimensions in Syncfusion JavaScript Heatmap chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Dimensions +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Dimensions in JavaScript HeatMap Chart +# Dimensions in JavaScript Heatmap chart control ## Size for container @@ -22,7 +23,7 @@ Heat map can be rendered to its container size. You can set the size through inl ## Size for heat map -You can set the size of heat map directly by using the [width](../api/heatmap#width) and [height](../api/heatmap#height) properties. +You can set the size of heat map directly by using the [width](../api/heatmap/#width) and [height](../api/heatmap/#height) properties. ## In Pixel diff --git a/chart-sdk/javascript/heatmap-chart/ej1-api-migration.md b/chart-sdk/javascript/heatmap-chart/ej1-api-migration.md index 9a72af4fb..2405aaf0a 100644 --- a/chart-sdk/javascript/heatmap-chart/ej1-api-migration.md +++ b/chart-sdk/javascript/heatmap-chart/ej1-api-migration.md @@ -1,14 +1,15 @@ --- layout: post -title: Ej1 api migration in JavaScript HeatMap Chart | Syncfusion -description: Migrate Essential JS 1 HeatMap properties, events, and member mappings to their JavaScript HeatMap Chart equivalents in Essential JS 2. +title: Ej1 api migration in JavaScript Heatmap chart control | Syncfusion +description: Learn here all about Ej1 api migration in Syncfusion JavaScript Heatmap chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Ej1 api migration +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Ej1 api migration in JavaScript HeatMap Chart +# Ej1 api migration in JavaScript Heatmap chart control This article describes the API migration process of heat map component from Essential® JS 1 to Essential® JS 2. diff --git a/chart-sdk/javascript/heatmap-chart/events.md b/chart-sdk/javascript/heatmap-chart/events.md index 10fd1b533..a04477286 100644 --- a/chart-sdk/javascript/heatmap-chart/events.md +++ b/chart-sdk/javascript/heatmap-chart/events.md @@ -1,20 +1,21 @@ --- layout: post -title: Events in JavaScript HeatMap Chart | Syncfusion -description: Handle cellClick, cellDoubleClick, cellRender, cellSelected, created, legendRender, load, loaded, resized, and tooltipRender events in JavaScript HeatMap Chart. +title: Events in JavaScript HeatMap chart control | Syncfusion +description: Learn here all about events in Syncfusion JavaScript HeatMap chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Events +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Events in JavaScript HeatMap Chart +# Events in JavaScript HeatMap chart control This section describes the HeatMap chart control event, which occurs when the required actions are performed. ## cellClick -When you click on a HeatMap cell, the [cellClick](../api/heatmap#cellclick) event is triggered. To know more about arguments of this event, refer [here](../api/heatmap/iCellClickEventArgs). +When you click on a HeatMap cell, the [cellClick](../api/heatmap/#cellclick/) event is triggered. To know more about arguments of this event, refer [here](../api/heatmap/iCellClickEventArgs/). {% tabs %} {% highlight js tabtitle="index.js" %} @@ -29,7 +30,7 @@ When you click on a HeatMap cell, the [cellClick](../api/heatmap#cellclick) even ## cellDoubleClick -When you double click on a HeatMap cell, the [cellDoubleClick](../api/heatmap#celldoubleclick) event is triggered. To know more about arguments of this event, refer [here](../api/heatmap/iCellClickEventArgs). +When you double click on a HeatMap cell, the [cellDoubleClick](../api/heatmap/#celldoubleclick/) event is triggered. To know more about arguments of this event, refer [here](../api/heatmap/iCellClickEventArgs/). {% tabs %} {% highlight js tabtitle="index.js" %} @@ -44,7 +45,7 @@ When you double click on a HeatMap cell, the [cellDoubleClick](../api/heatmap#ce ## cellRender -The [cellRender](../api/heatmap#cellrender) event will be triggered before each HeatMap cell is rendered. To know more about arguments of this event, refer [here](../api/heatmap/iCellEventArgs). +The [cellRender](../api/heatmap/#cellrender) event will be triggered before each HeatMap cell is rendered. To know more about arguments of this event, refer [here](../api/heatmap/iCellEventArgs/). {% tabs %} {% highlight js tabtitle="index.js" %} @@ -59,7 +60,7 @@ The [cellRender](../api/heatmap#cellrender) event will be triggered before each ## cellSelected -When single or multiple cells in the HeatMap are selected, the [cellSelected](../api/heatmap#cellselected) event is triggered. To know more about arguments of this event, refer [here](../api/heatmap/iSelectedEventArgs). +When single or multiple cells in the HeatMap are selected, the [cellSelected](../api/heatmap/#cellselected/) event is triggered. To know more about arguments of this event, refer [here](../api/heatmap/iSelectedEventArgs/). {% tabs %} {% highlight js tabtitle="index.js" %} @@ -74,7 +75,7 @@ When single or multiple cells in the HeatMap are selected, the [cellSelected](.. ## created -Once HeatMap has been completely rendered, the [created](../api/heatmap#created) event is triggered. +Once HeatMap has been completely rendered, the [created](../api/heatmap/#created) event is triggered. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -89,7 +90,7 @@ Once HeatMap has been completely rendered, the [created](../api/heatmap#created) ## legendRender -The [legendRender](../api/heatmap#legendrender) event is triggered before the legend is rendered. To know more about arguments of this event, refer [here](../api/heatmap/iLegendRenderEventArgs). +The [legendRender](../api/heatmap/#legendrender/) event is triggered before the legend is rendered. To know more about arguments of this event, refer [here](../api/heatmap/iLegendRenderEventArgs/). {% tabs %} {% highlight js tabtitle="index.js" %} @@ -104,7 +105,7 @@ The [legendRender](../api/heatmap#legendrender) event is triggered before the le ## load -The [load](../api/heatmap#load) event is triggered before the HeatMap is rendered. To know more about arguments of this event, refer [here](../api/heatmap/iLoadedEventArgs). +The [load](../api/heatmap/#load) event is triggered before the HeatMap is rendered. To know more about arguments of this event, refer [here](../api/heatmap/iLoadedEventArgs/). {% tabs %} {% highlight js tabtitle="index.js" %} @@ -119,7 +120,7 @@ The [load](../api/heatmap#load) event is triggered before the HeatMap is rendere ## loaded -Once HeatMap is loaded, the [loaded](../api/heatmap#loaded) event is triggered. To know more about arguments of this event, refer [here](../api/heatmap/iLoadedEventArgs). +Once HeatMap is loaded, the [loaded](../api/heatmap/#loaded/) event is triggered. To know more about arguments of this event, refer [here](../api/heatmap/iLoadedEventArgs/). {% tabs %} {% highlight js tabtitle="index.js" %} @@ -134,7 +135,7 @@ Once HeatMap is loaded, the [loaded](../api/heatmap#loaded) event is triggered. ## resized -When the window is resized, the [resized](../api/heatmap#resized) event is triggered to notify the resize of the HeatMap. To know more about arguments of this event, refer [here](../api/heatmap/iResizeEventArgs). +When the window is resized, the [resized](../api/heatmap/#resized/) event is triggered to notify the resize of the HeatMap. To know more about arguments of this event, refer [here](../api/heatmap/iResizeEventArgs/). {% tabs %} {% highlight js tabtitle="index.js" %} @@ -149,7 +150,7 @@ When the window is resized, the [resized](../api/heatmap#resized) event is trigg ## tooltipRender -The [tooltipRender](../api/heatmap#tooltiprender) event is triggered before the tooltip is rendered on the HeatMap cell. To know more about arguments of this event, refer [here](../api/heatmap/iTooltipEventArgs). +The [tooltipRender](../api/heatmap/#tooltiprender/) event is triggered before the tooltip is rendered on the HeatMap cell. To know more about arguments of this event, refer [here](../api/heatmap/iTooltipEventArgs/). {% tabs %} {% highlight js tabtitle="index.js" %} diff --git a/chart-sdk/javascript/heatmap-chart/getting-started.md b/chart-sdk/javascript/heatmap-chart/getting-started.md index 5aac809ae..8933c46d1 100644 --- a/chart-sdk/javascript/heatmap-chart/getting-started.md +++ b/chart-sdk/javascript/heatmap-chart/getting-started.md @@ -4,6 +4,7 @@ title: ES5 getting started with JavaScript HeatMap component | Syncfusion description: Learn how to create and configure a Syncfusion JavaScript ES5 HeatMap component using CDN resources and data binding. platform: chart-sdk control: HeatMap +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- diff --git a/chart-sdk/javascript/heatmap-chart/how-to/legend-customization.md b/chart-sdk/javascript/heatmap-chart/how-to/legend-customization.md index 6986b6513..cf2e3db73 100644 --- a/chart-sdk/javascript/heatmap-chart/how-to/legend-customization.md +++ b/chart-sdk/javascript/heatmap-chart/how-to/legend-customization.md @@ -1,14 +1,15 @@ --- layout: post -title: Customize legend labels in JavaScript HeatMap Chart | Syncfusion -description: Customize or hide JavaScript HeatMap Chart legend labels by handling the legendRender client-side event to change label text on the fly. +title: Legend customization in JavaScript Heatmap chart control | Syncfusion +description: Learn here all about Legend customization in Syncfusion JavaScript Heatmap chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Legend customization +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# How to customize legend labels in JavaScript HeatMap Chart +# Legend customization in JavaScript Heatmap chart control You can change the legend label using the `legendRender` client-side event. You can also hide the legend label using this client-side event. diff --git a/chart-sdk/javascript/heatmap-chart/how-to/tooltip-template.md b/chart-sdk/javascript/heatmap-chart/how-to/tooltip-template.md index 56442650f..aa60072e1 100644 --- a/chart-sdk/javascript/heatmap-chart/how-to/tooltip-template.md +++ b/chart-sdk/javascript/heatmap-chart/how-to/tooltip-template.md @@ -1,14 +1,15 @@ --- layout: post -title: How to create a table in JavaScript HeatMap Chart | Syncfusion -description: Build a custom table-style tooltip for the JavaScript HeatMap Chart using an HTML template bound to xValue, yValue, and value in the tooltipRender event. +title: Tooltip template in JavaScript Heatmap chart control | Syncfusion +description: Learn here all about Tooltip template in Syncfusion JavaScript Heatmap chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Tooltip template +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# How to create a table in JavaScript HeatMap Chart +# Tooltip template in JavaScript Heatmap chart control You can show a tooltip as a table using the `template` property in `tooltipSettings`. diff --git a/chart-sdk/javascript/heatmap-chart/legend.md b/chart-sdk/javascript/heatmap-chart/legend.md index 27e19d9af..1d84aea19 100644 --- a/chart-sdk/javascript/heatmap-chart/legend.md +++ b/chart-sdk/javascript/heatmap-chart/legend.md @@ -1,16 +1,17 @@ --- layout: post -title: Legend in JavaScript HeatMap Chart | Syncfusion -description: Enable gradient or list legends in the JavaScript HeatMap Chart with placement, alignment, dimensions, paging, smart labels, and selection toggling. +title: Legend in JavaScript Heatmap chart control | Syncfusion +description: Learn here all about Legend in Syncfusion JavaScript Heatmap chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Legend +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Legend in JavaScript HeatMap Chart +# Legend in JavaScript Heatmap chart control -The legend is used to provide the information about the heat map cell. You can enable the legend by setting the [visible](../api/heatmap/legendSettings#visible) property to **true** and injecting the `Legend` module using the `HeatMap.Inject(Legend)`. +The legend is used to provide the information about the heat map cell. You can enable the legend by setting the [visible](../api/heatmap/legendSettings/#visible) property to **true** and injecting the `Legend` module using the `HeatMap.Inject(Legend)`. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -30,7 +31,7 @@ Heat map supports two legend types: Gradient and list type. * Gradient: This is a continuous color legend with smooth color transition between palette color values. * List: List is a fixed color legend. Each palette color information is shown separately in the list item. -You can change the legend type by using the [type](../api/heatmap/paletteSettings#type) property in the `paletteSettings` property. +You can change the legend type by using the [type](../api/heatmap/paletteSettings/#type) property in the `paletteSettings` property. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -45,7 +46,7 @@ You can change the legend type by using the [type](../api/heatmap/paletteSetting ## Placement -You can place the legend at left, right, top, or bottom to the heat map layout by using the [position](../api/heatmap/legendSettings#position)property. The legend is positioned at the right to the heat map by default. +You can place the legend at left, right, top, or bottom to the heat map layout by using the [position](../api/heatmap/legendSettings/#position)property. The legend is positioned at the right to the heat map by default. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -60,7 +61,7 @@ You can place the legend at left, right, top, or bottom to the heat map layout b ## Alignment -You can align the legend as center, far, or near to the heat map using the [alignment](../api/heatmap/legendSettings#alignment) property. +You can align the legend as center, far, or near to the heat map using the [alignment](../api/heatmap/legendSettings/#alignment) property. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -75,7 +76,7 @@ You can align the legend as center, far, or near to the heat map using the [alig ## Legend dimensions -You can change the legend dimensions with values in pixels or percentage by using the [width](../api/heatmap/legendSettings#width) and [height](../api/heatmap/legendSettings#height) properties. +You can change the legend dimensions with values in pixels or percentage by using the [width](../api/heatmap/legendSettings/#width) and [height](../api/heatmap/legendSettings/#height) properties. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -107,9 +108,9 @@ Paging is available only for the list type legend in the heat map, and it can be ## Smart Legend -Smart legend is another way of showing list type legend with responsiveness and readability, when the palette has more number of items. You can enable this smart legend by using the [enableSmartLegend](../api/heatmap/legendSettings#enablesmartlegend) property when the palette type is set to **Fixed**. +Smart legend is another way of showing list type legend with responsiveness and readability, when the palette has more number of items. You can enable this smart legend by using the [enableSmartLegend](../api/heatmap/legendSettings/#enablesmartlegend) property when the palette type is set to **Fixed**. -In smart legend, you can change the display type of legend labels by using the [labelDisplayType](../api/heatmap/legendSettings#labeldisplaytype) property. +In smart legend, you can change the display type of legend labels by using the [labelDisplayType](../api/heatmap/legendSettings/#labeldisplaytype) property. The following are the legend label display types: * All: Displays all labels in the legend. @@ -129,7 +130,7 @@ The following are the legend label display types: ## Legend Selection -In the HeatMap, the legend selection is used to toggle the visibility of cell for view the specific range value. You can enable the legend selection using [toggleVisibility](../api/heatmap/legendSettings#togglevisibility). +In the HeatMap, the legend selection is used to toggle the visibility of cell for view the specific range value. You can enable the legend selection using [toggleVisibility](../api/heatmap/legendSettings/#togglevisibility). {% tabs %} {% highlight js tabtitle="index.js" %} @@ -144,7 +145,7 @@ In the HeatMap, the legend selection is used to toggle the visibility of cell fo ## Legend Title -The legend title displays a specific information about the legend. You can enable the legend title by setting the [title](../api/heatmap/legendSettings#title) property by providing the text and customizing the legend title text style using the [textStyle](../api/heatmap/legendSettings/titleModel#textStyle) property. +The legend title displays a specific information about the legend. You can enable the legend title by setting the [title](../api/heatmap/legendSettings/#title) property by providing the text and customizing the legend title text style using the [textStyle](../api/heatmap/legendSettings/titleModel/#textStyle) property. {% tabs %} {% highlight js tabtitle="index.js" %} diff --git a/chart-sdk/javascript/heatmap-chart/palette.md b/chart-sdk/javascript/heatmap-chart/palette.md index 5e41fab85..acd7ec9ba 100644 --- a/chart-sdk/javascript/heatmap-chart/palette.md +++ b/chart-sdk/javascript/heatmap-chart/palette.md @@ -1,16 +1,17 @@ --- layout: post -title: Palette in JavaScript HeatMap Chart | Syncfusion -description: Apply gradient or fixed color palettes to the JavaScript HeatMap Chart cells, with custom color stops, ranges, and labels for the legend. +title: Palette in JavaScript Heatmap chart control | Syncfusion +description: Learn here all about Palette in Syncfusion JavaScript Heatmap chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Palette +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Palette in JavaScript HeatMap Chart +# Palette in JavaScript Heatmap chart control -In heat map, each data point is displayed as a cell with applied color based on the data value. The palette in the heat map is used to define the color range for cells and gradient type for colors. You can define the colors either in RGB or hex codes using the [color](../api/heatmap/paletteCollection#color) property in the `palette`. The defined colors are applied to the cell background based on the palette type and cell value. +In heat map, each data point is displayed as a cell with applied color based on the data value. The palette in the heat map is used to define the color range for cells and gradient type for colors. You can define the colors either in RGB or hex codes using the [color](../api/heatmap/paletteCollection/#color) property in the `palette`. The defined colors are applied to the cell background based on the palette type and cell value. ## Palette types @@ -18,7 +19,7 @@ You can display the heat map cells either in gradient colors or fixed colors. ### Gradient -The smooth transition between the given palette colors can be applied for the heat map cells based on value. The heat map calculates all the gradient colors between the start and end colors for all distinct data values. Default start color and end color will be considered for gradient calculation, if the colors are not defined. The palette type must be defined as **Gradient** for the [type](../api/heatmap/paletteSettings#type) property in `paletteSettings` property. +The smooth transition between the given palette colors can be applied for the heat map cells based on value. The heat map calculates all the gradient colors between the start and end colors for all distinct data values. Default start color and end color will be considered for gradient calculation, if the colors are not defined. The palette type must be defined as **Gradient** for the [type](../api/heatmap/paletteSettings/#type) property in `paletteSettings` property. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -33,7 +34,7 @@ The smooth transition between the given palette colors can be applied for the he ### Fixed -In fixed palette type, solid colors are applied to the heat map cells. The data values can be grouped based on the number of colors defined for the heat map. The palette type should be defined as **Fixed** for the [type](../api/heatmap/paletteSettings#type) property in the `paletteSettings` property. +In fixed palette type, solid colors are applied to the heat map cells. The data values can be grouped based on the number of colors defined for the heat map. The palette type should be defined as **Fixed** for the [type](../api/heatmap/paletteSettings/#type) property in the `paletteSettings` property. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -48,7 +49,7 @@ In fixed palette type, solid colors are applied to the heat map cells. The data ## Defining color stops -You can define the colors ranges or color stops for data values in both gradient and fixed palette types. You need to define the data value in the `value` property for `palette` property to calculate the color stops. The heat map automatically calculates the color stops if the `value` property is is not defined. The [label](../api/heatmap/paletteCollection#label) property is used to provide the additional information about the color that is to be displayed in the legend. If the label is not provided, the [value](../api/heatmap/paletteCollection#value) is displayed in the legend. The labels can be automatically calculated based on data values, if both the values and labels are not defined. +You can define the colors ranges or color stops for data values in both gradient and fixed palette types. You need to define the data value in the `value` property for `palette` property to calculate the color stops. The heat map automatically calculates the color stops if the `value` property is is not defined. The [label](../api/heatmap/paletteCollection/#label) property is used to provide the additional information about the color that is to be displayed in the legend. If the label is not provided, the [value](../api/heatmap/paletteCollection/#value) is displayed in the legend. The labels can be automatically calculated based on data values, if both the values and labels are not defined. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -97,4 +98,4 @@ You can change the color mode of the cells to fixed or gradient mode using the [ ## See Also -* [How to enable smart legend](./legend#smart-legend) +* [How to enable smart legend](./legend/#smart-legend) diff --git a/chart-sdk/javascript/heatmap-chart/rendering-mode.md b/chart-sdk/javascript/heatmap-chart/rendering-mode.md index 0c934a17c..27b2ebac2 100644 --- a/chart-sdk/javascript/heatmap-chart/rendering-mode.md +++ b/chart-sdk/javascript/heatmap-chart/rendering-mode.md @@ -1,17 +1,18 @@ --- layout: post -title: Rendering mode in JavaScript HeatMap Chart | Syncfusion -description: Switch the JavaScript HeatMap Chart rendering between SVG, Canvas, or automatic mode to optimize performance for large or small datasets. +title: Rendering mode in JavaScript Heatmap chart control | Syncfusion +description: Learn here all about Rendering mode in Syncfusion JavaScript Heatmap chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Rendering mode +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Rendering mode in JavaScript HeatMap Chart +# Rendering mode in JavaScript Heatmap chart control Heat map can be displayed using **Canvas** or **Scalable Vector Graphics (SVG)** rendering logic to improve the initial load performance and scalability. Heat map can also be automatically switched between **Canvas** and **SVG** modes based on dataset size. You can enable this mode by -setting the [renderingMode](../api/heatmap#renderingmode) property as **Auto**. +setting the [renderingMode](../api/heatmap/#renderingmode) property as **Auto**. > If the `Auto` mode is enabled in the heat map and there are more than 10,000 data points, then the heat map will be rendered in a `Canvas` mode; Otherwise, the heat map will be rendered in a `SVG` mode. diff --git a/chart-sdk/javascript/heatmap-chart/selection.md b/chart-sdk/javascript/heatmap-chart/selection.md index 21ca6e6f5..8789974be 100644 --- a/chart-sdk/javascript/heatmap-chart/selection.md +++ b/chart-sdk/javascript/heatmap-chart/selection.md @@ -1,16 +1,17 @@ --- layout: post -title: Selection in JavaScript HeatMap Chart | Syncfusion -description: Enable single or multiple cell selection in the JavaScript HeatMap Chart with mouse, touch, and keyboard interactions and clear selection support. +title: Selection in JavaScript Heatmap chart control | Syncfusion +description: Learn here all about Selection in Syncfusion JavaScript Heatmap chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Selection +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Selection in JavaScript HeatMap Chart +# Selection in JavaScript Heatmap chart control -In the HeatMap, the cell selection is used to select single or multiple HeatMap cells at runtime and get the selected cell details using the [cellSelected](../api/heatmap#cellselected) event. You can enable the cell selection using the [allowSelection](../api/heatmap#allowselection) property. +In the HeatMap, the cell selection is used to select single or multiple HeatMap cells at runtime and get the selected cell details using the [cellSelected](../api/heatmap/#cellselected) event. You can enable the cell selection using the [allowSelection](../api/heatmap/#allowselection) property. The HeatMap cells can be selected using the following interactions, as shown in the table below. @@ -33,7 +34,7 @@ The HeatMap cells can be selected using the following interactions, as shown in ## Enable single cell selection -In the HeatMap, the [enableMultiSelect](../api/heatmap#enablemultiselect) property is used to allow single cell selection. When you set the `enableMultiSelect` property to **false**, only one cell is selected. By default, `enableMultiSelect` property is set to **true**. +In the HeatMap, the [enableMultiSelect](../api/heatmap/#enablemultiselect) property is used to allow single cell selection. When you set the `enableMultiSelect` property to **false**, only one cell is selected. By default, `enableMultiSelect` property is set to **true**. {% tabs %} {% highlight js tabtitle="index.js" %} diff --git a/chart-sdk/javascript/heatmap-chart/tooltip.md b/chart-sdk/javascript/heatmap-chart/tooltip.md index 3258b1efc..92dda668c 100644 --- a/chart-sdk/javascript/heatmap-chart/tooltip.md +++ b/chart-sdk/javascript/heatmap-chart/tooltip.md @@ -1,20 +1,21 @@ --- layout: post -title: Tooltip in JavaScript HeatMap Chart | Syncfusion -description: Show default, templated, or styled tooltips on the JavaScript HeatMap Chart by configuring the tooltip module and tooltipRender event. +title: Tooltip in JavaScript Heatmap chart control | Syncfusion +description: Learn here all about Tooltip in Syncfusion JavaScript Heatmap chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Tooltip +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Tooltip in JavaScript HeatMap Chart +# Tooltip in JavaScript Heatmap chart control Tooltip is used to provide the details of the heat map cell, and this can be displayed, while hovering the cursor over the cell or performing tap action in touch devices. ## Default Tooltip -You can enable the tooltip by setting the [showTooltip](../api/heatmap#showtooltip) property to **true** and injecting the `Tooltip` module using the `HeatMap.Inject(Tooltip)`. +You can enable the tooltip by setting the [showTooltip](../api/heatmap/#showtooltip) property to **true** and injecting the `Tooltip` module using the `HeatMap.Inject(Tooltip)`. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -29,7 +30,7 @@ You can enable the tooltip by setting the [showTooltip](../api/heatmap#showtoolt ## Tooltip template -In heat map, you can customize the tooltip using the [tooltipRender](../api/heatmap#tooltiprender) client-side event. +In heat map, you can customize the tooltip using the [tooltipRender](../api/heatmap/#tooltiprender) client-side event. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -44,7 +45,7 @@ In heat map, you can customize the tooltip using the [tooltipRender](../api/heat ## Customize the appearance of Tooltip -The [fill](../api/heatmap/tooltipSettings#fill) and [border](../api/heatmap/tooltipSettings#border) properties are used to customize the background color and border of the tooltip respectively. The [textStyle](../api/heatmap/tooltipSettings#textStyle) property in the tooltip is used to customize the font of the tooltip text. +The [fill](../api/heatmap/tooltipSettings/#fill) and [border](../api/heatmap/tooltipSettings/#border) properties are used to customize the background color and border of the tooltip respectively. The [textStyle](../api/heatmap/tooltipSettings/#textStyle) property in the tooltip is used to customize the font of the tooltip text. {% tabs %} {% highlight js tabtitle="index.js" %} diff --git a/chart-sdk/javascript/heatmap-chart/working-with-data.md b/chart-sdk/javascript/heatmap-chart/working-with-data.md index 24fb55e5b..7d4cac907 100644 --- a/chart-sdk/javascript/heatmap-chart/working-with-data.md +++ b/chart-sdk/javascript/heatmap-chart/working-with-data.md @@ -1,14 +1,15 @@ --- layout: post -title: Working with data in JavaScript HeatMap Chart | Syncfusion -description: Bind data to the JavaScript HeatMap Chart from JSON objects or two-dimensional arrays using array or cell adaptors with nested data mapping support. +title: Working with data in JavaScript Heatmap chart control | Syncfusion +description: Learn here all about Working with data in Syncfusion JavaScript Heatmap chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Working with data +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Working with data in JavaScript HeatMap Chart +# Working with data in JavaScript Heatmap chart control Heat map visualizes the JSON data and two-dimensional array data. Using the data adaptor support, data can be bound to the heat map. @@ -26,7 +27,7 @@ Heat map supports the following types of data binding with the adaptor support. ### Array - table binding This data type is a collection of one dimensional array objects, at which each inner array contains data points for an X-axis data label. -This is the default data binding type for heat map. You can also directly bind the array object to the [dataSource](../api/heatmap#datasource) property. +This is the default data binding type for heat map. You can also directly bind the array object to the [dataSource](../api/heatmap/#datasource) property. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -41,7 +42,7 @@ This is the default data binding type for heat map. You can also directly bind t ### Array - cell binding -This data type is a collection of array objects that contain information about the row index, column index, and data value for each cell. You can bind the data to heat map by using the [data](../api/heatmap/data#data) property in the [dataSource](../api/heatmap#datasource) and setting the [adaptorType](../api/heatmap/data#adaptortype) property to **Cell**. +This data type is a collection of array objects that contain information about the row index, column index, and data value for each cell. You can bind the data to heat map by using the [data](../api/heatmap/data/#data) property in the [dataSource](../api/heatmap/#datasource) and setting the [adaptorType](../api/heatmap/data/#adaptortype) property to **Cell**. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -57,7 +58,7 @@ This data type is a collection of array objects that contain information about t ### JSON data - table binding In JSON table data binding, each JSON object contains an X-axis data point as row header and all the corresponding Y-axis data values. -You can bind the JSON table data to the heat map using the [data](../api/heatmap/data#data) property in [dataSource](../api/heatmap#datasource). To achieve this, you should enable the [isJsonData](../api/heatmap/data#isjsondata) property and define the [adaptorType](../api/heatmap/data#adaptortype)property as **Table**. The [xDataMapping](../api/heatmap/data#xdatamapping) property is used to map the row header in JSON data. +You can bind the JSON table data to the heat map using the [data](../api/heatmap/data/#data) property in [dataSource](../api/heatmap/#datasource). To achieve this, you should enable the [isJsonData](../api/heatmap/data/#isjsondata) property and define the [adaptorType](../api/heatmap/data/#adaptortype)property as **Table**. The [xDataMapping](../api/heatmap/data/#xdatamapping) property is used to map the row header in JSON data. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -72,7 +73,7 @@ You can bind the JSON table data to the heat map using the [data](../api/heatmap ### JSON data - Cell binding -In JSON cell data binding, each JSON object consists a value for each cell along with a mapping value for row and column. You can bind the JSON cell data having information for each cell to the heat map using the [data](../api/heatmap/data#data) property in [dataSource](../api/heatmap#datasource). To achieve this, you should define the [adaptorType](../api/heatmap/data#adaptortype) property as **Cell**, and enable the [isJsonData](../api/heatmap/data#isjsondata) property. Now, map the fields of data by using the [valueMapping](../api/heatmap/data#valuemapping), [xDataMapping](../api/heatmap/data#xdatamapping) and [yDataMapping](../api/heatmap/data#ydatamapping) properties. +In JSON cell data binding, each JSON object consists a value for each cell along with a mapping value for row and column. You can bind the JSON cell data having information for each cell to the heat map using the [data](../api/heatmap/data/#data) property in [dataSource](../api/heatmap/#datasource). To achieve this, you should define the [adaptorType](../api/heatmap/data/#adaptortype) property as **Cell**, and enable the [isJsonData](../api/heatmap/data/#isjsondata) property. Now, map the fields of data by using the [valueMapping](../api/heatmap/data/#valuemapping), [xDataMapping](../api/heatmap/data/#xdatamapping) and [yDataMapping](../api/heatmap/data/#ydatamapping) properties. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -87,7 +88,7 @@ In JSON cell data binding, each JSON object consists a value for each cell along ## Empty points -The data points that use the **null** or **undefined** or empty string as value are considered as empty points. Empty data points are ignored and not displayed in the heat map, and these points are rendered with default palette. You can customize the empty data point color value using the [emptyPointColor](../api/heatmap/paletteSettings#emptypointcolor) property. +The data points that use the **null** or **undefined** or empty string as value are considered as empty points. Empty data points are ignored and not displayed in the heat map, and these points are rendered with default palette. You can customize the empty data point color value using the [emptyPointColor](../api/heatmap/paletteSettings/#emptypointcolor) property. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -102,7 +103,7 @@ The data points that use the **null** or **undefined** or empty string as value ## Binding nested JSON data -In complex data binding, you can bind the nested JSON data to the data points in the heat map. The nested data can be mapped using the [xDataMapping](../api/heatmap/data#xdatamapping), [yDataMapping](../api/heatmap/data#ydatamapping), [valueMapping](../api/heatmap/data#valuemapping) and [bubbleDataMapping](../api/heatmap/data#bubbledatamapping) properties as string value concatenated by a dot. +In complex data binding, you can bind the nested JSON data to the data points in the heat map. The nested data can be mapped using the [xDataMapping](../api/heatmap/data/#xdatamapping), [yDataMapping](../api/heatmap/data/#ydatamapping), [valueMapping](../api/heatmap/data/#valuemapping) and [bubbleDataMapping](../api/heatmap/data/#bubbledatamapping) properties as string value concatenated by a dot. {% tabs %} {% highlight js tabtitle="index.js" %} @@ -117,4 +118,4 @@ In complex data binding, you can bind the nested JSON data to the data points in ## See Also -* [To bind data for bubble heat map with size and color attributes](./bubble-heatmap#binding-data-for-bubble-heat-map-with-size-and-color-attributes) +* [To bind data for bubble heat map with size and color attributes](./bubble-heatmap/#binding-data-for-bubble-heat-map-with-size-and-color-attributes) diff --git a/chart-sdk/javascript/linear-gauge/accessibility.md b/chart-sdk/javascript/linear-gauge/accessibility.md index 0976dc7e8..8410fa943 100644 --- a/chart-sdk/javascript/linear-gauge/accessibility.md +++ b/chart-sdk/javascript/linear-gauge/accessibility.md @@ -1,14 +1,15 @@ --- layout: post -title: Accessibility in JavaScript Linear Gauge | Syncfusion -description: Learn about the accessibility features of the JavaScript Linear Gauge, including ARIA attributes, screen reader support, and WCAG compliance. +title: Accessibility in JavaScript Linear Gauge control | Syncfusion +description: Learn here all about Accessibility in Syncfusion JavaScript Linear Gauge control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Linear Gauge +control: Accessibility +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Accessibility in JavaScript Linear Gauge +# Accessibility in JavaScript Linear Gauge control The Linear Gauge control follows commonly used accessibility guidelines and standards, such as [ADA](https://www.ada.gov/), [Section 508](https://www.section508.gov/), [WCAG 2.2](https://www.w3.org/TR/WCAG22/) standards, and [WCAG roles](https://www.w3.org/TR/wai-aria/#roles). diff --git a/chart-sdk/javascript/linear-gauge/animation.md b/chart-sdk/javascript/linear-gauge/animation.md index eccecfd98..519ffbecf 100644 --- a/chart-sdk/javascript/linear-gauge/animation.md +++ b/chart-sdk/javascript/linear-gauge/animation.md @@ -1,14 +1,15 @@ --- layout: post -title: Animation in JavaScript Linear Gauge | Syncfusion -description: Animate the elements of the JavaScript Linear Gauge, including axis lines, ticks, labels, ranges, pointers, and annotations. +title: Animation in JavaScript Linear Gauge control | Syncfusion +description: Learn here all about animation in the Syncfusion JavaScript Linear Gauge control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Linear Gauge +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Animation in JavaScript Linear Gauge +# Animation in JavaScript Linear Gauge control All of the elements in the Linear Gauge, such as the axis lines, ticks, labels, ranges, pointers, and annotations, can be animated sequentially by using the [animationDuration](../api/linear-gauge#animationduration) property. The animation for the Linear Gauge is enabled when the `animationDuration` property is set to an appropriate value in milliseconds, providing a smooth rendering effect for the control. If the `animationDuration` property is set to **0**, which is the default value, the animation effect is disabled. If the animation is enabled, the control will behave in the following order. diff --git a/chart-sdk/javascript/linear-gauge/annotations.md b/chart-sdk/javascript/linear-gauge/annotations.md index c6ae6c1f1..a8171f689 100644 --- a/chart-sdk/javascript/linear-gauge/annotations.md +++ b/chart-sdk/javascript/linear-gauge/annotations.md @@ -1,20 +1,21 @@ --- layout: post -title: Annotations in JavaScript Linear Gauge | Syncfusion -description: Add text, image, or HTML annotations to the Syncfusion JavaScript Linear Gauge and customize position, alignment, and z-index. +title: Annotations in JavaScript Linear gauge control | Syncfusion +description: Learn here all about Annotations in Syncfusion JavaScript Linear gauge control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Linear Gauge +control: Annotations +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Annotations in JavaScript Linear Gauge +# Annotations in JavaScript Linear gauge control Annotations are used to mark the specific area of interest in the Linear Gauge with text, HTML elements, or images. Any number of annotations can be added to the Linear Gauge component. ## Adding annotation -To render the custom HTML elements in the Linear Gauge component, use the [`content`](../api/linear-gauge/annotation#content) property in the [`annotations`](../api/linear-gauge/annotation). The annotation can be rendered either by specifying the id of the element or specifying the code to create a new element that needs to be displayed in the gauge area. +To render the custom HTML elements in the Linear Gauge component, use the [`content`](../api/linear-gauge/annotation/#content) property in the [`annotations`](../api/linear-gauge/annotation). The annotation can be rendered either by specifying the id of the element or specifying the code to create a new element that needs to be displayed in the gauge area. ``` +``` -## Bind the template to the data label +**Step 2**: -Map a field from your data source to the data label's [`name`](https://ej2.syncfusion.com/react/documentation/api/chart/datalabelsettingsmodel#name) property so the template can read it from `args.point`, and assign the JSX function to the data label's [`template`](https://ej2.syncfusion.com/react/documentation/api/chart/datalabelsettingsmodel#template) property. Because data label configuration in this example is declared under `marker`, set both properties on `marker.dataLabel` and pass the resulting `marker` object to the series. - -In the example below, the `color` field of each data row is mapped via `marker.dataLabel.name`, and the inline `chartTemplate` function is passed to `marker.dataLabel.template`: +To show that datalabel template, set the element id to the `template` property in datalabel. {% tabs %} {% highlight js tabtitle="index.jsx" %} @@ -41,27 +44,4 @@ In the example below, the `color` field of each data row is mapped via `marker.d {% endhighlight %} {% endtabs %} -{% previewsample "https://help.syncfusion.com/code-snippet/chart-sdk/react/charts/preview-sample/datalabel-cs1" %} - -### Available arguments - -Inside the template renderer (the function you pass to `dataLabel.template`), you can read the following fields from the `args.point` object: - -| Argument | Description | -| --- | --- | -| `args.point.x` | The x value of the current data point (matches the bound axis data type). | -| `args.point.y` | The y value of the current data point. | -| `args.point.index` | The zero-based index of the point in its series. | -| `args.point.text` | The text resolved from the field mapped to `dataLabel.name`. | - -## Troubleshooting - -- **"The data-label template is blank"**: Confirm that `visible` is set to `true` in `marker.dataLabel`, the `DataLabel` module is included in the injected services, and the renderer function is assigned to `dataLabel.template`. - -- **"`args.point.text` is `undefined`"**: Confirm that `dataLabel.name` contains the name of a valid data-source field and that each applicable data item contains that field. - -## See also - -* [Getting started](../getting-started) -* [Data label](../data-labels) -* [Tooltip template](../tool-tip) \ No newline at end of file +{% previewsample "https://help.syncfusion.com/code-snippet/chart-sdk/react/charts/preview-sample/datalabel-cs1" %} \ No newline at end of file diff --git a/chart-sdk/react/charts/how-to/footer.md b/chart-sdk/react/charts/how-to/footer.md index 55e2785cf..33a9a3837 100644 --- a/chart-sdk/react/charts/how-to/footer.md +++ b/chart-sdk/react/charts/how-to/footer.md @@ -1,42 +1,24 @@ --- layout: post -title: How to add a footer in React Charts | Syncfusion -description: Learn how to add a footer to Syncfusion React Charts using custom HTML annotations on the chart area. +title: Footer in React Chart component | Syncfusion +description: Learn here all about Footer in Syncfusion React Chart component of Syncfusion Essential JS 2 and more. control: Footer platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# How to add a footer in React Charts +# Footer in React Chart component -You can place any HTML element on the chart in a desired position by using [`Annotations`](https://ej2.syncfusion.com/react/documentation/api/chart/index-default#annotations). A footer is just one common use case; the same approach also works for watermarks, custom titles, or any HTML layer drawn over the plot area. +By using `annotation`, you can place any html elements to chart in a desired view. -## Add the annotation +To create footer and watermark for chart, follow the given steps: -The `content` option of `AnnotationDirective` is a JSX function reference, not the `id` string of a DOM element. Define a regular React function returning the JSX you want displayed, then pass that function as `content`: +**Step 1**: -``` -const content = chartTemplate; -function chartTemplate() { - return (); -} -``` +Initialize the custom elements by using the `annotation` property. -Each annotation is then declared as an `` child of `` inside ``. - -## Choose the coordinate system - -The example declares two annotations: one inside the plot area (a watermark) and one near the chart edge (the footer). They differ only in `coordinateUnits`: - -| Coordinate unit | Use case | Meaning of `x` and `y` | -| --- | --- | --- | -| `'Pixel'` | Positioning an annotation at a visual location within the selected annotation region. | Pixel offsets from the region’s coordinate origin. | -| `'Point'` | Attaching an annotation to a data location. | Values interpreted by the associated x-axis and y-axis. Their types must match the axis configurations. | - -The complete example below declares one annotation in `Pixel` mode (the footer at `x={440}`, `y={600}`) and one in `Point` mode (the watermark at `x='Wed'`, `y={20}`) so both patterns are visible at once. +By using the `content` option of the annotation object, you can specify the id of the element that needs to be displayed in the chart area as follow, {% tabs %} {% highlight js tabtitle="index.jsx" %} @@ -53,17 +35,4 @@ The complete example below declares one annotation in `Pixel` mode (the footer a {% endhighlight %} {% endtabs %} -{% previewsample "https://help.syncfusion.com/code-snippet/chart-sdk/react/charts/preview-sample/how-to-cs2" %} - -## Troubleshooting - -* **"Annotation does not render at all"** — `ChartAnnotation` is missing from the `` array, or the `AnnotationsDirective` is placed outside ``. -* **"The annotation is offset by exactly the chart's left/top margins"** — you are using `coordinateUnits='Pixel'` but the chart has a legend or title pushing the plot area over. Switch to `'Point'` (and pass data values), or recompute the pixel values after layout settles. -* **"Multiple annotations overlap or stack on top of each other"** — the example uses two `AnnotationDirective` entries with different `x`/`y`. Make sure each has its own `(x, y)` pair and that they do not coincide. -* **"The annotation is configured but not visible"**: Confirm that its pixel coordinates fall within the selected annotation region. For example, `y={600}` will not be visible when the chart or region is shorter than 600 pixels. - -## See also - -* [Chart annotations](../chart-annotations) -* [Getting started](../getting-started) -* [Title and subtitle](../title-subtitle) \ No newline at end of file +{% previewsample "https://help.syncfusion.com/code-snippet/chart-sdk/react/charts/preview-sample/how-to-cs2" %} \ No newline at end of file diff --git a/chart-sdk/react/charts/how-to/grid-data-chart.md b/chart-sdk/react/charts/how-to/grid-data-chart.md index 161a5bbdf..2ea95ef8a 100644 --- a/chart-sdk/react/charts/how-to/grid-data-chart.md +++ b/chart-sdk/react/charts/how-to/grid-data-chart.md @@ -1,45 +1,27 @@ --- layout: post -title: How to visualize Grid data in React Charts | Syncfusion -description: Learn how to visualize data from a Syncfusion React Grid in Syncfusion React Charts by using the Grid's actionComplete and dataBound events. +title: Grid data chart in React Chart component | Syncfusion +description: Learn here all about Grid data chart in Syncfusion React Chart component of Syncfusion Essential JS 2 and more. control: Grid data chart platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# How to visualize Grid data in React Charts +# Grid data chart in React Chart component -You can render a Syncfusion React Grid and a Syncfusion React Chart side by side and keep the chart in sync with the page the user is currently viewing in the Grid. The pattern uses two refs plus the Grid's [`actionComplete`](https://ej2.syncfusion.com/react/documentation/api/grid/index-default#actioncomplete) and [`dataBound`](https://ej2.syncfusion.com/react/documentation/api/grid/index-default#databound) events. +You can visualize the data that returned by grid in chart. -## Set up the Grid with paging +To visualize the data in chart, follow the given steps: -Initialize the `GridComponent` with a `dataSource` and `allowPaging={true}`, plus a `pageSettings` object (for example, `{ pageSize: 10 }`). Define the columns inside `` and add the [`Page`](https://ej2.syncfusion.com/react/documentation/api/grid/page) services to the Grid's `` array. +**Step 1**: -## After paging +Initialize the grid with datasource. -Use the Grid's [`actionComplete`](https://ej2.syncfusion.com/react/documentation/api/grid/index-default#actioncomplete) event together with the [`getCurrentViewRecords()`](https://ej2.syncfusion.com/react/documentation/api/grid/index-default#getcurrentviewrecords) method to retrieve the records of the current page. Refresh the chart only when paging caused the change — checking `args.requestType === 'paging'` keeps sort, filter, and search actions from triggering redundant refreshes. +**Step 2**: -``` -function actionComplete(args) { - if (args.requestType === 'paging') { - chart.series[0].dataSource = grid.getCurrentViewRecords(); - chart.refresh(); - } -} -``` - -## On initial bind - -Use the Grid's [`dataBound`](https://ej2.syncfusion.com/react/documentation/api/grid/index-default#databound) event to push the current view records into the chart the first time the Grid finishes loading, so the chart is not empty on the initial render. - -``` -function dataBound(args) { - chart.series[0].dataSource = grid.getCurrentViewRecords(); -} -``` - -The included `datasource` files define the Grid's `dataSource` (an array of `OrderDate`, `ShippedDate`, and `Freight` fields). The chart series reads `OrderDate` as its `xName` and `Freight` as its `yName`. +By using the grid’s `actionComplete` event and `getCurrentViewRecords` method, you can get the current page records. +By using the grid’s `databound` event, you can update the current page records into the chart’s datasource and visualize the grid data in chart. {% tabs %} {% highlight js tabtitle="index.jsx" %} @@ -56,16 +38,4 @@ The included `datasource` files define the Grid's `dataSource` (an array of `Ord {% endhighlight %} {% endtabs %} -{% previewsample "https://help.syncfusion.com/code-snippet/chart-sdk/react/charts/preview-sample/grid-visual-cs2" %} - -## Troubleshooting - -* **"Refs are `undefined` inside the events"** — confirm the `ref={g => grid = g}` and `ref={g => chart = g}` callbacks are present on the Grid and Chart components. Without them, the bridge has no way to push data into the chart. -* **"The chart is empty on first render"** — make sure the `dataBound` handler is bound to the Grid (`dataBound={dataBound.bind(this)}`) and that it pushes the result of `getCurrentViewRecords()` into `chart.series[0].dataSource`. -* **"Page count does not match the chart"** — paging and chart refresh are decoupled here. If you customize the page size, make sure the chart's `primaryXAxis` still maps to the fields returned by `getCurrentViewRecords()`. - -## See also - -* [Getting started](../getting-started) -* [Chart annotations](../chart-annotations) -* [Tooltip template](../tool-tip) \ No newline at end of file +{% previewsample "https://help.syncfusion.com/code-snippet/chart-sdk/react/charts/preview-sample/grid-visual-cs2" %} \ No newline at end of file diff --git a/chart-sdk/react/charts/how-to/legend-customization.md b/chart-sdk/react/charts/how-to/legend-customization.md index c25d6e3de..0bec626e9 100644 --- a/chart-sdk/react/charts/how-to/legend-customization.md +++ b/chart-sdk/react/charts/how-to/legend-customization.md @@ -1,37 +1,23 @@ --- layout: post -title: How to customize legend in React Charts | Syncfusion -description: Learn how to customize legend per series in Syncfusion React Charts for a more meaningful legend display. +title: Legend customization in React Chart component | Syncfusion +description: Learn here all about Legend customization in Syncfusion React Chart component of Syncfusion Essential JS 2 and more. control: Legend customization platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# How to customize legend in React Charts +# Legend customization in React Chart component -To change the legend shape per series, hook the [`legendRender`](https://ej2.syncfusion.com/react/documentation/api/chart#legendrender) callback on the chart and assign `args.shape`. The callback fires once per legend entry and lets you pick a different shape for each one. +By using the [`legendRender`](https://ej2.syncfusion.com/react/documentation/api/chart/chartModel#legendrender), you can customize the legend shape. -## Customize the shape +To Customize the legend shape, follow the given steps: -The `legendRender` callback receives an `args` object whose `args.text` is the series `name` and whose `args.shape` is the legend-shape string you want to use. Assign a new value to `args.shape` to override the default. The example maps two series to two different shapes: +**Step 1**: -``` -const legendRender = (args) => { - if (args.text === 'Renewable') { - args.shape = 'Circle'; - } - else if (args.text === 'Non-Renewable') { - args.shape = 'Triangle'; - } -}; -``` - -Bind the callback on the ``: - -``` - -``` +Set the shape value for each legend using `args.shape` in +[`legendRender`](https://ej2.syncfusion.com/react/documentation/api/chart/chartModel#legendrender) event. {% tabs %} {% highlight js tabtitle="index.jsx" %} @@ -49,14 +35,3 @@ Bind the callback on the ``: {% endtabs %} {% previewsample "https://help.syncfusion.com/code-snippet/chart-sdk/react/charts/preview-sample/how-to-cs4" %} - -## Troubleshooting - -* **"The legend does not appear at all"** — `Legend` is missing from the chart's `` array, or the chart has `legendSettings.visible: false`. -* **"All shapes look the same regardless of the callback"** — the `legendRender` prop is not bound on ``, or the callback assigns `args.shape` but returns before the assignment is reached. Make sure the assignment is on a code path that runs for every expected `args.text`. - -## See also - -* [Getting started](../getting-started) -* [Legend](../legend) -* [Chart annotations](../chart-annotations) \ No newline at end of file diff --git a/chart-sdk/react/charts/how-to/live-chart.md b/chart-sdk/react/charts/how-to/live-chart.md index 6274b3a32..7a9363827 100644 --- a/chart-sdk/react/charts/how-to/live-chart.md +++ b/chart-sdk/react/charts/how-to/live-chart.md @@ -1,63 +1,26 @@ --- layout: post -title: How to create a live chart in React Charts | Syncfusion -description: Learn how to create a live Syncfusion React Charts that updates with new data in real time for dynamic dashboards and monitoring. -control: Live chart +title: Live chart in React Chart component | Syncfusion +description: Learn here all about Live chart in Syncfusion React Chart component of Syncfusion Essential JS 2 and more. +control: Live chart platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# How to create a live chart in React Charts +# Live chart in React Chart component -A live chart updates its series as new data arrives. The pattern is to seed an array with initial points and then, on a recurring timer (here, `setTimeout`), push a new point onto the end of the array and `shift` the oldest one off. After modifying the array, assign it to `args.chart.series[0].dataSource` so that the series receives the updated data. If updates are managed outside the chart event life cycle, refresh the chart after changing its data source when required. +You can update a chart with live data by using the set interval. -## Initialize the chart with seed data +To update live data in a chart, follow the given steps: -Build a seed array before the chart first renders. The example pre-fills 50 points: +**Step 1**: -``` -let series1 = []; -let value = 10; -for (let i = 0; i < 50; i++) { - if (Math.random() > 0.5) { - value += Math.random() * 2.0; - } - series1[i] = { x: i, y: value }; -} -``` +Initialize the chart with series. -Pass that array to the series: +**Step 2**: -``` - -``` - -## Update the data on a timer - -In the `loaded` event handler, schedule an update with `setTimeout`. During each update, append a new point, remove the oldest point, and assign the updated array to the series data source. - -``` -function loaded(args) { - intervalId = setTimeout(() => { - if (Math.random() > 0.5) { - value += Math.random() * 2.0; - } - i++; - series1.push({ x: i, y: value }); - series1.shift(); - args.chart.series[0].dataSource = series1; - }, setTimeoutValue); -} -``` - -After modifying the array, assign it to `args.chart.series[0].dataSource` so that the series receives the updated data. If updates are managed outside the chart event life cycle, refresh the chart after updating the data source when required. - -## Stop the timer on unmount - -Clear the pending timeout when the component unmount so that updates do not continue after the chart is removed. - -The complete example below ties the seed array, the recurring `setTimeout`, and the chart together. +Update the data to series using set interval, and shift the data in the series to make the series look like moving. {% tabs %} {% highlight js tabtitle="index.jsx" %} @@ -68,16 +31,4 @@ The complete example below ties the seed array, the recurring `setTimeout`, and {% endhighlight %} {% endtabs %} -{% previewsample "https://help.syncfusion.com/code-snippet/chart-sdk/react/charts/preview-sample/how-to-cs5" %} - -## Troubleshooting - -* **The chart updates once and then stops:** Confirm that the chart raises the `loaded` event again after the series is updated. If updates are controlled independently of the chart life cycle, use a self-scheduling `setTimeout` or `setInterval`, and cancel the timer when the component unmount. -* **Memory usage grows over time** — Ensure that each call to `push` is paired with a call to `shift`. Keeping the array bounded prevents the chart from rendering an continuously increasing number of points. -* **Updates continue after the chart is removed** — Store the timer identifier and cancel it when the component unmount. Use `clearTimeout` for `setTimeout` or `clearInterval` for `setInterval`. - -## See also - -* [Getting started](../getting-started) -* [Dynamic data update](../dynamic-data-update) -* [Chart annotations](../chart-annotations) \ No newline at end of file +{% previewsample "https://help.syncfusion.com/code-snippet/chart-sdk/react/charts/preview-sample/how-to-cs5" %} \ No newline at end of file diff --git a/chart-sdk/react/charts/how-to/marker-customization.md b/chart-sdk/react/charts/how-to/marker-customization.md index fb36aa417..70d1d98ec 100644 --- a/chart-sdk/react/charts/how-to/marker-customization.md +++ b/chart-sdk/react/charts/how-to/marker-customization.md @@ -1,33 +1,23 @@ --- layout: post -title: How to customize marker shape in React Charts | Syncfusion -description: Learn how to customize marker shape per data point in Syncfusion React Charts series for richer visual cues. +title: Marker customization in React Chart component | Syncfusion +description: Learn here all about Marker customization in Syncfusion React Chart component of Syncfusion Essential JS 2 and more. control: Marker customization platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# How to customize marker shape in React Charts +# Marker customization in React Chart component -To set a different marker shape for every data point in a series, hook the [`pointRender`](https://ej2.syncfusion.com/react/documentation/api/chart#pointrender) callback on the chart and assign `args.shape` based on the data point. The callback fires once per data point and lets you pick a different shape for each one. +By using the [`pointRender`](https://ej2.syncfusion.com/react/documentation/api/chart/chartModel#pointrender), you can customize the marker shape. -## Customize the shape per data point +To Customize the marker shape, follow the given steps: -The `pointRender` callback receives an `args` object whose `args.point` describes the current data point (for example, `args.point.index`, `args.point.x`, `args.point.y`). Assign a value to `args.shape` to override the default for that point. The example uses an array indexed by `args.point.index`: +**Step 1**: -``` -const pointRender = (args) => { - const shapes = ['Diamond', 'Circle', 'Rectangle', 'Line', 'Triangle', 'Rectangle']; - args.shape = shapes[args.point.index]; -}; -``` - -Bind the callback on the ``: - -``` - -``` +Customize the marker shape in each data point by using the [`pointRender`](https://ej2.syncfusion.com/react/documentation/api/chart/chartModel#pointrender) event. +Using this event, you can set the `shape` value to the argument. {% tabs %} {% highlight js tabtitle="index.jsx" %} @@ -44,16 +34,4 @@ Bind the callback on the ``: {% endhighlight %} {% endtabs %} -{% previewsample "https://help.syncfusion.com/code-snippet/chart-sdk/react/charts/preview-sample/how-to-cs6" %} - -## Troubleshooting - -* **"All markers look the same regardless of the callback"** — `pointRender` is not bound on ``, or the `marker.visible` flag is `false`. Both are required: the callback must be wired up, and the marker must be visible. -* **"The same shape repeats for all data points"** — the callback is reading from the same data field for every point (for example, always `args.point.x`). Use `args.point.index` to vary the shape, or any other field that differs between points. -* **"Performance degrades on large series"** — `pointRender` fires for every data point. For very long series, prefer setting `marker.shape` once on the series instead of overriding per point. - -## See also - -* [Getting started](../getting-started) -* [Data markers](../data-markers) -* [Chart annotations](../chart-annotations) \ No newline at end of file +{% previewsample "https://help.syncfusion.com/code-snippet/chart-sdk/react/charts/preview-sample/how-to-cs6" %} \ No newline at end of file diff --git a/chart-sdk/react/charts/how-to/percentage-tool-tip.md b/chart-sdk/react/charts/how-to/percentage-tool-tip.md index dfee64451..e7afc681b 100644 --- a/chart-sdk/react/charts/how-to/percentage-tool-tip.md +++ b/chart-sdk/react/charts/how-to/percentage-tool-tip.md @@ -1,46 +1,24 @@ --- layout: post -title: How to show percentage in pie tooltip in React Charts | Syncfusion -description: Learn how to show each point's percentage share in the Syncfusion React Charts pie tooltip for clearer comparison. -control: Percentage tooltip +title: Percentage tool tip in React Chart component | Syncfusion +description: Learn here all about Percentage tool tip in Syncfusion React Chart component of Syncfusion Essential JS 2 and more. +control: Percentage tool tip platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# How to show percentage in pie tooltip in React Charts +# Percentage tool tip in React Chart component -To show each slice's percentage share in a pie tooltip, hook the [`tooltipRender`](https://ej2.syncfusion.com/react/documentation/api/chart#tooltiprender) callback on the chart and assign the formatted string to `args.text`. The callback fires once per hovered slice. +By using the [`tooltipRender`](https://ej2.syncfusion.com/react/documentation/api/chart/chartModel#tooltiprender) event, you can show the percentage value for each point of pie series in tooltip. -You also need to register `PieSeries` and `AccumulationTooltip` inside ``, and enable tooltip support on the chart by setting the tooltip's `enable` property to `true`. Without enabling tooltips, the `tooltipRender` callback will not be triggered. +To show the percentage value in pie tooltip, follow the given steps: -## Calculate and assign the percentage +**Step 1**: -The `tooltipRender` callback receives an `args` object. Two fields are useful here: +By using the [`tooltipRender`](https://ej2.syncfusion.com/react/documentation/api/chart/chartModel#tooltiprender) event, you can get the `args.point.y` and `args.series.sumOfPoints` values. You can use these values to calculate the percentage value for each point of pie series. To display the percentage value in tooltip, use the `args.content` property. -| Field | Meaning | -| --- | --- | -| `args.point.y` | The numeric value of the hovered slice. | -| `args.series.sumOfPoints` | The sum of all slice values in the series. | - -Divide `args.point.y` by `args.series.sumOfPoints` and multiply by `100` to get the slice's percentage share. Assign the formatted string to `args.text`; that string is what the tooltip renders: - -``` -const tooltipRender = (args) => { - const value = (args.point.y / args.series.sumOfPoints) * 100; - args.text = `${args.point.x} ${Math.ceil(value)}%`; -}; -``` - -Bind the callback on the ``: - -{% raw %} -``` - -``` -{% endraw %} - -The complete example is shown below: +The output will appear as follows, {% tabs %} {% highlight js tabtitle="index.jsx" %} @@ -57,16 +35,4 @@ The complete example is shown below: {% endhighlight %} {% endtabs %} -{% previewsample "https://help.syncfusion.com/code-snippet/chart-sdk/react/charts/preview-sample/how-to-cs7" %} - -## Troubleshooting - -* **"The tooltip shows the raw value instead of a percentage"** — the `tooltipRender` callback is not bound on ``, or tooltip support has not been enabled on the chart. Both are required for the callback to fire. -* **"The tooltip shows `NaN%` for every slice"** — `args.series.sumOfPoints` is `0`. Either populate the data source with non-zero values or guard the division. -* **"The slices do not add up to exactly 100%"** — the example uses `Math.ceil`, which rounds up. Switch to `Math.round` if you need exact totals. - -## See also - -* [Getting started](../getting-started) -* [Tooltip template](../tool-tip) -* [Accumulation chart pie/doughnut](../../accumulation-chart/pie-dough-nut) \ No newline at end of file +{% previewsample "https://help.syncfusion.com/code-snippet/chart-sdk/react/charts/preview-sample/how-to-cs7" %} \ No newline at end of file diff --git a/chart-sdk/react/charts/how-to/points-customization.md b/chart-sdk/react/charts/how-to/points-customization.md index eb08c30ed..607eae042 100644 --- a/chart-sdk/react/charts/how-to/points-customization.md +++ b/chart-sdk/react/charts/how-to/points-customization.md @@ -1,43 +1,22 @@ --- layout: post -title: How to customize point colors in React Charts | Syncfusion -description: Learn how to customize individual point colors in Syncfusion React Charts series for clearer category highlighting. +title: Points customization in React Chart component | Syncfusion +description: Learn here all about Points customization in Syncfusion React Chart component of Syncfusion Essential JS 2 and more. control: Points customization platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# How to customize point colors in React Charts +# Points customization in React Chart component -To give each data point its own color (or pattern), set the [`pointColorMapping`](https://ej2.syncfusion.com/react/documentation/api/chart/seriesmodel#pointcolormapping) property on the series directive to the name of a data field whose value holds the per-point color. The chart reads that field and applies its value to each point's fill. +You can customize the series points by using the `pointColorMapping` property. -## Bind the property +To customize the series point colors, follow the given steps: -`pointColorMapping` lives on the ``. Pass it the name of a field that exists on every data row: +**Step 1**: -``` - -``` - -In the example the data field is `"color"`. The chart looks up `data[i].color` for each point and uses the value as the per-point fill. - -## Supported value formats - -The values stored on the data field can be: - -* A CSS color name or hex code — for example, `"red"`, `"#ff0000"`. -* A CSS color function — for example, `"rgba(0,0,0,0.5)"`. -* An SVG `url(#id)` reference — for example, `"url(#chess)"`, `"url(#cross)"`, `"url(#circle)"`. The example uses this format so each country gets a different fill pattern instead of a solid color. - -The completed example is shown below: +Customize the point colors to set the color value by using the `pointColorMapping` property. {% tabs %} {% highlight js tabtitle="index.jsx" %} @@ -54,15 +33,4 @@ The completed example is shown below: {% endhighlight %} {% endtabs %} -{% previewsample "https://help.syncfusion.com/code-snippet/chart-sdk/react/charts/preview-sample/pattern-point-cs1" %} - -## Troubleshooting - -* **"Every point is the same color"** — the field name passed to `pointColorMapping` does not match any key on the data rows, or the values are all the same string. Confirm the property references a real key and the data carries distinct values. -* **"Browser console shows `Cannot read properties of undefined`"** — a data row is missing the field that `pointColorMapping` references. Make sure every row has the field, even if the value is a fallback like `"none"`. - -## See also - -* [Getting started](../getting-started) -* [Data markers](../data-markers) -* [Chart annotations](../chart-annotations) \ No newline at end of file +{% previewsample "https://help.syncfusion.com/code-snippet/chart-sdk/react/charts/preview-sample/pattern-point-cs1" %} \ No newline at end of file diff --git a/chart-sdk/react/charts/how-to/prevent-data-label.md b/chart-sdk/react/charts/how-to/prevent-data-label.md index 98e32f8a9..5e72b8110 100644 --- a/chart-sdk/react/charts/how-to/prevent-data-label.md +++ b/chart-sdk/react/charts/how-to/prevent-data-label.md @@ -1,43 +1,22 @@ --- layout: post -title: How to prevent data labels in React Charts | Syncfusion -description: Learn how to prevent Syncfusion React Charts data labels from showing zero values for cleaner numeric visualizations. +title: Prevent data label in React Chart component | Syncfusion +description: Learn here all about Prevent data label in Syncfusion React Chart component of Syncfusion Essential JS 2 and more. control: Prevent data label platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# How to prevent data labels in React Charts +# Prevent data label in React Chart component -To stop a data label from rendering when its point's value is `0`, hook the [`textRender`](https://ej2.syncfusion.com/react/documentation/api/chart#textrender) callback on the chart and set `args.cancel`. The callback fires for every data label; gate the cancel on a check of `args.text` and `args.point.y` so only the zero values are filtered. +To prevent the chart data label when the data value is 0, follow the given steps: -## Cancel the label +**Step 1**: -The `textRender` callback receives an `args` object with two relevant fields: +Get the point value and check whether the `args.point.y` value is zero or not by using the [`textRender`](https://ej2.syncfusion.com/react/documentation/api/chart/chartModel#textrender) event. If the value is zero, then set the `args.cancel` to true. -| Field | Meaning | -| --- | --- | -| `args.text` | The formatted label string (for example, `'0'`, `'0.0'`, `'-0'`). | -| `args.point.y` | The numeric value of the point. | - -The example gates the cancel on both fields — first it checks that the formatted text is `'0'`, then it sets `args.cancel` to a boolean expression that re-checks the underlying numeric value: - -``` -const textRender = (args) => { - if (args.text === '0') { - args.cancel = args.point.y === 0; - } -}; -``` - -Bind the callback on the ``: - -``` - -``` - -The two-condition guard is deliberate: the outer `if (args.text === '0')` makes sure the rest of the callback only runs for the labels we care about, and the inner `args.point.y === 0` produces a true `boolean` for `args.cancel` rather than a stringified comparison. +The output will appear as follows, {% tabs %} {% highlight js tabtitle="index.jsx" %} @@ -54,15 +33,4 @@ The two-condition guard is deliberate: the outer `if (args.text === '0')` makes {% endhighlight %} {% endtabs %} -{% previewsample "https://help.syncfusion.com/code-snippet/chart-sdk/react/charts/preview-sample/how-to-cs8" %} - -## Troubleshooting - -* **"Every data label disappears"** — the `if (args.text === '0')` guard is missing. `textRender` fires for every label; without the guard you are cancelling all of them. -* **"The zero-value label still appears"** — `args.cancel` is being set to a string (for example, `args.cancel = '0'`) instead of a boolean. Assign a boolean expression: `args.cancel = args.point.y === 0`. - -## See also - -* [Getting started](../getting-started) -* [Data label](../data-labels) -* [Chart annotations](../chart-annotations) \ No newline at end of file +{% previewsample "https://help.syncfusion.com/code-snippet/chart-sdk/react/charts/preview-sample/how-to-cs8" %} \ No newline at end of file diff --git a/chart-sdk/react/charts/how-to/selected-data-grid.md b/chart-sdk/react/charts/how-to/selected-data-grid.md index 44635f99b..fd43cb4ad 100644 --- a/chart-sdk/react/charts/how-to/selected-data-grid.md +++ b/chart-sdk/react/charts/how-to/selected-data-grid.md @@ -1,63 +1,22 @@ --- layout: post -title: How to display selected data in a grid in React Charts | Syncfusion -description: Learn how to display Syncfusion React Charts range-selected data values inside a Syncfusion Grid using drag events. +title: Selected data grid in React Chart component | Syncfusion +description: Learn here all about Selected data grid in Syncfusion React Chart component of Syncfusion Essential JS 2 and more. control: Selected data grid platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# How to display selected data in a grid in React Charts +# Selected data grid in React Chart component -When you let the user drag-select a region of the chart, the [`dragComplete`](https://ej2.syncfusion.com/react/documentation/api/chart#dragcomplete) callback fires with `args.selectedDataValues` — an array of point objects (one per series) for the dragged region. You can push those points into a Syncfusion Grid so the user sees the exact data behind their selection. +By using the [`dragComplete`](https://ej2.syncfusion.com/react/documentation/api/chart/chartModel#dragcomplete), you can get the selected data values for range selection. -## Enable range selection on the chart +To display the selected data value, follow the given steps: -Set `selectionMode` to one of the `Drag*` values on the chart to enable a draggable selection rectangle. The example uses `'DragXY'`, which selects both the x range and the y range. +**Step 1**: -{% raw %} -``` - -``` -{% endraw %} - -`legendSettings.toggleVisibility: false` is deliberate: it stops the user from accidentally hiding the series by clicking its legend entry, which would also clear the selection state. - -## Push the selected points into the Grid - -The example captures both component instances via `ref` callbacks so the `dragComplete` callback can update the grid imperatively: - -``` - (chart = g)} ... /> - (grid = g)} height='250px'> - - - - - -``` - -The `dragComplete` callback receives an `args` object whose `args.selectedDataValues` is an array of arrays — one inner array per series. With a single series, take the first inner array, assign it to the grid's `dataSource`, and call `grid.refresh()` so the grid re-renders: - -``` -function dragComplete(args) { - grid.dataSource = args.selectedDataValues[0]; - grid.refresh(); -} -``` - -### `args.selectedDataValues` shape - -| Field | Meaning | -| --- | --- | -| `args.selectedDataValues` | An array of arrays; the outer index is the series, the inner array contains the original data point objects that fall inside the dragged region. | -| `args.selectedDataValues[0]` | The first series' selected points — use this when the chart has a single series. | - -The complete example below wires the chart's `selectionMode`, the two refs, and the `dragComplete` callback together. +Get the selected data point values and display the values through grid component by using the [`dragComplete`](https://ej2.syncfusion.com/react/documentation/api/chart/chartModel#dragcomplete) event. {% tabs %} {% highlight js tabtitle="index.jsx" %} @@ -77,17 +36,4 @@ The complete example below wires the chart's `selectionMode`, the two refs, and {% endhighlight %} {% endtabs %} -{% previewsample "https://help.syncfusion.com/code-snippet/chart-sdk/react/charts/preview-sample/how-to-cs9" %} - -## Troubleshooting - -* **"The drag rectangle never appears"** — `selectionMode` is not set to a `Drag*` value, or `Selection` is missing from the chart's `>` array. -* **"The grid does not update after a drag"** — the `ref` callback is not wired on the ``, or `grid.refresh()` is missing. Assigning `dataSource` does not auto-render the grid. -* **"The grid shows the entire series instead of the selection"** — `args.selectedDataValues[0]` is wrong because there are multiple series. Iterate the outer array and pick the right one. -* **"Clicking a legend item clears the selection"** — set `legendSettings.toggleVisibility: false` on the chart, as the example does. - -## See also - -* [Getting started](../getting-started) -* [Selection](../selection) -* [Tooltip template](../tool-tip) \ No newline at end of file +{% previewsample "https://help.syncfusion.com/code-snippet/chart-sdk/react/charts/preview-sample/how-to-cs9" %} \ No newline at end of file diff --git a/chart-sdk/react/charts/how-to/stacking-total.md b/chart-sdk/react/charts/how-to/stacking-total.md index 4449e6526..3482d1333 100644 --- a/chart-sdk/react/charts/how-to/stacking-total.md +++ b/chart-sdk/react/charts/how-to/stacking-total.md @@ -1,74 +1,24 @@ --- layout: post -ttitle: How to show stacking series total in React Charts | Syncfusion -description: Learn how to show the total value on top of stacked Syncfusion React Charts series using annotations at each x point. +title: Stacking total in React Chart component | Syncfusion +description: Learn here all about Stacking total in Syncfusion React Chart component of Syncfusion Essential JS 2 and more. control: Stacking total platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# How to show stacking series total in React Charts +# Stacking total in React Chart component -To show the stacked total on top of each category, declare one `` per x point and assign the total to its `content` as a JSX function. The annotation sits above the topmost stack segment so the user sees both the per-segment breakdown and the running total. +By using the `annotation`, you can show any element in desired view. -## Define one annotation per x point +To show the total value in data points, follow the given steps: -Each annotation is a child of `` inside ``. Set `coordinateUnits='Point'` so the `x` value is treated as a category label and `y` is a numeric value on the y-axis: +**Step 1**: -``` - - - - - -``` - -`y` should be just above the topmost stack segment for that category. The example uses values slightly larger than the actual totals (`14.5`, `12`, `12`) so the label sits clear of the chart's edge. - -## Use a JSX function for the annotation content - -The `content` prop of `` is a JSX function reference, not an id string. Declare a regular React function that returns the JSX you want to display, and pass that function as `content`: - -{% raw %} -``` -function chartTemplate1() { - return ( -
      -
      - 11 -
      -
      - ); -} -``` -{% endraw %} - -Repeat the function once per annotation (the example defines `chartTemplate1`, `chartTemplate2`, `chartTemplate3` — one per category) and assign each to a different annotation's `content`. - -## Stacked series and Datasource note - -The example's series are all `type='StackingColumn'`, with three series mapped to a single data row via `yName='y0'`, `yName='y1'`, `yName='y2'`. - -``` -{ x: 'Jamesh', y0: 5, y1: 4, y2: 5 }, // total = 14 -{ x: 'Michael', y0: 4, y1: 3, y2: 4 }, // total = 11 -{ x: 'John', y0: 5, y1: 4, y2: 2 } // total = 11 -``` - -The example configures a `Category` x-axis and a numeric y-axis with `minimum: 0`, `maximum: 15`, and `interval: 5`. The `y` value of each annotation is set just above the corresponding row's total. - -### When totals change - -The example hard-codes the totals inside the JSX template functions. If the data values change at runtime, the templates still show the same numbers. To make the totals reflect live data, compute the value from the data source instead: - -``` -const total = data.find(row => row.x === 'Jamesh').y0 - + data.find(row => row.x === 'Jamesh').y1 - + data.find(row => row.x === 'Jamesh').y2; -``` - -or wire the [`annotationRender`](https://ej2.syncfusion.com/react/documentation/api/chart/chartmodel#annotationrender) event on `` and assign the new total to `args.content` inside the handler. +Define annotation for each x point in chart, now change the annotation value in chart by using the [`annotationRender`](https://ej2.syncfusion.com/react/documentation/api/chart/chartModel#annotationrender) event. +In this event, assign the stacked value of the last series to the annotation to show the total value of the +stacking series. {% tabs %} {% highlight js tabtitle="index.jsx" %} @@ -85,16 +35,4 @@ or wire the [`annotationRender`](https://ej2.syncfusion.com/react/documentation/ {% endhighlight %} {% endtabs %} -{% previewsample "https://help.syncfusion.com/code-snippet/chart-sdk/react/charts/preview-sample/how-to-cs10" %} - -## Troubleshooting - -* **"The total label is hidden behind the stack"** — the annotation's `y` value is too low. Increase it (the example uses `y={14.5}` for a stack that tops at 14) so the label sits clear of the segments. -* **"The label position drifts when the chart is resized"** — `coordinateUnits='Pixel'` would tie the label to a fixed offset; switch back to `coordinateUnits='Point'` so the label follows the data. -* **"The totals are wrong after the data changes"** — the example hard-codes the totals inside the JSX template functions. Compute the value from the data source at render time, or use the `annotationRender` event to override `args.content` dynamically. - -## See also - -* [Getting started](../getting-started) -* [Chart annotations](../chart-annotations) -* [Stacked column](../chart-types/stack-column) \ No newline at end of file +{% previewsample "https://help.syncfusion.com/code-snippet/chart-sdk/react/charts/preview-sample/how-to-cs10" %} \ No newline at end of file diff --git a/chart-sdk/react/charts/how-to/threshold.md b/chart-sdk/react/charts/how-to/threshold.md index 750f4b75b..28191b095 100644 --- a/chart-sdk/react/charts/how-to/threshold.md +++ b/chart-sdk/react/charts/how-to/threshold.md @@ -1,50 +1,22 @@ --- layout: post -title: How to add a threshold line in React Charts | Syncfusion -description: Learn how to mark a y-axis threshold line on Syncfusion React Charts using striplines to highlight reference values. +title: Threshold in React Chart component | Syncfusion +description: Learn here all about Threshold in Syncfusion React Chart component of Syncfusion Essential JS 2 and more. control: Threshold platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# How to add a threshold line in React Charts +# Threshold in React Chart component -To mark a horizontal reference value on the chart, set the `stripLines` array on the y-axis config. Each entry draws a band between `start` and `end`; a narrow band (a fraction of a unit) reads as a single line, while a wider band highlights a region. +You can mark a threshold in chart by using the `stripline`. -You also need to register `StripLine` in the chart's `>` array; without it the `stripLines` array has no visible effect. +To mark a threshold in chart, follow the given steps: -## Add the strip line +**Step 1**: -`stripLines` lives on the y-axis config. Each entry accepts the following properties: - -| Property | Type | Description | -| --- | --- | --- | -| `start` | number | The starting y value of the band. | -| `end` | number | The ending y value of the band. | -| `color` | string | The fill color of the band. Accepts a CSS color. | -| `visible` | boolean | Whether the strip line is drawn. Defaults to `true`. | -| `dashArray` | string | Stroke pattern; pass a value like `'4 2'` for a dashed line. | -| `size` | number | The band height (overrides the `end - start` range when set). | - -The example draws a thin red line at `y = 15` by setting `start` and `end` 0.1 apart: - -``` -const primaryyAxis = { - title: 'Runs', - stripLines: [ - { start: 15, end: 15.1, color: '#ff512f', visible: true } - ] -}; -``` - -Pass the config to the chart: - -``` - -``` - -The complete example below wires the `stripLines` array on the y-axis config to a thin red line at `y = 15`. +By using the start and end properties of `striplines` object in vertical axis, you can mark the threshold for y values of the series. {% tabs %} {% highlight js tabtitle="index.jsx" %} @@ -61,17 +33,4 @@ The complete example below wires the `stripLines` array on the y-axis config to {% endhighlight %} {% endtabs %} -{% previewsample "https://help.syncfusion.com/code-snippet/chart-sdk/react/charts/preview-sample/how-to-cs11" %} - -## Troubleshooting - -* **"The threshold line does not appear"** — `StripLine` is missing from the chart's `>` array, or the `stripLines` array is not on the y-axis config. -* **"The band is too thick to read as a line"** — increase the gap between `start` and `end`. The example uses `0.1`; raise it to `0.5` or `1` if your y-axis range is wider. -* **"The line is hidden behind the series"** — the `color` is the same as the line series' fill. Pick a contrasting color (the example uses red `#ff512f`). -* **"The line is positioned wrong"** — the value passed to `start` and `end` is on the y-axis scale, not the data range. Make sure the threshold value falls inside `primaryYAxis.minimum` and `primaryYAxis.maximum`. - -## See also - -* [Getting started](../getting-started) -* [Strip line](../strip-line) -* [Chart annotations](../chart-annotations) \ No newline at end of file +{% previewsample "https://help.syncfusion.com/code-snippet/chart-sdk/react/charts/preview-sample/how-to-cs11" %} \ No newline at end of file diff --git a/chart-sdk/react/charts/how-to/tool-tip-format.md b/chart-sdk/react/charts/how-to/tool-tip-format.md index 7583bd482..858133a79 100644 --- a/chart-sdk/react/charts/how-to/tool-tip-format.md +++ b/chart-sdk/react/charts/how-to/tool-tip-format.md @@ -1,144 +1,24 @@ --- layout: post -title: How to format date tooltips in React Charts | Syncfusion -description: Learn how to format date and time values in Syncfusion React Charts tooltips for clearer, locale-friendly data display. -control: Tooltip format +title: Tool tip format in React Chart component | Syncfusion +description: Learn here all about Tool tip format in Syncfusion React Chart component of Syncfusion Essential JS 2 and more. +control: Tool tip format platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# How to format date tooltips in React Charts +# Tool tip format in React Chart component -You can format date and time values in a React Chart tooltip using either an inline `tooltip.format` string or the `tooltipRender` event with the `Internationalization` class. Use the inline approach for static, token-based formatting and the `tooltipRender` event for fully customized tooltip content. +Using [`tooltipRender`](https://ej2.syncfusion.com/react/documentation/api/chart/chartModel#tooltiprender) event, you can able to format the datetime value instead of rendered value. -To display a tooltip, set `enable` to `true` in the `tooltip` property and inject the `Tooltip` service into the chart. +To format the datetime value,please follow the steps below -## Approach 1: Format a date inline with `tooltip.format` +**Step 1**: -Add a colon (`:`) and the required DateTime format after the `point.x` token in the [`tooltip.format`](https://ej2.syncfusion.com/react/documentation/api/chart/tooltipsettingsmodel#format) property. +By using [`tooltipRender`](https://ej2.syncfusion.com/react/documentation/api/chart/chartModel#tooltiprender) event we can able to get the current point x value. Using this value to format the tooltip by using `formatDate` method. -The `point.x` token represents the x-value of the hovered data point. When the x-axis uses `DateTime`, a DateTime format specifier can be appended directly to the token. The `point.y` token represents the corresponding numeric y-value. - -**Format a date only** - -``` -const tooltip = { - enable: true, - format: '${point.x:MMM dd, yyyy}' -}; -``` - -**Format a date and the y-value together** - -``` -const tooltip = { - enable: true, - format: '${point.x:MMM dd, yyyy} : ${point.y}' -}; -``` - -**Include the series name** - -``` -const tooltip = { - enable: true, - format: '${series.name}
      ${point.x:MMM dd, yyyy} : ${point.y:n2}' -}; -``` - -Numeric format specifiers such as `n2` can also be appended to any numeric token. - -### DateTime format examples - -The following DateTime formats can be used with the `point.x` token: - -| Format | Example output | Description | -| --- | --- | --- | -| `MMM yyyy` | `Nov 2005` | Abbreviated month and year | -| `MM/yy` | `11/05` | Numeric month and two-digit year | -| `dd MMM` | `12 Nov` | Day and abbreviated month | -| `MMM dd, yyyy` | `Nov 12, 2005` | Abbreviated month, day, and year | -| `MMMM dd, yyyy` | `November 12, 2005` | Full month, day, and year | -| `yyyy-MM-dd` | `2005-11-12` | Year, month, and day | - -Choose a format that matches the precision and readability required by the chart. - -### Bind the configuration - -Pass the `tooltip` object to the `ChartComponent`: - -{% raw %} -``` - -``` -{% endraw %} - -The complete example is shown below: - -{% tabs %} -{% highlight js tabtitle="index.jsx" %} -{% include code-snippet/chart-sdk/react/charts/code-path/how-to-cs13/app/index.jsx %} -{% endhighlight %} -{% highlight ts tabtitle="index.tsx" %} -{% include code-snippet/chart-sdk/react/charts/code-path/how-to-cs13/app/index.tsx %} -{% endhighlight %} -{% highlight js tabtitle="datasource.jsx" %} -{% include code-snippet/chart-sdk/react/charts/code-path/how-to-cs13/app/datasource.jsx %} -{% endhighlight %} -{% highlight ts tabtitle="datasource.tsx" %} -{% include code-snippet/chart-sdk/react/charts/code-path/how-to-cs13/app/datasource.tsx %} -{% endhighlight %} -{% endtabs %} - -{% previewsample "https://help.syncfusion.com/code-snippet/chart-sdk/react/charts/preview-sample/how-to-cs13" %} - -## Approach 2: Format a date with the `tooltipRender` event - -Use the [`tooltipRender`](https://ej2.syncfusion.com/react/documentation/api/chart#tooltiprender) callback when the tooltip text must change according to custom runtime conditions that cannot be expressed as a static format string. The callback fires before each tooltip is rendered, and assigning to `args.text` overrides the default content. - -Ensure that the `tooltip` is enabled on the ``. Otherwise, the `tooltipRender` callback will never fire. - -### `args` fields - -The `tooltipRender` callback receives an `args` object with two relevant fields: - -| Field | Meaning | -| --- | --- | -| `args.point.x` | The x value of the hovered point. For a `DateTime` x-axis this is a JavaScript `Date` object. | -| `args.text` | The string the tooltip renders. Assign to this to override the default. | - -### Format the date - -Create an `Internationalization` instance inside the callback, pass the point's date through `formatDate`, and assign the result to `args.text`: - -``` -const tooltipRender = (args) => { - const intl = new Internationalization(); - const formattedString = intl.formatDate(new Date(args.point.x), { skeleton: 'yMd' }); - args.text = formattedString; -}; -``` - -Bind the callback on the ``: - -{% raw %} -``` - -``` -{% endraw %} - -The complete example is shown below: +The output will appear as follows, {% tabs %} {% highlight js tabtitle="index.jsx" %} @@ -156,14 +36,3 @@ The complete example is shown below: {% endtabs %} {% previewsample "https://help.syncfusion.com/code-snippet/chart-sdk/react/charts/preview-sample/how-to-cs12" %} - -## When to use which approach - -* **Use inline `tooltip.format`** for static, token-based formatting such as `${point.x:MMM dd, yyyy}` or `${point.y:n2}`. It is simpler, requires no event handler, and keeps the format string next to the chart configuration. -* **Use the `tooltipRender` event** when the tooltip text must change according to custom runtime conditions that a static format string cannot express - for example, conditional content based on the point's value, custom locale handling, or building the text from multiple sources. - -## See also - -* [Getting started](../getting-started) -* [Tooltip template](../tool-tip) -* [Internationalization](../internationalization) \ No newline at end of file diff --git a/chart-sdk/react/charts/how-to/tool-tip-table.md b/chart-sdk/react/charts/how-to/tool-tip-table.md index cec1ebbef..f0dea5f62 100644 --- a/chart-sdk/react/charts/how-to/tool-tip-table.md +++ b/chart-sdk/react/charts/how-to/tool-tip-table.md @@ -1,62 +1,36 @@ --- layout: post -title: How to add a table in the tooltip in React Charts | Syncfusion -description: Learn how to show a custom HTML table inside Syncfusion React Charts tooltips using the template property. -control: Tooltip table +title: Tool tip table in React Chart component | Syncfusion +description: Learn here all about Tool tip table in Syncfusion React Chart component of Syncfusion Essential JS 2 and more. +control: Tool tip table platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# How to add a table in the tooltip in React Charts +# Tool tip table in React Chart component -To render a custom HTML table inside the tooltip, assign a JSX function reference to the `template` property of the chart's `tooltip` config. The function receives the hovered point's data and returns the JSX you want to display — including ``, `
      `, images, or any other elements you need. +You can show the tooltip as table by using template property in tooltip. -You also need to register `Tooltip` in the chart's `>` array; without it the tooltip never renders and the `template` callback never fires. +Follow the given steps to show the table tooltip, -## Define the template function +**Step 1**: -Declare a regular React function that returns the JSX you want inside the tooltip. The function receives an `args` object whose `args.x` and `args.y` are the hovered point's x and y values. The example uses these to render a small table: +Initialize the tooltip template div as shown in the following html page, -{% raw %} ``` -function chartTemplate(args) { - return ( -
      -
      - - - - -
      Female
      {args.x}:{args.y}
      -
      - ); -} -``` -{% endraw %} - -The function is plain JSX, so you can use any HTML or React constructs inside it — ``, ``, conditional rendering, and so on. The chart re-runs the function for every hovered point, so the values stay in sync with the data. - -## Bind the function to the tooltip - -Pass the function reference into the `template` property of the chart's `tooltip` config: +
      +
      + + +
      Female
      ${x}:${y}
      +
      -``` -const tooltip = { - enable: true, - template: chartTemplate -}; ``` -Bind the config on the ``: +**Step 2**: -``` - -``` - -`enable: true` is required — without it the tooltip is disabled and the template is never used. - -The complete example below wires the `chartTemplate` function, the `tooltip.template` config, and the `` together. +To show that tooltip template, set the element id to the `template` property in tooltip. {% tabs %} {% highlight js tabtitle="index.jsx" %} @@ -73,16 +47,4 @@ The complete example below wires the `chartTemplate` function, the `tooltip.temp {% endhighlight %} {% endtabs %} -{% previewsample "https://help.syncfusion.com/code-snippet/chart-sdk/react/charts/preview-sample/table-cs1" %} - -## Troubleshooting - -* **"The default tooltip still appears"** — `Tooltip` is missing from the chart's `>` array, or `enable: true` is missing on the `tooltip` config. Both are required. -* **"The template is undefined inside the function"** — the function is being called before the chart has data, or `template` is being assigned the function's return value (`template: chartTemplate()`) instead of the function reference (`template: chartTemplate`). -* **"The table layout breaks when the chart resizes"** — fixed pixel widths inside the template do not scale. Use percentage widths (`width: '100%'`) or `maxWidth` on the inner `` so it adapts. - -## See also - -* [Getting started](../getting-started) -* [Tooltip template](../tool-tip) -* [Data label template](data-label-template) \ No newline at end of file +{% previewsample "https://help.syncfusion.com/code-snippet/chart-sdk/react/charts/preview-sample/table-cs1" %} \ No newline at end of file diff --git a/chart-sdk/react/charts/internationalization.md b/chart-sdk/react/charts/internationalization.md index e3a7f0039..a73944999 100644 --- a/chart-sdk/react/charts/internationalization.md +++ b/chart-sdk/react/charts/internationalization.md @@ -1,14 +1,14 @@ --- layout: post -title: Internationalization in React Charts | Syncfusion -description: Learn how to localize Syncfusion React Charts for global users with right-to-left layouts, locale-specific number formats, and culture data. +title: Internationalization in React Chart component | Syncfusion +description: Learn here all about Internationalization in Syncfusion React Chart component of Syncfusion Essential JS 2 and more. control: Internationalization platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Internationalization in React Charts +# Internationalization in React Chart component Chart provides support for internationalization for the following elements: diff --git a/chart-sdk/react/charts/legend.md b/chart-sdk/react/charts/legend.md index 91049ca96..318671d3f 100644 --- a/chart-sdk/react/charts/legend.md +++ b/chart-sdk/react/charts/legend.md @@ -1,14 +1,14 @@ --- layout: post -title: Legend in React Charts | Syncfusion -description: Learn how to add and customize the legend in Syncfusion React Charts to identify series, control position, and toggle series visibility. +title: Legend in React Chart component | Syncfusion +description: Learn here all about Legend in Syncfusion React Chart component of Syncfusion Essential JS 2 and more. control: Legend platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Legend in React Charts +# Legend in React Chart component The legend provides information about the series rendered in the chart and helps users identify each series by its color, shape, or style. diff --git a/chart-sdk/react/charts/localization.md b/chart-sdk/react/charts/localization.md index 624385f07..97198f5a7 100644 --- a/chart-sdk/react/charts/localization.md +++ b/chart-sdk/react/charts/localization.md @@ -1,14 +1,14 @@ --- layout: post -title: Localization in React Charts | Syncfusion -description: Learn how to localize Syncfusion React Charts by translating axis labels, tooltips, and legends into different languages for global audiences. +title: Localization in React Chart component | Syncfusion +description: Learn here all about Localization in Syncfusion React Chart component of Syncfusion Essential JS 2 and more. control: Localization platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Localization in React Charts +# Localization in React Chart component The localization library localizes the Chart's default text content. Static text used by chart features (for example, zoom toolbar labels) can be translated by providing a locale value and a translation object. @@ -47,7 +47,7 @@ The localization library localizes the Chart's default text content. Static text To load translation object in an application use load function of L10n class. -For more information about localization, see the localization guide: [`localization`](https://ej2.syncfusion.com/react/documentation/common/globalization/localization) +For more information about localization, see the localization guide: [`localization`](https://ej2.syncfusion.com/development/react/documentation/common/globalization/localization) {% tabs %} {% highlight js tabtitle="index.jsx" %} diff --git a/chart-sdk/react/charts/logarithmic-axis.md b/chart-sdk/react/charts/logarithmic-axis.md index 509806b27..c720678a4 100644 --- a/chart-sdk/react/charts/logarithmic-axis.md +++ b/chart-sdk/react/charts/logarithmic-axis.md @@ -1,14 +1,14 @@ --- layout: post -title: Logarithmic Axis in React Charts | Syncfusion -description: Learn how to use a logarithmic axis in Syncfusion React Charts to plot data that spans several orders of magnitude on a compressed scale. +title: Logarithmic axis in React Chart component | Syncfusion +description: Learn here all about Logarithmic axis in Syncfusion React Chart component of Syncfusion Essential JS 2 and more. control: Logarithmic axis platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Logarithmic Axis in React Charts +# Logarithmic axis in React Chart component diff --git a/chart-sdk/react/charts/multiple-panes.md b/chart-sdk/react/charts/multiple-panes.md index e9fdc01a6..fd537b69b 100644 --- a/chart-sdk/react/charts/multiple-panes.md +++ b/chart-sdk/react/charts/multiple-panes.md @@ -1,14 +1,14 @@ --- layout: post -title: Multiple Panes in React Charts | Syncfusion -description: Learn how to split Syncfusion React Charts into multiple panes to compare related series like price and volume in a single, aligned view. +title: Multiple panes in React Chart component | Syncfusion +description: Learn here all about Multiple panes in Syncfusion React Chart component of Syncfusion Essential JS 2 and more. control: Multiple panes platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Multiple Panes in React Charts +# Multiple panes in React Chart component The chart area can be divided into multiple panes by defining rows and columns using the [`rows`](https://ej2.syncfusion.com/react/documentation/api/chart/row) and [`columns`](https://ej2.syncfusion.com/react/documentation/api/chart/column) collections. This feature is useful for displaying multiple related datasets within the same chart container while maintaining clear visual separation. diff --git a/chart-sdk/react/charts/nextjs-getting-started.md b/chart-sdk/react/charts/nextjs-getting-started.md index 24a13c901..c2fb5d69e 100644 --- a/chart-sdk/react/charts/nextjs-getting-started.md +++ b/chart-sdk/react/charts/nextjs-getting-started.md @@ -1,14 +1,14 @@ --- layout: post -title: Getting Started with React Charts in Next.js | Syncfusion -description: Learn how to set up Syncfusion React Charts in a Next.js 14 or 15 project, install the package, and add the Chart component to a server-rendered page. +title: React Chart getting started with Next.js | Syncfusion +description: Check out and learn here all about how to use the Syncfusion React UI components in the Next.js project. control: Next.js platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Getting Started with React Charts in Next.js +# Getting Started with React Chart in Next.js This section provides a step-by-step guide for setting up a Next.js application and integrating the [React Charts](https://www.syncfusion.com/react-components/react-charts) component. diff --git a/chart-sdk/react/charts/numeric-axis.md b/chart-sdk/react/charts/numeric-axis.md index a001ef916..e66719470 100644 --- a/chart-sdk/react/charts/numeric-axis.md +++ b/chart-sdk/react/charts/numeric-axis.md @@ -1,7 +1,7 @@ --- layout: post -title: Numeric axis in React Charts | Syncfusion -description: Learn how to configure a numeric axis in Syncfusion React Charts to plot continuous numeric values with a defined range and interval. +title: Numeric axis in React Chart component | Syncfusion +description: Learn here all about Numeric axis in Syncfusion React Chart component of Syncfusion Essential JS 2 and more. control: Numeric axis platform: chart-sdk documentation: ug @@ -9,7 +9,7 @@ domainurl: https://help.syncfusion.com/chart-sdk --- -# Numeric axis in React Charts +# Numeric axis in React Chart component The numeric axis is used to represent numeric values in a chart. By default, the `valueType` of an axis is set to `Double`, which is suitable for displaying continuous numerical data. diff --git a/chart-sdk/react/charts/preact.md b/chart-sdk/react/charts/preact.md index 1b87ab645..a0408e652 100644 --- a/chart-sdk/react/charts/preact.md +++ b/chart-sdk/react/charts/preact.md @@ -1,14 +1,14 @@ --- layout: post -title: Getting Started with React Charts in Preact | Syncfusion -description: Learn how to set up Syncfusion React Charts in a Preact project, install the package, and render your first chart in this lightweight React alternative. +title: Getting Started with React Chart Component for Preact | Syncfusion +description: Check out and learn about getting started with the Preact Framework and React Chart Component of Syncfusion Essential JS 2 and more details. control: Preact platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Getting Started with React Charts in Preact +# Getting Started with React Chart Component in the Preact Framework This article provides a step-by-step guide for setting up a [Preact](https://preactjs.com) project and integrating the [React Charts](https://www.syncfusion.com/react-components/react-charts) component. @@ -16,6 +16,10 @@ This article provides a step-by-step guide for setting up a [Preact](https://pre ## Prerequisites +* [Node.js](https://nodejs.org) 18 or later. +* [Preact](https://preactjs.com) 10.x. +* `@syncfusion/ej2-react-charts` 27.2.x or later. + Refer to the [system requirements for Syncfusion React UI components](../system-requirement) for additional details. ## Step 1: Set up the Preact project diff --git a/chart-sdk/react/charts/render-methods.md b/chart-sdk/react/charts/render-methods.md index 26fa88972..07e0b0837 100644 --- a/chart-sdk/react/charts/render-methods.md +++ b/chart-sdk/react/charts/render-methods.md @@ -1,7 +1,7 @@ --- layout: post -title: Render methods in React Charts | Syncfusion -description: Learn how to use the render and refresh methods on Syncfusion React Charts to re-render the chart manually after data or option changes. +title: Render methods in React Chart component | Syncfusion +description: Learn here all about Render methods in Syncfusion React Chart component of Syncfusion Essential JS 2 and more. control: Render methods platform: chart-sdk documentation: ug @@ -9,7 +9,7 @@ domainurl: https://help.syncfusion.com/chart-sdk --- -# Render methods in React Charts +# Render methods in React Chart component Chart uses following two rendering methods. diff --git a/chart-sdk/react/charts/selection.md b/chart-sdk/react/charts/selection.md index 2fc9a5e87..ce7a0a468 100644 --- a/chart-sdk/react/charts/selection.md +++ b/chart-sdk/react/charts/selection.md @@ -1,15 +1,15 @@ --- layout: post -title: Selection in React Charts | Syncfusion -description: Learn how to select points, series, or rectangular and lasso regions in Syncfusion React Charts using Point, Series, Cluster, Drag, and Lasso selection modes. -control: Selection +title: Selection in React Chart component | Syncfusion +description: Learn here all about Selection in Syncfusion React Chart component of Syncfusion Essential JS 2 and more. +control: Selection platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Selection in React Charts +# Selection in React Chart component The chart provides selection support for both series and individual data points when users interact with the chart using mouse clicks. diff --git a/chart-sdk/react/charts/series-label.md b/chart-sdk/react/charts/series-label.md index 2a912c06b..ef6ffe7c5 100644 --- a/chart-sdk/react/charts/series-label.md +++ b/chart-sdk/react/charts/series-label.md @@ -1,14 +1,14 @@ --- layout: post -title: Series label in React Charts | Syncfusion -description: Learn how to add labels to the series in Syncfusion React Charts to make every series self-describing without relying on the legend. +title: Series label in React Chart component | Syncfusion +description: Learn here all about Series label in Syncfusion React Chart component of Syncfusion Essential JS 2 and more. control: Series label platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Series label in React Charts +# Series label in React Chart component The series label displays the name of each series inline, positioned near the end of the series path or the last visible data point. This helps identify each series without referring to the legend. diff --git a/chart-sdk/react/charts/strip-line.md b/chart-sdk/react/charts/strip-line.md index 1ad473dee..2ac91e27a 100644 --- a/chart-sdk/react/charts/strip-line.md +++ b/chart-sdk/react/charts/strip-line.md @@ -1,8 +1,8 @@ --- layout: post -title: Strip line in React Charts | Syncfusion -description: Learn how to add horizontal, vertical, or segmented strip lines in Syncfusion React Charts to mark thresholds, ranges, or reference values. -control: Strip line +title: Strip line in React Chart component | Syncfusion +description: Learn here all about Strip line in Syncfusion React Chart component of Syncfusion Essential JS 2 and more. +control: Strip line platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk @@ -10,7 +10,7 @@ domainurl: https://help.syncfusion.com/chart-sdk -# Strip line in React Charts +# Strip line in React Chart component The [React Charts](https://www.syncfusion.com/react-components/react-charts) component supports horizontal and vertical strip lines, providing visual guides to highlight specific ranges in the chart area. Strip lines can be added to both axes and fully customized based on visual and functional requirements. To use strip line features, inject the `StripLine` module into the `services`. diff --git a/chart-sdk/react/charts/synchronized-chart.md b/chart-sdk/react/charts/synchronized-chart.md index 504e92f45..60f107a4a 100644 --- a/chart-sdk/react/charts/synchronized-chart.md +++ b/chart-sdk/react/charts/synchronized-chart.md @@ -1,14 +1,14 @@ --- layout: post -title: Synchronized Charts in React Charts | Syncfusion -description: Learn how to synchronize Syncfusion React Charts across multiple panels so tooltip, crosshair, and selection events move together for linked views. +title: Synchronized Charts in React Chart component | Syncfusion +description: Learn here all about Synchronized Charts in Syncfusion React Chart component of Syncfusion Essential JS 2 and more. control: Synchronized charts platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Synchronized Charts in React Charts +# Synchronized Charts in React Chart component Synchronized charts allow multiple chart instances to share common interactions so that actions performed on one chart are reflected across the others. This approach is useful for comparing related datasets and analyzing trends consistently across multiple visualizations. diff --git a/chart-sdk/react/charts/technical-indicators.md b/chart-sdk/react/charts/technical-indicators.md index 30292c8ca..49dfd364a 100644 --- a/chart-sdk/react/charts/technical-indicators.md +++ b/chart-sdk/react/charts/technical-indicators.md @@ -1,15 +1,15 @@ --- layout: post -title: Technical indicators in React Charts | Syncfusion -description: Learn how to overlay technical indicators in Syncfusion React Charts for enhanced financial analysis and data visualization. -control: Technical indicators +title: Technical indicators in React Chart component | Syncfusion +description: Learn here all about Technical indicators in Syncfusion React Chart component of Syncfusion Essential JS 2 and more. +control: Technical indicators platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Technical indicators in React Charts +# Technical indicators in React Chart component A technical indicator is a mathematical calculation based on historical price, volume, or open‑interest information that aims to forecast financial market direction. diff --git a/chart-sdk/react/charts/title-subtitle.md b/chart-sdk/react/charts/title-subtitle.md index 0cf6c2d84..83bfd4626 100644 --- a/chart-sdk/react/charts/title-subtitle.md +++ b/chart-sdk/react/charts/title-subtitle.md @@ -1,14 +1,14 @@ --- layout: post -title: Title and subtitle in React Charts | Syncfusion -description: Learn how to add a title, subtitle, and custom text to Syncfusion React Charts with options for alignment, font, and background styling. +title: Title and subtitle in React Chart component | Syncfusion +description: Learn here all about Title and subtitle in Syncfusion React Chart component of Syncfusion Essential JS 2 and more. control: Title and subtitle platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Title and subtitle in React Charts +# Title and Subtitle in React Chart Component Chart titles and subtitles help provide context for the visualized data. The title typically indicates the main subject or metric represented in the chart, while the subtitle adds supporting details such as data sources, time ranges, or explanatory notes. Both elements can be customized in terms of position, alignment, and style to align with application design requirements. diff --git a/chart-sdk/react/charts/tool-tip.md b/chart-sdk/react/charts/tool-tip.md index 214fc96e8..c0dcfdf01 100644 --- a/chart-sdk/react/charts/tool-tip.md +++ b/chart-sdk/react/charts/tool-tip.md @@ -1,14 +1,14 @@ --- layout: post -title: Tooltip in React Charts | Syncfusion -description: Learn how to enable tooltips in Syncfusion React Charts with custom formats, HTML templates, highlighting, fixed position, and follow-pointer behavior. -control: Tooltip +title: Tooltip in React Chart component | Syncfusion +description: Learn here all about Tooltip in Syncfusion React Chart component of Syncfusion Essential JS 2 and more. +control: Tooltip platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Tooltip in React Charts +# Tooltip in React Chart component The chart displays detailed information about a data point through a tooltip when the mouse pointer moves over the point. diff --git a/chart-sdk/react/charts/trend-lines.md b/chart-sdk/react/charts/trend-lines.md index a0867ab43..0368af495 100644 --- a/chart-sdk/react/charts/trend-lines.md +++ b/chart-sdk/react/charts/trend-lines.md @@ -1,7 +1,7 @@ --- layout: post -title: Trend lines in React Charts | Syncfusion -description: Learn how to add linear, exponential, logarithmic, power, moving average and polynomial trend lines to Syncfusion React Charts to highlight data direction. +title: Trend lines in React Chart component | Syncfusion +description: Learn here all about Trend lines in Syncfusion React Chart component of Syncfusion Essential JS 2 and more. control: Trend lines platform: chart-sdk documentation: ug @@ -9,7 +9,7 @@ domainurl: https://help.syncfusion.com/chart-sdk --- -# Trend lines in React Charts +# Trend lines in React Chart component Trendlines help identify patterns, direction, and overall trends in numerical data. They project the general movement of data values and are widely used in analytics, forecasting, and financial charts. Trendlines can be added to Cartesian series types such as Line, Column, Scatter, Area, Candle, and Hilo (excluding bar series). Multiple trendlines can be added to a single series based on the analysis needs. diff --git a/chart-sdk/react/charts/understanding-chart.md b/chart-sdk/react/charts/understanding-chart.md index 5340c54ff..f218b8de7 100644 --- a/chart-sdk/react/charts/understanding-chart.md +++ b/chart-sdk/react/charts/understanding-chart.md @@ -1,67 +1,41 @@ --- layout: post -title: Understanding React Charts | Syncfusion -description: Learn the core building blocks of Syncfusion React Charts, including series, axes, legends, tooltips, and how they fit into a chart layout. +title: Understanding React Chart component | Syncfusion +description: Explore and understand the Syncfusion React Chart component in Essential JS 2 and discover its powerful features. platform: chart-sdk control: Understanding documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Understanding React Charts +# Understanding of React Chart -The [React Charts](https://www.syncfusion.com/react-components/react-charts) component visualizes data in a wide range of chart formats. Each chart is composed of essential building blocks — title, series, axes, legend, tooltip, data label, and annotations — that work together to provide clear, interactive, and meaningful insights. Understanding these blocks is the first step in configuring and customizing a chart for your data. +The [React Charts](https://www.syncfusion.com/react-components/react-charts) component is a versatile visualization tool that presents data using a wide range of graphical formats. Each chart is composed of essential elements—such as the title, series, tooltip, legend, and axes—that work together to provide clear, interactive, and meaningful insights. Understanding these elements helps in configuring and customizing charts for various analytical needs. The following image highlights the primary elements of a chart: -Annotated visual showing the main elements of a React Chart component, including the title, series area, axes, legend, tooltip, and data label - -## Series - -A series represents a group of data points plotted on the chart. Charts can include one or more series, and each series can use a different chart type — for example, line, column, area, or any other supported visualization. -For more details, see the [Chart types](https://help.syncfusion.com/chart-sdk/react/charts/chart-series) section. - -## Axes - -Axes structure and organize chart data. Standard Cartesian charts include an x-axis for independent variables and a y-axis for dependent variables. Three-dimensional charts add a z-axis to represent depth. Polar and radar charts instead use a radial axis to measure distance from the center and an angular axis to define direction. These axes translate complex datasets into a readable graphical format. -For more details, see the [Axis customization](https://help.syncfusion.com/chart-sdk/react/charts/axis-customization) section. +Annotated visual showing the main elements of a React Chart component, including the title, series area, axes, legend, and tooltip ## Title The chart title conveys the overall purpose or subject of the visualization. It typically appears at the top of the chart and can be customized in terms of alignment, style, and formatting. -For more details, see the [Title and Subtitle](https://help.syncfusion.com/chart-sdk/react/charts/title-subtitle) section. +For more details, see the [Title and Subtitle](https://ej2.syncfusion.com/react/documentation/chart/title-subtitle) section. -## Legend +## Series -The legend identifies each series in the chart, making it easier for users to understand dataset distinctions. It also supports toggling the visibility of individual series to facilitate interactive data exploration. -For more details, see the [Series](https://help.syncfusion.com/chart-sdk/react/charts/chart-types/line) section. +A series represents a group of data points plotted on the chart. Charts can include one or more series depending on the scenario, and each series can use different chart types such as line, column, area, or other supported visualizations. +For more details, see the [Series](https://ej2.syncfusion.com/react/documentation/chart/chart-types/line) section. ## Tooltip -Tooltips display helpful information when users hover over a data point or series. They offer interactive and contextual insights — for example, exact values or additional metadata — and can be customized to match the design or analytical needs of the application. -For more details, see the [Tooltip](https://help.syncfusion.com/chart-sdk/react/charts/tool-tip) section. - -## Data label - -Data labels place a small text annotation directly on each data point, showing the underlying value, category, or a custom template. They make the chart easier to read at a glance when exact values matter more than visual scanning. -For more details, see the [Data label](https://help.syncfusion.com/chart-sdk/react/charts/data-labels) section. - -## Annotations +Tooltips display helpful information when users hover over a data point or series. They offer interactive and contextual insights, such as exact values or additional metadata, and can be customized to match the design or analytical needs of the application. +For more details, see the [Tooltip](https://ej2.syncfusion.com/react/documentation/chart/tool-tip) section. -Annotations overlay arbitrary HTML or SVG content on the chart — for example, footers, watermarks, reference lines, or callout elements. They are useful when you need to draw the user's attention to a specific area of the chart that the other building blocks cannot express. -For more details, see the [Chart annotations](./chart-annotations) section. - -## Next steps +## Legend -To put the building blocks into practice, start with the [Getting started](https://help.syncfusion.com/chart-sdk/react/charts/getting-started) guide, which walks through installing the package, registering the chart component, and rendering your first series. From there, explore the [Chart types](https://help.syncfusion.com/chart-sdk/react/charts/chart-types/line) page to choose the visualization that fits your data. +The legend identifies each series in the chart, making it easier for users to understand dataset distinctions. It also supports toggling the visibility of individual series to facilitate interactive data exploration. +For more details, see the [Legend](https://ej2.syncfusion.com/react/documentation/chart/legend) section. -## See also +## Axes -* [Getting started](https://help.syncfusion.com/chart-sdk/react/charts/getting-started) -* [Chart series](https://help.syncfusion.com/chart-sdk/react/charts/chart-types/line) -* [Axis customization](https://help.syncfusion.com/chart-sdk/react/charts/axis-customization) -* [Title and Subtitle](https://help.syncfusion.com/chart-sdk/react/charts/title-subtitle) -* [Legend](https://help.syncfusion.com/chart-sdk/react/charts/legend) -* [Tooltip](https://help.syncfusion.com/chart-sdk/react/charts/tool-tip) -* [Data label](https://help.syncfusion.com/chart-sdk/react/charts/data-labels) -* [Chart annotations](https://help.syncfusion.com/chart-sdk/react/charts/chart-annotations) +Axes structure and organize chart data. Standard Cartesian charts include an x-axis for independent variables and a y-axis for dependent variables. Three-dimensional charts add a z-axis to represent depth. Polar and radar charts instead use radial axes to measure distance from the center and angular axes to define direction. These axes help translate complex datasets into a readable graphical format. diff --git a/chart-sdk/react/charts/working-with-data.md b/chart-sdk/react/charts/working-with-data.md index 5b3d8eff1..11e66cb4e 100644 --- a/chart-sdk/react/charts/working-with-data.md +++ b/chart-sdk/react/charts/working-with-data.md @@ -1,7 +1,7 @@ --- layout: post -title: Working with data in React Charts | Syncfusion -description: Learn how to bind local, remote, and observable data sources to Syncfusion React Charts and map fields to series and axes. +title: Working with data in React Chart component | Syncfusion +description: Learn here all about Working with data in Syncfusion React Chart component of Syncfusion Essential JS 2 and more. control: Working with data platform: chart-sdk documentation: ug @@ -10,26 +10,23 @@ domainurl: https://help.syncfusion.com/chart-sdk -# Working with data in React Charts +# Working with data in React Chart component -The [React Charts](https://www.syncfusion.com/react-components/react-charts) component supports multiple data binding approaches to suit different application scenarios. Data can be bound from local JSON arrays, dynamically loaded on demand with lazy loading, fetched from remote services using various adaptor patterns, or handled when the dataset is missing or contains empty points. This guide covers all available data binding methods and additional scenarios, helping you choose the right approach for your use case based on data size, performance requirements, and back-end architecture. +The [React Charts](https://www.syncfusion.com/react-components/react-charts) component supports multiple data binding approaches to suit different application scenarios. Data can be bound from local JSON arrays, dynamically loaded on demand with lazy loading, or fetched from remote services using various adaptor patterns. This guide covers all available data binding methods, helping you choose the right approach for your use case based on data size, performance requirements, and backend architecture. ## Choosing a data binding approach -| Method | Best for | Advantages | Considerations | +| Method | Best For | Advantages | Considerations | |--------|----------|------------|-----------------| | **Local data** | Small to medium datasets | Simple setup, no network latency, instant rendering | All data must be in memory | | **Common datasource** | Multiple series sharing data | Reduces redundancy, single update point | Limited to data common across series | | **Lazy loading** | Large datasets with scrolling | Loads only visible data, better performance | Requires server-side pagination | -| **Remote data (OData / Web API)** | Backend-driven data | Scalable, centralized data management, real-time updates | Network latency, requires service setup | -| **Custom adaptor** | Non-standard backends | Full control over request/response handling | More code to maintain | +| **Remote data (OData/WebAPI)** | Backend-driven data | Scalable, centralized data management, real-time updates | Network latency, requires service setup | | **Offline mode** | Data caching with client-side actions | Eliminates repeated requests, faster interactions | Initial load time, memory constraints | -| **Empty points** | Datasets with missing values | Gracefully renders gaps instead of errors | Requires configuration of `emptyPointSettings` | -| **No data template** | Empty or loading states | Displays a custom message or layout | Replaced automatically when data arrives | ## Local data -Bind simple JSON data to the chart using the [`dataSource`](https://ej2.syncfusion.com/react/documentation/api/chart/seriesModel#datasource) property in the series configuration. The `dataSource` accepts an array of objects, an array of arrays, or the result of a JSON parse. Map fields on each data object to the [`xName`](https://ej2.syncfusion.com/react/documentation/api/chart/seriesModel#xname) and [`yName`](https://ej2.syncfusion.com/react/documentation/api/chart/seriesModel#yname) properties to specify which data fields represent the x and y axis values. +Bind simple JSON data to the chart using the [`dataSource`](https://ej2.syncfusion.com/react/documentation/api/chart/seriesModel#datasource) property in the series configuration. Map the JSON fields to the [`xName`](https://ej2.syncfusion.com/react/documentation/api/chart/seriesModel#xname) and [`yName`](https://ej2.syncfusion.com/react/documentation/api/chart/seriesModel#yname) properties to specify which data fields represent the x and y axis values. {% tabs %} {% highlight js tabtitle="index.jsx" %} @@ -50,14 +47,14 @@ Bind simple JSON data to the chart using the [`dataSource`](https://ej2.syncfusi ## Lazy loading -Lazy loading enables on-demand data retrieval, loading only the data required for the currently visible range of the chart. The chart fires the `scrollEnd` event at the end of every scroll interaction and the `scrollStart` event at the beginning. To enable lazy loading, wire up both events and, in the `scrollEnd` handler, read the `currentRange` minimum and maximum values, request the corresponding data from the server, and append the result to the existing data source. This approach is ideal for large datasets that would be expensive to load entirely into memory. +Lazy loading enables on-demand data retrieval, loading only the data required for the currently visible range. The chart fires the `scrollEnd` event when the user scrolls near the edge of the visible data range. In this event handler, retrieve the minimum and maximum values from the scrolled axis, request the corresponding data from your server, and append it to the chart. This approach is ideal for large datasets that would be expensive to load entirely into memory. **How lazy loading works:** -1. Scroll the chart to view a different data range. -2. The `scrollEnd` event fires with the current axis range information. -3. Fetch the corresponding data from the server using the minimum and maximum values from the axis range. -4. Update the React state with the combined dataset (existing data + newly fetched data). -5. The chart re-renders automatically with the updated data. +1. User scrolls the chart to view a different data range +2. `scrollEnd` event fires with current axis range information +3. Fetch the corresponding data from your server +4. Append new data to the existing dataset +5. Chart automatically re-renders with the updated data {% tabs %} {% highlight js tabtitle="index.jsx" %} @@ -72,7 +69,7 @@ Lazy loading enables on-demand data retrieval, loading only the data required fo ### Common datasource -Bind the same JSON data to all series by setting the [`dataSource`](https://ej2.syncfusion.com/react/documentation/api/chart#datasource) property at the chart level instead of the series level. This approach is useful when multiple series share the same dataset and you want to update data from a single source. Each series independently maps its own [`xName`](https://ej2.syncfusion.com/react/documentation/api/chart/seriesmodel#xname) and [`yName`](https://ej2.syncfusion.com/react/documentation/api/chart/seriesmodel#yname) properties to the common data fields. +Bind the same JSON data to all series by setting the [`dataSource`](https://ej2.syncfusion.com/react/documentation/api/chart/seriesModel#datasource) property at the chart level instead of the series level. This approach is useful when multiple series share the same dataset and you want to update data from a single source. Each series independently maps its own [`xName`](https://ej2.syncfusion.com/react/documentation/api/chart/seriesModel#xname) and [`yName`](https://ej2.syncfusion.com/react/documentation/api/chart/seriesModel#yname) properties to the common data fields. {% tabs %} {% highlight js tabtitle="index.jsx" %} @@ -93,7 +90,7 @@ Bind the same JSON data to all series by setting the [`dataSource`](https://ej2. ## Remote data -Bind remote data from a web service by using the `DataManager` class. The `DataManager` simplifies communication with REST APIs, OData services, and custom web endpoints. It requires minimal configuration—typically just the service URL and an appropriate adaptor—and then handles all request and response processing. Import the class from `@syncfusion/ej2-data`, assign a `DataManager` instance to the [`dataSource`](https://ej2.syncfusion.com/react/documentation/api/chart/seriesmodel#datasource) property in the series, and map the response fields to [`xName`](https://ej2.syncfusion.com/react/documentation/api/chart/seriesmodel#xname) and [`yName`](https://ej2.syncfusion.com/react/documentation/api/chart/seriesmodel#yname). Use the optional [`query`](https://ej2.syncfusion.com/react/documentation/api/chart/seriesmodel#query) property of the `DataManager` to filter, sort, or paginate data on the server. +Bind remote data from a web service by using the `DataManager` class. The DataManager simplifies communication with REST APIs, OData services, and custom web endpoints. It requires minimal configuration—typically just the service URL and an appropriate adaptor—then handles all request/response processing. Assign the DataManager instance to the [`dataSource`](https://ej2.syncfusion.com/react/documentation/api/chart/seriesModel#datasource) property in the series, and map the response fields to [`xName`](https://ej2.syncfusion.com/react/documentation/api/chart/seriesModel#xname) and [`yName`](https://ej2.syncfusion.com/react/documentation/api/chart/seriesModel#yname). Use the optional [`query`](https://ej2.syncfusion.com/react/documentation/api/chart/seriesModel#query) property to filter, sort, or paginate data on the server. {% tabs %} {% highlight js tabtitle="index.jsx" %} @@ -108,9 +105,9 @@ Bind remote data from a web service by using the `DataManager` class. The `DataM ## Binding data using ODataAdaptor -[OData](https://www.odata.org/documentation) is a standardized protocol for creating and consuming data via REST APIs. Use the `ODataAdaptor` with `DataManager` to retrieve data from OData v3 services. The adaptor automatically constructs the correct query syntax and handles all standard OData conventions. Construct it as `new DataManager({ url: 'https://service/odata/', adaptor: new ODataAdaptor() })`. +[OData](http://www.odata.org/documentation/odata-version-3-0) is a standardized protocol for creating and consuming data via REST APIs. Use the ODataAdaptor with DataManager to retrieve data from OData services. The adaptor automatically constructs the correct query syntax and handles standard OData conventions. -**Example use case:** Querying a product sales service that implements OData v3 filtering, sorting, and pagination. +**Example use case:** Querying a product sales service that implements OData v3.0 filtering, sorting, and pagination. {% tabs %} {% highlight js tabtitle="index.jsx" %} @@ -125,9 +122,9 @@ Bind remote data from a web service by using the `DataManager` class. The `DataM ## Binding data using ODataV4Adaptor -ODataV4 is an improved and more standardised version of the OData protocol. It provides enhanced query capabilities and improved JSON support over OData v3. Use the `ODataV4Adaptor` to consume ODataV4 services. For more information on ODataV4 specifications, refer to the [OData v4 documentation](https://docs.oasis-open.org/odata/odata/v4.0/odata-v4.0-part1-protocol.html). +ODataV4 is an improved and more standardized version of the OData protocol, with enhanced query capabilities and better JSON support. Use the ODataV4Adaptor to consume ODataV4 services. For more information on ODataV4 specifications, refer to the [OData v4 documentation](http://docs.oasis-open.org/odata/odata/v4.0/errata03/os/complete/part1-protocol/odata-v4.0-errata03-os-part1-protocol-complete.html#_Toc453752197). -**When to use ODataV4Adaptor:** If your backend service implements OData v4, prefer this adaptor over the older `ODataAdaptor` for better compliance and features. +**When to use ODataV4Adaptor:** If your backend service implements OData v4.0, prefer this adaptor over the older ODataAdaptor for better compliance and features. {% tabs %} {% highlight js tabtitle="index.jsx" %} @@ -142,13 +139,13 @@ ODataV4 is an improved and more standardised version of the OData protocol. It p ## Web API adaptor -Use the `WebApiAdaptor` to consume custom REST APIs that follow a standard response format. This adaptor is ideal for backends that do not implement OData, but provide REST endpoints returning JSON data. +Use the WebApiAdaptor to consume custom REST APIs that follow a standard response format. This adaptor is ideal for backends that do not implement OData but provide REST endpoints returning JSON data. -**Expected response format** +**Expected response format:** The Web API must return a JSON object with two properties: -- `Items` - Array of data objects for the chart. -- `Count` - Total number of records (useful for pagination). +- `Items`: Array of data objects for the chart +- `Count`: Total number of records (useful for pagination) {% tabs %} {% highlight js tabtitle="index.jsx" %} @@ -167,14 +164,14 @@ The Web API should structure its response as shown below. The `Items` array cont ``` { - "Items": [{..}, {..}, {..}, ...], - "Count": 830 + Items: [{..}, {..}, {..}, ...], + Count: 830 } ``` ## Custom adaptor -Create a custom adaptor by extending one of the built-in adaptors (typically `ODataAdaptor`) to add custom logic for request and response handling. Override the `processResponse(data, ds, query, xhr)` method to transform or enrich the response data. The method receives the raw server response and must return the processed data array. Common use cases include adding a `serialNumber` field, reformatting dates, or adding computed fields before the chart renders the data. +Create a custom adaptor by extending one of the built-in adaptors (typically ODataAdaptor) to add custom logic for request/response handling. Override the `processResponse` method to transform or enrich the response data. Common use cases include adding serial numbers, reformatting dates, or adding computed fields before the chart renders the data. {% tabs %} {% highlight js tabtitle="index.jsx" %} @@ -195,13 +192,13 @@ Create a custom adaptor by extending one of the built-in adaptors (typically `OD ## Offline mode -When using remote data binding, all filtering, sorting, and pagination normally happen on the server. To improve responsiveness and reduce server load, enable offline mode: the chart loads all data once during initialization, then handles all interactions client-side. Set the `offline` property of `DataManager` to `true` to activate this behavior. +When using remote data binding, all filtering, sorting, and pagination normally happen on the server. To improve responsiveness and reduce server load, enable offline mode: the chart loads all data once during initialization, then handles all interactions client-side. Set the `offline` property of DataManager to `true` to activate this behavior. **Use offline mode when:** -- Your dataset is relatively small (fits comfortably in browser memory). -- You want instant filtering and sorting without server round-trips. -- Network latency is a significant usability concern. -- You prefer to minimize server requests during user interactions. +- Your dataset is relatively small (fits comfortably in browser memory) +- You want instant filtering and sorting without server round-trips +- Network latency is a significant usability concern +- You prefer to minimize server requests during user interactions **Caution:** Offline mode loads the entire dataset at once, which may impact initial load time and memory usage for large datasets. @@ -218,19 +215,10 @@ When using remote data binding, all filtering, sorting, and pagination normally ## Empty points -Data points with `null` or `undefined` values are interpreted as empty points. Empty data points are skipped and not rendered in the chart. Customize empty points with the [`emptyPointSettings`](https://ej2.syncfusion.com/react/documentation/api/chart/emptypointsettingsmodel) property in the series configuration. By default, empty points create a gap in the series line or bar. +Data points with `null` or `undefined` values are treated as empty points. Empty data points are skipped and not rendered in the chart. When using the `points` property to define individual data items, customize empty points with the `emptyPointSettings` property in the series configuration. By default, empty points create a gap in the series line or bar. **Default behavior:** Empty points use the `Gap` mode, which leaves a blank space in the chart visualization. -**Available modes** - -The `mode` property of `emptyPointSettings` accepts the following values: - -* `Gap` - Leaves a blank space in the chart. -* `Zero` - Treats the empty point as zero. -* `Average` - Replaces the empty point with the average of neighboring points. -* `Drop` - Drops the data point from the chart entirely. - {% tabs %} {% highlight js tabtitle="index.jsx" %} {% include code-snippet/chart-sdk/react/charts/code-path/series/column-cs12/app/index.jsx %} @@ -250,7 +238,7 @@ The `mode` property of `emptyPointSettings` accepts the following values: **Empty point color** -Assign a specific color to empty points by setting the [`fill`](https://ej2.syncfusion.com/react/documentation/api/chart/emptypointsettingsmodel#fill) property in the `emptyPointSettings` object. This allows you to visually distinguish empty data points from regular data in your chart. +Assign a specific color to empty points by setting the `fill` property in the `emptyPointSettings` object. This allows you to visually distinguish empty data points from regular data in your chart. {% tabs %} {% highlight js tabtitle="index.jsx" %} @@ -271,7 +259,7 @@ Assign a specific color to empty points by setting the [`fill`](https://ej2.sync ## Handling no data -When the chart has no data available to render, use the [`noDataTemplate`](https://ej2.syncfusion.com/react/documentation/api/chart/chartModel#nodatatemplate) property to display a custom layout within the chart area. This template can include messages, images, icons, or interactive elements (such as a load button) to guide the user. The template maintains design consistency and improves user experience when data is unavailable. When data becomes available, the chart automatically replaces the template with the visualization. +When the chart has no data available to render, use the `noDataTemplate` property to display a custom layout within the chart area. This template can include messages, images, icons, or interactive elements (such as a load button) to guide the user. The template maintains design consistency and improves user experience when data is unavailable. Once data becomes available, the chart automatically updates and replaces the template with the visualization. {% tabs %} {% highlight js tabtitle="index.jsx" %} @@ -289,21 +277,3 @@ When the chart has no data available to render, use the [`noDataTemplate`](https {% endtabs %} {% previewsample "https://help.syncfusion.com/code-snippet/chart-sdk/react/charts/preview-sample/series/column-cs20" %} - -## Troubleshooting - -**CORS errors when binding remote data** - -The browser blocks the request if the remote service does not return appropriate CORS headers. Enable CORS on the server or proxy the request through your application. - -**`DataManager is not defined`** - -`DataManager` and the adaptors are exported from `@syncfusion/ej2-data`. Install the package and import the symbols you use, for example `import { DataManager, ODataAdaptor } from '@syncfusion/ej2-data';`. - -**Empty chart with no errors** - -Verify that the response field names match the values set on `xName` and `yName`. Field matching is case-sensitive. - -**Lazy loading never appends new data** - -Make sure the `scrollEnd` event is wired up and that you are updating the React state with the combined dataset, not mutating the array in place. The chart re-renders only when the data source reference changes. \ No newline at end of file diff --git a/chart-sdk/react/charts/zooming.md b/chart-sdk/react/charts/zooming.md index c552bc158..8f89285a9 100644 --- a/chart-sdk/react/charts/zooming.md +++ b/chart-sdk/react/charts/zooming.md @@ -1,32 +1,28 @@ --- layout: post -title: Zooming in React Charts | Syncfusion -description: Learn how to enable mouse-wheel, pinch, selection, and toolbar zooming in Syncfusion React Charts, with options for pan and reset. -control: Zooming +title: Zooming in React Chart component | Syncfusion +description: Learn here all about Zooming in Syncfusion React Chart component of Syncfusion Essential JS 2 and more. +control: Zooming platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Zooming in React Charts +# Zooming in React Chart component -Zooming and panning let users explore a chart in more detail by focusing on a specific data range. The React Chart supports mouse-wheel, pinch, rubber-band selection, and toolbar-based zooming, with options to customize the toolbar, scrollbar, pan behavior, and axis interval handling. This guide covers all available zoom-related properties and interactions. - -> Note: To use any zoom-related feature, inject the `Zoom` module into the chart's `services`. Also ensure the `@syncfusion/ej2-react-charts` package is installed. - -To get started quickly with React Chart Zooming and Panning, you can check out this video: +To get start quickly with React Chart Zooming and Panning, you can check on this video: {% youtube "https://www.youtube.com/watch?v=6Fq99_MnpSA" %} ## Enable zooming -The chart supports zooming through the following three interaction methods. Each method is independent and can be combined. +The chart supports zooming through the following three interaction methods: -* **Selection** – Set [`enableSelectionZooming`](https://ej2.syncfusion.com/react/documentation/api/chart/zoomSettingsModel#enableselectionzooming) to `true` in `zoomSettings` to zoom using a rubber-band selection. Defaults to `false`. -* **Mouse wheel** – Set [`enableMouseWheelZooming`](https://ej2.syncfusion.com/react/documentation/api/chart/zoomSettingsModel#enablemousewheelzooming) to `true` in `zoomSettings` to zoom in and out by scrolling the mouse wheel. Defaults to `false`. -* **Pinch** – Set [`enablePinchZooming`](https://ej2.syncfusion.com/react/documentation/api/chart/zoomSettingsModel#enablepinchzooming) to `true` in `zoomSettings` to zoom using pinch gestures on touch-enabled devices. Defaults to `false`. +* **Selection** – By setting [`enableSelectionZooming`](https://ej2.syncfusion.com/react/documentation/api/chart/zoomSettingsModel#enableselectionzooming) to **true** in `zoomSettings`, zooming can be performed using a rubber-band selection. +* **Mouse wheel** – By setting [`enableMouseWheelZooming`](https://ej2.syncfusion.com/react/documentation/api/chart/zoomSettingsModel#enablemousewheelzooming) to **true** in `zoomSettings`, the chart can be zoomed in and out by scrolling the mouse wheel. +* **Pinch** – By setting [`enablePinchZooming`](https://ej2.syncfusion.com/react/documentation/api/chart/zoomSettingsModel#enablepinchzooming) to **true** in `zoomSettings`, zooming can be performed using pinch gestures on touch-enabled devices. -> Note: Pinch zooming is supported only in browsers that support multi-touch gestures. +> Pinch zooming is supported only in browsers that support multi-touch gestures. {% tabs %} {% highlight js tabtitle="index.jsx" %} @@ -45,18 +41,18 @@ The chart supports zooming through the following three interaction methods. Each {% previewsample "https://help.syncfusion.com/code-snippet/chart-sdk/react/charts/preview-sample/user-interaction/zoom-cs4" %} -After zooming, a toolbar is displayed that includes `Zoom`, `ZoomIn`, `ZoomOut`, `Pan`, and `Reset` buttons. -Selecting `Pan` allows the chart to be panned, and selecting `Reset` restores the chart to its original zoom state. +After zooming, a toolbar is displayed that includes **zoom**, **zoomin**, **zoomout**, **pan**, and **reset** buttons. +Selecting **Pan** allows the chart to be panned, and selecting **Reset** restores the chart to its original zoom state. -## Zoom modes +## Modes -The [`mode`](https://ej2.syncfusion.com/react/documentation/api/chart/zoomSettingsModel#mode) property in `zoomSettings` specifies whether the chart zooms along the horizontal axis, vertical axis, or both. +The [`mode`](https://ej2.syncfusion.com/react/documentation/api/chart/zoomSettings#mode) property in `zoomSettings` specifies whether zooming can be applied along the horizontal axis, vertical axis, or both. The default value is **XY**. The supported zooming modes are: -* `X` - Allows zooming along the horizontal axis. -* `Y` - Allows zooming along the vertical axis. -* `XY` - Allows zooming along both horizontal and vertical axes. +* **X** – Allows zooming along the horizontal axis. +* **Y** – Allows zooming along the vertical axis. +* **XY** – Allows zooming along both horizontal and vertical axes. {% tabs %} {% highlight js tabtitle="index.jsx" %} @@ -75,17 +71,10 @@ The supported zooming modes are: {% previewsample "https://help.syncfusion.com/code-snippet/chart-sdk/react/charts/preview-sample/user-interaction/zoom-cs5" %} -## Zoom toolbar - -By default, the `ZoomIn`, `ZoomOut`, `Pan`, and `Reset` buttons are displayed after a zoom interaction. The toolbar contents can be customized by using the [`toolbarItems`](https://ej2.syncfusion.com/react/documentation/api/chart/zoomSettingsModel#toolbaritems) property. Available toolbar item values include: +## Toolbar -* `Zoom` - Enables the zooming tool to select and zoom into a specific region of the chart. -* `ZoomIn` - Zooms the chart in by a fixed factor. -* `ZoomOut` - Zooms the chart out by a fixed factor. -* `Pan` - Allows you to pan the chart. -* `Reset` - Resets the zoomed chart. - -Set [`showToolbar`](https://ej2.syncfusion.com/react/documentation/api/chart/zoomSettingsModel#showtoolbar) to `true` to display the toolbar during initial rendering. The default value is `false`. +By default, the **zoomin**, **zoomout**, **pan**, and **reset** buttons are displayed when the chart is zoomed. The toolbar contents can be customized by using the [`toolbarItems`](https://ej2.syncfusion.com/react/documentation/api/chart/zoomSettingsModel#toolbaritems) property. +Additionally, the zooming toolbar can be displayed during initial rendering by setting the [`showToolbar`](https://ej2.syncfusion.com/react/documentation/api/chart/zoomSettingsModel#showtoolbar) property to **true**. {% tabs %} {% highlight js tabtitle="index.jsx" %} @@ -106,13 +95,9 @@ Set [`showToolbar`](https://ej2.syncfusion.com/react/documentation/api/chart/zoo ### Toolbar customization -Use the [`toolbarPosition`](https://ej2.syncfusion.com/react/documentation/api/chart/zoomSettingsModel#toolbarposition) property to customize the zoom toolbar position. The property accepts the following horizontal and vertical alignment values: - -* Horizontal alignment: `Near`, `Center`, `Far`. -* Vertical alignment: `Top`, `Middle`, `Bottom`. - -For precise placement, use the [`x`](https://ej2.syncfusion.com/react/documentation/api/chart/toolbarPositionModel#x) and [`y`](https://ej2.syncfusion.com/react/documentation/api/chart/toolbarPositionModel#y) properties. -Set the [`draggable`](https://ej2.syncfusion.com/react/documentation/api/chart/toolbarPositionModel#draggable) property to `true` to allow the toolbar to be repositioned freely within the chart area. +The zoom toolbar position can be customized by using the [`toolbarPosition`](https://ej2.syncfusion.com/react/documentation/api/chart/zoomSettingsModel#toolbarposition) property. This property supports horizontal alignments (**Near**, **Center**, and **Far**) and vertical alignments (**Top**, **Middle**, and **Bottom**). The default values are **Far** for horizontal alignment and **Top** for vertical alignment. +For precise placement, the [`x`](https://ej2.syncfusion.com/react/documentation/api/chart/toolbarPositionModel#x) and [`y`](https://ej2.syncfusion.com/react/documentation/api/chart/toolbarPositionModel#y) properties can be used. +Enabling the [`draggable`](https://ej2.syncfusion.com/react/documentation/api/chart/toolbarPositionModel#draggable) property allows the toolbar to be repositioned freely within the chart area. {% tabs %} {% highlight js tabtitle="index.jsx" %} @@ -133,14 +118,12 @@ Set the [`draggable`](https://ej2.syncfusion.com/react/documentation/api/chart/t ## Enable scrollbar -Set the [`enableScrollbar`](https://ej2.syncfusion.com/react/documentation/api/chart/zoomSettingsModel#enablescrollbar) property to `true` to display a scrollbar for the zoomed chart. The scrollbar supports both zooming and panning interactions. - -Customize the scrollbar appearance using properties within [`scrollbarSettings`](https://ej2.syncfusion.com/react/documentation/api/chart/scrollbarSettings). For example: - -* [`trackColor`](https://ej2.syncfusion.com/react/documentation/api/chart/scrollbarSettings#trackcolor) and [`trackRadius`](https://ej2.syncfusion.com/react/documentation/api/chart/scrollbarSettings#trackradius) control the track appearance. -* [`scrollbarColor`](https://ej2.syncfusion.com/react/documentation/api/chart/scrollbarSettings#scrollbarcolor) and [`scrollbarRadius`](https://ej2.syncfusion.com/react/documentation/api/chart/scrollbarSettings#scrollbarradius) customize the scroller. -* [`enableZoom`](https://ej2.syncfusion.com/react/documentation/api/chart/scrollbarSettings#enablezoom) enables or disables zooming through the scrollbar (default is `true`). -* [`gripColor`](https://ej2.syncfusion.com/react/documentation/api/chart/scrollbarSettings#gripcolor) and [`height`](https://ej2.syncfusion.com/react/documentation/api/chart/scrollbarSettings#height) customize the grip color and scrollbar height. +By using the [`enableScrollbar`](https://ej2.syncfusion.com/react/documentation/api/chart/zoomSettingsModel#enablescrollbar) property, a scrollbar can be displayed for the zoomed chart. This scrollbar supports both zooming and panning interactions. +Scrollbar appearance can be customized using properties within [`scrollbarSettings`](https://ej2.syncfusion.com/react/documentation/api/chart/scrollbarSettings). For example: +- [`trackColor`](https://ej2.syncfusion.com/react/documentation/api/chart/scrollbarSettings#trackcolor) and [`trackRadius`](https://ej2.syncfusion.com/react/documentation/api/chart/scrollbarSettings#trackradius) control the track appearance. +- [`scrollbarColor`](https://ej2.syncfusion.com/react/documentation/api/chart/scrollbarSettings#scrollbarcolor) and [`scrollbarRadius`](https://ej2.syncfusion.com/react/documentation/api/chart/scrollbarSettings#scrollbarradius) customize the scroller. +- Zooming through the scrollbar can be enabled or disabled using [`enableZoom`](https://ej2.syncfusion.com/react/documentation/api/chart/scrollbarSettings#enablezoom). +- The grip color and scrollbar height can be customized using [`gripColor`](https://ej2.syncfusion.com/react/documentation/api/chart/scrollbarSettings#gripcolor) and [`height`](https://ej2.syncfusion.com/react/documentation/api/chart/scrollbarSettings#height). {% tabs %} {% highlight js tabtitle="index.jsx" %} @@ -159,15 +142,12 @@ Customize the scrollbar appearance using properties within [`scrollbarSettings`] {% previewsample "https://help.syncfusion.com/code-snippet/chart-sdk/react/charts/preview-sample/user-interaction/zoom-cs7" %} -### Scrollbar position - -The [`position`](https://ej2.syncfusion.com/react/documentation/api/chart/scrollbarSettings#position) property specifies where the scrollbar is rendered. By default, both vertical and horizontal scrollbars are placed next to their respective axes. - +### Position +The [`position`](https://ej2.syncfusion.com/react/documentation/api/chart/scrollbarSettings#position) property specifies where the scrollbar is rendered. By default, both vertical and horizontal scrollbars are placed near their respective axes. The available positions are: - -* `placeNextToAxisLine` (default) - Places the scrollbar next to the axis line. -* `Top` / `Bottom` - Positions the horizontal scrollbar above or below the chart. -* `Left` / `Right` - Positions the vertical scrollbar to the left or right of the chart. +* **Default** – `placeNextToAxisLine` +* **Horizontal scrollbar** – `Top`, `Bottom` +* **Vertical scrollbar** – `Left`, `Right` {% tabs %} {% highlight js tabtitle="index.jsx" %} @@ -188,10 +168,10 @@ The available positions are: ## Enable animation -Set [`enableAnimation`](https://ej2.syncfusion.com/react/documentation/api/chart/zoomSettingsModel#enableanimation) to `true` to animate zoom operations. +Use the [`enableAnimation`](https://ej2.syncfusion.com/react/documentation/api/chart/zoomSettingsModel#enableanimation) property to apply smooth animation effects during zoom operations. {% tabs %} -{% highlight js tabtitle="index.jsx" %} +{% highlight ts tabtitle="index.jsx" %} {% include code-snippet/chart-sdk/react/charts/code-path/user-interaction/zoom-cs10/app/index.jsx %} {% endhighlight %} @@ -204,7 +184,7 @@ Set [`enableAnimation`](https://ej2.syncfusion.com/react/documentation/api/chart ## Enable pan -Set [`enablePan`](https://ej2.syncfusion.com/react/documentation/api/chart/zoomSettingsModel#enablepan) to `true` to allow the zoomed chart to be panned without using the toolbar items. +By using the [`enablePan`](https://ej2.syncfusion.com/react/documentation/api/chart/zoomSettings#enablepan) property, the zoomed chart can be panned without using toolbar items. {% tabs %} {% highlight js tabtitle="index.jsx" %} @@ -223,9 +203,9 @@ Set [`enablePan`](https://ej2.syncfusion.com/react/documentation/api/chart/zoomS {% previewsample "https://help.syncfusion.com/code-snippet/chart-sdk/react/charts/preview-sample/user-interaction/zoom-cs8" %} -## Enable auto interval on zooming +## Auto interval on zooming -Set [`enableAutoIntervalOnZooming`](https://ej2.syncfusion.com/react/documentation/api/chart/axisModel#enableautointervalonzooming) on the axis (not on `zoomSettings`) to `true` so that the axis interval is recalculated automatically based on the current zoomed range. +By using the [`enableAutoIntervalOnZooming`](https://ej2.syncfusion.com/react/documentation/api/chart/axis/?no-cache=1#enableautointervalonzooming) property, the axis interval is calculated automatically based on the current zoomed range. {% tabs %} {% highlight js tabtitle="index.jsx" %} @@ -244,26 +224,4 @@ Set [`enableAutoIntervalOnZooming`](https://ej2.syncfusion.com/react/documentati {% previewsample "https://help.syncfusion.com/code-snippet/chart-sdk/react/charts/preview-sample/user-interaction/zoom-cs9" %} ->Note: To use zooming feature, we need to inject `Zoom` module into the `services`. - -## Troubleshooting - -**Zoom, pan, or scrollbar does not work** - -Make sure the `Zoom` module is injected into the chart's `services`. Without it, all zoom-related properties are silently ignored. - -**Pinch zoom does not trigger on desktop** - -Pinch zoom requires a touch-capable device. Verify that you are testing on a real touch device or a browser emulator that supports multi-touch. - -**Scrollbar overlaps the axis labels** - -Customize the scrollbar position with the `position` property of `scrollbarSettings`, or increase the chart margin to provide more space. - -**Axis labels are too dense after zooming** - -Enable `enableAutoIntervalOnZooming` on the axis so the interval is recalculated based on the visible range. - -**Toolbar appears before the user zooms** - -Set `showToolbar` to `false` (the default) to keep the toolbar hidden until the chart is zoomed. \ No newline at end of file +>Note: To use zooming feature, we need to inject `Zoom` module into the `services`. \ No newline at end of file diff --git a/chart-sdk/react/circular-gauge/accessibility.md b/chart-sdk/react/circular-gauge/accessibility.md index f76adfcd9..44866af5d 100644 --- a/chart-sdk/react/circular-gauge/accessibility.md +++ b/chart-sdk/react/circular-gauge/accessibility.md @@ -1,14 +1,14 @@ --- layout: post -title: Accessibility in React Circular Gauge | Syncfusion -description: Learn how the React Circular Gauge meets WCAG 2.2, Section 508, ARIA, and screen reader support, with WAI-ARIA attribute details and compliance validation. +title: Accessibility in React Circular Gauge component | Syncfusion +description: Learn here all about Accessibility in Syncfusion React Circular Gauge component of Syncfusion Essential JS 2 and more. control: Accessibility platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Accessibility in React Circular Gauge +# Accessibility in React Circular Gauge component The Circular Gauge component follows commonly used accessibility guidelines and standards, such as [ADA](https://www.ada.gov/), [Section 508](https://www.section508.gov/), [WCAG 2.2](https://www.w3.org/TR/WCAG22/) standards, and [WCAG roles](https://www.w3.org/TR/wai-aria/#roles). diff --git a/chart-sdk/react/circular-gauge/ej1-api-migration.md b/chart-sdk/react/circular-gauge/ej1-api-migration.md index 41f120661..571c5306d 100644 --- a/chart-sdk/react/circular-gauge/ej1-api-migration.md +++ b/chart-sdk/react/circular-gauge/ej1-api-migration.md @@ -1,14 +1,14 @@ --- layout: post -title: Migration from Essential JS 1 in React Circular Gauge | Syncfusion -description: Migrate the React Circular Gauge from Essential JS 1 to JS 2 with side-by-side property mapping for axes, ticks, labels, ranges, pointers, and other settings. -control: Ej1 api migration +title: Ej1 api migration in React Circular gauge component | Syncfusion +description: Learn here all about Ej1 api migration in Syncfusion React Circular gauge component of Syncfusion Essential JS 2 and more. +control: Ej1 api migration platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Migration from Essential JS 1 in React Circular Gauge +# Ej1 api migration in React Circular gauge component This article describes the API migration process of Accordion component from Essential® JS 1 to Essential® JS 2. diff --git a/chart-sdk/react/circular-gauge/gauge-animation.md b/chart-sdk/react/circular-gauge/gauge-animation.md index 0a8f1ee3a..297e43768 100644 --- a/chart-sdk/react/circular-gauge/gauge-animation.md +++ b/chart-sdk/react/circular-gauge/gauge-animation.md @@ -1,14 +1,14 @@ --- layout: post -title: Animation in React Circular Gauge | Syncfusion -description: Animate React Circular Gauge elements sequentially using the animationDuration property to render axis lines, ticks, labels, ranges, pointers, and annotations. +title: Animation in React Circular Gauge component | Syncfusion +description: Learn here all about animation in the Syncfusion React Circular Gauge component of Syncfusion Essential JS 2 and more. control: Circular Gauge platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Animation in React Circular Gauge +# Animation in React Circular Gauge component All of the elements in the Circular Gauge, such as the axis lines, ticks, labels, ranges, pointers, and annotations, can be animated sequentially by using the [animationDuration](https://ej2.syncfusion.com/react/documentation/api/circular-gauge#animationduration) property. The animation for the Circular Gauge is enabled when the `animationDuration` property is set to an appropriate value in milliseconds, providing a smooth rendering effect for the component. If the `animationDuration` property is set to **0**, which is the default value, the animation effect is disabled. If the animation is enabled, the component will behave in the following order. diff --git a/chart-sdk/react/circular-gauge/gauge-annotations.md b/chart-sdk/react/circular-gauge/gauge-annotations.md index 052e77d2d..b4305593e 100644 --- a/chart-sdk/react/circular-gauge/gauge-annotations.md +++ b/chart-sdk/react/circular-gauge/gauge-annotations.md @@ -1,14 +1,14 @@ --- layout: post -title: Annotations in React Circular Gauge | Syncfusion -description: Mark specific areas in the React Circular Gauge with custom text, shapes, or images by adding the Annotations module and configuring annotation content. +title: Gauge annotations in React Circular gauge component | Syncfusion +description: Learn here all about Gauge annotations in Syncfusion React Circular gauge component of Syncfusion Essential JS 2 and more. control: Gauge annotations platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Annotations in React Circular Gauge +# Gauge annotations in React Circular gauge component Annotations are used to mark a specific area of interest in the gauge with texts, shapes or images. diff --git a/chart-sdk/react/circular-gauge/gauge-appearance.md b/chart-sdk/react/circular-gauge/gauge-appearance.md index 38504dd8a..e5c1ec850 100644 --- a/chart-sdk/react/circular-gauge/gauge-appearance.md +++ b/chart-sdk/react/circular-gauge/gauge-appearance.md @@ -1,14 +1,14 @@ --- layout: post -title: Appearance in React Circular Gauge | Syncfusion -description: Customize React Circular Gauge appearance with title text, position, background, margins, and other style properties to match your application design. -control: Gauge appearance +title: Gauge appearance in React Circular gauge component | Syncfusion +description: Learn here all about Gauge appearance in Syncfusion React Circular gauge component of Syncfusion Essential JS 2 and more. +control: Gauge appearance platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Appearance in React Circular Gauge +# Gauge appearance in React Circular gauge component ## Gauge Title diff --git a/chart-sdk/react/circular-gauge/gauge-axes.md b/chart-sdk/react/circular-gauge/gauge-axes.md index 819060944..57edfcec0 100644 --- a/chart-sdk/react/circular-gauge/gauge-axes.md +++ b/chart-sdk/react/circular-gauge/gauge-axes.md @@ -1,14 +1,14 @@ --- layout: post -title: Axes in React Circular Gauge | Syncfusion -description: Configure axes in the React Circular Gauge with lineStyle, background, major and minor ticks, labels, and multiple-axis support for richer visualizations. +title: Gauge axes in React Circular gauge component | Syncfusion +description: Learn here all about Gauge axes in Syncfusion React Circular gauge component of Syncfusion Essential JS 2 and more. control: Gauge axes platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Axes in React Circular Gauge +# Gauge axes in React Circular Gauge component By default, gauge will be displayed with an axis. Each axis contains its own ranges, pointers and annotation. diff --git a/chart-sdk/react/circular-gauge/gauge-dimensions.md b/chart-sdk/react/circular-gauge/gauge-dimensions.md index b45b44589..1869dd4b2 100644 --- a/chart-sdk/react/circular-gauge/gauge-dimensions.md +++ b/chart-sdk/react/circular-gauge/gauge-dimensions.md @@ -1,7 +1,7 @@ --- layout: post -title: Dimensions in React Circular Gauge | Syncfusion -description: Set the React Circular Gauge size via inline width and height, CSS, or container-based sizing for responsive layouts in pixels or percentages. +title: Gauge dimensions in React Circular gauge component | Syncfusion +description: Learn here all about Gauge dimensions in Syncfusion React Circular gauge component of Syncfusion Essential JS 2 and more. control: Gauge dimensions platform: chart-sdk documentation: ug @@ -9,7 +9,7 @@ domainurl: https://help.syncfusion.com/chart-sdk --- -# Dimensions in React Circular Gauge +# Gauge dimensions in React Circular gauge component ## Size for Container diff --git a/chart-sdk/react/circular-gauge/gauge-legend.md b/chart-sdk/react/circular-gauge/gauge-legend.md index c5b5eee72..8cd43d04e 100644 --- a/chart-sdk/react/circular-gauge/gauge-legend.md +++ b/chart-sdk/react/circular-gauge/gauge-legend.md @@ -1,14 +1,14 @@ --- layout: post -title: Legend in React Circular Gauge | Syncfusion -description: Add and customize legends in the React Circular Gauge to identify range categories using position, alignment, shape, and other style options. +title: Gauge legend in React Circular gauge component | Syncfusion +description: Learn here all about Gauge legend in Syncfusion React Circular gauge component of Syncfusion Essential JS 2 and more. control: Gauge legend platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Legend in React Circular Gauge +# Gauge legend in React Circular gauge component Legend provides valuable information for interpreting what the circular gauge axis range displays, and they can be represented in various colors, shapes, and other identifiers based on the data. It gives a breakdown of what each symbol represents in the axis range of circular gauge. diff --git a/chart-sdk/react/circular-gauge/gauge-pointers.md b/chart-sdk/react/circular-gauge/gauge-pointers.md index 845404b7f..8067d5108 100644 --- a/chart-sdk/react/circular-gauge/gauge-pointers.md +++ b/chart-sdk/react/circular-gauge/gauge-pointers.md @@ -1,7 +1,7 @@ --- layout: post -title: Pointers in React Circular Gauge | Syncfusion -description: Use Needle, RangeBar, and Marker pointers in the React Circular Gauge to indicate axis values, with multiple pointers, animation, and pointer drag support. +title: Gauge pointers in React Circular gauge component | Syncfusion +description: Learn here all about Gauge pointers in Syncfusion React Circular gauge component of Syncfusion Essential JS 2 and more. control: Gauge pointers platform: chart-sdk documentation: ug @@ -9,7 +9,7 @@ domainurl: https://help.syncfusion.com/chart-sdk --- -# Pointers in React Circular Gauge +# Gauge pointers in React Circular gauge component Pointers are used to indicate values on the axis. Value of the pointer can be modified using the [`value`](https://ej2.syncfusion.com/react/documentation/api/circular-gauge/pointer#value-number) property. diff --git a/chart-sdk/react/circular-gauge/gauge-print-and-export.md b/chart-sdk/react/circular-gauge/gauge-print-and-export.md index ee71a2024..25bc55add 100644 --- a/chart-sdk/react/circular-gauge/gauge-print-and-export.md +++ b/chart-sdk/react/circular-gauge/gauge-print-and-export.md @@ -1,14 +1,14 @@ --- layout: post -title: Print and Export in React Circular Gauge | Syncfusion -description: Print the React Circular Gauge or export it as image or PDF files using the Print and Export modules with allowPrint, allowImageExport, and allowPdfExport. -control: Gauge print and export +title: Gauge print and export in React Circular gauge component | Syncfusion +description: Learn here all about Gauge print and export in Syncfusion React Circular gauge component of Syncfusion Essential JS 2 and more. +control: Gauge print and export platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Print and Export in React Circular Gauge +# Gauge print and export in React Circular gauge component ## Print diff --git a/chart-sdk/react/circular-gauge/gauge-ranges.md b/chart-sdk/react/circular-gauge/gauge-ranges.md index 29b621a04..18332a029 100644 --- a/chart-sdk/react/circular-gauge/gauge-ranges.md +++ b/chart-sdk/react/circular-gauge/gauge-ranges.md @@ -1,7 +1,7 @@ --- layout: post -title: Ranges in React Circular Gauge | Syncfusion -description: Highlight value intervals on the React Circular Gauge axis using ranges with start, end, color, and other style properties for clearer data visualization. +title: Gauge ranges in React Circular gauge component | Syncfusion +description: Learn here all about Gauge ranges in Syncfusion React Circular gauge component of Syncfusion Essential JS 2 and more. control: Gauge ranges platform: chart-sdk documentation: ug @@ -9,7 +9,7 @@ domainurl: https://help.syncfusion.com/chart-sdk --- -# Ranges in React Circular Gauge +# Gauge ranges in React Circular gauge component You can categories certain interval on gauge axis using [`ranges`](https://ej2.syncfusion.com/react/documentation/api/circular-gauge/range#properties) property. diff --git a/chart-sdk/react/circular-gauge/gauge-user-interaction.md b/chart-sdk/react/circular-gauge/gauge-user-interaction.md index c3541d41e..22553ceeb 100644 --- a/chart-sdk/react/circular-gauge/gauge-user-interaction.md +++ b/chart-sdk/react/circular-gauge/gauge-user-interaction.md @@ -1,7 +1,7 @@ --- layout: post -title: User Interaction in React Circular Gauge | Syncfusion -description: Enable user interaction in the React Circular Gauge with tooltips for pointers and ranges, pointer drag support, and customizable tooltip templates and styles. +title: Gauge user interaction in React Circular gauge component | Syncfusion +description: Learn here all about Gauge user interaction in Syncfusion React Circular gauge component of Syncfusion Essential JS 2 and more. control: Gauge user interaction platform: chart-sdk documentation: ug @@ -9,7 +9,7 @@ domainurl: https://help.syncfusion.com/chart-sdk --- -# User Interaction in React Circular Gauge +# Gauge user interaction in React Circular gauge component ## Tooltip for pointers diff --git a/chart-sdk/react/circular-gauge/getting-started.md b/chart-sdk/react/circular-gauge/getting-started.md index 4c1e8702d..e4af1562d 100644 --- a/chart-sdk/react/circular-gauge/getting-started.md +++ b/chart-sdk/react/circular-gauge/getting-started.md @@ -1,14 +1,14 @@ --- layout: post -title: Getting Started with React Circular Gauge | Syncfusion -description: Learn how to get started with the Syncfusion React Circular Gauge control, including setup, dependencies, module registration, and a quick start sample. +title: Getting Started with React Circular Gauge component | Syncfusion +description: Check out and learn about getting started with the React Circular Gauge component of Syncfusion Essential JS 2 and more details. control: Getting Started platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Getting Started with React Circular Gauge +# Getting Started with React Circular Gauge component This section explains the steps required to create a simple React Circular Gauge component and demonstrate its basic usage in a React environment. diff --git a/chart-sdk/react/circular-gauge/internationalization.md b/chart-sdk/react/circular-gauge/internationalization.md index 34a2f539e..ee9873704 100644 --- a/chart-sdk/react/circular-gauge/internationalization.md +++ b/chart-sdk/react/circular-gauge/internationalization.md @@ -1,14 +1,14 @@ --- layout: post -title: Internationalization in React Circular Gauge | Syncfusion -description: Globalize the React Circular Gauge by localizing axis labels and tooltips with format strings, numeric and culture formatting, and per-locale number formats. +title: Internationalization in React Circular Gauge component | Syncfusion +description: Learn here all about Internationalization in Syncfusion React Circular Gauge component of Syncfusion Essential JS 2 and more. control: Internationalization platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Internationalization in React Circular Gauge +# Internationalization in React Circular Gauge component Circular Gauge provides internationalization support for below elements. diff --git a/chart-sdk/react/circular-gauge/nextjs-getting-started.md b/chart-sdk/react/circular-gauge/nextjs-getting-started.md index d157c18f0..6c7780bb8 100644 --- a/chart-sdk/react/circular-gauge/nextjs-getting-started.md +++ b/chart-sdk/react/circular-gauge/nextjs-getting-started.md @@ -1,7 +1,7 @@ --- layout: post -title: Getting Started with Next.js and React Circular Gauge | Syncfusion -description: Set up a Next.js app and integrate the Syncfusion React Circular Gauge with a step-by-step guide on prerequisites, package install, and configuration. +title: React Circular gauge getting started with Next.js | Syncfusion +description: Check out and learn here all about about how to use the Syncfusion React UI components in the Next.js project. control: Next.js platform: chart-sdk documentation: ug @@ -9,7 +9,7 @@ domainurl: https://help.syncfusion.com/chart-sdk --- -# Getting Started with Next.js and React Circular Gauge +# Creating a Next.js Application Using Syncfusion® React Components This section provides a step-by-step guide for setting up a Next.js application and integrating the Syncfusion® React Circular Gauge component. diff --git a/chart-sdk/react/heatmap-chart/accessibility.md b/chart-sdk/react/heatmap-chart/accessibility.md index ca655a185..1913a5ea8 100644 --- a/chart-sdk/react/heatmap-chart/accessibility.md +++ b/chart-sdk/react/heatmap-chart/accessibility.md @@ -1,14 +1,14 @@ --- layout: post -title: Accessibility in React HeatMap Chart | Syncfusion -description: Use the React HeatMap Chart with WAI-ARIA roles, keyboard navigation, screen reader support, and WCAG 2.2, Section 508, and ADA compliance. +title: Accessibility in React HeatMap component | Syncfusion +description: Learn here all about Accessibility in Syncfusion React HeatMap component of Syncfusion Essential JS 2 and more. control: Accessibility platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Accessibility in React HeatMap Chart +# Accessibility in React HeatMap component The HeatMap component follows commonly used accessibility guidelines and standards, such as [ADA](https://www.ada.gov/), [Section 508](https://www.section508.gov/), [WCAG 2.2](https://www.w3.org/TR/WCAG22/) standards, and [WCAG roles](https://www.w3.org/TR/wai-aria/#roles). diff --git a/chart-sdk/react/heatmap-chart/appearance.md b/chart-sdk/react/heatmap-chart/appearance.md index e27e172c1..ef1c10268 100644 --- a/chart-sdk/react/heatmap-chart/appearance.md +++ b/chart-sdk/react/heatmap-chart/appearance.md @@ -1,14 +1,14 @@ --- layout: post -title: Appearance in React HeatMap Chart | Syncfusion -description: Style React HeatMap Chart cells with cellSettings including border, radius, hover highlighting, and Table/Row/Column color gradient modes. +title: Appearance in React Heatmap chart component | Syncfusion +description: Learn here all about Appearance in Syncfusion React Heatmap chart component of Syncfusion Essential JS 2 and more. control: Appearance platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Appearance in React HeatMap Chart +# Appearance in React Heatmap chart component ## Cell customization diff --git a/chart-sdk/react/heatmap-chart/axis.md b/chart-sdk/react/heatmap-chart/axis.md index 8314e6ebd..eeee88602 100644 --- a/chart-sdk/react/heatmap-chart/axis.md +++ b/chart-sdk/react/heatmap-chart/axis.md @@ -1,14 +1,14 @@ --- layout: post -title: Axis in React HeatMap Chart | Syncfusion -description: Configure X and Y axes on the React HeatMap Chart as Category, Numeric, or DateTime, and invert or oppose them with valueType and label options. -control: Axis +title: Axis in React HeatMap chart component | Syncfusion +description: Learn here all about axis in Syncfusion React HeatMap chart component of Syncfusion Essential JS 2 and more. +control: Axis platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Axis in React HeatMap Chart +# Axis in React HeatMap chart component HeatMap consists of two axes namely, X-axis and Y-axis that displays the row headers and column headers to plot the data points respectively. You can define the type, format, and other customizing options for both axes in the HeatMap. diff --git a/chart-sdk/react/heatmap-chart/bubble-heatmap.md b/chart-sdk/react/heatmap-chart/bubble-heatmap.md index 106146f57..a5c3de8e2 100644 --- a/chart-sdk/react/heatmap-chart/bubble-heatmap.md +++ b/chart-sdk/react/heatmap-chart/bubble-heatmap.md @@ -1,14 +1,14 @@ --- layout: post -title: Bubble HeatMap in React HeatMap Chart | Syncfusion -description: Render data points in the React HeatMap Chart as bubbles whose size, color, or sector encodes the value, by setting tileType to Bubble. +title: Bubble heatmap in React Heatmap chart component | Syncfusion +description: Learn here all about Bubble heatmap in Syncfusion React Heatmap chart component of Syncfusion Essential JS 2 and more. control: Bubble heatmap platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Bubble HeatMap in React HeatMap Chart +# Bubble heatmap in React Heatmap chart component Data points represent the data source values with **gradient** or **fixed** colors in the HeatMap. You can customize the appearance of these data points by changing the `color` and `size` attributes. diff --git a/chart-sdk/react/heatmap-chart/dimensions.md b/chart-sdk/react/heatmap-chart/dimensions.md index eb207b5c2..be696683c 100644 --- a/chart-sdk/react/heatmap-chart/dimensions.md +++ b/chart-sdk/react/heatmap-chart/dimensions.md @@ -1,14 +1,14 @@ --- layout: post -title: Dimensions in React HeatMap Chart | Syncfusion -description: Set the React HeatMap Chart size in pixels or as a percentage of its container using the width and height properties, or by sizing the container. +title: Dimensions in React Heatmap chart component | Syncfusion +description: Learn here all about Dimensions in Syncfusion React Heatmap chart component of Syncfusion Essential JS 2 and more. control: Dimensions platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Dimensions in React HeatMap Chart +# Dimensions in React Heatmap chart component ## Size for container @@ -22,7 +22,7 @@ Heat map can be rendered to its container size. You can set the size through inl ## Size for heat map -You can set the size of heat map directly by using the [width](https://ej2.syncfusion.com/react/documentation/api/heatmap#width) and [height](https://ej2.syncfusion.com/react/documentation/api/heatmap#height) properties. +You can set the size of heat map directly by using the [width](https://ej2.syncfusion.com/react/documentation/api/heatmap/#width) and [height](https://ej2.syncfusion.com/react/documentation/api/heatmap/#height) properties. ## In pixel diff --git a/chart-sdk/react/heatmap-chart/ej1-api-migration.md b/chart-sdk/react/heatmap-chart/ej1-api-migration.md index 64331495e..981bcd530 100644 --- a/chart-sdk/react/heatmap-chart/ej1-api-migration.md +++ b/chart-sdk/react/heatmap-chart/ej1-api-migration.md @@ -1,14 +1,14 @@ --- layout: post -title: EJ1 API Migration in React HeatMap Chart | Syncfusion -description: Migrate Syncfusion React HeatMap Chart properties and events from Essential JS 1 to Essential JS 2, including data, palette, and legend APIs. +title: Ej1 api migration in React Heatmap chart component | Syncfusion +description: Learn here all about Ej1 api migration in Syncfusion React Heatmap chart component of Syncfusion Essential JS 2 and more. control: Ej1 api migration platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# EJ1 API Migration in React HeatMap Chart +# Ej1 api migration in React Heatmap chart component This article describes the API migration process of heat map component from Essential® JS 1 to Essential® JS 2. diff --git a/chart-sdk/react/heatmap-chart/events.md b/chart-sdk/react/heatmap-chart/events.md index 23688ffde..4a1e01862 100644 --- a/chart-sdk/react/heatmap-chart/events.md +++ b/chart-sdk/react/heatmap-chart/events.md @@ -1,14 +1,14 @@ --- layout: post -title: Events in React HeatMap Chart | Syncfusion -description: Handle React HeatMap Chart events such as cellClick, cellRender, cellSelected, and created to react to user interaction and cell lifecycle. +title: Events in React HeatMap chart component | Syncfusion +description: Learn here all about Events in Syncfusion React HeatMap chart component of Syncfusion Essential JS 2 and more. control: Events platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Events in React HeatMap Chart +# Events in React HeatMap chart component This section describes the HeatMap chart event, which occurs when the required actions are performed. diff --git a/chart-sdk/react/heatmap-chart/getting-started.md b/chart-sdk/react/heatmap-chart/getting-started.md index 25caa4a06..c818fd7cd 100644 --- a/chart-sdk/react/heatmap-chart/getting-started.md +++ b/chart-sdk/react/heatmap-chart/getting-started.md @@ -1,14 +1,14 @@ --- layout: post -title: Getting Started with React HeatMap Chart | Syncfusion -description: Learn how to get started with the Syncfusion React HeatMap Chart control. Explore setup, features, examples, and customization options. +title: Getting started with React HeatMap chart component | Syncfusion +description: Check out and learn about getting started with the React HeatMap chart component of Syncfusion Essential JS 2 and more details. control: HeatMap platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Getting Started with React HeatMap Chart +# Getting Started with React HeatMap chart component This section explains the steps required to create a HeatMap and demonstrates the basic usage of the HeatMap component. diff --git a/chart-sdk/react/heatmap-chart/how-to/legend-customization.md b/chart-sdk/react/heatmap-chart/how-to/legend-customization.md index da0c593f7..d0d384854 100644 --- a/chart-sdk/react/heatmap-chart/how-to/legend-customization.md +++ b/chart-sdk/react/heatmap-chart/how-to/legend-customization.md @@ -1,14 +1,14 @@ --- layout: post -title: Customize legend labels in React HeatMap Chart | Syncfusion -description: Customize or hide React HeatMap Chart legend labels at runtime by handling the legendRender client-side event with custom text and styles. +title: Legend customization in React Heatmap chart component | Syncfusion +description: Learn here all about Legend customization in Syncfusion React Heatmap chart component of Syncfusion Essential JS 2 and more. control: Legend customization platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# How to customize legend labels in React HeatMap Chart +# Legend customization in React Heatmap chart component You can change the legend label using the `legendRender` client-side event. You can also hide the legend label using this client-side event. diff --git a/chart-sdk/react/heatmap-chart/how-to/tool-tip-table.md b/chart-sdk/react/heatmap-chart/how-to/tool-tip-table.md index cb1a440dd..1ed9771e7 100644 --- a/chart-sdk/react/heatmap-chart/how-to/tool-tip-table.md +++ b/chart-sdk/react/heatmap-chart/how-to/tool-tip-table.md @@ -1,14 +1,14 @@ --- layout: post -title: Create a table in tooltip in React HeatMap Chart | Syncfusion -description: Render the React HeatMap Chart tooltip as an HTML table by setting the template id in tooltipSettings to show multi-column cell data. +title: Tool tip table in React Heatmap chart component | Syncfusion +description: Learn here all about Tool tip table in Syncfusion React Heatmap chart component of Syncfusion Essential JS 2 and more. control: Tool tip table platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# How to create a table in tooltip in React HeatMap Chart +# Tool tip table in React Heatmap chart component You can show a tooltip as a table using the `template` property in `tooltipSettings`. diff --git a/chart-sdk/react/heatmap-chart/legend.md b/chart-sdk/react/heatmap-chart/legend.md index ae03160b4..79f9251e4 100644 --- a/chart-sdk/react/heatmap-chart/legend.md +++ b/chart-sdk/react/heatmap-chart/legend.md @@ -1,16 +1,16 @@ --- layout: post -title: Legend in React HeatMap Chart | Syncfusion -description: Show a gradient or list legend on the React HeatMap Chart to map colors to cell values, and configure position, alignment, and dimensions. +title: Legend in React Heatmap chart component | Syncfusion +description: Learn here all about Legend in Syncfusion React Heatmap chart component of Syncfusion Essential JS 2 and more. control: Legend platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Legend in React HeatMap Chart +# Legend in React Heatmap chart component -The legend is used to provide the information about the heat map cell. You can enable the legend by setting the [visible](https://ej2.syncfusion.com/react/documentation/api/heatmap/legendSettings#visible) property to **true** and injecting the `Legend` module into the `services`. +The legend is used to provide the information about the heat map cell. You can enable the legend by setting the [visible](https://ej2.syncfusion.com/react/documentation/api/heatmap/legendSettings/#visible) property to **true** and injecting the `Legend` module into the `services`. {% tabs %} {% highlight js tabtitle="index.jsx" %} @@ -30,7 +30,7 @@ Heat map supports two legend types: Gradient and list type. * Gradient - This is a continuous color legend with smooth color transition between palette color values. * List - List is a fixed color legend. Each palette color information is shown separately in the list item. -You can change the legend type by using the [type](https://ej2.syncfusion.com/react/documentation/api/heatmap/paletteSettings#type) property in the `paletteSettings` property. +You can change the legend type by using the [type](https://ej2.syncfusion.com/react/documentation/api/heatmap/paletteSettings/#type) property in the `paletteSettings` property. {% tabs %} {% highlight js tabtitle="index.jsx" %} @@ -45,7 +45,7 @@ You can change the legend type by using the [type](https://ej2.syncfusion.com/re ## Placement -You can place the legend at left, right, top, or bottom to the heat map layout by using the [position](https://ej2.syncfusion.com/react/documentation/api/heatmap/legendSettings#position) property. The legend is positioned at the right to the heat map by default. +You can place the legend at left, right, top, or bottom to the heat map layout by using the [position](https://ej2.syncfusion.com/react/documentation/api/heatmap/legendSettings/#position) property. The legend is positioned at the right to the heat map by default. {% tabs %} {% highlight js tabtitle="index.jsx" %} @@ -60,7 +60,7 @@ You can place the legend at left, right, top, or bottom to the heat map layout b ## Alignment -You can align the legend as center, far, or near to the heat map using the [alignment](https://ej2.syncfusion.com/react/documentation/api/heatmap/legendSettings#alignment) property. +You can align the legend as center, far, or near to the heat map using the [alignment](https://ej2.syncfusion.com/react/documentation/api/heatmap/legendSettings/#alignment) property. {% tabs %} {% highlight js tabtitle="index.jsx" %} @@ -75,7 +75,7 @@ You can align the legend as center, far, or near to the heat map using the [alig ## Legend dimensions -You can change the legend dimensions with values in pixels or percentage by using the[width](https://ej2.syncfusion.com/react/documentation/api/heatmap/legendSettings#width) and [height](https://ej2.syncfusion.com/react/documentation/api/heatmap/legendSettings#height) properties. +You can change the legend dimensions with values in pixels or percentage by using the[width](https://ej2.syncfusion.com/react/documentation/api/heatmap/legendSettings/#width) and [height](https://ej2.syncfusion.com/react/documentation/api/heatmap/legendSettings/#height) properties. {% tabs %} {% highlight js tabtitle="index.jsx" %} @@ -105,9 +105,9 @@ Paging is available only for the list type legend in the heat map, and it can be ## Smart Legend -Smart legend is another way of showing list type legend with responsiveness and readability, when the palette has more number of items. You can enable this smart legend by using the [enableSmartLegend](https://ej2.syncfusion.com/react/documentation/api/heatmap/legendSettings#enablesmartlegend) property when the palette type is set to **Fixed**. +Smart legend is another way of showing list type legend with responsiveness and readability, when the palette has more number of items. You can enable this smart legend by using the [enableSmartLegend](https://ej2.syncfusion.com/react/documentation/api/heatmap/legendSettings/#enablesmartlegend) property when the palette type is set to **Fixed**. -In smart legend, you can change the display type of legend labels by using the [labelDisplayType](https://ej2.syncfusion.com/react/documentation/api/heatmap/legendSettings#labeldisplaytype) property. +In smart legend, you can change the display type of legend labels by using the [labelDisplayType](https://ej2.syncfusion.com/react/documentation/api/heatmap/legendSettings/#labeldisplaytype) property. The following are the legend label display types: * All: Displays all labels in the legend. @@ -127,7 +127,7 @@ The following are the legend label display types: ## Legend Selection -In the HeatMap, the legend selection is used to toggle the visibility of cell for viewing the specific range value. You can enable the legend selection using the [toggleVisibility](https://ej2.syncfusion.com/react/documentation/api/heatmap/legendSettings#togglevisibility) property. +In the HeatMap, the legend selection is used to toggle the visibility of cell for viewing the specific range value. You can enable the legend selection using the [toggleVisibility](https://ej2.syncfusion.com/react/documentation/api/heatmap/legendSettings/#togglevisibility) property. {% tabs %} {% highlight js tabtitle="index.jsx" %} @@ -142,7 +142,7 @@ In the HeatMap, the legend selection is used to toggle the visibility of cell fo ## Legend Title -The legend title displays a specific information about the legend. You can enable the legend title by setting the [title](https://ej2.syncfusion.com/react/documentation/api/heatmap/legendSettings#title) property by providing the text and customizing the legend title text style using the [textStyle](https://ej2.syncfusion.com/react/documentation/api/heatmap/legendSettings/titleModel#textStyle) property. +The legend title displays a specific information about the legend. You can enable the legend title by setting the [title](https://ej2.syncfusion.com/react/documentation/api/heatmap/legendSettings/#title) property by providing the text and customizing the legend title text style using the [textStyle](https://ej2.syncfusion.com/react/documentation/api/heatmap/legendSettings/titleModel/#textStyle) property. {% tabs %} {% highlight js tabtitle="index.jsx" %} diff --git a/chart-sdk/react/heatmap-chart/palette.md b/chart-sdk/react/heatmap-chart/palette.md index 0b71d54d5..27c2da1af 100644 --- a/chart-sdk/react/heatmap-chart/palette.md +++ b/chart-sdk/react/heatmap-chart/palette.md @@ -1,14 +1,14 @@ --- layout: post -title: Palette in React HeatMap Chart | Syncfusion -description: Define gradient or fixed color palettes for React HeatMap Chart cells using paletteSettings, with color stops, value ranges, and colorValuePath mapping. +title: Palette in React Heatmap chart component | Syncfusion +description: Learn here all about Palette in Syncfusion React Heatmap chart component of Syncfusion Essential JS 2 and more. control: Palette platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Palette in React HeatMap Chart +# Palette in React Heatmap chart component In heat map, each data point is displayed as a cell with applied color based on the data value. The palette in the heat map is used to define the color range for cells and gradient type for colors. You can define the colors either in RGB or hex codes using the [color](https://ej2.syncfusion.com/react/documentation/api/heatmap/paletteCollection#color) property in the `palette`. The defined colors are applied to the cell background based on the palette type and cell value. diff --git a/chart-sdk/react/heatmap-chart/rendering-mode.md b/chart-sdk/react/heatmap-chart/rendering-mode.md index f049d71b3..f9a17d4a1 100644 --- a/chart-sdk/react/heatmap-chart/rendering-mode.md +++ b/chart-sdk/react/heatmap-chart/rendering-mode.md @@ -1,16 +1,16 @@ --- layout: post -title: Rendering Mode in React HeatMap Chart | Syncfusion -description: Switch the React HeatMap Chart between SVG and Canvas rendering, or set renderingMode to Auto to pick based on data point count for performance. +title: Rendering mode in React Heatmap chart component | Syncfusion +description: Learn here all about Rendering mode in Syncfusion React Heatmap chart component of Syncfusion Essential JS 2 and more. control: Rendering mode platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Rendering Mode in React HeatMap Chart +# Rendering mode in React Heatmap chart component -Heat map can be displayed using **Canvas** or **Scalable Vector Graphics (SVG)** rendering logic to improve the initial load performance and scalability. Heat map can also be automatically switched between **Canvas** and **SVG** modes based on dataset size. You can enable this mode by setting the [renderingMode](https://ej2.syncfusion.com/react/documentation/api/heatmap#renderingmode) property to **Auto**. +Heat map can be displayed using **Canvas** or **Scalable Vector Graphics (SVG)** rendering logic to improve the initial load performance and scalability. Heat map can also be automatically switched between **Canvas** and **SVG** modes based on dataset size. You can enable this mode by setting the [renderingMode](https://ej2.syncfusion.com/react/documentation/api/heatmap/#renderingmode) property to **Auto**. > If the **Auto** mode is enabled in the heat map and there are more than 10,000 data points, then the heat map will be rendered in a **Canvas** mode; Otherwise, the heat map will be rendered in a **SVG** mode. diff --git a/chart-sdk/react/heatmap-chart/selection.md b/chart-sdk/react/heatmap-chart/selection.md index 1c39ce1a5..b871c8250 100644 --- a/chart-sdk/react/heatmap-chart/selection.md +++ b/chart-sdk/react/heatmap-chart/selection.md @@ -1,14 +1,14 @@ --- layout: post -title: Selection in React HeatMap Chart | Syncfusion -description: Select one or more cells in the React HeatMap Chart with mouse, touch, or Ctrl+click, and toggle single or multi selection using enableMultiSelect. +title: Selection in React HeatMap chart component | Syncfusion +description: Learn here all about Selection in Syncfusion React HeatMap chart component of Syncfusion Essential JS 2 and more. control: Selection platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Selection in React HeatMap Chart +# Selection in React HeatMap chart component In the HeatMap, the cell selection is used to select single or multiple HeatMap cells at runtime and get the selected cell details using the [cellSelected](https://ej2.syncfusion.com/react/documentation/api/heatmap#cellselected) event. You can enable the cell selection using the [allowSelection](https://ej2.syncfusion.com/react/documentation/api/heatmap#allowselection) property. diff --git a/chart-sdk/react/heatmap-chart/title.md b/chart-sdk/react/heatmap-chart/title.md index b3bdaba35..a59dbe561 100644 --- a/chart-sdk/react/heatmap-chart/title.md +++ b/chart-sdk/react/heatmap-chart/title.md @@ -1,14 +1,14 @@ --- layout: post -title: Title in React HeatMap Chart | Syncfusion -description: Add a title to the React HeatMap Chart via titleSettings to give quick context about the plotted data and style text with textStyle. +title: Title in React Heatmap chart component | Syncfusion +description: Learn here all about Title in Syncfusion Angular Heatmap chart component of Syncfusion Essential JS 2 and more. control: Title platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Title in React HeatMap Chart +# Title in React Heatmap chart component ## Add Heatmap title diff --git a/chart-sdk/react/heatmap-chart/tooltip.md b/chart-sdk/react/heatmap-chart/tooltip.md index 847548569..60da1a301 100644 --- a/chart-sdk/react/heatmap-chart/tooltip.md +++ b/chart-sdk/react/heatmap-chart/tooltip.md @@ -1,14 +1,14 @@ --- layout: post -title: Tooltip in React HeatMap Chart | Syncfusion -description: Show tooltips on the React HeatMap Chart by enabling showTooltip, customize content with tooltipRender, and style via fill, border, and textStyle. +title: Tooltip in React Heatmap chart component | Syncfusion +description: Learn here all about Tooltip in Syncfusion React Heatmap chart component of Syncfusion Essential JS 2 and more. control: Tooltip platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Tooltip in React HeatMap Chart +# Tooltip in React Heatmap chart component Tooltip is used to provide the details of the heatmap cell, and this can be displayed, while hovering the cursor over the cell or performing tap action in touch devices. diff --git a/chart-sdk/react/heatmap-chart/working-with-data.md b/chart-sdk/react/heatmap-chart/working-with-data.md index f908b3708..7d6f49d72 100644 --- a/chart-sdk/react/heatmap-chart/working-with-data.md +++ b/chart-sdk/react/heatmap-chart/working-with-data.md @@ -1,14 +1,14 @@ --- layout: post -title: Working With Data in React HeatMap Chart | Syncfusion -description: Bind data to the React HeatMap Chart from JSON objects or two-dimensional arrays using Table or Cell adaptor types, and handle empty points. +title: Working with data in React HeatMap chart component | Syncfusion +description: Learn here all about Working with data in Syncfusion React HeatMap chart component of Syncfusion Essential JS 2 and more. control: Working with data platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Working With Data in React HeatMap Chart +# Working with data in React HeatMap chart component Heat map visualizes the JSON data and two-dimensional array data. Using the data adaptor support, data can be bound to the heat map. diff --git a/chart-sdk/react/linear-gauge/accessibility.md b/chart-sdk/react/linear-gauge/accessibility.md index e71fb676a..b6d1b14e0 100644 --- a/chart-sdk/react/linear-gauge/accessibility.md +++ b/chart-sdk/react/linear-gauge/accessibility.md @@ -1,14 +1,14 @@ --- layout: post -title: Accessibility in React Linear Gauge | Syncfusion -description: Build accessible React Linear Gauge apps using WAI-ARIA attributes, screen reader support, and WCAG 2.2 compliance with axe-core validation. +title: Accessibility in React Linear Gauge component | Syncfusion +description: Learn here all about Accessibility in Syncfusion React Linear Gauge component of Syncfusion Essential JS 2 and more. control: Accessibility platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Accessibility in React Linear Gauge +# Accessibility in React Linear Gauge component The Linear Gauge component follows commonly used accessibility guidelines and standards, such as [ADA](https://www.ada.gov/), [Section 508](https://www.section508.gov/), [WCAG 2.2](https://www.w3.org/TR/WCAG22/) standards, and [WCAG roles](https://www.w3.org/TR/wai-aria/#roles). diff --git a/chart-sdk/react/linear-gauge/animation.md b/chart-sdk/react/linear-gauge/animation.md index adf537b5f..46f9bfdfb 100644 --- a/chart-sdk/react/linear-gauge/animation.md +++ b/chart-sdk/react/linear-gauge/animation.md @@ -1,14 +1,14 @@ --- layout: post -title: Animation in React Linear Gauge | Syncfusion -description: Animate the React Linear Gauge elements sequentially, including axis, ticks, labels, ranges, pointers, and annotations, using animationDuration. -control: Linear Gauge +title: Animation in React Linear Gauge component | Syncfusion +description: Learn here all about animation in the Syncfusion React Linear Gauge component of Syncfusion Essential JS 2 and more. +control: Linear Gauge platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Animation in React Linear Gauge +# Animation in React Linear Gauge component All of the elements in the Linear Gauge, such as the axis lines, ticks, labels, ranges, pointers, and annotations, can be animated sequentially by using the [animationDuration](https://ej2.syncfusion.com/react/documentation/api/linear-gauge#animationduration) property. The animation for the Linear Gauge is enabled when the `animationDuration` property is set to an appropriate value in milliseconds, providing a smooth rendering effect for the component. If the `animationDuration` property is set to **0**, which is the default value, the animation effect is disabled. If the animation is enabled, the component will behave in the following order. diff --git a/chart-sdk/react/linear-gauge/annotations.md b/chart-sdk/react/linear-gauge/annotations.md index 45c82f0c6..f7f9a1c94 100644 --- a/chart-sdk/react/linear-gauge/annotations.md +++ b/chart-sdk/react/linear-gauge/annotations.md @@ -1,14 +1,14 @@ --- layout: post -title: Annotations in React Linear Gauge | Syncfusion -description: Add text, image, or custom HTML annotations to mark areas of interest on the React Linear Gauge with precise pixel or axis-based positioning. +title: Annotations in React Linear gauge component | Syncfusion +description: Learn here all about Annotations in Syncfusion React Linear gauge component of Syncfusion Essential JS 2 and more. control: Annotations platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Annotations in React Linear Gauge +# Annotations in React Linear gauge component @@ -16,7 +16,7 @@ Annotations are used to mark the specific area of interest in the Linear Gauge w ## Adding annotation -To render the custom HTML elements in the Linear Gauge component, use the [`content`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/annotation#content) property in the [`AnnotationDirective`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge#annotation). The annotation can be rendered either by specifying the id of the element or specifying the code to create a new element that needs to be displayed in the gauge area. +To render the custom HTML elements in the Linear Gauge component, use the [`content`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/annotation/#content) property in the [`AnnotationDirective`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/annotation). The annotation can be rendered either by specifying the id of the element or specifying the code to create a new element that needs to be displayed in the gauge area. @@ -54,16 +54,16 @@ root.render(); The following properties are used to customize the annotation. -* [`zIndex`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/annotation#zindex) - Bring the annotation to the front or back, when annotation overlaps with another element. -* [`axisValue`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/annotation#axisvalue) - To place the annotation in the specified axis value with respect to the provided axis index. -* [`axisIndex`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/annotation#axisindex) - To place the annotation in the specified axis with respect to the provided axis value. -* [`horizontalAlignment`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/annotation#horizontalalignment) - To place the annotation horizontally. -* [`verticalAlignment`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/annotation#verticalalignment) - To place the annotation vertically. -* [`x`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/annotation#x-number), [`y`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/annotation#y-number) - To place the annotation in the specified location. +* [`zIndex`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/annotation/#zindex) - Bring the annotation to the front or back, when annotation overlaps with another element. +* [`axisValue`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/annotation/#axisvalue) - To place the annotation in the specified axis value with respect to the provided axis index. +* [`axisIndex`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/annotation/#axisindex) - To place the annotation in the specified axis with respect to the provided axis value. +* [`horizontalAlignment`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/annotation/#horizontalalignment) - To place the annotation horizontally. +* [`verticalAlignment`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/annotation/#verticalalignment) - To place the annotation vertically. +* [`x`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/annotation/#x-number), [`y`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/annotation/#y-number) - To place the annotation in the specified location. ### Changing the z-index -To change the stack order of an annotation element, the [`zIndex`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/annotation#zindex) property of the [`AnnotationDirective`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/annotation) can be used. +To change the stack order of an annotation element, the [`zIndex`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/annotation/#zindex) property of the [`AnnotationDirective`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/annotation/) can be used. {% tabs %} {% highlight js tabtitle="index.jsx" %} @@ -78,7 +78,7 @@ To change the stack order of an annotation element, the [`zIndex`](https://ej2. ### Positioning an annotation -The annotation can be placed anywhere in the Linear Gauge by setting the pixel value to the [`x`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/annotation#x) and [`y`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/annotation#y) properties in the [`AnnotationDirective`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/annotation). +The annotation can be placed anywhere in the Linear Gauge by setting the pixel value to the [`x`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/annotation/#x) and [`y`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/annotation/#y) properties in the [`AnnotationDirective`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/annotation/). {% tabs %} {% highlight js tabtitle="index.jsx" %} @@ -95,7 +95,7 @@ The annotation can be placed anywhere in the Linear Gauge by setting the pixel v ### Alignment of annotation -The annotation can be aligned horizontally and vertically by using the [`horizontalAlignment`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/annotation#horizontalalignment) and [`verticalAlignment`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/annotation#verticalalignment) properties respectively. The possible values can be **Center**, **Far**, **Near**, and **None**. The [`horizontalAlignment`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/annotation#horizontalalignment) and [`verticalAlignment`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/annotation#verticalalignment) properties are not applicable when the [`x`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/annotation#x) and [`y`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/annotation#y) properties are set in the [`AnnotationDirective`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/annotation). +The annotation can be aligned horizontally and vertically by using the [`horizontalAlignment`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/annotation/#horizontalalignment) and [`verticalAlignment`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/annotation/#verticalalignment) properties respectively. The possible values can be **Center**, **Far**, **Near**, and **None**. The [`horizontalAlignment`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/annotation/#horizontalalignment) and [`verticalAlignment`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/annotation/#verticalalignment) properties are not applicable when the [`x`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/annotation/#x) and [`y`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/annotation/#y) properties are set in the [`AnnotationDirective`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/annotation/). {% tabs %} {% highlight js tabtitle="index.jsx" %} @@ -110,7 +110,7 @@ The annotation can be aligned horizontally and vertically by using the [`horizon ## Multiple annotations -Multiple annotations can be added to the Linear Gauge component by adding the multiple [`AnnotationDirective`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/annotation) in the [`AnnotationsDirective`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge#annotations) and customization for the annotation can be done with the [`AnnotationDirective`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/annotation). +Multiple annotations can be added to the Linear Gauge component by adding the multiple [`AnnotationDirective`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/annotation/) in the [`AnnotationsDirective`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/#annotations) and customization for the annotation can be done with the [`AnnotationDirective`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/annotation/). {% tabs %} {% highlight js tabtitle="index.jsx" %} diff --git a/chart-sdk/react/linear-gauge/appearance.md b/chart-sdk/react/linear-gauge/appearance.md index 2797d8cd3..e22a0908d 100644 --- a/chart-sdk/react/linear-gauge/appearance.md +++ b/chart-sdk/react/linear-gauge/appearance.md @@ -1,24 +1,24 @@ --- layout: post -title: Appearance in React Linear Gauge | Syncfusion -description: Style the React Linear Gauge area, title, and container with Normal, Rounded Rectangle, or Thermometer shapes, plus background, border, and margin options. +title: Appearance in React Linear gauge component | Syncfusion +description: Learn here all about Appearance in Syncfusion React Linear gauge component of Syncfusion Essential JS 2 and more. control: Appearance platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Appearance in React Linear Gauge +# Appearance in React Linear gauge component ## Customizing the Linear Gauge area -The following properties are available in the [`LinearGaugeComponent`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge) to customize the Linear Gauge area. +The following properties are available in the [`LinearGaugeComponent`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/) to customize the Linear Gauge area. -* [`background`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge#background) - Applies the background color for the Linear Gauge. -* [`border`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge#border) - To customize the color and width of the border in Linear Gauge. -* [`margin`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge#margin) - To customize the margins of the Linear Gauge. +* [`background`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/#background) - Applies the background color for the Linear Gauge. +* [`border`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/#border) - To customize the color and width of the border in Linear Gauge. +* [`margin`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/#margin) - To customize the margins of the Linear Gauge. {% tabs %} {% highlight js tabtitle="index.jsx" %} @@ -33,14 +33,14 @@ The following properties are available in the [`LinearGaugeComponent`](https://e ## Setting up the Linear Gauge title -The title for the Linear Gauge can be set using [`title`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge#title) property in [`LinearGaugeComponent`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge). Its appearance can be customized using the [`titleStyle`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge#titlestyle) with the below properties. +The title for the Linear Gauge can be set using [`title`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/#title) property in [`LinearGaugeComponent`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/). Its appearance can be customized using the [`titleStyle`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/#titlestyle) with the below properties. -* [`color`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/fontModel#color) - Specifies the text color of the title. -* [`fontStyle`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/fontModel#fontStyle) - Specifies the font style of the title. -* [`fontWeight`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/fontModel#fontweight) - Specifies the font weight of the title. -* [`size`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/fontModel#size) - Specifies the font size of the title. -* [`opacity`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/fontModel#opacity) - Specifies the opacity of the title. -* [`fontFamily`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/fontModel#fontfamily) - Specifies the font family of the title. +* [`color`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/fontModel/#color) - Specifies the text color of the title. +* [`fontStyle`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/fontModel/#fontStyle) - Specifies the font style of the title. +* [`fontWeight`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/fontModel/#fontweight) - Specifies the font weight of the title. +* [`size`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/fontModel/#size) - Specifies the font size of the title. +* [`opacity`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/fontModel/#opacity) - Specifies the opacity of the title. +* [`fontFamily`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/fontModel/#fontfamily) - Specifies the font family of the title. {% tabs %} {% highlight js tabtitle="index.jsx" %} @@ -61,13 +61,13 @@ The area used to render the ranges and pointers at the center position of the ga * Rounded Rectangle * Thermometer - The type of the container can be modified by using the [`type`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/containerModel#type) property in [`container`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/containerModel). The container can be customized by using the following properties in [`container`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/containerModel). + The type of the container can be modified by using the [`type`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/containerModel/#type) property in [`container`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/containerModel/). The container can be customized by using the following properties in [`container`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/containerModel/). -* [`offset`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/containerModel#offset) - To place the container with the specified distance from the axis of the Linear Gauge. -* [`width`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/containerModel#width) - To set the thickness of the container. -* [`height`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/containerModel#height) - To set the length of the container. -* [`backgroundColor`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/containerModel#backgroundcolor) - To set the background color of the container. -* [`border`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/container#border) - To set the color and width for the border of the container. +* [`offset`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/containerModel/#offset) - To place the container with the specified distance from the axis of the Linear Gauge. +* [`width`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/containerModel/#width) - To set the thickness of the container. +* [`height`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/containerModel/#height) - To set the length of the container. +* [`backgroundColor`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/containerModel/#backgroundcolor) - To set the background color of the container. +* [`border`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/container/#border) - To set the color and width for the border of the container. ### Normal @@ -86,7 +86,7 @@ The **Normal** type will render the container as a rectangle and this is the def ### Rounded Rectangle -The **RoundedRectangle** type will render the container as a rectangle with rounded corner radius. The rounded corner radius of the container can be customized using the [`roundedCornerRadius`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/container#roundedcornerradius) property in [`container`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/containerModel). +The **RoundedRectangle** type will render the container as a rectangle with rounded corner radius. The rounded corner radius of the container can be customized using the [`roundedCornerRadius`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/container/#roundedcornerradius) property in [`container`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/containerModel/). {% tabs %} {% highlight js tabtitle="index.jsx" %} @@ -116,7 +116,7 @@ The **Thermometer** type will render the container similar to the appearance of ## Fitting the Linear Gauge to the control -The Linear Gauge component is rendered with margin by default. To remove the margin around the Linear Gauge, the [`allowMargin`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge#allowmargin) property in [`LinearGaugeComponent`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge) is set as **false**. +The Linear Gauge component is rendered with margin by default. To remove the margin around the Linear Gauge, the [`allowMargin`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/#allowmargin) property in [`LinearGaugeComponent`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/) is set as **false**. {% tabs %} {% highlight js tabtitle="index.jsx" %} @@ -129,4 +129,4 @@ The Linear Gauge component is rendered with margin by default. To remove the mar {% previewsample "https://help.syncfusion.com/code-snippet/chart-sdk/react/linear-gauge/appearance-cs6" %} ->To use this feature, set the [`allowMargin`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge#allowmargin) property to **false**, the [`width`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge#width) property to **100%** and the properties of [`margin`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge#margin) to **0**. +>To use this feature, set the [`allowMargin`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/#allowmargin) property to **false**, the [`width`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/#width) property to **100%** and the properties of [`margin`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/#margin) to **0**. diff --git a/chart-sdk/react/linear-gauge/axis.md b/chart-sdk/react/linear-gauge/axis.md index 7803dc437..fceba1eba 100644 --- a/chart-sdk/react/linear-gauge/axis.md +++ b/chart-sdk/react/linear-gauge/axis.md @@ -1,14 +1,14 @@ --- layout: post -title: Axis in React Linear Gauge | Syncfusion -description: Customize the React Linear Gauge axis with formatted labels, major and minor ticks, range start and end values, and label positioning. +title: Axis in React Linear gauge component | Syncfusion +description: Learn here all about Axis in Syncfusion React Linear gauge component of Syncfusion Essential JS 2 and more. control: Axis platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Axis in React Linear Gauge +# Axis in React Linear gauge component @@ -33,7 +33,7 @@ To change the pointer value from the default value of the gauge, set the [`value ## Setting the start value and end value of the axis -The start value and end value for the Linear Gauge can be set using the [`minimum`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/axisModel#minimum) and [`maximum`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/axisModel#maximum) properties in the [`AxisDirective`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/axis) respectively. By default, the start value of the axis is **0** and the end value of the axis is **100**. +The start value and end value for the Linear Gauge can be set using the [`minimum`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/axisModel#minimum) and [`maximum`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/axisModel#maximum) properties in the [`AxisDirective`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/axis/) respectively. By default, the start value of the axis is **0** and the end value of the axis is **100**. {% tabs %} {% highlight js tabtitle="index.jsx" %} @@ -264,7 +264,7 @@ By default, the Linear Gauge is rendered vertically. To change its orientation, ## Inverted Axis -The axis of the Linear Gauge component can be inversed by setting the [`isInversed`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/axis#isinversed) property to **true** in the [`AxisDirective`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/axisModel). +The axis of the Linear Gauge component can be inversed by setting the [`isInversed`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/axis/#isinversed) property to **true** in the [`AxisDirective`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/axisModel). {% tabs %} {% highlight js tabtitle="index.jsx" %} diff --git a/chart-sdk/react/linear-gauge/dimensions.md b/chart-sdk/react/linear-gauge/dimensions.md index 0d038c5c2..5517d30aa 100644 --- a/chart-sdk/react/linear-gauge/dimensions.md +++ b/chart-sdk/react/linear-gauge/dimensions.md @@ -1,20 +1,20 @@ --- layout: post -title: Dimensions in React Linear Gauge | Syncfusion -description: Set the React Linear Gauge width and height in pixels or as a percentage of its parent container to create a responsive, fluid layout. +title: Dimensions in React Linear gauge component | Syncfusion +description: Learn here all about Dimensions in Syncfusion React Linear gauge component of Syncfusion Essential JS 2 and more. control: Dimensions platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Dimensions in React Linear Gauge +# Dimensions in React Linear gauge component ## Size for Linear Gauge -The height and width of the Linear Gauge can be set using the [`width`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge#width) and [`height`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge#height) properties in [`LinearGaugeComponent`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge). +The height and width of the Linear Gauge can be set using the [`width`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/#width) and [`height`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/#height) properties in [`LinearGaugeComponent`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/). diff --git a/chart-sdk/react/linear-gauge/ej1-api-migration.md b/chart-sdk/react/linear-gauge/ej1-api-migration.md index 0a81a5394..c400264eb 100644 --- a/chart-sdk/react/linear-gauge/ej1-api-migration.md +++ b/chart-sdk/react/linear-gauge/ej1-api-migration.md @@ -1,14 +1,14 @@ --- layout: post -title: Migration from Essential JS 1 in React Linear Gauge | Syncfusion -description: Migrate your React Linear Gauge code from the legacy v1 API to v2 with a side-by-side mapping of dimensions, axis, ranges, pointers, and more. +title: Ej1 api migration in React Linear gauge component | Syncfusion +description: Learn here all about Ej1 api migration in Syncfusion React Linear gauge component of Syncfusion Essential JS 2 and more. control: Ej1 api migration platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Migration from Essential JS 1 in React Linear Gauge +# Ej1 api migration in React Linear gauge component This article describes the API migration process of Accordion component from Essential® JS 1 to Essential® JS 2. diff --git a/chart-sdk/react/linear-gauge/events.md b/chart-sdk/react/linear-gauge/events.md index 87730ec93..d017d3132 100644 --- a/chart-sdk/react/linear-gauge/events.md +++ b/chart-sdk/react/linear-gauge/events.md @@ -1,20 +1,20 @@ --- layout: post -title: Events in React Linear Gauge | Syncfusion -description: Handle React Linear Gauge events for pointer animation, annotation rendering, axis labels, drag actions, mouse interactions, and component load lifecycle. +title: Events in React Linear gauge component | Syncfusion +description: Learn here all about Events in Syncfusion React Linear gauge component of Syncfusion Essential JS 2 and more. control: Events platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Events in React Linear Gauge +# Events in React Linear gauge component This section describes the Linear Gauge component's event that gets triggered when corresponding operations are performed. ## animationComplete -When the pointer animation is completed, the [`animationComplete`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge#animationcomplete) event will be triggered. To know more about the arguments of this event, refer [here](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/iAnimationCompleteEventArgs). +When the pointer animation is completed, the [`animationComplete`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/#animationcomplete) event will be triggered. To know more about the arguments of this event, refer [here](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/iAnimationCompleteEventArgs/). {% tabs %} {% highlight js tabtitle="index.jsx" %} @@ -29,7 +29,7 @@ When the pointer animation is completed, the [`animationComplete`](https://ej2.s ## annotationRender -Before the annotation is rendered in the Linear Gauge, the [`annotationRender`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge#annotationrender) event will be triggered. To know more about the arguments of this event, refer [here](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/iAnnotationRenderEventArgs). +Before the annotation is rendered in the Linear Gauge, the [`annotationRender`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/#annotationrender) event will be triggered. To know more about the arguments of this event, refer [here](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/iAnnotationRenderEventArgs/). {% tabs %} {% highlight js tabtitle="index.jsx" %} @@ -44,7 +44,7 @@ Before the annotation is rendered in the Linear Gauge, the [`annotationRender`]( ## axisLabelRender -Before each axis label is rendered in the Linear Gauge, the [`axisLabelRender`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge#axislabelrender) event is fired. To know more about the arguments of this event, refer [here](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/iAxisLabelRenderEventArgs). +Before each axis label is rendered in the Linear Gauge, the [`axisLabelRender`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/#axislabelrender) event is fired. To know more about the arguments of this event, refer [here](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/iAxisLabelRenderEventArgs/). {% tabs %} {% highlight js tabtitle="index.jsx" %} @@ -59,7 +59,7 @@ Before each axis label is rendered in the Linear Gauge, the [`axisLabelRender`]( ## beforePrint -The [`beforePrint`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge#beforeprint) event is fired before the print begins. To know more about the arguments of this event, refer [here](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/iPrintEventArgs). +The [`beforePrint`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/#beforeprint) event is fired before the print begins. To know more about the arguments of this event, refer [here](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/iPrintEventArgs/). {% tabs %} {% highlight js tabtitle="index.jsx" %} @@ -74,7 +74,7 @@ The [`beforePrint`](https://ej2.syncfusion.com/react/documentation/api/linear-ga ## dragEnd -The [`dragEnd`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge#dragend) event will be fired before the pointer drag is completed. To know more about the argument of this event, refer [here](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/iPointerDragEventArgs). +The [`dragEnd`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/#dragend) event will be fired before the pointer drag is completed. To know more about the argument of this event, refer [here](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/iPointerDragEventArgs/). {% tabs %} {% highlight js tabtitle="index.jsx" %} @@ -89,7 +89,7 @@ The [`dragEnd`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge# ## dragMove -The [`dragMove`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge#dragmove) event will be fired when the pointer is dragged. To know more about the arguments of this event, refer [here](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/iPointerDragEventArgs). +The [`dragMove`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/#dragmove) event will be fired when the pointer is dragged. To know more about the arguments of this event, refer [here](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/iPointerDragEventArgs/). {% tabs %} {% highlight js tabtitle="index.jsx" %} @@ -104,7 +104,7 @@ The [`dragMove`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge ## dragStart -When the pointer drag begins, the [`dragStart`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge#dragstart) event is triggered. To know more about the arguments of this event, refer [here](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/iPointerDragEventArgs). +When the pointer drag begins, the [`dragStart`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/#dragstart) event is triggered. To know more about the arguments of this event, refer [here](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/iPointerDragEventArgs/). {% tabs %} {% highlight js tabtitle="index.jsx" %} @@ -119,7 +119,7 @@ When the pointer drag begins, the [`dragStart`](https://ej2.syncfusion.com/react ## gaugeMouseDown -When mouse is pressed down on the gauge, the [`gaugeMouseDown`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge#gaugemousedown) event is triggered. To know more about the arguments of this event, refer [here](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/iMouseEventArgs). +When mouse is pressed down on the gauge, the [`gaugeMouseDown`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/#gaugemousedown) event is triggered. To know more about the arguments of this event, refer [here](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/iMouseEventArgs/). {% tabs %} {% highlight js tabtitle="index.jsx" %} @@ -134,7 +134,7 @@ When mouse is pressed down on the gauge, the [`gaugeMouseDown`](https://ej2.sync ## gaugeMouseLeave -When mouse pointer moves over the gauge, the [`gaugemouseleave`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge#gaugemouseleave) event is triggered. To know more about the arguments of this event, refer [here](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/iMouseEventArgs). +When mouse pointer moves over the gauge, the [`gaugemouseleave`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/#gaugemouseleave) event is triggered. To know more about the arguments of this event, refer [here](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/iMouseEventArgs/). {% tabs %} {% highlight js tabtitle="index.jsx" %} @@ -149,7 +149,7 @@ When mouse pointer moves over the gauge, the [`gaugemouseleave`](https://ej2.syn ## gaugeMouseMove -When mouse pointer leaves the gauge, the [`gaugeMouseMove`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge#gaugemousemove) event is triggered. To know more about the arguments of this event, refer [here](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/iMouseEventArgs). +When mouse pointer leaves the gauge, the [`gaugeMouseMove`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/#gaugemousemove) event is triggered. To know more about the arguments of this event, refer [here](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/iMouseEventArgs/). {% tabs %} {% highlight js tabtitle="index.jsx" %} @@ -164,7 +164,7 @@ When mouse pointer leaves the gauge, the [`gaugeMouseMove`](https://ej2.syncfusi ## gaugeMouseUp -When the mouse pointer is released over the Linear Gauge, the [`gaugeMouseUp`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge#gaugemouseup) event is triggered. To know more about the arguments of this event, refer [here](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/iMouseEventArgs). +When the mouse pointer is released over the Linear Gauge, the [`gaugeMouseUp`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/#gaugemouseup) event is triggered. To know more about the arguments of this event, refer [here](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/iMouseEventArgs/). {% tabs %} {% highlight js tabtitle="index.jsx" %} @@ -179,7 +179,7 @@ When the mouse pointer is released over the Linear Gauge, the [`gaugeMouseUp`](h ## load -Before the Linear Gauge is loaded, the [`load`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge#load) event is fired. To know more about the arguments of this event, refer [here](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/iLoadEventArgs). +Before the Linear Gauge is loaded, the [`load`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/#load) event is fired. To know more about the arguments of this event, refer [here](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/iLoadEventArgs/). {% tabs %} {% highlight js tabtitle="index.jsx" %} @@ -194,7 +194,7 @@ Before the Linear Gauge is loaded, the [`load`](https://ej2.syncfusion.com/react ## loaded -After the Linear Gauge has been loaded, the [`loaded`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge#loaded) event will be triggered. To know more about the arguments of this event, refer [here](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/iLoadedEventArgs). +After the Linear Gauge has been loaded, the [`loaded`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/#loaded) event will be triggered. To know more about the arguments of this event, refer [here](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/iLoadedEventArgs/). {% tabs %} {% highlight js tabtitle="index.jsx" %} @@ -209,7 +209,7 @@ After the Linear Gauge has been loaded, the [`loaded`](https://ej2.syncfusion.co ## resized -After the window resizing, the [`resized`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge#resized) event is triggered. To know more about the arguments of this event, refer [here](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/iResizeEventArgs). +After the window resizing, the [`resized`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/#resized) event is triggered. To know more about the arguments of this event, refer [here](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/iResizeEventArgs/). {% tabs %} {% highlight js tabtitle="index.jsx" %} @@ -224,7 +224,7 @@ After the window resizing, the [`resized`](https://ej2.syncfusion.com/react/docu ## tooltipRender -The [`tooltipRender`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge#tooltiprender) event is fired before the tooltip is rendered. To know more about the arguments of this event, refer [here](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/iTooltipRenderEventArgs). +The [`tooltipRender`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/#tooltiprender) event is fired before the tooltip is rendered. To know more about the arguments of this event, refer [here](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/iTooltipRenderEventArgs/). {% tabs %} {% highlight js tabtitle="index.jsx" %} @@ -239,7 +239,7 @@ The [`tooltipRender`](https://ej2.syncfusion.com/react/documentation/api/linear- ## valueChange -The [`valueChange`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge#valuechange) event is triggered when the pointer is dragged from one value to another. To know more about the arguments of this event, refer [here](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/iValueChangeEventArgs). +The [`valueChange`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/#valuechange) event is triggered when the pointer is dragged from one value to another. To know more about the arguments of this event, refer [here](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/iValueChangeEventArgs/). {% tabs %} {% highlight js tabtitle="index.jsx" %} diff --git a/chart-sdk/react/linear-gauge/getting-started.md b/chart-sdk/react/linear-gauge/getting-started.md index ed156760b..b5ce4a168 100644 --- a/chart-sdk/react/linear-gauge/getting-started.md +++ b/chart-sdk/react/linear-gauge/getting-started.md @@ -1,7 +1,7 @@ --- layout: post -title: Getting Started with React Linear Gauge | Syncfusion -description: Learn how to get started with the Syncfusion React Linear Gauge control. Explore setup, features, examples, and customization options. +title: Getting started with React Linear Gauge component | Syncfusion +description: Check out and learn about Getting started with React Linear Gauge component of Syncfusion Essential JS 2 and more details. control: Getting started platform: chart-sdk documentation: ug diff --git a/chart-sdk/react/linear-gauge/internationalization.md b/chart-sdk/react/linear-gauge/internationalization.md index 0c681c837..fec992487 100644 --- a/chart-sdk/react/linear-gauge/internationalization.md +++ b/chart-sdk/react/linear-gauge/internationalization.md @@ -1,21 +1,21 @@ --- layout: post -title: Internationalization in React Linear Gauge | Syncfusion -description: Format React Linear Gauge axis labels and tooltips for any culture using currency, percentage, or other numeric formats via the format property. +title: Internationalization in React Linear gauge component | Syncfusion +description: Learn here all about Internationalization in Syncfusion React Linear gauge component of Syncfusion Essential JS 2 and more. control: Internationalization platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Internationalization in React Linear Gauge +# Internationalization in React Linear gauge component -Globalization is the process of designing and developing a component that works in different cultures. Internationalization is used to globalize the number content in Linear Gauge component using [`format`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/label#format) property in [`LinearGaugeComponent`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/linearGaugeModel). It has static text on some features such as +Globalization is the process of designing and developing a component that works in different cultures. Internationalization is used to globalize the number content in Linear Gauge component using [`format`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/label/#format) property in [`LinearGaugeComponent`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/linearGaugeModel/). It has static text on some features such as * Axis label * Tooltip -The static text on above features can be changed to any culture such as Arabic, Deutsch and French. To know more about the globalization in React components, refer [here](https://ej2.syncfusion.com/react/documentation/common/globalization/internationalization). +The static text on above features can be changed to any culture such as Arabic, Deutsch and French. To know more about the globalization in React components, refer [here](https://ej2.syncfusion.com/react/documentation/common/internationalization/). ## Numeric Format diff --git a/chart-sdk/react/linear-gauge/methods.md b/chart-sdk/react/linear-gauge/methods.md index 3e2a2381e..99a6efae3 100644 --- a/chart-sdk/react/linear-gauge/methods.md +++ b/chart-sdk/react/linear-gauge/methods.md @@ -1,19 +1,19 @@ --- layout: post -title: Methods in React Linear Gauge | Syncfusion -description: Update the React Linear Gauge dynamically using setPointerValue, setAnnotationValue, and refresh methods to change state and re-render the component. +title: Methods in React Linear gauge component | Syncfusion +description: Learn here all about Methods in Syncfusion React Linear gauge component of Syncfusion Essential JS 2 and more. control: Methods platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Methods in React Linear Gauge +# Methods in React Linear gauge component The following methods are available in the Linear Gauge component. ## setPointerValue -To change the pointer value dynamically, use the [`setPointerValue`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge#setpointervalue) method in the Linear Gauge component. The following are the arguments for this method. +To change the pointer value dynamically, use the [`setPointerValue`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/#setpointervalue) method in the Linear Gauge component. The following are the arguments for this method. | Argument name | Description | |----------------------| -----------------------------------------| @@ -34,7 +34,7 @@ To change the pointer value dynamically, use the [`setPointerValue`](https://ej2 ## setAnnotationValue -To change the annotation content dynamically, use the [`setAnnotationValue`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge#setannotationvalue) method in the Linear Gauge component. The following are the arguments for this method. +To change the annotation content dynamically, use the [`setAnnotationValue`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/#setannotationvalue) method in the Linear Gauge component. The following are the arguments for this method. | Argument name | Description | |----------------------| -----------------------------------------| diff --git a/chart-sdk/react/linear-gauge/pointers.md b/chart-sdk/react/linear-gauge/pointers.md index cb8b0b5cf..003aaf39a 100644 --- a/chart-sdk/react/linear-gauge/pointers.md +++ b/chart-sdk/react/linear-gauge/pointers.md @@ -1,14 +1,14 @@ --- layout: post -title: Pointers in React Linear Gauge | Syncfusion -description: Add marker or bar pointers to the React Linear Gauge to track axis values, with multiple pointers, animation, and gradient support. +title: Pointers in React Linear Gauge Component | Syncfusion +description: Learn here all about pointers in Syncfusion Essential React Linear Gauge component, its elements and more. control: Pointers platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Pointers in React Linear Gauge +# Pointers in React Linear Gauge Component ## Setting the Pointer Value diff --git a/chart-sdk/react/linear-gauge/print-and-export.md b/chart-sdk/react/linear-gauge/print-and-export.md index 7d07f01c3..3fd12b4f0 100644 --- a/chart-sdk/react/linear-gauge/print-and-export.md +++ b/chart-sdk/react/linear-gauge/print-and-export.md @@ -1,18 +1,18 @@ --- layout: post -title: Print and Export in React Linear Gauge | Syncfusion -description: Print the React Linear Gauge directly or export it as JPEG, PNG, SVG, or PDF images, including base64 string output for image and PDF formats. +title: Print and export in React Linear gauge component | Syncfusion +description: Learn here all about Print and export in Syncfusion React Linear gauge component of Syncfusion Essential JS 2 and more. control: Print and export platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Print and Export in React Linear Gauge +# Print and export in React Linear gauge component ## Print -The rendered Linear Gauge can be printed directly from the browser by calling the [`print`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge#print) method. To use the print functionality, set the [`allowPrint`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge#allowprint) property as **true** and inject the **Print** module into **services**. +The rendered Linear Gauge can be printed directly from the browser by calling the [`print`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/#print) method. To use the print functionality, set the [`allowPrint`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/#allowprint) property as **true** and inject the **Print** module into **services**. {% tabs %} {% highlight js tabtitle="index.jsx" %} @@ -29,7 +29,7 @@ The rendered Linear Gauge can be printed directly from the browser by calling th ### Image Export -To use the image export functionality, set the [`allowImageExport`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge#allowimageexport) property as **true** and inject the **ImageExport** module into **services**. The rendered Linear Gauge can be exported as an image using the [`export`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge#export) method. This method requires two parameters: export type and file name. The Linear Gauge can be exported as an image with the following formats. +To use the image export functionality, set the [`allowImageExport`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/#allowimageexport) property as **true** and inject the **ImageExport** module into **services**. The rendered Linear Gauge can be exported as an image using the [`export`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/#export) method. This method requires two parameters: export type and file name. The Linear Gauge can be exported as an image with the following formats. * JPEG * PNG @@ -48,7 +48,7 @@ To use the image export functionality, set the [`allowImageExport`](https://ej2. ### PDF Export -To use the PDF export functionality, set the [`allowPdfExport`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge#allowpdfexport) property as **true** and inject the **PdfExport** module into **services**. The rendered Linear Gauge can be exported as PDF using the [`export`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge#export) method. The [`export`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge#export) method requires three parameters: file type, file name, and orientation of the PDF document. The orientation of the PDF document can be set as **Portrait** or **Landscape**. +To use the PDF export functionality, set the [`allowPdfExport`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/#allowpdfexport) property as **true** and inject the **PdfExport** module into **services**. The rendered Linear Gauge can be exported as PDF using the [`export`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/#export) method. The [`export`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/#export) method requires three parameters: file type, file name, and orientation of the PDF document. The orientation of the PDF document can be set as **Portrait** or **Landscape**. {% tabs %} {% highlight js tabtitle="index.jsx" %} @@ -63,7 +63,7 @@ To use the PDF export functionality, set the [`allowPdfExport`](https://ej2.sync ### Exporting Linear Gauge as base64 string of the file -The Linear Gauge can be exported as base64 string for the JPEG, PNG and PDF formats. The rendered Linear Gauge can be exported as base64 string of the exported image or PDF document used in the [`export`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge#export) method. The arguments that are required for this method is export type, file name, orientation of the exported PDF document and **allowDownload** boolean value that is set as **false** to return base64 string. The value for the orientation of the exported PDF document is set as **null** for image export and **Portrait** or **Landscape** for the PDF document. +The Linear Gauge can be exported as base64 string for the JPEG, PNG and PDF formats. The rendered Linear Gauge can be exported as base64 string of the exported image or PDF document used in the [`export`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/#export) method. The arguments that are required for this method is export type, file name, orientation of the exported PDF document and **allowDownload** boolean value that is set as **false** to return base64 string. The value for the orientation of the exported PDF document is set as **null** for image export and **Portrait** or **Landscape** for the PDF document. {% tabs %} {% highlight js tabtitle="index.jsx" %} diff --git a/chart-sdk/react/linear-gauge/ranges.md b/chart-sdk/react/linear-gauge/ranges.md index 97ec53a39..518a372de 100644 --- a/chart-sdk/react/linear-gauge/ranges.md +++ b/chart-sdk/react/linear-gauge/ranges.md @@ -1,14 +1,14 @@ --- layout: post -title: Ranges in React Linear Gauge | Syncfusion -description: Define value ranges on the React Linear Gauge axis with custom width, color, position, and linear or radial gradient fills. +title: Ranges in React Linear gauge component | Syncfusion +description: Learn here all about Ranges in Syncfusion React Linear gauge component of Syncfusion Essential JS 2 and more. control: Ranges platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Ranges in React Linear Gauge +# Ranges in React Linear gauge component Range is the set of values in the axis. The range can be defined using the [`start`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/rangeModel#start) and [`end`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/rangeModel#end) properties in the [`RangeDirective`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/rangeModel). Any number of ranges can be added to the Linear Gauge using the [`RangesDirective`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/axisModel#ranges). diff --git a/chart-sdk/react/linear-gauge/user-interaction.md b/chart-sdk/react/linear-gauge/user-interaction.md index 6b5b7266d..69a2def79 100644 --- a/chart-sdk/react/linear-gauge/user-interaction.md +++ b/chart-sdk/react/linear-gauge/user-interaction.md @@ -1,14 +1,14 @@ --- layout: post -title: User Interaction in React Linear Gauge | Syncfusion -description: Enable interactive features in the React Linear Gauge, including hover tooltips with custom templates and draggable marker or bar pointers. +title: User interaction in React Linear gauge component | Syncfusion +description: Learn here all about User interaction in Syncfusion React Linear gauge component of Syncfusion Essential JS 2 and more. control: User interaction platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# User Interaction in React Linear Gauge +# User interaction in React Linear gauge component @@ -16,7 +16,7 @@ domainurl: https://help.syncfusion.com/chart-sdk -Linear Gauge displays the details about a pointer value through [`tooltip`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/tooltipSettings), when the mouse hovers over the pointer. To enable the tooltip, set [`enable`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/tooltipSettings#enable) property as **true** and inject **GaugeTooltip** into **services**. +Linear Gauge displays the details about a pointer value through [`tooltip`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/tooltipSettings/), when the mouse hovers over the pointer. To enable the tooltip, set [`enable`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/tooltipSettings/#enable) property as **true** and inject **GaugeTooltip** into **services**. {% tabs %} {% highlight js tabtitle="index.jsx" %} @@ -34,7 +34,7 @@ Linear Gauge displays the details about a pointer value through [`tooltip`](http ### Tooltip format -Tooltip in the Linear Gauge control can be formatted using the [`format`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/tooltipSettings#format) property in [`tooltip`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/tooltipSettings). It is used to render the tooltip in certain format or to add a user-defined unit in the tooltip. By default, the tooltip shows the pointer value only. In addition to that, more information can be added in the tooltip. For example, the format **{value}km** shows pointer value with kilometer unit in the tooltip. +Tooltip in the Linear Gauge control can be formatted using the [`format`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/tooltipSettings/#format) property in [`tooltip`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/tooltipSettings/). It is used to render the tooltip in certain format or to add a user-defined unit in the tooltip. By default, the tooltip shows the pointer value only. In addition to that, more information can be added in the tooltip. For example, the format **{value}km** shows pointer value with kilometer unit in the tooltip. {% tabs %} {% highlight js tabtitle="index.jsx" %} @@ -49,7 +49,7 @@ Tooltip in the Linear Gauge control can be formatted using the [`format`](https: ### Tooltip Template -The HTML elements rendered in the tooltip of the Linear Gauge using the [`template`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/tooltipSettings#template) property of the [`tooltip`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/tooltipSettings). The **${value}** can be used as placeholders in the HTML element to display the pointer values of the corresponding axis. +The HTML elements rendered in the tooltip of the Linear Gauge using the [`template`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/tooltipSettings/#template) property of the [`tooltip`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/tooltipSettings/). The **${value}** can be used as placeholders in the HTML element to display the pointer values of the corresponding axis. {% tabs %} {% highlight js tabtitle="index.jsx" %} @@ -64,13 +64,13 @@ The HTML elements rendered in the tooltip of the Linear Gauge using the [`templa ### Customize the appearance of the tooltip -The tooltip can be customized using the following properties in [`tooltip`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/tooltipSettings). +The tooltip can be customized using the following properties in [`tooltip`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/tooltipSettings/). -* [`fill`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/tooltipSettings#fill) - To fill the color for tooltip. -* [`enableAnimation`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/tooltipSettings#enableanimation) - To enable or disable the tooltip animation. -* [`border`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/tooltipSettings#border) - To set the border color and width of the tooltip. -* [`textStyle`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/tooltipSettings#textstyle) - To customize the style of the text in tooltip. -* [`showAtMousePosition`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/tooltipSettings#showatmouseposition) - To show the tooltip at the mouse position. +* [`fill`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/tooltipSettings/#fill) - To fill the color for tooltip. +* [`enableAnimation`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/tooltipSettings/#enableanimation) - To enable or disable the tooltip animation. +* [`border`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/tooltipSettings/#border) - To set the border color and width of the tooltip. +* [`textStyle`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/tooltipSettings/#textstyle) - To customize the style of the text in tooltip. +* [`showAtMousePosition`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/tooltipSettings/#showatmouseposition) - To show the tooltip at the mouse position. {% tabs %} {% highlight js tabtitle="index.jsx" %} @@ -85,7 +85,7 @@ The tooltip can be customized using the following properties in [`tooltip`](http ### Positioning the tooltip -The tooltip is positioned at the **End** of the pointer. To change the position of the tooltip at the start, or center of the pointer, set the [`position`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/tooltipSettings#position) property to **Start** or **Center**. +The tooltip is positioned at the **End** of the pointer. To change the position of the tooltip at the start, or center of the pointer, set the [`position`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/tooltipSettings/#position) property to **Start** or **Center**. {% tabs %} {% highlight js tabtitle="index.jsx" %} @@ -100,7 +100,7 @@ The tooltip is positioned at the **End** of the pointer. To change the position ## Pointer Drag -To drag either marker or bar pointer to the desired axis value, set the [`enableDrag`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/pointer#enabledrag) property as **true** in the [`PointerDirective`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/pointerModel). +To drag either marker or bar pointer to the desired axis value, set the [`enableDrag`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/pointer/#enabledrag) property as **true** in the [`PointerDirective`](https://ej2.syncfusion.com/react/documentation/api/linear-gauge/pointerModel/). {% tabs %} {% highlight js tabtitle="index.jsx" %} diff --git a/chart-sdk/react/maps/accessibility.md b/chart-sdk/react/maps/accessibility.md index 9c974c227..a386d9836 100644 --- a/chart-sdk/react/maps/accessibility.md +++ b/chart-sdk/react/maps/accessibility.md @@ -1,14 +1,14 @@ --- layout: post -ttitle: Accessibility in React Maps | Syncfusion -description: Learn about React Maps accessibility compliance with WCAG 2.2, Section 508, and ADA, including screen reader and keyboard navigation support. -control: Accessibility +title: Accessibility in React Maps component | Syncfusion +description: Learn here all about Accessibility in Syncfusion React Maps component of Syncfusion Essential JS 2 and more. +control: Accessibility platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Accessibility in React Maps +# Accessibility in React Maps component Accessibility enables users with disabilities to interact with the Maps component through assistive technologies such as screen readers and keyboard navigation. The Maps component is designed to comply with [ADA](https://www.ada.gov), [Section 508](https://www.section508.gov), [WCAG 2.2](https://www.w3.org/TR/WCAG22) standards, and [WCAG roles](https://www.w3.org/TR/wai-aria#roles). diff --git a/chart-sdk/react/maps/annotations.md b/chart-sdk/react/maps/annotations.md index 0c2262972..dc6562c29 100644 --- a/chart-sdk/react/maps/annotations.md +++ b/chart-sdk/react/maps/annotations.md @@ -1,14 +1,14 @@ --- layout: post -title: Annotations in React Maps | Syncfusion -description: Learn how to overlay custom text, images, or HTML elements as annotations on React Maps to mark areas of interest beyond markers and data labels. +title: Annotations in React Maps component | Syncfusion +description: Learn here all about Annotations in Syncfusion React Maps component of Syncfusion Essential JS 2 and more. control: Annotations platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Annotations in React Maps +# Annotations in React Maps component diff --git a/chart-sdk/react/maps/bubble.md b/chart-sdk/react/maps/bubble.md index e1199b63d..35d64ac60 100644 --- a/chart-sdk/react/maps/bubble.md +++ b/chart-sdk/react/maps/bubble.md @@ -1,14 +1,14 @@ --- layout: post -title: Bubble in React Maps | Syncfusion -description: Learn how to render and size data bubbles in React Maps to visualize numerical values across geographic regions with circular or square shapes. +title: Bubble in React Maps component | Syncfusion +description: Learn here all about Bubble in Syncfusion React Maps component of Syncfusion Essential JS 2 and more. control: Bubble platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Bubble in React Maps +# Bubble in React Maps component This section shows how to customize the appearance of the bubbles in the Maps component. The below video demonstrates the same. diff --git a/chart-sdk/react/maps/color-mapping.md b/chart-sdk/react/maps/color-mapping.md index c7ab01748..d7162b371 100644 --- a/chart-sdk/react/maps/color-mapping.md +++ b/chart-sdk/react/maps/color-mapping.md @@ -1,14 +1,14 @@ --- layout: post -title: Color Mapping in React Maps | Syncfusion -description: Learn how to apply range, equal, and desaturation color mapping in React Maps to visualize shape data based on numeric values and field-driven palettes. +title: Color mapping in React Maps component | Syncfusion +description: Learn here all about Color mapping in Syncfusion React Maps component of Syncfusion Essential JS 2 and more. control: Color mapping platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Color Mapping in React Maps +# Color mapping in React Maps component Color mapping customizes shape colors based on data values. It supports three primary types: range, equal, and desaturation. To apply color mapping, bind data to the [`dataSource`](https://ej2.syncfusion.com/react/documentation/api/maps/layerSettingsModel#datasource) property of [`layerSettings`](https://ej2.syncfusion.com/react/documentation/api/maps/layerSettingsModel) and set the [`colorValuePath`](https://ej2.syncfusion.com/react/documentation/api/maps/shapeSettingsModel#colorvaluepath) property in [`shapeSettings`](https://ej2.syncfusion.com/react/documentation/api/maps/shapeSettingsModel) to specify which field controls the color value. diff --git a/chart-sdk/react/maps/customization.md b/chart-sdk/react/maps/customization.md index d5adb2b90..9f7a3a863 100644 --- a/chart-sdk/react/maps/customization.md +++ b/chart-sdk/react/maps/customization.md @@ -1,14 +1,14 @@ --- layout: post -title: Customization in React Maps | Syncfusion -description: Learn how to customize React Maps appearance, including size, title, theme, container styling, shape properties, and projection type for any layout. -control: Customization +title: Customization in React Maps component | Syncfusion +description: Learn here all about Customization in Syncfusion React Maps component of Syncfusion Essential JS 2 and more. +control: Customization platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Customization in React Maps +# Customization in React Maps component The Maps component provides various options to customize its appearance, including size, title, theme, container styling, shape properties, and projection type. This section explains how to configure these customization options. diff --git a/chart-sdk/react/maps/data-label.md b/chart-sdk/react/maps/data-label.md index 50807351e..318b42d11 100644 --- a/chart-sdk/react/maps/data-label.md +++ b/chart-sdk/react/maps/data-label.md @@ -1,14 +1,14 @@ --- layout: post -title: Data Labels in React Maps | Syncfusion -description: Learn how to display React Maps data labels for shape data or a bound data source, including labelPath configuration and visibility settings. +title: Data label in React Maps component | Syncfusion +description: Learn here all about Data label in Syncfusion React Maps component of Syncfusion Essential JS 2 and more. control: Data label platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Data Labels in React Maps +# Data label in React Maps component Data labels display information about map shapes. Enable data labels by setting the [visible](https://ej2.syncfusion.com/react/documentation/api/maps/dataLabelSettingsModel#visible) property of the [dataLabelSettings](https://ej2.syncfusion.com/react/documentation/api/maps/dataLabelSettingsModel) to **true**. diff --git a/chart-sdk/react/maps/ej1-api-migration.md b/chart-sdk/react/maps/ej1-api-migration.md index 427a527f3..693355746 100644 --- a/chart-sdk/react/maps/ej1-api-migration.md +++ b/chart-sdk/react/maps/ej1-api-migration.md @@ -1,8 +1,8 @@ --- layout: post -title: Ej1 Api Migration in React Maps | Syncfusion -description: Learn how to migrate the Maps API from Essential JS 1 to Essential JS 2 in React, including updated properties, modules, and event patterns. -control: Ej1 api migration +title: Ej1 api migration in React Maps component | Syncfusion +description: Learn here all about Ej1 api migration in Syncfusion React Maps component of Syncfusion Essential JS 2 and more. +control: Ej1 api migration platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk @@ -10,7 +10,7 @@ domainurl: https://help.syncfusion.com/chart-sdk {% raw %} -# Ej1 Api Migration in React Maps +# Ej1 api migration in React Maps component This article describes the API migration process of Maps component from Essential® JS 1 to Essential® JS 2. diff --git a/chart-sdk/react/maps/getting-started.md b/chart-sdk/react/maps/getting-started.md index e9cf37db4..e5334b58e 100644 --- a/chart-sdk/react/maps/getting-started.md +++ b/chart-sdk/react/maps/getting-started.md @@ -1,14 +1,14 @@ --- layout: post -title: Getting Started with React Maps | Syncfusion -description: Learn how to get started with the Syncfusion React Maps control. Explore setup, features, examples, and customization options. +title: Getting started with React Maps component | Syncfusion +description: Check out and learn about Getting started with React Maps component of Syncfusion Essential JS 2 and more details. control: Getting started platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Getting Started with React Maps +# Getting Started with React Maps component This section explains the steps required to create a basic Maps component. diff --git a/chart-sdk/react/maps/how-to/creating-routes-between-the-markers.md b/chart-sdk/react/maps/how-to/creating-routes-between-the-markers.md index e111e2b58..6ce193a67 100644 --- a/chart-sdk/react/maps/how-to/creating-routes-between-the-markers.md +++ b/chart-sdk/react/maps/how-to/creating-routes-between-the-markers.md @@ -1,14 +1,14 @@ --- layout: post -title: How to create routes between markers in React Maps | Syncfusion -description: Learn how to plot routes between source and destination markers in React Maps using navigation lines and coordinates from the Google Maps Directions API. -control: Maps +title: How to create routes between markers in Maps component | Syncfusion +description: Learn here all about creating routes between markers in the Syncfusion React Maps component of Syncfusion Essential JS 2 and more. +control: Maps platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# How to create routes between markers in React Maps +# Creating Routes Between Markers in the React Maps component The Syncfusion® Maps component supports plotting routes between two locations (source and destination) using the navigation line feature. Markers can be placed at these locations to visually indicate the source and destination, making it easier to view the path between them on the map. diff --git a/chart-sdk/react/maps/how-to/custom-path.md b/chart-sdk/react/maps/how-to/custom-path.md index 9fc17ca6e..898428f92 100644 --- a/chart-sdk/react/maps/how-to/custom-path.md +++ b/chart-sdk/react/maps/how-to/custom-path.md @@ -1,14 +1,14 @@ --- layout: post -title: How to add a custom path in React Maps | Syncfusion -description: Learn how to build custom-path layouts in React Maps using normal geometry shapes, demonstrated with a bus seat selection example. -control: Custom path +title: Custom path in React Maps component | Syncfusion +description: Learn here all about Custom path in Syncfusion React Maps component of Syncfusion Essential JS 2 and more. +control: Custom path platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# How to add a custom path in React Maps +# Custom path in React Maps component Maps component can be customized as the desired layout using the custom path map feature. Here, the Maps component has been showcased with normal geometry type shapes to represent the bus seat selection layout. diff --git a/chart-sdk/react/maps/how-to/drilldown.md b/chart-sdk/react/maps/how-to/drilldown.md index d005de7da..66996083f 100644 --- a/chart-sdk/react/maps/how-to/drilldown.md +++ b/chart-sdk/react/maps/how-to/drilldown.md @@ -1,16 +1,16 @@ --- layout: post -title: How to drilldown in React Maps | Syncfusion -description: Learn how to enable drilldown in React Maps by clicking a continent shape to reveal all countries within it via the shapeSelected event. -control: Drilldown +title: Drilldown in React Maps component | Syncfusion +description: Learn here all about Drilldown in Syncfusion React Maps component of Syncfusion Essential JS 2 and more. +control: Drilldown platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# How to drilldown in React Maps +# Drilldown in React Maps component -By clicking a continent, all the countries available in that continent can be viewed using the drill-down feature. For example, the countries in the `Africa` continent have been showcased here. To showcase all the countries in `Africa` continent by clicking the [`shapeSelected`](https://ej2.syncfusion.com/react/documentation/api/maps#shapeselected) event as mentioned in the following example. +By clicking a continent, all the countries available in that continent can be viewed using the drill-down feature. For example, the countries in the `Africa` continent have been showcased here. To showcase all the countries in `Africa` continent by clicking the [`shapeSelected`](https://ej2.syncfusion.com/react/documentation/api/maps/#shapeselected) event as mentioned in the following example. {% tabs %} {% highlight js tabtitle="index.jsx" %} diff --git a/chart-sdk/react/maps/internationalization.md b/chart-sdk/react/maps/internationalization.md index ccab68d53..3f2505492 100644 --- a/chart-sdk/react/maps/internationalization.md +++ b/chart-sdk/react/maps/internationalization.md @@ -1,14 +1,14 @@ --- layout: post -title: Internationalization in React Maps | Syncfusion -description: Learn how to globalize React Maps data labels and tooltips using number and date formatters for different cultures and locales worldwide. -control: Internationalization +title: Internationalization in React Maps component | Syncfusion +description: Learn here all about Internationalization in Syncfusion React Maps component of Syncfusion Essential JS 2 and more. +control: Internationalization platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Internationalization in React Maps +# Internationalization in React Maps component Internationalization enables the Maps component to display content in different cultures and locales, making it accessible to users worldwide. The Maps component supports internationalization for the following elements: diff --git a/chart-sdk/react/maps/layers.md b/chart-sdk/react/maps/layers.md index 594ab2d5b..8cad6401d 100644 --- a/chart-sdk/react/maps/layers.md +++ b/chart-sdk/react/maps/layers.md @@ -1,14 +1,14 @@ --- layout: post -title: Layers in React Maps | Syncfusion -description: Learn how to add and combine multiple layers in React Maps, including main shape layers, map providers, and overlay sublayers for richer visualizations. -control: Layers +title: Layers in React Maps component | Syncfusion +description: Learn here all about Layers in Syncfusion React Maps component of Syncfusion Essential JS 2 and more. +control: Layers platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Layers in React Maps +# Layers in React Maps component Layers are the fundamental building blocks of the Maps component. Each layer can display shape data from GeoJSON files or map providers. The Maps component renders content through the [`layers`](https://ej2.syncfusion.com/react/documentation/api/maps#layers) property, and multiple layers can be added to create rich, layered map visualizations. diff --git a/chart-sdk/react/maps/legend.md b/chart-sdk/react/maps/legend.md index 8556ba2a6..5dd6a2350 100644 --- a/chart-sdk/react/maps/legend.md +++ b/chart-sdk/react/maps/legend.md @@ -1,14 +1,14 @@ --- layout: post -title: Legend in React Maps | Syncfusion -description: Learn how to add and position legends in React Maps to explain the colors, shapes, and symbols used to represent data on the map. -control: Legend +title: Legend in React Maps component | Syncfusion +description: Learn here all about Legend in Syncfusion React Maps component of Syncfusion Essential JS 2 and more. +control: Legend platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Legend in React Maps +# Legend in React Maps component This section shows how to add legends in the Maps component. The below video demonstrates the same. diff --git a/chart-sdk/react/maps/localization.md b/chart-sdk/react/maps/localization.md index d778a4dfa..5f1032ecc 100644 --- a/chart-sdk/react/maps/localization.md +++ b/chart-sdk/react/maps/localization.md @@ -1,14 +1,14 @@ --- layout: post -title: Localization in React Maps | Syncfusion -description: Learn how to localize static text such as zoom toolbar tooltips in React Maps by defining locale values and translation objects for any culture. +title: Localization in React Maps component | Syncfusion +description: Learn here all about Localization in Syncfusion React Maps component of Syncfusion Essential JS 2 and more. control: Localization platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Localization in React Maps +# Localization in React Maps component The localization library allows localizing the default text content of the Maps component. The Maps component has the static text of some features such as tooltip of zoom toolbar, and that can be changed to any other culture(Arabic, Deutsch, French, etc) by defining the locale value and translation object. diff --git a/chart-sdk/react/maps/markers.md b/chart-sdk/react/maps/markers.md index f5ca5f648..1df3bf263 100644 --- a/chart-sdk/react/maps/markers.md +++ b/chart-sdk/react/maps/markers.md @@ -1,14 +1,14 @@ --- layout: post -title: Markers in React Maps | Syncfusion -description: Learn how to add and customize markers in React Maps to pinpoint specific locations, highlight points of interest, and display custom symbols. -control: Markers +title: Markers in React Maps component | Syncfusion +description: Learn here all about Markers in Syncfusion React Maps component of Syncfusion Essential JS 2 and more. +control: Markers platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Markers in React Maps +# Markers in React Maps component This section shows how to add and customize the markers in the Maps component. The below video demonstrates the same. @@ -319,7 +319,7 @@ Different marker objects can be added to the Maps component using the marker set **Step 1**: -Initialize the Maps component with marker settings. Here, a marker has been added with specified latitude and longitude of California by using the [`dataSource`](https://ej2.syncfusion.com/react/documentation/api/maps/markerSettingsModel#datasource) property. To customize the shape of the marker using the [`shape`](https://ej2.syncfusion.com/react/documentation/api/maps/markerSettingsModel#shape) property and change the border color and width of the marker using the [`border`](https://ej2.syncfusion.com/react/documentation/api/maps/markerSettingsModel#border) property as mentioned in the following example. +Initialize the Maps component with marker settings. Here, a marker has been added with specified latitude and longitude of California by using the [`dataSource`](https://ej2.syncfusion.com/react/documentation/api/maps/markerSettingsModel/#datasource) property. To customize the shape of the marker using the [`shape`](https://ej2.syncfusion.com/react/documentation/api/maps/markerSettingsModel/#shape) property and change the border color and width of the marker using the [`border`](https://ej2.syncfusion.com/react/documentation/api/maps/markerSettingsModel/#border) property as mentioned in the following example. {% tabs %} {% highlight js tabtitle="index.jsx" %} diff --git a/chart-sdk/react/maps/methods.md b/chart-sdk/react/maps/methods.md index b563fc0d0..ffcca4e7a 100644 --- a/chart-sdk/react/maps/methods.md +++ b/chart-sdk/react/maps/methods.md @@ -1,14 +1,14 @@ --- layout: post -title: Methods in React Maps | Syncfusion -description: Learn the React Maps public methods for retrieving coordinates, manipulating layers, refreshing content, and exporting visualizations programmatically. +title: Methods in React Maps component | Syncfusion +description: Learn here all about methods in Syncfusion React Maps component of Syncfusion Essential JS 2 and more. control: Methods platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Methods in React Maps +# Methods in React Maps component The Maps control provides several public methods that enable programmatic control and interaction with map controls. These methods allow developers to perform operations such as retrieving geographic coordinates, manipulating layers, refreshing content, and exporting map visualizations. This section documents the available methods and their usage. diff --git a/chart-sdk/react/maps/navigation-line.md b/chart-sdk/react/maps/navigation-line.md index 0514c5d37..ed13155ad 100644 --- a/chart-sdk/react/maps/navigation-line.md +++ b/chart-sdk/react/maps/navigation-line.md @@ -1,14 +1,14 @@ --- layout: post -title: Navigation Lines in React Maps | Syncfusion -description: Learn how to draw curved navigation lines in React Maps to visualize flight routes, sea routes, and other paths between geographic locations. +title: Navigation line in React Maps component | Syncfusion +description: Learn here all about Navigation line in Syncfusion React Maps component of Syncfusion Essential JS 2 and more. control: Navigation line platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Navigation Lines in React Maps +# Navigation line in React Maps component Navigation lines are curved paths used to denote the route between two locations on the Maps. This feature is commonly used to draw flight routes, sea routes, or any path connecting two geographic points. Navigation lines are enabled by setting the [`visible`](https://ej2.syncfusion.com/react/documentation/api/maps/navigationLineSettingsModel#visible) property of the [`navigationLineSettings`](https://ej2.syncfusion.com/react/documentation/api/maps/navigationLineSettingsModel) to **true**. diff --git a/chart-sdk/react/maps/nextjs-getting-started.md b/chart-sdk/react/maps/nextjs-getting-started.md index ce8f9a7a2..95f5bb5d9 100644 --- a/chart-sdk/react/maps/nextjs-getting-started.md +++ b/chart-sdk/react/maps/nextjs-getting-started.md @@ -1,7 +1,7 @@ --- layout: post -title: Getting Started with Next.js in React Maps | Syncfusion -description: Learn how to set up a Next.js application and integrate the Syncfusion React Maps component using a step-by-step walkthrough and npm package install. +title: React getting started with Next.js | Syncfusion +description: Check out and learn here all about how to use the Syncfusion React UI components in the Next.js project. control: Next.js platform: chart-sdk documentation: ug @@ -9,7 +9,7 @@ domainurl: https://help.syncfusion.com/chart-sdk --- -# Getting Started with Next.js in React Maps +# Creating a Next.js Application Using Syncfusion® React Components This section provides a step-by-step guide for setting up a Next.js application and integrating the Syncfusion® React Maps component. diff --git a/chart-sdk/react/maps/polygon.md b/chart-sdk/react/maps/polygon.md index 4703c5825..5a42419f0 100644 --- a/chart-sdk/react/maps/polygon.md +++ b/chart-sdk/react/maps/polygon.md @@ -1,14 +1,14 @@ --- layout: post -title: Polygon in React Maps | Syncfusion -description: Learn how to add and customize polygon overlays in React Maps using latitude/longitude coordinates for zones, boundaries, regions, and coverage areas. -control: Polygon +title: Polygon in React Maps component | Syncfusion +description: Learn here all about Polygon in Syncfusion React Maps component of Syncfusion Essential JS 2 and more. +control: Polygon platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Polygon in React Maps +# Polygon shape in React Maps component The Maps component supports rendering custom polygon shapes as overlays on both geometry-based maps and online tile maps. Polygons are useful for highlighting specific geographic regions, marking zones of interest, drawing custom boundaries, or visualizing areas such as coverage zones, territorial boundaries, or restricted areas. This feature is configured using the [polygons](https://ej2.syncfusion.com/react/documentation/api/maps/polygonSettingsModel#polygons) property, which allows multiple polygon shapes to be added and customized independently. diff --git a/chart-sdk/react/maps/populate-data.md b/chart-sdk/react/maps/populate-data.md index b480a8339..db5ef8e78 100644 --- a/chart-sdk/react/maps/populate-data.md +++ b/chart-sdk/react/maps/populate-data.md @@ -1,14 +1,14 @@ --- layout: post -title: Populate Data in React Maps | Syncfusion -description: Learn how to populate React Maps with GeoJSON shape data, including supported geometry types like Polygon, LineString, and MultiPolygon for custom layouts. +title: Populate data in React Maps component | Syncfusion +description: Learn here all about Populate data in Syncfusion React Maps component of Syncfusion Essential JS 2 and more. control: Populate data platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Populate Data in React Maps +# Populate data in React Maps component ## Geometry types diff --git a/chart-sdk/react/maps/print.md b/chart-sdk/react/maps/print.md index 94f9aaabd..74bcd2570 100644 --- a/chart-sdk/react/maps/print.md +++ b/chart-sdk/react/maps/print.md @@ -1,14 +1,14 @@ --- layout: post -title: Print and Export in React Maps | Syncfusion -description: Learn how to print and export React Maps directly from the browser by injecting the Print module and enabling the allowPrint property. -control: Print +title: Print in React Maps component | Syncfusion +description: Learn here all about Print in Syncfusion React Maps component of Syncfusion Essential JS 2 and more. +control: Print platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Print and Export in React Maps +# Print in React Maps component ## Print diff --git a/chart-sdk/react/maps/providers/azure-maps.md b/chart-sdk/react/maps/providers/azure-maps.md index 5bd8a222c..ebc3fe9f5 100644 --- a/chart-sdk/react/maps/providers/azure-maps.md +++ b/chart-sdk/react/maps/providers/azure-maps.md @@ -1,14 +1,14 @@ --- layout: post -title: Azure Maps in React Maps | Syncfusion -description: Learn how to integrate Microsoft Azure Maps in React Maps with satellite, road, and terrain styles using an Azure Maps subscription. -control: Azure maps +title: Azure maps in React Maps component | Syncfusion +description: Learn here all about Azure maps in Syncfusion React Maps component of Syncfusion Essential JS 2 and more. +control: Azure maps platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Azure Maps in React Maps +# Azure maps integration in React Maps component Azure Maps is an online map service provider from Microsoft. Similar to OSM and Bing Maps, it provides map tile images based on requests and combines them to display the map area. Azure Maps offers various map styles including satellite imagery, road maps, and terrain views with global coverage. diff --git a/chart-sdk/react/maps/providers/bing-maps.md b/chart-sdk/react/maps/providers/bing-maps.md index efc3b025b..398da10d4 100644 --- a/chart-sdk/react/maps/providers/bing-maps.md +++ b/chart-sdk/react/maps/providers/bing-maps.md @@ -1,14 +1,14 @@ --- layout: post -title: Bing Maps in React Maps | Syncfusion -description: Learn how to integrate Microsoft Bing Maps in React Maps using a valid Bing Maps API key to render tile-based geographic visualizations. +title: Bing maps in React Maps component | Syncfusion +description: Learn here all about Bing maps in Syncfusion React Maps component of Syncfusion Essential JS 2 and more. control: Bing maps platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Bing Maps in React Maps +# Bing maps integration in React Maps component Bing Maps is a online Maps provider, owned by Microsoft. As like OSM, it provide Maps tile images based on our requests and combines those images into a single one to display Maps area. diff --git a/chart-sdk/react/maps/providers/openstreetmap.md b/chart-sdk/react/maps/providers/openstreetmap.md index a1688351f..42c83c6b1 100644 --- a/chart-sdk/react/maps/providers/openstreetmap.md +++ b/chart-sdk/react/maps/providers/openstreetmap.md @@ -1,14 +1,14 @@ --- layout: post -title: OpenStreetMap in React Maps | Syncfusion -description: Learn how to integrate OpenStreetMap as a tile-based map provider in React Maps using free, community-built geographic tile images. +title: Openstreetmap in React Maps component | Syncfusion +description: Learn here all about Openstreetmap in Syncfusion React Maps component of Syncfusion Essential JS 2 and more. control: Openstreetmap platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# OpenStreetMap in React Maps +# Openstreetmap integration in React Maps component Map providers are online services that supply map tile images for rendering geographic visualizations. The Maps component supports integration with various tile-based map providers to display real-world geographic data. diff --git a/chart-sdk/react/maps/providers/other-maps.md b/chart-sdk/react/maps/providers/other-maps.md index afcb9e10b..762d06315 100644 --- a/chart-sdk/react/maps/providers/other-maps.md +++ b/chart-sdk/react/maps/providers/other-maps.md @@ -1,14 +1,14 @@ --- layout: post -title: Other Maps in React Maps | Syncfusion -description: Learn how to integrate any tile-based map provider in React Maps by specifying a custom URL template via the urlTemplate property. -control: Other maps +title: Other maps in React Maps component | Syncfusion +description: Learn here all about Other maps in Syncfusion React Maps component of Syncfusion Essential JS 2 and more. +control: Other maps platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Other Maps in React Maps +# Other maps in React Maps component In addition to OpenStreetMap, Bing Maps, and Azure Maps, the Maps component supports integration with other third-party online map service providers. Custom map providers can be rendered by specifying their tile server URL in the [urlTemplate](https://ej2.syncfusion.com/react/documentation/api/maps/layerSettingsModel#urltemplate) property. The Maps component supports any tile-based map provider that uses standard URL template formats for tile requests. diff --git a/chart-sdk/react/maps/state-persistence.md b/chart-sdk/react/maps/state-persistence.md index 58ee291c4..fc556ac27 100644 --- a/chart-sdk/react/maps/state-persistence.md +++ b/chart-sdk/react/maps/state-persistence.md @@ -1,14 +1,14 @@ --- layout: post -title: State Persistence in React Maps | Syncfusion -description: Learn how to enable state persistence in React Maps to retain model values in browser cookies across page refreshes using enablePersistence. +title: State persistence in React Maps component | Syncfusion +description: Learn here all about State persistence in Syncfusion React Maps component of Syncfusion Essential JS 2 and more. control: State persistence platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# State Persistence in React Maps +# State persistence in React Maps component ## State Persistence diff --git a/chart-sdk/react/maps/user-interactions.md b/chart-sdk/react/maps/user-interactions.md index d8baf0717..dec0bf3b4 100644 --- a/chart-sdk/react/maps/user-interactions.md +++ b/chart-sdk/react/maps/user-interactions.md @@ -1,14 +1,14 @@ --- layout: post -title: User Interactions in React Maps | Syncfusion -description: Learn how to enable zooming, panning, and other user interactions in React Maps using zoomSettings for in-depth map exploration. +title: User interactions in React Maps component | Syncfusion +description: Learn here all about User interactions in Syncfusion React Maps component of Syncfusion Essential JS 2 and more. control: User interactions platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# User Interactions in React Maps +# User interactions in React Maps component ## Zooming @@ -346,7 +346,7 @@ The appearance of the tooltip of the zoom toolbar can be customized by using the ### Zooming using center position -The center position zooming can be achieved by using the [`centerPosition`](https://ej2.syncfusion.com/react/documentation/api/maps#centerposition) and [`zoomFactor`](https://ej2.syncfusion.com/react/documentation/api/maps/zoomSettingsModel#zoomfactor) properties as mentioned in the following example. The center position is used to configure the zoom level of Maps, and the zoom factor is used to specify the center position where the Maps should be displayed. +The center position zooming can be achieved by using the [`centerPosition`](https://ej2.syncfusion.com/react/documentation/api/maps/#centerposition) and [`zoomFactor`](https://ej2.syncfusion.com/react/documentation/api/maps/zoomSettingsModel/#zoomfactor) properties as mentioned in the following example. The center position is used to configure the zoom level of Maps, and the zoom factor is used to specify the center position where the Maps should be displayed. {% tabs %} {% highlight js tabtitle="index.jsx" %} diff --git a/chart-sdk/react/range-navigator/accessibility.md b/chart-sdk/react/range-navigator/accessibility.md index a5351d664..7ad766a48 100644 --- a/chart-sdk/react/range-navigator/accessibility.md +++ b/chart-sdk/react/range-navigator/accessibility.md @@ -1,14 +1,14 @@ --- layout: post -title: Accessibility in React Range Navigator | Syncfusion -description: Learn how the Syncfusion React Range Navigator Component supports accessibility with WAI-ARIA roles, attributes, and keyboard navigation. -control: Accessibility +title: Accessibility in React Range navigator component | Syncfusion +description: Learn here all about Accessibility in Syncfusion React Range navigator component of Syncfusion Essential JS 2 and more. +control: Accessibility platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Accessibility in React Range Navigator +# Accessibility in React Range navigator component The Range navigator component followed the accessibility guidelines and standards, including [ADA](https://www.ada.gov), [Section 508](https://www.section508.gov), [WCAG 2.2](https://www.w3.org/TR/WCAG22) standards, and [WCAG roles](https://www.w3.org/TR/wai-aria#roles) that are commonly used to evaluate accessibility. diff --git a/chart-sdk/react/range-navigator/customization.md b/chart-sdk/react/range-navigator/customization.md index d0eb7f352..81d8c245c 100644 --- a/chart-sdk/react/range-navigator/customization.md +++ b/chart-sdk/react/range-navigator/customization.md @@ -1,14 +1,14 @@ --- layout: post -title: Customization in React Range Navigator | Syncfusion -description: Learn how to customize the Syncfusion React Range Navigator Component using navigator style, thumb shape, border, snapping, and animation. -control: Customization +title: Customization in React Range navigator component | Syncfusion +description: Learn here all about Customization in Syncfusion React Range navigator component of Syncfusion Essential JS 2 and more. +control: Customization platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Customization in React Range Navigator +# Customization in React Range navigator component ## Navigator appearance diff --git a/chart-sdk/react/range-navigator/data.md b/chart-sdk/react/range-navigator/data.md index 2fdedb07b..1a57d53d8 100644 --- a/chart-sdk/react/range-navigator/data.md +++ b/chart-sdk/react/range-navigator/data.md @@ -1,7 +1,7 @@ --- layout: post -title: Data in React Range Navigator | Syncfusion -description: Learn how to bind numeric, date-time, and logarithmic data to the Syncfusion React Range Navigator Component using valueType properties. +title: Data in React Range navigator component | Syncfusion +description: Learn here all about Data in Syncfusion React Range navigator component of Syncfusion Essential JS 2 and more. control: Data platform: chart-sdk documentation: ug @@ -9,7 +9,7 @@ domainurl: https://help.syncfusion.com/chart-sdk --- -# Data in React Range Navigator +# Data in React Range navigator component ## Numeric diff --git a/chart-sdk/react/range-navigator/ej1-api-migration.md b/chart-sdk/react/range-navigator/ej1-api-migration.md index 8dfb332d7..8da6b8c24 100644 --- a/chart-sdk/react/range-navigator/ej1-api-migration.md +++ b/chart-sdk/react/range-navigator/ej1-api-migration.md @@ -1,14 +1,14 @@ --- layout: post -title: EJ1 API Migration in React Range Navigator | Syncfusion -description: Learn how to migrate the Syncfusion React Range Navigator Component from Essential JS 1 to EJ2 with API mapping and code rewrite guidance. -control: Ej1 api migration +title: Ej1 api migration in React Range navigator component | Syncfusion +description: Learn here all about Ej1 api migration in Syncfusion React Range navigator component of Syncfusion Essential JS 2 and more. +control: Ej1 api migration platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# EJ1 API Migration in React Range Navigator +# Ej1 api migration in React Range navigator component This article describes the API migration process of Chart component from Essential® JS 1 to Essential® JS 2. diff --git a/chart-sdk/react/range-navigator/export-print.md b/chart-sdk/react/range-navigator/export-print.md index 1d07274f3..a21762162 100644 --- a/chart-sdk/react/range-navigator/export-print.md +++ b/chart-sdk/react/range-navigator/export-print.md @@ -1,14 +1,14 @@ --- layout: post -title: Export and Print in React Range Navigator | Syncfusion -description: Learn how to export and print the Syncfusion React Range Navigator Component to PDF, image, or SVG using the export and print methods. +title: Export print in React Range navigator component | Syncfusion +description: Learn here all about Export print in Syncfusion React Range navigator component of Syncfusion Essential JS 2 and more. control: Export print platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Export and Print in React Range Navigator +# Export print in React Range navigator component ## Export diff --git a/chart-sdk/react/range-navigator/getting-started.md b/chart-sdk/react/range-navigator/getting-started.md index f1eaae30f..c04bc9872 100644 --- a/chart-sdk/react/range-navigator/getting-started.md +++ b/chart-sdk/react/range-navigator/getting-started.md @@ -1,14 +1,14 @@ --- layout: post -title: Getting Started with React Range Navigator | Syncfusion -description: Learn how to get started with the Syncfusion React Range Navigator Component. Explore setup, features, examples, and customization options. +title: Getting started with React Range Navigator component | Syncfusion +description: Check out and learn about getting started with the React Range Navigator component of Syncfusion Essential JS 2 and more details. control: Getting started platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Getting Started with React Range Navigator +# Getting started with React Range Navigator component This section describes the steps to create a simple Range Navigator and demonstrates the basic usage of the Range Navigator component. diff --git a/chart-sdk/react/range-navigator/grid-tick.md b/chart-sdk/react/range-navigator/grid-tick.md index 2b9444b86..dfc995272 100644 --- a/chart-sdk/react/range-navigator/grid-tick.md +++ b/chart-sdk/react/range-navigator/grid-tick.md @@ -1,14 +1,14 @@ --- layout: post -title: Grid and Tick Lines in React Range Navigator | Syncfusion -description: Learn how to show and customize grid and tick lines on the Syncfusion React Range Navigator Component using major tick settings. +title: Grid tick in React Range navigator component | Syncfusion +description: Learn here all about Grid tick in Syncfusion React Range navigator component of Syncfusion Essential JS 2 and more. control: Grid tick platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Grid and Tick Lines in React Range Navigator +# Grid tick in React Range navigator component ## Grid line customization diff --git a/chart-sdk/react/range-navigator/labels.md b/chart-sdk/react/range-navigator/labels.md index afaad36d7..4fdc959bb 100644 --- a/chart-sdk/react/range-navigator/labels.md +++ b/chart-sdk/react/range-navigator/labels.md @@ -1,14 +1,14 @@ --- layout: post -title: Labels in React Range Navigator | Syncfusion -description: Learn how to configure and customize labels in the Syncfusion React Range Navigator Component using labelFormat, labelStyle, and labelIntersectAction. -control: Labels +title: Labels in React Range navigator component | Syncfusion +description: Learn here all about Labels in Syncfusion React Range navigator component of Syncfusion Essential JS 2 and more. +control: Labels platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Labels in React Range Navigator +# Labels in React Range navigator component ## Multilevel labels diff --git a/chart-sdk/react/range-navigator/lightweight.md b/chart-sdk/react/range-navigator/lightweight.md index 58e30f566..4590d3622 100644 --- a/chart-sdk/react/range-navigator/lightweight.md +++ b/chart-sdk/react/range-navigator/lightweight.md @@ -1,14 +1,14 @@ --- layout: post -title: Lightweight in React Range Navigator | Syncfusion -description: Learn how to render the lightweight Syncfusion React Range Navigator Component for simpler styling and faster performance. -control: Lightweight +title: Lightweight in React Range navigator component | Syncfusion +description: Learn here all about Lightweight in Syncfusion React Range navigator component of Syncfusion Essential JS 2 and more. +control: Lightweight platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Lightweight in React Range Navigator +# Lightweight in React Range navigator component By default, when the [`dataSource`](https://ej2.syncfusion.com/react/documentation/api/range-navigator#datasource) for [`series`](https://ej2.syncfusion.com/react/documentation/api/range-navigator#series) is empty, a lightweight Range Selector will be shown without Chart. diff --git a/chart-sdk/react/range-navigator/period-selector.md b/chart-sdk/react/range-navigator/period-selector.md index 680b7f8c5..e85992280 100644 --- a/chart-sdk/react/range-navigator/period-selector.md +++ b/chart-sdk/react/range-navigator/period-selector.md @@ -1,14 +1,14 @@ --- layout: post -title: Period Selector in React Range Navigator | Syncfusion -description: Learn how to add a period selector to the Syncfusion React Range Navigator Component for quick presets. +title: Period selector in React Range navigator component | Syncfusion +description: Learn here all about Period selector in Syncfusion React Range navigator component of Syncfusion Essential JS 2 and more. control: Period selector platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Period Selector in React Range Navigator +# Period selector in React Range navigator component The period selector allows to select a range with specified periods. diff --git a/chart-sdk/react/range-navigator/r-t-l.md b/chart-sdk/react/range-navigator/r-t-l.md index 47366fc9f..2bcedbaaa 100644 --- a/chart-sdk/react/range-navigator/r-t-l.md +++ b/chart-sdk/react/range-navigator/r-t-l.md @@ -1,14 +1,14 @@ --- layout: post -title: RTL in React Range Navigator | Syncfusion -description: Learn how to enable right-to-left rendering on the Syncfusion React Range Navigator Component for languages like Arabic. -control: RTL +title: R t l in React Range navigator component | Syncfusion +description: Learn here all about R t l in Syncfusion React Range navigator component of Syncfusion Essential JS 2 and more. +control: R t l platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# RTL in React Range Navigator +# R t l in React Range navigator component The Range Selector supports right-to-left (RTL), which can be enabled with the [`enableRtl`](https://ej2.syncfusion.com/react/documentation/api/range-navigator#enablertl) property. diff --git a/chart-sdk/react/range-navigator/selecting-range.md b/chart-sdk/react/range-navigator/selecting-range.md index 9e6f76be5..e9a8a2157 100644 --- a/chart-sdk/react/range-navigator/selecting-range.md +++ b/chart-sdk/react/range-navigator/selecting-range.md @@ -1,14 +1,14 @@ --- layout: post -title: Range in React Range Navigator | Syncfusion -description: Learn how to select a range in the Syncfusion React Range Navigator Component by dragging the thumbs, tapping the labels, or setting the value. +title: Selecting range in React Range navigator component | Syncfusion +description: Learn here all about Selecting range in Syncfusion React Range navigator component of Syncfusion Essential JS 2 and more. control: Selecting range platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Range in React Range Navigator +# Selecting range in React Range navigator component The Range Selector's left and right thumbs are used to indicate the selected range in the large collection of data. A range can be selected in the following ways: diff --git a/chart-sdk/react/range-navigator/series-types.md b/chart-sdk/react/range-navigator/series-types.md index e8c43cfe4..12c20c3f6 100644 --- a/chart-sdk/react/range-navigator/series-types.md +++ b/chart-sdk/react/range-navigator/series-types.md @@ -1,14 +1,14 @@ --- layout: post -title: Series Types in React Range Navigator | Syncfusion -description: Learn how to render line, area, column, step line, spline and spline area series in the Syncfusion React Range Navigator Component for visual time-range data. +title: Series types in React Range navigator component | Syncfusion +description: Learn here all about Series types in Syncfusion React Range navigator component of Syncfusion Essential JS 2 and more. control: Series types platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Series Types in React Range Navigator +# Series types in React Range navigator component To render the data, the Range Selector supports six types of series. diff --git a/chart-sdk/react/range-navigator/tool-tip.md b/chart-sdk/react/range-navigator/tool-tip.md index aed712ca1..40488b03f 100644 --- a/chart-sdk/react/range-navigator/tool-tip.md +++ b/chart-sdk/react/range-navigator/tool-tip.md @@ -1,14 +1,14 @@ --- layout: post -title: Tooltip in React Range Navigator | Syncfusion -description: Learn how to enable and customize tooltips on the Syncfusion React Range Navigator Component with format, display mode, and template options. -control: Tooltip +title: Tool tip in React Range navigator component | Syncfusion +description: Learn here all about Tool tip in Syncfusion React Range navigator component of Syncfusion Essential JS 2 and more. +control: Tool tip platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Tooltip in React Range Navigator +# Tool tip in React Range navigator component diff --git a/chart-sdk/react/sankey-diagram/accessibility.md b/chart-sdk/react/sankey-diagram/accessibility.md index 282396d49..6b58561c1 100644 --- a/chart-sdk/react/sankey-diagram/accessibility.md +++ b/chart-sdk/react/sankey-diagram/accessibility.md @@ -1,14 +1,14 @@ --- layout: post -title: Accessibility in React Sankey Diagram | Syncfusion -description: Learn how the Syncfusion React Sankey Diagram Component supports accessibility with WAI-ARIA, Section 508, WCAG 2.2, and keyboard navigation. +title: Accessibility in React Sankey Chart component | Syncfusion +description: Learn here all about Accessibility in Syncfusion React Sankey Chart component of Syncfusion Essential JS 2 and more. control: Accessibility platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Accessibility in React Sankey Diagram +# Accessibility in React Sankey Chart component The Sankey Chart component follows the accessibility guidelines and standards, including [ADA](https://www.ada.gov), [Section 508](https://www.section508.gov), [WCAG 2.2](https://www.w3.org/TR/WCAG22), and relevant [WAI-ARIA](https://www.w3.org/TR/wai-aria#roles) roles. @@ -69,6 +69,8 @@ The Sankey Chart component follows the [keyboard interaction](https://www.w3.org The Sankey Chart component's accessibility levels are ensured through an [accessibility-checker](https://www.npmjs.com/package/accessibility-checker) and [axe-core](https://www.npmjs.com/package/axe-core) software tools during automated testing. +The accessibility compliance of the Sankey Chart component is shown in the following sample. Open the [sample](https://ej2.syncfusion.com/accessibility/sankey.html) in a new window to evaluate the accessibility of the Sankey Chart component with accessibility tools. + {% previewsample "https://ej2.syncfusion.com/accessibility/sankey.html" %} ## See also diff --git a/chart-sdk/react/sankey-diagram/appearance.md b/chart-sdk/react/sankey-diagram/appearance.md index 746462216..c7180bd87 100644 --- a/chart-sdk/react/sankey-diagram/appearance.md +++ b/chart-sdk/react/sankey-diagram/appearance.md @@ -1,14 +1,14 @@ --- layout: post -title: Appearance in React Sankey Diagram | Syncfusion -description: Learn how to customize the appearance of the Syncfusion React Sankey Diagram Component with dimensions, background, border, margin, and theme. +title: Appearance in React Sankey Chart component | Syncfusion +description: Learn here all about Appearance in Syncfusion React Sankey Chart component of Syncfusion Essential JS 2 and more. control: Appearance platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Appearance in React Sankey Diagram +# Appearance in React Sankey Chart component The Sankey Chart provides comprehensive customization options to control visual appearance, dimensions, responsiveness, colors, borders, and themes. These appearance settings enable you to create diagrams that match your application's design system and user experience requirements. diff --git a/chart-sdk/react/sankey-diagram/customization.md b/chart-sdk/react/sankey-diagram/customization.md index 84470c2af..971337ae0 100644 --- a/chart-sdk/react/sankey-diagram/customization.md +++ b/chart-sdk/react/sankey-diagram/customization.md @@ -1,14 +1,14 @@ --- layout: post -title: Customization in React Sankey Diagram | Syncfusion -description: Learn how to customize the Syncfusion React Sankey Diagram Component with node and link styling, color mapping, theme, and conditional rendering patterns. +title: Customization in React Sankey Chart component | Syncfusion +description: Learn here all about Customization in Syncfusion React Sankey Chart component of Syncfusion Essential JS 2 and more. control: Customization platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Customization in React Sankey Diagram +# Customization in React Sankey Chart component The Sankey Chart provides extensive customization options to create visualizations that match your specific design requirements and data presentation needs. From styling and theming to advanced visual techniques, the component enables complete control over appearance and behavior. diff --git a/chart-sdk/react/sankey-diagram/events.md b/chart-sdk/react/sankey-diagram/events.md index 7871398e0..aaa70af49 100644 --- a/chart-sdk/react/sankey-diagram/events.md +++ b/chart-sdk/react/sankey-diagram/events.md @@ -1,14 +1,14 @@ --- layout: post -title: Events in React Sankey Diagram | Syncfusion -description: Learn how to use events in the Syncfusion React Sankey Diagram Component, including nodeClick, linkClick, load, and loaded event handlers. +title: Events in React Sankey Chart component | Syncfusion +description: Learn here all about Events in Syncfusion React Sankey Chart component of Syncfusion Essential JS 2 and more. control: Events platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Events in React Sankey Diagram +# Events in React Sankey Chart component The Sankey Chart provides comprehensive events that allow you to customize behavior, respond to user interactions, and hook into the chart lifecycle. These events enable advanced customization scenarios including data transformation, analytics tracking, and dynamic UI updates. diff --git a/chart-sdk/react/sankey-diagram/getting-started.md b/chart-sdk/react/sankey-diagram/getting-started.md index b6b64e28a..379f6a9d8 100644 --- a/chart-sdk/react/sankey-diagram/getting-started.md +++ b/chart-sdk/react/sankey-diagram/getting-started.md @@ -1,8 +1,8 @@ --- layout: post -title: Getting Started with React Sankey Diagram | Syncfusion -description: Learn how to get started with the Syncfusion React Sankey Diagram Component. Explore setup, features, examples, and customization options. -control: Getting Started +title: Getting started with React Sankey Chart component | Syncfusion +description: Check out and learn about getting started with the React Sankey Chart component of Syncfusion Essential JS 2 and more details. +control: Getting Started platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk @@ -10,7 +10,7 @@ domainurl: https://help.syncfusion.com/chart-sdk -# Getting Started with React Sankey Diagram +# Getting started with React Sankey Chart component This section describes how to integrate the Syncfusion React Sankey Chart component into a new React application. You'll learn about dependencies, installation steps, and how to create your first Sankey Chart visualization. diff --git a/chart-sdk/react/sankey-diagram/labels.md b/chart-sdk/react/sankey-diagram/labels.md index eac4c6eb6..1896b7f4b 100644 --- a/chart-sdk/react/sankey-diagram/labels.md +++ b/chart-sdk/react/sankey-diagram/labels.md @@ -1,14 +1,14 @@ --- layout: post -title: Labels in React Sankey Diagram | Syncfusion -description: Learn how to configure and customize labels on nodes and links in the Syncfusion React Sankey Diagram Component using labelSettings. +title: Labels in React Sankey Chart component | Syncfusion +description: Learn here all about Labels in Syncfusion React Sankey Chart component of Syncfusion Essential JS 2 and more. control: Labels platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Labels in React Sankey Diagram +# Labels in React Sankey Chart component Labels display descriptive text associated with nodes in the Sankey Chart, making the diagram more understandable and interpretable. The Sankey Chart provides comprehensive label customization options including visibility control, font styling, individual label configuration, and dynamic rendering events. diff --git a/chart-sdk/react/sankey-diagram/legend.md b/chart-sdk/react/sankey-diagram/legend.md index a1727f36a..18169733a 100644 --- a/chart-sdk/react/sankey-diagram/legend.md +++ b/chart-sdk/react/sankey-diagram/legend.md @@ -1,14 +1,14 @@ --- layout: post -title: Legend in React Sankey Diagram | Syncfusion -description: Learn how to enable and customize the legend in the Syncfusion React Sankey Diagram Component to identify nodes. +title: Legend in React Sankey Chart component | Syncfusion +description: Learn here all about Legend in Syncfusion React Sankey Chart component of Syncfusion Essential JS 2 and more. control: Legend platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Legend in React Sankey Diagram +# Legend in React Sankey Chart component A legend provides a visual key that helps users understand the categories and meanings represented by nodes in the Sankey Chart. The Sankey Chart provides comprehensive legend configuration options including positioning, styling, customization, and interactive behaviors. You can enable and customize legend using the `legend` property and by injecting the `SankeyLegend` module. diff --git a/chart-sdk/react/sankey-diagram/links.md b/chart-sdk/react/sankey-diagram/links.md index 8df9637bb..e7bde8274 100644 --- a/chart-sdk/react/sankey-diagram/links.md +++ b/chart-sdk/react/sankey-diagram/links.md @@ -1,14 +1,14 @@ --- layout: post -title: Links in React Sankey Diagram | Syncfusion -description: Learn how to add and customize links in the Syncfusion React Sankey Diagram Component to show flow between nodes with custom color, width, and opacity. +title: Links in React Sankey Chart component | Syncfusion +description: Learn here all about Links in Syncfusion React Sankey Chart component of Syncfusion Essential JS 2 and more. control: Links platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Links in React Sankey Diagram +# Links in React Sankey Chart component Links are the connecting paths that visualize flow between nodes in a Sankey Chart. Each link connects a source node to a target node and carries a quantitative value that determines its visual thickness. The Sankey Chart provides comprehensive customization options for link styling, colors, curvature, and interactions. diff --git a/chart-sdk/react/sankey-diagram/nodes.md b/chart-sdk/react/sankey-diagram/nodes.md index 381bdf621..144d39a5e 100644 --- a/chart-sdk/react/sankey-diagram/nodes.md +++ b/chart-sdk/react/sankey-diagram/nodes.md @@ -1,14 +1,14 @@ --- layout: post -title: Nodes in React Sankey Diagram | Syncfusion -description: Learn how to add and customize nodes in the Syncfusion React Sankey Diagram Component with custom color, width, and opacity. +title: Nodes in React Sankey Chart component | Syncfusion +description: Learn here all about Nodes in Syncfusion React Sankey Chart component of Syncfusion Essential JS 2 and more. control: Nodes platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Nodes in React Sankey Diagram +# Nodes in React Sankey Chart component Nodes are the fundamental building blocks of a Sankey Chart, representing sources, targets, and intermediate entities in flow diagrams. The Sankey Chart provides extensive customization options for node appearance, enabling you to create visually meaningful and interactive flow diagrams. diff --git a/chart-sdk/react/sankey-diagram/orientation-rtl.md b/chart-sdk/react/sankey-diagram/orientation-rtl.md index e1874a89d..1007aa464 100644 --- a/chart-sdk/react/sankey-diagram/orientation-rtl.md +++ b/chart-sdk/react/sankey-diagram/orientation-rtl.md @@ -1,14 +1,14 @@ --- layout: post -title: Orientation and RTL in React Sankey Diagram | Syncfusion -description: Learn how to set the orientation and enable right-to-left rendering on the Syncfusion React Sankey Diagram Component for languages like Arabic and Hebrew. +title: Orientation and RTL in React Sankey Chart component | Syncfusion +description: Learn here all about Orientation and RTL in Syncfusion React Sankey Chart component of Syncfusion Essential JS 2 and more. control: Orientation and RTL platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Orientation and RTL in React Sankey Diagram +# Orientation and RTL in React Sankey Chart component The Sankey Chart supports flexible layout options including horizontal and vertical orientations, as well as right-to-left (RTL) rendering for international applications. These features enable you to create localized and directionally appropriate visualizations. diff --git a/chart-sdk/react/sankey-diagram/print-and-export.md b/chart-sdk/react/sankey-diagram/print-and-export.md index 2a40740d5..518a9d743 100644 --- a/chart-sdk/react/sankey-diagram/print-and-export.md +++ b/chart-sdk/react/sankey-diagram/print-and-export.md @@ -1,14 +1,14 @@ --- layout: post -title: Print and Export in React Sankey Diagram | Syncfusion -description: Learn how to print or export the Syncfusion React Sankey Diagram Component to PDF, image, or SVG using the public print and export methods. +title: Print and Export in React Sankey Chart component | Syncfusion +description: Learn here all about Print and Export in Syncfusion React Sankey Chart component of Syncfusion Essential JS 2 and more. control: Print and Export platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Print and Export in React Sankey Diagram +# Print and Export in React Sankey Chart component The Sankey Chart provides comprehensive print and export functionality, enabling users to generate static files in multiple formats (PNG, JPEG, SVG, PDF) or print the diagram directly. This is useful for reports, documentation, sharing, and offline access. diff --git a/chart-sdk/react/sankey-diagram/title-and-sub-title.md b/chart-sdk/react/sankey-diagram/title-and-sub-title.md index 2aabde59f..c486d41d6 100644 --- a/chart-sdk/react/sankey-diagram/title-and-sub-title.md +++ b/chart-sdk/react/sankey-diagram/title-and-sub-title.md @@ -1,14 +1,14 @@ --- layout: post -title: Title and Subtitle in React Sankey Diagram | Syncfusion -description: Learn how to add and customize a title and subtitle for the Syncfusion React Sankey Diagram Component. -control: Title and subtitle +title: Title and Subtitle in React Sankey Chart component | Syncfusion +description: Learn here all about Title and Subtitle in Syncfusion React Sankey Chart component of Syncfusion Essential JS 2 and more. +control: Title and Subtitle platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Title and Subtitle in React Sankey Diagram +# Title and Subtitle in React Sankey Chart component The Sankey Chart supports adding descriptive titles and subtitles to provide context and information about your data visualization. These text elements help users quickly understand the purpose and content of the diagram. You can fully customize the text, styling, alignment, and appearance using dedicated properties. diff --git a/chart-sdk/react/sankey-diagram/tool-tip.md b/chart-sdk/react/sankey-diagram/tool-tip.md index 3f5fe27f3..c444cfbae 100644 --- a/chart-sdk/react/sankey-diagram/tool-tip.md +++ b/chart-sdk/react/sankey-diagram/tool-tip.md @@ -1,14 +1,14 @@ --- layout: post -title: Tooltip in React Sankey Diagram | Syncfusion -description: Learn how to enable and customize tooltips in the Syncfusion React Sankey Diagram Component with template and format options. -control: Tooltip +title: ToolTip in React Sankey Chart component | Syncfusion +description: Learn here all about ToolTip in Syncfusion React Sankey Chart component of Syncfusion Essential JS 2 and more. +control: ToolTip platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Tooltip in React Sankey Diagram +# ToolTip in React Sankey Chart component The Sankey Chart provides tooltips that surface contextual details for hovered elements without cluttering the diagram. Tooltips display additional information when users hover over nodes or links in the Sankey Chart. You can enable and customize tooltips using the `tooltip` property and by injecting the `SankeyTooltip` module. diff --git a/chart-sdk/react/smith-chart/accessibility.md b/chart-sdk/react/smith-chart/accessibility.md index d74fc9beb..b621958b9 100644 --- a/chart-sdk/react/smith-chart/accessibility.md +++ b/chart-sdk/react/smith-chart/accessibility.md @@ -1,14 +1,14 @@ --- layout: post -title: Accessibility in React Smith Chart component | Syncfusion -description: Learn here all about Accessibility in Syncfusion React Smith Chart component of Syncfusion Essential JS 2 and more. +title: Accessibility in React Smithchart component | Syncfusion +description: Learn here all about Accessibility in Syncfusion React Smithchart component of Syncfusion Essential JS 2 and more. control: Accessibility platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Accessibility in React Smith Chart +# Accessibility in React Smithchart component The Smith chart component followed the accessibility guidelines and standards, including [ADA](https://www.ada.gov/), [Section 508](https://www.section508.gov/), [WCAG 2.2](https://www.w3.org/TR/WCAG22/) standards, and [WCAG roles](https://www.w3.org/TR/wai-aria/#roles) that are commonly used to evaluate accessibility. diff --git a/chart-sdk/react/smith-chart/getting-started.md b/chart-sdk/react/smith-chart/getting-started.md index e1a4f7f46..deb67c70d 100644 --- a/chart-sdk/react/smith-chart/getting-started.md +++ b/chart-sdk/react/smith-chart/getting-started.md @@ -1,14 +1,14 @@ --- layout: post -title: Getting Started with React Smith Chart | Syncfusion -description: Learn how to set up a React Smith Chart with Vite, install the Syncfusion Charts package, register modules, and render your first chart. +title: Getting started with React Smith Chart component | Syncfusion +description: Check out and learn about Getting started with React Smith Chart component of Syncfusion Essential JS 2 and more details. control: Getting Started platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Getting Started with React Smith Chart +# Getting started with React Smith Chart component This section describes the steps to create a simple Smith Chart and demonstrates the basic usage of the Smith Chart component. diff --git a/chart-sdk/react/smith-chart/smithchart-axis.md b/chart-sdk/react/smith-chart/smithchart-axis.md index 9378ab8a8..7a2f3c4fa 100644 --- a/chart-sdk/react/smith-chart/smithchart-axis.md +++ b/chart-sdk/react/smith-chart/smithchart-axis.md @@ -1,14 +1,14 @@ --- layout: post -title: Axis in React Smith Chart | Syncfusion -description: Configure horizontal and radial axes in the React Smith Chart, including label position, label intersection handling, gridlines, and axis line styling. +title: Smithchart axis in React Smithchart component | Syncfusion +description: Learn here all about Smithchart axis in Syncfusion React Smithchart component of Syncfusion Essential JS 2 and more. control: Smithchart axis platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Axis in React Smith Chart +# Smithchart axis in React Smithchart component Like chart, Smith chart also has support for two types of axis: diff --git a/chart-sdk/react/smith-chart/smithchart-dimensions.md b/chart-sdk/react/smith-chart/smithchart-dimensions.md index 47fd9199f..e7eb462e4 100644 --- a/chart-sdk/react/smith-chart/smithchart-dimensions.md +++ b/chart-sdk/react/smith-chart/smithchart-dimensions.md @@ -1,14 +1,14 @@ --- layout: post -title: Dimensions in React Smith Chart | Syncfusion -description: Set the React Smith Chart size to its container, or specify width and height in pixels or percentages for responsive layout control. -control: Smithchart dimensions +title: Smithchart dimensions in React Smithchart component | Syncfusion +description: Learn here all about Smithchart dimensions in Syncfusion React Smithchart component of Syncfusion Essential JS 2 and more. +control: Smithchart dimensions platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Dimensions in React Smith Chart +# Smithchart dimensions in React Smithchart component You can render the Smith chart corresponding to its container size. To set the size for the Smith chart, use the width and height properties. diff --git a/chart-sdk/react/smith-chart/smithchart-legend.md b/chart-sdk/react/smith-chart/smithchart-legend.md index 766d52a0f..988f7def4 100644 --- a/chart-sdk/react/smith-chart/smithchart-legend.md +++ b/chart-sdk/react/smith-chart/smithchart-legend.md @@ -1,8 +1,8 @@ --- layout: post -title: Legend in React Smith Chart | Syncfusion -description: Add and customize legends in the React Smith Chart with position, alignment, custom coordinates, shape, size, padding, and toggle visibility. -control: Smithchart legend +title: Smithchart legend in React Smithchart component | Syncfusion +description: Learn here all about Smithchart legend in Syncfusion React Smithchart component of Syncfusion Essential JS 2 and more. +control: Smithchart legend platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk @@ -10,7 +10,7 @@ domainurl: https://help.syncfusion.com/chart-sdk -# Legend in React Smith Chart +# Smithchart legend in React Smithchart component Legend is a key used in smithchart; it contains symbols and descriptions. The legends provide a valuable information for interpreting what the Smith chart displays. They can be represented in various colors, shapes, or other identifiers based on the data. The legends are used to denote the series rendered in the Smith chart. diff --git a/chart-sdk/react/smith-chart/smithchart-marker.md b/chart-sdk/react/smith-chart/smithchart-marker.md index 18c523d3b..74a272dd7 100644 --- a/chart-sdk/react/smith-chart/smithchart-marker.md +++ b/chart-sdk/react/smith-chart/smithchart-marker.md @@ -1,7 +1,7 @@ --- layout: post -title: Marker in React Smith Chart | Syncfusion -description: Enable markers and data labels in the React Smith Chart to highlight data points, with per-series customization of shape, fill, border, and label style. +title: Smithchart marker in React Smithchart component | Syncfusion +description: Learn here all about Smithchart marker in Syncfusion React Smithchart component of Syncfusion Essential JS 2 and more. control: Smithchart marker platform: chart-sdk documentation: ug @@ -10,7 +10,7 @@ domainurl: https://help.syncfusion.com/chart-sdk -# Marker in React Smith Chart +# Smithchart marker in React Smithchart component The markers and data labels are used to provide information about the data points in the series. You can add a shape to adorn each data point. By default, both the marker and data label are disabled in Smith chart. You can enable them by setting the visible property to true in marker and data label settings. diff --git a/chart-sdk/react/smith-chart/smithchart-print.md b/chart-sdk/react/smith-chart/smithchart-print.md index 41ab6b649..78b2ced10 100644 --- a/chart-sdk/react/smith-chart/smithchart-print.md +++ b/chart-sdk/react/smith-chart/smithchart-print.md @@ -1,14 +1,14 @@ --- layout: post -title: Print and Export in React Smith Chart | Syncfusion -description: Print the React Smith Chart from the browser or export it to JPEG, PNG, SVG, or PDF using built-in print and export methods. +title: Smithchart print in React Smithchart component | Syncfusion +description: Learn here all about Smithchart print in Syncfusion React Smithchart component of Syncfusion Essential JS 2 and more. control: Smithchart print platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Print and Export in React Smith Chart +# Smithchart print in React Smithchart component ## Print diff --git a/chart-sdk/react/smith-chart/smithchart-series.md b/chart-sdk/react/smith-chart/smithchart-series.md index ae2eca934..7b700288e 100644 --- a/chart-sdk/react/smith-chart/smithchart-series.md +++ b/chart-sdk/react/smith-chart/smithchart-series.md @@ -1,14 +1,14 @@ --- layout: post -title: Series in React Smith Chart | Syncfusion -description: Add one or more series to the React Smith Chart using points or a data source, and customize fill, opacity, width, and smart label placement. +title: Smithchart series in React Smithchart component | Syncfusion +description: Learn here all about Smithchart series in Syncfusion React Smithchart component of Syncfusion Essential JS 2 and more. control: Smithchart series platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Series in React Smith Chart +# Smithchart series in React Smithchart component You can add any number of series to Smith chart as needed. By using the series setting, you can add or customize the data. For the points and data source added in the series, line can be drawn. You can customize the each series with marker, data label, animation, opacity, and so on. diff --git a/chart-sdk/react/smith-chart/smithchart-tooltip.md b/chart-sdk/react/smith-chart/smithchart-tooltip.md index 44fbc46ea..94ba0a3b8 100644 --- a/chart-sdk/react/smith-chart/smithchart-tooltip.md +++ b/chart-sdk/react/smith-chart/smithchart-tooltip.md @@ -1,14 +1,14 @@ --- layout: post -title: Tooltip in React Smith Chart | Syncfusion -description: Enable tooltips on the React Smith Chart by setting tooltip visible to true and injecting the TooltipRender module into services. -control: Smithchart tooltip +title: Smithchart tooltip in React Smithchart component | Syncfusion +description: Learn here all about Smithchart tooltip in Syncfusion React Smithchart component of Syncfusion Essential JS 2 and more. +control: Smithchart tooltip platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Tooltip in React Smith Chart +# Smithchart tooltip in React Smithchart component The tooltip is useful when you cannot display information by using the data labels due to space constraints. You can enable tooltip by setting the [`visible`](https://ej2.syncfusion.com/react/documentation/api/smithchart/seriestooltipmodel#visible) property as `true` in [`tooltip`](https://ej2.syncfusion.com/react/documentation/api/smithchart/smithchartseriesmodel#tooltip) object and by injecting the `TooltipRender` module into the `services`. diff --git a/chart-sdk/react/smith-chart/title-subtitle.md b/chart-sdk/react/smith-chart/title-subtitle.md index f470c0228..2b1c7465e 100644 --- a/chart-sdk/react/smith-chart/title-subtitle.md +++ b/chart-sdk/react/smith-chart/title-subtitle.md @@ -1,14 +1,14 @@ --- layout: post -title: Title and Subtitle in React Smith Chart | Syncfusion -description: Add a title and subtitle to the React Smith Chart, trim overflow with maximum width, and customize font, alignment, and visibility. -control: Title subtitle +title: Title subtitle in React Smithchart component | Syncfusion +description: Learn here all about Title subtitle in Syncfusion React Smithchart component of Syncfusion Essential JS 2 and more. +control: Title subtitle platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Title and Subtitle in React Smith Chart +# Title subtitle in React Smithchart component ## Enable title diff --git a/chart-sdk/react/smith-chart/working-with-data.md b/chart-sdk/react/smith-chart/working-with-data.md index d996e701a..d7f618139 100644 --- a/chart-sdk/react/smith-chart/working-with-data.md +++ b/chart-sdk/react/smith-chart/working-with-data.md @@ -1,14 +1,14 @@ --- layout: post -title: Working With Data in React Smith Chart | Syncfusion -description: Bind resistance and reactance data to the React Smith Chart using local JSON arrays as points or as a series data source. +title: Working with data in React Smithchart component | Syncfusion +description: Learn here all about Working with data in Syncfusion React Smithchart component of Syncfusion Essential JS 2 and more. control: Working with data platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Working With Data in React Smith Chart +# Working with data in React Smithchart component The Smith chart can visualize the data bound from local data. The data bound for the Smith chart should be an array of object and should contain the field resistance and rectangle. This data should be bound to points or data source in the Smith chart. diff --git a/chart-sdk/react/sparkline-charts/accessibility.md b/chart-sdk/react/sparkline-charts/accessibility.md index b14d693a8..12b7f5c77 100644 --- a/chart-sdk/react/sparkline-charts/accessibility.md +++ b/chart-sdk/react/sparkline-charts/accessibility.md @@ -1,14 +1,14 @@ --- layout: post -title: Accessibility in React Sparkline Charts | Syncfusion -description: Learn how the Syncfusion React Sparkline Charts meet WCAG 2.2, Section 508, and WAI-ARIA standards, with keyboard, screen reader, and RTL support. +title: Accessibility in React Sparkline component | Syncfusion +description: Learn here all about Accessibility in Syncfusion React Sparkline component of Syncfusion Essential JS 2 and more. control: Accessibility platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Accessibility in React Sparkline Charts +# Accessibility in React Sparkline component The Sparkline component followed the accessibility guidelines and standards, including [ADA](https://www.ada.gov/), [Section 508](https://www.section508.gov/), [WCAG 2.2](https://www.w3.org/TR/WCAG22/) standards, and [WCAG roles](https://www.w3.org/TR/wai-aria/#roles) that are commonly used to evaluate accessibility. diff --git a/chart-sdk/react/sparkline-charts/appearance.md b/chart-sdk/react/sparkline-charts/appearance.md index 1938ba79e..e24f21e25 100644 --- a/chart-sdk/react/sparkline-charts/appearance.md +++ b/chart-sdk/react/sparkline-charts/appearance.md @@ -1,14 +1,14 @@ --- layout: post -title: Appearance in React Sparkline Charts | Syncfusion -description: Customize the Syncfusion React Sparkline Charts appearance with border, padding, container area background, and built-in Material, Fabric, Bootstrap themes. +title: Appearance in React Sparkline component | Syncfusion +description: Learn here all about Appearance in Syncfusion React Sparkline component of Syncfusion Essential JS 2 and more. control: Appearance platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Appearance in React Sparkline Charts +# Appearance in React Sparkline component The appearance of the sparkline can be customized using margin, container Area border, and container Area background. diff --git a/chart-sdk/react/sparkline-charts/axis-customization.md b/chart-sdk/react/sparkline-charts/axis-customization.md index 088922509..16a459419 100644 --- a/chart-sdk/react/sparkline-charts/axis-customization.md +++ b/chart-sdk/react/sparkline-charts/axis-customization.md @@ -1,14 +1,14 @@ --- layout: post -title: Axis Customization in React Sparkline Charts | Syncfusion -description: Customize the Syncfusion React Sparkline Charts axis with Numeric, Category, or DateTime value types, min/max bounds, line color, width, and dash array. +title: Axis customization in React Sparkline component | Syncfusion +description: Learn here all about Axis customization in Syncfusion React Sparkline component of Syncfusion Essential JS 2 and more. control: Axis customization platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Axis Customization in React Sparkline Charts +# Axis customization in React Sparkline component You can customize axis value types and min and max values of the sparkline. diff --git a/chart-sdk/react/sparkline-charts/data-labels.md b/chart-sdk/react/sparkline-charts/data-labels.md index 2550a17a6..5dd228457 100644 --- a/chart-sdk/react/sparkline-charts/data-labels.md +++ b/chart-sdk/react/sparkline-charts/data-labels.md @@ -1,14 +1,14 @@ --- layout: post -title: Data Labels in React Sparkline Charts | Syncfusion -description: Display point values on the Syncfusion React Sparkline Charts by enabling data labels for all, start, end, high, low, or negative points with custom formatting. +title: Data labels in React Sparkline component | Syncfusion +description: Learn here all about Data labels in Syncfusion React Sparkline component of Syncfusion Essential JS 2 and more. control: Data labels platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Data Labels in React Sparkline Charts +# Data labels in React Sparkline component Data labels are used to display values of data points to improve the readability. diff --git a/chart-sdk/react/sparkline-charts/ej1-api-migration.md b/chart-sdk/react/sparkline-charts/ej1-api-migration.md index e1fad4886..b6fb01acd 100644 --- a/chart-sdk/react/sparkline-charts/ej1-api-migration.md +++ b/chart-sdk/react/sparkline-charts/ej1-api-migration.md @@ -1,14 +1,14 @@ --- layout: post -title: Migration from Essential JS 1 in React Sparkline Charts | Syncfusion -description: Map Essential JS 1 Syncfusion React Sparkline Charts properties, methods, and events to their Essential JS 2 equivalents for quick API migration. -control: Ej1 api migration +title: Ej1 api migration in React Sparkline component | Syncfusion +description: Learn here all about Ej1 api migration in Syncfusion React Sparkline component of Syncfusion Essential JS 2 and more. +control: Ej1 api migration platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Migration from Essential JS 1 in React Sparkline Charts +# Ej1 api migration in React Sparkline component This article describes the API migration process of Accordion component from Essential® JS 1 to Essential® JS 2. diff --git a/chart-sdk/react/sparkline-charts/getting-started.md b/chart-sdk/react/sparkline-charts/getting-started.md index a19e9d40a..5ace451d4 100644 --- a/chart-sdk/react/sparkline-charts/getting-started.md +++ b/chart-sdk/react/sparkline-charts/getting-started.md @@ -1,14 +1,14 @@ --- layout: post -title: Getting Started with React Sparkline Charts | Syncfusion -description: Learn how to get started with the Syncfusion React Sparkline Charts control. Explore setup, features, examples, and customization options. +title: Getting started with React Sparkline component | Syncfusion +description: Checkout and learn about Getting started with React Sparkline component of Syncfusion Essential JS 2 and more details. control: Getting started platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Getting Started with React Sparkline Charts +# Getting started with React Sparkline component This section describes the steps to create a simple Sparkline and demonstrates the basic usage of the Sparkline component. diff --git a/chart-sdk/react/sparkline-charts/localization.md b/chart-sdk/react/sparkline-charts/localization.md index 1054b93ad..106f187ba 100644 --- a/chart-sdk/react/sparkline-charts/localization.md +++ b/chart-sdk/react/sparkline-charts/localization.md @@ -1,14 +1,14 @@ --- layout: post -title: Localization in React Sparkline Charts | Syncfusion -description: Localize the Syncfusion React Sparkline Charts tooltip and values by changing the culture with the setCulture method for region-specific formats. +title: Localization in React Sparkline component | Syncfusion +description: Learn here all about Localization in Syncfusion React Sparkline component of Syncfusion Essential JS 2 and more. control: Localization platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Localization in React Sparkline Charts +# Localization in React Sparkline component The sparkline control supports localization. The default culture for localization is `en-US`. You can change the culture using the `setCulture` method. diff --git a/chart-sdk/react/sparkline-charts/marker.md b/chart-sdk/react/sparkline-charts/marker.md index 94cc41c97..ef2bbf55d 100644 --- a/chart-sdk/react/sparkline-charts/marker.md +++ b/chart-sdk/react/sparkline-charts/marker.md @@ -1,14 +1,14 @@ --- layout: post -title: Markers in React Sparkline Charts | Syncfusion -description: Add markers to the Syncfusion React Sparkline Charts for all, start, end, high, low, or negative points and customize their fill, border, size, and opacity. +title: Marker in React Sparkline component | Syncfusion +description: Learn here all about Marker in Syncfusion React Sparkline component of Syncfusion Essential JS 2 and more. control: Marker platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Markers in React Sparkline Charts +# Marker in React Sparkline component This section explains how to add markers to the sparkline. diff --git a/chart-sdk/react/sparkline-charts/range-band.md b/chart-sdk/react/sparkline-charts/range-band.md index 4a12acc29..2e5f0925e 100644 --- a/chart-sdk/react/sparkline-charts/range-band.md +++ b/chart-sdk/react/sparkline-charts/range-band.md @@ -1,14 +1,14 @@ --- layout: post -title: Range Band in React Sparkline Charts | Syncfusion -description: Highlight specific y-axis value regions in the Syncfusion React Sparkline Charts using one or multiple range bands with custom start, end, color, and opacity. +title: Range band in React Sparkline component | Syncfusion +description: Learn here all about Range band in Syncfusion React Sparkline component of Syncfusion Essential JS 2 and more. control: Range band platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Range Band in React Sparkline Charts +# Range band in React Sparkline component This section explains how to customize the sparkline with multiple range bands. diff --git a/chart-sdk/react/sparkline-charts/sparkline-dimensions.md b/chart-sdk/react/sparkline-charts/sparkline-dimensions.md index 308fffa06..245f24d65 100644 --- a/chart-sdk/react/sparkline-charts/sparkline-dimensions.md +++ b/chart-sdk/react/sparkline-charts/sparkline-dimensions.md @@ -1,14 +1,14 @@ --- layout: post -title: Dimensions in React Sparkline Charts | Syncfusion -description: Set the Syncfusion React Sparkline Charts size via container, CSS, or direct width and height properties in pixel or percentage for responsive layouts. -control: Sparkline dimensions +title: Sparkline dimensions in React Sparkline component | Syncfusion +description: Learn here all about Sparkline dimensions in Syncfusion React Sparkline component of Syncfusion Essential JS 2 and more. +control: Sparkline dimensions platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Dimensions in React Sparkline Charts +# Sparkline dimensions in React Sparkline component ## Size for container @@ -36,7 +36,7 @@ Sparkline can be rendered to its container size. You can set the size through in -You can also set the size for sparkline directly using the [`width`](../sparkline#width-string) and [`height`](https://ej2.syncfusion.com/react/documentation/api/sparkline#height-string) properties. +You can also set the size for sparkline directly using the [`width`](../sparkline/#width-string) and [`height`](https://ej2.syncfusion.com/react/documentation/api/sparkline/#height-string) properties. **In pixel** diff --git a/chart-sdk/react/sparkline-charts/sparkline-types.md b/chart-sdk/react/sparkline-charts/sparkline-types.md index 388d28a12..2e522e119 100644 --- a/chart-sdk/react/sparkline-charts/sparkline-types.md +++ b/chart-sdk/react/sparkline-charts/sparkline-types.md @@ -1,14 +1,14 @@ --- layout: post -title: Sparkline Types in React Sparkline Charts | Syncfusion -description: Render data with the Syncfusion React Sparkline Charts using line, column, area, win-loss, or pie types to visualize trends, comparisons, and composition. +title: Sparkline types in React Sparkline component | Syncfusion +description: Learn here all about Sparkline types in Syncfusion React Sparkline component of Syncfusion Essential JS 2 and more. control: Sparkline types platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Sparkline Types in React Sparkline Charts +# Sparkline types in React Sparkline component Different shapes can be used to visualize data in a Sparkline component. You can change the Sparkline type using the [`type`](https://ej2.syncfusion.com/react/documentation/api/sparkline/sparklinemodel#type) property. diff --git a/chart-sdk/react/sparkline-charts/special-points-customization.md b/chart-sdk/react/sparkline-charts/special-points-customization.md index 470b212b0..76cc33d34 100644 --- a/chart-sdk/react/sparkline-charts/special-points-customization.md +++ b/chart-sdk/react/sparkline-charts/special-points-customization.md @@ -1,14 +1,14 @@ --- layout: post -title: Special Points Customization in React Sparkline Charts | Syncfusion -description: Customize the start, end, positive, negative, low, and tie point colors in the Syncfusion React Sparkline Charts for line, column, and area types. +title: Special points customization in React Sparkline component | Syncfusion +description: Learn here all about Special points customization in Syncfusion React Sparkline component of Syncfusion Essential JS 2 and more. control: Special points customization platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Special Points Customization in React Sparkline Charts +# Special points customization in React Sparkline component You can customize the points by initializing the point colors. The customization options allows to differentiate the [`start`], [`end`], [`positive`], [`negative`], and [`low`] points. This customization is only applicable for line, column, and area type sparklines. diff --git a/chart-sdk/react/sparkline-charts/user-interaction.md b/chart-sdk/react/sparkline-charts/user-interaction.md index fa5ff9b95..d4b54de96 100644 --- a/chart-sdk/react/sparkline-charts/user-interaction.md +++ b/chart-sdk/react/sparkline-charts/user-interaction.md @@ -1,14 +1,14 @@ --- layout: post -title: User Interaction in React Sparkline Charts | Syncfusion -description: Enable hover tooltips with custom format and template, plus track lines, on the Syncfusion React Sparkline Charts to highlight nearby data points. +title: User interaction in React Sparkline component | Syncfusion +description: Learn here all about User interaction in Syncfusion React Sparkline component of Syncfusion Essential JS 2 and more. control: User interaction platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# User Interaction in React Sparkline Charts +# User interaction in React Sparkline component Sparkline has two user interaction features: tooltip and tracker line. diff --git a/chart-sdk/react/stock-charts/accessibility.md b/chart-sdk/react/stock-charts/accessibility.md index 02c62355c..256d03206 100644 --- a/chart-sdk/react/stock-charts/accessibility.md +++ b/chart-sdk/react/stock-charts/accessibility.md @@ -1,14 +1,14 @@ --- layout: post -title: Accessibility in React Stock Chart | Syncfusion -description: Learn how the Syncfusion React Stock Chart Component supports accessibility with WAI-ARIA, Section 508, WCAG 2.2, and keyboard navigation. -control: Accessibility +title: Accessibility in React Stock chart component | Syncfusion +description: Learn here all about Accessibility in Syncfusion React Stock chart component of Syncfusion Essential JS 2 and more. +control: Accessibility platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Accessibility in React Stock Chart +# Accessibility in React Stock chart component The Stock chart component followed the accessibility guidelines and standards, including [ADA](https://www.ada.gov), [Section 508](https://www.section508.gov), [WCAG 2.2](https://www.w3.org/TR/WCAG22) standards, and [WCAG roles](https://www.w3.org/TR/wai-aria#roles) that are commonly used to evaluate accessibility. diff --git a/chart-sdk/react/stock-charts/appearance.md b/chart-sdk/react/stock-charts/appearance.md index a0b6c2f2e..0dbf69595 100644 --- a/chart-sdk/react/stock-charts/appearance.md +++ b/chart-sdk/react/stock-charts/appearance.md @@ -1,14 +1,14 @@ --- layout: post -title: Appearance in React Stock Chart | Syncfusion -description: Learn how to customize the appearance of the Syncfusion React Stock Chart Component with custom title and theme. -control: Appearance +title: Appearance in React Stock chart component | Syncfusion +description: Learn here all about Appearance in Syncfusion React Stock chart component of Syncfusion Essential JS 2 and more. +control: Appearance platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Appearance in React Stock Chart +# Appearance in React Stock chart component ## Stock Chart Title diff --git a/chart-sdk/react/stock-charts/axis-customization.md b/chart-sdk/react/stock-charts/axis-customization.md index 36f56e20e..30b4a5b22 100644 --- a/chart-sdk/react/stock-charts/axis-customization.md +++ b/chart-sdk/react/stock-charts/axis-customization.md @@ -1,14 +1,14 @@ --- layout: post -title: Axis Customization in React Stock Chart | Syncfusion -description: Learn how to customize the axes in the Syncfusion React Stock Chart Component with titles, tick lines, grid lines, and opposed position options. +title: Axis customization in React Stock chart component | Syncfusion +description: Learn here all about Axis customization in Syncfusion React Stock chart component of Syncfusion Essential JS 2 and more. control: Axis customization platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Axis Customization in React Stock Chart +# Axis customization in React Stock chart component ## Axis Crossing diff --git a/chart-sdk/react/stock-charts/axis-types.md b/chart-sdk/react/stock-charts/axis-types.md index 24950aef9..c6bde71ba 100644 --- a/chart-sdk/react/stock-charts/axis-types.md +++ b/chart-sdk/react/stock-charts/axis-types.md @@ -1,7 +1,7 @@ --- layout: post -title: Axis Types in React Stock Chart | Syncfusion -description: Learn how to use datetime and logarithmic axis types in the Syncfusion React Stock Chart Component for plotting financial time-series data. +title: Axis types in React Stock chart component | Syncfusion +description: Learn here all about Axis types in Syncfusion React Stock chart component of Syncfusion Essential JS 2 and more. control: Axis types platform: chart-sdk documentation: ug @@ -9,7 +9,7 @@ domainurl: https://help.syncfusion.com/chart-sdk --- -# Axis Types in React Stock Chart +# Axis types in React Stock chart component ## DateTime axis diff --git a/chart-sdk/react/stock-charts/chart-dimensions.md b/chart-sdk/react/stock-charts/chart-dimensions.md index 6685513fa..90ead70ed 100644 --- a/chart-sdk/react/stock-charts/chart-dimensions.md +++ b/chart-sdk/react/stock-charts/chart-dimensions.md @@ -1,14 +1,14 @@ --- layout: post -title: Chart Dimensions in React Stock Chart | Syncfusion -description: Learn how to set the Syncfusion React Stock Chart Component size to a fixed container or a custom width and height using CSS or inline style. +title: Chart dimensions in React Stock chart component | Syncfusion +description: Learn here all about Chart dimensions in Syncfusion React Stock chart component of Syncfusion Essential JS 2 and more. control: Chart dimensions platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Chart Dimensions in React Stock Chart +# Chart dimensions in React Stock chart component ## Size for Container diff --git a/chart-sdk/react/stock-charts/cross-hair.md b/chart-sdk/react/stock-charts/cross-hair.md index ee71cdb70..87f2d0d04 100644 --- a/chart-sdk/react/stock-charts/cross-hair.md +++ b/chart-sdk/react/stock-charts/cross-hair.md @@ -1,14 +1,14 @@ --- layout: post -title: Crosshair in React Stock Chart | Syncfusion -description: Learn how to enable crosshair on the Syncfusion React Stock Chart Component to show vertical and horizontal lines at the cursor position. -control: Cross hair +title: Cross hair in React Stock chart component | Syncfusion +description: Learn here all about Cross hair in Syncfusion React Stock chart component of Syncfusion Essential JS 2 and more. +control: Cross hair platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Crosshair in React Stock Chart +# Cross hair in React Stock chart component Crosshair has a vertical and horizontal line to view the value of the axis at mouse or touch position. diff --git a/chart-sdk/react/stock-charts/export-print.md b/chart-sdk/react/stock-charts/export-print.md index 09667eddd..19f6e3cbe 100644 --- a/chart-sdk/react/stock-charts/export-print.md +++ b/chart-sdk/react/stock-charts/export-print.md @@ -1,14 +1,14 @@ --- layout: post -title: Export and Print in React Stock Chart | Syncfusion -description: Learn how to export and print the Syncfusion React Stock Chart Component to PDF, image, or SVG using the public export and print methods. +title: Export print in React Stock chart component | Syncfusion +description: Learn here all about Export print in Syncfusion React Stock chart component of Syncfusion Essential JS 2 and more. control: Export print platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Export and Print in React Stock Chart +# Export print in React Stock chart component The rendered stock chart can be exported to `JPEG`, `PNG`, `SVG`, or `PDF` format using the export dropdown button in the period selector toolbar. You can choose the required format using the export dropdown button in stock-chart. diff --git a/chart-sdk/react/stock-charts/getting-started.md b/chart-sdk/react/stock-charts/getting-started.md index c271d60b6..ad2f0e7f1 100644 --- a/chart-sdk/react/stock-charts/getting-started.md +++ b/chart-sdk/react/stock-charts/getting-started.md @@ -1,7 +1,7 @@ --- layout: post -title: Getting Started with React Stock Chart | Syncfusion -description: Learn how to get started with the Syncfusion React Stock Chart Component. Explore setup, features, examples, and customization options. +title: Getting Started with React Stock Chart Component | Syncfusion +description: Check out and learn about getting started with Syncfusion Essential React Stock Chart component, its elements, and more details. control: Getting started platform: chart-sdk documentation: ug @@ -9,11 +9,11 @@ domainurl: https://help.syncfusion.com/chart-sdk --- -# Getting Started with React Stock Chart +# Getting Started with React Stock Chart Component This section describes the steps to create a simple Stock Chart component. -A quick video overview of the React Stock Chart setup is available: +A quick video overview of the React Stock Charts setup is available: {% youtube "https://www.youtube.com/watch?v=LdTuxkJFfJI" %} diff --git a/chart-sdk/react/stock-charts/gradient.md b/chart-sdk/react/stock-charts/gradient.md index e2600e181..722d2062a 100644 --- a/chart-sdk/react/stock-charts/gradient.md +++ b/chart-sdk/react/stock-charts/gradient.md @@ -1,7 +1,7 @@ --- layout: post -title: Gradient in React Stock Chart | Syncfusion -description: Learn how to apply linear and radial gradients to the Syncfusion React Stock Chart Component series and indicators for richer visual styling. +title: Gradient in React Stock chart component | Syncfusion +description: Learn here all about Gradient in Syncfusion React Stock chart component of Syncfusion Essential JS 2 and more. control: Gradient platform: chart-sdk documentation: ug @@ -10,7 +10,7 @@ domainurl: https://help.syncfusion.com/chart-sdk -# Gradient in React Stock Chart +# Gradient in React Stock chart control diff --git a/chart-sdk/react/stock-charts/legend.md b/chart-sdk/react/stock-charts/legend.md index 16d018973..0cdbbd39b 100644 --- a/chart-sdk/react/stock-charts/legend.md +++ b/chart-sdk/react/stock-charts/legend.md @@ -1,14 +1,14 @@ --- layout: post -title: Legend in React Stock Chart | Syncfusion -description: Learn how to enable the legend in the Syncfusion React Stock Chart Component to identify each series, with options for position, shape, and paging. +title: Legend in React Stock chart component | Syncfusion +description: Learn here all about Legend in Syncfusion React Stock chart component of Syncfusion Essential JS 2 and more. control: Legend platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Legend in React Stock Chart +# Legend in React Stock chart component Legend provides information about the series rendered in the Stock Chart. Legend can be added to a Stock Chart by enabling the [`visible`](https://ej2.syncfusion.com/react/documentation/api/stock-chart/legendSettings#visible) option in the [`legendSettings`](https://ej2.syncfusion.com/react/documentation/api/stock-chart/legendSettings). diff --git a/chart-sdk/react/stock-charts/period-selector.md b/chart-sdk/react/stock-charts/period-selector.md index 859eae3d9..2d1503ffb 100644 --- a/chart-sdk/react/stock-charts/period-selector.md +++ b/chart-sdk/react/stock-charts/period-selector.md @@ -1,14 +1,14 @@ --- layout: post -title: Period Selector in React Stock Chart | Syncfusion -description: Learn how to add a period selector to the Syncfusion React Stock Chart Component for quick date range presets. +title: Period selector in React Stock chart component | Syncfusion +description: Learn here all about Period selector in Syncfusion React Stock chart component of Syncfusion Essential JS 2 and more. control: Period selector platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Period Selector in React Stock Chart +# Period selector in React Stock chart component The period selector allows to select a range with specified periods. By default the period selector is enabled in stock chart. diff --git a/chart-sdk/react/stock-charts/range-selector.md b/chart-sdk/react/stock-charts/range-selector.md index ce8f8c5cf..ac2e07a51 100644 --- a/chart-sdk/react/stock-charts/range-selector.md +++ b/chart-sdk/react/stock-charts/range-selector.md @@ -1,14 +1,14 @@ --- layout: post -title: Range Selector in React Stock Chart | Syncfusion -description: Learn how to enable the range selector on the Syncfusion React Stock Chart Component to select a range by dragging thumbs, tapping label, or using a date range. +title: Range selector in React Stock chart component | Syncfusion +description: Learn here all about Range selector in Syncfusion React Stock chart component of Syncfusion Essential JS 2 and more. control: Range selector platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Range Selector in React Stock Chart +# Range selector in React Stock chart component The left and right thumb of RangeNavigator are used to indicate the selected range in the large collection of data. Following are the ways you can select a range. diff --git a/chart-sdk/react/stock-charts/series-types.md b/chart-sdk/react/stock-charts/series-types.md index f20b254c7..67836c664 100644 --- a/chart-sdk/react/stock-charts/series-types.md +++ b/chart-sdk/react/stock-charts/series-types.md @@ -1,14 +1,14 @@ --- layout: post -title: Series Types in React Stock Chart | Syncfusion -description: Learn how to render line, candle, OHLC, HLC, area, and spline series in the Syncfusion React Stock Chart Component for financial data. -control: Series types +title: Series types in React Stock chart component | Syncfusion +description: Learn here all about Series types in Syncfusion React Stock chart component of Syncfusion Essential JS 2 and more. +control: Series types platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Series Types in React Stock Chart +# Series types in React Stock chart component Essential® JS 2 StockChart supports 6 major types of series namely `Line`, `Spline`, `Hilo`, `HiloOpenClose`, `Hollow Candle` and `Candle` . By using the series dropdown button you can navigate between the above listed series types. diff --git a/chart-sdk/react/stock-charts/stock-events.md b/chart-sdk/react/stock-charts/stock-events.md index c48492540..622e2a675 100644 --- a/chart-sdk/react/stock-charts/stock-events.md +++ b/chart-sdk/react/stock-charts/stock-events.md @@ -1,7 +1,7 @@ --- layout: post -title: Stock Events in React Stock Chart | Syncfusion -description: Learn to add stock events to the Syncfusion React Stock Chart Component to mark specific data points with custom values and limit them to a particular series. +title: Stock events in React Stock chart component | Syncfusion +description: Learn here all about Stock events in Syncfusion React Stock chart component of Syncfusion Essential JS 2 and more. control: Stock events platform: chart-sdk documentation: ug @@ -9,7 +9,7 @@ domainurl: https://help.syncfusion.com/chart-sdk --- -# Stock Events in React Stock Chart +# Stock events in React Stock chart component Stock Events visualizes stock events in stock chart. 'SplineSeries' is used to represent selected data value. You can customize the specific data value using `stockEvents` event. diff --git a/chart-sdk/react/stock-charts/technical-indicators.md b/chart-sdk/react/stock-charts/technical-indicators.md index e83403e28..f6e07d98c 100644 --- a/chart-sdk/react/stock-charts/technical-indicators.md +++ b/chart-sdk/react/stock-charts/technical-indicators.md @@ -1,15 +1,15 @@ --- layout: post -title: Technical Indicators in React Stock Chart | Syncfusion -description: Learn how to add technical indicators to the Syncfusion React Stock Chart Component, including SMA, EMA, RSI, MACD, and Bollinger Bands. -control: Technical indicators +title: Technical indicators in React Stock chart component | Syncfusion +description: Learn here all about Technical indicators in Syncfusion React Stock chart component of Syncfusion Essential JS 2 and more. +control: Technical indicators platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Technical Indicators in React Stock Chart +# Technical indicators in React Stock chart component A technical indicator is a mathematical calculation based on historic price, volume or open interest information that aims to forecast financial market direction. diff --git a/chart-sdk/react/stock-charts/tool-tip.md b/chart-sdk/react/stock-charts/tool-tip.md index bc563822e..028a1df52 100644 --- a/chart-sdk/react/stock-charts/tool-tip.md +++ b/chart-sdk/react/stock-charts/tool-tip.md @@ -1,14 +1,14 @@ --- layout: post -title: Tooltip in React Stock Chart | Syncfusion -description: Learn how to enable and customize tooltips on the Syncfusion React Stock Chart Component with template, and shared tooltip options. -control: Tooltip +title: Tool tip in React Stock chart component | Syncfusion +description: Learn here all about Tool tip in Syncfusion React Stock chart component of Syncfusion Essential JS 2 and more. +control: Tool tip platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Tooltip in React Stock Chart +# Tool tip in React Stock chart component diff --git a/chart-sdk/react/stock-charts/trend-lines.md b/chart-sdk/react/stock-charts/trend-lines.md index df4e6c66b..e51ee7984 100644 --- a/chart-sdk/react/stock-charts/trend-lines.md +++ b/chart-sdk/react/stock-charts/trend-lines.md @@ -1,15 +1,15 @@ --- layout: post -title: Trendlines in React Stock Chart | Syncfusion -description: Learn how to add trendlines to the Syncfusion React Stock Chart Component to show the direction and speed of a price trend over time. -control: Trendlines +title: Trend lines in React Stock chart component | Syncfusion +description: Learn here all about Trend lines in Syncfusion React Stock chart component of Syncfusion Essential JS 2 and more. +control: Trend lines platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Trendlines in React Stock Chart +# Trend lines in React Stock chart component Trendlines are used to show the direction and speed of price. diff --git a/chart-sdk/react/stock-charts/working-with-data.md b/chart-sdk/react/stock-charts/working-with-data.md index 1d84b1484..68450b8a2 100644 --- a/chart-sdk/react/stock-charts/working-with-data.md +++ b/chart-sdk/react/stock-charts/working-with-data.md @@ -1,7 +1,7 @@ --- layout: post -title: Working with Data in React Stock Chart | Syncfusion -description: Learn how to bind JSON data to the Syncfusion React Stock Chart Component by mapping fields to date, open, high, low, and close. +title: Working with data in React Stock chart component | Syncfusion +description: Learn here all about Working with data in Syncfusion React Stock chart component of Syncfusion Essential JS 2 and more. control: Working with data platform: chart-sdk documentation: ug @@ -9,7 +9,7 @@ domainurl: https://help.syncfusion.com/chart-sdk --- -# Working with Data in React Stock Chart +# Working with data in React Stock chart component Stock Chart can visualizes data bound from local or remote data. diff --git a/chart-sdk/react/treemap/accessibility.md b/chart-sdk/react/treemap/accessibility.md index 80c9caf59..556ceca1b 100644 --- a/chart-sdk/react/treemap/accessibility.md +++ b/chart-sdk/react/treemap/accessibility.md @@ -1,14 +1,14 @@ --- layout: post -title: Accessibility in React TreeMap | Syncfusion -description: Learn how the Syncfusion React TreeMap meets WCAG 2.2, Section 508, ADA, and keyboard navigation accessibility standards. +title: Accessibility in React TreeMap component | Syncfusion +description: Learn here all about Accessibility in Syncfusion React TreeMap component of Syncfusion Essential JS 2 and more. control: Accessibility platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Accessibility in React TreeMap +# Accessibility in React TreeMap component The TreeMap component follows commonly used accessibility guidelines and standards, such as [ADA](https://www.ada.gov/), [Section 508](https://www.section508.gov/), [WCAG 2.2](https://www.w3.org/TR/WCAG22/) standards, and [WCAG roles](https://www.w3.org/TR/wai-aria/#roles). diff --git a/chart-sdk/react/treemap/color-mapping.md b/chart-sdk/react/treemap/color-mapping.md index ad725aad5..2a5802217 100644 --- a/chart-sdk/react/treemap/color-mapping.md +++ b/chart-sdk/react/treemap/color-mapping.md @@ -1,14 +1,14 @@ --- layout: post -title: Color Mapping in React TreeMap | Syncfusion -description: Learn how to apply color mapping in the Syncfusion React TreeMap using range, equal, desaturation, and palette modes for items. +title: Color mapping in React Treemap component | Syncfusion +description: Learn here all about Color mapping in Syncfusion React Treemap component of Syncfusion Essential JS 2 and more. control: Color mapping platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Color Mapping in React TreeMap +# Color mapping in React Treemap component ## Apply color mapping diff --git a/chart-sdk/react/treemap/data-binding.md b/chart-sdk/react/treemap/data-binding.md index 8cb5a38d6..15ac8ca71 100644 --- a/chart-sdk/react/treemap/data-binding.md +++ b/chart-sdk/react/treemap/data-binding.md @@ -1,20 +1,20 @@ --- layout: post -title: Data Binding in React TreeMap | Syncfusion -description: Learn how to bind flat or hierarchical data sources to the Syncfusion React TreeMap using the dataSource property. +title: Data binding in React Treemap component | Syncfusion +description: Learn here all about Data binding in Syncfusion React Treemap component of Syncfusion Essential JS 2 and more. control: Data binding platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Data Binding in React TreeMap +# Data binding in React Treemap component The TreeMap control supports data binding using the dataSource property. ## Populate data -The [`dataSource`](https://ej2.syncfusion.com/react/documentation/api/treemap#datasource) property accepts collection values as input. For example, a list of objects can be provided as input. Data can be given as either flat or hierarchical collection to the [`dataSource`](https://ej2.syncfusion.com/react/documentation/api/treemap#datasource) property. +The [`dataSource`](https://ej2.syncfusion.com/react/documentation/api/treemap/#datasource) property accepts collection values as input. For example, a list of objects can be provided as input. Data can be given as either flat or hierarchical collection to the [`dataSource`](https://ej2.syncfusion.com/react/documentation/api/treemap/#datasource) property. diff --git a/chart-sdk/react/treemap/data-label.md b/chart-sdk/react/treemap/data-label.md index cffa528a2..a2870bcc8 100644 --- a/chart-sdk/react/treemap/data-label.md +++ b/chart-sdk/react/treemap/data-label.md @@ -1,14 +1,14 @@ --- layout: post -title: Data Label in React TreeMap | Syncfusion -description: Learn how to show and format data labels on items and groups in the Syncfusion React TreeMap with labelPath and labelFormat. +title: Data label in React Treemap component | Syncfusion +description: Learn here all about Data label in Syncfusion React Treemap component of Syncfusion Essential JS 2 and more. control: Data label platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Data Label in React TreeMap +# Data label in React Treemap component Data Labels are used to identify the name of items or groups in the TreeMap component. Data Labels will be shown by specifying the data source properties in the [`labelPath`](https://ej2.syncfusion.com/react/documentation/api/treemap/leafItemSettingsModel#labelpath) of the [`leafItemSettings`](https://ej2.syncfusion.com/react/documentation/api/treemap#leafitemsettings). diff --git a/chart-sdk/react/treemap/drilldown.md b/chart-sdk/react/treemap/drilldown.md index 3950052f4..ff540ebf4 100644 --- a/chart-sdk/react/treemap/drilldown.md +++ b/chart-sdk/react/treemap/drilldown.md @@ -1,14 +1,14 @@ --- layout: post -title: Drilldown in React TreeMap | Syncfusion -description: Learn how to enable drill-down in the Syncfusion React TreeMap to navigate hierarchical data by clicking items. +title: Drilldown in React Treemap component | Syncfusion +description: Learn here all about Drilldown in Syncfusion React Treemap component of Syncfusion Essential JS 2 and more. control: Drilldown platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Drilldown in React TreeMap +# Drilldown in React Treemap component The TreeMap supports drill-down to expose the hierarchy, achieved by clicking a node. If an item is clicked in the TreeMap, it will be moved to the next level or sub level hierarchy and returned back to the previous level by clicking the node. diff --git a/chart-sdk/react/treemap/ej1-api-migration.md b/chart-sdk/react/treemap/ej1-api-migration.md index 328f2645d..8119d0b2e 100644 --- a/chart-sdk/react/treemap/ej1-api-migration.md +++ b/chart-sdk/react/treemap/ej1-api-migration.md @@ -1,14 +1,14 @@ --- layout: post -title: Migration from EJ1 in React TreeMap | Syncfusion -description: Migrate apps from Syncfusion Essential JS 1 to the React TreeMap with the equivalent EJ2 API mapping for properties and events. +title: Ej1 api migration in React Treemap component | Syncfusion +description: Learn here all about Ej1 api migration in Syncfusion React Treemap component of Syncfusion Essential JS 2 and more. control: Ej1 api migration platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Migration from EJ1 in React TreeMap +# Ej1 api migration in React Treemap component This article describes the API migration process of Accordion component from Essential® JS 1 to Essential® JS 2. diff --git a/chart-sdk/react/treemap/getting-started.md b/chart-sdk/react/treemap/getting-started.md index c54f83c05..859014524 100644 --- a/chart-sdk/react/treemap/getting-started.md +++ b/chart-sdk/react/treemap/getting-started.md @@ -1,14 +1,14 @@ --- layout: post -title: Getting Started with React TreeMap | Syncfusion -description: Learn how to get started with the Syncfusion React TreeMap control. Explore setup, features, examples, and customization options. +title: Getting Started with React TreeMap component | Syncfusion +description: Checkout and learn about getting started with the React TreeMap component of Syncfusion Essential JS 2 and more details. control: Getting started platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Getting Started with React TreeMap +# Getting Started with React TreeMap Component This document explains the steps required to create and render a TreeMap component and demonstrates the component's basic usage. diff --git a/chart-sdk/react/treemap/how-to/drilldown-with-label.md b/chart-sdk/react/treemap/how-to/drilldown-with-label.md index 9ac26ce02..ae264b353 100644 --- a/chart-sdk/react/treemap/how-to/drilldown-with-label.md +++ b/chart-sdk/react/treemap/how-to/drilldown-with-label.md @@ -1,14 +1,14 @@ --- layout: post -title: How to drilldown with label in React TreeMap | Syncfusion -description: Learn how to add a label template to nodes on drill-down in the Syncfusion React TreeMap using a div template. +title: Drilldown with label in React Treemap component | Syncfusion +description: Learn here all about Drilldown with label in Syncfusion React Treemap component of Syncfusion Essential JS 2 and more. control: Drilldown with label platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# How to drilldown with label in React TreeMap +# Drilldown with label in React Treemap component Yon can add a label template as
      element to the treemap control when using the label template. To add a label template to the tree map control, you have to hide another labels by setting the `showLabels` property to **false** in `leafItemSettings` to show only the label template. diff --git a/chart-sdk/react/treemap/how-to/drilldown.md b/chart-sdk/react/treemap/how-to/drilldown.md index 3326c436d..c197d5ba3 100644 --- a/chart-sdk/react/treemap/how-to/drilldown.md +++ b/chart-sdk/react/treemap/how-to/drilldown.md @@ -1,14 +1,14 @@ --- layout: post -title: How to customize drilldown in React TreeMap | Syncfusion -description: Learn how to customize the header on drill-down in the Syncfusion React TreeMap to show population details for a node. +title: Drilldown customization in React Treemap component | Syncfusion +description: Learn here all about Drilldown customization in Syncfusion React Treemap component of Syncfusion Essential JS 2 and more. control: Drilldown platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# How to customize drilldown in React TreeMap +# Drilldown customization in React Treemap component ## Customize the header for treemap drilldown diff --git a/chart-sdk/react/treemap/internationalization.md b/chart-sdk/react/treemap/internationalization.md index a0b3dbe67..1f46c458d 100644 --- a/chart-sdk/react/treemap/internationalization.md +++ b/chart-sdk/react/treemap/internationalization.md @@ -1,14 +1,14 @@ --- layout: post -title: Internationalization in React TreeMap | Syncfusion -description: Learn how to globalize data labels and tooltips in the Syncfusion React TreeMap using the format property and locale support. +title: Internationalization in React Treemap component | Syncfusion +description: Learn here all about Internationalization in Syncfusion React Treemap component of Syncfusion Essential JS 2 and more. control: Internationalization platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Internationalization in React TreeMap +# Internationalization in React Treemap component The TreeMap control supports internationalization for the following elements: @@ -21,7 +21,7 @@ For more information about number and date formatter, refer to [`internationaliz ## Globalization -Globalization is the process of designing and developing a component that works in different cultures/locales. Internationalization library is used to globalize number, date, and time values in the TreeMap control using the [`format`](https://ej2.syncfusion.com/react/documentation/api/treemap#format) property in the TreeMap. +Globalization is the process of designing and developing a component that works in different cultures/locales. Internationalization library is used to globalize number, date, and time values in the TreeMap control using the [`format`](https://ej2.syncfusion.com/react/documentation/api/treemap/#format) property in the TreeMap. **Numeric format** diff --git a/chart-sdk/react/treemap/layout.md b/chart-sdk/react/treemap/layout.md index 735029719..a1963c875 100644 --- a/chart-sdk/react/treemap/layout.md +++ b/chart-sdk/react/treemap/layout.md @@ -1,16 +1,16 @@ --- layout: post -title: Layout in React TreeMap | Syncfusion -description: Learn how to render the Syncfusion React TreeMap with Squarified, SliceAndDiceVertical, SliceAndDiceHorizontal, or SliceAndDiceAuto layouts. +title: Layout in React Treemap component | Syncfusion +description: Learn here all about Layout in Syncfusion React Treemap component of Syncfusion Essential JS 2 and more. control: Layout platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Layout in React TreeMap +# Layout in React Treemap component -Determine the visual representation of nodes belonging to all the TreeMap levels using the [`layoutType`](https://ej2.syncfusion.com/react/documentation/api/treemap#layouttype) property. +Determine the visual representation of nodes belonging to all the TreeMap levels using the [`layoutType`](https://ej2.syncfusion.com/react/documentation/api/treemap/#layouttype) property. ## Types of layout diff --git a/chart-sdk/react/treemap/leaf-item.md b/chart-sdk/react/treemap/leaf-item.md index a13455356..e1a2f59b7 100644 --- a/chart-sdk/react/treemap/leaf-item.md +++ b/chart-sdk/react/treemap/leaf-item.md @@ -1,14 +1,14 @@ --- layout: post -title: Leaf Item in React TreeMap | Syncfusion -description: Learn how to configure leaf items, labels, and styles in the Syncfusion React TreeMap using leafItemSettings. +title: Leaf item in React Treemap component | Syncfusion +description: Learn here all about Leaf item in Syncfusion React Treemap component of Syncfusion Essential JS 2 and more. control: Leaf item platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Leaf Item in React TreeMap +# Leaf item in React Treemap component A leaf item defines a visualized data element and does not contain child nodes but contains parent node if the levels are specified in the TreeMap. diff --git a/chart-sdk/react/treemap/legend.md b/chart-sdk/react/treemap/legend.md index 9ddfb2e21..5dea799c1 100644 --- a/chart-sdk/react/treemap/legend.md +++ b/chart-sdk/react/treemap/legend.md @@ -1,14 +1,14 @@ --- layout: post -title: Legend in React TreeMap | Syncfusion -description: Learn how to enable and customize legends in the Syncfusion React TreeMap for position, shape, and interactive item identification. +title: Legend in React Treemap component | Syncfusion +description: Learn here all about Legend in Syncfusion React Treemap component of Syncfusion Essential JS 2 and more. control: Legend platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Legend in React TreeMap +# Legend in React Treemap component Legend is used to provide valuable information for interpreting what the TreeMap displays. The legends can be represented in various colors, shapes or other identifiers based on the data. diff --git a/chart-sdk/react/treemap/levels.md b/chart-sdk/react/treemap/levels.md index a92f74cae..68348a8ad 100644 --- a/chart-sdk/react/treemap/levels.md +++ b/chart-sdk/react/treemap/levels.md @@ -1,24 +1,24 @@ --- layout: post -title: Levels in React TreeMap | Syncfusion -description: Learn how to add multiple hierarchical levels to the Syncfusion React TreeMap using the groupPath property in levelSettings. -control: Levels +title: Levels in React Treemap component | Syncfusion +description: Learn here all about Levels in Syncfusion React Treemap component of Syncfusion Essential JS 2 and more. +control: Levels platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Levels in React TreeMap +# Levels in React Treemap component -TreeMap supports **n** number of levels and each level is separated by using the [`groupPath`](https://ej2.syncfusion.com/react/documentation/api/treemap/levelSettingsModel#grouppath) property. +TreeMap supports **n** number of levels and each level is separated by using the [`groupPath`](https://ej2.syncfusion.com/react/documentation/api/treemap/levelSettingsModel/#grouppath) property. ## Group path -The [`groupPath`](https://ej2.syncfusion.com/react/documentation/api/treemap/levelSettingsModel#grouppath) property is used to separate each level of the TreeMap by specifying the property from the data source. +The [`groupPath`](https://ej2.syncfusion.com/react/documentation/api/treemap/levelSettingsModel/#grouppath) property is used to separate each level of the TreeMap by specifying the property from the data source. -In the following example, three levels are added and each level is configured using the [`groupPath`](https://ej2.syncfusion.com/react/documentation/api/treemap/levelSettingsModel#grouppath) property. +In the following example, three levels are added and each level is configured using the [`groupPath`](https://ej2.syncfusion.com/react/documentation/api/treemap/levelSettingsModel/#grouppath) property. {% tabs %} {% highlight js tabtitle="index.jsx" %} @@ -35,7 +35,7 @@ In the following example, three levels are added and each level is configured us ## Group gap -The [`groupGap`](https://ej2.syncfusion.com/react/documentation/api/treemap/levelSettingsModel#groupgap) property is used to separate an item from each group or another item to differentiate the levels mentioned in the TreeMap. +The [`groupGap`](https://ej2.syncfusion.com/react/documentation/api/treemap/levelSettingsModel/#groupgap) property is used to separate an item from each group or another item to differentiate the levels mentioned in the TreeMap. {% tabs %} {% highlight js tabtitle="index.jsx" %} @@ -52,7 +52,7 @@ The [`groupGap`](https://ej2.syncfusion.com/react/documentation/api/treemap/leve ## Header format and Alignment -Customize header using the [`headerFormat`](https://ej2.syncfusion.com/react/documentation/api/treemap/levelSettingsModel#headerformat) property in which fields are mapping from the dataSource and align header using the [`headerAlignment`](https://ej2.syncfusion.com/react/documentation/api/treemap/levelSettingsModel#headeralignment) property. +Customize header using the [`headerFormat`](https://ej2.syncfusion.com/react/documentation/api/treemap/levelSettingsModel/#headerformat) property in which fields are mapping from the dataSource and align header using the [`headerAlignment`](https://ej2.syncfusion.com/react/documentation/api/treemap/levelSettingsModel/#headeralignment) property. {% tabs %} {% highlight js tabtitle="index.jsx" %} @@ -67,7 +67,7 @@ Customize header using the [`headerFormat`](https://ej2.syncfusion.com/react/doc ## Header height and style -Customize the font color, family, weight, opacity and size using the [`headerStyle`](https://ej2.syncfusion.com/react/documentation/api/treemap/levelSettingsModel#headerstyle). Based on the font settings, the header height is given using the [`headerHeight`](https://ej2.syncfusion.com/react/documentation/api/treemap/levelSettingsModel#headerheight) property in [`levels`](https://ej2.syncfusion.com/react/documentation/api/treemap#levels). +Customize the font color, family, weight, opacity and size using the [`headerStyle`](https://ej2.syncfusion.com/react/documentation/api/treemap/levelSettingsModel/#headerstyle). Based on the font settings, the header height is given using the [`headerHeight`](https://ej2.syncfusion.com/react/documentation/api/treemap/levelSettingsModel/#headerheight) property in [`levels`](https://ej2.syncfusion.com/react/documentation/api/treemap/#levels). {% tabs %} {% highlight js tabtitle="index.jsx" %} @@ -82,7 +82,7 @@ Customize the font color, family, weight, opacity and size using the [`headerSty ## Header template and position -The TreeMap header supports to customize header of each item using the [`headerTemplate`](https://ej2.syncfusion.com/react/documentation/api/treemap/levelSettingsModel#headertemplate) property. It uses Essential JS2 Template engine to render the elements. You can position the template using the [`templatePosition`](https://ej2.syncfusion.com/react/documentation/api/treemap/levelSettingsModel#templateposition) property. +The TreeMap header supports to customize header of each item using the [`headerTemplate`](https://ej2.syncfusion.com/react/documentation/api/treemap/levelSettingsModel/#headertemplate) property. It uses Essential JS2 Template engine to render the elements. You can position the template using the [`templatePosition`](https://ej2.syncfusion.com/react/documentation/api/treemap/levelSettingsModel/#templateposition) property. {% tabs %} {% highlight js tabtitle="index.jsx" %} diff --git a/chart-sdk/react/treemap/print-and-export.md b/chart-sdk/react/treemap/print-and-export.md index 031e8e2a3..7684cd19c 100644 --- a/chart-sdk/react/treemap/print-and-export.md +++ b/chart-sdk/react/treemap/print-and-export.md @@ -1,14 +1,14 @@ --- layout: post -title: Print and Export in React TreeMap | Syncfusion -description: Learn how to print and export the Syncfusion React TreeMap as PDF or image using the Print and Export modules. +title: Print and export in React Treemap component | Syncfusion +description: Learn here all about Print and export in Syncfusion React Treemap component of Syncfusion Essential JS 2 and more. control: Print and export platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Print and Export in React TreeMap +# Print and export in React Treemap component ## Print diff --git a/chart-sdk/react/treemap/selection-and-highlight.md b/chart-sdk/react/treemap/selection-and-highlight.md index c73e86ab5..d29cf9456 100644 --- a/chart-sdk/react/treemap/selection-and-highlight.md +++ b/chart-sdk/react/treemap/selection-and-highlight.md @@ -1,14 +1,14 @@ --- layout: post -title: Selection and Highlight in React TreeMap | Syncfusion -description: Learn how to select and highlight items and groups in the Syncfusion React TreeMap using selectionSettings and highlightSettings. +title: Selection and highlight in React Treemap component | Syncfusion +description: Learn here all about Selection and highlight in Syncfusion React Treemap component of Syncfusion Essential JS 2 and more. control: Selection and highlight platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Selection and Highlight in React TreeMap +# Selection and highlight in React Treemap component ## Selection diff --git a/chart-sdk/react/treemap/tooltip.md b/chart-sdk/react/treemap/tooltip.md index d2c0d21bd..66fef7e3e 100644 --- a/chart-sdk/react/treemap/tooltip.md +++ b/chart-sdk/react/treemap/tooltip.md @@ -1,14 +1,14 @@ --- layout: post -title: Tooltip in React TreeMap | Syncfusion -description: Learn how to enable and customize tooltips in the Syncfusion React TreeMap to show item details on hover. +title: Tooltip in React Treemap component | Syncfusion +description: Learn here all about Tooltip in Syncfusion React Treemap component of Syncfusion Essential JS 2 and more. control: Tooltip platform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Tooltip in React TreeMap +# Tooltip in React Treemap component Tooltip is used to display details about the items in the TreeMap. When space constraints prevent us from displaying the information using Data Labels, the tooltip comes in handy. diff --git a/chart-sdk/typescript/3d-charts/Chart-types/bar.md b/chart-sdk/typescript/3d-charts/Chart-types/bar.md index 5f4a974ef..a4634f6d3 100644 --- a/chart-sdk/typescript/3d-charts/Chart-types/bar.md +++ b/chart-sdk/typescript/3d-charts/Chart-types/bar.md @@ -1,17 +1,18 @@ --- layout: post -title: Bar Chart in TypeScript 3D Charts | Syncfusion -description: Learn how to render a bar series in the Syncfusion TypeScript 3D Charts using the BarSeries3D module. +title: Bar Chart in TypeScript 3D Chart control | Syncfusion +description: Learn here all about bar chart in Syncfusion TypeScript 3D Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: 3D Charts +control: 3D Chart +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Bar Chart in TypeScript 3D Charts +# Bar Chart in TypeScript 3D Chart control ## Bar chart -To render a [bar series](https://www.syncfusion.com/javascript-ui-controls/js-charts/chart-types/bar-chart), use series [`type`](../../api/chart3d/series3DModel#type) as `Bar` and inject `BarSeries3D` module using `Chart3D.Inject(BarSeries3D)` method. +To render a [bar series](https://www.syncfusion.com/javascript-ui-controls/js-charts/chart-types/bar-chart), use series [`type`](../../api/chart3d/series3DModel/#type) as `Bar` and inject `BarSeries3D` module using `Chart3D.Inject(BarSeries3D)` method. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -26,7 +27,7 @@ To render a [bar series](https://www.syncfusion.com/javascript-ui-controls/js-ch ## Bar space and width -The [`columnSpacing`](../../api/chart3d/series3DModel#columnspacing) and [`columnWidth`](../../api/chart3d/series3DModel#columnwidth) properties are used to customize the space between bars. +The [`columnSpacing`](../../api/chart3d/series3DModel/#columnspacing) and [`columnWidth`](../../api/chart3d/series3DModel/#columnwidth) properties are used to customize the space between bars. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -41,7 +42,7 @@ The [`columnSpacing`](../../api/chart3d/series3DModel#columnspacing) and [`colum ## Grouped bar -The data points can be grouped in the bar type charts by using the [`groupName`](../../api/chart3d/series3DModel#groupname) property. Data points with same group name are grouped together. +The data points can be grouped in the bar type charts by using the [`groupName`](../../api/chart3d/series3DModel/#groupname) property. Data points with same group name are grouped together. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -56,7 +57,7 @@ The data points can be grouped in the bar type charts by using the [`groupName`] ## Cylindrical bar chart -To render a cylindrical bar chart, set the [`columnFacet`](../../api/chart3d/series3DModel#columnfacet) property to `Cylinder` in the chart series. +To render a cylindrical bar chart, set the [`columnFacet`](../../api/chart3d/series3DModel/#columnfacet) property to `Cylinder` in the chart series. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -73,8 +74,8 @@ To render a cylindrical bar chart, set the [`columnFacet`](../../api/chart3d/ser The following properties can be used to customize the `bar` series. -* [fill](../../api/chart3d/series3DModel#fill) – Specifies the color of the series. -* [opacity](../../api/chart3d/series3DModel#opacity) – Specifies the opacity of the [fill](../../api/chart3d/series3DModel#fill) color. +* [fill](../../api/chart3d/series3DModel/#fill) – Specifies the color of the series. +* [opacity](../../api/chart3d/series3DModel/#opacity) – Specifies the opacity of the [fill](../../api/chart3d/series3DModel/#fill) color. {% tabs %} {% highlight ts tabtitle="index.ts" %} diff --git a/chart-sdk/typescript/3d-charts/Chart-types/column.md b/chart-sdk/typescript/3d-charts/Chart-types/column.md index 96b9cacb7..7e26f19ff 100644 --- a/chart-sdk/typescript/3d-charts/Chart-types/column.md +++ b/chart-sdk/typescript/3d-charts/Chart-types/column.md @@ -1,17 +1,18 @@ --- layout: post -title: Column Chart in TypeScript 3D Charts | Syncfusion -description: Learn how to render a column series in the Syncfusion TypeScript 3D Charts using the ColumnSeries3D module. +title: Column Chart in TypeScript 3D Chart control | Syncfusion +description: Learn here all about column chart in Syncfusion TypeScript 3D Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: 3D Charts +control: 3D Chart +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Column Chart in TypeScript 3D Charts +# Column Chart in TypeScript 3D Chart control ## Column chart -To render a [column series](https://www.syncfusion.com/javascript-ui-controls/js-charts/chart-types/column-chart), use series [`type`](../../api/chart3d/series3DModel#type) as `Column` and inject `ColumnSeries3D` module using `Chart3D.Inject(ColumnSeries3D)` method. +To render a [column series](https://www.syncfusion.com/javascript-ui-controls/js-charts/chart-types/column-chart), use series [`type`](../../api/chart3d/series3DModel/#type) as `Column` and inject `ColumnSeries3D` module using `Chart3D.Inject(ColumnSeries3D)` method. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -26,7 +27,7 @@ To render a [column series](https://www.syncfusion.com/javascript-ui-controls/js ## Column space and width -The [`columnSpacing`](../../api/chart3d/series3DModel#columnspacing) and [`columnWidth`](../../api/chart3d/series3DModel#columnwidth) properties are used to customize the space between columns. +The [`columnSpacing`](../../api/chart3d/series3DModel/#columnspacing) and [`columnWidth`](../../api/chart3d/series3DModel/#columnwidth) properties are used to customize the space between columns. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -41,7 +42,7 @@ The [`columnSpacing`](../../api/chart3d/series3DModel#columnspacing) and [`colum ## Grouped column -The data points can be grouped in the column type charts by using the [`groupName`](../../api/chart3d/series3DModel#groupname) property. Data points with same group name are grouped together. +The data points can be grouped in the column type charts by using the [`groupName`](../../api/chart3d/series3DModel/#groupname) property. Data points with same group name are grouped together. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -56,7 +57,7 @@ The data points can be grouped in the column type charts by using the [`groupNam ## Cylindrical column chart -To render a cylindrical column chart, set the [`columnFacet`](../../api/chart3d/series3DModel#columnfacet) property to `Cylinder` in the chart series. +To render a cylindrical column chart, set the [`columnFacet`](../../api/chart3d/series3DModel/#columnfacet) property to `Cylinder` in the chart series. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -73,8 +74,8 @@ To render a cylindrical column chart, set the [`columnFacet`](../../api/chart3d/ The following properties can be used to customize the `column` series. -* [fill](../../api/chart3d/series3DModel#fill) – Specifies the color of the series. -* [opacity](../../api/chart3d/series3DModel#opacity) – Specifies the opacity of the [fill](../../api/chart3d/series3DModel#fill) color. +* [fill](../../api/chart3d/series3DModel/#fill) – Specifies the color of the series. +* [opacity](../../api/chart3d/series3DModel/#opacity) – Specifies the opacity of the [fill](../../api/chart3d/series3DModel/#fill) color. {% tabs %} {% highlight ts tabtitle="index.ts" %} diff --git a/chart-sdk/typescript/3d-charts/Chart-types/stack-bar.md b/chart-sdk/typescript/3d-charts/Chart-types/stack-bar.md index ede05c14f..5f385c5e1 100644 --- a/chart-sdk/typescript/3d-charts/Chart-types/stack-bar.md +++ b/chart-sdk/typescript/3d-charts/Chart-types/stack-bar.md @@ -1,17 +1,18 @@ --- layout: post -title: Stacked Bar Chart in TypeScript 3D Charts | Syncfusion -description: Learn how to render a stacked bar series in the Syncfusion TypeScript using the StackingBarSeries3D module. +title: Stacked Bar Chart in TypeScript 3D Chart control | Syncfusion +description: Learn here all about stacked bar chart in Syncfusion TypeScript 3D Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: 3D Charts +control: 3D Chart +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Stacked Bar Chart in TypeScript 3D Charts +# Stacked bar chart in TypeScript 3D Chart control ## Stacked bar chart -To render a stacked bar series, use series [`type`](../../api/chart3d/series3DModel#type) as `StackingBar` and inject `StackingBarSeries3D` module using `Chart3D.Inject(StackingBarSeries3D)` method. +To render a stacked bar series, use series [`type`](../../api/chart3d/series3DModel/#type) as `StackingBar` and inject `StackingBarSeries3D` module using `Chart3D.Inject(StackingBarSeries3D)` method. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -26,7 +27,7 @@ To render a stacked bar series, use series [`type`](../../api/chart3d/series3DMo ## Stacking group -To group the stacked bar, the [`stackingGroup`](../../api/chart3d/series3DModel#stackinggroup) property can be used. The columns with same group name are stacked on top of each other. +To group the stacked bar, the [`stackingGroup`](../../api/chart3d/series3DModel/#stackinggroup) property can be used. The columns with same group name are stacked on top of each other. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -41,7 +42,7 @@ To group the stacked bar, the [`stackingGroup`](../../api/chart3d/series3DModel# ## Cylindrical stacked bar chart -To render a cylindrical stacked bar chart, set the [`columnFacet`](../../api/chart3d/series3DModel#columnfacet) property to `Cylinder` in the chart series. +To render a cylindrical stacked bar chart, set the [`columnFacet`](../../api/chart3d/series3DModel/#columnfacet) property to `Cylinder` in the chart series. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -58,8 +59,8 @@ To render a cylindrical stacked bar chart, set the [`columnFacet`](../../api/cha The following properties can be used to customize the `stacked bar` series. -* [fill](../../api/chart3d/series3DModel#fill) – Specifies the color of the series. -* [opacity](../../api/chart3d/series3DModel#opacity) – Specifies the opacity of the [fill](../../api/chart3d/series3DModel#fill) color. +* [fill](../../api/chart3d/series3DModel/#fill) – Specifies the color of the series. +* [opacity](../../api/chart3d/series3DModel/#opacity) – Specifies the opacity of the [fill](../../api/chart3d/series3DModel/#fill) color. {% tabs %} {% highlight ts tabtitle="index.ts" %} diff --git a/chart-sdk/typescript/3d-charts/Chart-types/stack-column.md b/chart-sdk/typescript/3d-charts/Chart-types/stack-column.md index 3bb6790b9..24da0457f 100644 --- a/chart-sdk/typescript/3d-charts/Chart-types/stack-column.md +++ b/chart-sdk/typescript/3d-charts/Chart-types/stack-column.md @@ -1,17 +1,18 @@ --- layout: post -title: Stacked Column Chart in TypeScript 3D Charts | Syncfusion -description: Learn how to render a stacked column series in the Syncfusion TypeScript 3D Charts using the StackingColumnSeries3D module. +title: Stacked Column Chart in TypeScript 3D Chart control | Syncfusion +description: Learn here all about stacked column chart in Syncfusion TypeScript 3D Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: 3D Charts +control: 3D Chart +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Stacked Column Chart in TypeScript 3D Charts +# Stacked column chart in TypeScript 3D Chart control ## Stacked column chart -To render a stacked column series, use series [`type`](../../api/chart3d/series3DModel#type) as `StackingColumn` and inject `StackingColumnSeries3D` module using `Chart3D.Inject(StackingColumnSeries3D)` method. +To render a stacked column series, use series [`type`](../../api/chart3d/series3DModel/#type) as `StackingColumn` and inject `StackingColumnSeries3D` module using `Chart3D.Inject(StackingColumnSeries3D)` method. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -26,7 +27,7 @@ To render a stacked column series, use series [`type`](../../api/chart3d/series3 ## Stacking group -To group the stacked column, the [`stackingGroup`](../../api/chart3d/series3DModel#stackinggroup) property can be used. The columns with same group name are stacked on top of each other. +To group the stacked column, the [`stackingGroup`](../../api/chart3d/series3DModel/#stackinggroup) property can be used. The columns with same group name are stacked on top of each other. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -41,7 +42,7 @@ To group the stacked column, the [`stackingGroup`](../../api/chart3d/series3DMod ## Cylindrical stacked column chart -To render a cylindrical stacked column chart, set the [`columnFacet`](../../api/chart3d/series3DModel#columnfacet) property to `Cylinder` in the chart series. +To render a cylindrical stacked column chart, set the [`columnFacet`](../../api/chart3d/series3DModel/#columnfacet) property to `Cylinder` in the chart series. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -58,8 +59,8 @@ To render a cylindrical stacked column chart, set the [`columnFacet`](../../api/ The following properties can be used to customize the `stacked column` series. -* [fill](../../api/chart3d/series3DModel#fill) – Specifies the color of the series. -* [opacity](../../api/chart3d/series3DModel#opacity) – Specifies the opacity of the [fill](../../api/chart3d/series3DModel#fill) color. +* [fill](../../api/chart3d/series3DModel/#fill) – Specifies the color of the series. +* [opacity](../../api/chart3d/series3DModel/#opacity) – Specifies the opacity of the [fill](../../api/chart3d/series3DModel/#fill) color. {% tabs %} diff --git a/chart-sdk/typescript/3d-charts/Chart-types/stacked-bar.md b/chart-sdk/typescript/3d-charts/Chart-types/stacked-bar.md index 4fc96f97a..6ed2b0362 100644 --- a/chart-sdk/typescript/3d-charts/Chart-types/stacked-bar.md +++ b/chart-sdk/typescript/3d-charts/Chart-types/stacked-bar.md @@ -1,17 +1,18 @@ --- layout: post -title: 100% Stacked Bar Chart in TypeScript 3D Charts | Syncfusion -description: Learn how to render a 100% stacked bar series in the Syncfusion TypeScript 3D Charts using the StackingBarSeries3D module. +title: 100% Stacked Bar Chart in TypeScript 3D Chart control | Syncfusion +description: Learn here all about 100% stacked bar chart in Syncfusion TypeScript 3D Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: 3D Charts +control: 3D Chart +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# 100% Stacked bar chart in TypeScript 3D Charts +# 100% Stacked bar chart in TypeScript 3D Chart control ## 100% Stacked bar chart -To render a [100% stacked bar](https://www.syncfusion.com/javascript-ui-controls/js-charts/chart-types/100-stacked-bar-chart) series, use series [`type`](../../api/chart3d/series3DModel#type) as `StackingBar100` and inject `StackingBarSeries3D` module using `Chart3D.Inject(StackingBarSeries3D)` method. +To render a [100% stacked bar](https://www.syncfusion.com/javascript-ui-controls/js-charts/chart-types/100-stacked-bar-chart) series, use series [`type`](../../api/chart3d/series3DModel/#type) as `StackingBar100` and inject `StackingBarSeries3D` module using `Chart3D.Inject(StackingBarSeries3D)` method. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -26,7 +27,7 @@ To render a [100% stacked bar](https://www.syncfusion.com/javascript-ui-controls ## 100% Cylindrical stacked bar chart -To render a cylindrical 100% stacked bar chart, set the [`columnFacet`](../../api/chart3d/series3DModel#columnfacet) property to `Cylinder` in the chart series. +To render a cylindrical 100% stacked bar chart, set the [`columnFacet`](../../api/chart3d/series3DModel/#columnfacet) property to `Cylinder` in the chart series. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -43,8 +44,8 @@ To render a cylindrical 100% stacked bar chart, set the [`columnFacet`](../../ap The following properties can be used to customize the `100% stacked bar` series. -* [fill](../../api/chart3d/series3DModel#fill) – Specifies the color of the series. -* [opacity](../../api/chart3d/series3DModel#opacity) – Specifies the opacity of the [fill](../../api/chart3d/series3DModel#fill) color. +* [fill](../../api/chart3d/series3DModel/#fill) – Specifies the color of the series. +* [opacity](../../api/chart3d/series3DModel/#opacity) – Specifies the opacity of the [fill](../../api/chart3d/series3DModel/#fill) color. {% tabs %} {% highlight ts tabtitle="index.ts" %} diff --git a/chart-sdk/typescript/3d-charts/Chart-types/stacked-column.md b/chart-sdk/typescript/3d-charts/Chart-types/stacked-column.md index 20484500c..92e38e2c3 100644 --- a/chart-sdk/typescript/3d-charts/Chart-types/stacked-column.md +++ b/chart-sdk/typescript/3d-charts/Chart-types/stacked-column.md @@ -1,17 +1,18 @@ --- layout: post -title: 100% Stacked Column Chart in TypeScript 3D Charts | Syncfusion -description: Learn here all about 100% stacked column chart in Syncfusion TypeScript 3D Charts control of Syncfusion Essential JS 2 and more. +title: 100% Stacked Column Chart in TypeScript 3D Chart control | Syncfusion +description: Learn here all about 100% stacked column chart in Syncfusion TypeScript 3D Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: 3D Charts +control: 3D Chart +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# 100% Stacked column chart in TypeScript 3D Charts +# 100% Stacked column chart in TypeScript 3D Chart control ## 100% Stacked column chart -To render a [100% stacked column](https://www.syncfusion.com/javascript-ui-controls/js-charts/chart-types/100-stacked-column-chart) series, use series [`type`](../../api/chart3d/series3DModel#type) as `StackingColumn100` and inject `StackingColumnSeries3D` module using `Chart3D.Inject(StackingColumnSeries3D)` method. +To render a [100% stacked column](https://www.syncfusion.com/javascript-ui-controls/js-charts/chart-types/100-stacked-column-chart) series, use series [`type`](../../api/chart3d/series3DModel/#type) as `StackingColumn100` and inject `StackingColumnSeries3D` module using `Chart3D.Inject(StackingColumnSeries3D)` method. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -26,7 +27,7 @@ To render a [100% stacked column](https://www.syncfusion.com/javascript-ui-contr ## 100% Cylindrical stacked column chart -To render a 100% cylindrical stacked column chart, set the [`columnFacet`](../../api/chart3d/series3DModel#columnfacet) property to `Cylinder` in the chart series. +To render a 100% cylindrical stacked column chart, set the [`columnFacet`](../../api/chart3d/series3DModel/#columnfacet) property to `Cylinder` in the chart series. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -43,8 +44,8 @@ To render a 100% cylindrical stacked column chart, set the [`columnFacet`](../.. The following properties can be used to customize the `100% stacked column` series. -* [fill](../../api/chart3d/series3DModel#fill) – Specifies the color of the series. -* [opacity](../../api/chart3d/series3DModel#opacity) – Specifies the opacity of the [fill](../../api/chart3d/series3DModel#fill) color. +* [fill](../../api/chart3d/series3DModel/#fill) – Specifies the color of the series. +* [opacity](../../api/chart3d/series3DModel/#opacity) – Specifies the opacity of the [fill](../../api/chart3d/series3DModel/#fill) color. {% tabs %} {% highlight ts tabtitle="index.ts" %} diff --git a/chart-sdk/typescript/3d-charts/accessibility.md b/chart-sdk/typescript/3d-charts/accessibility.md index 625df1e43..104c2ba68 100644 --- a/chart-sdk/typescript/3d-charts/accessibility.md +++ b/chart-sdk/typescript/3d-charts/accessibility.md @@ -1,16 +1,17 @@ --- layout: post -title: Accessibility in TypeScript 3D Charts | Syncfusion -description: Learn how to make the Syncfusion TypeScript 3D Charts accessible using WAI-ARIA roles and keyboard navigation. +title: Accessibility in TypeScript 3D Chart control | Syncfusion +description: Learn here all about accessibility in Syncfusion TypeScript 3D Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: 3D Charts +control: 3D Chart +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Accessibility in TypeScript 3D Charts +# Accessibility in TypeScript 3D Chart control -Accessibility is achieved in the 3D Charts control through WAI-ARIA standard and keyboard navigation. The 3D Charts features can be effectively accessed through assistive technologies such as screen readers. +Accessibility is achieved in the 3D chart control through WAI-ARIA standard and keyboard navigation. The 3D chart features can be effectively accessed through assistive technologies such as screen readers. ## WAI-ARIA diff --git a/chart-sdk/typescript/3d-charts/appearance.md b/chart-sdk/typescript/3d-charts/appearance.md index 3c7296825..58ddfa440 100644 --- a/chart-sdk/typescript/3d-charts/appearance.md +++ b/chart-sdk/typescript/3d-charts/appearance.md @@ -1,18 +1,19 @@ --- layout: post -title: Appearance in TypeScript 3D Charts | Syncfusion -description: Learn how to customize the appearance of the Syncfusion TypeScript 3D Charts using palettes, background, border, animation, and title. +title: Appearance in TypeScript 3D Chart control | Syncfusion +description: Learn here all about appearance in Syncfusion TypeScript 3D Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: 3D Charts +control: 3D Chart +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Appearance in TypeScript 3D Charts +# Appearance in TypeScript 3D Chart control ## Custom color palette -The default color of series or points can be customized by providing a custom color palette of your choice by using the [`palettes`](../api/chart3d/chart3DModel#palettes) property. +The default color of series or points can be customized by providing a custom color palette of your choice by using the [`palettes`](../api/chart3d/chart3DModel/#palettes) property. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -31,7 +32,7 @@ The color of an individual data point can be customized using the below options. ### Point color mapping -The color for the points can be bound from the [`dataSource`](../api/chart3d/series3D#datasource) for the series by utilizing the [`pointColorMapping`](../api/chart3d/series3D#pointcolormapping) property. +The color for the points can be bound from the [`dataSource`](../api/chart3d/series3D/#datasource) for the series by utilizing the [`pointColorMapping`](../api/chart3d/series3D/#pointcolormapping) property. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -46,7 +47,7 @@ The color for the points can be bound from the [`dataSource`](../api/chart3d/ser ## Point level customization -The data label and fill color of each data point can be customized using the [`pointRender`](../api/chart3d/i3DPointRenderEventArgs) and [`textRender`](../api/chart3d/i3dtextrendereventargs) events. +The data label and fill color of each data point can be customized using the [`pointRender`](../api/chart3d/i3DPointRenderEventArgs/) and [`textRender`](../api/chart3d/i3dtextrendereventargs/) events. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -67,7 +68,7 @@ The data label and fill color of each data point can be customized using the [`p **Customize the chart background** -The background color and border of the 3D chart can be customized using the [`background`](../api/chart3d/chart3DModel#background) and [`border`](../api/chart3d/chart3DModel#border) properties. +The background color and border of the 3D chart can be customized using the [`background`](../api/chart3d/chart3DModel/#background) and [`border`](../api/chart3d/chart3DModel/#border) properties. {% tabs %} @@ -83,7 +84,7 @@ The background color and border of the 3D chart can be customized using the [`ba **Chart margin** -The 3D chart's margin can be set from its container using the [`margin`](../api/chart3d/chart3DModel#margin) property. +The 3D chart's margin can be set from its container using the [`margin`](../api/chart3d/chart3DModel/#margin) property. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -98,7 +99,7 @@ The 3D chart's margin can be set from its container using the [`margin`](../api/ ## Animation -To customize the animation for a particular series, the [`animation`](../api/chart3d/series3D#animation) property can be used. It can be enabled or disabled by using the [`enable`](../api/chart3d/animationModel#enable) property. The [`duration`](../api/chart3d/animationModel#duration) property specifies the duration of an animation and the [`delay`](../api/chart3d/animationModel#delay) property allows us to start the animation at desire time. +To customize the animation for a particular series, the [`animation`](../api/chart3d/series3D/#animation) property can be used. It can be enabled or disabled by using the [`enable`](../api/chart3d/animationModel/#enable) property. The [`duration`](../api/chart3d/animationModel/#duration) property specifies the duration of an animation and the [`delay`](../api/chart3d/animationModel/#delay) property allows us to start the animation at desire time. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -113,7 +114,7 @@ To customize the animation for a particular series, the [`animation`](../api/cha ## Chart rotation -The 3D chart can be rotated by using the [`enableRotation`](../api/chart3d/chart3DModel#enablerotation) property. +The 3D chart can be rotated by using the [`enableRotation`](../api/chart3d/chart3DModel/#enablerotation) property. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -128,7 +129,7 @@ The 3D chart can be rotated by using the [`enableRotation`](../api/chart3d/chart ## Title -The 3D chart can be given a title by using [`title`](../api/chart3d/chart3DModel#title) property, to show the information about the data plotted. +The 3D chart can be given a title by using [`title`](../api/chart3d/chart3DModel/#title) property, to show the information about the data plotted. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -143,7 +144,7 @@ The 3D chart can be given a title by using [`title`](../api/chart3d/chart3DModel ### Title position -By using the [`position`](../api/chart3d/titleSettingsModel#position) property in [`titleStyle`](../api/chart3d/chart3DModel#titlestyle), the [`title`](../api/chart#title-string) can be positioned at left, right, top or bottom of the 3D chart. The title is positioned at the top of the 3D chart, by default. +By using the [`position`](../api/chart3d/titleSettingsModel/#position) property in [`titleStyle`](../api/chart3d/chart3DModel/#titlestyle), the [`title`](../api/chart/#title-string) can be positioned at left, right, top or bottom of the 3D chart. The title is positioned at the top of the 3D chart, by default. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -156,7 +157,7 @@ By using the [`position`](../api/chart3d/titleSettingsModel#position) property {% previewsample "https://help.syncfusion.com/code-snippet/chart-sdk/typescript/3d-charts/appearance-cs8" %} -The custom option is used to position the title anywhere in the 3D chart using [`x`](../api/chart3d/titleSettingsModel#x) and [`y`](../api/chart3d/titleSettingsModel#y) coordinates. +The custom option is used to position the title anywhere in the 3D chart using [`x`](../api/chart3d/titleSettingsModel/#x) and [`y`](../api/chart3d/titleSettingsModel/#y) coordinates. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -171,7 +172,7 @@ The custom option is used to position the title anywhere in the 3D chart using [ ### Title alignment -The title can be aligned to the near, far, or center of the 3D chart by using the [`textAlignment`](../api/chart3d/titleSettingsModel#textalignment) property. +The title can be aligned to the near, far, or center of the 3D chart by using the [`textAlignment`](../api/chart3d/titleSettingsModel/#textalignment) property. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -186,16 +187,16 @@ The title can be aligned to the near, far, or center of the 3D chart by using th ### Title customization -The [`titleStyle`](../api/chart3d/chart3DModel#titlestyle) property of the 3D chart provides options to customize the title by using the following properties. +The [`titleStyle`](../api/chart3d/chart3DModel/#titlestyle) property of the 3D chart provides options to customize the title by using the following properties. -* [`size`](../api/chart3d/titleSettingsModel#size) - Specifies the size of the title. -* [`color`](../api/chart3d/titleSettingsModel#color) - Specifies the color for the title. -* [`fontFamily`](../api/chart3d/titleSettingsModel#fontfamily) - Specifies the font family for the title. -* [`fontWeight`](../api/chart3d/titleSettingsModel#fontweight) - Specifies the font weight of the title. -* [`fontStyle`](../api/chart3d/titleSettingsModel#fontstyle) - Specifies the font style for the title. -* [`opacity`](../api/chart3d/titleSettingsModel#opacity) - Specifies the opacity for the color of the title. -* [`textAlignment`](../api/chart3d/titleSettingsModel#textalignment) - Specifies the alignment of the title. -* [`textOverflow`](../api/chart3d/titleSettingsModel#textoverflow) - Specifies the overflow of the title. +* [`size`](../api/chart3d/titleSettingsModel/#size) - Specifies the size of the title. +* [`color`](../api/chart3d/titleSettingsModel/#color) - Specifies the color for the title. +* [`fontFamily`](../api/chart3d/titleSettingsModel/#fontfamily) - Specifies the font family for the title. +* [`fontWeight`](../api/chart3d/titleSettingsModel/#fontweight) - Specifies the font weight of the title. +* [`fontStyle`](../api/chart3d/titleSettingsModel/#fontstyle) - Specifies the font style for the title. +* [`opacity`](../api/chart3d/titleSettingsModel/#opacity) - Specifies the opacity for the color of the title. +* [`textAlignment`](../api/chart3d/titleSettingsModel/#textalignment) - Specifies the alignment of the title. +* [`textOverflow`](../api/chart3d/titleSettingsModel/#textoverflow) - Specifies the overflow of the title. {% tabs %} {% highlight ts tabtitle="index.ts" %} diff --git a/chart-sdk/typescript/3d-charts/axis-customization.md b/chart-sdk/typescript/3d-charts/axis-customization.md index e72594d73..8b0f59586 100644 --- a/chart-sdk/typescript/3d-charts/axis-customization.md +++ b/chart-sdk/typescript/3d-charts/axis-customization.md @@ -1,18 +1,19 @@ --- layout: post -title: Axis Customization in TypeScript 3D Charts | Syncfusion -description: Learn how to customize the axes of the Syncfusion TypeScript 3D Charts, including titles, labels, and tick lines. +title: Axis customization in TypeScript 3D Chart control | Syncfusion +description: Learn here all about axis customization in Syncfusion TypeScript 3D Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: 3D Charts +control: 3D Chart +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Axis Customization in TypeScript 3D Charts +# Axis customization in TypeScript 3D Chart control ## Title -The title for the axis can be added by using the [`title`](../api/chart3d/axis3D#title) property. It helps to provide quick information to the user about the data plotted in the axis. Title style can be customized using [`titleStyle`](../api/chart3d/axis3D#titlestyle) property of the axis. +The title for the axis can be added by using the [`title`](../api/chart3d/axis3D/#title) property. It helps to provide quick information to the user about the data plotted in the axis. Title style can be customized using [`titleStyle`](../api/chart3d/axis3D/#titlestyle) property of the axis. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -27,7 +28,7 @@ The title for the axis can be added by using the [`title`](../api/chart3d/axis3D ## Title rotation -The title can be rotated from 0 to 360 degree by using the [`titleRotation`](../api/chart3d/axis3D#titlerotation) property. +The title can be rotated from 0 to 360 degree by using the [`titleRotation`](../api/chart3d/axis3D/#titlerotation) property. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -42,7 +43,7 @@ The title can be rotated from 0 to 360 degree by using the [`titleRotation`](../ ## Tick lines customization -The [`width`](../api/chart3d/majorTickModel#width), [`color`](../api/chart3d/majorTickModel#color) and [`height`](../api/chart3d/majorTickModel#height) of the minor and major tick lines can be customized by using the [`majorTickLines`](../api/chart3d/axis3D#majorticklines) and [`minorTickLines`](../api/chart3d/axis3D#minorticklines) properties in the axis. +The [`width`](../api/chart3d/majorTickModel/#width), [`color`](../api/chart3d/majorTickModel/#color) and [`height`](../api/chart3d/majorTickModel/#height) of the minor and major tick lines can be customized by using the [`majorTickLines`](../api/chart3d/axis3D/#majorticklines) and [`minorTickLines`](../api/chart3d/axis3D/#minorticklines) properties in the axis. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -57,7 +58,7 @@ The [`width`](../api/chart3d/majorTickModel#width), [`color`](../api/chart3d/ma ## Grid lines customization -The [`width`](../api/chart3d/majorGridModel#width) and [`color`](../api/chart3d/majorGridModel#color) of the minor and major grid lines can be customized by using the [`majorGridLines`](../api/chart3d/axis3D#majorgridlines) and [`minorGridLines`](../api/chart3d/axis3D#minorgridlines) properties in the axis. +The [`width`](../api/chart3d/majorGridModel/#width) and [`color`](../api/chart3d/majorGridModel/#color) of the minor and major grid lines can be customized by using the [`majorGridLines`](../api/chart3d/axis3D/#majorgridlines) and [`minorGridLines`](../api/chart3d/axis3D/#minorgridlines) properties in the axis. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -89,7 +90,7 @@ In addition to primary X and Y axis, n number of axis can be added to the chart. -When an axis is inversed, highest value of the axis comes closer to origin and vice versa. To place an axis in inversed manner, set the [`isInversed`](../api/chart3d/axis3D#isinversed) property to **true**. +When an axis is inversed, highest value of the axis comes closer to origin and vice versa. To place an axis in inversed manner, set the [`isInversed`](../api/chart3d/axis3D/#isinversed) property to **true**. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -104,7 +105,7 @@ When an axis is inversed, highest value of the axis comes closer to origin and v ## Opposed position -To place an axis opposite from its original position, set the [`opposedPosition`](../api/chart3d/axis3D#opposedposition) property to **true**. +To place an axis opposite from its original position, set the [`opposedPosition`](../api/chart3d/axis3D/#opposedposition) property to **true**. {% tabs %} {% highlight ts tabtitle="index.ts" %} diff --git a/chart-sdk/typescript/3d-charts/axis-labels.md b/chart-sdk/typescript/3d-charts/axis-labels.md index 3c4277758..4c6bc1d43 100644 --- a/chart-sdk/typescript/3d-charts/axis-labels.md +++ b/chart-sdk/typescript/3d-charts/axis-labels.md @@ -1,20 +1,21 @@ --- layout: post -title: Axis Labels in TypeScript 3D Charts | Syncfusion -description: Learn how to customize axis labels in the Syncfusion TypeScript 3D Charts, including smart labels and edge label placement. +title: Axis labels in TypeScript 3D Chart control | Syncfusion +description: Learn here all about axis labels in Syncfusion TypeScript 3D Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: 3D Charts +control: 3D Chart +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Axis Labels in TypeScript 3D Charts +# Axis labels in TypeScript 3D Chart control Axis labels are the labels that are positioned adjacent to the y-axis and beneath the x-axis. It provides descriptive information about the axis. ## Smart axis labels -When the axis labels overlap with each other, [`labelIntersectAction`](../api/chart3d/axis3D#labelintersectaction) property in the axis can be used to place them smartly. +When the axis labels overlap with each other, [`labelIntersectAction`](../api/chart3d/axis3D/#labelintersectaction) property in the axis can be used to place them smartly. **Case 1**: When setting `labelIntersectAction` as `Hide`. @@ -58,7 +59,7 @@ When the axis labels overlap with each other, [`labelIntersectAction`](../api/c ## Edge label placement Labels with long text at the edges of an axis may appear partially in the 3D chart. To avoid this, -use the [`edgeLabelPlacement`](../api/chart3d/axis3D#edgelabelplacement) property in axis, which moves the label inside the chart area for better appearance or hides it. +use the [`edgeLabelPlacement`](../api/chart3d/axis3D/#edgelabelplacement) property in axis, which moves the label inside the chart area for better appearance or hides it. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -73,7 +74,7 @@ use the [`edgeLabelPlacement`](../api/chart3d/axis3D#edgelabelplacement) prope ## Maximum labels -The labels will be rendered based on the count in the [`maximumLabels`](../api/chart3d/axis3D#maximumlabels) property per 100 pixel. If the range (minimum, maximum, interval) and `maximumLabels` are set, then the priority goes to range. If the range is not set, then the priority goes to `maximumLabels` property. +The labels will be rendered based on the count in the [`maximumLabels`](../api/chart3d/axis3D/#maximumlabels) property per 100 pixel. If the range (minimum, maximum, interval) and `maximumLabels` are set, then the priority goes to range. If the range is not set, then the priority goes to `maximumLabels` property. {% tabs %} {% highlight ts tabtitle="index.ts" %} diff --git a/chart-sdk/typescript/3d-charts/category-axis.md b/chart-sdk/typescript/3d-charts/category-axis.md index ae96f4d66..aa1841539 100644 --- a/chart-sdk/typescript/3d-charts/category-axis.md +++ b/chart-sdk/typescript/3d-charts/category-axis.md @@ -1,14 +1,15 @@ --- layout: post -title: Category Axis in TypeScript 3D Charts | Syncfusion -description: Learn how to render the Syncfusion TypeScript 3D Charts with a category axis that shows text values along the horizontal axis. +title: Category axis in TypeScript 3D Chart control | Syncfusion +description: Learn here all about category axis in Syncfusion TypeScript 3D Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: 3D Charts +control: 3D Chart +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Category Axis in TypeScript 3D Charts +# Category axis in TypeScript 3D Chart control The category axis is the horizontal axis of a 3D chart that shows text values rather than numerical values. Compared to the vertical axis, this axis has fewer labels. The following sample shows to render the 3D chart using category axis. @@ -23,11 +24,11 @@ The category axis is the horizontal axis of a 3D chart that shows text values ra {% previewsample "https://help.syncfusion.com/code-snippet/chart-sdk/typescript/3d-charts/column-cs1" %} ->Note: To use category axis, we need to inject `Category3D` module using `Chart3D.Inject(Category3D)` method and set the [`valueType`](../api/chart3d/axis3D#valuetype) of axis to **Category**. +>Note: To use category axis, we need to inject `Category3D` module using `Chart3D.Inject(Category3D)` method and set the [`valueType`](../api/chart3d/axis3D/#valuetype) of axis to **Category**. ## Labels placement -By default, category axis labels are placed between ticks in an axis. It can also be placed on ticks using the [`labelPlacement`](../api/chart3d/axis3D#labelplacement) property. +By default, category axis labels are placed between ticks in an axis. It can also be placed on ticks using the [`labelPlacement`](../api/chart3d/axis3D/#labelplacement) property. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -42,7 +43,7 @@ By default, category axis labels are placed between ticks in an axis. It can als ## Range -The range of the category axis can be customized using [`minimum`](../api/chart3d/axis3D#minimum), [`maximum`](../api/chart3d/axis3D#maximum) and [`interval`](../api/chart3d/axis3D#interval) properties of the axis. +The range of the category axis can be customized using [`minimum`](../api/chart3d/axis3D/#minimum), [`maximum`](../api/chart3d/axis3D/#maximum) and [`interval`](../api/chart3d/axis3D/#interval) properties of the axis. {% tabs %} @@ -58,7 +59,7 @@ The range of the category axis can be customized using [`minimum`](../api/chart3 ## Indexed category axis -The category axis can also be rendered based on the index values of the data source. This can be achieved by defining the [`isIndexed`](../api/chart3d/axis3D#isindexed) property to **true** in the axis. +The category axis can also be rendered based on the index values of the data source. This can be achieved by defining the [`isIndexed`](../api/chart3d/axis3D/#isindexed) property to **true** in the axis. {% tabs %} {% highlight ts tabtitle="index.ts" %} diff --git a/chart-sdk/typescript/3d-charts/data-labels.md b/chart-sdk/typescript/3d-charts/data-labels.md index 303411748..b7ed340b8 100644 --- a/chart-sdk/typescript/3d-charts/data-labels.md +++ b/chart-sdk/typescript/3d-charts/data-labels.md @@ -1,16 +1,17 @@ --- layout: post -title: Data labels in TypeScript 3D Charts | Syncfusion -description: Learn how to add and customize data labels in the Syncfusion TypeScript 3D Charts for each chart series. +title: Data labels in TypeScript 3D Chart control | Syncfusion +description: Learn here all about data labels in Syncfusion TypeScript 3D Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: 3D Charts +control: 3D Chart +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Data labels in TypeScript 3D Charts +# Data labels in TypeScript 3D Chart control -Data labels are fields that includes information about the sample point connected to an output. It can be added to a chart series by enabling the [`visible`](../api/chart3d/dataLabelStyleModel#visible) property in the [`dataLabel`](../api/chart3d/series3DModel#datalabel). By default, the labels will arrange smartly without overlapping. +Data labels are fields that includes information about the sample point connected to an output. It can be added to a chart series by enabling the [`visible`](../api/chart3d/dataLabelStyleModel/#visible) property in the [`dataLabel`](../api/chart3d/series3DModel/#datalabel). By default, the labels will arrange smartly without overlapping. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -27,7 +28,7 @@ Data labels are fields that includes information about the sample point connecte ## Position -The [`position`](../api/chart3d/dataLabelStyleModel#position) property is used to place the label either on `Top`, `Middle`, or `Bottom`. +The [`position`](../api/chart3d/dataLabelStyleModel/#position) property is used to place the label either on `Top`, `Middle`, or `Bottom`. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -42,7 +43,7 @@ The [`position`](../api/chart3d/dataLabelStyleModel#position) property is used t ## Template -Label content can be formatted by using the template option. Inside the template, the placeholder text `${point.x}` and `${point.y}` can be added to display corresponding data points x & y value. Using [`template`](../api/chart3d/dataLabelStyleModel#template) property, the data label template can be set. +Label content can be formatted by using the template option. Inside the template, the placeholder text `${point.x}` and `${point.y}` can be added to display corresponding data points x & y value. Using [`template`](../api/chart3d/dataLabelStyleModel/#template) property, the data label template can be set. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -57,7 +58,7 @@ Label content can be formatted by using the template option. Inside the template ## Text mapping -Text from the data source can be mapped using the [`name`](../api/chart3d/dataLabelStyleModel#name) property. +Text from the data source can be mapped using the [`name`](../api/chart3d/dataLabelStyleModel/#name) property. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -72,7 +73,7 @@ Text from the data source can be mapped using the [`name`](../api/chart3d/dataLa ## Format -Data label for the chart can be formatted using the [`format`](../api/chart3d/dataLabelStyleModel#format) property. The global formatting options can be used as 'n', 'p', and 'c'. +Data label for the chart can be formatted using the [`format`](../api/chart3d/dataLabelStyleModel/#format) property. The global formatting options can be used as 'n', 'p', and 'c'. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -144,7 +145,7 @@ Data label for the chart can be formatted using the [`format`](../api/chart3d/da ## Margin -The [`margin`](../api/chart3d/dataLabelStyleModel#margin) for data label can be applied by using [`left`](../api/chart3d/marginModel#left), [`right`](../api/chart3d/marginModel#right), [`bottom`](../api/chart3d/marginModel#bottom) and [`top`](../api/chart3d/marginModel#top) properties. +The [`margin`](../api/chart3d/dataLabelStyleModel/#margin) for data label can be applied by using [`left`](../api/chart3d/marginModel/#left), [`right`](../api/chart3d/marginModel/#right), [`bottom`](../api/chart3d/marginModel/#bottom) and [`top`](../api/chart3d/marginModel/#top) properties. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -159,7 +160,7 @@ The [`margin`](../api/chart3d/dataLabelStyleModel#margin) for data label can be ## Customization -The `stroke` and `border` of data label can be customized using [`fill`](../api/chart3d/dataLabelStyleModel#fill) and [`border`](../api/chart3d/dataLabelStyleModel#border) properties. +The `stroke` and `border` of data label can be customized using [`fill`](../api/chart3d/dataLabelStyleModel/#fill) and [`border`](../api/chart3d/dataLabelStyleModel/#border) properties. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -174,7 +175,7 @@ The `stroke` and `border` of data label can be customized using [`fill`](../api/ ## Customizing specific label -A specific label can be customized by using the [`textRender`](../api/chart3d/i3dtextrendereventargs) event. The `textRender` event allows you to change the label text for the point. +A specific label can be customized by using the [`textRender`](../api/chart3d/i3dtextrendereventargs/) event. The `textRender` event allows you to change the label text for the point. {% tabs %} {% highlight ts tabtitle="index.ts" %} diff --git a/chart-sdk/typescript/3d-charts/datetime-axis.md b/chart-sdk/typescript/3d-charts/datetime-axis.md index 269c146eb..a7452a76e 100644 --- a/chart-sdk/typescript/3d-charts/datetime-axis.md +++ b/chart-sdk/typescript/3d-charts/datetime-axis.md @@ -1,15 +1,16 @@ --- layout: post -title: DateTime Axis in TypeScript 3D Charts | Syncfusion -description: Learn how to render the Syncfusion TypeScript 3D Charts with a DateTime axis that displays date and time scale values. +title: DateTime axis in TypeScript 3D Chart control | Syncfusion +description: Learn here all about DateTime axis in Syncfusion TypeScript 3D Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: 3D Charts +control: 3D Chart +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# DateTime Axis in TypeScript 3D Charts +# DateTime axis in TypeScript 3D Chart control ## DateTime axis @@ -26,7 +27,7 @@ DateTime axis uses date time scale and displays the date time values as axis lab {% previewsample "https://help.syncfusion.com/code-snippet/chart-sdk/typescript/3d-charts/date-time-cs1" %} ->Note: To use datetime axis, we need to inject `DateTime3D` module using `Chart3D.Inject(DateTime3D)` method and set the [`valueType`](../api/chart3d/axis3D#valuetype) of axis to **DateTime**. +>Note: To use datetime axis, we need to inject `DateTime3D` module using `Chart3D.Inject(DateTime3D)` method and set the [`valueType`](../api/chart3d/axis3D/#valuetype) of axis to **DateTime**. ## DateTime category axis @@ -43,11 +44,11 @@ DateTime category axis is used to display the date time values with non-linear i {% previewsample "https://help.syncfusion.com/code-snippet/chart-sdk/typescript/3d-charts/date-time-cs2" %} ->Note: To use datetime category axis, we need to inject `DateTimeCategory3D` module using the `Chart3D.Inject(DateTimeCategory3D)` method and set the [`valueType`](../api/chart3d/axis3D#valuetype) of axis to **DateTimeCategory**. +>Note: To use datetime category axis, we need to inject `DateTimeCategory3D` module using the `Chart3D.Inject(DateTimeCategory3D)` method and set the [`valueType`](../api/chart3d/axis3D/#valuetype) of axis to **DateTimeCategory**. ### Range -Range of an axis will be calculated automatically based on the provided data. You can also customize the range of an axis using [`minimum`](../api/chart3d/axis3D#minimum), [`maximum`](../api/chart3d/axis3D#maximum) and [`interval`](../api/chart3d/axis3D#interval) properties. +Range of an axis will be calculated automatically based on the provided data. You can also customize the range of an axis using [`minimum`](../api/chart3d/axis3D/#minimum), [`maximum`](../api/chart3d/axis3D/#maximum) and [`interval`](../api/chart3d/axis3D/#interval) properties. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -62,7 +63,7 @@ Range of an axis will be calculated automatically based on the provided data. Yo ### Interval customization -Date time intervals can be customized by using the [`interval`](../api/chart3d/axis3D#interval) and [`intervalType`](../api/chart3d/axis3D#intervaltype) properties of the axis. For example, when you set `interval` as **2** and `intervalType` as **Years**, it considers 2 years as interval. DateTime axis supports following interval types, +Date time intervals can be customized by using the [`interval`](../api/chart3d/axis3D/#interval) and [`intervalType`](../api/chart3d/axis3D/#intervaltype) properties of the axis. For example, when you set `interval` as **2** and `intervalType` as **Years**, it considers 2 years as interval. DateTime axis supports following interval types, * Auto * Years @@ -85,7 +86,7 @@ Date time intervals can be customized by using the [`interval`](../api/chart3d/a **Applying padding to the range** -Padding can be applied to the minimum and maximum extremes of the range by using the [`rangePadding`](../api/chart3d/axis3D#rangepadding) property. DateTime axis supports the following types of padding, +Padding can be applied to the minimum and maximum extremes of the range by using the [`rangePadding`](../api/chart3d/axis3D/#rangepadding) property. DateTime axis supports the following types of padding, * None * Round @@ -93,7 +94,7 @@ Padding can be applied to the minimum and maximum extremes of the range by using **DateTime - None** -When the [`rangePadding`](../api/chart3d/axis3D#rangepadding) is set to `None`, minimum and maximum of an axis is based on the data. +When the [`rangePadding`](../api/chart3d/axis3D/#rangepadding) is set to `None`, minimum and maximum of an axis is based on the data. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -108,7 +109,7 @@ When the [`rangePadding`](../api/chart3d/axis3D#rangepadding) is set to `None`, **DateTime - Round** -When the [`rangePadding`](../api/chart3d/axis3D#rangepadding) is set to `Round`, minimum and maximum will be rounded to the nearest possible value, which is divisible by interval. For example, when the minimum is **15th Jan**, interval is **1** and interval type is **Month**, then the axis minimum will be **Jan 1st**. +When the [`rangePadding`](../api/chart3d/axis3D/#rangepadding) is set to `Round`, minimum and maximum will be rounded to the nearest possible value, which is divisible by interval. For example, when the minimum is **15th Jan**, interval is **1** and interval type is **Month**, then the axis minimum will be **Jan 1st**. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -123,7 +124,7 @@ When the [`rangePadding`](../api/chart3d/axis3D#rangepadding) is set to `Round`, **DateTime - Additional** -When the [`rangePadding`](../api/chart3d/axis3D#rangepadding) is set to `Additional`, interval of an axis will be padded to the minimum and maximum of the axis. +When the [`rangePadding`](../api/chart3d/axis3D/#rangepadding) is set to `Additional`, interval of an axis will be padded to the minimum and maximum of the axis. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -138,7 +139,7 @@ When the [`rangePadding`](../api/chart3d/axis3D#rangepadding) is set to `Additio ## Label format -The date can be formatted and parsed to all globalize format using the [`labelFormat`](../api/chart3d/axis3D#labelformat) property in an axis. +The date can be formatted and parsed to all globalize format using the [`labelFormat`](../api/chart3d/axis3D/#labelformat) property in an axis. {% tabs %} {% highlight ts tabtitle="index.ts" %} diff --git a/chart-sdk/typescript/3d-charts/dimensions.md b/chart-sdk/typescript/3d-charts/dimensions.md index f3d1d0ae4..bc20a4e8a 100644 --- a/chart-sdk/typescript/3d-charts/dimensions.md +++ b/chart-sdk/typescript/3d-charts/dimensions.md @@ -1,14 +1,15 @@ --- layout: post -title: Dimensions in TypeScript 3D Charts | Syncfusion -description: Learn how to set the width and height of the Syncfusion TypeScript 3D Charts by configuring the container size. +title: Dimensions in TypeScript 3D Chart control | Syncfusion +description: Learn here all about dimensions in Syncfusion TypeScript 3D Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: 3D Charts +control: 3D Chart +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Dimensions in TypeScript 3D Charts +# Dimensions in TypeScript 3D Chart control ## Size for container @@ -36,7 +37,7 @@ The 3D chart can be rendered to its container size and it can be set via inline -The size of the 3D chart can be set directly through [`width`](../api/chart3d/chart3DModel#width) and [`height`](../api/chart3d/chart3DModel#height) properties. +The size of the 3D chart can be set directly through [`width`](../api/chart3d/chart3DModel/#width) and [`height`](../api/chart3d/chart3DModel/#height) properties. **In Pixel** diff --git a/chart-sdk/typescript/3d-charts/getting-started.md b/chart-sdk/typescript/3d-charts/getting-started.md index 4473b0118..dd65b11fc 100644 --- a/chart-sdk/typescript/3d-charts/getting-started.md +++ b/chart-sdk/typescript/3d-charts/getting-started.md @@ -1,24 +1,25 @@ --- layout: post -title: Getting Started with TypeScript 3D Charts | Syncfusion -description: Learn how to get started with the Syncfusion TypeScript 3D Charts in a TypeScript application using the EJ2 webpack quickstart. +title: Getting started with TypeScript 3D Chart control | Syncfusion +description: Check out and learn about Getting started with TypeScript 3D Chart control of Syncfusion Essential JS 2 and more details. platform: chart-sdk -control: 3D Charts +control: 3D Chart +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Getting started with TypeScript 3D Charts +# Getting started with TypeScript 3D Chart control This document explains how to create a simple 3D Chart and configure its features in TypeScript using the Essential JS 2 webpack [quickstart](https://github.com/SyncfusionExamples/ej2-quickstart-webpack) seed repository. -> This application is integrated with the `webpack.config.js` configuration and uses the latest version of the [webpack-cli](https://webpack.js.org/api/cli#commands). It requires node `v14.15.0` or higher. For more information about webpack and its features, refer to the [webpack getting-started guide](https://webpack.js.org/guides/getting-started). +> This application is integrated with the `webpack.config.js` configuration and uses the latest version of the [webpack-cli](https://webpack.js.org/api/cli/#commands). It requires node `v14.15.0` or higher. For more information about webpack and its features, refer to the [webpack getting-started guide](https://webpack.js.org/guides/getting-started/). ## Prerequisites Before you begin, ensure you have the following installed on your machine: -* [Node.js](https://nodejs.org/en) (v14.15.0 or higher) +* [Node.js](https://nodejs.org/) (v14.15.0 or higher) * [Visual Studio Code](https://code.visualstudio.com) (or any text editor) * [Git](https://git-scm.com/) for cloning the quickstart repository * A modern web browser (Chrome, Edge, Firefox, or Safari) to view the result @@ -162,7 +163,7 @@ Wait for the webpack dev server to complete the build process. Once completed, y The following screenshot shows the output of the Syncfusion 3D Chart quick start application — a Column series rendering 12 months of sample sales data with a Category axis on the x-axis and a formatted vertical axis. -![Syncfusion 3D Chart Quick Start Output](./images/Chart-3D-TS.png) +![Syncfusion 3D Chart Quick Start Output](./images/3D-Chart-TS.png) {% previewsample "https://help.syncfusion.com/code-snippet/chart-sdk/typescript/3d-charts/getting-started-cs7" %} diff --git a/chart-sdk/typescript/3d-charts/images/Chart-3D-TS.png b/chart-sdk/typescript/3d-charts/images/3D-Chart-TS.png similarity index 100% rename from chart-sdk/typescript/3d-charts/images/Chart-3D-TS.png rename to chart-sdk/typescript/3d-charts/images/3D-Chart-TS.png diff --git a/chart-sdk/typescript/3d-charts/legend.md b/chart-sdk/typescript/3d-charts/legend.md index 5b1d8d05b..762459cd4 100644 --- a/chart-sdk/typescript/3d-charts/legend.md +++ b/chart-sdk/typescript/3d-charts/legend.md @@ -1,15 +1,16 @@ --- layout: post -title: Legend in TypeScript 3D Charts | Syncfusion -description: Learn how to add and customize the legend in the Syncfusion TypeScript 3D Charts, including position, alignment, and title. +title: Legend in TypeScript 3D Chart control | Syncfusion +description: Learn here all about legend in Syncfusion TypeScript 3D Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: 3D Charts +control: 3D Chart +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Legend in TypeScript 3D Charts +# Legend in TypeScript 3D Chart control @@ -17,7 +18,7 @@ Legend provides information about the series rendered in the 3D chart. ## Position and alignment -By using the [`position`](../api/chart3d/legendSettings#position) property, the legend can be positioned at left, right, top or bottom of the 3D chart. The legend is positioned at the bottom of the 3D chart, by default. +By using the [`position`](../api/chart3d/legendSettings/#position) property, the legend can be positioned at left, right, top or bottom of the 3D chart. The legend is positioned at the bottom of the 3D chart, by default. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -45,7 +46,7 @@ The custom position helps you to position the legend anywhere in the 3D chart us ### Legend reverse -The order of the legend items can be reversed by using the [`reverse`](../api/chart3d/legendSettings#reverse) property. By default, legend for the first series in the collection will be placed first. +The order of the legend items can be reversed by using the [`reverse`](../api/chart3d/legendSettings/#reverse) property. By default, legend for the first series in the collection will be placed first. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -60,7 +61,7 @@ The order of the legend items can be reversed by using the [`reverse`](../api/ch ### Legend alignment -The legend can be aligned at near, far or center to the 3D chart using the [`alignment`](../api/chart3d/legendSettings#alignment) property. +The legend can be aligned at near, far or center to the 3D chart using the [`alignment`](../api/chart3d/legendSettings/#alignment) property. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -75,7 +76,7 @@ The legend can be aligned at near, far or center to the 3D chart using the [`ali ## Legend customization -To change the legend icon shape, [`legendShape`](../api/chart3d/series3D#legendshape) property in the [`series`](../api/chart3d/series3D) can be used. By default, the legend icon shape is `seriesType`. +To change the legend icon shape, [`legendShape`](../api/chart3d/series3D/#legendshape) property in the [`series`](../api/chart3d/series3D/) can be used. By default, the legend icon shape is `seriesType`. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -90,7 +91,7 @@ To change the legend icon shape, [`legendShape`](../api/chart3d/series3D#legends ### Legend size -By default, legend takes 20% - 25% of the 3D chart's height horizontally, when it is placed on top or bottom position and 20% - 25% of the 3D chart's width vertically, when it is placed on left or right position. You can change this default legend size by using the [`height`](../api/chart3d/legendSettings#height) and [`width`](../api/chart3d/legendSettings#width) properties of the `legendSettings`. +By default, legend takes 20% - 25% of the 3D chart's height horizontally, when it is placed on top or bottom position and 20% - 25% of the 3D chart's width vertically, when it is placed on left or right position. You can change this default legend size by using the [`height`](../api/chart3d/legendSettings/#height) and [`width`](../api/chart3d/legendSettings/#width) properties of the `legendSettings`. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -105,7 +106,7 @@ By default, legend takes 20% - 25% of the 3D chart's height horizontally, when i ### Legend item size -The size of the legend items can be customised by using the [`shapeHeight`](../api/chart3d/legendSettings#shapeheight) and [`shapeWidth`](../api/chart3d/legendSettings#shapewidth) properties. +The size of the legend items can be customised by using the [`shapeHeight`](../api/chart3d/legendSettings/#shapeheight) and [`shapeWidth`](../api/chart3d/legendSettings/#shapewidth) properties. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -135,7 +136,7 @@ Paging will be enabled by default, when the legend items exceeds the legend boun ### Legend text wrap -When the legend text exceeds the container, the text can be wrapped by using the [`textWrap`](../api/chart3d/legendSettings#textwrap) property. End user can also wrap the legend text based on the [`maximumLabelWidth`](../api/chart3d/legendSettings#maximumlabelwidth) property. +When the legend text exceeds the container, the text can be wrapped by using the [`textWrap`](../api/chart3d/legendSettings/#textwrap) property. End user can also wrap the legend text based on the [`maximumLabelWidth`](../api/chart3d/legendSettings/#maximumlabelwidth) property. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -150,7 +151,7 @@ When the legend text exceeds the container, the text can be wrapped by using the ## Series selection through legend -By default, you can collapse the series visibility by clicking the legend. On the other hand, turn off the [`toggleVisibility`](../api/chart3d/legendSettings#togglevisibility) property if you must use a legend click to choose a series. +By default, you can collapse the series visibility by clicking the legend. On the other hand, turn off the [`toggleVisibility`](../api/chart3d/legendSettings/#togglevisibility) property if you must use a legend click to choose a series. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -180,7 +181,7 @@ By default, series name will be displayed as legend. To skip the legend for a pa ## Legend title -You can set title for legend using [`title`](../api/chart3d/legendSettings#title) property in [`legendSettings`](../api/chart3d/legendSettings). The [`size`](../api/chart3d/fontModel#size), [`color`](../api/chart3d/fontModel#color), [`opacity`](../api/chart3d/fontModel#opacity),[`fontStyle`](../api/chart3d/fontModel#fontstyle), [`fontWeight`](../api/chart3d/fontModel#fontweight), [`fontFamily`](../api/chart3d/fontModel#fontfamily), [`textAlignment`](../api/chart3d/fontModel#textalignment), and [`textOverflow`](../api/chart3d/fontModel#textoverflow) of legend title can be customized by using the [`titleStyle`](../api/chart3d/legendSettings#titlestyle) property in [`legendSettings`](../api/chart3d/legendSettings). The [`titlePosition`](../api/chart3d/legendSettings#titleposition) is used to set the legend position in `Top`, `Left` and `Right` position. The [`maximumTitleWidth`](../api/chart3d/legendSettings#maximumtitlewidth) is used to set the width of the legend title. By default, it will be `100px`. +You can set title for legend using [`title`](../api/chart3d/legendSettings/#title) property in [`legendSettings`](../api/chart3d/legendSettings). The [`size`](../api/chart3d/fontModel/#size), [`color`](../api/chart3d/fontModel/#color), [`opacity`](../api/chart3d/fontModel/#opacity),[`fontStyle`](../api/chart3d/fontModel/#fontstyle), [`fontWeight`](../api/chart3d/fontModel/#fontweight), [`fontFamily`](../api/chart3d/fontModel/#fontfamily), [`textAlignment`](../api/chart3d/fontModel/#textalignment), and [`textOverflow`](../api/chart3d/fontModel/#textoverflow) of legend title can be customized by using the [`titleStyle`](../api/chart3d/legendSettings/#titlestyle) property in [`legendSettings`](../api/chart3d/legendSettings/). The [`titlePosition`](../api/chart3d/legendSettings/#titleposition) is used to set the legend position in `Top`, `Left` and `Right` position. The [`maximumTitleWidth`](../api/chart3d/legendSettings/#maximumtitlewidth) is used to set the width of the legend title. By default, it will be `100px`. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -195,7 +196,7 @@ You can set title for legend using [`title`](../api/chart3d/legendSettings#title ## Arrow page navigation -The page number will always be visible while using legend paging. It is now possible to disable the page number and enable page navigation with the left and right arrows. The [`enablePages`](../api/chart3d/legendSettings#enablepages) property needs to be set to **false** in order to render the arrow page navigation. +The page number will always be visible while using legend paging. It is now possible to disable the page number and enable page navigation with the left and right arrows. The [`enablePages`](../api/chart3d/legendSettings/#enablepages) property needs to be set to **false** in order to render the arrow page navigation. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -210,7 +211,7 @@ The page number will always be visible while using legend paging. It is now poss ## Legend item padding -The [`itemPadding`](../api/chart3d/legendSettings#itempadding) property can be used to adjust the space between the legend items. +The [`itemPadding`](../api/chart3d/legendSettings/#itempadding) property can be used to adjust the space between the legend items. {% tabs %} {% highlight ts tabtitle="index.ts" %} diff --git a/chart-sdk/typescript/3d-charts/logarithmic-axis.md b/chart-sdk/typescript/3d-charts/logarithmic-axis.md index a1a7b8e60..26516c3df 100644 --- a/chart-sdk/typescript/3d-charts/logarithmic-axis.md +++ b/chart-sdk/typescript/3d-charts/logarithmic-axis.md @@ -1,14 +1,15 @@ --- layout: post -title: Logarithmic Axis in TypeScript 3D Charts | Syncfusion -description: Learn how to render the Syncfusion TypeScript 3D Charts with a logarithmic axis to visualize data across many orders of magnitude. +title: Logarithmic axis in TypeScript 3D Chart control | Syncfusion +description: Learn here all about logarithmic axis in Syncfusion TypeScript 3D Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: 3D Charts +control: 3D Chart +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Logarithmic Axis in TypeScript 3D Charts +# Logarithmic axis in TypeScript 3D Chart control Logarithmic axis uses logarithmic scale and it is very useful in visualizing data, when it has numerical values in both lower order of magnitude (eg: 10-6) and higher order of magnitude (eg: 106). @@ -23,11 +24,11 @@ Logarithmic axis uses logarithmic scale and it is very useful in visualizing dat {% previewsample "https://help.syncfusion.com/code-snippet/chart-sdk/typescript/3d-charts/logarithmic-cs1" %} ->Note: To use logarithmic axis, we need to inject `Logarithmic3D` module using the `Chart3D.Inject(Logarithmic3D)` method and set the [`valueType`](../api/chart3d/axis3D#valuetype) of the axis to **Logarithmic**. +>Note: To use logarithmic axis, we need to inject `Logarithmic3D` module using the `Chart3D.Inject(Logarithmic3D)` method and set the [`valueType`](../api/chart3d/axis3D/#valuetype) of the axis to **Logarithmic**. ## Range -The range of an axis will be calculated automatically based on the provided data and it can also be customized by using the [`minimum`](../api/chart3d/axis3D#minimum), [`maximum`](../api/chart3d/axis3D#maximum) and [`interval`](../api/chart3d/axis3D#interval) properties of the axis. +The range of an axis will be calculated automatically based on the provided data and it can also be customized by using the [`minimum`](../api/chart3d/axis3D/#minimum), [`maximum`](../api/chart3d/axis3D/#maximum) and [`interval`](../api/chart3d/axis3D/#interval) properties of the axis. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -42,7 +43,7 @@ The range of an axis will be calculated automatically based on the provided data ## Logarithmic base -Logarithmic base can be customized by using the [`logBase`](../api/chart3d/axis3D#logbase) property of the axis. For example when the `logBase` is **5**, the axis values follows 5-2, 5-1, 50, 51, 52 etc. +Logarithmic base can be customized by using the [`logBase`](../api/chart3d/axis3D/#logbase) property of the axis. For example when the `logBase` is **5**, the axis values follows 5-2, 5-1, 50, 51, 52 etc. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -57,7 +58,7 @@ Logarithmic base can be customized by using the [`logBase`](../api/chart3d/axis ## Logarithmic interval -The interval of the logarithmic axis can be customized by using the [`interval`](../api/chart3d/axis3D#interval) property in the axis. When the logarithmic base is 10 and logarithmic **interval** is 2, then the axis labels are placed at an interval of 102. The default value of the [`interval`](../api/chart3d/axis3D#interval) is **1**. +The interval of the logarithmic axis can be customized by using the [`interval`](../api/chart3d/axis3D/#interval) property in the axis. When the logarithmic base is 10 and logarithmic **interval** is 2, then the axis labels are placed at an interval of 102. The default value of the [`interval`](../api/chart3d/axis3D/#interval) is **1**. {% tabs %} {% highlight ts tabtitle="index.ts" %} diff --git a/chart-sdk/typescript/3d-charts/multiple-panes.md b/chart-sdk/typescript/3d-charts/multiple-panes.md index 7c12e90ed..bd0752bc5 100644 --- a/chart-sdk/typescript/3d-charts/multiple-panes.md +++ b/chart-sdk/typescript/3d-charts/multiple-panes.md @@ -1,23 +1,24 @@ --- layout: post -title: Multiple panes in TypeScript 3D Charts | Syncfusion -description: Learn how to split the Syncfusion TypeScript 3D Charts area into multiple rows and columns to create multiple panes. +title: Multiple panes in TypeScript 3D Chart control | Syncfusion +description: Learn here all about multiple panes in Syncfusion TypeScript 3D Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: 3D Charts +control: 3D Chart +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Multiple panes in TypeScript 3D Charts +# Multiple panes in TypeScript 3D Chart control -The chart area can be divided into multiple panes using [`rows`](../api/chart3d/chart3DModel#rows) and [`columns`](../api/chart3d/chart3DModel#columns). +The chart area can be divided into multiple panes using [`rows`](../api/chart3d/chart3DModel/#rows) and [`columns`](../api/chart3d/chart3DModel/#columns). ## Rows -To split the chart area vertically into number of rows, use [`rows`](../api/chart3d/chart3DModel#rows) property of the 3D chart. +To split the chart area vertically into number of rows, use [`rows`](../api/chart3d/chart3DModel/#rows) property of the 3D chart. -* The space for each row can be allocated by using the [`height`](../api/chart3d/threeDimensionRowModel#height) property. The value can be either in percentage or in pixel. -* To associate a vertical axis to a particular row, specify its index to [`rowIndex`](../api/chart3d/axis3DModel#rowindex) property of the axis. +* The space for each row can be allocated by using the [`height`](../api/chart3d/threeDimensionRowModel/#height) property. The value can be either in percentage or in pixel. +* To associate a vertical axis to a particular row, specify its index to [`rowIndex`](../api/chart3d/axis3DModel/#rowindex) property of the axis. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -30,7 +31,7 @@ To split the chart area vertically into number of rows, use [`rows`](../api/char {% previewsample "https://help.syncfusion.com/code-snippet/chart-sdk/typescript/3d-charts/multi-pane-cs1" %} -For spanning the vertical axis along multiple rows, use [`span`](../api/chart3d/axis3DModel#span) property of an axis. +For spanning the vertical axis along multiple rows, use [`span`](../api/chart3d/axis3DModel/#span) property of an axis. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -45,10 +46,10 @@ For spanning the vertical axis along multiple rows, use [`span`](../api/chart3d ## Columns -To split the chart area horizontally into number of columns, use [`columns`](../api/chart3d/chart3DModel#columns) property of the 3D chart. +To split the chart area horizontally into number of columns, use [`columns`](../api/chart3d/chart3DModel/#columns) property of the 3D chart. -* The space for each column can be allocated by using the [`width`](../api/chart3d/threeDimensionColumnModel#width) property. The given width can be either in percentage or in pixel. -* To associate a horizontal axis to a particular column, specify its index to [`columnIndex`](../api/chart3d/axis3DModel#columnindex) property of the axis. +* The space for each column can be allocated by using the [`width`](../api/chart3d/threeDimensionColumnModel/#width) property. The given width can be either in percentage or in pixel. +* To associate a horizontal axis to a particular column, specify its index to [`columnIndex`](../api/chart3d/axis3DModel/#columnindex) property of the axis. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -61,7 +62,7 @@ To split the chart area horizontally into number of columns, use [`columns`](../ {% previewsample "https://help.syncfusion.com/code-snippet/chart-sdk/typescript/3d-charts/multi-pane-cs3" %} -For spanning the vertical axis along multiple column, you can use [`span`](../api/chart3d/axis3DModel#span) property of an axis. +For spanning the vertical axis along multiple column, you can use [`span`](../api/chart3d/axis3DModel/#span) property of an axis. {% tabs %} {% highlight ts tabtitle="index.ts" %} diff --git a/chart-sdk/typescript/3d-charts/numeric-axis.md b/chart-sdk/typescript/3d-charts/numeric-axis.md index 6e09bc621..79fad39b9 100644 --- a/chart-sdk/typescript/3d-charts/numeric-axis.md +++ b/chart-sdk/typescript/3d-charts/numeric-axis.md @@ -1,15 +1,16 @@ --- layout: post -title: Numeric Axis in TypeScript 3D Charts | Syncfusion -description: Learn how to render the Syncfusion TypeScript 3D Charts with a numeric axis to represent numeric values along an axis. +title: Numeric axis in TypeScript 3D Chart control | Syncfusion +description: Learn here all about numeric axis in Syncfusion TypeScript 3D Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: 3D Charts +control: 3D Chart +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Numeric Axis in TypeScript 3D Charts +# Numeric axis in TypeScript 3D Chart control The [numeric axis](https://www.syncfusion.com/javascript-ui-controls/js-charts/chart-axis) can be used to represent the numeric values of data in 3D chart. By default, the `valueType` of an axis is **Double**. @@ -26,7 +27,7 @@ The [numeric axis](https://www.syncfusion.com/javascript-ui-controls/js-charts/c ## Range -The range of an axis will be calculated automatically based on the provided data, and it can also be customized by using the [`minimum`](../api/chart3d/axis3D#maximum), [`maximum`](../api/chart3d/axis3D#maximum) and [`interval`](../api/chart3d/axis3D#interval) properties of the axis. +The range of an axis will be calculated automatically based on the provided data, and it can also be customized by using the [`minimum`](../api/chart3d/axis3D/#maximum), [`maximum`](../api/chart3d/axis3D/#maximum) and [`interval`](../api/chart3d/axis3D/#interval) properties of the axis. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -41,7 +42,7 @@ The range of an axis will be calculated automatically based on the provided data ## Range padding -Padding can be applied to the minimum and maximum extremes of an axis range by using the [`rangePadding`](../api/chart3d/axis3D#rangepadding) property. Numeric axis supports the following types of padding. +Padding can be applied to the minimum and maximum extremes of an axis range by using the [`rangePadding`](../api/chart3d/axis3D/#rangepadding) property. Numeric axis supports the following types of padding. * None * Round @@ -51,7 +52,7 @@ Padding can be applied to the minimum and maximum extremes of an axis range by u **Numeric - None** -When the [`rangePadding`](../api/chart3d/axis3D#rangepadding) is set to `None`, minimum and maximum of the axis is based on the data. +When the [`rangePadding`](../api/chart3d/axis3D/#rangepadding) is set to `None`, minimum and maximum of the axis is based on the data. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -66,7 +67,7 @@ When the [`rangePadding`](../api/chart3d/axis3D#rangepadding) is set to `None`, **Numeric - Round** -When the [`rangePadding`](../api/chart3d/axis3D#rangepadding) is set to **Round**, minimum and maximum will be rounded to the nearest possible value, which is divisible by interval. For example, when the [`minimum`](../api/chart3d/axis3D#maximum) is **3.5** and the [`interval`](../api/chart3d/axis3D#interval) is **1**, then the minimum will be rounded to **3**. +When the [`rangePadding`](../api/chart3d/axis3D/#rangepadding) is set to **Round**, minimum and maximum will be rounded to the nearest possible value, which is divisible by interval. For example, when the [`minimum`](../api/chart3d/axis3D/#maximum) is **3.5** and the [`interval`](../api/chart3d/axis3D/#interval) is **1**, then the minimum will be rounded to **3**. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -81,7 +82,7 @@ When the [`rangePadding`](../api/chart3d/axis3D#rangepadding) is set to **Round* **Numeric - Additional** -When the [`rangePadding`](../api/chart3d/axis3D#rangepadding) is set to **Additional**, interval of an axis will be added to the minimum and maximum of the axis. +When the [`rangePadding`](../api/chart3d/axis3D/#rangepadding) is set to **Additional**, interval of an axis will be added to the minimum and maximum of the axis. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -96,7 +97,7 @@ When the [`rangePadding`](../api/chart3d/axis3D#rangepadding) is set to **Additi **Numeric - Normal** -When the [`rangePadding`](../api/chart3d/axis3D#rangepadding) is set to **Normal**, padding is applied to the axis based on default range calculation. +When the [`rangePadding`](../api/chart3d/axis3D/#rangepadding) is set to **Normal**, padding is applied to the axis based on default range calculation. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -111,7 +112,7 @@ When the [`rangePadding`](../api/chart3d/axis3D#rangepadding) is set to **Normal **Numeric - Auto** -When the [`rangePadding`](../api/chart3d/axis3D#rangepadding) is set to **Auto**, horizontal numeric axis takes **None** as padding calculation, while the vertical numeric axis takes **Normal** as padding calculation. +When the [`rangePadding`](../api/chart3d/axis3D/#rangepadding) is set to **Auto**, horizontal numeric axis takes **None** as padding calculation, while the vertical numeric axis takes **Normal** as padding calculation. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -128,7 +129,7 @@ When the [`rangePadding`](../api/chart3d/axis3D#rangepadding) is set to **Auto** **Numeric label format** -Numeric labels can be formatted by using the [`labelFormat`](../api/chart3d/axis3D#labelformat) property. Also, it supports all globalize format. +Numeric labels can be formatted by using the [`labelFormat`](../api/chart3d/axis3D/#labelformat) property. Also, it supports all globalize format. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -203,7 +204,7 @@ The following table describes the result of applying some commonly used label fo ## Grouping separator -To separate the y-axis labels to groups of thousands, set the [`useGroupingSeparator`](../api/chart3d/chart3DModel#usegroupingseparator) property to **true** in the 3D chart. +To separate the y-axis labels to groups of thousands, set the [`useGroupingSeparator`](../api/chart3d/chart3DModel/#usegroupingseparator) property to **true** in the 3D chart. {% tabs %} {% highlight ts tabtitle="index.ts" %} diff --git a/chart-sdk/typescript/3d-charts/print-export.md b/chart-sdk/typescript/3d-charts/print-export.md index a95f6840e..ac6121125 100644 --- a/chart-sdk/typescript/3d-charts/print-export.md +++ b/chart-sdk/typescript/3d-charts/print-export.md @@ -1,18 +1,19 @@ --- layout: post -title: Print and Export in TypeScript 3D Charts | Syncfusion -description: Learn how to print and export the Syncfusion TypeScript 3D Charts from the browser using the built-in print method. +title: Print and Export in TypeScript 3D Chart control | Syncfusion +description: Learn here all about print and export in Syncfusion TypeScript 3D Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: 3D Charts +control: 3D Chart +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Print and Export in TypeScript 3D Charts +# Print and Export in TypeScript 3D Chart control ## Print -The rendered 3D chart can be printed directly from the browser by calling the public method [`print`](../api/chart3d/printUtils#print). The ID of the 3D chart's div element must be passed as the input parameter to that method. +The rendered 3D chart can be printed directly from the browser by calling the public method [`print`](../api/chart3d/printUtils/#print). The ID of the 3D chart's div element must be passed as the input parameter to that method. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -27,7 +28,7 @@ The rendered 3D chart can be printed directly from the browser by calling the pu ## Export -The rendered 3D chart can be exported to `JPEG`, `PNG`, `SVG`, or `PDF` format using the [`export`](../api/chart3d/exportUtils#export) method. The input parameters for this method are: `type` for format and `fileName` for result. +The rendered 3D chart can be exported to `JPEG`, `PNG`, `SVG`, or `PDF` format using the [`export`](../api/chart3d/exportUtils/#export) method. The input parameters for this method are: `type` for format and `fileName` for result. {% tabs %} {% highlight ts tabtitle="index.ts" %} diff --git a/chart-sdk/typescript/3d-charts/selection.md b/chart-sdk/typescript/3d-charts/selection.md index bc3e638c4..e5bf04556 100644 --- a/chart-sdk/typescript/3d-charts/selection.md +++ b/chart-sdk/typescript/3d-charts/selection.md @@ -1,15 +1,16 @@ --- layout: post -title: Selection in TypeScript 3D Charts | Syncfusion -description: Learn how to enable selection in the Syncfusion TypeScript 3D Charts for series and data points on mouse click. +title: Selection in TypeScript 3D Chart control | Syncfusion +description: Learn here all about selection in Syncfusion TypeScript 3D Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: 3D Charts +control: 3D Chart +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Selection in TypeScript 3D Charts +# Selection in TypeScript 3D Chart control The 3D chart provides selection support for the series and its data points on mouse click. @@ -24,7 +25,7 @@ We have different types of selection mode for selecting a data. ## Point -To select a point, set the [`selectionMode`](../api/chart3d/chart3DModel#selectionmode) property to **Point**. +To select a point, set the [`selectionMode`](../api/chart3d/chart3DModel/#selectionmode) property to **Point**. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -39,7 +40,7 @@ To select a point, set the [`selectionMode`](../api/chart3d/chart3DModel#selecti ## Series -To select a series, set the [`selectionMode`](../api/chart3d/chart3DModel#selectionmode) property to **Series**. +To select a series, set the [`selectionMode`](../api/chart3d/chart3DModel/#selectionmode) property to **Series**. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -54,7 +55,7 @@ To select a series, set the [`selectionMode`](../api/chart3d/chart3DModel#select ## Cluster -To select the points that corresponds to the same index in all the series, set the [`selectionMode`](../api/chart3d/chart3DModel#selectionmode) property to **Cluster**. +To select the points that corresponds to the same index in all the series, set the [`selectionMode`](../api/chart3d/chart3DModel/#selectionmode) property to **Cluster**. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -69,7 +70,7 @@ To select the points that corresponds to the same index in all the series, set t ## Selection type -To select multiple points or series, enable the [`isMultiSelect`](../api/chart3d/chart3DModel#ismultiselect) property. +To select multiple points or series, enable the [`isMultiSelect`](../api/chart3d/chart3DModel/#ismultiselect) property. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -84,7 +85,7 @@ To select multiple points or series, enable the [`isMultiSelect`](../api/chart3d ## Selection during initial loading -In a 3D chart, selecting a point or series during initial loading can only be done programmatically. The [`selectedDataIndexes`](../api/chart3d/chart3DModel#selecteddataindexes) property can be used for this. +In a 3D chart, selecting a point or series during initial loading can only be done programmatically. The [`selectedDataIndexes`](../api/chart3d/chart3DModel/#selecteddataindexes) property can be used for this. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -99,7 +100,7 @@ In a 3D chart, selecting a point or series during initial loading can only be do ## Selection through legend -To select a point or series through legend use the [`toggleVisibility`](../api/chart3d/legendSettingsModel#togglevisibility) property. Also, use [`enableHighlight`](../api/chart3d/legendSettingsModel#enablehighlight) property for highlighting the series through legend. +To select a point or series through legend use the [`toggleVisibility`](../api/chart3d/legendSettingsModel/#togglevisibility) property. Also, use [`enableHighlight`](../api/chart3d/legendSettingsModel/#enablehighlight) property for highlighting the series through legend. {% tabs %} {% highlight ts tabtitle="index.ts" %} diff --git a/chart-sdk/typescript/3d-charts/tool-tip.md b/chart-sdk/typescript/3d-charts/tool-tip.md index 66ecd4ca2..1284c8731 100644 --- a/chart-sdk/typescript/3d-charts/tool-tip.md +++ b/chart-sdk/typescript/3d-charts/tool-tip.md @@ -1,14 +1,15 @@ --- layout: post -title: Tooltip in TypeScript 3D Charts | Syncfusion -description: Learn how to enable and customize tooltips in the Syncfusion TypeScript 3D Charts to display point details on hover. +title: Tooltip in TypeScript 3D Chart control | Syncfusion +description: Learn here all about tooltip in Syncfusion TypeScript 3D Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: 3D Charts +control: 3D Chart +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Tooltip in TypeScript 3D Charts +# Tooltip in TypeScript 3D Chart control @@ -16,7 +17,7 @@ The 3D Chart will display details about the points through tooltip, when the mou ## Default tooltip -By default, tooltip is not visible. The tooltip can be enabled by setting the [`enable`](../../api/chart3d/tooltipSettings#enable) property in `tooltipSettings` to **true** and by injecting `Tooltip3D` module using `Chart3D.Inject(Tooltip3D)`. +By default, tooltip is not visible. The tooltip can be enabled by setting the [`enable`](../../api/chart3d/tooltipSettings/#enable) property in `tooltipSettings` to **true** and by injecting `Tooltip3D` module using `Chart3D.Inject(Tooltip3D)`. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -33,7 +34,7 @@ By default, tooltip is not visible. The tooltip can be enabled by setting the [` ## Fixed tooltip -By default, tooltip track the mouse movement, but the tooltip can be set in fixed position by using the [`location`](../../api/chart3d/tooltipSettings#location) property. +By default, tooltip track the mouse movement, but the tooltip can be set in fixed position by using the [`location`](../../api/chart3d/tooltipSettings/#location) property. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -50,7 +51,7 @@ By default, tooltip track the mouse movement, but the tooltip can be set in fixe -By default, tooltip shows information of x and y value in points. In addition to that, more information can be shown in tooltip by using the [`format`](../../api/chart3d/tooltipSettings#format) property. For example the format `${series.name} : ${point.y}` shows series name and point y value. +By default, tooltip shows information of x and y value in points. In addition to that, more information can be shown in tooltip by using the [`format`](../../api/chart3d/tooltipSettings/#format) property. For example the format `${series.name} : ${point.y}` shows series name and point y value. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -65,7 +66,7 @@ By default, tooltip shows information of x and y value in points. In addition to ## Inline tooltip formatting -The tooltip content can be formatted directly within the [`format`](../../api/chart3d/tooltipSettings#format) property by adding DateTime or number format specifiers to supported tooltip tokens. This allows you to control how point and series values are displayed without using additional events. +The tooltip content can be formatted directly within the [`format`](../../api/chart3d/tooltipSettings/#format) property by adding DateTime or number format specifiers to supported tooltip tokens. This allows you to control how point and series values are displayed without using additional events. A format specifier can be applied to a tooltip token by adding a colon (`:`) followed by the required format. @@ -115,7 +116,7 @@ If the specified format does not match the resolved value type, the original val ## Tooltip template -Any HTML elements can be displayed in the tooltip by using the [`template`](../../api/chart3d/tooltipSettings#template) property of the tooltip. The ${x} and ${y} can be used as place holders in the HTML element to display the x and y values of the corresponding data point. +Any HTML elements can be displayed in the tooltip by using the [`template`](../../api/chart3d/tooltipSettings/#template) property of the tooltip. The ${x} and ${y} can be used as place holders in the HTML element to display the x and y values of the corresponding data point. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -130,7 +131,7 @@ Any HTML elements can be displayed in the tooltip by using the [`template`](../. ## Customize the appearance of tooltip -The [`fill`](../../api/chart3d/tooltipSettings#fill) and [`border`](../../api/chart3d/tooltipSettings#border) properties are used to customize the background color and border of the tooltip respectively. The [`textStyle`](../../api/chart3d/tooltipSettings#textstyle) property in the tooltip is used to customize the font of the tooltip text. +The [`fill`](../../api/chart3d/tooltipSettings/#fill) and [`border`](../../api/chart3d/tooltipSettings/#border) properties are used to customize the background color and border of the tooltip respectively. The [`textStyle`](../../api/chart3d/tooltipSettings/#textstyle) property in the tooltip is used to customize the font of the tooltip text. {% tabs %} {% highlight ts tabtitle="index.ts" %} diff --git a/chart-sdk/typescript/3d-charts/working-with-data.md b/chart-sdk/typescript/3d-charts/working-with-data.md index ac1e3f60e..3f7fc9d3c 100644 --- a/chart-sdk/typescript/3d-charts/working-with-data.md +++ b/chart-sdk/typescript/3d-charts/working-with-data.md @@ -1,19 +1,20 @@ --- layout: post -title: Working with Data in TypeScript 3D Charts | Syncfusion -description: Learn how to bind local, remote, and complex data sources to the Syncfusion TypeScript 3D Charts using the dataSource property. +title: Working with data source in TypeScript 3D Chart control | Syncfusion +description: Learn here all about working with data source in Syncfusion TypeScript 3D Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: 3D Charts +control: 3D Chart +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Working with Data in TypeScript 3D Charts +# Working with data in TypeScript 3D Chart control ## Local data -A simple JSON data can be bound to the 3D chart using [`dataSource`](../api/chart3d/series3DModel#datasource) property in series. Now map the fields in JSON to [`xName`](../api/chart3d/series3DModel#xname) and [`yName`](../api/chart3d/series3DModel#yname) properties. +A simple JSON data can be bound to the 3D chart using [`dataSource`](../api/chart3d/series3DModel/#datasource) property in series. Now map the fields in JSON to [`xName`](../api/chart3d/series3DModel/#xname) and [`yName`](../api/chart3d/series3DModel/#yname) properties. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -28,7 +29,7 @@ A simple JSON data can be bound to the 3D chart using [`dataSource`](../api/char ## Remote data -The remote data can be bound to the 3D chart using the [`DataManager`](https://ej2.syncfusion.com/documentation/api/data/dataManager). The `DataManager` requires minimal information like web service URL, adaptor and cross domain to interact with service endpoint properly. Assign the instance of the `DataManager` to the [`dataSource`](../api/chart3d/series3DModel#datasource) property in series and map the fields of data to [`xName`](../api/chart3d/series3DModel#xname) and [`yName`](../api/chart3d/series3DModel#yname) properties. You can also use the [`query`](../api/chart3d/series3DModel#query) property of the series to filter the data. +The remote data can be bound to the 3D chart using the [`DataManager`](https://ej2.syncfusion.com/documentation/api/data/dataManager/). The `DataManager` requires minimal information like web service URL, adaptor and cross domain to interact with service endpoint properly. Assign the instance of the `DataManager` to the [`dataSource`](../api/chart3d/series3DModel/#datasource) property in series and map the fields of data to [`xName`](../api/chart3d/series3DModel/#xname) and [`yName`](../api/chart3d/series3DModel/#yname) properties. You can also use the [`query`](../api/chart3d/series3DModel/#query) property of the series to filter the data. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -58,7 +59,7 @@ The remote data can be bound to the 3D chart using the [`DataManager`](https://e ## Empty points -The data points that uses the `null` or `undefined` as value are considered as empty points. The empty data points are ignored and is not plotted in the chart. When the data is provided by using the points property, by using [`emptyPointSettings`](../api/chart3d/threeDimensionalEmptyPointSettingsModel) property in series, the empty can be customized. The default [`mode`](../api/chart3d/threeDimensionalEmptyPointSettingsModel#mode) of the empty point is **Gap**. +The data points that uses the `null` or `undefined` as value are considered as empty points. The empty data points are ignored and is not plotted in the chart. When the data is provided by using the points property, by using [`emptyPointSettings`](../api/chart3d/threeDimensionalEmptyPointSettingsModel/) property in series, the empty can be customized. The default [`mode`](../api/chart3d/threeDimensionalEmptyPointSettingsModel/#mode) of the empty point is **Gap**. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -73,7 +74,7 @@ The data points that uses the `null` or `undefined` as value are considered as e **Customizing empty point** -The specific color for empty point can be set by the [`fill`](../api/chart3d/threeDimensionalEmptyPointSettingsModel#fill) property in [`emptyPointSettings`](../api/chart3d/threeDimensionalEmptyPointSettingsModel). +The specific color for empty point can be set by the [`fill`](../api/chart3d/threeDimensionalEmptyPointSettingsModel/#fill) property in [`emptyPointSettings`](../api/chart3d/threeDimensionalEmptyPointSettingsModel/). {% tabs %} {% highlight ts tabtitle="index.ts" %} diff --git a/chart-sdk/typescript/3d-circular-charts/data-label.md b/chart-sdk/typescript/3d-circular-charts/data-label.md index 70c27fd83..1e5fee6f3 100644 --- a/chart-sdk/typescript/3d-circular-charts/data-label.md +++ b/chart-sdk/typescript/3d-circular-charts/data-label.md @@ -1,14 +1,15 @@ --- layout: post -title: Data Label in TypeScript 3D Circular Charts | Syncfusion -description: Learn here all about data label in Syncfusion TypeScript 3D Circular Charts of Syncfusion Essential JS 2 and more. +title: Data Label in TypeScript 3D Circular Chart control | Syncfusion +description: Learn here all about data label in Syncfusion TypeScript 3D Circular Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: 3D Circular Charts +control: Data Label +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Data Label in TypeScript 3D Circular Charts +# Data Label in TypeScript 3D Circular Chart control A data label refers to a label associated with specific data points. It can be added to a 3D Circular Chart series by enabling the `visible` option in the `dataLabel` property. By default, the labels will arrange themselves smartly to avoid overlapping. diff --git a/chart-sdk/typescript/3d-circular-charts/empty-points.md b/chart-sdk/typescript/3d-circular-charts/empty-points.md index 035c236ea..413527acd 100644 --- a/chart-sdk/typescript/3d-circular-charts/empty-points.md +++ b/chart-sdk/typescript/3d-circular-charts/empty-points.md @@ -1,14 +1,15 @@ --- layout: post -title: Empty points in TypeScript 3D Circular Charts | Syncfusion -description: Learn here all about empty points in Syncfusion TypeScript 3D Circular Charts of Syncfusion Essential JS 2 and more. +title: Empty points in TypeScript 3D Circular Chart control | Syncfusion +description: Learn here all about empty points in Syncfusion TypeScript 3D Circular Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: 3D Circular Charts +control: Empty points +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Empty points in TypeScript 3D Circular Charts +# Empty points in TypeScript 3D Circular Chart control Data points containing `null` or `undefined` values are considered empty points. These empty data points are ignored and not plotted in the 3D Circular Chart. You can customize the handling of empty points using the `emptyPointSettings` property in the series. The default mode for empty points is `Gap`. Other supported modes include `Average`, `Drop`, and `Zero`. diff --git a/chart-sdk/typescript/3d-circular-charts/getting-started.md b/chart-sdk/typescript/3d-circular-charts/getting-started.md index ffe938807..f5d5f5853 100644 --- a/chart-sdk/typescript/3d-circular-charts/getting-started.md +++ b/chart-sdk/typescript/3d-circular-charts/getting-started.md @@ -1,14 +1,15 @@ --- layout: post -title: Getting started with TypeScript 3D Circular Charts | Syncfusion -description: Check out and learn about Getting started with TypeScript 3D Circular Charts of Syncfusion Essential JS 2 and more details. +title: Getting started with TypeScript 3D Circular Chart control | Syncfusion +description: Check out and learn about Getting started with TypeScript 3D Circular Chart control of Syncfusion Essential JS 2 and more details. platform: chart-sdk -control: 3D Circular Charts +control: 3D Circular Chart +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Getting started with TypeScript 3D Circular Charts +# Getting started with TypeScript 3D Circular Chart control This document explains how to create a simple 3D Circular Chart and configure its features in TypeScript using the Essential JS 2 webpack [quickstart](https://github.com/SyncfusionExamples/ej2-quickstart-webpack) seed repository. @@ -18,7 +19,7 @@ This document explains how to create a simple 3D Circular Chart and configure it Before you begin, ensure you have the following installed on your machine: -* [Node.js](https://nodejs.org/en) (v14.15.0 or higher) +* [Node.js](https://nodejs.org/) (v14.15.0 or higher) * [Visual Studio Code](https://code.visualstudio.com) (or any text editor) * [Git](https://git-scm.com/) for cloning the quickstart repository * A modern web browser (Chrome, Edge, Firefox, or Safari) to view the result diff --git a/chart-sdk/typescript/3d-circular-charts/legend.md b/chart-sdk/typescript/3d-circular-charts/legend.md index 0c17f4757..da335a0a7 100644 --- a/chart-sdk/typescript/3d-circular-charts/legend.md +++ b/chart-sdk/typescript/3d-circular-charts/legend.md @@ -1,14 +1,15 @@ --- layout: post -title: Legend in TypeScript 3D Circular Charts | Syncfusion -description: Learn here all about legend in Syncfusion TypeScript 3D Circular Charts of Syncfusion Essential JS 2 and more. +title: Legend in TypeScript 3D Circular Chart control | Syncfusion +description: Learn here all about legend in Syncfusion TypeScript 3D Circular Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: 3D Circular Charts +control: Legend +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Legend in TypeScript 3D Circular Charts +# Legend in TypeScript 3D Circular Chart control The legend provides information about the data points rendered in the 3D Circular Chart. It can be added by enabling the `visible` option in the `legendSettings` property. diff --git a/chart-sdk/typescript/3d-circular-charts/pie-donut-chart.md b/chart-sdk/typescript/3d-circular-charts/pie-donut-chart.md index 2775a7aa5..e1fb86b0e 100644 --- a/chart-sdk/typescript/3d-circular-charts/pie-donut-chart.md +++ b/chart-sdk/typescript/3d-circular-charts/pie-donut-chart.md @@ -1,14 +1,15 @@ --- layout: post -title: Pie and Donut in TypeScript 3D Circular Charts | Syncfusion -description: Learn here all about Pie and Donut in Syncfusion TypeScript 3D Circular Charts of Syncfusion Essential JS 2 and more. +title: Pie and Donut in TypeScript 3D Circular Chart control | Syncfusion +description: Learn here all about Pie and Donut in Syncfusion TypeScript 3D Circular Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: 3D Circular Charts +control: Pie and Donut +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Pie and Donut in TypeScript 3D Circular Charts +# Pie and Donut in TypeScript 3D Circular Chart control ## Pie chart diff --git a/chart-sdk/typescript/3d-circular-charts/print-and-export.md b/chart-sdk/typescript/3d-circular-charts/print-and-export.md index 4a8015c35..0c6595e6d 100644 --- a/chart-sdk/typescript/3d-circular-charts/print-and-export.md +++ b/chart-sdk/typescript/3d-circular-charts/print-and-export.md @@ -1,14 +1,15 @@ --- layout: post -title: Print and Export in TypeScript 3D Circular Charts | Syncfusion -description: Learn here all about print and export in Syncfusion TypeScript 3D Circular Charts of Syncfusion Essential JS 2 and more. +title: Print and Export in TypeScript 3D Circular Chart control | Syncfusion +description: Learn here all about print and export in Syncfusion TypeScript 3D Circular Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: 3D Circular Charts +control: Print and Export +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Print and Export in TypeScript 3D Circular Charts +# Print and Export in TypeScript 3D Circular Chart control ## Print diff --git a/chart-sdk/typescript/3d-circular-charts/title-and-subtitle.md b/chart-sdk/typescript/3d-circular-charts/title-and-subtitle.md index dc22645ee..2e4e1fab4 100644 --- a/chart-sdk/typescript/3d-circular-charts/title-and-subtitle.md +++ b/chart-sdk/typescript/3d-circular-charts/title-and-subtitle.md @@ -1,14 +1,15 @@ --- layout: post -title: Title and subtitle in TypeScript 3D Circular Charts | Syncfusion -description: Learn here all about title and subtitle in Syncfusion TypeScript 3D Circular Charts of Syncfusion Essential JS 2 and more. +title: Title and subtitle in TypeScript 3D Circular Chart control | Syncfusion +description: Learn here all about title and subtitle in Syncfusion TypeScript 3D Circular Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: 3D Circular Charts +control: Title and subtitle +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Title and subtitle in TypeScript 3D Circular Charts +# Title and subtitle in TypeScript 3D Circular Chart control ## Title diff --git a/chart-sdk/typescript/3d-circular-charts/tooltip.md b/chart-sdk/typescript/3d-circular-charts/tooltip.md index 726dc5269..e43504a2f 100644 --- a/chart-sdk/typescript/3d-circular-charts/tooltip.md +++ b/chart-sdk/typescript/3d-circular-charts/tooltip.md @@ -1,14 +1,15 @@ --- layout: post -title: Tooltip in TypeScript 3D Circular Charts | Syncfusion -description: Learn here all about tooltip in Syncfusion TypeScript 3D Circular Charts of Syncfusion Essential JS 2 and more. +title: Tooltip in TypeScript 3D Circular Chart control | Syncfusion +description: Learn here all about tooltip in Syncfusion TypeScript 3D Circular Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: 3D Circular Charts +control: Tooltip +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Tooltip in TypeScript 3D Circular Charts +# Tooltip in TypeScript 3D Circular Chart control The 3D Circular Chart will display details about the points through a tooltip, when the mouse is moved over a specific point. By default, the tooltip is not visible. It can be enabled by using the `enable` property in `tooltip` to **true**. diff --git a/chart-sdk/typescript/accumulation-charts/accessibility.md b/chart-sdk/typescript/accumulation-charts/accessibility.md index 5b327f9d5..3bc8e1b5d 100644 --- a/chart-sdk/typescript/accumulation-charts/accessibility.md +++ b/chart-sdk/typescript/accumulation-charts/accessibility.md @@ -1,14 +1,15 @@ --- layout: post -title: Accessibility in TypeScript Accumulation Charts | Syncfusion -description: Learn how to make the Syncfusion TypeScript Accumulation Charts accessible using ADA, Section 508, WCAG 2.2, and ARIA roles. +title: Accessibility in TypeScript Accumulation chart control | Syncfusion +description: Learn here all about Accessibility in Syncfusion TypeScript Accumulation chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Accumulation Charts +control: Accessibility +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Accessibility in TypeScript Accumulation Charts +# Accessibility in TypeScript Accumulation chart control The Accumulation chart control followed the accessibility guidelines and standards, including [ADA](https://www.ada.gov/), [Section 508](https://www.section508.gov/), [WCAG 2.2](https://www.w3.org/TR/WCAG22/) standards, and [WCAG roles](https://www.w3.org/TR/wai-aria/#roles) that are commonly used to evaluate accessibility. diff --git a/chart-sdk/typescript/accumulation-charts/advanced-accessibility-configuration.md b/chart-sdk/typescript/accumulation-charts/advanced-accessibility-configuration.md index 2523c5f05..4d564b172 100644 --- a/chart-sdk/typescript/accumulation-charts/advanced-accessibility-configuration.md +++ b/chart-sdk/typescript/accumulation-charts/advanced-accessibility-configuration.md @@ -1,26 +1,27 @@ --- layout: post -title: Advanced Accessibility in TypeScript Accumulation Charts | Syncfusion -description: Learn how to customize accessibility features in the Syncfusion TypeScript Accumulation Charts for users with disabilities. +title: Accessibility customization in Accumulation chart control | Syncfusion +description: Learn here all about Accessibility customization in Syncfusion TypeScript Accumulation chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Accumulation Charts +control: Accessibility customization +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Advanced Accessibility in TypeScript Accumulation Charts +# Accessibility customization The Syncfusion® TypeScript Accumulation Chart control is structured to visualize data in a graphical manner. It provides robust customization options for accessibility, allowing you to enhance the user experience for those with disabilities. The main attributes of the TypeScript Accumulation Chart control's accessibility customization are briefly explained in this section. The accumulation chart control has a number of characteristics that enable accessibility features to be customized, including: -* [`accessibilityDescription`](../api/accumulation-chart/accessibilityModel#accessibilitydescription) - Provides a text description for the accumulation chart, improving support for screen readers. -* [`accessibilityRole`](../api/accumulation-chart/accessibilityModel#accessibilityrole) - Specifies the role of the accumulation chart, helping screen readers to identify the element appropriately. -* [`focusable`](../api/accumulation-chart/accessibilityModel#focusable) - Allows the accumulation chart to receive focus, making it accessible via keyboard navigation. -* [`focusBorderColor`](../api/accumulation-chart#focusbordercolor) - Sets the color of the focus border, enhancing visibility when the accumulation chart is focused. -* [`focusBorderMargin`](../api/accumulation-chart#focusbordermargin) - Defines the margin around the focus border. -* [`focusBorderWidth`](../api/accumulation-chart#focusborderwidth) - Specifies the width of the focus border. -* [`tabIndex`](../api/accumulation-chart/accessibilityModel#tabindex) - Specifies the tab order for the accumulation chart element, enabling efficient keyboard navigation. +* [`accessibilityDescription`](../api/accumulation-chart/accessibilityModel/#accessibilitydescription) - Provides a text description for the accumulation chart, improving support for screen readers. +* [`accessibilityRole`](../api/accumulation-chart/accessibilityModel/#accessibilityrole) - Specifies the role of the accumulation chart, helping screen readers to identify the element appropriately. +* [`focusable`](../api/accumulation-chart/accessibilityModel/#focusable) - Allows the accumulation chart to receive focus, making it accessible via keyboard navigation. +* [`focusBorderColor`](../api/accumulation-chart/#focusbordercolor) - Sets the color of the focus border, enhancing visibility when the accumulation chart is focused. +* [`focusBorderMargin`](../api/accumulation-chart/#focusbordermargin) - Defines the margin around the focus border. +* [`focusBorderWidth`](../api/accumulation-chart/#focusborderwidth) - Specifies the width of the focus border. +* [`tabIndex`](../api/accumulation-chart/accessibilityModel/#tabindex) - Specifies the tab order for the accumulation chart element, enabling efficient keyboard navigation. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -35,12 +36,12 @@ The accumulation chart control has a number of characteristics that enable acces ## Series -The [`series`](../api/accumulation-chart#series) supports the customization of accessibility for data points, allowing key characteristics to be adjusted for enhanced accessibility, such as: +The [`series`](../api/accumulation-chart/#series) supports the customization of accessibility for data points, allowing key characteristics to be adjusted for enhanced accessibility, such as: -* [`accessibilityDescription`](../api/accumulation-chart/accessibilityModel#accessibilitydescription) - Provides a text description for the series root element, enhancing support for screen readers. -* [`accessibilityRole`](../api/accumulation-chart/accessibilityModel#accessibilityrole) - Specifies the role of the series, helping screen readers to identify the element appropriately. -* [`focusable`](../api/accumulation-chart/accessibilityModel#focusable) - Allows the series to receive focus, making it accessible via keyboard navigation. -* [`tabIndex`](../api/accumulation-chart/accessibilityModel#tabindex) - Specifies the tab order of the series element, enabling efficient keyboard navigation. +* [`accessibilityDescription`](../api/accumulation-chart/accessibilityModel/#accessibilitydescription) - Provides a text description for the series root element, enhancing support for screen readers. +* [`accessibilityRole`](../api/accumulation-chart/accessibilityModel/#accessibilityrole) - Specifies the role of the series, helping screen readers to identify the element appropriately. +* [`focusable`](../api/accumulation-chart/accessibilityModel/#focusable) - Allows the series to receive focus, making it accessible via keyboard navigation. +* [`tabIndex`](../api/accumulation-chart/accessibilityModel/#tabindex) - Specifies the tab order of the series element, enabling efficient keyboard navigation. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -55,12 +56,12 @@ The [`series`](../api/accumulation-chart#series) supports the customization of a ## Legend -The [`legendSettings`](../api/accumulation-chart#legendsettings) provide information about the series shown in the accumulation chart. The following [`accessibility`](../api/accumulation-chart/legendSettingsModel#accessibility) properties in [`legendSettings`](../api/accumulation-chart#legendsettings) can be used to alter the accessibility of the accumulation chart's legend: +The [`legendSettings`](../api/accumulation-chart/#legendsettings) provide information about the series shown in the accumulation chart. The following [`accessibility`](../api/accumulation-chart/legendSettingsModel/#accessibility) properties in [`legendSettings`](../api/accumulation-chart/#legendsettings) can be used to alter the accessibility of the accumulation chart's legend: -* [`accessibilityDescription`](../api/accumulation-chart/accessibilityModel#accessibilitydescription) - Provides a text description for the legend root element, enhancing support for screen readers.. -* [`accessibilityRole`](../api/accumulation-chart/accessibilityModel#accessibilityrole) - Specifies the role of the legend items to screen readers, providing appropriate context. -* [`focusable`](../api/accumulation-chart/accessibilityModel#focusable) - Specifies whether legend items are focusable via keyboard navigation. -* [`tabIndex`](../api/accumulation-chart/accessibilityModel#tabindex) - Specifies the tab order of the legend element, enabling efficient keyboard navigation. +* [`accessibilityDescription`](../api/accumulation-chart/accessibilityModel/#accessibilitydescription) - Provides a text description for the legend root element, enhancing support for screen readers.. +* [`accessibilityRole`](../api/accumulation-chart/accessibilityModel/#accessibilityrole) - Specifies the role of the legend items to screen readers, providing appropriate context. +* [`focusable`](../api/accumulation-chart/accessibilityModel/#focusable) - Specifies whether legend items are focusable via keyboard navigation. +* [`tabIndex`](../api/accumulation-chart/accessibilityModel/#tabindex) - Specifies the tab order of the legend element, enabling efficient keyboard navigation. {% tabs %} {% highlight ts tabtitle="index.ts" %} diff --git a/chart-sdk/typescript/accumulation-charts/annotation.md b/chart-sdk/typescript/accumulation-charts/annotation.md index 4a1e4175c..216cb82ab 100644 --- a/chart-sdk/typescript/accumulation-charts/annotation.md +++ b/chart-sdk/typescript/accumulation-charts/annotation.md @@ -1,14 +1,15 @@ --- layout: post -title: Annotation in TypeScript Accumulation Charts | Syncfusion -description: Learn how to add annotations to the Syncfusion TypeScript Accumulation Charts to mark areas of interest with text, shapes, or images. +title: Annotation in TypeScript Accumulation chart control | Syncfusion +description: Learn here all about Annotation in Syncfusion TypeScript Accumulation chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Annotation +control: Annotation +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Annotation in TypeScript Accumulation Charts +# Annotation in TypeScript Accumulation chart control The annotations are used to mark the specific area of interest in the chart area with texts, shapes or images. diff --git a/chart-sdk/typescript/accumulation-charts/center-label.md b/chart-sdk/typescript/accumulation-charts/center-label.md index 3183c4c3f..19daab26f 100644 --- a/chart-sdk/typescript/accumulation-charts/center-label.md +++ b/chart-sdk/typescript/accumulation-charts/center-label.md @@ -1,16 +1,17 @@ --- layout: post -title: Center Label in TypeScript Accumulation Charts | Syncfusion -description: Learn how to place a label at the center of a pie or doughnut chart in the Syncfusion TypeScript Accumulation Charts. +title: Center label in TypeScript Accumulation chart control | Syncfusion +description: Learn here all about Center label in Syncfusion TypeScript Accumulation chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Accumulation Charts +control: Center label +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Center Label in TypeScript Accumulation Charts +# Center label in TypeScript Accumulation chart control -Using [`centerLabel`](../api/accumulation-chart/centerLabel) it is now possible to place a label at the center of a pie or doughnut chart. To configure the default text rendered on the center label for the pie and doughnut charts, use the [`text`](../api/accumulation-chart/centerLabel#text) property in the [`centerLabel`](../api/accumulation-chart/centerLabel). +Using [`centerLabel`](../api/accumulation-chart/centerLabel) it is now possible to place a label at the center of a pie or doughnut chart. To configure the default text rendered on the center label for the pie and doughnut charts, use the [`text`](../api/accumulation-chart/centerLabel/#text) property in the [`centerLabel`](../api/accumulation-chart/centerLabel). {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -25,7 +26,7 @@ Using [`centerLabel`](../api/accumulation-chart/centerLabel) it is now possible ## Hover text -The default text in the center label can be changed when the mouse pointer hovers over the pie and doughnut charts slice using the [`hoverTextFormat`](../api/accumulation-chart/centerLabel#hovertextformat) property. +The default text in the center label can be changed when the mouse pointer hovers over the pie and doughnut charts slice using the [`hoverTextFormat`](../api/accumulation-chart/centerLabel/#hovertextformat) property. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -40,7 +41,7 @@ The default text in the center label can be changed when the mouse pointer hover ## Customization -Customize the center label text using the [`textStyle`](../api/accumulation-chart/centerLabel#textstyle) property. +Customize the center label text using the [`textStyle`](../api/accumulation-chart/centerLabel/#textstyle) property. {% tabs %} {% highlight ts tabtitle="index.ts" %} diff --git a/chart-sdk/typescript/accumulation-charts/chart-print.md b/chart-sdk/typescript/accumulation-charts/chart-print.md index e182c6245..34ec70c1a 100644 --- a/chart-sdk/typescript/accumulation-charts/chart-print.md +++ b/chart-sdk/typescript/accumulation-charts/chart-print.md @@ -1,14 +1,15 @@ --- layout: post -title: Print and Export in TypeScript Accumulation Charts | Syncfusion -description: Learn how to print and export the Syncfusion TypeScript Accumulation Charts to PNG, JPEG, SVG, or PDF formats. +title: Chart print in TypeScript Accumulation chart control | Syncfusion +description: Learn here all about Chart print in Syncfusion TypeScript Accumulation chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Accumulation Charts +control: Chart print +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Chart Print in TypeScript Accumulation Charts +# Chart print in TypeScript Accumulation chart control ## Print diff --git a/chart-sdk/typescript/accumulation-charts/data-label.md b/chart-sdk/typescript/accumulation-charts/data-label.md index dfcae0f1a..6526fedfa 100644 --- a/chart-sdk/typescript/accumulation-charts/data-label.md +++ b/chart-sdk/typescript/accumulation-charts/data-label.md @@ -1,16 +1,17 @@ --- layout: post -title: Data Label in TypeScript Accumulation Charts | Syncfusion -description: Learn how to add and customize data labels in Syncfusion TypeScript Accumulation Chart series easily. +title: Data label in TypeScript Accumulation chart control | Syncfusion +description: Learn here all about Data label in Syncfusion TypeScript Accumulation chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Accumulation Charts +control: Data label +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Data Label in TypeScript Accumulation Charts +# Data label in TypeScript Accumulation chart control -Data label can be added to a chart series by enabling the [`visible`](../api/accumulation-chart/accumulationDataLabelSettingsModel) +Data label can be added to a chart series by enabling the [`visible`](../api/accumulation-chart/accumulationDataLabelSettingsModel/) option in the dataLabel property. {% tabs %} @@ -43,7 +44,7 @@ Accumulation chart provides support for placing the data label either `inside` o ## Smart labels -Data labels will be arranged smartly without overlapping with each other. You can enable or disable this feature using the [`enableSmartLabels`](../api/accumulation-chart/accumulationChartModel#enablesmartlabels) property. +Data labels will be arranged smartly without overlapping with each other. You can enable or disable this feature using the [`enableSmartLabels`](../api/accumulation-chart/accumulationChartModel/#enablesmartlabels) property. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -58,7 +59,7 @@ Data labels will be arranged smartly without overlapping with each other. You ca ## Data Label Template -Label content can be formatted by using the template option. Inside the template, you can add the placeholder text `${point.x}` and `${point.y}` to display corresponding data points x & y value. Using [`template`](../api/accumulation-chart/accumulationDataLabelSettingsModel)property, you can set data label template in chart. +Label content can be formatted by using the template option. Inside the template, you can add the placeholder text `${point.x}` and `${point.y}` to display corresponding data points x & y value. Using [`template`](../api/accumulation-chart/accumulationDataLabelSettingsModel/)property, you can set data label template in chart. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -103,7 +104,7 @@ Text from the data source can be mapped to data label using `name` property. ## Format -Data label for the accumulation chart can be formatted using [`format`](../api/accumulation-chart/accumulationChartModel#format) property. You can use the global formatting options, such as 'n', 'p', and 'c'. +Data label for the accumulation chart can be formatted using [`format`](../api/accumulation-chart/accumulationChartModel/#format) property. You can use the global formatting options, such as 'n', 'p', and 'c'. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -190,7 +191,7 @@ Individual text can be customized using the `textRender` event. ## Text wrap -When the data label text exceeds the container, the text can be wrapped by using [`textWrap`](../api/accumulation-chart/accumulationDataLabelSettings#textwrap) property. End user can also wrap the data label text based on [`maxWidth`](../api/accumulation-chart/accumulationDataLabelSettings#maxwidth) property. +When the data label text exceeds the container, the text can be wrapped by using [`textWrap`](../api/accumulation-chart/accumulationDataLabelSettings/#textwrap) property. End user can also wrap the data label text based on [`maxWidth`](../api/accumulation-chart/accumulationDataLabelSettings/#maxwidth) property. {% tabs %} {% highlight ts tabtitle="index.ts" %} diff --git a/chart-sdk/typescript/accumulation-charts/dynamic-data-update.md b/chart-sdk/typescript/accumulation-charts/dynamic-data-update.md index f973379a2..e4a5ca83c 100644 --- a/chart-sdk/typescript/accumulation-charts/dynamic-data-update.md +++ b/chart-sdk/typescript/accumulation-charts/dynamic-data-update.md @@ -1,18 +1,19 @@ --- layout: post -title: Dynamic Data Update in TypeScript Accumulation Charts | Syncfusion -description: Learn how to dynamically add, update, or remove data points in the Syncfusion TypeScript Accumulation Charts at runtime. +title: Dynamic data update in TypeScript Accumulation chart control | Syncfusion +description: Learn here all about dynamic data update in Syncfusion TypeScript Accumulation chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Dynamic Data Update +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Dynamic Data Update in TypeScript Accumulation Charts component +# Dynamic data update in Angular Accumulation Chart component ## Adding a new data point -The [`addPoint`](../api/accumulation-chart/accumulationSeries#addpoint) method is used to dynamically add a new data point to the accumulation 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 accumulation chart. This method takes two parameters: +The [`addPoint`](../api/accumulation-chart/accumulationSeries/#addpoint) method is used to dynamically add a new data point to the accumulation 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 accumulation 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. @@ -30,7 +31,7 @@ The [`addPoint`](../api/accumulation-chart/accumulationSeries#addpoint) method i ## Removing an existing data point -The [`removePoint`](../api/accumulation-chart/accumulationSeries#removepoint) method is used to dynamically remove a data point from the accumulation chart series. This method is particularly useful when you want to update the accumulation chart by removing an existing data point without having to refresh the entire accumulation chart. This method takes two parameters: +The [`removePoint`](../api/accumulation-chart/accumulationSeries/#removepoint) method is used to dynamically remove a data point from the accumulation chart series. This method is particularly useful when you want to update the accumulation chart by removing an existing data point without having to refresh the entire accumulation 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. @@ -48,7 +49,7 @@ The [`removePoint`](../api/accumulation-chart/accumulationSeries#removepoint) me ## Replacing entire data points -To replace the existing data source in the accumulation chart with a new data source, you can simply use the [`setData`](../api/accumulation-chart/accumulationSeries#setdata) method. This method allows you to replace the existing data points in the accumulation chart series with a new set of data points, enabling you to easily update the accumulation chart with new information. This method takes two parameters: +To replace the existing data source in the accumulation chart with a new data source, you can simply use the [`setData`](../api/accumulation-chart/accumulationSeries/#setdata) method. This method allows you to replace the existing data points in the accumulation chart series with a new set of data points, enabling you to easily update the accumulation 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. diff --git a/chart-sdk/typescript/accumulation-charts/ej1-api-migration.md b/chart-sdk/typescript/accumulation-charts/ej1-api-migration.md index 991e0f077..8288215f5 100644 --- a/chart-sdk/typescript/accumulation-charts/ej1-api-migration.md +++ b/chart-sdk/typescript/accumulation-charts/ej1-api-migration.md @@ -1,14 +1,15 @@ --- layout: post -title: EJ1 API Migration in TypeScript Accumulation Charts | Syncfusion -description: Learn how to migrate Accumulation Charts code and APIs from Syncfusion Essential JS 1 to Syncfusion Essential JS 2. +title: Ej1 api migration in TypeScript Accumulation chart control | Syncfusion +description: Learn here all about Ej1 api migration in Syncfusion TypeScript Accumulation chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Accumulation Charts +control: Ej1 api migration +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Migration from Essential JS 1 in TypeScript Accumulation Charts +# Ej1 api migration in TypeScript Accumulation chart control This article describes the API migration process of Chart component from Essential JS 1 to Essential JS 2. diff --git a/chart-sdk/typescript/accumulation-charts/empty-points.md b/chart-sdk/typescript/accumulation-charts/empty-points.md index 71bcb5f10..4fd85a302 100644 --- a/chart-sdk/typescript/accumulation-charts/empty-points.md +++ b/chart-sdk/typescript/accumulation-charts/empty-points.md @@ -1,14 +1,15 @@ --- layout: post -title: Empty Points in TypeScript Accumulation Charts | Syncfusion -description: Learn how to handle and customize empty data points in the Syncfusion TypeScript Accumulation Charts. +title: Empty points in TypeScript Accumulation chart control | Syncfusion +description: Learn here all about Empty points in Syncfusion TypeScript Accumulation chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Accumulation Charts +control: Empty points +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Empty Points in TypeScript Accumulation Charts +# Empty points in TypeScript Accumulation chart control The data points those uses the `null` or `undefined` as value are considered as empty points. The empty data points are ignored and not plotted in the chart. You can customize those points, using the `emptyPointSettings` property in series. The default mode of the empty point is `Gap`. Other supported modes are `Average` and `Zero`. diff --git a/chart-sdk/typescript/accumulation-charts/funnel.md b/chart-sdk/typescript/accumulation-charts/funnel.md index dae1f3709..d3cce1c73 100644 --- a/chart-sdk/typescript/accumulation-charts/funnel.md +++ b/chart-sdk/typescript/accumulation-charts/funnel.md @@ -1,16 +1,17 @@ --- layout: post -title: Funnel in TypeScript Accumulation Charts | Syncfusion -description: Learn how to render a funnel series in the Syncfusion TypeScript Accumulation Charts using the FunnelSeries module. +title: Funnel in TypeScript Accumulation chart control | Syncfusion +description: Learn here all about Funnel in Syncfusion TypeScript Accumulation chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Accumulation Charts +control: Funnel +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Funnel in TypeScript Accumulation Charts +# Funnel in TypeScript Accumulation chart control -To render a funnel series, use the series [`type`](../api/accumulation-chart/accumulationSeriesModel) as `Funnel` and inject, the `FunnelSeries` module using the `AccumulationChart.Inject(FunnelSeries)` method. +To render a funnel series, use the series [`type`](../api/accumulation-chart/accumulationSeriesModel/) as `Funnel` and inject, the `FunnelSeries` module using the `AccumulationChart.Inject(FunnelSeries)` method. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -115,7 +116,7 @@ Individual points can be customized using the `pointRender` event. ## Modes -The Funnel chart supports both Standard and Trapezoidal modes of rendering. The default value of the [`funnelMode`](../api/accumulation-chart/funnelModes) is `Standard`. +The Funnel chart supports both Standard and Trapezoidal modes of rendering. The default value of the [`funnelMode`](../api/accumulation-chart/funnelModes/) is `Standard`. ### Standard diff --git a/chart-sdk/typescript/accumulation-charts/getting-started.md b/chart-sdk/typescript/accumulation-charts/getting-started.md index 8c4987e63..22dcaeb4a 100644 --- a/chart-sdk/typescript/accumulation-charts/getting-started.md +++ b/chart-sdk/typescript/accumulation-charts/getting-started.md @@ -1,25 +1,26 @@ --- layout: post -title: Getting Started with TypeScript Accumulation Charts | Syncfusion -description: Learn how to get started with the Syncfusion TypeScript Accumulation Charts in a TypeScript application using the EJ2 webpack quickstart. +title: Getting started with TypeScript Accumulation Chart control | Syncfusion +description: Check out and learn about Getting started with TypeScript Accumulation Chart control of Syncfusion Essential JS 2 and more details. platform: chart-sdk -control: Accumulation Charts +control: Accumulation Chart +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Getting Started with TypeScript Accumulation Charts +# Getting started with TypeScript Accumulation Chart control This document explains how to create a simple Accumulation Chart and configure its features in TypeScript using the Essential JS 2 webpack [quickstart](https://github.com/SyncfusionExamples/ej2-quickstart-webpack) seed repository. -> This application is integrated with the `webpack.config.js` configuration and uses the latest version of the [webpack-cli](https://webpack.js.org/api/cli#commands). It requires node `v14.15.0` or higher. For more information about webpack and its features, refer to the [webpack getting-started guide](https://webpack.js.org/guides/getting-started/). +> This application is integrated with the `webpack.config.js` configuration and uses the latest version of the [webpack-cli](https://webpack.js.org/api/cli/#commands). It requires node `v14.15.0` or higher. For more information about webpack and its features, refer to the [webpack getting-started guide](https://webpack.js.org/guides/getting-started/). ## Prerequisites Before you begin, ensure you have the following installed on your machine: -* [Node.js](https://nodejs.org/en) (v14.15.0 or higher) +* [Node.js](https://nodejs.org/) (v14.15.0 or higher) * [Visual Studio Code](https://code.visualstudio.com) (or any text editor) * [Git](https://git-scm.com/) (for cloning the quickstart repository) * A web browser to view the result @@ -192,7 +193,7 @@ When the build completes, the Syncfusion® A The following screenshot shows the output of the Syncfusion Accumulation Chart quick start application: -![Syncfusion Accumulation Chart Quick Start Output - Pie chart of monthly sales data](./images/accumulation.png) +![Syncfusion Accumulation Chart Quick Start Output - Pie chart of monthly sales data](./images/accumulation.png "Syncfusion Accumulation Chart displaying monthly sales data") ## Troubleshooting diff --git a/chart-sdk/typescript/accumulation-charts/gradient.md b/chart-sdk/typescript/accumulation-charts/gradient.md index 3703c4b2f..dbe83bd3d 100644 --- a/chart-sdk/typescript/accumulation-charts/gradient.md +++ b/chart-sdk/typescript/accumulation-charts/gradient.md @@ -1,14 +1,15 @@ --- layout: post -title: Gradient in TypeScript Accumulation Charts | Syncfusion -description: Learn how to apply linear and radial gradients to the Syncfusion TypeScript Accumulation Charts for richer styling. +title: Gradient in TypeScript Accumulation chart control | Syncfusion +description: Learn here all about Gradient in Syncfusion TypeScript Accumulation chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Accumulation Charts +control: Gradient +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Gradient in TypeScript Accumulation Charts +# Gradient in TypeScript Accumulation chart control Gradients add depth and modern styling to charts by smoothly blending multiple colors. The Charts component supports two gradient types: diff --git a/chart-sdk/typescript/accumulation-charts/grouping.md b/chart-sdk/typescript/accumulation-charts/grouping.md index 1ed6ff9db..7116fc640 100644 --- a/chart-sdk/typescript/accumulation-charts/grouping.md +++ b/chart-sdk/typescript/accumulation-charts/grouping.md @@ -1,17 +1,18 @@ --- layout: post -title: Grouping in TypeScript Accumulation Charts | Syncfusion -description: Learn how to group data points in the Syncfusion TypeScript Accumulation Charts using the groupTo property. +title: Grouping in TypeScript Accumulation chart control | Syncfusion +description: Learn here all about Grouping in Syncfusion TypeScript Accumulation chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Accumulation Charts +control: Grouping +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Grouping in TypeScript Accumulation Charts +# Grouping in TypeScript Accumulation chart control You can club/group few points of the series based on -[`groupTo`](../api/accumulation-chart/accumulationSeries) property. For example, if the club +[`groupTo`](../api/accumulation-chart/accumulationSeries/) property. For example, if the club value is 11, then the points with value less than 11 is grouped together and will be showed as a single point with label `others`. The property also takes value in percentage (percentage of total data points value). diff --git a/chart-sdk/typescript/accumulation-charts/legend.md b/chart-sdk/typescript/accumulation-charts/legend.md index 4a02be7d1..d87ab9d0a 100644 --- a/chart-sdk/typescript/accumulation-charts/legend.md +++ b/chart-sdk/typescript/accumulation-charts/legend.md @@ -1,14 +1,15 @@ --- layout: post -title: Legend in TypeScript Accumulation Charts | Syncfusion -description: Learn how to add and customize the legend in the Syncfusion TypeScript Accumulation Charts, including position and visibility. +title: Legend in TypeScript Accumulation chart control | Syncfusion +description: Learn here all about Legend in Syncfusion TypeScript Accumulation chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Accumulation Charts +control: Legend +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Legend in TypeScript Accumulation Charts +# Legend in TypeScript Accumulation chart control As like a chart, the legend is also available for accumulation charts, which gives information about the points. By default, the legend will be placed on the right, if the width of the chart is high or will be placed on the bottom, if the height of the chart is high. Other customization features regarding the legend element are same as the [`chart legend`](http://ej2.syncfusion.com/documentation/chart/legend). Here, the legend for a point can be collapsed by giving the empty string to the x value of the point. @@ -42,7 +43,7 @@ By using the position property, you can position the legend at the `left`, ` ## Legend reverse -You can reverse the order of the legend items by using the [`reverse`](https://ej2.syncfusion.com/documentation/api/accumulation-chart/legendSettingsModel#reverse) property. By default, legend for the first series in the collection will be placed first. +You can reverse the order of the legend items by using the [`reverse`](https://ej2.syncfusion.com/documentation/api/accumulation-chart/legendSettingsModel/#reverse) property. By default, legend for the first series in the collection will be placed first. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -162,7 +163,7 @@ By default, the page number will be enabled while legend paging. Now, you can di ## Legend item padding -The [`itemPadding`](../api/accumulation-chart/legendSettings#itempadding) property can be used to adjust the space between the legend items. +The [`itemPadding`](../api/accumulation-chart/legendSettings/#itempadding) property can be used to adjust the space between the legend items. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -177,7 +178,7 @@ The [`itemPadding`](../api/accumulation-chart/legendSettings#itempadding) proper ## Legend layout -The [`layout`](../api/accumulation-chart/legendSettingsModel#layout) property in [`legendSettings`](../api/accumulation-chart#legendsettings) allows you to display the legend either horizontally or vertically. By default, the [`layout`](../api/accumulation-chart/legendSettingsModel#layout) is set to **Auto**. The [`maximumColumns`](../api/accumulation-chart/legendSettingsModel#maximumcolumns) property in [`legendSettings`](../api/accumulation-chart#legendsettings) defines the maximum number of columns that can be displayed within the available space when using the auto layout. Additionally, enabling the [`fixedWidth`](../api/accumulation-chart/legendSettingsModel#fixedwidth) property in [`legendSettings`](../api/accumulation-chart#legendsettings) ensures that all legend items are displayed with equal widths. The width of each item is determined by the maximum width among the legend items. +The [`layout`](../api/accumulation-chart/legendSettingsModel/#layout) property in [`legendSettings`](../api/accumulation-chart/#legendsettings) allows you to display the legend either horizontally or vertically. By default, the [`layout`](../api/accumulation-chart/legendSettingsModel/#layout) is set to **Auto**. The [`maximumColumns`](../api/accumulation-chart/legendSettingsModel/#maximumcolumns) property in [`legendSettings`](../api/accumulation-chart/#legendsettings) defines the maximum number of columns that can be displayed within the available space when using the auto layout. Additionally, enabling the [`fixedWidth`](../api/accumulation-chart/legendSettingsModel/#fixedwidth) property in [`legendSettings`](../api/accumulation-chart/#legendsettings) ensures that all legend items are displayed with equal widths. The width of each item is determined by the maximum width among the legend items. {% tabs %} {% highlight ts tabtitle="index.ts" %} diff --git a/chart-sdk/typescript/accumulation-charts/pie-dough-nut.md b/chart-sdk/typescript/accumulation-charts/pie-dough-nut.md index b2d64fdfc..a7c733710 100644 --- a/chart-sdk/typescript/accumulation-charts/pie-dough-nut.md +++ b/chart-sdk/typescript/accumulation-charts/pie-dough-nut.md @@ -1,18 +1,19 @@ --- layout: post -title: Pie and Doughnut in TypeScript Accumulation Charts | Syncfusion -description: Learn how to render pie and doughnut series in the Syncfusion TypeScript Accumulation Charts with various customizations. +title: Pie dough nut in TypeScript Accumulation chart control | Syncfusion +description: Learn here all about Pie dough nut in Syncfusion TypeScript Accumulation chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Pie dough nut +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Pie and Doughnut in TypeScript Accumulation Charts +# Pie dough nut in TypeScript Accumulation chart control ## Pie chart -To render a pie series, use the series [`type`](../api/accumulation-chart/accumulationSeriesModel#type) as `Pie` and inject the `PieSeries` module using `AccumulationChart.Inject(PieSeries)` method. If the `PieSeries` module is not injected, this module will be loaded by default. +To render a pie series, use the series [`type`](../api/accumulation-chart/accumulationSeriesModel/#type) as `Pie` and inject the `PieSeries` module using `AccumulationChart.Inject(PieSeries)` method. If the `PieSeries` module is not injected, this module will be loaded by default. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -27,7 +28,7 @@ To render a pie series, use the series [`type`](../api/accumulation-chart/accumu ## Radius customization -By default, radius of the pie series will be 80% of the size (minimum of chart width and height). You can customize this using [`radius`](../api/accumulation-chart/accumulationSeriesModel#radius) property of the series. +By default, radius of the pie series will be 80% of the size (minimum of chart width and height). You can customize this using [`radius`](../api/accumulation-chart/accumulationSeriesModel/#radius) property of the series. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -42,7 +43,7 @@ By default, radius of the pie series will be 80% of the size (minimum of chart w ## Pie center -The center position of the pie can be changed by Center X and Center Y. By default, center value of the pie series x and y is 50%. You can customize this using [`center`](../api/accumulation-chart/accumulationChartModel#center) property of the series. +The center position of the pie can be changed by Center X and Center Y. By default, center value of the pie series x and y is 50%. You can customize this using [`center`](../api/accumulation-chart/accumulationChartModel/#center) property of the series. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -57,7 +58,7 @@ The center position of the pie can be changed by Center X and Center Y. By defau ## Various radius pie chart -You can use radius mapping to render the slice with different [`radius`](../api/accumulation-chart/accumulationSeries#radius) pie and also use [`border`](../api/accumulation-chart/accumulationSeries#border) , fill properties to customize the point. dataLabel is used to represent individual data and its value. +You can use radius mapping to render the slice with different [`radius`](../api/accumulation-chart/accumulationSeries/#radius) pie and also use [`border`](../api/accumulation-chart/accumulationSeries/#border) , fill properties to customize the point. dataLabel is used to represent individual data and its value. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -72,7 +73,7 @@ You can use radius mapping to render the slice with different [`radius`](../api/ ## Doughnut chart -To achieve a doughnut in pie series, customize the [`innerRadius`](../api/accumulation-chart/accumulationSeries#innerradius) property of the series. By setting value greater than 0%, a doughnut will appear. The `innerRadius` property takes value from 0% to 100% of the pie radius. +To achieve a doughnut in pie series, customize the [`innerRadius`](../api/accumulation-chart/accumulationSeries/#innerradius) property of the series. By setting value greater than 0%, a doughnut will appear. The `innerRadius` property takes value from 0% to 100% of the pie radius. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -87,7 +88,7 @@ To achieve a doughnut in pie series, customize the [`innerRadius`](../api/accumu ## Multiple Donut -You can create multiple donuts within a single chart by adding multiple series with different [`innerRadius`](../api/accumulation-chart/accumulationSeries#innerradius) and [`radius`](../api/accumulation-chart/accumulationSeries#radius) values. This allows you to compare multiple data sets with the same categories. Each series can have different data, colors, and customizations. You can also use the [`mappingKey`](../api/accumulation-chart/accumulationLegendSettings#mappingkey) property in `legendSettings` to map the legend items based on the specified field from the data source. When set, points with matching `mappingKey` values are grouped into a single legend item. +You can create multiple donuts within a single chart by adding multiple series with different [`innerRadius`](../api/accumulation-chart/accumulationSeries/#innerradius) and [`radius`](../api/accumulation-chart/accumulationSeries/#radius) values. This allows you to compare multiple data sets with the same categories. Each series can have different data, colors, and customizations. You can also use the [`mappingKey`](../api/accumulation-chart/accumulationLegendSettings/#mappingkey) property in `legendSettings` to map the legend items based on the specified field from the data source. When set, points with matching `mappingKey` values are grouped into a single legend item. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -102,7 +103,7 @@ You can create multiple donuts within a single chart by adding multiple series w ## Start and end angles -You can customize the start and end angle of the pie series using the [`startAngle`](../api/accumulation-chart/accumulationSeries#startangle) and [`endAngle`](../api/accumulation-chart/accumulationSeries#endangle) properties. The default value of `startAngle` is 0 degree, and `endAngle` is 360 degrees. By customizing this, you can achieve a semi pie series. +You can customize the start and end angle of the pie series using the [`startAngle`](../api/accumulation-chart/accumulationSeries/#startangle) and [`endAngle`](../api/accumulation-chart/accumulationSeries/#endangle) properties. The default value of `startAngle` is 0 degree, and `endAngle` is 360 degrees. By customizing this, you can achieve a semi pie series. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -132,7 +133,7 @@ The fill color and the text in the data source can be mapped to the chart using ## Border radius -You can create rounded corners for each slice by using the [borderRadius](../api/accumulation-chart/accumulationSeriesModel#borderradius) option, which gives the chart a modern and polished appearance. +You can create rounded corners for each slice by using the [borderRadius](../api/accumulation-chart/accumulationSeriesModel/#borderradius) option, which gives the chart a modern and polished appearance. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -147,7 +148,7 @@ You can create rounded corners for each slice by using the [borderRadius](../api ## Palette -The default palette for the pie series can be customized by using the [`palettes`](../api/accumulation-chart/accumulationSeriesModel#palettes) property in the series. +The default palette for the pie series can be customized by using the [`palettes`](../api/accumulation-chart/accumulationSeriesModel/#palettes) property in the series. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -177,7 +178,7 @@ Individual points can be customized using the `pointRender` event. ## Patterns -You can apply different patterns to the pie slices using the [`applyPattern`](../api/accumulation-chart/accumulationSeriesModel#applypattern) property in the series and the [`pointRender`](../api/accumulation-chart/iAccPointRenderEventArgs) event. +You can apply different patterns to the pie slices using the [`applyPattern`](../api/accumulation-chart/accumulationSeriesModel/#applypattern) property in the series and the [`pointRender`](../api/accumulation-chart/iAccPointRenderEventArgs/) event. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -207,9 +208,9 @@ By default, the border will appear in the pie/doughnut chart while mouse hover o ## Multi-level pie chart -You can achieve a multi-level drill down in pie and doughnut charts using [pointClick](../../api/accumulation-chart/accumulationChartModel#pointclick) event. If user clicks any point in the chart, that corresponding data will be shown in the next level and so on based on point clicked. +You can achieve a multi-level drill down in pie and doughnut charts using [pointClick](../../api/accumulation-chart/accumulationChartModel/#pointclick) event. If user clicks any point in the chart, that corresponding data will be shown in the next level and so on based on point clicked. -You can also achieve drill-up (back to the initial state) by using [chartMouseClick](../../api/accumulation-chart/accumulationChartModel#chartmouseclick) event. In below sample, you can drill-up by clicking back button in the center of the chart. +You can also achieve drill-up (back to the initial state) by using [chartMouseClick](../../api/accumulation-chart/accumulationChartModel/#chartmouseclick) event. In below sample, you can drill-up by clicking back button in the center of the chart. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -224,5 +225,5 @@ You can also achieve drill-up (back to the initial state) by using [chartMouseCl ## See also -* [Data label](./data-label) -* [Grouping](./grouping) \ No newline at end of file +* [Data label](./data-label/) +* [Grouping](./grouping/) \ No newline at end of file diff --git a/chart-sdk/typescript/accumulation-charts/pyramid.md b/chart-sdk/typescript/accumulation-charts/pyramid.md index 2ba80dd30..52edfaac7 100644 --- a/chart-sdk/typescript/accumulation-charts/pyramid.md +++ b/chart-sdk/typescript/accumulation-charts/pyramid.md @@ -1,16 +1,17 @@ --- layout: post -title: Pyramid in TypeScript Accumulation Charts | Syncfusion -description: Learn how to render a pyramid series in the Syncfusion TypeScript Accumulation Charts using the PyramidSeries module. +title: Pyramid in TypeScript Accumulation chart control | Syncfusion +description: Learn here all about Pyramid in Syncfusion TypeScript Accumulation chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Accumulation Charts +control: Pyramid +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Pyramid in TypeScript Accumulation Charts +# Pyramid in TypeScript Accumulation chart control -To render a pyramid series, use the series [`type`](../api/accumulation-chart/accumulationSeriesModel) as `Pyramid` and inject `PyramidSeries` module using the `AccumulationChart.Inject(PyramidSeries)` method. +To render a pyramid series, use the series [`type`](../api/accumulation-chart/accumulationSeriesModel/) as `Pyramid` and inject `PyramidSeries` module using the `AccumulationChart.Inject(PyramidSeries)` method. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -100,5 +101,5 @@ Individual points can be customized using the `pointRender` event. ## See also -* [Data label](./data-label) -* [Grouping](./grouping) +* [Data label](./data-label/) +* [Grouping](./grouping/) diff --git a/chart-sdk/typescript/accumulation-charts/title-and-sub-title.md b/chart-sdk/typescript/accumulation-charts/title-and-sub-title.md index d9d7334c9..78b77c5c4 100644 --- a/chart-sdk/typescript/accumulation-charts/title-and-sub-title.md +++ b/chart-sdk/typescript/accumulation-charts/title-and-sub-title.md @@ -1,18 +1,19 @@ --- layout: post -title: Title and Subtitle in TypeScript Accumulation Charts | Syncfusion -description: Learn how to add a title and subtitle to the Syncfusion TypeScript Accumulation Charts using the title property. +title: Title and sub title in TypeScript Accumulation chart control | Syncfusion +description: Learn here all about Title and sub title in Syncfusion TypeScript Accumulation chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Accumulation Charts +control: Title and sub title +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Title and Subtitle in TypeScript Accumulation Charts +# Title and sub title in TypeScript Accumulation chart control ## Title -Accumulation Chart can be given a title using [`title`](../api/accumulation-chart/accumulationChartModel#title) property, to show the information about the data plotted. +Accumulation Chart can be given a title using [`title`](../api/accumulation-chart/accumulationChartModel/#title) property, to show the information about the data plotted. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -27,7 +28,7 @@ Accumulation Chart can be given a title using [`title`](../api/accumulation-char ## Title customization -Accumulation Chart can be customizing a title using [`titleStyle`](../api/accumulation-chart/accumulationChartModel#titlestyle) property. +Accumulation Chart can be customizing a title using [`titleStyle`](../api/accumulation-chart/accumulationChartModel/#titlestyle) property. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -42,7 +43,7 @@ Accumulation Chart can be customizing a title using [`titleStyle`](../api/accumu ### Position -The [`position`](../api/accumulation-chart/titlePosition) property customizes the placement of the accumulation chart title. It supports the following options: `Right`, `Left`, `Bottom`, `Top`, and `Custom`. The custom option allows you to position the title anywhere on the chart using x and y coordinates, providing flexible title alignment based on layout requirements. +The [`position`](../api/accumulation-chart/titlePosition/) property customizes the placement of the accumulation chart title. It supports the following options: `Right`, `Left`, `Bottom`, `Top`, and `Custom`. The custom option allows you to position the title anywhere on the chart using x and y coordinates, providing flexible title alignment based on layout requirements. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -57,7 +58,7 @@ The [`position`](../api/accumulation-chart/titlePosition) property customizes th ## SubTitle -Accumulation Chart can be given a subtitle using [`subTitle`](../api/accumulation-chart/accumulationChartModel#subtitle) property, to show the information about the data plotted. +Accumulation Chart can be given a subtitle using [`subTitle`](../api/accumulation-chart/accumulationChartModel/#subtitle) property, to show the information about the data plotted. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -72,7 +73,7 @@ Accumulation Chart can be given a subtitle using [`subTitle`](../api/accumulatio ## SubTitle customization -Accumulation Chart can be customizing a subtitle using [`subTitleStyle`](../api/accumulation-chart/accumulationChartModel#subtitlestyle) property, to show the information about the data plotted. +Accumulation Chart can be customizing a subtitle using [`subTitleStyle`](../api/accumulation-chart/accumulationChartModel/#subtitlestyle) property, to show the information about the data plotted. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -87,7 +88,7 @@ Accumulation Chart can be customizing a subtitle using [`subTitleStyle`](../api/ ### Position -The [`position`](../api/accumulation-chart/titleStyleSettings#position) property customizes the placement of the accumulation chart subtitle. It supports the following options: `Right`, `Left`, `Bottom`, `Top`, and `Custom`. The Custom option allows you to position the subtitle anywhere on the chart using x and y coordinates, providing flexible subtitle alignment based on layout requirements. +The [`position`](../api/accumulation-chart/titleStyleSettings/#position) property customizes the placement of the accumulation chart subtitle. It supports the following options: `Right`, `Left`, `Bottom`, `Top`, and `Custom`. The Custom option allows you to position the subtitle anywhere on the chart using x and y coordinates, providing flexible subtitle alignment based on layout requirements. {% tabs %} {% highlight ts tabtitle="index.ts" %} diff --git a/chart-sdk/typescript/accumulation-charts/tool-tip.md b/chart-sdk/typescript/accumulation-charts/tool-tip.md index 8c0895765..2c51030b2 100644 --- a/chart-sdk/typescript/accumulation-charts/tool-tip.md +++ b/chart-sdk/typescript/accumulation-charts/tool-tip.md @@ -1,16 +1,17 @@ --- layout: post -title: Tooltip in TypeScript Accumulation Charts | Syncfusion -description: Learn how to enable and customize tooltips in the Syncfusion TypeScript Accumulation Charts to display point details on hover. +title: Tooltip in TypeScript Accumulation chart control | Syncfusion +description: Learn here all about Tooltip in Syncfusion TypeScript Accumulation chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Tooltip +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Tooltip in TypeScript Accumulation Charts +# Tooltip in TypeScript Accumulation chart control -Tooltip for the accumulation chart can be enabled by using the [`enable`](../api/accumulation-chart/tooltipSettingsModel#enable) property. +Tooltip for the accumulation chart can be enabled by using the [`enable`](../api/accumulation-chart/tooltipSettingsModel/#enable) property. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -27,7 +28,7 @@ Tooltip for the accumulation chart can be enabled by using the [`enable`](../ap ## Header -We can specify header for the tooltip using [`header`](../api/accumulation-chart/tooltipSettingsModel#header) property. +We can specify header for the tooltip using [`header`](../api/accumulation-chart/tooltipSettingsModel/#header) property. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -57,7 +58,7 @@ By default, tooltip shows information of x and y value in points. In addition to ## Inline tooltip formatting -The tooltip content can be formatted directly within the [`format`](../api/accumulation-chart/tooltipSettingsModel#format) property by adding DateTime or number format specifiers to supported tooltip tokens. This allows you to control how point and series values are displayed without using additional events. +The tooltip content can be formatted directly within the [`format`](../api/accumulation-chart/tooltipSettingsModel/#format) property by adding DateTime or number format specifiers to supported tooltip tokens. This allows you to control how point and series values are displayed without using additional events. A format specifier can be applied to a tooltip token by adding a colon (`:`) followed by the required format. @@ -113,7 +114,7 @@ If the specified format does not match the resolved value type, the original val ## Tooltip Template -Any HTML element can be displayed in the tooltip by using the [`template`](../api/accumulation-chart/tooltipSettingsModel#template) property. +Any HTML element can be displayed in the tooltip by using the [`template`](../api/accumulation-chart/tooltipSettingsModel/#template) property. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -128,7 +129,7 @@ Any HTML element can be displayed in the tooltip by using the [`template`](../ap ## Fixed tooltip -By default, tooltip track the mouse movement, but you can set a fixed position for the tooltip by using the [`location`](../api/accumulation-chart/tooltipSettingsModel#location) property. +By default, tooltip track the mouse movement, but you can set a fixed position for the tooltip by using the [`location`](../api/accumulation-chart/tooltipSettingsModel/#location) property. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -143,7 +144,7 @@ By default, tooltip track the mouse movement, but you can set a fixed position f ## Customization -The [`fill`](../api/accumulation-chart/tooltipSettingsModel#fill) and [`border`](../api/accumulation-chart/tooltipSettingsModel#border) properties are used to customize the background color and border of the tooltip respectively. The [`textStyle`](../api/accumulation-chart/tooltipSettingsModel#textstyle) property in the tooltip is used to customize the font of the tooltip text. The [`highlightColor`](../api/accumulation-chart/accumulationChartModel#highlightcolor) property can be used to change the color of the data point when hovering. +The [`fill`](../api/accumulation-chart/tooltipSettingsModel/#fill) and [`border`](../api/accumulation-chart/tooltipSettingsModel/#border) properties are used to customize the background color and border of the tooltip respectively. The [`textStyle`](../api/accumulation-chart/tooltipSettingsModel/#textstyle) property in the tooltip is used to customize the font of the tooltip text. The [`highlightColor`](../api/accumulation-chart/accumulationChartModel/#highlightcolor) property can be used to change the color of the data point when hovering. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -158,7 +159,7 @@ The [`fill`](../api/accumulation-chart/tooltipSettingsModel#fill) and [`border`] ## To customize individual tooltip -Using [`tooltipRender`](../api/accumulation-chart/iAccTooltipRenderEventArgs) event, you can customize a tooltip for particular point. event, you can customize a tooltip for particular point. +Using [`tooltipRender`](../api/accumulation-chart/iAccTooltipRenderEventArgs/) event, you can customize a tooltip for particular point. event, you can customize a tooltip for particular point. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -173,7 +174,7 @@ Using [`tooltipRender`](../api/accumulation-chart/iAccTooltipRenderEventArgs) e ## Enable highlight -By setting the [`enableHighlight`](../api/accumulation-chart/tooltipSettingsModel#enablehighlight) property to **true**, the hovered pie slice is highlighted, while the remaining slices are dimmed, enhancing focus and clarity. +By setting the [`enableHighlight`](../api/accumulation-chart/tooltipSettingsModel/#enablehighlight) property to **true**, the hovered pie slice is highlighted, while the remaining slices are dimmed, enhancing focus and clarity. {% tabs %} {% highlight ts tabtitle="index.ts" %} diff --git a/chart-sdk/typescript/bullet-chart/accessibility.md b/chart-sdk/typescript/bullet-chart/accessibility.md index 33bf45433..04710d97e 100644 --- a/chart-sdk/typescript/bullet-chart/accessibility.md +++ b/chart-sdk/typescript/bullet-chart/accessibility.md @@ -1,14 +1,15 @@ --- layout: post -title: Accessibility in TypeScript Bullet Chart | Syncfusion -description: Learn how to make the Syncfusion TypeScript Bullet Chart accessible using ADA, Section 508, WCAG 2.2, and ARIA roles. +title: Accessibility in TypeScript Bullet chart control | Syncfusion +description: Learn here all about Accessibility in Syncfusion TypeScript Bullet chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Bullet Chart +control: Accessibility +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Accessibility in TypeScript Bullet Chart +# Accessibility in TypeScript Bullet chart control The Bullet chart control followed the accessibility guidelines and standards, including [ADA](https://www.ada.gov/), [Section 508](https://www.section508.gov/), [WCAG 2.2](https://www.w3.org/TR/WCAG22/) standards, and [WCAG roles](https://www.w3.org/TR/wai-aria/#roles) that are commonly used to evaluate accessibility. diff --git a/chart-sdk/typescript/bullet-chart/axis-customization.md b/chart-sdk/typescript/bullet-chart/axis-customization.md index 39520979b..665473655 100644 --- a/chart-sdk/typescript/bullet-chart/axis-customization.md +++ b/chart-sdk/typescript/bullet-chart/axis-customization.md @@ -1,18 +1,19 @@ --- layout: post -title: Axis customization in TypeScript Bullet Chart | Syncfusion -description: Learn how to customize the major and minor tick lines and grid lines of the Syncfusion TypeScript Bullet Chart axis. +title: Axis customization in TypeScript Bullet chart control | Syncfusion +description: Learn here all about Axis customization in Syncfusion TypeScript Bullet chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Bullet Chart +control: Axis customization +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Axis customization in TypeScript Bullet Chart +# Axis customization in TypeScript Bullet chart control ## MajorTickLines and MinorTickLines Customization -You can customize the `width`, `color`, and `size` of minor and major tick lines using the [`majorTickLines`](../api/bullet-chart/bulletChartModel) and [`minorTickLines`](../api/bullet-chart/bulletChartModel) properties of the bullet-chart. +You can customize the `width`, `color`, and `size` of minor and major tick lines using the [`majorTickLines`](../api/bullet-chart/bulletChartModel/) and [`minorTickLines`](../api/bullet-chart/bulletChartModel/) properties of the bullet-chart. The following properties can be used to customize `majorTicklines` and `minorTicklines`. @@ -34,7 +35,7 @@ The following properties can be used to customize `majorTicklines` and `minorTic ## Tick Placement -You can place major and minor ticks `inside` or `outside` the ranges using the [`tickPosition`](../api/bullet-chart/bulletChartModel) property of bullet-chart. The major and the minor ticks can be placed **inside** or **outside** the ranges using the `tickPosition` property. +You can place major and minor ticks `inside` or `outside` the ranges using the [`tickPosition`](../api/bullet-chart/bulletChartModel/) property of bullet-chart. The major and the minor ticks can be placed **inside** or **outside** the ranges using the `tickPosition` property. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -51,7 +52,7 @@ You can place major and minor ticks `inside` or `outside` the ranges using the [ ***Axis Label Format*** -Axis numeric labels can be formatted by using the [`labelFormat`](../api/bullet-chart/bulletChartModel#labelformat)property. Axis labels support all globalize formats. The following table describes the result of applying some commonly used label formats on numeric axis values. +Axis numeric labels can be formatted by using the [`labelFormat`](../api/bullet-chart/bulletChartModel/#labelformat)property. Axis labels support all globalize formats. The following table describes the result of applying some commonly used label formats on numeric axis values. Axis numeric labels can be formatted by using the `labelFormat` property. Axis labels support all globalize formats. {% tabs %} @@ -127,7 +128,7 @@ The following table describes the result of applying some commonly used formats ## GroupingSeparator -To separate groups of thousands, use the [`enableGroupSeparator`](../api/bullet-chart/bulletChartModel#enablegroupseparator) property of bullet-chart. +To separate groups of thousands, use the [`enableGroupSeparator`](../api/bullet-chart/bulletChartModel/#enablegroupseparator) property of bullet-chart. To separate the groups of thousands, set the `enableGroupSeparator` property to **true**. {% tabs %} @@ -158,7 +159,7 @@ Using the `labelFormat` property, axis labels can be specified with a custom def ## Label Placement -You can customize the axis labels `inside` or `outside` the bullet-chart using the [`labelPosition`](../api/bullet-chart/bulletChartModel#labelposition) property. Label can be placed **Inside** or **Outside** of the ranges using the `labelPosition` property. +You can customize the axis labels `inside` or `outside` the bullet-chart using the [`labelPosition`](../api/bullet-chart/bulletChartModel/#labelposition) property. Label can be placed **Inside** or **Outside** of the ranges using the `labelPosition` property. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -173,7 +174,7 @@ You can customize the axis labels `inside` or `outside` the bullet-chart using t ## Opposed Position -To place an axis opposite to its original position, set the [`opposedPosition`](../api/bullet-chart/bulletChartModel#opposedposition) property to true. To place an axis opposite to its original position, set the `opposedPosition`] property to **true**. +To place an axis opposite to its original position, set the [`opposedPosition`](../api/bullet-chart/bulletChartModel/#opposedposition) property to true. To place an axis opposite to its original position, set the `opposedPosition`] property to **true**. {% tabs %} {% highlight ts tabtitle="index.ts" %} diff --git a/chart-sdk/typescript/bullet-chart/bullet-chart-dimensions.md b/chart-sdk/typescript/bullet-chart/bullet-chart-dimensions.md index efe01a2d1..dfd2a8575 100644 --- a/chart-sdk/typescript/bullet-chart/bullet-chart-dimensions.md +++ b/chart-sdk/typescript/bullet-chart/bullet-chart-dimensions.md @@ -1,14 +1,15 @@ --- layout: post -title: Bullet Chart Dimensions in TypeScript Bullet Chart | Syncfusion -description: Learn how to set the width and height of the Syncfusion TypeScript Bullet Chart by configuring the container size. +title: Bullet chart dimensions in TypeScript Bullet chart control | Syncfusion +description: Learn here all about Bullet chart dimensions in Syncfusion TypeScript Bullet chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Bullet chart +control: Bullet chart dimensions +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Bullet Chart Dimensions in TypeScript Bullet Chart +# Bullet chart dimensions in TypeScript Bullet chart control ## Size for Container diff --git a/chart-sdk/typescript/bullet-chart/comparative-bar.md b/chart-sdk/typescript/bullet-chart/comparative-bar.md index 25087e0ce..44ecdba43 100644 --- a/chart-sdk/typescript/bullet-chart/comparative-bar.md +++ b/chart-sdk/typescript/bullet-chart/comparative-bar.md @@ -1,15 +1,16 @@ --- layout: post -title: Comparative Bar in TypeScript Bullet Chart | Syncfusion -description: Learn how to display the target bar in the Syncfusion TypeScript Bullet Chart using the targetField property. +title: Comparative bar in TypeScript Bullet chart control | Syncfusion +description: Learn here all about Comparative bar in Syncfusion TypeScript Bullet chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Comparative Bar +control: Comparative bar +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Comparative Bar in TypeScript Bullet Chart +# Comparative bar in TypeScript Bullet chart control The line marker that runs perpendicular to the orientation of the graph is known as the **Comparative Measure** and it is used as a target marker to compare against the feature measure value. This is also called as the **Target Bar** in the Bullet Chart. To display the target bar, the [`targetField`](../api/bullet-chart#targetfield) should be mapped to the appropriate field from the datasource. @@ -41,7 +42,7 @@ The shape of the target bar can be customized using the [`targetTypes`](../api/b ## Target bar customization -The following properties can be used to customize the target bar. Also, you can bind the color for the target bar from [`dataSource`](../api/bullet-chart#datasource) for the bullet chart. +The following properties can be used to customize the target bar. Also, you can bind the color for the target bar from [`dataSource`](../api/bullet-chart/#datasource) for the bullet chart. * [`targetColor`](../api/bullet-chart#targetcolor) - Specifies the fill color of target bar. * [`targetWidth`](../api/bullet-chart#targetwidth) - Specifies the width of target bar. diff --git a/chart-sdk/typescript/bullet-chart/customization.md b/chart-sdk/typescript/bullet-chart/customization.md index 11c05f1e0..cff2e24b0 100644 --- a/chart-sdk/typescript/bullet-chart/customization.md +++ b/chart-sdk/typescript/bullet-chart/customization.md @@ -1,15 +1,16 @@ --- layout: post -title: Customization in TypeScript Bullet Chart | Syncfusion -description: Learn how to customize the Syncfusion TypeScript Bullet Chart, including orientation, flow direction, and animation. +title: Customization in TypeScript Bullet chart control | Syncfusion +description: Learn here all about Customization in Syncfusion TypeScript Bullet chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Bullet Chart +control: Customization +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Customization in TypeScript Bullet Chart +# Customization in TypeScript Bullet chart control ## Orientation diff --git a/chart-sdk/typescript/bullet-chart/data-binding.md b/chart-sdk/typescript/bullet-chart/data-binding.md index ef5f31302..827c6f383 100644 --- a/chart-sdk/typescript/bullet-chart/data-binding.md +++ b/chart-sdk/typescript/bullet-chart/data-binding.md @@ -1,15 +1,16 @@ --- layout: post -title: Working with Data in TypeScript Bullet Chart | Syncfusion -description: Learn how to bind local and remote data to the Syncfusion TypeScript Bullet Chart using valueField and targetField. +title: Data binding in TypeScript Bullet chart control | Syncfusion +description: Learn here all about Data binding in Syncfusion TypeScript Bullet chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Data binding +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Working with Data in TypeScript Bullet Chart +# Data binding in TypeScript Bullet chart control The `dataSource` property accepts a collection of values as input that helps to display measures, and compares them to a target bar. To display the actual and target bar, specify the property from the datasource into the `valueField` and `targetField` respectively. diff --git a/chart-sdk/typescript/bullet-chart/data-label.md b/chart-sdk/typescript/bullet-chart/data-label.md index e7309419e..cf95f0615 100644 --- a/chart-sdk/typescript/bullet-chart/data-label.md +++ b/chart-sdk/typescript/bullet-chart/data-label.md @@ -1,15 +1,16 @@ --- layout: post -title: Data Label in TypeScript Bullet Chart | Syncfusion -description: Learn how to enable and customize data labels in the Syncfusion TypeScript Bullet Chart for the actual bar. +title: Data label in TypeScript Bullet chart control | Syncfusion +description: Learn here all about Data label in Syncfusion TypeScript Bullet chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Bullet Chart +control: Data label +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Data Label in TypeScript Bullet Chart +# Data label in TypeScript Bullet chart control Data Labels are used to identify the value of actual bar in the Bullet Chart component. The Data Labels will be shown by specifying the `dataLabel` setting's `enable` property to **true**. diff --git a/chart-sdk/typescript/bullet-chart/getting-started.md b/chart-sdk/typescript/bullet-chart/getting-started.md index 918614a03..322977534 100644 --- a/chart-sdk/typescript/bullet-chart/getting-started.md +++ b/chart-sdk/typescript/bullet-chart/getting-started.md @@ -1,26 +1,27 @@ --- layout: post -title: Getting Started with TypeScript Bullet Chart control | Syncfusion -description: Learn how to get started with the Syncfusion TypeScript Bullet Chart in a TypeScript application using the EJ2 webpack quickstart. +title: Getting started with TypeScript Bullet Chart control | Syncfusion +description: Check out and learn about Getting started with TypeScript Bullet Chart control of Syncfusion Essential JS 2 and more details. platform: chart-sdk control: Bullet Chart +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Getting Started with TypeScript Bullet Chart control +# Getting started with TypeScript Bullet Chart control This document explains how to create a simple Bullet Chart and configure its features in TypeScript using the Essential JS 2 webpack [quickstart](https://github.com/SyncfusionExamples/ej2-quickstart-webpack) seed repository. -> This application is integrated with the `webpack.config.js` configuration and uses the latest version of the [webpack-cli](https://webpack.js.org/api/cli#commands). It requires node `v14.15.0` or higher. For more information about webpack and its features, refer to the [webpack getting-started guide](https://webpack.js.org/guides/getting-started). +> This application is integrated with the `webpack.config.js` configuration and uses the latest version of the [webpack-cli](https://webpack.js.org/api/cli/#commands). It requires node `v14.15.0` or higher. For more information about webpack and its features, refer to the [webpack getting-started guide](https://webpack.js.org/guides/getting-started/). ## Prerequisites Before you begin, ensure you have the following installed on your machine: -* [Node.js](https://nodejs.org/en) (v14.15.0 or higher) +* [Node.js](https://nodejs.org/) (v14.15.0 or higher) * [Visual Studio Code](https://code.visualstudio.com) (or any text editor) -* [Git](https://git-scm.com) for cloning the quickstart repository +* [Git](https://git-scm.com/) for cloning the quickstart repository * A modern web browser (Chrome, Edge, Firefox, or Safari) to view the result ## Dependencies @@ -135,7 +136,7 @@ Locate the `src/app/app.ts` file in your project and add the Bullet Chart compon {% endhighlight %} {% endtabs %} -> You can refer to our [JavaScript Bullet Chart](https://www.syncfusion.com/javascript-ui-controls/js-bullet-chart) feature tour page for its groundbreaking feature representations. You can also explore our [JavaScript Bullet Chart example](https://ej2.syncfusion.com/demos/#/bootstrap5/bullet-chart/default.html) that shows various Bullet Chart configurations. +> You can refer to our [JavaScript Bullet Chart](https://www.syncfusion.com/javascript-ui-controls/js-bullet-chart) feature tour page for its groundbreaking feature representations. You can also explore our [JavaScript Bullet Chart example](https://ej2.syncfusion.com/demos/#/bootstrap5/bullet-chart/default-functionalities.html) that shows various Bullet Chart configurations. ### Step 8: Run the Application diff --git a/chart-sdk/typescript/bullet-chart/ranges.md b/chart-sdk/typescript/bullet-chart/ranges.md index 2e6144d53..2373c1d64 100644 --- a/chart-sdk/typescript/bullet-chart/ranges.md +++ b/chart-sdk/typescript/bullet-chart/ranges.md @@ -1,15 +1,16 @@ --- layout: post -title: Ranges in TypeScript Bullet Chart | Syncfusion -description: Learn how to define qualitative ranges in the Syncfusion TypeScript Bullet Chart scale using the ranges property. +title: Ranges in TypeScript Bullet chart control | Syncfusion +description: Learn here all about Ranges in Syncfusion TypeScript Bullet chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Bullet Chart +control: Ranges +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Ranges in TypeScript Bullet Chart +# Ranges in TypeScript Bullet chart control Ranges represent the quality of a specific range such as **Good**, **Bad** and **Satisfactory** in the Bullet Chart scale. The ending point of a qualitative range is specified in the `end` property in `ranges`. The `minimum` value of a quantitative scale is considered the starting point of the first range or the previous range end point. diff --git a/chart-sdk/typescript/bullet-chart/title.md b/chart-sdk/typescript/bullet-chart/title.md index 30252afcd..d8a1df223 100644 --- a/chart-sdk/typescript/bullet-chart/title.md +++ b/chart-sdk/typescript/bullet-chart/title.md @@ -1,15 +1,16 @@ --- layout: post -title: Title and Subtitle in TypeScript Bullet Chart | Syncfusion -description: Learn how to add a title and subtitle to the Syncfusion TypeScript Bullet Chart and customize their text styles. +title: Title in TypeScript Bullet chart control | Syncfusion +description: Learn here all about Title in Syncfusion TypeScript Bullet chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Bullet Chart +control: Title +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Title in TypeScript Bullet Chart +# Title in TypeScript Bullet chart control ## Title diff --git a/chart-sdk/typescript/bullet-chart/tool-tip.md b/chart-sdk/typescript/bullet-chart/tool-tip.md index eb2af1c70..4b73a0041 100644 --- a/chart-sdk/typescript/bullet-chart/tool-tip.md +++ b/chart-sdk/typescript/bullet-chart/tool-tip.md @@ -1,20 +1,21 @@ --- layout: post -title: Tooltip in TypeScript Bullet Chart | Syncfusion -description: Learn how to enable and customize tooltips in the Syncfusion TypeScript Bullet Chart to display actual and target values. +title: Tool tip in TypeScript Bullet chart control | Syncfusion +description: Learn here all about Tool tip in Syncfusion TypeScript Bullet chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Bullet Chart +control: Tool tip +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Tooltip in TypeScript Bullet Chart +# Tool tip in TypeScript Bullet chart control When the mouse is hovered over a bar in the Bullet Chart, the tooltip displays important summary about the actual and the target bar values. ## Default tooltip -By setting [`enable`](https://ej2.syncfusion.com/documentation/api/bullet-chart/bulletTooltipSettingsModel#enable)the property to 'True' and by injecting `BulletTooltip` module using `BulletChart.Inject(BulletTooltip)`.The 'Tooltip' is visible in the 'Bullet chart' by default. +By setting [`enable`](https://ej2.syncfusion.com/documentation/api/bullet-chart/bulletTooltipSettingsModel/#enable)the property to 'True' and by injecting `BulletTooltip` module using `BulletChart.Inject(BulletTooltip)`.The 'Tooltip' is visible in the 'Bullet chart' by default. The tooltip is not visible by default. To make it visible, set the `enable` property in the `tooltip` to **true** and injecting `BulletTooltip` module using `BulletChart.Inject(BulletTooltip)`. {% tabs %} @@ -45,7 +46,7 @@ Any HTML elements can be displayed in the tooltip by using the `template` proper ## Customization of the appearance of tooltip -The [`fill`](https://ej2.syncfusion.com/documentation/api/bullet-chart/bulletTooltipSettingsModel#fill) and [`border`](https://ej2.syncfusion.com/documentation/api/bullet-chart/bulletTooltipSettingsModel#border) properties are used to customize the background color and border of the tooltip respectively. The [`textStyle`](https://ej2.syncfusion.com/documentation/api/bullet-chart/bulletTooltipSettingsModel#textstyle) property in the tooltip is used to customize the font of the tooltip text. +The [`fill`](https://ej2.syncfusion.com/documentation/api/bullet-chart/bulletTooltipSettingsModel/#fill) and [`border`](https://ej2.syncfusion.com/documentation/api/bullet-chart/bulletTooltipSettingsModel/#border) properties are used to customize the background color and border of the tooltip respectively. The [`textStyle`](https://ej2.syncfusion.com/documentation/api/bullet-chart/bulletTooltipSettingsModel/#textstyle) property in the tooltip is used to customize the font of the tooltip text. The following properties can be used to customize the Bullet Chart tooltip. diff --git a/chart-sdk/typescript/bullet-chart/value-bar.md b/chart-sdk/typescript/bullet-chart/value-bar.md index 3b2af9828..e6e27f69f 100644 --- a/chart-sdk/typescript/bullet-chart/value-bar.md +++ b/chart-sdk/typescript/bullet-chart/value-bar.md @@ -1,17 +1,18 @@ --- layout: post -title: Value Bar in TypeScript Bullet Chart | Syncfusion -description: Learn how to display the actual bar in the Syncfusion TypeScript Bullet Chart using the valueField property. +title: Value bar in TypeScript Bullet chart control | Syncfusion +description: Learn here all about Value bar in Syncfusion TypeScript Bullet chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Bullet Chart +control: Value bar +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Value Bar in TypeScript Bullet Chart +# Value bar in TypeScript Bullet chart control -To display the primary data or the current value of the data being measured known as the **Feature Measure** that should be encoded as a bar. This is called as the **Actual Bar** or the **Feature Bar** in the Bullet Chart, and to display the actual bar the [`valueField`](../api/bullet-chart#valuefield) should be mapped to the appropriate field from the data source. +To display the primary data or the current value of the data being measured known as the **Feature Measure** that should be encoded as a bar. This is called as the **Actual Bar** or the **Feature Bar** in the Bullet Chart, and to display the actual bar the [`valueField`](../api/bullet-chart/#valuefield) should be mapped to the appropriate field from the data source. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -26,7 +27,7 @@ To display the primary data or the current value of the data being measured know ## Types of actual bar -The shape of the actual bar can be customized using the [`type`](../api/bullet-chart#type) property of the Bullet Chart. The actual bar contains `Rect` and `Dot` shapes. By default, the actual bar shape is Rect. +The shape of the actual bar can be customized using the [`type`](../api/bullet-chart/#type) property of the Bullet Chart. The actual bar contains `Rect` and `Dot` shapes. By default, the actual bar shape is Rect. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -43,7 +44,7 @@ The shape of the actual bar can be customized using the [`type`](../api/bullet-c ### Border customization -Using the [`valueBorder`](../api/bullet-chart#valueborder) property of the bullet chart, you can customize the border [`color`](../api/bullet-chart/border#color) and [`width`](../api/bullet-chart/border#width) of the actual bar. +Using the [`valueBorder`](../api/bullet-chart/#valueborder) property of the bullet chart, you can customize the border [`color`](../api/bullet-chart/border/#color) and [`width`](../api/bullet-chart/border/#width) of the actual bar. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -58,7 +59,7 @@ Using the [`valueBorder`](../api/bullet-chart#valueborder) property of the bulle ### Fill color and height customization -Customize the fill color and height of the actual bar using the [`valueFill`](../api/bullet-chart#valuefill) and [`valueHeight`](../api/bullet-chart#valueheight) properties of the bullet chart. Also, you can bind the color for the actual bar from [`dataSource`](../api/bullet-chart#datasource) for the bullet chart using [`valueFill`](../api/bullet-chart#valuefill) property. +Customize the fill color and height of the actual bar using the [`valueFill`](../api/bullet-chart/#valuefill) and [`valueHeight`](../api/bullet-chart/#valueheight) properties of the bullet chart. Also, you can bind the color for the actual bar from [`dataSource`](../api/bullet-chart/#datasource) for the bullet chart using [`valueFill`](../api/bullet-chart/#valuefill) property. {% tabs %} {% highlight ts tabtitle="index.ts" %} diff --git a/chart-sdk/typescript/charts/Chart-types/area.md b/chart-sdk/typescript/charts/Chart-types/area.md index b086b8782..c5153ead8 100644 --- a/chart-sdk/typescript/charts/Chart-types/area.md +++ b/chart-sdk/typescript/charts/Chart-types/area.md @@ -1,9 +1,10 @@ --- layout: post title: Area Chart in TypeScript Charts | Syncfusion -description: Learn here all about Area in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +description: Learn here all about Area in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Area +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- diff --git a/chart-sdk/typescript/charts/Chart-types/bar.md b/chart-sdk/typescript/charts/Chart-types/bar.md index 796af8341..fe469e19b 100644 --- a/chart-sdk/typescript/charts/Chart-types/bar.md +++ b/chart-sdk/typescript/charts/Chart-types/bar.md @@ -1,9 +1,10 @@ --- layout: post title: Bar Chart in TypeScript Charts | Syncfusion -description: Learn here all about Bar in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +description: Learn here all about Bar in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Bar +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- diff --git a/chart-sdk/typescript/charts/Chart-types/box-whisker.md b/chart-sdk/typescript/charts/Chart-types/box-whisker.md index 4105e77d7..b5fa88ae4 100644 --- a/chart-sdk/typescript/charts/Chart-types/box-whisker.md +++ b/chart-sdk/typescript/charts/Chart-types/box-whisker.md @@ -1,9 +1,10 @@ --- layout: post title: Box and Whiskerk Chart in TypeScript Charts | Syncfusion -description: Learn here all about Box and Whisker in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +description: Learn here all about Box and Whisker in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Box and Whisker +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- diff --git a/chart-sdk/typescript/charts/Chart-types/bubble.md b/chart-sdk/typescript/charts/Chart-types/bubble.md index 9439e9080..bf88e71dd 100644 --- a/chart-sdk/typescript/charts/Chart-types/bubble.md +++ b/chart-sdk/typescript/charts/Chart-types/bubble.md @@ -1,9 +1,10 @@ --- layout: post title: Bubble Chart in TypeScript Charts | Syncfusion -description: Learn here all about Bubble in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +description: Learn here all about Bubble in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Bubble +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- diff --git a/chart-sdk/typescript/charts/Chart-types/candle.md b/chart-sdk/typescript/charts/Chart-types/candle.md index 737b4a610..98ea8cffc 100644 --- a/chart-sdk/typescript/charts/Chart-types/candle.md +++ b/chart-sdk/typescript/charts/Chart-types/candle.md @@ -1,9 +1,10 @@ --- layout: post title: Candle Chart in TypeScript Charts | Syncfusion -description: Learn here all about Candle in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +description: Learn here all about Candle in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Candle +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- diff --git a/chart-sdk/typescript/charts/Chart-types/column.md b/chart-sdk/typescript/charts/Chart-types/column.md index 0df88b175..ac29e04fd 100644 --- a/chart-sdk/typescript/charts/Chart-types/column.md +++ b/chart-sdk/typescript/charts/Chart-types/column.md @@ -1,9 +1,10 @@ --- layout: post title: Column Chart in TypeScript Charts | Syncfusion -description: Learn here all about Column in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +description: Learn here all about Column in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Column +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- diff --git a/chart-sdk/typescript/charts/Chart-types/error-bar.md b/chart-sdk/typescript/charts/Chart-types/error-bar.md index 33fcab34b..5b2e40154 100644 --- a/chart-sdk/typescript/charts/Chart-types/error-bar.md +++ b/chart-sdk/typescript/charts/Chart-types/error-bar.md @@ -1,9 +1,10 @@ --- layout: post title: Error Bar Chart in TypeScript Charts | Syncfusion -description: Learn here all about Error Bar in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +description: Learn here all about Error Bar in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Error Bar +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- diff --git a/chart-sdk/typescript/charts/Chart-types/high-low-open-close.md b/chart-sdk/typescript/charts/Chart-types/high-low-open-close.md index b454763dc..58fd4c45a 100644 --- a/chart-sdk/typescript/charts/Chart-types/high-low-open-close.md +++ b/chart-sdk/typescript/charts/Chart-types/high-low-open-close.md @@ -1,14 +1,15 @@ --- layout: post title: High Low Open Close Chart in TypeScript Charts | Syncfusion -description: Learn here all about High Low Open Close in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +description: Learn here all about High Low Open Close in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: High Low Open Close +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# High Low Open Close Chart in TypeScript Chart +# High Low Open Close Chart in TypeScript Charts ## High Low Open Close diff --git a/chart-sdk/typescript/charts/Chart-types/high-low.md b/chart-sdk/typescript/charts/Chart-types/high-low.md index 0ebaca9d3..f578a1152 100644 --- a/chart-sdk/typescript/charts/Chart-types/high-low.md +++ b/chart-sdk/typescript/charts/Chart-types/high-low.md @@ -1,9 +1,10 @@ --- layout: post title: High Low Chart in TypeScript Charts | Syncfusion -description: Learn here all about High Low in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +description: Learn here all about High Low in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: High Low +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- diff --git a/chart-sdk/typescript/charts/Chart-types/histogram.md b/chart-sdk/typescript/charts/Chart-types/histogram.md index 944ef70b7..83e9ccd66 100644 --- a/chart-sdk/typescript/charts/Chart-types/histogram.md +++ b/chart-sdk/typescript/charts/Chart-types/histogram.md @@ -1,9 +1,10 @@ --- layout: post title: Histogram Chart in TypeScript Charts | Syncfusion -description: Learn here all about Histogram in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +description: Learn here all about Histogram in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Histogram +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- diff --git a/chart-sdk/typescript/charts/Chart-types/line.md b/chart-sdk/typescript/charts/Chart-types/line.md index 0f8ac0a08..5cef54eac 100644 --- a/chart-sdk/typescript/charts/Chart-types/line.md +++ b/chart-sdk/typescript/charts/Chart-types/line.md @@ -1,9 +1,10 @@ --- layout: post title: Line Chart in TypeScript Charts | Syncfusion -description: Learn here all about Line Chart in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +description: Learn here all about Line Chart in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Line Chart +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- diff --git a/chart-sdk/typescript/charts/Chart-types/pare-to.md b/chart-sdk/typescript/charts/Chart-types/pare-to.md index fdc1de049..1003fcd13 100644 --- a/chart-sdk/typescript/charts/Chart-types/pare-to.md +++ b/chart-sdk/typescript/charts/Chart-types/pare-to.md @@ -1,9 +1,10 @@ --- layout: post title: Pareto Chart in TypeScript Charts | Syncfusion -description: Learn here all about Pareto in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +description: Learn here all about Pareto in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Pareto +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- diff --git a/chart-sdk/typescript/charts/Chart-types/polar.md b/chart-sdk/typescript/charts/Chart-types/polar.md index eadc51250..c9864c304 100644 --- a/chart-sdk/typescript/charts/Chart-types/polar.md +++ b/chart-sdk/typescript/charts/Chart-types/polar.md @@ -1,9 +1,10 @@ --- layout: post title: Polar Chart in TypeScript Charts | Syncfusion -description: Learn here all about Polar in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +description: Learn here all about Polar in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Polar +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- diff --git a/chart-sdk/typescript/charts/Chart-types/radar.md b/chart-sdk/typescript/charts/Chart-types/radar.md index 6c68116a8..1ec1b7b55 100644 --- a/chart-sdk/typescript/charts/Chart-types/radar.md +++ b/chart-sdk/typescript/charts/Chart-types/radar.md @@ -1,9 +1,10 @@ --- layout: post title: Radar Chart in TypeScript Charts | Syncfusion -description: Learn here all about Radar in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +description: Learn here all about Radar in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Radar +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- diff --git a/chart-sdk/typescript/charts/Chart-types/range-area.md b/chart-sdk/typescript/charts/Chart-types/range-area.md index 72e06c776..7d6ce4b31 100644 --- a/chart-sdk/typescript/charts/Chart-types/range-area.md +++ b/chart-sdk/typescript/charts/Chart-types/range-area.md @@ -1,9 +1,10 @@ --- layout: post title: Range Area Chart in TypeScript Charts | Syncfusion -description: Learn here all about Range Area in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +description: Learn here all about Range Area in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Range Area +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- diff --git a/chart-sdk/typescript/charts/Chart-types/range-column.md b/chart-sdk/typescript/charts/Chart-types/range-column.md index 22126c4f6..8f685d7d9 100644 --- a/chart-sdk/typescript/charts/Chart-types/range-column.md +++ b/chart-sdk/typescript/charts/Chart-types/range-column.md @@ -1,9 +1,10 @@ --- layout: post -title: Range Column in TypeScript Charts | Syncfusion -description: Learn here all about Range Column in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +title: Range Column in TypeScript Chart control | Syncfusion +description: Learn here all about Range Column in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Range Column +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- diff --git a/chart-sdk/typescript/charts/Chart-types/range-step-area.md b/chart-sdk/typescript/charts/Chart-types/range-step-area.md index 6e210d0de..95020f877 100644 --- a/chart-sdk/typescript/charts/Chart-types/range-step-area.md +++ b/chart-sdk/typescript/charts/Chart-types/range-step-area.md @@ -1,9 +1,10 @@ --- layout: post title: Range Step Area Chart in TypeScript Charts | Syncfusion -description: Learn here all about Range Step Area in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +description: Learn here all about Range Step Area in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Range Step Area +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- diff --git a/chart-sdk/typescript/charts/Chart-types/scatter.md b/chart-sdk/typescript/charts/Chart-types/scatter.md index 5e92adec6..9179582cd 100644 --- a/chart-sdk/typescript/charts/Chart-types/scatter.md +++ b/chart-sdk/typescript/charts/Chart-types/scatter.md @@ -1,9 +1,10 @@ --- layout: post title: Scatter Chart in TypeScript Charts | Syncfusion -description: Learn here all about Scatter in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +description: Learn here all about Scatter in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Scatter +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- diff --git a/chart-sdk/typescript/charts/Chart-types/spline-area.md b/chart-sdk/typescript/charts/Chart-types/spline-area.md index 0bdcd9712..8d9be7fc1 100644 --- a/chart-sdk/typescript/charts/Chart-types/spline-area.md +++ b/chart-sdk/typescript/charts/Chart-types/spline-area.md @@ -1,9 +1,10 @@ --- layout: post title: Spline Area Chart in TypeScript Charts | Syncfusion -description: Learn here all about Spline Area in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +description: Learn here all about Spline Area in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Spline Area +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- diff --git a/chart-sdk/typescript/charts/Chart-types/spline-range-area.md b/chart-sdk/typescript/charts/Chart-types/spline-range-area.md index 6c171da77..bba18643b 100644 --- a/chart-sdk/typescript/charts/Chart-types/spline-range-area.md +++ b/chart-sdk/typescript/charts/Chart-types/spline-range-area.md @@ -1,9 +1,10 @@ --- layout: post title: Spline Range Area Chart in TypeScript Charts | Syncfusion -description: Learn here all about Spline Range Area in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +description: Learn here all about Spline Range Area in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Spline Range Area +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- diff --git a/chart-sdk/typescript/charts/Chart-types/spline.md b/chart-sdk/typescript/charts/Chart-types/spline.md index 693836bac..e7913bd15 100644 --- a/chart-sdk/typescript/charts/Chart-types/spline.md +++ b/chart-sdk/typescript/charts/Chart-types/spline.md @@ -1,9 +1,10 @@ --- layout: post title: Spline Chart in TypeScript Charts | Syncfusion -description: Learn here all about Spline in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +description: Learn here all about Spline in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Spline +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- diff --git a/chart-sdk/typescript/charts/Chart-types/stack-area.md b/chart-sdk/typescript/charts/Chart-types/stack-area.md index 9d00badde..ae6127de1 100644 --- a/chart-sdk/typescript/charts/Chart-types/stack-area.md +++ b/chart-sdk/typescript/charts/Chart-types/stack-area.md @@ -1,9 +1,10 @@ --- layout: post title: Stacked Area Chart in TypeScript Charts | Syncfusion -description: Learn here all about Stacked area in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +description: Learn here all about Stacked area in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Stacked Area +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- diff --git a/chart-sdk/typescript/charts/Chart-types/stack-bar.md b/chart-sdk/typescript/charts/Chart-types/stack-bar.md index 95f0d82d1..ea8e344a7 100644 --- a/chart-sdk/typescript/charts/Chart-types/stack-bar.md +++ b/chart-sdk/typescript/charts/Chart-types/stack-bar.md @@ -1,9 +1,10 @@ --- layout: post title: Stacked Bar Chart in TypeScript Charts | Syncfusion -description: Learn here all about Stacked Bar in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +description: Learn here all about Stacked Bar in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Stacked Bar +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- diff --git a/chart-sdk/typescript/charts/Chart-types/stack-column.md b/chart-sdk/typescript/charts/Chart-types/stack-column.md index 28e3db0ca..77bbd909f 100644 --- a/chart-sdk/typescript/charts/Chart-types/stack-column.md +++ b/chart-sdk/typescript/charts/Chart-types/stack-column.md @@ -1,9 +1,10 @@ --- layout: post title: Stacked Column in TypeScript Charts | Syncfusion -description: Learn here all about Stacked Column in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +description: Learn here all about Stacked Column in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Stacked Column +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- diff --git a/chart-sdk/typescript/charts/Chart-types/stack-line.md b/chart-sdk/typescript/charts/Chart-types/stack-line.md index d47b9c24d..2208ce35a 100644 --- a/chart-sdk/typescript/charts/Chart-types/stack-line.md +++ b/chart-sdk/typescript/charts/Chart-types/stack-line.md @@ -1,9 +1,10 @@ --- layout: post title: Stacked Line Chart in TypeScript Charts | Syncfusion -description: Learn here all about Stacked Line in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +description: Learn here all about Stacked Line in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Stacked Line +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- diff --git a/chart-sdk/typescript/charts/Chart-types/stacked-area.md b/chart-sdk/typescript/charts/Chart-types/stacked-area.md index f426c7694..34b332378 100644 --- a/chart-sdk/typescript/charts/Chart-types/stacked-area.md +++ b/chart-sdk/typescript/charts/Chart-types/stacked-area.md @@ -1,9 +1,10 @@ --- layout: post title: Stacked Area Chart in TypeScript Charts | Syncfusion -description: Learn here all about Stacked Area in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +description: Learn here all about Stacked Area in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Stacked Area +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- diff --git a/chart-sdk/typescript/charts/Chart-types/stacked-bar.md b/chart-sdk/typescript/charts/Chart-types/stacked-bar.md index fab19755f..841007a60 100644 --- a/chart-sdk/typescript/charts/Chart-types/stacked-bar.md +++ b/chart-sdk/typescript/charts/Chart-types/stacked-bar.md @@ -1,9 +1,10 @@ --- layout: post title: Stacked Bar Chart in TypeScript Charts | Syncfusion -description: Learn here all about Stacked Bar in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +description: Learn here all about Stacked Bar in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Stacked Bar +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- diff --git a/chart-sdk/typescript/charts/Chart-types/stacked-column.md b/chart-sdk/typescript/charts/Chart-types/stacked-column.md index 7c33148ab..591ce6cf3 100644 --- a/chart-sdk/typescript/charts/Chart-types/stacked-column.md +++ b/chart-sdk/typescript/charts/Chart-types/stacked-column.md @@ -1,9 +1,10 @@ --- layout: post title: Stacked Column Chart in TypeScript Charts | Syncfusion -description: Learn here all about Stacked Column in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +description: Learn here all about Stacked Column in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Stacked Column +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- diff --git a/chart-sdk/typescript/charts/Chart-types/stacked-line.md b/chart-sdk/typescript/charts/Chart-types/stacked-line.md index 2708ccc93..e457226de 100644 --- a/chart-sdk/typescript/charts/Chart-types/stacked-line.md +++ b/chart-sdk/typescript/charts/Chart-types/stacked-line.md @@ -1,9 +1,10 @@ --- layout: post title: Stacked Line Chart in TypeScript Charts | Syncfusion -description: Learn here all about Stacked Line in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +description: Learn here all about Stacked Line in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Stacked Line +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- diff --git a/chart-sdk/typescript/charts/Chart-types/stacked-step-area.md b/chart-sdk/typescript/charts/Chart-types/stacked-step-area.md index 0fd9b7edd..a9acafd78 100644 --- a/chart-sdk/typescript/charts/Chart-types/stacked-step-area.md +++ b/chart-sdk/typescript/charts/Chart-types/stacked-step-area.md @@ -1,9 +1,10 @@ --- layout: post title: Stacked Step Area Chart in TypeScript Charts | Syncfusion -description: Learn here all about Stacked Step Area in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +description: Learn here all about Stacked Step Area in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Stacked Step Area +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- diff --git a/chart-sdk/typescript/charts/Chart-types/step-area.md b/chart-sdk/typescript/charts/Chart-types/step-area.md index 252974bd1..2da1019b6 100644 --- a/chart-sdk/typescript/charts/Chart-types/step-area.md +++ b/chart-sdk/typescript/charts/Chart-types/step-area.md @@ -1,9 +1,10 @@ --- layout: post title: Step Area Chart in TypeScript Charts | Syncfusion -description: Learn here all about Step Area in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +description: Learn here all about Step Area in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Step Area +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- diff --git a/chart-sdk/typescript/charts/Chart-types/step-line.md b/chart-sdk/typescript/charts/Chart-types/step-line.md index 8204812a1..fda9d2fc0 100644 --- a/chart-sdk/typescript/charts/Chart-types/step-line.md +++ b/chart-sdk/typescript/charts/Chart-types/step-line.md @@ -1,9 +1,10 @@ --- layout: post title: Step Line Chart in TypeScript Charts | Syncfusion -description: Learn here all about Step Line in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +description: Learn here all about Step Line in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Step Line +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- diff --git a/chart-sdk/typescript/charts/Chart-types/vertical-chart.md b/chart-sdk/typescript/charts/Chart-types/vertical-chart.md index d37e98c76..2f41214bf 100644 --- a/chart-sdk/typescript/charts/Chart-types/vertical-chart.md +++ b/chart-sdk/typescript/charts/Chart-types/vertical-chart.md @@ -1,9 +1,10 @@ --- layout: post title: Vertical Chart in TypeScript Charts | Syncfusion -description: Learn here all about Vertical Chart in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +description: Learn here all about Vertical Chart in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Vertical Chart +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- diff --git a/chart-sdk/typescript/charts/Chart-types/waterfall.md b/chart-sdk/typescript/charts/Chart-types/waterfall.md index 7ba11216b..ce0a5fc19 100644 --- a/chart-sdk/typescript/charts/Chart-types/waterfall.md +++ b/chart-sdk/typescript/charts/Chart-types/waterfall.md @@ -1,9 +1,10 @@ --- layout: post title: Waterfall Chart in TypeScript Charts | Syncfusion -description: Learn here all about Waterfall in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +description: Learn here all about Waterfall in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Waterfall +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- diff --git a/chart-sdk/typescript/charts/accessibility.md b/chart-sdk/typescript/charts/accessibility.md index 65646c542..6b8cc7bdb 100644 --- a/chart-sdk/typescript/charts/accessibility.md +++ b/chart-sdk/typescript/charts/accessibility.md @@ -1,14 +1,15 @@ --- layout: post -title: Accessibility in TypeScript Charts | Syncfusion -description: Learn here all about Accessibility in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +title: Accessibility in TypeScript Chart control | Syncfusion +description: Learn here all about Accessibility in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Accessibility +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Accessibility in TypeScript Charts +# Accessibility in TypeScript Chart control The Chart control follows the accessibility guidelines and standards, including [ADA](https://www.ada.gov), [Section 508](https://www.section508.gov), [WCAG 2.2](https://www.w3.org/TR/WCAG22), and relevant [WAI-ARIA](https://www.w3.org/TR/wai-aria#roles) roles. diff --git a/chart-sdk/typescript/charts/advanced-accessibility-configuration.md b/chart-sdk/typescript/charts/advanced-accessibility-configuration.md index 4e5138192..8e7ce4a18 100644 --- a/chart-sdk/typescript/charts/advanced-accessibility-configuration.md +++ b/chart-sdk/typescript/charts/advanced-accessibility-configuration.md @@ -1,26 +1,27 @@ --- layout: post -title: Advanced accessibility in TypeScript Charts | Syncfusion -description: Learn here all about Accessibility customization in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +title: Accessibility customization in TypeScript Chart control | Syncfusion +description: Learn here all about Accessibility customization in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Accessibility customization +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Advanced accessibility in TypeScript Charts +# Accessibility customization in TypeScript Chart control The TypeScript Chart control visualizes data graphically and provides accessibility customization options to improve usability for people with disabilities. The primary accessibility attributes are described in this section. The chart control exposes attributes that enable accessibility customization, including: -* [`accessibilityDescription`](../api/chart/accessibilityModel#accessibilitydescription) - Provides a text description for the chart, improving support for screen readers. -* [`accessibilityRole`](../api/chart/accessibilityModel#accessibilityrole) - Specifies the role of the chart, helping screen readers to identify the element appropriately. -* [`focusable`](../api/chart/accessibilityModel#focusable) - Allows the chart to receive focus, making it accessible via keyboard navigation. +* [`accessibilityDescription`](../api/chart/accessibilityModel/#accessibilitydescription) - Provides a text description for the chart, improving support for screen readers. +* [`accessibilityRole`](../api/chart/accessibilityModel/#accessibilityrole) - Specifies the role of the chart, helping screen readers to identify the element appropriately. +* [`focusable`](../api/chart/accessibilityModel/#focusable) - Allows the chart to receive focus, making it accessible via keyboard navigation. * [`focusBorderColor`](../api/chart#focusbordercolor) - Sets the color of the focus border, enhancing visibility when the chart is focused. * [`focusBorderMargin`](../api/chart#focusbordermargin) - Defines the margin around the focus border. * [`focusBorderWidth`](../api/chart#focusborderwidth) - Specifies the width of the focus border. -* [`tabIndex`](../api/chart/accessibilityModel#tabindex) - Specifies the tab order of the chart element, enabling efficient keyboard navigation. +* [`tabIndex`](../api/chart/accessibilityModel/#tabindex) - Specifies the tab order of the chart element, enabling efficient keyboard navigation. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -37,11 +38,11 @@ The chart control exposes attributes that enable accessibility customization, in The [`series`](../api/chart#series) supports the customization of accessibility for data points, allowing key characteristics to be adjusted for enhanced accessibility, such as: -* [`accessibilityDescription`](../api/chart/seriesAccessibilityModel#accessibilitydescription) - Provides a text description for the series root element, enhancing support for screen readers. -* [`accessibilityDescriptionFormat`](../api/chart/seriesAccessibilityModel#accessibilitydescriptionformat) - Specifies a format for the accessibility description of each point in the series, allowing dynamic content. The format string can include the placeholders such as ${series.name}, ${point.x}, ${point.y}, ${point.high}, etc. For example, the format "${series.name} : ${point.x}" displays the series name and x-value of the point in the accessibility description. Data point's values like high, low, open, and close are applicable based on the series types. -* [`accessibilityRole`](../api/chart/seriesAccessibilityModel#accessibilityrole) - Specifies the role of the series, helping screen readers to identify the element appropriately. -* [`focusable`](../api/chart/seriesAccessibilityModel#focusable) - Allows the series to receive focus, making it accessible via keyboard navigation. -* [`tabIndex`](../api/chart/seriesAccessibilityModel#tabindex) - Specifies the tab order of the series element, enabling efficient keyboard navigation. +* [`accessibilityDescription`](../api/chart/seriesAccessibilityModel/#accessibilitydescription) - Provides a text description for the series root element, enhancing support for screen readers. +* [`accessibilityDescriptionFormat`](../api/chart/seriesAccessibilityModel/#accessibilitydescriptionformat) - Specifies a format for the accessibility description of each point in the series, allowing dynamic content. The format string can include the placeholders such as ${series.name}, ${point.x}, ${point.y}, ${point.high}, etc. For example, the format "${series.name} : ${point.x}" displays the series name and x-value of the point in the accessibility description. Data point's values like high, low, open, and close are applicable based on the series types. +* [`accessibilityRole`](../api/chart/seriesAccessibilityModel/#accessibilityrole) - Specifies the role of the series, helping screen readers to identify the element appropriately. +* [`focusable`](../api/chart/seriesAccessibilityModel/#focusable) - Allows the series to receive focus, making it accessible via keyboard navigation. +* [`tabIndex`](../api/chart/seriesAccessibilityModel/#tabindex) - Specifies the tab order of the series element, enabling efficient keyboard navigation. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -56,12 +57,12 @@ The [`series`](../api/chart#series) supports the customization of accessibility ## Title and subtitle -In the TypeScript chart control, the [`titleStyle`](../api/chart#titlestyle) and [`subTitleStyle`](../api/chart#subtitlestyle) attributes allow you to customize the accessibility of the chart's title and subtitle. The following [`accessibility`](../api/chart/titleSettingsModel#accessibility) properties in [`titleStyle`](../api/chart#titlestyle) and [`subTitleStyle`](../api/chart#subtitlestyle) can be customized for accessibility: +In the TypeScript chart control, the [`titleStyle`](../api/chart/#titlestyle) and [`subTitleStyle`](../api/chart/#subtitlestyle) attributes allow you to customize the accessibility of the chart's title and subtitle. The following [`accessibility`](../api/chart/titleSettingsModel/#accessibility) properties in [`titleStyle`](../api/chart/#titlestyle) and [`subTitleStyle`](../api/chart/#subtitlestyle) can be customized for accessibility: -* [`accessibilityDescription`](../api/chart/accessibilityModel#accessibilitydescription) - Provides a text description for the chart title and subtitle, enhancing support for screen readers. -* [`accessibilityRole`](../api/chart/accessibilityModel#accessibilityrole) - Specifies the role of the chart title and subtitle, helping screen readers to identify the element appropriately. -* [`focusable`](../api/chart/accessibilityModel#focusable) - Enables or disables the keyboard navigation focus for the title and subtitle. -* [`tabIndex`](../api/chart/accessibilityModel#tabindex) - Specifies the tab order of the title and subtitle element, enabling efficient keyboard navigation. +* [`accessibilityDescription`](../api/chart/accessibilityModel/#accessibilitydescription) - Provides a text description for the chart title and subtitle, enhancing support for screen readers. +* [`accessibilityRole`](../api/chart/accessibilityModel/#accessibilityrole) - Specifies the role of the chart title and subtitle, helping screen readers to identify the element appropriately. +* [`focusable`](../api/chart/accessibilityModel/#focusable) - Enables or disables the keyboard navigation focus for the title and subtitle. +* [`tabIndex`](../api/chart/accessibilityModel/#tabindex) - Specifies the tab order of the title and subtitle element, enabling efficient keyboard navigation. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -76,12 +77,12 @@ In the TypeScript chart control, the [`titleStyle`](../api/chart#titlestyle) and ## Annotations -The [`annotations`](../api/chart#annotations) property allows you to add annotations to the chart in specific regions. The following [`accessibility`](../api/chart/chartAnnotationSettingsModel#accessibility) properties in [`annotations`](../api/chart#annotations) can be customized for accessibility: +The [`annotations`](../api/chart/#annotations) property allows you to add annotations to the chart in specific regions. The following [`accessibility`](../api/chart/chartAnnotationSettingsModel/#accessibility) properties in [`annotations`](../api/chart/#annotations) can be customized for accessibility: -* [`accessibilityDescription`](../api/chart/accessibilityModel#accessibilitydescription) - Provides a text description for the annotation, enhancing support for screen readers. -* [`accessibilityRole`](../api/chart/accessibilityModel#accessibilityrole) - Specifies the role of the annotation, helping screen readers to identify the element appropriately. -* [`focusable`](../api/chart/accessibilityModel#focusable) - Specifies whether annotations are focusable via keyboard navigation. -* [`tabIndex`](../api/chart/accessibilityModel#tabindex) - Specifies the tab order of the annotation element, enabling efficient keyboard navigation. +* [`accessibilityDescription`](../api/chart/accessibilityModel/#accessibilitydescription) - Provides a text description for the annotation, enhancing support for screen readers. +* [`accessibilityRole`](../api/chart/accessibilityModel/#accessibilityrole) - Specifies the role of the annotation, helping screen readers to identify the element appropriately. +* [`focusable`](../api/chart/accessibilityModel/#focusable) - Specifies whether annotations are focusable via keyboard navigation. +* [`tabIndex`](../api/chart/accessibilityModel/#tabindex) - Specifies the tab order of the annotation element, enabling efficient keyboard navigation. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -96,12 +97,12 @@ The [`annotations`](../api/chart#annotations) property allows you to add annotat ## Trendline -The [`trendlines`](../api/chart#trendlinemodule) property allows you to display trends in the data. The following [`accessibility`](../api/chart/trendlineModel#accessibility) properties in [`trendlines`](../api/chart#trendlinemodule) can be customized for accessibility: +The [`trendlines`](../api/chart#trendlinemodule) property allows you to display trends in the data. The following [`accessibility`](../api/chart/trendlineModel/#accessibility) properties in [`trendlines`](../api/chart#trendlinemodule) can be customized for accessibility: -* [`accessibilityDescription`](../api/chart/accessibilityModel#accessibilitydescription) - Provides a text description for the trendline, enhancing support for screen readers. -* [`accessibilityRole`](../api/chart/accessibilityModel#accessibilityrole) - Specifies the role of the trendline, helping screen readers to identify the element appropriately. -* [`focusable`](../api/chart/accessibilityModel#focusable) - Specifies whether trendlines are focusable via keyboard navigation. -* [`tabIndex`](../api/chart/accessibilityModel#tabindex) - Specifies the tab order of the trendline element, enabling efficient keyboard navigation. +* [`accessibilityDescription`](../api/chart/accessibilityModel/#accessibilitydescription) - Provides a text description for the trendline, enhancing support for screen readers. +* [`accessibilityRole`](../api/chart/accessibilityModel/#accessibilityrole) - Specifies the role of the trendline, helping screen readers to identify the element appropriately. +* [`focusable`](../api/chart/accessibilityModel/#focusable) - Specifies whether trendlines are focusable via keyboard navigation. +* [`tabIndex`](../api/chart/accessibilityModel/#tabindex) - Specifies the tab order of the trendline element, enabling efficient keyboard navigation. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -116,12 +117,12 @@ The [`trendlines`](../api/chart#trendlinemodule) property allows you to display ## Zooming -The [`zoomSettings`](../api/chart#zoomsettings) attributes allow you to adjust the chart's zooming capability. The following [`accessibility`](../api/chart/zoomSettingsModel#accessibility) properties in [`zoomSettings`](../api/chart#zoomsettings) offer the parameters for accessibility customization: +The [`zoomSettings`](../api/chart#zoomsettings) attributes allow you to adjust the chart's zooming capability. The following [`accessibility`](../api/chart/zoomSettingsModel/#accessibility) properties in [`zoomSettings`](../api/chart#zoomsettings) offer the parameters for accessibility customization: -* [`accessibilityDescription`](../api/chart/accessibilityModel#accessibilitydescription) - Provides a text description for the zoom toolkit items, enhancing support for screen readers. -* [`accessibilityRole`](../api/chart/accessibilityModel#accessibilityrole) - Specifies the role of the zoom toolkit items, helping screen readers to identify the element appropriately. -* [`focusable`](../api/chart/accessibilityModel#focusable) - Specifies whether zoom toolkit items are focusable via keyboard navigation. -* [`tabIndex`](../api/chart/accessibilityModel#tabindex) - Specifies the tab order of the zooming element, enabling efficient keyboard navigation. +* [`accessibilityDescription`](../api/chart/accessibilityModel/#accessibilitydescription) - Provides a text description for the zoom toolkit items, enhancing support for screen readers. +* [`accessibilityRole`](../api/chart/accessibilityModel/#accessibilityrole) - Specifies the role of the zoom toolkit items, helping screen readers to identify the element appropriately. +* [`focusable`](../api/chart/accessibilityModel/#focusable) - Specifies whether zoom toolkit items are focusable via keyboard navigation. +* [`tabIndex`](../api/chart/accessibilityModel/#tabindex) - Specifies the tab order of the zooming element, enabling efficient keyboard navigation. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -136,12 +137,12 @@ The [`zoomSettings`](../api/chart#zoomsettings) attributes allow you to adjust t ## Technical indicators -The [`indicators`](../api/chart#indicators) property allows you to analyze the trends and patterns in the data. The following [`accessibility`](../api/chart/technicalIndicatorModel#accessibility) properties in [`indicators`](../api/chart#indicators) can be customized for accessibility: +The [`indicators`](../api/chart#indicators) property allows you to analyze the trends and patterns in the data. The following [`accessibility`](../api/chart/technicalIndicatorModel/#accessibility) properties in [`indicators`](../api/chart#indicators) can be customized for accessibility: -* [`accessibilityDescription`](../api/chart/accessibilityModel#accessibilitydescription) - Provides a text description for the indicators, enhancing support for screen readers. -* [`accessibilityRole`](../api/chart/accessibilityModel#accessibilityrole) - Specifies the role of the indicators, helping screen readers to identify the element appropriately. -* [`focusable`](../api/chart/accessibilityModel#focusable) - Specifies whether indicators are focusable via keyboard navigation. -* [`tabIndex`](../api/chart/accessibilityModel#tabindex) - Specifies the tab order of the indicators element, enabling efficient keyboard navigation. +* [`accessibilityDescription`](../api/chart/accessibilityModel/#accessibilitydescription) - Provides a text description for the indicators, enhancing support for screen readers. +* [`accessibilityRole`](../api/chart/accessibilityModel/#accessibilityrole) - Specifies the role of the indicators, helping screen readers to identify the element appropriately. +* [`focusable`](../api/chart/accessibilityModel/#focusable) - Specifies whether indicators are focusable via keyboard navigation. +* [`tabIndex`](../api/chart/accessibilityModel/#tabindex) - Specifies the tab order of the indicators element, enabling efficient keyboard navigation. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -156,12 +157,12 @@ The [`indicators`](../api/chart#indicators) property allows you to analyze the t ## Legend -The [`legendSettings`](../api/chart#legendsettings) provide information about the series shown in the chart. The following [`accessibility`](../api/chart/legendSettingsModel#accessibility) properties in [`legendSettings`](../api/chart#legendsettings) can be used to alter the accessibility of the chart's legend: +The [`legendSettings`](../api/chart#legendsettings) provide information about the series shown in the chart. The following [`accessibility`](../api/chart/legendSettingsModel/#accessibility) properties in [`legendSettings`](../api/chart#legendsettings) can be used to alter the accessibility of the chart's legend: -* [`accessibilityDescription`](../api/chart/accessibilityModel#accessibilitydescription) - Provides a text description for the legend root element, enhancing support for screen readers. -* [`accessibilityRole`](../api/chart/accessibilityModel#accessibilityrole) - Specifies the role of the legend items to screen readers, providing appropriate context. -* [`focusable`](../api/chart/accessibilityModel#focusable) - Specifies whether legend items are focusable via keyboard navigation. -* [`tabIndex`](../api/chart/accessibilityModel#tabindex) - Specifies the tab order of the legend element, enabling efficient keyboard navigation. +* [`accessibilityDescription`](../api/chart/accessibilityModel/#accessibilitydescription) - Provides a text description for the legend root element, enhancing support for screen readers. +* [`accessibilityRole`](../api/chart/accessibilityModel/#accessibilityrole) - Specifies the role of the legend items to screen readers, providing appropriate context. +* [`focusable`](../api/chart/accessibilityModel/#focusable) - Specifies whether legend items are focusable via keyboard navigation. +* [`tabIndex`](../api/chart/accessibilityModel/#tabindex) - Specifies the tab order of the legend element, enabling efficient keyboard navigation. {% tabs %} {% highlight ts tabtitle="index.ts" %} diff --git a/chart-sdk/typescript/charts/axis-customization.md b/chart-sdk/typescript/charts/axis-customization.md index fdc8688d6..20e34fcf3 100644 --- a/chart-sdk/typescript/charts/axis-customization.md +++ b/chart-sdk/typescript/charts/axis-customization.md @@ -1,14 +1,15 @@ --- layout: post -title: Axis customization in TypeScript Charts | Syncfusion -description: Learn here all about Axis customization in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +title: Axis customization in TypeScript Chart control | Syncfusion +description: Learn here all about Axis customization in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Axis customization +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Axis customization in TypeScript Charts +# Axis customization in TypeScript Chart control ## Axis Crossing diff --git a/chart-sdk/typescript/charts/axis-labels.md b/chart-sdk/typescript/charts/axis-labels.md index 12f51e3f1..14135aef0 100644 --- a/chart-sdk/typescript/charts/axis-labels.md +++ b/chart-sdk/typescript/charts/axis-labels.md @@ -1,14 +1,15 @@ --- layout: post -title: Axis labels in TypeScript Charts | Syncfusion -description: Learn here all about Axis labels in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +title: Axis labels in TypeScript Chart control | Syncfusion +description: Learn here all about Axis labels in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Axis labels +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Axis labels in TypeScript Charts +# Axis labels in TypeScript Chart control ## Smart axis labels diff --git a/chart-sdk/typescript/charts/category-axis.md b/chart-sdk/typescript/charts/category-axis.md index 0d9c18e66..6760d1d01 100644 --- a/chart-sdk/typescript/charts/category-axis.md +++ b/chart-sdk/typescript/charts/category-axis.md @@ -1,14 +1,15 @@ --- layout: post -title: Category axis in TypeScript Charts | Syncfusion -description: Learn here all about Category axis in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +title: Category axis in TypeScript Chart control | Syncfusion +description: Learn here all about Category axis in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Category axis +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Category axis in TypeScript Charts +# Category axis in TypeScript Chart control diff --git a/chart-sdk/typescript/charts/chart-annotations.md b/chart-sdk/typescript/charts/chart-annotations.md index eae2cd3ae..a613c5f81 100644 --- a/chart-sdk/typescript/charts/chart-annotations.md +++ b/chart-sdk/typescript/charts/chart-annotations.md @@ -1,14 +1,15 @@ --- layout: post -title: Annotations in TypeScript Charts | Syncfusion -description: Learn here all about Chart annotations in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +title: Chart annotations in TypeScript Chart control | Syncfusion +description: Learn here all about Chart annotations in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Chart annotations +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Annotations in TypeScript Charts +# Chart annotations in TypeScript Chart control Chart annotations allow highlighting specific areas of the chart using text, shapes, images, or custom HTML elements. Annotations can be used to emphasize trends, mark thresholds, show custom notes, or display additional information directly inside the chart area. diff --git a/chart-sdk/typescript/charts/chart-appearance.md b/chart-sdk/typescript/charts/chart-appearance.md index 62e836b9e..ec76cfd44 100644 --- a/chart-sdk/typescript/charts/chart-appearance.md +++ b/chart-sdk/typescript/charts/chart-appearance.md @@ -1,14 +1,15 @@ --- layout: post -title: Appearance in TypeScript Charts | Syncfusion -description: Learn here all about Chart appearance in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +title: Chart appearance in TypeScript Chart control | Syncfusion +description: Learn here all about Chart appearance in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Chart appearance +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Appearance in TypeScript Charts +# Chart appearance in TypeScript Chart control ## Custom color palette diff --git a/chart-sdk/typescript/charts/chart-dimensions.md b/chart-sdk/typescript/charts/chart-dimensions.md index d83bf7ef1..153744266 100644 --- a/chart-sdk/typescript/charts/chart-dimensions.md +++ b/chart-sdk/typescript/charts/chart-dimensions.md @@ -1,14 +1,15 @@ --- layout: post -title: Chart dimensions in TypeScript Charts | Syncfusion -description: Learn here all about Chart dimensions in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +title: Chart dimensions in TypeScript Chart control | Syncfusion +description: Learn here all about Chart dimensions in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Chart dimensions +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Chart dimensions in TypeScript Charts +# Chart dimensions in TypeScript Chart control ## Size for Container diff --git a/chart-sdk/typescript/charts/chart-print.md b/chart-sdk/typescript/charts/chart-print.md index 7de830b2f..4793c282d 100644 --- a/chart-sdk/typescript/charts/chart-print.md +++ b/chart-sdk/typescript/charts/chart-print.md @@ -1,14 +1,15 @@ --- layout: post -title: Print and export in TypeScript Charts | Syncfusion -description: Learn here all about Chart print in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +title: Chart print in TypeScript Chart control | Syncfusion +description: Learn here all about Chart print in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Chart print +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Chart print in TypeScript Charts +# Chart print in TypeScript Chart control ## Print @@ -114,7 +115,7 @@ The chart can be exported as an image in the form of a base64 string by utilizin ## Excel export -You can export the rendered chart data to Excel in either `XLSX` or `CSV` format. The [`excelProperties`](../api/chart/iExportEventArgs#excelproperties) property in the [`beforeExport`](../api/chart/iExportEventArgs) event allows users to customize the exported Excel sheet by modifying row, column, and cell properties before the file is generated. You can customize row titles, column titles, cell values, as well as row and column widths. +You can export the rendered chart data to Excel in either `XLSX` or `CSV` format. The [`excelProperties`](../api/chart/iExportEventArgs/#excelproperties) property in the [`beforeExport`](../api/chart/iExportEventArgs/) event allows users to customize the exported Excel sheet by modifying row, column, and cell properties before the file is generated. You can customize row titles, column titles, cell values, as well as row and column widths. {% tabs %} {% highlight ts tabtitle="index.ts" %} diff --git a/chart-sdk/typescript/charts/chart-series.md b/chart-sdk/typescript/charts/chart-series.md index 9ab523d33..88d98d564 100644 --- a/chart-sdk/typescript/charts/chart-series.md +++ b/chart-sdk/typescript/charts/chart-series.md @@ -1,18 +1,19 @@ --- layout: post -title: Multiple series in TypeScript Charts | Syncfusion -description: Learn here all about Chart series in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +title: Chart series in TypeScript Chart control | Syncfusion +description: Learn here all about Chart series in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Chart series +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Multiple series in TypeScript Charts +# Chart series in TypeScript Chart control ## Multiple Series -You can add multiple series to the chart by using [`series`](../api/chart/seriesModel) property. The series are rendered in the order as it is added to the series array. +You can add multiple series to the chart by using [`series`](../api/chart/seriesModel/) property. The series are rendered in the order as it is added to the series array. {% tabs %} {% highlight ts tabtitle="index.ts" %} diff --git a/chart-sdk/typescript/charts/cross-hair-and-track-ball.md b/chart-sdk/typescript/charts/cross-hair-and-track-ball.md index bc090d404..549e1f661 100644 --- a/chart-sdk/typescript/charts/cross-hair-and-track-ball.md +++ b/chart-sdk/typescript/charts/cross-hair-and-track-ball.md @@ -1,14 +1,15 @@ --- layout: post -title: Crosshair and trackball in TypeScript Charts | Syncfusion -description: Learn here all about Cross hair and track ball in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +title: Cross hair and track ball in TypeScript Chart control | Syncfusion +description: Learn here all about Cross hair and track ball in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Cross hair and track ball +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Crosshair and trackball in TypeScript Charts +# Cross hair and track ball in TypeScript Chart control The crosshair feature displays vertical and horizontal guide lines that intersect at the mouse or touch position, helping to identify the corresponding axis values precisely. diff --git a/chart-sdk/typescript/charts/data-editing.md b/chart-sdk/typescript/charts/data-editing.md index ffaad3431..39bf4ccc1 100644 --- a/chart-sdk/typescript/charts/data-editing.md +++ b/chart-sdk/typescript/charts/data-editing.md @@ -1,16 +1,17 @@ --- layout: post -title: Data editing in TypeScript Charts | Syncfusion -description: Learn here all about Data editing in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +title: Data editing in TypeScript Chart control | Syncfusion +description: Learn here all about Data editing in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Data editing +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Data editing in TypeScript Charts +# Data editing in TypeScript Chart control ## Enable Data Editing diff --git a/chart-sdk/typescript/charts/data-labels.md b/chart-sdk/typescript/charts/data-labels.md index 4a206a96a..1d9d408ed 100644 --- a/chart-sdk/typescript/charts/data-labels.md +++ b/chart-sdk/typescript/charts/data-labels.md @@ -1,14 +1,15 @@ --- layout: post -title: Data labels in TypeScript Charts | Syncfusion -description: Learn here all about Data labels in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +title: Data labels in TypeScript Chart control | Syncfusion +description: Learn here all about Data labels in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Data labels +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Data labels in TypeScript Charts +# Data labels in TypeScript Chart control Data labels display the values of data points directly on the chart, reducing the need to reference axes for exact values. Enable data labels by setting the [`visible`](../api/chart/dataLabelSettingsModel#visible-boolean) option to `true` in the `dataLabel` configuration. Labels automatically adjust to avoid overlapping and maintain readability. diff --git a/chart-sdk/typescript/charts/data-markers.md b/chart-sdk/typescript/charts/data-markers.md index a51990440..769ac2444 100644 --- a/chart-sdk/typescript/charts/data-markers.md +++ b/chart-sdk/typescript/charts/data-markers.md @@ -1,14 +1,15 @@ --- layout: post -title: Markers in TypeScript Charts | Syncfusion -description: Learn here all about Data markers in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +title: Data markers in TypeScript Chart control | Syncfusion +description: Learn here all about Data markers in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Data markers +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Markers in TypeScript Charts +# Data markers in TypeScript Chart control Data markers are visual indicators placed at each data point on a series, helping to clearly identify and highlight individual values in your chart. Markers improve readability and accessibility, especially in line and area charts where data points may otherwise be unclear. Customize marker shape, color, size, and appearance to match your design requirements. diff --git a/chart-sdk/typescript/charts/date-time-axis.md b/chart-sdk/typescript/charts/date-time-axis.md index 14080cdd2..27565b417 100644 --- a/chart-sdk/typescript/charts/date-time-axis.md +++ b/chart-sdk/typescript/charts/date-time-axis.md @@ -1,15 +1,16 @@ --- layout: post -title: DateTime axis in TypeScript Charts | Syncfusion -description: Learn here all about Date time axis in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +title: Date time axis in TypeScript Chart control | Syncfusion +description: Learn here all about Date time axis in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Date time axis +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# DateTime axis in TypeScript Charts +# Date time axis in TypeScript Chart control ## DateTime Axis diff --git a/chart-sdk/typescript/charts/dynamic-data-update.md b/chart-sdk/typescript/charts/dynamic-data-update.md index 3cb2daf27..04c37d275 100644 --- a/chart-sdk/typescript/charts/dynamic-data-update.md +++ b/chart-sdk/typescript/charts/dynamic-data-update.md @@ -1,14 +1,15 @@ --- layout: post -title: Dynamic data update in TypeScript Charts | Syncfusion -description: Learn here all about dynamic data update in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +title: Dynamic data update in TypeScript Chart control | Syncfusion +description: Learn here all about dynamic data update in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Dynamic Data Update +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Dynamic data update in TypeScript Charts +# Dynamic data update in TypeScript Chart control The TypeScript Chart control provides methods to dynamically modify data without requiring a full chart refresh. This enables real-time data visualization, interactive features, and responsive user experiences. Common scenarios include adding sensor readings, removing outdated data points, replacing entire datasets, and enabling click-based data manipulation. diff --git a/chart-sdk/typescript/charts/ej1-api-migration.md b/chart-sdk/typescript/charts/ej1-api-migration.md index 682e492d0..602af7f9b 100644 --- a/chart-sdk/typescript/charts/ej1-api-migration.md +++ b/chart-sdk/typescript/charts/ej1-api-migration.md @@ -1,14 +1,15 @@ --- layout: post -title: Migration from Essential JS 1 in TypeScript Charts | Syncfusion -description: Learn here all about Ej1 api migration in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +title: Ej1 api migration in TypeScript Chart control | Syncfusion +description: Learn here all about Ej1 api migration in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Ej1 api migration +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Migration from Essential JS 1 in TypeScript Charts +# Ej1 api migration in TypeScript Chart control This article describes the API migration process of the Chart component from Essential JS 1 to Essential JS 2. diff --git a/chart-sdk/typescript/charts/feature-modules.md b/chart-sdk/typescript/charts/feature-modules.md index 37711feee..191f25885 100644 --- a/chart-sdk/typescript/charts/feature-modules.md +++ b/chart-sdk/typescript/charts/feature-modules.md @@ -1,14 +1,15 @@ --- layout: post -title: Feature modules in TypeScript Charts | Syncfusion -description: Learn here all about Module in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +title: Module in TypeScript Chart control | Syncfusion +description: Learn here all about Module in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Module +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Feature modules in TypeScript Charts +# Module in TypeScript Chart control The following available modules should be injected to extend the Chart's functionality. diff --git a/chart-sdk/typescript/charts/getting-started.md b/chart-sdk/typescript/charts/getting-started.md index a6ae3f6e9..9d9f4e8ca 100644 --- a/chart-sdk/typescript/charts/getting-started.md +++ b/chart-sdk/typescript/charts/getting-started.md @@ -1,14 +1,15 @@ --- layout: post -title: Getting started with TypeScript Charts control | Syncfusion -description: Check out and learn about Getting started with TypeScript Charts control of Syncfusion Essential JS 2 and more details. +title: Getting started with TypeScript Chart control | Syncfusion +description: Check out and learn about Getting started with TypeScript Chart control of Syncfusion Essential JS 2 and more details. platform: chart-sdk -control: Charts +control: Chart +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Getting started with TypeScript Charts control +# Getting started with TypeScript Chart control This document explains how to create a simple Chart and configure its features in TypeScript using the Essential JS 2 webpack [quickstart](https://github.com/SyncfusionExamples/ej2-quickstart-webpack) seed repository. @@ -18,7 +19,7 @@ This document explains how to create a simple Chart and configure its features i Before you begin, ensure you have the following installed on your machine: -* [Node.js](https://nodejs.org/en) (v14.15.0 or higher) +* [Node.js](https://nodejs.org/) (v14.15.0 or higher) * [Visual Studio Code](https://code.visualstudio.com) (or any text editor) * [Git](https://git-scm.com/) (for cloning the quickstart repository) * A web browser to view the result diff --git a/chart-sdk/typescript/charts/gradient.md b/chart-sdk/typescript/charts/gradient.md index 57de767f8..071578d07 100644 --- a/chart-sdk/typescript/charts/gradient.md +++ b/chart-sdk/typescript/charts/gradient.md @@ -1,15 +1,16 @@ --- layout: post -title: Gradient in TypeScript Charts | Syncfusion -description: Learn here all about Gradient in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +title: Gradient in TypeScript Chart control | Syncfusion +description: Learn here all about Gradient in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Gradient +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Gradient in TypeScript Charts +# Gradient in TypeScript Chart control diff --git a/chart-sdk/typescript/charts/how-to/add-series.md b/chart-sdk/typescript/charts/how-to/add-series.md index bf70ff935..7ede46a2e 100644 --- a/chart-sdk/typescript/charts/how-to/add-series.md +++ b/chart-sdk/typescript/charts/how-to/add-series.md @@ -1,14 +1,15 @@ --- layout: post -title: How to add or remove series in TypeScript Charts | Syncfusion -description: Learn here all about Add series in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +title: Add series in TypeScript Chart control | Syncfusion +description: Learn here all about Add series in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Add series +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# How to add or remove series in TypeScript Charts +# Add series in TypeScript Chart control You can add or remove the chart series dynamically by using the `addSeries` or `removeSeries` method. diff --git a/chart-sdk/typescript/charts/how-to/axis-hide.md b/chart-sdk/typescript/charts/how-to/axis-hide.md index 573531426..dca2a1076 100644 --- a/chart-sdk/typescript/charts/how-to/axis-hide.md +++ b/chart-sdk/typescript/charts/how-to/axis-hide.md @@ -1,16 +1,17 @@ --- layout: post -title: How to hide axis on legend click in TypeScript Charts | Syncfusion -description: Learn here all about Axis hide in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +title: Axis hide in TypeScript Chart control | Syncfusion +description: Learn here all about Axis hide in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Axis hide +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# How to hide axis on legend click in TypeScript Charts +# Axis hide in TypeScript Chart control -By using the [`chartMouseClick`](../../api/chart/chartModel#chartmouseclick) event, you can hide the axis line through legend. +By using the [`chartMouseClick`](../../api/chart/chartModel/#chartmouseclick) event, you can hide the axis line through legend. To hide the axis line through legend click, follow the given steps: @@ -18,7 +19,7 @@ To hide the axis line through legend click, follow the given steps: Create a chart with multiple axes. -By using the [`chartMouseClick`](../../api/chart/chartModel#chartmousemove) event, you can get the legend's target ids. Using this event, you can also get the `yAxisName` of each axis, based on which you can hide the axis line when clicking the legend. +By using the [`chartMouseClick`](../../api/chart/chartModel/#chartmousemove) event, you can get the legend's target ids. Using this event, you can also get the `yAxisName` of each axis, based on which you can hide the axis line when clicking the legend. The following code sample demonstrates the output. diff --git a/chart-sdk/typescript/charts/how-to/clicked-data.md b/chart-sdk/typescript/charts/how-to/clicked-data.md index 686509508..a426c4baf 100644 --- a/chart-sdk/typescript/charts/how-to/clicked-data.md +++ b/chart-sdk/typescript/charts/how-to/clicked-data.md @@ -1,14 +1,15 @@ --- layout: post -title: How to get pie clicked data in TypeScript Charts | Syncfusion -description: Learn here all about Clicked data in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +title: Clicked data in TypeScript Chart control | Syncfusion +description: Learn here all about Clicked data in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Clicked data +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# How to get pie clicked data in TypeScript Charts +# Clicked data in TypeScript Chart control By using the [`pointClick`](../../api/accumulation-chart#pointClick-emittypeIPointEventArgs) event, you can get the chart data of clicked area. diff --git a/chart-sdk/typescript/charts/how-to/data-label-template.md b/chart-sdk/typescript/charts/how-to/data-label-template.md index b95f57d25..dc3f75822 100644 --- a/chart-sdk/typescript/charts/how-to/data-label-template.md +++ b/chart-sdk/typescript/charts/how-to/data-label-template.md @@ -1,14 +1,15 @@ --- layout: post -title: How to use data label template in TypeScript Charts | Syncfusion -description: Learn here all about Data label template in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +title: Data label template in TypeScript Chart control | Syncfusion +description: Learn here all about Data label template in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Data label template +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# How to use data label template in TypeScript Charts +# Data label template in TypeScript Chart control You can bind text and interior information for a point from dataSource other than x and y value. To change color for the background in the datalabel template, you can use `${point.text}`. diff --git a/chart-sdk/typescript/charts/how-to/dialog-chart.md b/chart-sdk/typescript/charts/how-to/dialog-chart.md index 8b3f4298d..97d8e2aef 100644 --- a/chart-sdk/typescript/charts/how-to/dialog-chart.md +++ b/chart-sdk/typescript/charts/how-to/dialog-chart.md @@ -1,14 +1,15 @@ --- layout: post -title: How to show chart in dialog in TypeScript Charts | Syncfusion -description: Learn here all about Dialog chart in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +title: Dialog chart in TypeScript Chart control | Syncfusion +description: Learn here all about Dialog chart in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Dialog chart +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# How to show chart in dialog in TypeScript Charts +# Dialog chart in TypeScript Chart control Using the `content` property of the dialog component, you can show the chart in dialog pop-up. diff --git a/chart-sdk/typescript/charts/how-to/dotted-line.md b/chart-sdk/typescript/charts/how-to/dotted-line.md index dfecfb791..9d6a45dc2 100644 --- a/chart-sdk/typescript/charts/how-to/dotted-line.md +++ b/chart-sdk/typescript/charts/how-to/dotted-line.md @@ -1,14 +1,15 @@ --- layout: post -title: How to add dotted line in TypeScript Charts | Syncfusion -description: Learn here all about Dotted line in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +title: Dotted line in TypeScript Chart control | Syncfusion +description: Learn here all about Dotted line in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Dotted line +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# How to add dotted line in TypeScript Charts +# Dotted line in TypeScript Chart control By using `annotation`, you can add dotted lines in the chart. diff --git a/chart-sdk/typescript/charts/how-to/down-sampling.md b/chart-sdk/typescript/charts/how-to/down-sampling.md index d2c7b6015..e6fdc39b4 100644 --- a/chart-sdk/typescript/charts/how-to/down-sampling.md +++ b/chart-sdk/typescript/charts/how-to/down-sampling.md @@ -1,20 +1,21 @@ --- layout: post -title: How to downsample data in TypeScript Charts | Syncfusion -description: Learn here all about Down sampling in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +title: Down sampling in TypeScript Chart control | Syncfusion +description: Learn here all about Down sampling in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Down sampling +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# How to downsample data in TypeScript Charts +# Down sampling in TypeScript Chart control Downsampling is the process of reducing the data rate. We have given a 2000 data points for chart. After applying downsampling algorithm, chart data points has been reduced and rendered with 400 data points. -Downsampling data using the "Largest-Triangle-Three-Buckets algorithm"[`LTTB`](https://gist.github.com/FraserChapman/649f1aba28f6bc941d5c) which describes the point in the bucket that forms the largest triangle using the area of the triangles. This helps to reducing the number of points. +Downsampling data using the "Largest-Triangle-Three-Buckets algorithm"[`LTTB`](https://bl.ocks.org/FraserChapman/649f1aba28f6bc941d5c) which describes the point in the bucket that forms the largest triangle using the area of the triangles. This helps to reducing the number of points. -In Downsampling when we perform zooming, particular level of zoomed chart we can see the chart clearly with original data, so we can use original data for that level of zooming. This can be achieved by [`zoomComplete`](../../api/chart#zoomcomplete) event. Refer the below sample for downsampling with zooming feature. +In Downsampling when we perform zooming, particular level of zoomed chart we can see the chart clearly with original data, so we can use original data for that level of zooming. This can be achieved by [`zoomComplete`](../../api/chart/#zoomcomplete) event. Refer the below sample for downsampling with zooming feature. {% tabs %} {% highlight ts tabtitle="index.ts" %} diff --git a/chart-sdk/typescript/charts/how-to/dynamic-chart.md b/chart-sdk/typescript/charts/how-to/dynamic-chart.md index 27636ab20..38933aadc 100644 --- a/chart-sdk/typescript/charts/how-to/dynamic-chart.md +++ b/chart-sdk/typescript/charts/how-to/dynamic-chart.md @@ -1,14 +1,15 @@ --- layout: post -title: How to create a dynamic chart in TypeScript Charts | Syncfusion -description: Learn here all about Dynamic chart in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +title: Dynamic chart in TypeScript Chart control | Syncfusion +description: Learn here all about Dynamic chart in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Dynamic chart +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# How to create a dynamic chart in TypeScript Charts +# Dynamic chart in TypeScript Chart control By using html button, you can add the chart dynamically when click the button. diff --git a/chart-sdk/typescript/charts/how-to/exact-date.md b/chart-sdk/typescript/charts/how-to/exact-date.md index 931312057..2d6686ea4 100644 --- a/chart-sdk/typescript/charts/how-to/exact-date.md +++ b/chart-sdk/typescript/charts/how-to/exact-date.md @@ -1,14 +1,15 @@ --- layout: post -title: How to show exact date in TypeScript Charts | Syncfusion -description: Learn here all about Exact date in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +title: Exact date in TypeScript Chart control | Syncfusion +description: Learn here all about Exact date in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Exact date +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# How to show exact date in TypeScript Charts +# Exact date in TypeScript Chart control By using button click you can show exact time or month after scrolling. Here we have changed `zooFactor` and `zoomPosition` based on time or month requirement. After scrolling you want show full month or full day data then you will customize the zoomFactor and zoomPosition of the chart and show exact time or month. diff --git a/chart-sdk/typescript/charts/how-to/footer.md b/chart-sdk/typescript/charts/how-to/footer.md index 59405eb3b..86cca45cf 100644 --- a/chart-sdk/typescript/charts/how-to/footer.md +++ b/chart-sdk/typescript/charts/how-to/footer.md @@ -1,14 +1,15 @@ --- layout: post -title: How to add footer and watermark in TypeScript Charts | Syncfusion -description: Learn here all about Footer in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +title: Footer in TypeScript Chart control | Syncfusion +description: Learn here all about Footer in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Footer +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# How to add footer and watermark in TypeScript Charts +# Footer in TypeScript Chart control By using `annotation`, you can place any html elements to chart in a desired view. diff --git a/chart-sdk/typescript/charts/how-to/grid-data-chart.md b/chart-sdk/typescript/charts/how-to/grid-data-chart.md index 21aa6cfd8..1e2e17641 100644 --- a/chart-sdk/typescript/charts/how-to/grid-data-chart.md +++ b/chart-sdk/typescript/charts/how-to/grid-data-chart.md @@ -1,14 +1,15 @@ --- layout: post -title: How to visualize grid records in TypeScript Charts | Syncfusion -description: Learn here all about Grid data chart in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +title: Grid data chart in TypeScript Chart control | Syncfusion +description: Learn here all about Grid data chart in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Grid data chart +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# How to visualize grid records in TypeScript Charts +# Grid data chart in TypeScript Chart control You can visualize the data that returned by grid in chart. diff --git a/chart-sdk/typescript/charts/how-to/grid-data-pie.md b/chart-sdk/typescript/charts/how-to/grid-data-pie.md index 9697a5b03..a02cefba4 100644 --- a/chart-sdk/typescript/charts/how-to/grid-data-pie.md +++ b/chart-sdk/typescript/charts/how-to/grid-data-pie.md @@ -1,14 +1,15 @@ --- layout: post -title: Visualize grid records in pie chart in TypeScript Charts | Syncfusion -description: Learn here all about Grid data pie in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +title: Grid data pie in TypeScript Chart control | Syncfusion +description: Learn here all about Grid data pie in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Grid data pie +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# How to visualize grid records in pie chart in TypeScript Charts +# Grid data pie in TypeScript Chart control You can visualize the filtered data that returned by grid in pie chart. diff --git a/chart-sdk/typescript/charts/how-to/hide-tool-tip.md b/chart-sdk/typescript/charts/how-to/hide-tool-tip.md index 9cb2b5bbe..b97177db2 100644 --- a/chart-sdk/typescript/charts/how-to/hide-tool-tip.md +++ b/chart-sdk/typescript/charts/how-to/hide-tool-tip.md @@ -1,22 +1,23 @@ --- layout: post -title: How to hide tooltip in TypeScript Charts | Syncfusion -description: Learn here all about Hide tool tip in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +title: Hide tool tip in TypeScript Chart control | Syncfusion +description: Learn here all about Hide tool tip in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Hide tool tip +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# How to hide tooltip in TypeScript Charts +# Hide tool tip in TypeScript Chart control -By using the [`tooltipRender`](../../api/chart/chartModel#tooltiprender) event, you can cancel the tooltip for unselected series in the chart. +By using the [`tooltipRender`](../../api/chart/chartModel/#tooltiprender) event, you can cancel the tooltip for unselected series in the chart. To hide the tooltip value in unselected series, follow the given steps: **Step 1**: -By using the [`tooltipRender`](../../api/chart/chartModel#tooltiprender) event, you can get the series elements in the arguments. By using this argument we can compare whether seriesElementclasslist is deselected container or not. If it is true then we cancel the tooltip by setting the value for `args.cancel` as `true`. +By using the [`tooltipRender`](../../api/chart/chartModel/#tooltiprender) event, you can get the series elements in the arguments. By using this argument we can compare whether seriesElementclasslist is deselected container or not. If it is true then we cancel the tooltip by setting the value for `args.cancel` as `true`. {% tabs %} {% highlight ts tabtitle="index.ts" %} diff --git a/chart-sdk/typescript/charts/how-to/initial-scrollbar.md b/chart-sdk/typescript/charts/how-to/initial-scrollbar.md index 9ba0ce00b..99701e225 100644 --- a/chart-sdk/typescript/charts/how-to/initial-scrollbar.md +++ b/chart-sdk/typescript/charts/how-to/initial-scrollbar.md @@ -1,16 +1,17 @@ --- layout: post -title: How to enable initial scrollbar in TypeScript Charts | Syncfusion -description: Learn here all about Initial scrollbar in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +title: Initial scrollbar in TypeScript Chart control | Syncfusion +description: Learn here all about Initial scrollbar in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Initial scrollbar +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# How to enable initial scrollbar in TypeScript Charts +# Initial scrollbar in TypeScript Chart control -By setting `zoomFactor` in primaryXAxis and `isZoomed` value as `true` in [`load`](../../api/chart/chartModel#load) event and `enableScrollbar` value as `true` in`zoomSettings`, you can make the scrollbar visible in initial rendering of chart. +By setting `zoomFactor` in primaryXAxis and `isZoomed` value as `true` in [`load`](../../api/chart/chartModel/#load) event and `enableScrollbar` value as `true` in`zoomSettings`, you can make the scrollbar visible in initial rendering of chart. {% tabs %} {% highlight ts tabtitle="index.ts" %} diff --git a/chart-sdk/typescript/charts/how-to/legend-customization.md b/chart-sdk/typescript/charts/how-to/legend-customization.md index f7bc7c7cf..c435a0a7a 100644 --- a/chart-sdk/typescript/charts/how-to/legend-customization.md +++ b/chart-sdk/typescript/charts/how-to/legend-customization.md @@ -1,22 +1,23 @@ --- layout: post -title: How to customize legend in TypeScript Charts | Syncfusion -description: Learn here all about Legend customization in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +title: Legend customization in TypeScript Chart control | Syncfusion +description: Learn here all about Legend customization in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Legend customization +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# How to customize legend in TypeScript Charts +# Legend customization in TypeScript Chart control -By using the [`legendRender`](../../api/chart/chartModel#legendrender), you can customize the legend shape. +By using the [`legendRender`](../../api/chart/chartModel/#legendrender), you can customize the legend shape. To Customize the legend shape, follow the given steps: **Step 1**: -Set the shape value for each legend using `args.shape` in [`legendRender`](../../api/chart/chartModel#legendrender) event. +Set the shape value for each legend using `args.shape` in [`legendRender`](../../api/chart/chartModel/#legendrender) event. {% tabs %} {% highlight ts tabtitle="index.ts" %} diff --git a/chart-sdk/typescript/charts/how-to/legend-in-table.md b/chart-sdk/typescript/charts/how-to/legend-in-table.md index f6f61470c..187f9c2d0 100644 --- a/chart-sdk/typescript/charts/how-to/legend-in-table.md +++ b/chart-sdk/typescript/charts/how-to/legend-in-table.md @@ -1,14 +1,15 @@ --- layout: post -title: How to add legend in table in TypeScript Charts | Syncfusion -description: Learn here all about Legend in table in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +title: Legend in table in TypeScript Chart control | Syncfusion +description: Learn here all about Legend in table in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Legend in table +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# How to add legend in table in TypeScript Charts +# Legend in table in TypeScript Chart control The `annotation` property is used to add legend in table and the `multiLevelLabels` property is used to customize the axis label in table format. diff --git a/chart-sdk/typescript/charts/how-to/live-chart.md b/chart-sdk/typescript/charts/how-to/live-chart.md index 6dfa861dd..124b771c2 100644 --- a/chart-sdk/typescript/charts/how-to/live-chart.md +++ b/chart-sdk/typescript/charts/how-to/live-chart.md @@ -1,14 +1,15 @@ --- layout: post -title: How to create a live chart in TypeScript Charts | Syncfusion -description: Learn here all about Live chart in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +title: Live chart in TypeScript Chart control | Syncfusion +description: Learn here all about Live chart in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Live chart +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# How to create a live chart in TypeScript Charts +# Live chart in TypeScript Chart control You can update a chart with live data by using the set interval. diff --git a/chart-sdk/typescript/charts/how-to/marker-customization.md b/chart-sdk/typescript/charts/how-to/marker-customization.md index 7f05a3b9c..7cda1fcdc 100644 --- a/chart-sdk/typescript/charts/how-to/marker-customization.md +++ b/chart-sdk/typescript/charts/how-to/marker-customization.md @@ -1,22 +1,23 @@ --- layout: post -title: How to customize markers in TypeScript Charts | Syncfusion -description: Learn here all about Marker customization in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +title: Marker customization in TypeScript Chart control | Syncfusion +description: Learn here all about Marker customization in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Marker customization +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# How to customize markers in TypeScript Charts +# Marker customization in TypeScript Chart control -By using the [`pointRender`](../../api/chart/chartModel#pointrender), you can customize the marker shape. +By using the [`pointRender`](../../api/chart/chartModel/#pointrender), you can customize the marker shape. To Customize the marker shape, follow the given steps: **Step 1**: -Customize the marker shape in each data point by using the [`pointRender`](../../api/chart/chartModel#pointrender) event. Using this event, you can set the `shape` value to the argument. +Customize the marker shape in each data point by using the [`pointRender`](../../api/chart/chartModel/#pointrender) event. Using this event, you can set the `shape` value to the argument. {% tabs %} {% highlight ts tabtitle="index.ts" %} diff --git a/chart-sdk/typescript/charts/how-to/percentage-tool-tip.md b/chart-sdk/typescript/charts/how-to/percentage-tool-tip.md index 1e1634ff4..e6294b31b 100644 --- a/chart-sdk/typescript/charts/how-to/percentage-tool-tip.md +++ b/chart-sdk/typescript/charts/how-to/percentage-tool-tip.md @@ -1,22 +1,23 @@ --- layout: post -title: Show pie percentage in tooltip in TypeScript Charts | Syncfusion -description: Learn here all about Percentage tool tip in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +title: Percentage tool tip in TypeScript Chart control | Syncfusion +description: Learn here all about Percentage tool tip in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Percentage tool tip +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# How to show pie percentage in tooltip in TypeScript Charts +# Percentage tool tip in TypeScript Chart control -By using the [`tooltipRender`](../../api/accumulation-chart/accumulationChartModel#tooltiprender) event, you can show the percentage value for each point of pie series in tooltip. +By using the [`tooltipRender`](../../api/accumulation-chart/accumulationChartModel/#tooltiprender) event, you can show the percentage value for each point of pie series in tooltip. To show the percentage value in pie tooltip, follow the given steps: **Step 1**: -By using the [`tooltipRender`](../../api/accumulation-chart/accumulationChartModel#tooltiprender) event, you can get the `args.point.y` and `args.series.sumOfPoints` values. You can use these values to calculate the percentage value for each point of pie series. To display the percentage value in tooltip, use the `args.content` property. +By using the [`tooltipRender`](../../api/accumulation-chart/accumulationChartModel/#tooltiprender) event, you can get the `args.point.y` and `args.series.sumOfPoints` values. You can use these values to calculate the percentage value for each point of pie series. To display the percentage value in tooltip, use the `args.content` property. {% tabs %} {% highlight ts tabtitle="index.ts" %} diff --git a/chart-sdk/typescript/charts/how-to/points-customization.md b/chart-sdk/typescript/charts/how-to/points-customization.md index d94c92f72..c451ab47a 100644 --- a/chart-sdk/typescript/charts/how-to/points-customization.md +++ b/chart-sdk/typescript/charts/how-to/points-customization.md @@ -1,14 +1,15 @@ --- layout: post -title: How to customize points in in TypeScript Charts | Syncfusion -description: Learn here all about Points customization in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +title: Points customization in TypeScript Chart control | Syncfusion +description: Learn here all about Points customization in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Points customization +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# How to customize points in in TypeScript Charts +# Points customization in TypeScript Chart control You can customize the series points with patterns by using the `pointColorMapping` property. diff --git a/chart-sdk/typescript/charts/how-to/prevent-data-label.md b/chart-sdk/typescript/charts/how-to/prevent-data-label.md index a961a52c5..7b706c36a 100644 --- a/chart-sdk/typescript/charts/how-to/prevent-data-label.md +++ b/chart-sdk/typescript/charts/how-to/prevent-data-label.md @@ -1,20 +1,21 @@ --- layout: post -title: How to prevent data label in TypeScript Charts | Syncfusion -description: Learn here all about Prevent data label in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +title: Prevent data label in TypeScript Chart control | Syncfusion +description: Learn here all about Prevent data label in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Prevent data label +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# How to prevent data label in TypeScript Charts +# Prevent data label in TypeScript Chart control To prevent the chart data label when the data value is 0, follow the given steps: **Step 1**: -Get the point value and check whether the `args.point.y` value is zero or not by using the [`textRender`](../../api/chart/chartModel#textrender) event. If the value is zero, then set the `args.cancel` to true. +Get the point value and check whether the `args.point.y` value is zero or not by using the [`textRender`](../../api/chart/chartModel/#textrender) event. If the value is zero, then set the `args.cancel` to true. The output will appear as follows, diff --git a/chart-sdk/typescript/charts/how-to/selected-data-grid.md b/chart-sdk/typescript/charts/how-to/selected-data-grid.md index 4de1f3bc3..1fcc633d0 100644 --- a/chart-sdk/typescript/charts/how-to/selected-data-grid.md +++ b/chart-sdk/typescript/charts/how-to/selected-data-grid.md @@ -1,22 +1,23 @@ --- layout: post -title: How to display selected data in TypeScript Charts | Syncfusion -description: Learn here all about Selected data grid in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +title: Selected data grid in TypeScript Chart control | Syncfusion +description: Learn here all about Selected data grid in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Selected data grid +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# How to display selected data in TypeScript Charts +# Selected data grid in TypeScript Chart control -By using the [`dragComplete`](../../api/chart/chartModel#dragcomplete), you can get the selected data values for range selection. +By using the [`dragComplete`](../../api/chart/chartModel/#dragcomplete), you can get the selected data values for range selection. To display the selected data value, follow the given steps: **Step 1**: -Get the selected data point values and display the values through grid component by using the [`dragComplete`](../../api/chart/chartModel#dragcomplete) event. +Get the selected data point values and display the values through grid component by using the [`dragComplete`](../../api/chart/chartModel/#dragcomplete) event. {% tabs %} {% highlight ts tabtitle="index.ts" %} diff --git a/chart-sdk/typescript/charts/how-to/series-visible.md b/chart-sdk/typescript/charts/how-to/series-visible.md index acfc68639..ff4393b19 100644 --- a/chart-sdk/typescript/charts/how-to/series-visible.md +++ b/chart-sdk/typescript/charts/how-to/series-visible.md @@ -1,14 +1,15 @@ --- layout: post -title: How to show series on legend click in TypeScript Charts | Syncfusion -description: Learn here all about Series visible in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +title: Series visible in TypeScript Chart control | Syncfusion +description: Learn here all about Series visible in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Series visible +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# How to show series on legend click in TypeScript Charts +# Series visible in TypeScript Chart control By using the `chartMouseClick` event, you can show the series based on respective legend click. In this event, you can get the legend target id, using which you can get the current series index. Based on the index, you can set value of `visible` to `true` or `false`. diff --git a/chart-sdk/typescript/charts/how-to/stacking-total.md b/chart-sdk/typescript/charts/how-to/stacking-total.md index db9c96248..a2af3db2b 100644 --- a/chart-sdk/typescript/charts/how-to/stacking-total.md +++ b/chart-sdk/typescript/charts/how-to/stacking-total.md @@ -1,14 +1,15 @@ --- layout: post -title: How to display stacking series total in TypeScript Charts | Syncfusion -description: Learn here all about Stacking total in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +title: Stacking total in TypeScript Chart control | Syncfusion +description: Learn here all about Stacking total in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Stacking total +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# How to display stacking series total in TypeScript Charts +# Stacking total in TypeScript Chart control By using the `annotation`, you can show any element in desired view. @@ -16,7 +17,7 @@ To show the total value in data points, follow the given steps: **Step 1**: -Define annotation for each x point in chart, now change the annotation value in chart by using the [`annotationRender`](../../api/chart/chartModel#annotationrender) event. In this event, assign the stacked value of the last series to the annotation to show the total value of the +Define annotation for each x point in chart, now change the annotation value in chart by using the [`annotationRender`](../../api/chart/chartModel/#annotationrender) event. In this event, assign the stacked value of the last series to the annotation to show the total value of the stacking series. {% tabs %} diff --git a/chart-sdk/typescript/charts/how-to/syn-pan.md b/chart-sdk/typescript/charts/how-to/syn-pan.md index 894bca43b..925b99594 100644 --- a/chart-sdk/typescript/charts/how-to/syn-pan.md +++ b/chart-sdk/typescript/charts/how-to/syn-pan.md @@ -1,16 +1,17 @@ --- layout: post -title: How to synchronize panning in TypeScript Charts | Syncfusion -description: Learn here all about Syn pan in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +title: Syn pan in TypeScript Chart control | Syncfusion +description: Learn here all about Syn pan in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Syn pan +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# How to synchronize panning in TypeScript Charts +# Syn pan in TypeScript Chart control -Using the [`chartMouseMove`](../../api/chart/chartModel#chartmousemove) event, you can achieve the synchronized panning between multiple charts. +Using the [`chartMouseMove`](../../api/chart/chartModel/#chartmousemove) event, you can achieve the synchronized panning between multiple charts. To make a synchronized panning chart, follow the given steps: @@ -18,7 +19,7 @@ To make a synchronized panning chart, follow the given steps: Initially create two charts, and enable `zoomSettings` for both charts. -To use the [`chartMouseMove`](../../api/chart/chartModel#chartmousemove) event, assign the first chart's `zoomFactor` and `zoomPosition` values to the second chart. Now, pan the first zoomed chart, and then the second chart will be panned automatically based on `zoomFactor` and `zoomPosition`. +To use the [`chartMouseMove`](../../api/chart/chartModel/#chartmousemove) event, assign the first chart's `zoomFactor` and `zoomPosition` values to the second chart. Now, pan the first zoomed chart, and then the second chart will be panned automatically based on `zoomFactor` and `zoomPosition`. The following code sample demonstrates the output. diff --git a/chart-sdk/typescript/charts/how-to/threshold.md b/chart-sdk/typescript/charts/how-to/threshold.md index f3a5d8ef6..b5b266c05 100644 --- a/chart-sdk/typescript/charts/how-to/threshold.md +++ b/chart-sdk/typescript/charts/how-to/threshold.md @@ -1,14 +1,15 @@ --- layout: post -title: How to add threshold in TypeScript Charts | Syncfusion -description: Learn here all about Threshold in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +title: Threshold in TypeScript Chart control | Syncfusion +description: Learn here all about Threshold in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Threshold +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# How to add threshold in TypeScript Charts +# Threshold in TypeScript Chart control You can mark a threshold in chart by using the `stripline`. diff --git a/chart-sdk/typescript/charts/how-to/tool-tip-format.md b/chart-sdk/typescript/charts/how-to/tool-tip-format.md index f5b0a927c..7fcd0bdee 100644 --- a/chart-sdk/typescript/charts/how-to/tool-tip-format.md +++ b/chart-sdk/typescript/charts/how-to/tool-tip-format.md @@ -1,22 +1,23 @@ --- layout: post -title: How to format tooltip in TypeScript Charts | Syncfusion -description: Learn here all about Tool tip format in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +title: Tool tip format in TypeScript Chart control | Syncfusion +description: Learn here all about Tool tip format in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Tool tip format +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# How to format tooltip in TypeScript Charts +# Tool tip format in TypeScript Chart control -Using [`tooltipRender`](../../api/chart/chartModel#tooltiprender) event, you can able to format the datetime value instead of rendered value. +Using [`tooltipRender`](../../api/chart/chartModel/#tooltiprender) event, you can able to format the datetime value instead of rendered value. To format the datetime value,please follow the steps below **Step 1**: -By using [`tooltipRender`](../../api/chart/chartModel#tooltiprender) event we can able to get the current point x value. Using this value to format the tooltip by using `formatDate` method. +By using [`tooltipRender`](../../api/chart/chartModel/#tooltiprender) event we can able to get the current point x value. Using this value to format the tooltip by using `formatDate` method. The output will appear as follows, diff --git a/chart-sdk/typescript/charts/how-to/tool-tip-table.md b/chart-sdk/typescript/charts/how-to/tool-tip-table.md index ba28b64d6..379d56a13 100644 --- a/chart-sdk/typescript/charts/how-to/tool-tip-table.md +++ b/chart-sdk/typescript/charts/how-to/tool-tip-table.md @@ -1,14 +1,15 @@ --- layout: post -title: How to show table in tooltip in TypeScript Charts | Syncfusion -description: Learn here all about Tool tip table in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +title: Tool tip table in TypeScript Chart control | Syncfusion +description: Learn here all about Tool tip table in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Tool tip table +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# How to show table in tooltip in TypeScript Charts +# Tool tip table in TypeScript Chart control You can show the tooltip as table by using template property in tooltip. diff --git a/chart-sdk/typescript/charts/internationalization.md b/chart-sdk/typescript/charts/internationalization.md index 5e8fdefce..664dff51a 100644 --- a/chart-sdk/typescript/charts/internationalization.md +++ b/chart-sdk/typescript/charts/internationalization.md @@ -1,14 +1,15 @@ --- layout: post -title: Internationalization in TypeScript Charts | Syncfusion -description: Learn here all about Internationalization in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +title: Internationalization in TypeScript Chart control | Syncfusion +description: Learn here all about Internationalization in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Internationalization +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Internationalization in TypeScript Charts +# Internationalization in TypeScript Chart control Chart provides support for internationalization for the following elements: diff --git a/chart-sdk/typescript/charts/legend.md b/chart-sdk/typescript/charts/legend.md index 0b5c69cb0..fab23a7f6 100644 --- a/chart-sdk/typescript/charts/legend.md +++ b/chart-sdk/typescript/charts/legend.md @@ -1,15 +1,16 @@ --- layout: post -title: Legend in TypeScript Charts | Syncfusion -description: Learn here all about Legend in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +title: Legend in TypeScript Chart control | Syncfusion +description: Learn here all about Legend in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Legend +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Legend in TypeScript Charts +# Legend in TypeScript Chart control diff --git a/chart-sdk/typescript/charts/localization.md b/chart-sdk/typescript/charts/localization.md index 867ba63ba..752c1a3f9 100644 --- a/chart-sdk/typescript/charts/localization.md +++ b/chart-sdk/typescript/charts/localization.md @@ -1,14 +1,15 @@ --- layout: post -title: Localization in TypeScript Charts | Syncfusion -description: Learn here all about Localization in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +title: Localization in TypeScript Chart control | Syncfusion +description: Learn here all about Localization in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Localization +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Localization in TypeScript Charts +# Localization in TypeScript Chart control The localization library localizes the Chart's default text content. Static text used by chart features (for example, zoom toolbar labels) can be translated by providing a locale value and a translation object. diff --git a/chart-sdk/typescript/charts/logarithmic-axis.md b/chart-sdk/typescript/charts/logarithmic-axis.md index 5d6b12353..d5a1a6dbd 100644 --- a/chart-sdk/typescript/charts/logarithmic-axis.md +++ b/chart-sdk/typescript/charts/logarithmic-axis.md @@ -1,14 +1,15 @@ --- layout: post -title: Logarithmic axis in TypeScript Charts | Syncfusion -description: Learn here all about Logarithmic axis in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +title: Logarithmic axis in TypeScript Chart control | Syncfusion +description: Learn here all about Logarithmic axis in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Logarithmic axis +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Logarithmic axis in TypeScript Charts +# Logarithmic axis in TypeScript Chart control diff --git a/chart-sdk/typescript/charts/multiple-panes.md b/chart-sdk/typescript/charts/multiple-panes.md index 381a4122b..b157c26cd 100644 --- a/chart-sdk/typescript/charts/multiple-panes.md +++ b/chart-sdk/typescript/charts/multiple-panes.md @@ -1,14 +1,15 @@ --- layout: post -title: Multiple panes in TypeScript Charts | Syncfusion -description: Learn here all about Multiple panes in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +title: Multiple panes in TypeScript Chart control | Syncfusion +description: Learn here all about Multiple panes in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Multiple panes +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Multiple panes in TypeScript Charts +# Multiple panes in TypeScript Chart control The chart area can be divided into multiple panes by defining rows and columns using the [`rows`](../api/chart/row) and [`columns`](../api/chart/column) collections. This feature is useful for displaying multiple related datasets within the same chart container while maintaining clear visual separation. diff --git a/chart-sdk/typescript/charts/numeric-axis.md b/chart-sdk/typescript/charts/numeric-axis.md index 9ce4c6dd5..4fdf356e2 100644 --- a/chart-sdk/typescript/charts/numeric-axis.md +++ b/chart-sdk/typescript/charts/numeric-axis.md @@ -1,15 +1,16 @@ --- layout: post -title: Numeric axis in TypeScript Charts | Syncfusion -description: Learn here all about Numeric axis in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +title: Numeric axis in TypeScript Chart control | Syncfusion +description: Learn here all about Numeric axis in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Numeric axis +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Numeric axis in TypeScript Charts +# Numeric axis in TypeScript Chart control The [numeric axis](https://www.syncfusion.com/javascript-ui-controls/js-charts/chart-axis) is used to represent numeric values in a chart. By default, the `valueType` of an axis is set to `Double`, which is suitable for displaying continuous numerical data. diff --git a/chart-sdk/typescript/charts/polar-radar.md b/chart-sdk/typescript/charts/polar-radar.md index 7b52bc96b..ff139556b 100644 --- a/chart-sdk/typescript/charts/polar-radar.md +++ b/chart-sdk/typescript/charts/polar-radar.md @@ -1,19 +1,20 @@ --- layout: post -title: Polar and radar in TypeScript Charts | Syncfusion -description: Learn here all about Polar radar in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +title: Polar radar in TypeScript Chart control | Syncfusion +description: Learn here all about Polar radar in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Polar radar +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Polar and radar in TypeScript Charts +# Polar radar in TypeScript Chart control ## Polar Chart -To render a polar series, use series [`type`](../api/chart/seriesModel#type-string) as `Polar` and inject `PolarSeries` module using `Chart.Inject(PolarSeries)` method. +To render a polar series, use series [`type`](../api/chart/seriesModel/#type-string) as `Polar` and inject `PolarSeries` module using `Chart.Inject(PolarSeries)` method. ### Draw Types @@ -21,9 +22,9 @@ Polar drawType property is used to change the series plotting type to line, colu **Line** -To render a line draw type, use series [`drawType`](../api/chart/seriesModel#drawtype-string) as `Line` and inject `LineSeries` module using `Chart.Inject(LineSeries)` method. +To render a line draw type, use series [`drawType`](../api/chart/seriesModel/#drawtype-string) as `Line` and inject `LineSeries` module using `Chart.Inject(LineSeries)` method. -[`isClosed`](../api/chart/seriesModel#isclosed-boolean) property specifies whether to join start and end point of a line series used in polar chart to form a closed path. Default value of isClosed is true. +[`isClosed`](../api/chart/seriesModel/#isclosed-boolean) property specifies whether to join start and end point of a line series used in polar chart to form a closed path. Default value of isClosed is true. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -38,7 +39,7 @@ To render a line draw type, use series [`drawType`](../api/chart/seriesModel#dra **Spline** -To render a spline draw type, use series [`drawType`](../api/chart/seriesModel#drawtype-string) as `Spline` and inject `SplineSeries` module using `Chart.Inject(SplineSeries)` method. +To render a spline draw type, use series [`drawType`](../api/chart/seriesModel/#drawtype-string) as `Spline` and inject `SplineSeries` module using `Chart.Inject(SplineSeries)` method. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -53,7 +54,7 @@ To render a spline draw type, use series [`drawType`](../api/chart/seriesModel#d **Area** -To render a area draw type, use series [`drawType`](../api/chart/seriesModel#drawtype-string) as `Area` and inject `AreaSeries` module using `Chart.Inject(AreaSeries)` method. +To render a area draw type, use series [`drawType`](../api/chart/seriesModel/#drawtype-string) as `Area` and inject `AreaSeries` module using `Chart.Inject(AreaSeries)` method. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -68,7 +69,7 @@ To render a area draw type, use series [`drawType`](../api/chart/seriesModel#dra **Stacked Area** -To render a stacked area draw type, use series [`drawType`](../api/chart/seriesModel#drawtype-string) as `StackingArea` and inject `StackingAreaSeries` moduleusing `Chart.Inject(StackingAreaSeries)` method. +To render a stacked area draw type, use series [`drawType`](../api/chart/seriesModel/#drawtype-string) as `StackingArea` and inject `StackingAreaSeries` moduleusing `Chart.Inject(StackingAreaSeries)` method. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -83,7 +84,7 @@ To render a stacked area draw type, use series [`drawType`](../api/chart/seriesM **Column** -To render a column draw type, use series [`drawType`](../api/chart/seriesModel#drawtype-string) as `Column`. +To render a column draw type, use series [`drawType`](../api/chart/seriesModel/#drawtype-string) as `Column`. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -98,7 +99,7 @@ To render a column draw type, use series [`drawType`](../api/chart/seriesModel#d **Stacked Column** -To render a stacked column draw type, use series [`drawType`](../api/chart/seriesModel#drawtype-string) as `StackingColumn`. +To render a stacked column draw type, use series [`drawType`](../api/chart/seriesModel/#drawtype-string) as `StackingColumn`. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -113,7 +114,7 @@ To render a stacked column draw type, use series [`drawType`](../api/chart/serie **Range Column** -To render a range column draw type, use series [`drawType`](../api/chart/seriesModel#drawtype-string) as `RangeColumn`. +To render a range column draw type, use series [`drawType`](../api/chart/seriesModel/#drawtype-string) as `RangeColumn`. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -128,7 +129,7 @@ To render a range column draw type, use series [`drawType`](../api/chart/seriesM **Scatter** -To render a scatter draw type, use series [`DrawType`](../api/chart/seriesModel#drawtype-string) as `Scatter` and inject `ScatterSeries` module using `Chart.Inject(ScatterSeries)` method. +To render a scatter draw type, use series [`DrawType`](../api/chart/seriesModel/#drawtype-string) as `Scatter` and inject `ScatterSeries` module using `Chart.Inject(ScatterSeries)` method. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -143,7 +144,7 @@ To render a scatter draw type, use series [`DrawType`](../api/chart/seriesModel# ## Radar Chart -To render a radar series, use series [`type`](../api/chart/seriesModel#type-string) as `Radar` and inject `PolarSeries` module using `Chart.Inject(RadarSeries)` method. +To render a radar series, use series [`type`](../api/chart/seriesModel/#type-string) as `Radar` and inject `PolarSeries` module using `Chart.Inject(RadarSeries)` method. ### Draw Type @@ -164,7 +165,7 @@ similar to Polar drawType, Radar draw property is used to change the series plot **Start Angle** -You can customize the start angle of the polar series using [`startAngle`](../api/chart/axis#startangle-number) property. By default, `startAngle` is 0 degree. +You can customize the start angle of the polar series using [`startAngle`](../api/chart/axis/#startangle-number) property. By default, `startAngle` is 0 degree. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -179,7 +180,7 @@ You can customize the start angle of the polar series using [`startAngle`](../ap **Coefficient in axis** -You can customize the radius of the polar series using [`coefficient`](../api/chart/axis#coefficient-number) property. By default, `coefficient` is 100. +You can customize the radius of the polar series using [`coefficient`](../api/chart/axis/#coefficient-number) property. By default, `coefficient` is 100. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -194,5 +195,5 @@ You can customize the radius of the polar series using [`coefficient`](../api/ch ## See Also -* [Data label](./data-labels) -* [Tooltip](./tool-tip) +* [Data label](./data-labels/) +* [Tooltip](./tool-tip/) diff --git a/chart-sdk/typescript/charts/render-methods.md b/chart-sdk/typescript/charts/render-methods.md index cdb0b2e11..31a5864d9 100644 --- a/chart-sdk/typescript/charts/render-methods.md +++ b/chart-sdk/typescript/charts/render-methods.md @@ -1,16 +1,17 @@ --- layout: post -title: Rendering methods in TypeScript Charts | Syncfusion -description: Learn here all about Render methods in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +title: Render methods in TypeScript Chart control | Syncfusion +description: Learn here all about Render methods in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Render methods +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Rendering methods in TypeScript Charts +# Render methods in TypeScript Chart control Chart uses following two rendering methods. diff --git a/chart-sdk/typescript/charts/selection.md b/chart-sdk/typescript/charts/selection.md index ba9292151..c35714ff9 100644 --- a/chart-sdk/typescript/charts/selection.md +++ b/chart-sdk/typescript/charts/selection.md @@ -1,15 +1,16 @@ --- layout: post -title: Selection in TypeScript Charts | Syncfusion -description: Learn here all about Selection in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +title: Selection in TypeScript Chart control | Syncfusion +description: Learn here all about Selection in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Selection +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Selection in TypeScript Charts +# Selection in TypeScript Chart control The chart provides selection support for both series and individual data points when users interact with the chart using mouse clicks. diff --git a/chart-sdk/typescript/charts/series-labels.md b/chart-sdk/typescript/charts/series-labels.md index 6fe4d2365..9c89934b7 100644 --- a/chart-sdk/typescript/charts/series-labels.md +++ b/chart-sdk/typescript/charts/series-labels.md @@ -1,14 +1,15 @@ --- layout: post -title: Series label in TypeScript Charts | Syncfusion -description: Learn here all about Series label in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +title: Series label in TypeScript Chart control | Syncfusion +description: Learn here all about Series label in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Series label +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Series label in TypeScript Charts +# Series label in TypeScript Chart control The series label displays the name of each series inline, positioned near the end of the series path or the last visible data point. This helps identify each series without referring to the legend. diff --git a/chart-sdk/typescript/charts/strip-line.md b/chart-sdk/typescript/charts/strip-line.md index ff710453f..bdd4cd180 100644 --- a/chart-sdk/typescript/charts/strip-line.md +++ b/chart-sdk/typescript/charts/strip-line.md @@ -1,15 +1,16 @@ --- layout: post -title: Stripline in TypeScript Charts | Syncfusion -description: Learn here all about Strip line in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +title: Strip line in TypeScript Chart control | Syncfusion +description: Learn here all about Strip line in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Strip line +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Stripline in TypeScript Charts +# Strip line in TypeScript Chart control diff --git a/chart-sdk/typescript/charts/synchronized-chart.md b/chart-sdk/typescript/charts/synchronized-chart.md index ecca92bd7..78e931180 100644 --- a/chart-sdk/typescript/charts/synchronized-chart.md +++ b/chart-sdk/typescript/charts/synchronized-chart.md @@ -1,14 +1,15 @@ --- layout: post -title: Synchronized Charts in TypeScript Charts | Syncfusion -description: Learn here all about Synchronized Charts in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +title: Synchronized Charts in TypeScript Chart control | Syncfusion +description: Learn here all about Synchronized Charts in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Synchronized charts +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Synchronized Charts in TypeScript Charts +# Synchronized Charts in TypeScript Chart control Synchronized charts allow multiple chart instances to share common interactions so that actions performed on one chart are reflected across the others. This approach is useful for comparing related datasets and analyzing trends consistently across multiple visualizations. diff --git a/chart-sdk/typescript/charts/technical-indicators.md b/chart-sdk/typescript/charts/technical-indicators.md index b1331473d..0e2dadfc9 100644 --- a/chart-sdk/typescript/charts/technical-indicators.md +++ b/chart-sdk/typescript/charts/technical-indicators.md @@ -1,15 +1,16 @@ --- layout: post -title: Technical indicators in TypeScript Charts | Syncfusion -description: Learn here all about Technical indicators in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +title: Technical indicators in TypeScript Chart control | Syncfusion +description: Learn here all about Technical indicators in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Technical indicators +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Technical indicators in TypeScript Charts +# Technical indicators in TypeScript Chart control A technical indicator is a mathematical calculation based on historical price, volume, or open‑interest information that aims to forecast financial market direction. diff --git a/chart-sdk/typescript/charts/title-subtitle.md b/chart-sdk/typescript/charts/title-subtitle.md index 99d8503a2..231d29d7c 100644 --- a/chart-sdk/typescript/charts/title-subtitle.md +++ b/chart-sdk/typescript/charts/title-subtitle.md @@ -1,14 +1,15 @@ --- layout: post -title: Title and subtitle in TypeScript Charts | Syncfusion -description: Learn here all about Title in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +title: Title in TypeScript Chart control | Syncfusion +description: Learn here all about Title in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Title +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Title and subtitle in TypeScript Charts component +# Chart title and subtitle in TypeScript Chart component Chart titles and subtitles help provide context for the visualized data. The title typically indicates the main subject or metric represented in the chart, while the subtitle adds supporting details such as data sources, time ranges, or explanatory notes. Both elements can be customized in terms of position, alignment, and style to align with application design requirements. diff --git a/chart-sdk/typescript/charts/tool-tip.md b/chart-sdk/typescript/charts/tool-tip.md index 4e4967cee..dbeab669e 100644 --- a/chart-sdk/typescript/charts/tool-tip.md +++ b/chart-sdk/typescript/charts/tool-tip.md @@ -1,14 +1,15 @@ --- layout: post -title: Tooltip in TypeScript Charts | Syncfusion -description: Learn here all about Tooltip in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +title: Tooltip in TypeScript Chart control | Syncfusion +description: Learn here all about Tooltip in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Tooltip +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Tooltip in TypeScript Charts +# Tooltip in TypeScript Chart control diff --git a/chart-sdk/typescript/charts/trend-lines.md b/chart-sdk/typescript/charts/trend-lines.md index 372ce6445..798a06208 100644 --- a/chart-sdk/typescript/charts/trend-lines.md +++ b/chart-sdk/typescript/charts/trend-lines.md @@ -1,15 +1,16 @@ --- layout: post -title: Trendlines in TypeScript Charts | Syncfusion -description: Learn here all about Trend lines in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +title: Trend lines in TypeScript Chart control | Syncfusion +description: Learn here all about Trend lines in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Trend lines +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Trendlines in TypeScript Charts +# Trend lines in TypeScript Chart control Trendlines help identify patterns, direction, and overall trends in numerical data. They project the general movement of data values and are widely used in analytics, forecasting, and financial charts. Trendlines can be added to Cartesian series types such as Line, Column, Scatter, Area, Candle, and Hilo (excluding bar series). Multiple trendlines can be added to a single series based on the analysis needs. diff --git a/chart-sdk/typescript/charts/understanding-chart.md b/chart-sdk/typescript/charts/understanding-chart.md index 781c354c4..8c67e02e1 100644 --- a/chart-sdk/typescript/charts/understanding-chart.md +++ b/chart-sdk/typescript/charts/understanding-chart.md @@ -1,14 +1,15 @@ --- layout: post -title: Understanding TypeScript Charts control | Syncfusion -description: Learn here all about Understanding the Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +title: Understanding TypeScript Chart control | Syncfusion +description: Learn here all about Understanding the Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Understanding +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Understanding of TypeScript Charts +# Understanding of TypeScript Chart The TypeScript Chart control is a versatile visualization tool that presents data using a wide range of graphical formats. Each chart is composed of essential elements—such as the title, series, tooltip, legend, and axes—that work together to provide clear, interactive, and meaningful insights. Understanding these elements helps in configuring and customizing charts for various analytical needs. diff --git a/chart-sdk/typescript/charts/working-with-data.md b/chart-sdk/typescript/charts/working-with-data.md index 643b79a8f..3918f6072 100644 --- a/chart-sdk/typescript/charts/working-with-data.md +++ b/chart-sdk/typescript/charts/working-with-data.md @@ -1,15 +1,16 @@ --- layout: post -title: Working with Data in TypeScript Charts | Syncfusion -description: Learn here all about Working with data in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +title: Working with data in TypeScript Chart control | Syncfusion +description: Learn here all about Working with data in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Working with data +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Working with Data in TypeScript Charts +# Working with data in TypeScript Chart control The TypeScript Chart control supports multiple data binding approaches to suit different application scenarios. Data can be bound from local JSON arrays, dynamically loaded on demand with lazy loading, or fetched from remote services using various adaptor patterns. This guide covers all available data binding methods, helping you choose the right approach for your use case based on data size, performance requirements, and backend architecture. diff --git a/chart-sdk/typescript/charts/zooming.md b/chart-sdk/typescript/charts/zooming.md index 2653ee798..0ad8346ed 100644 --- a/chart-sdk/typescript/charts/zooming.md +++ b/chart-sdk/typescript/charts/zooming.md @@ -1,14 +1,15 @@ --- layout: post -title: Zooming in TypeScript Charts | Syncfusion -description: Learn here all about Zooming in Syncfusion TypeScript Charts control of Syncfusion Essential JS 2 and more. +title: Zooming in TypeScript Chart control | Syncfusion +description: Learn here all about Zooming in Syncfusion TypeScript Chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Charts +control: Zooming +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Zooming in TypeScript Charts +# Zooming in TypeScript Chart control ## Enable zooming diff --git a/chart-sdk/typescript/circular-gauge/accessibility.md b/chart-sdk/typescript/circular-gauge/accessibility.md index 543222da7..b9fdef68a 100644 --- a/chart-sdk/typescript/circular-gauge/accessibility.md +++ b/chart-sdk/typescript/circular-gauge/accessibility.md @@ -1,15 +1,16 @@ --- layout: post -title: Accessibility in TypeScript Circular Gauge | Syncfusion -description: Learn here all about Accessibility in Syncfusion TypeScript Circular Gauge of Syncfusion Essential JS 2 and more. +title: Accessibility in TypeScript Circular gauge control | Syncfusion +description: Learn here all about Accessibility in Syncfusion TypeScript Circular gauge control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Accessibility +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Accessibility in TypeScript Circular Gauge +# Accessibility in TypeScript Circular gauge control The Circular Gauge control follows commonly used accessibility guidelines and standards, such as [ADA](https://www.ada.gov/), [Section 508](https://www.section508.gov/), [WCAG 2.2](https://www.w3.org/TR/WCAG22/) standards, and [WCAG roles](https://www.w3.org/TR/wai-aria/#roles). diff --git a/chart-sdk/typescript/circular-gauge/ej1-api-migration.md b/chart-sdk/typescript/circular-gauge/ej1-api-migration.md index bfd536224..bfe35e0a5 100644 --- a/chart-sdk/typescript/circular-gauge/ej1-api-migration.md +++ b/chart-sdk/typescript/circular-gauge/ej1-api-migration.md @@ -1,14 +1,15 @@ --- layout: post -title: Ej1 api migration in TypeScript Circular Gauge | Syncfusion -description: Learn here all about Ej1 api migration in Syncfusion TypeScript Circular Gauge of Syncfusion Essential JS 2 and more. +title: Ej1 api migration in TypeScript Circular gauge control | Syncfusion +description: Learn here all about Ej1 api migration in Syncfusion TypeScript Circular gauge control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Ej1 api migration +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Ej1 api migration in TypeScript Circular Gauge +# Ej1 api migration in TypeScript Circular gauge control This article describes the API migration process of Accordion component from Essential® JS 1 to Essential® JS 2. diff --git a/chart-sdk/typescript/circular-gauge/gauge-animation.md b/chart-sdk/typescript/circular-gauge/gauge-animation.md index e121fe38f..8080cbd30 100644 --- a/chart-sdk/typescript/circular-gauge/gauge-animation.md +++ b/chart-sdk/typescript/circular-gauge/gauge-animation.md @@ -4,6 +4,7 @@ title: Animation in TypeScript Circular Gauge control | Syncfusion description: Learn here all about animation in the Syncfusion TypeScript Circular Gauge control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Circular Gauge +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- diff --git a/chart-sdk/typescript/circular-gauge/gauge-annotations.md b/chart-sdk/typescript/circular-gauge/gauge-annotations.md index ee57fafe4..f3b19e892 100644 --- a/chart-sdk/typescript/circular-gauge/gauge-annotations.md +++ b/chart-sdk/typescript/circular-gauge/gauge-annotations.md @@ -1,20 +1,21 @@ --- layout: post -title: Annotations in TypeScript Circular Gauge | Syncfusion -description: Learn here all about Gauge annotations in Syncfusion TypeScript Circular Gauge of Syncfusion Essential JS 2 and more. +title: Gauge annotations in TypeScript Circular gauge control | Syncfusion +description: Learn here all about Gauge annotations in Syncfusion TypeScript Circular gauge control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Circular Gauge +control: Gauge annotations +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Annotations in TypeScript Circular Gauge +# Gauge annotations in TypeScript Circular gauge control Annotations are used to mark a specific area of interest in the gauge with texts, shapes or images. ## Content -You can place any custom element on the axis area by assigning the id of the element to [`content`](../api/circular-gauge/annotation#content-string) property of [`annotation`](../api/circular-gauge/annotation) object. +You can place any custom element on the axis area by assigning the id of the element to [`content`](../api/circular-gauge/annotation/#content-string) property of [`annotation`](../api/circular-gauge/annotation) object. >Note: To use annotation feature, we need to inject `Annotations` module using `CircularGauge.Inject(Annotations)` method. @@ -31,7 +32,7 @@ You can place any custom element on the axis area by assigning the id of the ele ## Position -Annotation can be placed around the axis by using [`radius`](../api/circular-gauge/annotation#radius-string) and [`angle`](../api/circular-gauge/annotation#angle-number) property. +Annotation can be placed around the axis by using [`radius`](../api/circular-gauge/annotation/#radius-string) and [`angle`](../api/circular-gauge/annotation/#angle-number) property. For example, if the angle is 90 degree and the radius is 110%, then the annotation, will be placed at the right side of the axis. Radius of the annotation takes value either in pixel or percentage. By setting value in percentage, annotation gets its position with respect to its axis radius. @@ -64,4 +65,4 @@ As the annotation allows you to place any custom element, we can initialize a ga ## See also -* [Tooltip for Annotation](https://ej2.syncfusion.com/documentation/circular-gauge/gauge-user-interaction#tooltip-for-annotation) \ No newline at end of file +* [Tooltip for Annotation](https://ej2.syncfusion.com/documentation/circular-gauge/gauge-user-interaction/#tooltip-for-annotation) \ No newline at end of file diff --git a/chart-sdk/typescript/circular-gauge/gauge-appearance.md b/chart-sdk/typescript/circular-gauge/gauge-appearance.md index 696fae86b..9082b908e 100644 --- a/chart-sdk/typescript/circular-gauge/gauge-appearance.md +++ b/chart-sdk/typescript/circular-gauge/gauge-appearance.md @@ -1,19 +1,20 @@ --- layout: post -title: Appearance in TypeScript Circular Gauge | Syncfusion -description: Learn here all about Gauge appearance in Syncfusion TypeScript Circular Gauge of Syncfusion Essential JS 2 and more. +title: Gauge appearance in TypeScript Circular gauge control | Syncfusion +description: Learn here all about Gauge appearance in Syncfusion TypeScript Circular gauge control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Circular Gauge +control: Gauge appearance +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Appearance in TypeScript Circular Gauge +# Gauge appearance in TypeScript Circular gauge control ## Gauge Title -Circular gauge can be given a title by using [`title`](../api/circular-gauge#title-string) property, to show the information about the gauge. -Title can be customized by using [`titleStyle`](../api/circular-gauge#titlestyle-fontmodel) property in gauge. +Circular gauge can be given a title by using [`title`](../api/circular-gauge/#title-string) property, to show the information about the gauge. +Title can be customized by using [`titleStyle`](../api/circular-gauge/#titlestyle-fontmodel) property in gauge. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -28,9 +29,9 @@ Title can be customized by using [`titleStyle`](../api/circular-gauge#titlestyle ## Gauge Position -Gauge can be positioned anywhere in the container with the help of [`centerX`](../api/circular-gauge#centerx-string) and [`centerY`](../api/circular-gauge#centery-string) property and it accepts values either in percentage or in pixels. -The default value of the [`centerX`](../api/circular-gauge#centerx-string) and -[`centerY`](../api/circular-gauge#centery-string) property is 50%, which means gauge will get rendered to the centre of the container. +Gauge can be positioned anywhere in the container with the help of [`centerX`](../api/circular-gauge/#centerx-string) and [`centerY`](../api/circular-gauge/#centery-string) property and it accepts values either in percentage or in pixels. +The default value of the [`centerX`](../api/circular-gauge/#centerx-string) and +[`centerY`](../api/circular-gauge/#centery-string) property is 50%, which means gauge will get rendered to the centre of the container. **In Pixel** @@ -50,7 +51,7 @@ You can set the mid point of the gauge in pixel as demonstrated below, **In Percentage** By setting the value in percentage, gauge gets its mid point with respect to its plot area. -For example, when the [`centerX`](../api/circular-gauge#centerx-string) value as '0%' and [`centerY`](../api/circular-gauge#centery-string) value is ‘50%’, gauge will get positioned at the top left corner of the plot area. +For example, when the [`centerX`](../api/circular-gauge/#centerx-string) value as '0%' and [`centerY`](../api/circular-gauge/#centery-string) value is ‘50%’, gauge will get positioned at the top left corner of the plot area. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -67,7 +68,7 @@ For example, when the [`centerX`](../api/circular-gauge#centerx-string) value as **Customize the gauge background** -Using [`background`](../api/circular-gauge#background-string) and [`border`](../api/circular-gauge#border-bordermodel) properties, you can change the background color and border of the circular gauge. +Using [`background`](../api/circular-gauge/#background-string) and [`border`](../api/circular-gauge/#border-bordermodel) properties, you can change the background color and border of the circular gauge. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -82,7 +83,7 @@ Using [`background`](../api/circular-gauge#background-string) and [`border`](../ **Gauge Margin** -You can set margin for gauge from its container through [`margin`](../api/circular-gauge#margin-marginmodel) property. +You can set margin for gauge from its container through [`margin`](../api/circular-gauge/#margin-marginmodel) property. {% tabs %} {% highlight ts tabtitle="index.ts" %} diff --git a/chart-sdk/typescript/circular-gauge/gauge-axes.md b/chart-sdk/typescript/circular-gauge/gauge-axes.md index 63b9f82f9..6b7711fd6 100644 --- a/chart-sdk/typescript/circular-gauge/gauge-axes.md +++ b/chart-sdk/typescript/circular-gauge/gauge-axes.md @@ -1,21 +1,22 @@ --- layout: post -title: Axes in TypeScript Circular Gauge | Syncfusion -description: Learn here all about Gauge axes in Syncfusion TypeScript Circular Gauge of Syncfusion Essential JS 2 and more. +title: Gauge axes in TypeScript Circular gauge control | Syncfusion +description: Learn here all about Gauge axes in Syncfusion TypeScript Circular gauge control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Circular Gauge +control: Gauge axes +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Axes in TypeScript Circular Gauge +# Gauge axes in TypeScript Circular gauge control By default, gauge will be displayed with an axis. Each axis contains its own ranges, pointers and annotation. ## Axis Customization You can customize the width and color of an axis line by using [`lineStyle`](../api/circular-gauge/line) property. -Background for an axis can be customized by using [`background`](../api/circular-gauge/axis#background-string) +Background for an axis can be customized by using [`background`](../api/circular-gauge/axis/#background-string) property. {% tabs %} @@ -31,7 +32,7 @@ property. ## Angles and Direction -Circular gauge axis can sweep from 0 to 360 degrees. By default start angle of an axis is 200 degree and end angle is 160 degree and you can customize this option by using [`startAngle`](../api/circular-gauge/axis#startangle-number) and [`endAngle`](../api/circular-gauge/axis#endangle-number) +Circular gauge axis can sweep from 0 to 360 degrees. By default start angle of an axis is 200 degree and end angle is 160 degree and you can customize this option by using [`startAngle`](../api/circular-gauge/axis/#startangle-number) and [`endAngle`](../api/circular-gauge/axis/#endangle-number) property. {% tabs %} @@ -45,7 +46,7 @@ property. {% previewsample "https://help.syncfusion.com/code-snippet/chart-sdk/typescript/circular-gauge/gauge-axes-cs2" %} -The [`direction`](../api/circular-gauge/axis#direction-string) property enables you to render the gauge axis either in `ClockWise` or in `AntiClockWise` direction. +The [`direction`](../api/circular-gauge/axis/#direction-string) property enables you to render the gauge axis either in `ClockWise` or in `AntiClockWise` direction. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -61,7 +62,7 @@ The [`direction`](../api/circular-gauge/axis#direction-string) property enables ## Axis Radius By default, radius of an axis is calculated based on the available size. -You can customize this, by using [`radius`](../api/circular-gauge/axis#radius-string) property. +You can customize this, by using [`radius`](../api/circular-gauge/axis/#radius-string) property. It takes value either in `percentage` or in `pixel`. **In Pixel** @@ -97,9 +98,9 @@ For example, when the radius is ‘50%’, gauge renders to half of the availabl ## Ticks -You can customize the [`height`](../api/circular-gauge/tickModel#color-string), -[`color`](../api/circular-gauge/tickModel#color-string) and [`width`](../api/circular-gauge/tickModel#width-number) of major ticks and minor ticks by using [`majorTicks`](../api/circular-gauge/axis#majorticks-tickmodel) and [`minorTicks`](../api/circular-gauge/axis#minorticks-tickmodel) property. -By default, [`interval`](../api/circular-gauge/tickModel#interval-number) for +You can customize the [`height`](../api/circular-gauge/tickModel/#color-string), +[`color`](../api/circular-gauge/tickModel/#color-string) and [`width`](../api/circular-gauge/tickModel/#width-number) of major ticks and minor ticks by using [`majorTicks`](../api/circular-gauge/axis/#majorticks-tickmodel) and [`minorTicks`](../api/circular-gauge/axis/#minorticks-tickmodel) property. +By default, [`interval`](../api/circular-gauge/tickModel/#interval-number) for `majorTicks` will be calculated automatically and also you can customize the interval for major and minor ticks using `interval` property. {% tabs %} @@ -115,8 +116,8 @@ By default, [`interval`](../api/circular-gauge/tickModel#interval-number) for **Tick Position** -Both minor and major ticks can be moved by using [`offset`](../api/circular-gauge/tickModel#offset-number) and [`position`](../api/circular-gauge/tickModel#position-string) property. The [`offset`](../api/circular-gauge/tickModel#offset-number) defines the distance between the axis and ticks. -By default, offset value is 0. The [`position`](../api/circular-gauge/tickModel#position-string) will place the ticks either inside or outside of the axis. +Both minor and major ticks can be moved by using [`offset`](../api/circular-gauge/tickModel/#offset-number) and [`position`](../api/circular-gauge/tickModel/#position-string) property. The [`offset`](../api/circular-gauge/tickModel/#offset-number) defines the distance between the axis and ticks. +By default, offset value is 0. The [`position`](../api/circular-gauge/tickModel/#position-string) will place the ticks either inside or outside of the axis. By default, ticks will be placed `inside` the axis. {% tabs %} @@ -132,7 +133,7 @@ By default, ticks will be placed `inside` the axis. ## Labels -Labels of an axis can be customized by using [`font`](../api/circular-gauge/labelModel#font-fontmodel) property in [`labelStyle`](../api/circular-gauge/axis#labelstyle-labelmodel) options. +Labels of an axis can be customized by using [`font`](../api/circular-gauge/labelModel/#font-fontmodel) property in [`labelStyle`](../api/circular-gauge/axis/#labelstyle-labelmodel) options. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -147,10 +148,10 @@ Labels of an axis can be customized by using [`font`](../api/circular-gauge/labe **Label Position** -Labels can be moved by using [`offset`](../api/circular-gauge/labelModel#offset-number) or [`position`](../api/circular-gauge/labelModel#position-string) property. -The [`offset`](../api/circular-gauge/labelModel#offset-number) defines the distance between the labels and ticks. +Labels can be moved by using [`offset`](../api/circular-gauge/labelModel/#offset-number) or [`position`](../api/circular-gauge/labelModel/#position-string) property. +The [`offset`](../api/circular-gauge/labelModel/#offset-number) defines the distance between the labels and ticks. By default, offset value is 0. -The [`position`](../api/circular-gauge/labelModel#position-string) will place the labels either inside or outside of the axis. +The [`position`](../api/circular-gauge/labelModel/#position-string) will place the labels either inside or outside of the axis. By default, labels will be placed `inside` the axis. {% tabs %} @@ -181,7 +182,7 @@ If the last label is not in the visible range, it will be hidden by default. If **Auto Angle** -Labels can be swept along the axis angle by enabling [`autoAngle`](../api/circular-gauge/labelModel#autoangle-boolean) property. +Labels can be swept along the axis angle by enabling [`autoAngle`](../api/circular-gauge/labelModel/#autoangle-boolean) property. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -197,7 +198,7 @@ Labels can be swept along the axis angle by enabling [`autoAngle`](../api/circul **Smart Labels** When an axis makes a complete circle, then the first and last label of the axis will get overlap with each other. -In this scenario, you can either hide 1st or last label using [`hiddenLabel`](../api/circular-gauge/labelModel#hiddenlabel-string) property. +In this scenario, you can either hide 1st or last label using [`hiddenLabel`](../api/circular-gauge/labelModel/#hiddenlabel-string) property. When `hiddenLabel` value is `First`,then the 1st label will be hidden and when the `hiddenLabel` value is 'Last', then the last label will be hidden. @@ -214,7 +215,7 @@ When `hiddenLabel` value is `First`,then the 1st label will be hidden and when t **Label Format** -Axis labels can be formatted by using [`format`](../api/circular-gauge/labelModel#format-string) property in [`labelStyle`](../api/circular-gauge/label) and its supports all globalize format. +Axis labels can be formatted by using [`format`](../api/circular-gauge/labelModel/#format-string) property in [`labelStyle`](../api/circular-gauge/label) and its supports all globalize format. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -318,7 +319,7 @@ When the axis labels overlap with each other, you can hide the intersected lab ## Minimum and Maximum -The [`minimum`](../api/circular-gauge/axis#minimum-number) and [`maximum`](../api/circular-gauge/axis#maximum-number) properties +The [`minimum`](../api/circular-gauge/axis/#minimum-number) and [`maximum`](../api/circular-gauge/axis/#maximum-number) properties enables you to customize the start and end values of an axis. {% tabs %} diff --git a/chart-sdk/typescript/circular-gauge/gauge-dimensions.md b/chart-sdk/typescript/circular-gauge/gauge-dimensions.md index 35fd765ea..691393026 100644 --- a/chart-sdk/typescript/circular-gauge/gauge-dimensions.md +++ b/chart-sdk/typescript/circular-gauge/gauge-dimensions.md @@ -1,15 +1,16 @@ --- layout: post -title: Dimensions in TypeScript Circular Gauge | Syncfusion -description: Learn here all about Gauge dimensions in Syncfusion TypeScript Circular Gauge of Syncfusion Essential JS 2 and more. +title: Gauge dimensions in TypeScript Circular gauge control | Syncfusion +description: Learn here all about Gauge dimensions in Syncfusion TypeScript Circular gauge control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Circular Gauge +control: Gauge dimensions +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Dimensions in TypeScript Circular Gauge +# Gauge dimensions in TypeScript Circular gauge control ## Size for Container @@ -34,7 +35,7 @@ Circular gauge can render to its container size. You can set the size via inline ## Size for Circular Gauge -You can also set size for the gauge directly through [`width`](../api/circular-gauge#width-string) and [`height`](../api/circular-gauge#height-string) properties. +You can also set size for the gauge directly through [`width`](../api/circular-gauge/#width-string) and [`height`](../api/circular-gauge/#height-string) properties. **In Pixel** diff --git a/chart-sdk/typescript/circular-gauge/gauge-legend.md b/chart-sdk/typescript/circular-gauge/gauge-legend.md index 84356efc4..5a28e749f 100644 --- a/chart-sdk/typescript/circular-gauge/gauge-legend.md +++ b/chart-sdk/typescript/circular-gauge/gauge-legend.md @@ -1,14 +1,15 @@ --- layout: post -title: Legend in TypeScript Circular Gauge | Syncfusion -description: Learn here all about Gauge legend in Syncfusion TypeScript Circular Gauge of Syncfusion Essential JS 2 and more. +title: Gauge legend in TypeScript Circular gauge control | Syncfusion +description: Learn here all about Gauge legend in Syncfusion TypeScript Circular gauge control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Circular Gauge +control: Gauge legend +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Legend in TypeScript Circular Gauge +# Gauge legend in TypeScript Circular gauge control Legend provides valuable information for interpreting what the circular gauge axis range displays, and they can be represented in various colors, shapes, and other identifiers based on the data. It gives a breakdown of what each symbol represents in the axis range of circular gauge. @@ -141,7 +142,7 @@ By default, paging will be enabled if the legend items exceed the legend bounds. ## Legend text customization -You can customize the legend text using [`legendText`](../api/circular-gauge/range#legendtext) property in `ranges`. +You can customize the legend text using [`legendText`](../api/circular-gauge/range/#legendtext) property in `ranges`. {% tabs %} {% highlight ts tabtitle="index.ts" %} diff --git a/chart-sdk/typescript/circular-gauge/gauge-pointers.md b/chart-sdk/typescript/circular-gauge/gauge-pointers.md index a78081803..8b40851c0 100644 --- a/chart-sdk/typescript/circular-gauge/gauge-pointers.md +++ b/chart-sdk/typescript/circular-gauge/gauge-pointers.md @@ -1,17 +1,18 @@ --- layout: post -title: Pointers in TypeScript Circular Gauge | Syncfusion -description: Learn here all about Gauge pointers in Syncfusion TypeScript Circular Gauge of Syncfusion Essential JS 2 and more. +title: Gauge pointers in TypeScript Circular gauge control | Syncfusion +description: Learn here all about Gauge pointers in Syncfusion TypeScript Circular gauge control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Circular Gauge +control: Gauge pointers +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Pointers in TypeScript Circular Gauge +# Gauge pointers in TypeScript Circular gauge control -Pointers are used to indicate values on the axis. Value of the pointer can be modified using the [`value`](../api/circular-gauge/pointer#value-number) property. +Pointers are used to indicate values on the axis. Value of the pointer can be modified using the [`value`](../api/circular-gauge/pointer/#value-number) property. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -24,12 +25,12 @@ Pointers are used to indicate values on the axis. Value of the pointer can be mo {% previewsample "https://help.syncfusion.com/code-snippet/chart-sdk/typescript/circular-gauge/gauge-pointers-cs1" %} -Gauge supports 3 types of pointers such as `Needle`, `RangeBar` and `Marker`. You can choose any one of the pointer by using [`type`](../api/circular-gauge/pointer#type-string) property. +Gauge supports 3 types of pointers such as `Needle`, `RangeBar` and `Marker`. You can choose any one of the pointer by using [`type`](../api/circular-gauge/pointer/#type-string) property. ## Needle Pointers -A needle pointer contains three parts, a needle, a cap / knob and a tail. The length of the needle can be customized by using [`radius`](../api/circular-gauge/pointer#radius-string) property. The length of the tail can be -customized by using [`length`](../api/circular-gauge/needleTailModel#length-string) property. The radius of the cap can be customized by using [`radius`](../api/circular-gauge/capModel#radius-number) in cap object. The needle and tail +A needle pointer contains three parts, a needle, a cap / knob and a tail. The length of the needle can be customized by using [`radius`](../api/circular-gauge/pointer/#radius-string) property. The length of the tail can be +customized by using [`length`](../api/circular-gauge/needleTailModel/#length-string) property. The radius of the cap can be customized by using [`radius`](../api/circular-gauge/capModel/#radius-number) in cap object. The needle and tail length takes value either in `percentage` or `pixel`. {% tabs %} @@ -46,8 +47,8 @@ length takes value either in `percentage` or `pixel`. **Customization** -Needle color and width can be customized by using [`color`](../api/circular-gauge/pointer#color-string) and [`pointerWidth`](../api/circular-gauge/pointer#pointerwidth-number) property. -Cap and tails can be customized by using [`cap`](../api/circular-gauge/pointer#cap-capmodel) and [`needleTail`](../api/circular-gauge/pointer#needletail-needletailmodel) object. +Needle color and width can be customized by using [`color`](../api/circular-gauge/pointer/#color-string) and [`pointerWidth`](../api/circular-gauge/pointer/#pointerwidth-number) property. +Cap and tails can be customized by using [`cap`](../api/circular-gauge/pointer/#cap-capmodel) and [`needleTail`](../api/circular-gauge/pointer/#needletail-needletailmodel) object. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -60,7 +61,7 @@ Cap and tails can be customized by using [`cap`](../api/circular-gauge/pointer#c {% previewsample "https://help.syncfusion.com/code-snippet/chart-sdk/typescript/circular-gauge/gauge-pointers-cs3" %} -The appearance of the needle pointer can be customized by using [`needleStartWidth`](../api/circular-gauge/pointer#needlestartwidth) and [`needleEndWidth`](../api/circular-gauge/pointer#needleendwidth). +The appearance of the needle pointer can be customized by using [`needleStartWidth`](../api/circular-gauge/pointer/#needlestartwidth) and [`needleEndWidth`](../api/circular-gauge/pointer/#needleendwidth). {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -92,7 +93,7 @@ RangeBar starts from the beginning of the gauge and ends at the pointer value. **Customization** RangeBar can be customized in terms of color, border and thickness by using -[`color`](../api/circular-gauge/pointer#color-string), [`border`](../api/circular-gauge/pointer#border-bordermodel) and [`pointerWidth`](../api/circular-gauge/pointer#pointerwidth-number) property. +[`color`](../api/circular-gauge/pointer/#color-string), [`border`](../api/circular-gauge/pointer/#border-bordermodel) and [`pointerWidth`](../api/circular-gauge/pointer/#pointerwidth-number) property. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -122,14 +123,14 @@ The start and end pointers of range bar in the circular gauge are rounded to for ## Marker Pointer -Different type of marker shape can be used to mark the pointer value in axis. You can change the marker shape using [`markerShape`](../api/circular-gauge/pointer#markershape-string) property in pointer. Gauge supports the below marker shape. +Different type of marker shape can be used to mark the pointer value in axis. You can change the marker shape using [`markerShape`](../api/circular-gauge/pointer/#markershape-string) property in pointer. Gauge supports the below marker shape. * Circle * Rectangle * Triangle * InvertedTriangle * Diamond -We can use image instead of rendering marker shape to denote the pointer value. It can be achieved by setting [`markerShape`](../api/circular-gauge/pointer#markershape-string) to Image and assigning  image path to [`imageUrl`](../api/circular-gauge/pointer#imageurl-string) in pointer. +We can use image instead of rendering marker shape to denote the pointer value. It can be achieved by setting [`markerShape`](../api/circular-gauge/pointer/#markershape-string) to Image and assigning  image path to [`imageUrl`](../api/circular-gauge/pointer/#imageurl-string) in pointer. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -145,10 +146,10 @@ We can use image instead of rendering marker shape to denote the pointer value. **Customization** The marker can be customized in terms of color, border, width and height by using -[`color`](../api/circular-gauge/pointer#color-string), -[`border`](../api/circular-gauge/pointer#border-bordermodel), -[`markerWidth`](../api/circular-gauge/pointer#markerwidth-number) and -[`markerHeight`](../api/circular-gauge/pointer#markerheight-number) property in +[`color`](../api/circular-gauge/pointer/#color-string), +[`border`](../api/circular-gauge/pointer/#border-bordermodel), +[`markerWidth`](../api/circular-gauge/pointer/#markerwidth-number) and +[`markerHeight`](../api/circular-gauge/pointer/#markerheight-number) property in [`pointer`](../api/circular-gauge/pointer). {% tabs %} @@ -164,7 +165,7 @@ The marker can be customized in terms of color, border, width and height by usin ## Dragging pointer -The pointers can be dragged along the axis line by clicking and dragging them. To enable or disable the drag functionality for all pointers across all axes, use the [enablePointerDrag](../api/circular-gauge/circularGaugeModel#enablepointerdrag) property. When this property is set to **true**, all pointers can be dynamically adjusted by dragging. Setting it to **false** keeps all pointers fixed in their specified positions. +The pointers can be dragged along the axis line by clicking and dragging them. To enable or disable the drag functionality for all pointers across all axes, use the [enablePointerDrag](../api/circular-gauge/circularGaugeModel/#enablepointerdrag) property. When this property is set to **true**, all pointers can be dynamically adjusted by dragging. Setting it to **false** keeps all pointers fixed in their specified positions. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -179,7 +180,7 @@ The pointers can be dragged along the axis line by clicking and dragging them. T ### Enabling drag functionality for a specific pointer -To enable or disable the drag functionality for specific pointers along the axis line, use the [enableDrag](../api/circular-gauge/pointerModel#enabledrag) property in the required pointer model. +To enable or disable the drag functionality for specific pointers along the axis line, use the [enableDrag](../api/circular-gauge/pointerModel/#enabledrag) property in the required pointer model. >When the `enableDrag` property is enabled for any individual pointer model, the `enablePointerDrag` property becomes ineffective. @@ -214,9 +215,9 @@ In addition to the default pointer, you can add n number of pointer to an axis b ## Animation Pointer will get animate on loading the gauge, this can be handled by using -[`animation`](../api/circular-gauge/pointer#animation-animationmodel) property in pointer. -The [`enable`](../api/circular-gauge/animationModel#enable-boolean) property in animation allows you to enable or disable the animation. -The [`duration`](../api/circular-gauge/animationModel#duration-number) property specify the duration of the animation in milliseconds. +[`animation`](../api/circular-gauge/pointer/#animation-animationmodel) property in pointer. +The [`enable`](../api/circular-gauge/animationModel/#enable-boolean) property in animation allows you to enable or disable the animation. +The [`duration`](../api/circular-gauge/animationModel/#duration-number) property specify the duration of the animation in milliseconds. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -238,7 +239,7 @@ Gradient support allows to add multiple colors in the ranges and pointers of the ### Linear Gradient -Using linear gradient, colors will be applied in a linear progression. The start value of the linear gradient can be set using the [`startValue`](../api/circular-gauge/linearGradient#startvalue) property. The end value of the linear gradient will be set using the [`endValue`](../api/circular-gauge/linearGradient#endvalue) property. The color stop values such as color, opacity and offset are set using [`colorStop`](../api/circular-gauge/linearGradient#colorstop) property. +Using linear gradient, colors will be applied in a linear progression. The start value of the linear gradient can be set using the [`startValue`](../api/circular-gauge/linearGradient/#startvalue) property. The end value of the linear gradient will be set using the [`endValue`](../api/circular-gauge/linearGradient/#endvalue) property. The color stop values such as color, opacity and offset are set using [`colorStop`](../api/circular-gauge/linearGradient/#colorstop) property. The linear gradient can be applied to all pointer types like marker, range bar and needle. To do so, follow the below code sample. @@ -255,7 +256,7 @@ The linear gradient can be applied to all pointer types like marker, range bar a ### Radial Gradient -Using radial gradient, colors will be applied in circular progression. The inner circle position of the radial gradient will be set using the [`innerPosition`](../api/circular-gauge/radialGradient#innerposition) property. The outer circle position of the radial gradient can be set using the [`outerPosition`](../api/circular-gauge/radialGradient#outerposition) property. The color stop values such as color, opacity and offset are set using [`colorStop`](../api/circular-gauge/radialGradient#colorstop) property. +Using radial gradient, colors will be applied in circular progression. The inner circle position of the radial gradient will be set using the [`innerPosition`](../api/circular-gauge/radialGradient/#innerposition) property. The outer circle position of the radial gradient can be set using the [`outerPosition`](../api/circular-gauge/radialGradient/#outerposition) property. The color stop values such as color, opacity and offset are set using [`colorStop`](../api/circular-gauge/radialGradient/#colorstop) property. The radial gradient can be applied to all pointer types like marker, range bar and needle. To do so, follow the below code sample. diff --git a/chart-sdk/typescript/circular-gauge/gauge-print-and-export.md b/chart-sdk/typescript/circular-gauge/gauge-print-and-export.md index 6b884ac2c..d9fbf6c90 100644 --- a/chart-sdk/typescript/circular-gauge/gauge-print-and-export.md +++ b/chart-sdk/typescript/circular-gauge/gauge-print-and-export.md @@ -1,19 +1,20 @@ --- layout: post -title: Print and Export in TypeScript Circular Gauge | Syncfusion -description: Learn here all about Gauge print and export in Syncfusion TypeScript Circular Gauge of Syncfusion Essential JS 2 and more. +title: Gauge print and export in TypeScript Circular gauge control | Syncfusion +description: Learn here all about Gauge print and export in Syncfusion TypeScript Circular gauge control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Circular Gauge +control: Gauge print and export +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Print and Export in TypeScript Circular Gauge +# Gauge print and export in TypeScript Circular gauge control ## Print -To use the print functionality, we should inject the `Print` module and set the [`allowPrint`](../api/circular-gauge#allowprint) property to **true**. The rendered circular gauge can be printed directly from the browser by calling the method [`print`](../api/circular-gauge#print). +To use the print functionality, we should inject the `Print` module and set the [`allowPrint`](../api/circular-gauge/#allowprint) property to **true**. The rendered circular gauge can be printed directly from the browser by calling the method [`print`](../api/circular-gauge/#print). {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -30,7 +31,7 @@ To use the print functionality, we should inject the `Print` module and set the ### Image Export -To use the image export functionality, we should inject the `ImageExport` module and set the [`allowImageExport`](../api/circular-gauge#allowimageexport) property to **true**. The rendered circular gauge can be exported as an image using the [`export`](../api/circular-gauge#export) method. The method requires two parameters: image type and file name. The circular gauge can be exported as an image in the following formats. +To use the image export functionality, we should inject the `ImageExport` module and set the [`allowImageExport`](../api/circular-gauge/#allowimageexport) property to **true**. The rendered circular gauge can be exported as an image using the [`export`](../api/circular-gauge/#export) method. The method requires two parameters: image type and file name. The circular gauge can be exported as an image in the following formats. * JPEG * PNG @@ -47,7 +48,7 @@ To use the image export functionality, we should inject the `ImageExport` module {% previewsample "https://help.syncfusion.com/code-snippet/chart-sdk/typescript/circular-gauge/gauge-export-cs4" %} -We can get the image file as base64 string for the JPEG and PNG formats. The circular gauge can be exported to image as a base64 string using the [`export`](../api/circular-gauge#export) method. There are four parameters required: image type, file name, orientation of the exported PDF document which must be set as **null** for image export and finally **allowDownload** which should be set as **false** to return base64 string. +We can get the image file as base64 string for the JPEG and PNG formats. The circular gauge can be exported to image as a base64 string using the [`export`](../api/circular-gauge/#export) method. There are four parameters required: image type, file name, orientation of the exported PDF document which must be set as **null** for image export and finally **allowDownload** which should be set as **false** to return base64 string. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -62,7 +63,7 @@ We can get the image file as base64 string for the JPEG and PNG formats. The cir ### PDF Export -To use the PDF export functionality, we should inject the `PdfExport` module and set the [`allowPdfExport`](../api/circular-gauge#allowpdfexport) property to **true**. The rendered circular gauge can be exported as PDF using the [`export`](../api/circular-gauge#export) method. The [`export`](../api/circular-gauge#export) method requires three parameters: file type, file name and orientation of the PDF document. The orientation setting is optional and "0" indicates portrait and "1" indicates landscape. +To use the PDF export functionality, we should inject the `PdfExport` module and set the [`allowPdfExport`](../api/circular-gauge/#allowpdfexport) property to **true**. The rendered circular gauge can be exported as PDF using the [`export`](../api/circular-gauge/#export) method. The [`export`](../api/circular-gauge/#export) method requires three parameters: file type, file name and orientation of the PDF document. The orientation setting is optional and "0" indicates portrait and "1" indicates landscape. {% tabs %} {% highlight ts tabtitle="index.ts" %} diff --git a/chart-sdk/typescript/circular-gauge/gauge-ranges.md b/chart-sdk/typescript/circular-gauge/gauge-ranges.md index 737c12c22..9106fec49 100644 --- a/chart-sdk/typescript/circular-gauge/gauge-ranges.md +++ b/chart-sdk/typescript/circular-gauge/gauge-ranges.md @@ -1,21 +1,22 @@ --- layout: post -title: Ranges in TypeScript Circular Gauge | Syncfusion -description: Learn here all about Gauge ranges in Syncfusion TypeScript Circular Gauge of Syncfusion Essential JS 2 and more. +title: Gauge ranges in TypeScript Circular gauge control | Syncfusion +description: Learn here all about Gauge ranges in Syncfusion TypeScript Circular gauge control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Circular Gauge +control: Gauge ranges +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Ranges in TypeScript Circular Gauge +# Gauge ranges in TypeScript Circular gauge control -You can categories certain interval on gauge axis using [`ranges`](../api/circular-gauge/range#properties) property. +You can categories certain interval on gauge axis using [`ranges`](../api/circular-gauge/range/#properties) property. ## Start and End -Start and end value of a range in an axis can be customized by using [`start`](../api/circular-gauge/range#start-number) and [`end`](../api/circular-gauge/range#end-number) properties. +Start and end value of a range in an axis can be customized by using [`start`](../api/circular-gauge/range/#start-number) and [`end`](../api/circular-gauge/range/#end-number) properties. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -30,7 +31,7 @@ Start and end value of a range in an axis can be customized by using [`start`](. ## Customization -Color and thickness of the range can be customized by using [`color`](../api/circular-gauge/range#color-string),[`startWidth`](../api/circular-gauge/range#startwidth-number) and [`endWidth`](../api/circular-gauge/range#endwidth-number) property. +Color and thickness of the range can be customized by using [`color`](../api/circular-gauge/range/#color-string),[`startWidth`](../api/circular-gauge/range/#startwidth-number) and [`endWidth`](../api/circular-gauge/range/#endwidth-number) property. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -45,7 +46,7 @@ Color and thickness of the range can be customized by using [`color`](../api/cir ## Radius -You can place the range inside or outside of the axis by using [`radius`](../api/circular-gauge/range#radius-string) property. The radius of the range can takes value either in percentage or in pixels. By default, ranges +You can place the range inside or outside of the axis by using [`radius`](../api/circular-gauge/range/#radius-string) property. The radius of the range can takes value either in percentage or in pixels. By default, ranges take 100% of the axis radius. **In Pixel** @@ -80,7 +81,7 @@ By setting value in percentage, range gets its dimension with respect to its axi ## Dragging Range -The ranges can be dragged over the axis line by clicking and dragging the same. To enable or disable the range drag, use the [`enableRangeDrag`](../api/circular-gauge/circularGaugeModel#enablerangedrag) property. +The ranges can be dragged over the axis line by clicking and dragging the same. To enable or disable the range drag, use the [`enableRangeDrag`](../api/circular-gauge/circularGaugeModel/#enablerangedrag) property. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -135,7 +136,7 @@ Gradient support allows to add multiple colors in the ranges and pointers of the ### Linear Gradient -Using linear gradient, colors will be applied in a linear progression. The start value of the linear gradient will be set using the [`startValue`](../api/circular-gauge/linearGradient#startvalue) property. The end value of the linear gradient will be set using the [`endValue`](../api/circular-gauge/linearGradient#endvalue) property. The color stop values such as color, opacity and offset are set using [`colorStop`](../api/circular-gauge/linearGradient#colorstop) property. +Using linear gradient, colors will be applied in a linear progression. The start value of the linear gradient will be set using the [`startValue`](../api/circular-gauge/linearGradient/#startvalue) property. The end value of the linear gradient will be set using the [`endValue`](../api/circular-gauge/linearGradient/#endvalue) property. The color stop values such as color, opacity and offset are set using [`colorStop`](../api/circular-gauge/linearGradient/#colorstop) property. To apply linear gradient to the range, follow the below code sample. @@ -152,7 +153,7 @@ To apply linear gradient to the range, follow the below code sample. ### Radial Gradient -Using radial gradient, colors will be applied in circular progression. The inner circle position of the radial gradient will be set using the [`innerPosition`](../api/circular-gauge/radialGradient#innerposition) property. The outer circle position of the radial gradient can be set using the [`outerPosition`](../api/circular-gauge/radialGradient#outerposition) property. The color stop values such as color, opacity and offset are set using [`colorStop`](../api/circular-gauge/radialGradient#colorstop) property. +Using radial gradient, colors will be applied in circular progression. The inner circle position of the radial gradient will be set using the [`innerPosition`](../api/circular-gauge/radialGradient/#innerposition) property. The outer circle position of the radial gradient can be set using the [`outerPosition`](../api/circular-gauge/radialGradient/#outerposition) property. The color stop values such as color, opacity and offset are set using [`colorStop`](../api/circular-gauge/radialGradient/#colorstop) property. To apply radial gradient to the range, follow the below code sample. @@ -169,4 +170,4 @@ To apply radial gradient to the range, follow the below code sample. ## See also -* [Tooltip for Ranges](https://ej2.syncfusion.com/documentation/circular-gauge/gauge-user-interaction#tooltip-for-ranges) \ No newline at end of file +* [Tooltip for Ranges](https://ej2.syncfusion.com/documentation/circular-gauge/gauge-user-interaction/#tooltip-for-ranges) \ No newline at end of file diff --git a/chart-sdk/typescript/circular-gauge/gauge-user-interaction.md b/chart-sdk/typescript/circular-gauge/gauge-user-interaction.md index e06f4b1ef..2455b90b1 100644 --- a/chart-sdk/typescript/circular-gauge/gauge-user-interaction.md +++ b/chart-sdk/typescript/circular-gauge/gauge-user-interaction.md @@ -1,15 +1,16 @@ --- layout: post -title: User Interaction in TypeScript Circular Gauge | Syncfusion -description: Learn here all about Gauge user interaction in Syncfusion TypeScript Circular Gauge of Syncfusion Essential JS 2 and more. +title: Gauge user interaction in TypeScript Circular gauge control | Syncfusion +description: Learn here all about Gauge user interaction in Syncfusion TypeScript Circular gauge control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Circular Gauge +control: Gauge user interaction +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# User Interaction in TypeScript Circular Gauge +# Gauge user interaction in TypeScript Circular gauge control ## Tooltip for pointers @@ -17,7 +18,7 @@ Circular gauge will displays the pointer details through [tooltip](../api/circul **Enable Tooltip** -By default, tooltip is not visible. Enable the tooltip by setting [`enable`](../api/circular-gauge/tooltipSettings#enable-boolean) property to true and injecting `GaugeTooltip` module using `CircularGauge.Inject(GaugeTooltip)` method. +By default, tooltip is not visible. Enable the tooltip by setting [`enable`](../api/circular-gauge/tooltipSettings/#enable-boolean) property to true and injecting `GaugeTooltip` module using `CircularGauge.Inject(GaugeTooltip)` method. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -32,7 +33,7 @@ By default, tooltip is not visible. Enable the tooltip by setting [`enable`](../ **Template** -Any HTML elements can be displayed in the tooltip by using the [`template`](../api/circular-gauge/tooltipSettings#template-string) property of the tooltip. +Any HTML elements can be displayed in the tooltip by using the [`template`](../api/circular-gauge/tooltipSettings/#template-string) property of the tooltip. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -103,7 +104,7 @@ The following code example shows the tooltip for the ranges and annotation. ## Pointer Drag Pointers can be dragged over the axis value. This can be achieved by clicking and dragging the pointer. To enable or disable the pointer drag, you can use -[`enablePointerDrag`](../api/circular-gauge#enablepointerdrag-boolean) property. +[`enablePointerDrag`](../api/circular-gauge/#enablepointerdrag-boolean) property. {% tabs %} {% highlight ts tabtitle="index.ts" %} diff --git a/chart-sdk/typescript/circular-gauge/getting-started.md b/chart-sdk/typescript/circular-gauge/getting-started.md index 5db693e69..8ad989cee 100644 --- a/chart-sdk/typescript/circular-gauge/getting-started.md +++ b/chart-sdk/typescript/circular-gauge/getting-started.md @@ -1,9 +1,10 @@ --- layout: post -title: Getting Started with TypeScript Circular Gauge control | Syncfusion +title: Getting started with TypeScript Circular Gauge control | Syncfusion description: Create and configure a Syncfusion JavaScript Circular Gauge in TypeScript using the Essential JS 2 webpack quickstart project. platform: chart-sdk control: Circular Gauge +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- diff --git a/chart-sdk/typescript/circular-gauge/how-to/arc-gauge.md b/chart-sdk/typescript/circular-gauge/how-to/arc-gauge.md index 42b7dc4ec..649d22347 100644 --- a/chart-sdk/typescript/circular-gauge/how-to/arc-gauge.md +++ b/chart-sdk/typescript/circular-gauge/how-to/arc-gauge.md @@ -1,14 +1,15 @@ --- layout: post -title: How to create an arc gauge in TypeScript Circular Gauge | Syncfusion -description: Learn how to create an arc gauge in the Syncfusion TypeScript Circular Gauge by customizing the startAngle and endAngle properties. +title: Arc Gauge in TypeScript Circular gauge control | Syncfusion +description: Learn here all about Arc Gauge in Syncfusion TypeScript Circular gauge control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Arc Gauge +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# How to create an arc gauge in TypeScript Circular Gauge +# TypeScript Arc gauge control An arc gauge in a Circular Gauge can be created by setting the startAngle and endAngle properties. These angles define the portion of the circle to be displayed as the gauge arc. diff --git a/chart-sdk/typescript/circular-gauge/how-to/gauge-range.md b/chart-sdk/typescript/circular-gauge/how-to/gauge-range.md index 25b4d06db..0463ecb39 100644 --- a/chart-sdk/typescript/circular-gauge/how-to/gauge-range.md +++ b/chart-sdk/typescript/circular-gauge/how-to/gauge-range.md @@ -1,14 +1,15 @@ --- layout: post -title: Add a range to the Circular Gauge dynamically | Syncfusion -description: Learn how to add a range to the Syncfusion TypeScript Circular Gauge dynamically on a button click by pushing new ranges to the axes collection. +title: Gauge range in TypeScript Circular gauge control | Syncfusion +description: Learn here all about Gauge range in Syncfusion TypeScript Circular gauge control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Gauge range +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# How to add a range to the TypeScript Circular Gauge dynamically +# Gauge range in TypeScript Circular gauge control ## Add a range to the circular gauge dynamically diff --git a/chart-sdk/typescript/circular-gauge/internationalization.md b/chart-sdk/typescript/circular-gauge/internationalization.md index adae93567..01deb39ac 100644 --- a/chart-sdk/typescript/circular-gauge/internationalization.md +++ b/chart-sdk/typescript/circular-gauge/internationalization.md @@ -1,27 +1,28 @@ --- layout: post -title: Internationalization in TypeScript Circular Gauge | Syncfusion -description: Learn here all about Internationalization in Syncfusion TypeScript Circular Gauge of Syncfusion Essential JS 2 and more. +title: Internationalization in TypeScript Circular gauge control | Syncfusion +description: Learn here all about Internationalization in Syncfusion TypeScript Circular gauge control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Circular Gauge +control: Internationalization +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Internationalization in TypeScript Circular Gauge +# Internationalization in TypeScript Circular gauge control Circular Gauge provides internationalization support for below elements. * Axis Labels * Tooltip -For more information about number formatter, you can refer [internationalization](https://ej2.syncfusion.com/documentation/common/internationalization). +For more information about number formatter, you can refer [internationalization](https://ej2.syncfusion.com/documentation/common/internationalization/). ## Globalization Globalization is the process of designing and developing a control that works in different cultures/locales. -Internationalization library is used to globalize number in the Circular Gauge using [format](../api/circular-gauge/label#format-string) property in [labelStyle](../api/circular-gauge/label). +Internationalization library is used to globalize number in the Circular Gauge using [format](../api/circular-gauge/label/#format-string) property in [labelStyle](../api/circular-gauge/label). **Numeric Format** @@ -40,7 +41,7 @@ In the below example, axis labels are globalized to **EUR**. ## Right-to-left -Circular Gauge can render its elements from right to left, which improves the user experience for certain language users. To do so, set the [enableRtl](../api/circular-gauge#enablertl) property to **true**. When this property is enabled, elements such as the tooltip and legend will be rendered from right to left. Meanwhile, the axis can be rendered from right to left by setting the [direction](../api/circular-gauge/axis#direction) property to **AntiClockWise**. For more information on axis, click [here](../circular-gauge/gauge-axes#angles-and-direction). +Circular Gauge can render its elements from right to left, which improves the user experience for certain language users. To do so, set the [enableRtl](../api/circular-gauge/#enablertl) property to **true**. When this property is enabled, elements such as the tooltip and legend will be rendered from right to left. Meanwhile, the axis can be rendered from right to left by setting the [direction](../api/circular-gauge/axis/#direction) property to **AntiClockWise**. For more information on axis, click [here](../circular-gauge/gauge-axes/#angles-and-direction). The following example illustrates the right to left rendering of the Circular Gauge. diff --git a/chart-sdk/typescript/heatmap-chart/accessibility.md b/chart-sdk/typescript/heatmap-chart/accessibility.md index 8bd8a22d6..710379d28 100644 --- a/chart-sdk/typescript/heatmap-chart/accessibility.md +++ b/chart-sdk/typescript/heatmap-chart/accessibility.md @@ -1,16 +1,17 @@ --- layout: post -title: Accessibility in TypeScript HeatMap Chart | Syncfusion -description: Learn how the TypeScript HeatMap Chart supports WCAG 2.2, Section 508, screen readers, color contrast, and keyboard navigation for accessible apps. +title: Accessibility in TypeScript HeatMap chart control | Syncfusion +description: Learn here all about Accessibility in Syncfusion TypeScript HeatMap chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Accessibility +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Accessibility in TypeScript HeatMap Chart +# Accessibility in TypeScript HeatMap chart control -The HeatMap control follows commonly used accessibility guidelines and standards, such as [ADA](https://www.ada.gov/), [Section 508](https://www.section508.gov/), [WCAG 2.2](https://www.w3.org/TR/WCAG22/) standards, and [WCAG roles](https://www.w3.org/TR/wai-aria#roles). +The HeatMap control follows commonly used accessibility guidelines and standards, such as [ADA](https://www.ada.gov/), [Section 508](https://www.section508.gov/), [WCAG 2.2](https://www.w3.org/TR/WCAG22/) standards, and [WCAG roles](https://www.w3.org/TR/wai-aria/#roles). The accessibility compliance for the HeatMap control is outlined below. diff --git a/chart-sdk/typescript/heatmap-chart/appearance.md b/chart-sdk/typescript/heatmap-chart/appearance.md index 3c34420b7..cae8cd53e 100644 --- a/chart-sdk/typescript/heatmap-chart/appearance.md +++ b/chart-sdk/typescript/heatmap-chart/appearance.md @@ -1,14 +1,15 @@ --- layout: post -title: Appearance in TypeScript HeatMap Chart | Syncfusion -description: Customize TypeScript HeatMap Chart cell borders, background, margins, title, data labels, templates, and text style to match your application design. +title: Appearance in TypeScript HeatMap chart control | Syncfusion +description: Learn here all about Appearance in Syncfusion TypeScript HeatMap chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Appearance +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Appearance in TypeScript HeatMap Chart +# Appearance in TypeScript HeatMap chart control ## Cell customization @@ -16,7 +17,7 @@ You can customize the cell by using the [cellSettings](../api/heatmap/cellSettin ### Border -Change the width, color, and radius of the heat map cells by using the [border](../api/heatmap/cellSettings#border) property. +Change the width, color, and radius of the heat map cells by using the [border](../api/heatmap/cellSettings/#border) property. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -31,7 +32,7 @@ Change the width, color, and radius of the heat map cells by using the [border]( ### Cell highlighting -Enable or disable the cell highlighting while hovering over the heat map cells by using the [enableCellHighlighting](../api/heatmap/cellSettings#enablecellhighlighting) property. +Enable or disable the cell highlighting while hovering over the heat map cells by using the [enableCellHighlighting](../api/heatmap/cellSettings/#enablecellhighlighting) property. >Note: The cell highlighting only works in a SVG rendering mode. @@ -48,7 +49,7 @@ Enable or disable the cell highlighting while hovering over the heat map cells b ### Color gradient mode -The [colorGradientMode](../api/heatmap/paletteSettingsModel#colorgradientmode) property can be used to set the minimum and maximum values for colors based on row and column. Three types of color gradient modes are available. +The [colorGradientMode](../api/heatmap/paletteSettingsModel/#colorgradientmode) property can be used to set the minimum and maximum values for colors based on row and column. Three types of color gradient modes are available. * **Table**: The minimum and maximum value colors calculated for overall data. * **Row**: The minimum and maximum value colors calculated for each row of data. @@ -69,7 +70,7 @@ The [colorGradientMode](../api/heatmap/paletteSettingsModel#colorgradientmode) p ## Background color -The background color of the HeatMap can be customized using the [backgroundColor](../api/heatmap#backgroundcolor) property. +The background color of the HeatMap can be customized using the [backgroundColor](../api/heatmap/#backgroundcolor) property. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -84,7 +85,7 @@ The background color of the HeatMap can be customized using the [backgroundColor ## Margin -Set the margin for the HeatMap from its container by using the [margin](../api/heatmap#margin) property. +Set the margin for the HeatMap from its container by using the [margin](../api/heatmap/#margin) property. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -99,7 +100,7 @@ Set the margin for the HeatMap from its container by using the [margin](../api/h ## Title -The title is used to provide a quick information about the data plotted in HeatMap. The [text](../api/heatmap/title#text) property is used to set the title for the HeatMap. The text style of the title can be customized by using the [textStyle](../api/heatmap/title#textstyle) property. +The title is used to provide a quick information about the data plotted in HeatMap. The [text](../api/heatmap/title/#text) property is used to set the title for the HeatMap. The text style of the title can be customized by using the [textStyle](../api/heatmap/title/#textstyle) property. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -114,7 +115,7 @@ The title is used to provide a quick information about the data plotted in HeatM ## Data label -The visibility of data labels can be toggled using the [showLabel](../api/heatmap/cellSettings#showlabel) property. By default, the data labels will be visible. +The visibility of data labels can be toggled using the [showLabel](../api/heatmap/cellSettings/#showlabel) property. By default, the data labels will be visible. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -129,7 +130,7 @@ The visibility of data labels can be toggled using the [showLabel](../api/heatma ### Customize the data label -The label displayed in the HeatMap cell can be changed using the [cellRender](../api/heatmap#cellrender) event. +The label displayed in the HeatMap cell can be changed using the [cellRender](../api/heatmap/#cellrender) event. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -144,7 +145,7 @@ The label displayed in the HeatMap cell can be changed using the [cellRender](.. ### Text style -The text attributes of the data label such as font-family, font-size, and color can be customized using the [textStyle](../api/heatmap/cellSettings#textstyle) in the [cellSettings](../api/heatmap#cellsettings) property. +The text attributes of the data label such as font-family, font-size, and color can be customized using the [textStyle](../api/heatmap/cellSettings/#textstyle) in the [cellSettings](../api/heatmap/#cellsettings) property. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -159,7 +160,7 @@ The text attributes of the data label such as font-family, font-size, and color ### Format -The format of the data label, such as currency, decimal, percent etc. can be changed using [format](../api/heatmap/cellSettings#format) property. +The format of the data label, such as currency, decimal, percent etc. can be changed using [format](../api/heatmap/cellSettings/#format) property. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -174,7 +175,7 @@ The format of the data label, such as currency, decimal, percent etc. can be cha ### Template -Any HTML elements can be added as a template in the data labels by using the [labelTemplate](../api/heatmap/cellSettings#labeltemplate) property of [cellSettings](../api/heatmap/cellSettings) in the HeatMap. +Any HTML elements can be added as a template in the data labels by using the [labelTemplate](../api/heatmap/cellSettings/#labeltemplate) property of [cellSettings](../api/heatmap/cellSettings) in the HeatMap. The following examples show various data binding methods in the HeatMap using the `labelTemplate` property. @@ -248,4 +249,4 @@ The following example demonstrates how to add a data label template for JSON cel ## See Also -* [To customize the appearance of tool tip](./tooltip#customize-the-appearance-of-tooltip) +* [To customize the appearance of tool tip](./tooltip/#customize-the-appearance-of-tooltip) diff --git a/chart-sdk/typescript/heatmap-chart/axis.md b/chart-sdk/typescript/heatmap-chart/axis.md index eab2876d9..e57fb8404 100644 --- a/chart-sdk/typescript/heatmap-chart/axis.md +++ b/chart-sdk/typescript/heatmap-chart/axis.md @@ -1,14 +1,15 @@ --- layout: post -title: Axis in TypeScript HeatMap Chart | Syncfusion -description: Configure X and Y axes in the TypeScript HeatMap Chart with category, numeric, or date-time types, plus inversed, opposed, multilevel, and formatted labels. +title: Axis in TypeScript HeatMap chart control | Syncfusion +description: Learn here all about axis in Syncfusion TypeScript HeatMap chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Axis +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Axis in TypeScript HeatMap Chart +# Axis in TypeScript HeatMap chart control HeatMap consists of two axes namely, X-axis and Y-axis that displays the row headers and column headers to plot the data points respectively. You can define the type, format, and other customizing options for both axes in the HeatMap. diff --git a/chart-sdk/typescript/heatmap-chart/bubble-heatmap.md b/chart-sdk/typescript/heatmap-chart/bubble-heatmap.md index 2035d72a3..b30372d8a 100644 --- a/chart-sdk/typescript/heatmap-chart/bubble-heatmap.md +++ b/chart-sdk/typescript/heatmap-chart/bubble-heatmap.md @@ -1,25 +1,26 @@ --- layout: post -title: Bubble heatmap in TypeScript HeatMap Chart | Syncfusion -description: Render TypeScript HeatMap Chart data points as bubbles with size, color, sector, or combined size-and-color attributes for richer visualizations. +title: Bubble heatmap in TypeScript Heatmap chart control | Syncfusion +description: Learn here all about Bubble heatmap in Syncfusion TypeScript Heatmap chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Bubble heatmap +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Bubble heatmap in TypeScript HeatMap Chart +# Bubble heatmap in TypeScript Heatmap chart control Data points represent the data source values with **gradient** or **fixed** colors in the HeatMap. You can customize the appearance of these data points by changing the `color` and `size` attributes. -The data points can be represented in color fill or bubble shape by defining the [tileType](../api/heatmap/cellSettings#tiletype) property. +The data points can be represented in color fill or bubble shape by defining the [tileType](../api/heatmap/cellSettings/#tiletype) property. By default, the data points are color filled with gradient or fixed colors and this depiction of data points is defined as `Rect` in the `tileType` property. -The cell customizations and color mapping for rect tile type is defined in [appearance](./appearance) and [palette](./palette) sections in detail. +The cell customizations and color mapping for rect tile type is defined in [appearance](./appearance/) and [palette](./palette/) sections in detail. ## Bubble types -The data points can be represented in the bubble along with its attributes by setting the [tileType](../api/heatmap/cellSettings#tiletype) property to **Bubble**. +The data points can be represented in the bubble along with its attributes by setting the [tileType](../api/heatmap/cellSettings/#tiletype) property to **Bubble**. In bubble HeatMap, you can display the data points with bubble size, bubble colors, and sector attributes of the bubble. @@ -27,9 +28,9 @@ In bubble HeatMap, you can display the data points with bubble size, bubble colo In this bubble HeatMap type, the size factor of the bubble is used to denote the data variations. The radius of the bubble varies according to data values. -By default, the bubble with small size denotes the data value with small magnitude and the larger bubble size denotes the data value with larger magnitude. This behavior can be inversed by using the [isInversedBubbleSize](../api/heatmap/cellSettings#isinversedbubblesize) property. +By default, the bubble with small size denotes the data value with small magnitude and the larger bubble size denotes the data value with larger magnitude. This behavior can be inversed by using the [isInversedBubbleSize](../api/heatmap/cellSettings/#isinversedbubblesize) property. -To render a bubble HeatMap with size series, set the [bubbleType](../api/heatmap/cellSettings#bubbletype) property to **Size**. +To render a bubble HeatMap with size series, set the [bubbleType](../api/heatmap/cellSettings/#bubbletype) property to **Size**. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -46,7 +47,7 @@ To render a bubble HeatMap with size series, set the [bubbleType](../api/heatmap In HeatMap, defined with this tile type, the data points will be represented with same sized bubbles and the data value variations are represented with the bubble colors. -To represent the data points with variations in bubble colors, set the [bubbleType](../api/heatmap/cellSettings#bubbletype) property to **Color**. +To represent the data points with variations in bubble colors, set the [bubbleType](../api/heatmap/cellSettings/#bubbletype) property to **Color**. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -63,7 +64,7 @@ To represent the data points with variations in bubble colors, set the [bubbleTy In this bubble HeatMap type, the sector of the bubble decides the magnitude of data point. If the sector is large, then the data point value will be high. -To render the data points with bubble sector, set the [bubbleType](../api/heatmap/cellSettings#bubbletype) property to **Sector**. +To render the data points with bubble sector, set the [bubbleType](../api/heatmap/cellSettings/#bubbletype) property to **Sector**. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -78,7 +79,7 @@ To render the data points with bubble sector, set the [bubbleType](../api/heatma ### Combining size and color bubble types -In this bubble HeatMap type, size and color of the bubble represents the data value variation. To render this bubble HeatMap type, set the [bubbleType](../api/heatmap/cellSettings#bubbletype) property to **SizeAndColor**. +In this bubble HeatMap type, size and color of the bubble represents the data value variation. To render this bubble HeatMap type, set the [bubbleType](../api/heatmap/cellSettings/#bubbletype) property to **SizeAndColor**. The following examples demonstrate different data binding with the **SizeAndColor** bubble type set in the HeatMap. @@ -159,7 +160,7 @@ The following example illustrates how to render a bubble HeatMap with different **Binding size and color values from datasource** -The size and color of the bubbles in the **SizeAndColor** bubble HeatMap type can be customized by binding the datasource field name that holds the size and color values to the [size](../api/heatmap/bubbleDataModel#size) and [color](../api/heatmap/bubbleDataModel#color) properties in the [bubbleDataMapping](../api/heatmap/dataModel#bubbledatamapping). +The size and color of the bubbles in the **SizeAndColor** bubble HeatMap type can be customized by binding the datasource field name that holds the size and color values to the [size](../api/heatmap/bubbleDataModel/#size) and [color](../api/heatmap/bubbleDataModel/#color) properties in the [bubbleDataMapping](../api/heatmap/dataModel/#bubbledatamapping). >The `bubbleDataMapping` supports only for the JSON data with cell adaptor type. diff --git a/chart-sdk/typescript/heatmap-chart/dimensions.md b/chart-sdk/typescript/heatmap-chart/dimensions.md index 22bc0f694..900cede65 100644 --- a/chart-sdk/typescript/heatmap-chart/dimensions.md +++ b/chart-sdk/typescript/heatmap-chart/dimensions.md @@ -1,14 +1,15 @@ --- layout: post -title: Dimensions in TypeScript HeatMap Chart | Syncfusion -description: Set the TypeScript HeatMap Chart width and height in pixels or as a percentage of its container for responsive layouts. +title: Dimensions in TypeScript Heatmap chart control | Syncfusion +description: Learn here all about Dimensions in Syncfusion TypeScript Heatmap chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Dimensions +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Dimensions in TypeScript HeatMap Chart +# Dimensions in TypeScript Heatmap chart control ## Size for container @@ -22,7 +23,7 @@ Heat map can be rendered to its container size. You can set the size through inl ## Size for heat map -You can set the size of heat map directly by using the [width](../api/heatmap#width) and [height](../api/heatmap#height) properties. +You can set the size of heat map directly by using the [width](../api/heatmap/#width) and [height](../api/heatmap/#height) properties. ## In Pixel diff --git a/chart-sdk/typescript/heatmap-chart/ej1-api-migration.md b/chart-sdk/typescript/heatmap-chart/ej1-api-migration.md index 1780a1e29..02ff6d181 100644 --- a/chart-sdk/typescript/heatmap-chart/ej1-api-migration.md +++ b/chart-sdk/typescript/heatmap-chart/ej1-api-migration.md @@ -1,14 +1,15 @@ --- layout: post -title: Ej1 api migration in TypeScript HeatMap Chart | Syncfusion -description: Migrate Essential JS 1 HeatMap properties, events, and member mappings to their TypeScript HeatMap Chart equivalents in Essential JS 2. +title: Ej1 api migration in TypeScript Heatmap chart control | Syncfusion +description: Learn here all about Ej1 api migration in Syncfusion TypeScript Heatmap chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Ej1 api migration +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Ej1 api migration in TypeScript HeatMap Chart +# Ej1 api migration in TypeScript Heatmap chart control This article describes the API migration process of heat map component from Essential® JS 1 to Essential® JS 2. diff --git a/chart-sdk/typescript/heatmap-chart/events.md b/chart-sdk/typescript/heatmap-chart/events.md index d4e1b6ee2..53d0bb258 100644 --- a/chart-sdk/typescript/heatmap-chart/events.md +++ b/chart-sdk/typescript/heatmap-chart/events.md @@ -1,20 +1,21 @@ --- layout: post -title: Events in TypeScript HeatMap Chart | Syncfusion -description: Handle cellClick, cellDoubleClick, cellRender, cellSelected, created, legendRender, load, loaded, resized, and tooltipRender events in TypeScript HeatMap Chart. +title: Events in TypeScript HeatMap chart control | Syncfusion +description: Learn here all about events in Syncfusion TypeScript HeatMap chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Events +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Events in TypeScript HeatMap Chart +# Events in TypeScript HeatMap chart control This section describes the HeatMap chart control event, which occurs when the required actions are performed. ## cellClick -When you click on a HeatMap cell, the [cellClick](../api/heatmap#cellclick) event is triggered. To know more about arguments of this event, refer [here](../api/heatmap/iCellClickEventArgs). +When you click on a HeatMap cell, the [cellClick](../api/heatmap/#cellclick/) event is triggered. To know more about arguments of this event, refer [here](../api/heatmap/iCellClickEventArgs/). {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -29,7 +30,7 @@ When you click on a HeatMap cell, the [cellClick](../api/heatmap#cellclick) even ## cellDoubleClick -When you double click on a HeatMap cell, the [cellDoubleClick](../api/heatmap#celldoubleclick) event is triggered. To know more about arguments of this event, refer [here](../api/heatmap/iCellClickEventArgs). +When you double click on a HeatMap cell, the [cellDoubleClick](../api/heatmap/#celldoubleclick/) event is triggered. To know more about arguments of this event, refer [here](../api/heatmap/iCellClickEventArgs/). {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -44,7 +45,7 @@ When you double click on a HeatMap cell, the [cellDoubleClick](../api/heatmap#ce ## cellRender -The [cellRender](../api/heatmap#cellrender) event will be triggered before each HeatMap cell is rendered. To know more about arguments of this event, refer [here](../api/heatmap/iCellEventArgs). +The [cellRender](../api/heatmap/#cellrender) event will be triggered before each HeatMap cell is rendered. To know more about arguments of this event, refer [here](../api/heatmap/iCellEventArgs/). {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -59,7 +60,7 @@ The [cellRender](../api/heatmap#cellrender) event will be triggered before each ## cellSelected -When single or multiple cells in the HeatMap are selected, the [cellSelected](../api/heatmap#cellselected) event is triggered. To know more about arguments of this event, refer [here](../api/heatmap/iSelectedEventArgs). +When single or multiple cells in the HeatMap are selected, the [cellSelected](../api/heatmap/#cellselected/) event is triggered. To know more about arguments of this event, refer [here](../api/heatmap/iSelectedEventArgs/). {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -74,7 +75,7 @@ When single or multiple cells in the HeatMap are selected, the [cellSelected](.. ## created -Once HeatMap has been completely rendered, the [created](../api/heatmap#created) event is triggered. +Once HeatMap has been completely rendered, the [created](../api/heatmap/#created) event is triggered. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -89,7 +90,7 @@ Once HeatMap has been completely rendered, the [created](../api/heatmap#created) ## legendRender -The [legendRender](../api/heatmap#legendrender) event is triggered before the legend is rendered. To know more about arguments of this event, refer [here](../api/heatmap/iLegendRenderEventArgs). +The [legendRender](../api/heatmap/#legendrender/) event is triggered before the legend is rendered. To know more about arguments of this event, refer [here](../api/heatmap/iLegendRenderEventArgs/). {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -104,7 +105,7 @@ The [legendRender](../api/heatmap#legendrender) event is triggered before the le ## load -The [load](../api/heatmap#load) event is triggered before the HeatMap is rendered. To know more about arguments of this event, refer [here](../api/heatmap/iLoadedEventArgs). +The [load](../api/heatmap/#load) event is triggered before the HeatMap is rendered. To know more about arguments of this event, refer [here](../api/heatmap/iLoadedEventArgs/). {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -119,7 +120,7 @@ The [load](../api/heatmap#load) event is triggered before the HeatMap is rendere ## loaded -Once HeatMap is loaded, the [loaded](../api/heatmap#loaded) event is triggered. To know more about arguments of this event, refer [here](../api/heatmap/iLoadedEventArgs). +Once HeatMap is loaded, the [loaded](../api/heatmap/#loaded/) event is triggered. To know more about arguments of this event, refer [here](../api/heatmap/iLoadedEventArgs/). {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -134,7 +135,7 @@ Once HeatMap is loaded, the [loaded](../api/heatmap#loaded) event is triggered. ## resized -When the window is resized, the [resized](../api/heatmap#resized) event is triggered to notify the resize of the HeatMap. To know more about arguments of this event, refer [here](../api/heatmap/iResizeEventArgs). +When the window is resized, the [resized](../api/heatmap/#resized/) event is triggered to notify the resize of the HeatMap. To know more about arguments of this event, refer [here](../api/heatmap/iResizeEventArgs/). {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -149,7 +150,7 @@ When the window is resized, the [resized](../api/heatmap#resized) event is trigg ## tooltipRender -The [tooltipRender](../api/heatmap#tooltiprender) event is triggered before the tooltip is rendered on the HeatMap cell. To know more about arguments of this event, refer [here](../api/heatmap/iTooltipEventArgs). +The [tooltipRender](../api/heatmap/#tooltiprender/) event is triggered before the tooltip is rendered on the HeatMap cell. To know more about arguments of this event, refer [here](../api/heatmap/iTooltipEventArgs/). {% tabs %} {% highlight ts tabtitle="index.ts" %} diff --git a/chart-sdk/typescript/heatmap-chart/getting-started.md b/chart-sdk/typescript/heatmap-chart/getting-started.md index 378fd8842..0b301cb61 100644 --- a/chart-sdk/typescript/heatmap-chart/getting-started.md +++ b/chart-sdk/typescript/heatmap-chart/getting-started.md @@ -1,18 +1,19 @@ --- layout: post -title: Getting Started with TypeScript HeatMap Chart | Syncfusion -description: Create a JavaScript HeatMap Chart in TypeScript with the Syncfusion EJ2 webpack quickstart, including setup, rendering, and module injection. +title: Getting started with TypeScript HeatMap component | Syncfusion +description: Create and configure a Syncfusion JavaScript HeatMap in TypeScript using the Essential JS 2 webpack quickstart project. platform: chart-sdk control: HeatMap +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Getting Started with TypeScript HeatMap Chart +# Getting Started with TypeScript HeatMap Component This document explains how to create a HeatMap and configure its features in TypeScript using the Essential JS 2 webpack [quickstart](https://github.com/SyncfusionExamples/ej2-quickstart-webpack) seed repository. -> The quickstart project uses its included `webpack.config.js` file to compile and bundle the TypeScript application. For more information, refer to the [webpack getting-started guide](https://webpack.js.org/guides/getting-started). +> The quickstart project uses its included `webpack.config.js` file to compile and bundle the TypeScript application. For more information, refer to the [webpack getting-started guide](https://webpack.js.org/guides/getting-started/). ## Prerequisites @@ -20,7 +21,7 @@ Before you begin, ensure that the following software is installed: * Node.js with npm * [Visual Studio Code](https://code.visualstudio.com) or another text editor -* [Git](https://git-scm.com) for cloning the quickstart repository +* [Git](https://git-scm.com/) for cloning the quickstart repository * A modern web browser such as Chrome, Edge, Firefox, or Safari Basic familiarity with TypeScript, npm, and webpack is recommended. diff --git a/chart-sdk/typescript/heatmap-chart/how-to/legend-customization.md b/chart-sdk/typescript/heatmap-chart/how-to/legend-customization.md index 452334a0a..88af932ee 100644 --- a/chart-sdk/typescript/heatmap-chart/how-to/legend-customization.md +++ b/chart-sdk/typescript/heatmap-chart/how-to/legend-customization.md @@ -1,14 +1,15 @@ --- layout: post -title: Customize legend labels in TypeScript HeatMap Chart | Syncfusion -description: Customize or hide TypeScript HeatMap Chart legend labels by handling the legendRender client-side event to change label text on the fly. +title: Legend customization in TypeScript Heatmap chart control | Syncfusion +description: Learn here all about Legend customization in Syncfusion TypeScript Heatmap chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Legend customization +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# How to customize legend labels in TypeScript HeatMap Chart +# Legend customization in TypeScript Heatmap chart control You can change the legend label using the `legendRender` client-side event. You can also hide the legend label using this client-side event. diff --git a/chart-sdk/typescript/heatmap-chart/how-to/tooltip-template.md b/chart-sdk/typescript/heatmap-chart/how-to/tooltip-template.md index ce2f6d391..86d0c3479 100644 --- a/chart-sdk/typescript/heatmap-chart/how-to/tooltip-template.md +++ b/chart-sdk/typescript/heatmap-chart/how-to/tooltip-template.md @@ -1,14 +1,15 @@ --- layout: post -title: How to create a table in TypeScript HeatMap Chart | Syncfusion -description: Build a custom table-style tooltip for the TypeScript HeatMap Chart using an HTML template bound to xValue, yValue, and value in the tooltipRender event. +title: Tooltip template in TypeScript Heatmap chart control | Syncfusion +description: Learn here all about Tooltip template in Syncfusion TypeScript Heatmap chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Tooltip template +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# How to create a table in TypeScript HeatMap Chart +# Tooltip template in TypeScript Heatmap chart control You can show a tooltip as a table using the `template` property in `tooltipSettings`. diff --git a/chart-sdk/typescript/heatmap-chart/legend.md b/chart-sdk/typescript/heatmap-chart/legend.md index 9b1d4a526..9a3537a57 100644 --- a/chart-sdk/typescript/heatmap-chart/legend.md +++ b/chart-sdk/typescript/heatmap-chart/legend.md @@ -1,16 +1,17 @@ --- layout: post -title: Legend in TypeScript HeatMap Chart | Syncfusion -description: Enable gradient or list legends in the TypeScript HeatMap Chart with placement, alignment, dimensions, paging, smart labels, and selection toggling. +title: Legend in TypeScript Heatmap chart control | Syncfusion +description: Learn here all about Legend in Syncfusion TypeScript Heatmap chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Legend +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Legend in TypeScript HeatMap Chart +# Legend in TypeScript Heatmap chart control -The legend is used to provide the information about the heat map cell. You can enable the legend by setting the [visible](../api/heatmap/legendSettings#visible) property to **true** and injecting the `Legend` module using the `HeatMap.Inject(Legend)`. +The legend is used to provide the information about the heat map cell. You can enable the legend by setting the [visible](../api/heatmap/legendSettings/#visible) property to **true** and injecting the `Legend` module using the `HeatMap.Inject(Legend)`. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -30,7 +31,7 @@ Heat map supports two legend types: Gradient and list type. * Gradient: This is a continuous color legend with smooth color transition between palette color values. * List: List is a fixed color legend. Each palette color information is shown separately in the list item. -You can change the legend type by using the [type](../api/heatmap/paletteSettings#type) property in the `paletteSettings` property. +You can change the legend type by using the [type](../api/heatmap/paletteSettings/#type) property in the `paletteSettings` property. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -45,7 +46,7 @@ You can change the legend type by using the [type](../api/heatmap/paletteSetting ## Placement -You can place the legend at left, right, top, or bottom to the heat map layout by using the [position](../api/heatmap/legendSettings#position)property. The legend is positioned at the right to the heat map by default. +You can place the legend at left, right, top, or bottom to the heat map layout by using the [position](../api/heatmap/legendSettings/#position)property. The legend is positioned at the right to the heat map by default. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -60,7 +61,7 @@ You can place the legend at left, right, top, or bottom to the heat map layout b ## Alignment -You can align the legend as center, far, or near to the heat map using the [alignment](../api/heatmap/legendSettings#alignment) property. +You can align the legend as center, far, or near to the heat map using the [alignment](../api/heatmap/legendSettings/#alignment) property. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -75,7 +76,7 @@ You can align the legend as center, far, or near to the heat map using the [alig ## Legend dimensions -You can change the legend dimensions with values in pixels or percentage by using the [width](../api/heatmap/legendSettings#width) and [height](../api/heatmap/legendSettings#height) properties. +You can change the legend dimensions with values in pixels or percentage by using the [width](../api/heatmap/legendSettings/#width) and [height](../api/heatmap/legendSettings/#height) properties. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -107,9 +108,9 @@ Paging is available only for the list type legend in the heat map, and it can be ## Smart Legend -Smart legend is another way of showing list type legend with responsiveness and readability, when the palette has more number of items. You can enable this smart legend by using the [enableSmartLegend](../api/heatmap/legendSettings#enablesmartlegend) property when the palette type is set to **Fixed**. +Smart legend is another way of showing list type legend with responsiveness and readability, when the palette has more number of items. You can enable this smart legend by using the [enableSmartLegend](../api/heatmap/legendSettings/#enablesmartlegend) property when the palette type is set to **Fixed**. -In smart legend, you can change the display type of legend labels by using the [labelDisplayType](../api/heatmap/legendSettings#labeldisplaytype) property. +In smart legend, you can change the display type of legend labels by using the [labelDisplayType](../api/heatmap/legendSettings/#labeldisplaytype) property. The following are the legend label display types: * All: Displays all labels in the legend. @@ -129,7 +130,7 @@ The following are the legend label display types: ## Legend Selection -In the HeatMap, the legend selection is used to toggle the visibility of cell for view the specific range value. You can enable the legend selection using [toggleVisibility](../api/heatmap/legendSettings#togglevisibility). +In the HeatMap, the legend selection is used to toggle the visibility of cell for view the specific range value. You can enable the legend selection using [toggleVisibility](../api/heatmap/legendSettings/#togglevisibility). {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -144,7 +145,7 @@ In the HeatMap, the legend selection is used to toggle the visibility of cell fo ## Legend Title -The legend title displays a specific information about the legend. You can enable the legend title by setting the [title](../api/heatmap/legendSettings#title) property by providing the text and customizing the legend title text style using the [textStyle](../api/heatmap/legendSettings/titleModel#textStyle) property. +The legend title displays a specific information about the legend. You can enable the legend title by setting the [title](../api/heatmap/legendSettings/#title) property by providing the text and customizing the legend title text style using the [textStyle](../api/heatmap/legendSettings/titleModel/#textStyle) property. {% tabs %} {% highlight ts tabtitle="index.ts" %} diff --git a/chart-sdk/typescript/heatmap-chart/palette.md b/chart-sdk/typescript/heatmap-chart/palette.md index 8f34fad3a..f48f5f1ed 100644 --- a/chart-sdk/typescript/heatmap-chart/palette.md +++ b/chart-sdk/typescript/heatmap-chart/palette.md @@ -1,14 +1,15 @@ --- layout: post -title: Palette in TypeScript HeatMap Chart | Syncfusion -description: Apply gradient or fixed color palettes to the TypeScript HeatMap Chart cells, with custom color stops, ranges, and labels for the legend. +title: Palette in TypeScript Heatmap chart control | Syncfusion +description: Learn here all about Palette in Syncfusion TypeScript Heatmap chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Palette +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Palette in TypeScript HeatMap Chart +# Palette in TypeScript Heatmap chart control In heat map, each data point is displayed as a cell with applied color based on the data value. The palette in the heat map is used to define the color range for cells and gradient type for colors. You can define the colors either in RGB or hex codes using the [color](../api/heatmap/paletteCollection#color) property in the `palette`. The defined colors are applied to the cell background based on the palette type and cell value. diff --git a/chart-sdk/typescript/heatmap-chart/rendering-mode.md b/chart-sdk/typescript/heatmap-chart/rendering-mode.md index 52ffe30c2..2ee5cc576 100644 --- a/chart-sdk/typescript/heatmap-chart/rendering-mode.md +++ b/chart-sdk/typescript/heatmap-chart/rendering-mode.md @@ -1,17 +1,18 @@ --- layout: post -title: Rendering mode in TypeScript HeatMap Chart | Syncfusion -description: Switch the TypeScript HeatMap Chart rendering between SVG, Canvas, or automatic mode to optimize performance for large or small datasets. +title: Rendering mode in TypeScript Heatmap chart control | Syncfusion +description: Learn here all about Rendering mode in Syncfusion TypeScript Heatmap chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Rendering mode +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Rendering Mode in TypeScript HeatMap Chart +# Rendering mode in TypeScript Heatmap chart control Heat map can be displayed using **Canvas** or **Scalable Vector Graphics (SVG)** rendering logic to improve the initial load performance and scalability. Heat map can also be automatically switched between **Canvas** and **SVG** modes based on dataset size. You can enable this mode by -setting the [renderingMode](../api/heatmap#renderingmode) property as **Auto**. +setting the [renderingMode](../api/heatmap/#renderingmode) property as **Auto**. > If the `Auto` mode is enabled in the heat map and there are more than 10,000 data points, then the heat map will be rendered in a `Canvas` mode; Otherwise, the heat map will be rendered in a `SVG` mode. diff --git a/chart-sdk/typescript/heatmap-chart/selection.md b/chart-sdk/typescript/heatmap-chart/selection.md index dcc563713..693fee9fe 100644 --- a/chart-sdk/typescript/heatmap-chart/selection.md +++ b/chart-sdk/typescript/heatmap-chart/selection.md @@ -1,16 +1,17 @@ --- layout: post -title: Selection in TypeScript HeatMap Chart | Syncfusion -description: Enable single or multiple cell selection in the TypeScript HeatMap Chart with mouse, touch, and keyboard interactions and clear selection support. +title: Selection in TypeScript Heatmap chart control | Syncfusion +description: Learn here all about Selection in Syncfusion TypeScript Heatmap chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Selection +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Selection in TypeScript HeatMap Chart +# Selection in TypeScript Heatmap chart control -In the HeatMap, the cell selection is used to select single or multiple HeatMap cells at runtime and get the selected cell details using the [cellSelected](../api/heatmap#cellselected) event. You can enable the cell selection using the [allowSelection](../api/heatmap#allowselection) property. +In the HeatMap, the cell selection is used to select single or multiple HeatMap cells at runtime and get the selected cell details using the [cellSelected](../api/heatmap/#cellselected) event. You can enable the cell selection using the [allowSelection](../api/heatmap/#allowselection) property. The HeatMap cells can be selected using the following interactions, as shown in the table below. @@ -33,7 +34,7 @@ The HeatMap cells can be selected using the following interactions, as shown in ## Enable single cell selection -In the HeatMap, the [enableMultiSelect](../api/heatmap#enablemultiselect) property is used to allow single cell selection. When you set the `enableMultiSelect` property to **false**, only one cell is selected. By default, `enableMultiSelect` property is set to **true**. +In the HeatMap, the [enableMultiSelect](../api/heatmap/#enablemultiselect) property is used to allow single cell selection. When you set the `enableMultiSelect` property to **false**, only one cell is selected. By default, `enableMultiSelect` property is set to **true**. {% tabs %} {% highlight ts tabtitle="index.ts" %} diff --git a/chart-sdk/typescript/heatmap-chart/tooltip.md b/chart-sdk/typescript/heatmap-chart/tooltip.md index d18d68050..fbcbc52f4 100644 --- a/chart-sdk/typescript/heatmap-chart/tooltip.md +++ b/chart-sdk/typescript/heatmap-chart/tooltip.md @@ -1,20 +1,21 @@ --- layout: post -title: Tooltip in TypeScript HeatMap Chart | Syncfusion -description: Learn here all about Tooltip in Syncfusion TypeScript HeatMap Chart of Syncfusion Essential JS 2 and more. +title: Tooltip in TypeScript Heatmap chart control | Syncfusion +description: Learn here all about Tooltip in Syncfusion TypeScript Heatmap chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Tooltip +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Tooltip in TypeScript HeatMap Chart +# Tooltip in TypeScript Heatmap chart control Tooltip is used to provide the details of the heat map cell, and this can be displayed, while hovering the cursor over the cell or performing tap action in touch devices. ## Default Tooltip -You can enable the tooltip by setting the [showTooltip](../api/heatmap#showtooltip) property to **true** and injecting the `Tooltip` module using the `HeatMap.Inject(Tooltip)`. +You can enable the tooltip by setting the [showTooltip](../api/heatmap/#showtooltip) property to **true** and injecting the `Tooltip` module using the `HeatMap.Inject(Tooltip)`. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -29,7 +30,7 @@ You can enable the tooltip by setting the [showTooltip](../api/heatmap#showtoolt ## Tooltip template -In heat map, you can customize the tooltip using the [tooltipRender](../api/heatmap#tooltiprender) client-side event. +In heat map, you can customize the tooltip using the [tooltipRender](../api/heatmap/#tooltiprender) client-side event. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -44,7 +45,7 @@ In heat map, you can customize the tooltip using the [tooltipRender](../api/heat ## Customize the appearance of Tooltip -The [fill](../api/heatmap/tooltipSettings#fill) and [border](../api/heatmap/tooltipSettings#border) properties are used to customize the background color and border of the tooltip respectively. The [textStyle](../api/heatmap/tooltipSettings#textStyle) property in the tooltip is used to customize the font of the tooltip text. +The [fill](../api/heatmap/tooltipSettings/#fill) and [border](../api/heatmap/tooltipSettings/#border) properties are used to customize the background color and border of the tooltip respectively. The [textStyle](../api/heatmap/tooltipSettings/#textStyle) property in the tooltip is used to customize the font of the tooltip text. {% tabs %} {% highlight ts tabtitle="index.ts" %} diff --git a/chart-sdk/typescript/heatmap-chart/working-with-data.md b/chart-sdk/typescript/heatmap-chart/working-with-data.md index e0390d077..b42fd3eb1 100644 --- a/chart-sdk/typescript/heatmap-chart/working-with-data.md +++ b/chart-sdk/typescript/heatmap-chart/working-with-data.md @@ -1,14 +1,15 @@ --- layout: post -title: Working with data in TypeScript HeatMap Chart | Syncfusion -description: Bind data to the TypeScript HeatMap Chart from JSON objects or two-dimensional arrays using array or cell adaptors with nested data mapping support. +title: Working with data in TypeScript Heatmap chart control | Syncfusion +description: Learn here all about Working with data in Syncfusion TypeScript Heatmap chart control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Working with data +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Working with data in TypeScript HeatMap Chart +# Working with data in TypeScript Heatmap chart control Heat map visualizes the JSON data and two-dimensional array data. Using the data adaptor support, data can be bound to the heat map. @@ -26,7 +27,7 @@ Heat map supports the following types of data binding with the adaptor support. ### Array - table binding This data type is a collection of one dimensional array objects, at which each inner array contains data points for an X-axis data label. -This is the default data binding type for heat map. You can also directly bind the array object to the [dataSource](../api/heatmap#datasource) property. +This is the default data binding type for heat map. You can also directly bind the array object to the [dataSource](../api/heatmap/#datasource) property. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -41,7 +42,7 @@ This is the default data binding type for heat map. You can also directly bind t ### Array - cell binding -This data type is a collection of array objects that contain information about the row index, column index, and data value for each cell. You can bind the data to heat map by using the [data](../api/heatmap/data#data) property in the [dataSource](../api/heatmap#datasource) and setting the [adaptorType](../api/heatmap/data#adaptortype) property to **Cell**. +This data type is a collection of array objects that contain information about the row index, column index, and data value for each cell. You can bind the data to heat map by using the [data](../api/heatmap/data/#data) property in the [dataSource](../api/heatmap/#datasource) and setting the [adaptorType](../api/heatmap/data/#adaptortype) property to **Cell**. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -57,7 +58,7 @@ This data type is a collection of array objects that contain information about t ### JSON data - table binding In JSON table data binding, each JSON object contains an X-axis data point as row header and all the corresponding Y-axis data values. -You can bind the JSON table data to the heat map using the [data](../api/heatmap/data#data) property in [dataSource](../api/heatmap#datasource). To achieve this, you should enable the [isJsonData](../api/heatmap/data#isjsondata) property and define the [adaptorType](../api/heatmap/data#adaptortype)property as **Table**. The [xDataMapping](../api/heatmap/data#xdatamapping) property is used to map the row header in JSON data. +You can bind the JSON table data to the heat map using the [data](../api/heatmap/data/#data) property in [dataSource](../api/heatmap/#datasource). To achieve this, you should enable the [isJsonData](../api/heatmap/data/#isjsondata) property and define the [adaptorType](../api/heatmap/data/#adaptortype)property as **Table**. The [xDataMapping](../api/heatmap/data/#xdatamapping) property is used to map the row header in JSON data. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -72,7 +73,7 @@ You can bind the JSON table data to the heat map using the [data](../api/heatmap ### JSON data - Cell binding -In JSON cell data binding, each JSON object consists a value for each cell along with a mapping value for row and column. You can bind the JSON cell data having information for each cell to the heat map using the [data](../api/heatmap/data#data) property in [dataSource](../api/heatmap#datasource). To achieve this, you should define the [adaptorType](../api/heatmap/data#adaptortype) property as **Cell**, and enable the [isJsonData](../api/heatmap/data#isjsondata) property. Now, map the fields of data by using the [valueMapping](../api/heatmap/data#valuemapping), [xDataMapping](../api/heatmap/data#xdatamapping) and [yDataMapping](../api/heatmap/data#ydatamapping) properties. +In JSON cell data binding, each JSON object consists a value for each cell along with a mapping value for row and column. You can bind the JSON cell data having information for each cell to the heat map using the [data](../api/heatmap/data/#data) property in [dataSource](../api/heatmap/#datasource). To achieve this, you should define the [adaptorType](../api/heatmap/data/#adaptortype) property as **Cell**, and enable the [isJsonData](../api/heatmap/data/#isjsondata) property. Now, map the fields of data by using the [valueMapping](../api/heatmap/data/#valuemapping), [xDataMapping](../api/heatmap/data/#xdatamapping) and [yDataMapping](../api/heatmap/data/#ydatamapping) properties. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -87,7 +88,7 @@ In JSON cell data binding, each JSON object consists a value for each cell along ## Empty points -The data points that use the **null** or **undefined** or empty string as value are considered as empty points. Empty data points are ignored and not displayed in the heat map, and these points are rendered with default palette. You can customize the empty data point color value using the [emptyPointColor](../api/heatmap/paletteSettings#emptypointcolor) property. +The data points that use the **null** or **undefined** or empty string as value are considered as empty points. Empty data points are ignored and not displayed in the heat map, and these points are rendered with default palette. You can customize the empty data point color value using the [emptyPointColor](../api/heatmap/paletteSettings/#emptypointcolor) property. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -102,7 +103,7 @@ The data points that use the **null** or **undefined** or empty string as value ## Binding nested JSON data -In complex data binding, you can bind the nested JSON data to the data points in the heat map. The nested data can be mapped using the [xDataMapping](../api/heatmap/data#xdatamapping), [yDataMapping](../api/heatmap/data#ydatamapping), [valueMapping](../api/heatmap/data#valuemapping) and [bubbleDataMapping](../api/heatmap/data#bubbledatamapping) properties as string value concatenated by a dot. +In complex data binding, you can bind the nested JSON data to the data points in the heat map. The nested data can be mapped using the [xDataMapping](../api/heatmap/data/#xdatamapping), [yDataMapping](../api/heatmap/data/#ydatamapping), [valueMapping](../api/heatmap/data/#valuemapping) and [bubbleDataMapping](../api/heatmap/data/#bubbledatamapping) properties as string value concatenated by a dot. {% tabs %} {% highlight ts tabtitle="index.ts" %} @@ -117,4 +118,4 @@ In complex data binding, you can bind the nested JSON data to the data points in ## See Also -* [To bind data for bubble heat map with size and color attributes](./bubble-heatmap#binding-data-for-bubble-heat-map-with-size-and-color-attributes) +* [To bind data for bubble heat map with size and color attributes](./bubble-heatmap/#binding-data-for-bubble-heat-map-with-size-and-color-attributes) diff --git a/chart-sdk/typescript/linear-gauge/accessibility.md b/chart-sdk/typescript/linear-gauge/accessibility.md index ee04076fc..23e826eb2 100644 --- a/chart-sdk/typescript/linear-gauge/accessibility.md +++ b/chart-sdk/typescript/linear-gauge/accessibility.md @@ -1,14 +1,15 @@ --- layout: post -title: Accessibility in TypeScript Linear Gauge | Syncfusion -description: Learn about the accessibility features of the TypeScript Linear Gauge, including ARIA attributes, screen reader support, and WCAG compliance. +title: Accessibility in TypeScript Linear Gauge control | Syncfusion +description: Learn here all about Accessibility in Syncfusion TypeScript Linear Gauge control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Linear Gauge +control: Accessibility +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Accessibility in TypeScript Linear Gauge +# Accessibility in TypeScript Linear Gauge control The Linear Gauge control follows commonly used accessibility guidelines and standards, such as [ADA](https://www.ada.gov/), [Section 508](https://www.section508.gov/), [WCAG 2.2](https://www.w3.org/TR/WCAG22/) standards, and [WCAG roles](https://www.w3.org/TR/wai-aria/#roles). diff --git a/chart-sdk/typescript/linear-gauge/animation.md b/chart-sdk/typescript/linear-gauge/animation.md index 4fb0fd348..54e735093 100644 --- a/chart-sdk/typescript/linear-gauge/animation.md +++ b/chart-sdk/typescript/linear-gauge/animation.md @@ -1,14 +1,15 @@ --- layout: post -title: Animation in TypeScript Linear Gauge | Syncfusion -description: Animate the elements of the TypeScript Linear Gauge, including axis lines, ticks, labels, ranges, pointers, and annotations. +title: Animation in TypeScript Linear Gauge control | Syncfusion +description: Learn here all about animation in the Syncfusion TypeScript Linear Gauge control of Syncfusion Essential JS 2 and more. platform: chart-sdk control: Linear Gauge +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Animation in TypeScript Linear Gauge +# Animation in TypeScript Linear Gauge control All of the elements in the Linear Gauge, such as the axis lines, ticks, labels, ranges, pointers, and annotations, can be animated sequentially by using the [animationDuration](../api/linear-gauge#animationduration) property. The animation for the Linear Gauge is enabled when the `animationDuration` property is set to an appropriate value in milliseconds, providing a smooth rendering effect for the control. If the `animationDuration` property is set to **0**, which is the default value, the animation effect is disabled. If the animation is enabled, the control will behave in the following order. diff --git a/chart-sdk/typescript/linear-gauge/annotations.md b/chart-sdk/typescript/linear-gauge/annotations.md index 4167c1791..72ee2c5c2 100644 --- a/chart-sdk/typescript/linear-gauge/annotations.md +++ b/chart-sdk/typescript/linear-gauge/annotations.md @@ -1,20 +1,21 @@ --- layout: post -title: Annotations in TypeScript Linear Gauge | Syncfusion -description: Add text, image, or HTML annotations to the TypeScript Linear Gauge and customize position, alignment, and z-index. +title: Annotations in TypeScript Linear gauge control | Syncfusion +description: Learn here all about Annotations in Syncfusion TypeScript Linear gauge control of Syncfusion Essential JS 2 and more. platform: chart-sdk -control: Linear Gauge +control: Annotations +publishingplatform: chart-sdk documentation: ug domainurl: https://help.syncfusion.com/chart-sdk --- -# Annotations in TypeScript Linear Gauge +# Annotations in TypeScript Linear gauge control Annotations are used to mark the specific area of interest in the Linear Gauge with text, HTML elements, or images. Any number of annotations can be added to the Linear Gauge component. ## Adding annotation -To render the custom HTML elements in the Linear Gauge component, use the [`content`](../api/linear-gauge/annotation#content) property in the [`annotations`](../api/linear-gauge/annotation). The annotation can be rendered either by specifying the id of the element or specifying the code to create a new element that needs to be displayed in the gauge area. +To render the custom HTML elements in the Linear Gauge component, use the [`content`](../api/linear-gauge/annotation/#content) property in the [`annotations`](../api/linear-gauge/annotation). The annotation can be rendered either by specifying the id of the element or specifying the code to create a new element that needs to be displayed in the gauge area. ``` \ No newline at end of file diff --git a/code-snippet/chart-sdk/angular/charts/dynamic-update/add-point/src/app.component.ts b/code-snippet/chart-sdk/angular/charts/dynamic-update/add-point/src/app.component.ts index 0c716d816..5cff6d3c4 100644 --- a/code-snippet/chart-sdk/angular/charts/dynamic-update/add-point/src/app.component.ts +++ b/code-snippet/chart-sdk/angular/charts/dynamic-update/add-point/src/app.component.ts @@ -1,5 +1,4 @@ -import { ChartModule } from '@syncfusion/ej2-angular-charts'; -import { ChartComponent, SplineSeriesService, CategoryService, LegendService, DataLabelService } from '@syncfusion/ej2-angular-charts'; +import { ChartModule, ChartComponent, SplineSeriesService, CategoryService, LegendService, DataLabelService } from '@syncfusion/ej2-angular-charts'; import { ButtonModule } from '@syncfusion/ej2-angular-buttons'; import { Component, OnInit, ViewChild } from '@angular/core'; @Component({ diff --git a/code-snippet/chart-sdk/angular/charts/dynamic-update/click-add-point/src/app.component.ts b/code-snippet/chart-sdk/angular/charts/dynamic-update/click-add-point/src/app.component.ts index b530950c3..15a49f331 100644 --- a/code-snippet/chart-sdk/angular/charts/dynamic-update/click-add-point/src/app.component.ts +++ b/code-snippet/chart-sdk/angular/charts/dynamic-update/click-add-point/src/app.component.ts @@ -1,5 +1,4 @@ -import { ChartModule } from '@syncfusion/ej2-angular-charts'; -import { ChartComponent, LineSeriesService, CategoryService, TooltipService, DataLabelService, IAxisRangeCalculatedEventArgs, Series, IMouseEventArgs } from '@syncfusion/ej2-angular-charts'; +import { ChartModule, ChartComponent, LineSeriesService, CategoryService, TooltipService, DataLabelService, IAxisRangeCalculatedEventArgs, Series, IMouseEventArgs } from '@syncfusion/ej2-angular-charts'; import { Component, OnInit, ViewChild } from '@angular/core'; @Component({ imports: [ @@ -61,7 +60,7 @@ export class AppComponent implements OnInit { let isRemoved: boolean = false; if (args.axisData && this.chart?.series) { for (let i: number = 0; i < (this.chart.series[0] as Series).points.length; i++) { - let markerWidth: number = (this.chart.series[0] as Series).marker?.width ?? 0 / 2; + let markerWidth: number = ((this.chart.series[0] as Series).marker?.width ?? 0) / 2; let roundedX: number = Math.round(args.axisData['primaryXAxis']) + markerWidth; let roundedY: number = Math.round(args.axisData['primaryYAxis']) + markerWidth; let pointX: number = Math.round((this.chart.series[0] as Series).points[i].x as number) + markerWidth; diff --git a/code-snippet/chart-sdk/angular/charts/dynamic-update/remove-point/src/app.component.ts b/code-snippet/chart-sdk/angular/charts/dynamic-update/remove-point/src/app.component.ts index 3ba3c4540..6a69d47f0 100644 --- a/code-snippet/chart-sdk/angular/charts/dynamic-update/remove-point/src/app.component.ts +++ b/code-snippet/chart-sdk/angular/charts/dynamic-update/remove-point/src/app.component.ts @@ -1,5 +1,4 @@ -import { ChartModule } from '@syncfusion/ej2-angular-charts'; -import { ChartComponent, SplineSeriesService, CategoryService, LegendService, DataLabelService } from '@syncfusion/ej2-angular-charts'; +import { ChartModule, ChartComponent, SplineSeriesService, CategoryService, LegendService, DataLabelService } from '@syncfusion/ej2-angular-charts'; import { ButtonModule } from '@syncfusion/ej2-angular-buttons'; import { Component, OnInit, ViewChild } from '@angular/core'; @Component({ diff --git a/code-snippet/chart-sdk/angular/charts/dynamic-update/set-data/src/app.component.ts b/code-snippet/chart-sdk/angular/charts/dynamic-update/set-data/src/app.component.ts index ec5f294f1..34e7eb0b8 100644 --- a/code-snippet/chart-sdk/angular/charts/dynamic-update/set-data/src/app.component.ts +++ b/code-snippet/chart-sdk/angular/charts/dynamic-update/set-data/src/app.component.ts @@ -1,5 +1,4 @@ -import { ChartModule } from '@syncfusion/ej2-angular-charts'; -import { ChartComponent, ColumnSeriesService, CategoryService, IAxisRangeCalculatedEventArgs } from '@syncfusion/ej2-angular-charts'; +import { ChartModule, ChartComponent, ColumnSeriesService, CategoryService, IAxisRangeCalculatedEventArgs } from '@syncfusion/ej2-angular-charts'; import { ButtonModule } from '@syncfusion/ej2-angular-buttons'; import { Component, OnInit, ViewChild } from '@angular/core'; @Component({ diff --git a/code-snippet/chart-sdk/angular/charts/getting-started-cs1/src/app.ts b/code-snippet/chart-sdk/angular/charts/getting-started-cs1/src/app.ts new file mode 100644 index 000000000..476222f94 --- /dev/null +++ b/code-snippet/chart-sdk/angular/charts/getting-started-cs1/src/app.ts @@ -0,0 +1,11 @@ +import { Component } from '@angular/core'; +import { ChartModule } from '@syncfusion/ej2-angular-charts'; + +@Component({ + selector: 'app-root', + standalone: true, + imports: [ChartModule], + // specifies the template string for the Chart component + template: `` +}) +export class App { } diff --git a/code-snippet/chart-sdk/angular/charts/getting-started-cs1/src/main.ts b/code-snippet/chart-sdk/angular/charts/getting-started-cs1/src/main.ts new file mode 100644 index 000000000..7fbc5e800 --- /dev/null +++ b/code-snippet/chart-sdk/angular/charts/getting-started-cs1/src/main.ts @@ -0,0 +1,4 @@ +import { bootstrapApplication } from '@angular/platform-browser'; +import { App } from './app.component'; +import 'zone.js'; +bootstrapApplication(App).catch((err) => console.error(err)); diff --git a/code-snippet/chart-sdk/angular/charts/grid-visual-cs2/src/app.component.ts b/code-snippet/chart-sdk/angular/charts/grid-visual-cs2/src/app.component.ts index 953384e30..94b36aabf 100644 --- a/code-snippet/chart-sdk/angular/charts/grid-visual-cs2/src/app.component.ts +++ b/code-snippet/chart-sdk/angular/charts/grid-visual-cs2/src/app.component.ts @@ -1,73 +1,73 @@ -import { ChartModule } from '@syncfusion/ej2-angular-charts' -import { GridModule } from '@syncfusion/ej2-angular-grids' -import { PageService, SortService, FilterService, GroupService } from '@syncfusion/ej2-angular-grids' -import { AccumulationChartModule } from '@syncfusion/ej2-angular-charts' -import { PieSeriesService, AccumulationTooltipService, AccumulationDataLabelService } from '@syncfusion/ej2-angular-charts' -import { LineSeriesService, DateTimeService, DataLabelService, StackingColumnSeriesService, CategoryService, ChartShape, - StepAreaSeriesService,SplineSeriesService, ChartAnnotationService, LegendService, TooltipService, StripLineService, - SelectionService,ScatterSeriesService - } from '@syncfusion/ej2-angular-charts' - +import { ChartModule } from '@syncfusion/ej2-angular-charts'; +import { GridModule } from '@syncfusion/ej2-angular-grids'; +import { PageService } from '@syncfusion/ej2-angular-grids'; +import { + LineSeriesService, + DateTimeService, + LegendService, + TooltipService, + SelectionService +} from '@syncfusion/ej2-angular-charts'; import { Component, OnInit, ViewChild } from '@angular/core'; -import { IDragCompleteEventArgs, ChartComponent } from '@syncfusion/ej2-angular-charts'; +import { ChartComponent } from '@syncfusion/ej2-angular-charts'; import { GridComponent, ActionEventArgs } from '@syncfusion/ej2-angular-grids'; import { Query, DataManager } from '@syncfusion/ej2-data'; import { orderData } from './datasource'; -@Component({ -imports: [ - ChartModule, AccumulationChartModule, GridModule - ], -providers: [ LineSeriesService, DateTimeService, DataLabelService, StackingColumnSeriesService,CategoryService, - StepAreaSeriesService, SplineSeriesService, ChartAnnotationService, LegendService, TooltipService, StripLineService, - PieSeriesService, AccumulationTooltipService, AccumulationDataLabelService, SelectionService,ScatterSeriesService - ,PageService], -standalone: true, - selector: 'app-container', - template: ` - +@Component({ + imports: [ChartModule, GridModule], + providers: [ + LineSeriesService, + DateTimeService, + LegendService, + TooltipService, + SelectionService, + PageService + ], + standalone: true, + selector: 'app-container', + template: ` + - - - - > - - ` + + + + + + ` }) export class AppComponent implements OnInit { - public primaryXAxis?: Object; - public chartData?: Object[]; - public data?: Object[]; - public title?: string; - public marker?: Object; - public primaryYAxis?: Object; - public pageSettings?: Object; - @ViewChild('chart') - public chart?: ChartComponent; - @ViewChild('grid') - public grid?: GridComponent; - ngOnInit(): void { - this.data = new DataManager(orderData as JSON[]).executeLocal(new Query().take(100)); - this.pageSettings = { pageSize: 10 }; - } - dataBound() { - this.chart!.primaryXAxis = { - valueType: 'DateTime', - }; - this.chart!.series[0].marker = { visible: true} - this.chart!.series[0].xName = 'OrderDate'; - this.chart!.series[0].yName = 'Freight'; - this.chart!.series[0].dataSource = this.grid?.getCurrentViewRecords(); - } - public actionComplete(args: ActionEventArgs):void { - if (args.requestType === 'paging') { - this.chart!.series[0].dataSource = this.grid?.getCurrentViewRecords(); - this.chart?.refresh(); - } + public primaryXAxis?: Object; + public primaryYAxis?: Object; + public data?: Object[]; + public title?: string; + public marker?: Object; + public pageSettings?: Object; + @ViewChild('chart') public chart?: ChartComponent; + @ViewChild('grid') public grid?: GridComponent; + + ngOnInit(): void { + this.data = new DataManager(orderData as JSON[]).executeLocal(new Query().take(100)); + this.pageSettings = { pageSize: 10 }; + this.primaryXAxis = { valueType: 'DateTime' }; + this.primaryYAxis = { title: 'Freight' }; + this.title = 'Freight by Order Date'; + this.marker = { visible: true, height: 10, width: 10 }; + } + + dataBound(): void { + this.chart!.series[0].dataSource = this.grid?.getCurrentViewRecords(); + } + + public actionComplete(args: ActionEventArgs): void { + // Extend the conditional to 'sorting' / 'filtering' to refresh the Chart for those interactions. + if (args.requestType === 'paging') { + this.chart!.series[0].dataSource = this.grid?.getCurrentViewRecords(); + this.chart?.refresh(); } + } } diff --git a/code-snippet/chart-sdk/angular/charts/how-to-cs14/package.json b/code-snippet/chart-sdk/angular/charts/how-to-cs14/package.json index a29fbee89..215636eee 100644 --- a/code-snippet/chart-sdk/angular/charts/how-to-cs14/package.json +++ b/code-snippet/chart-sdk/angular/charts/how-to-cs14/package.json @@ -14,10 +14,6 @@ "@angular/platform-browser": "17.1.2", "@angular/platform-browser-dynamic": "17.1.2", "@syncfusion/ej2-angular-charts": "*", - "@syncfusion/ej2-angular-grids": "*", - "@syncfusion/ej2-angular-popups": "*", - "@syncfusion/ej2-angular-base": "*", - "@syncfusion/ej2-angular-buttons": "*", "@angular/animations": "17.1.2", "@angular/common": "17.1.2", "@angular/compiler": "17.1.2", diff --git a/code-snippet/chart-sdk/angular/charts/how-to-cs14/src/app.component.ts b/code-snippet/chart-sdk/angular/charts/how-to-cs14/src/app.component.ts index b9af3065d..b37b9d1c9 100644 --- a/code-snippet/chart-sdk/angular/charts/how-to-cs14/src/app.component.ts +++ b/code-snippet/chart-sdk/angular/charts/how-to-cs14/src/app.component.ts @@ -1,45 +1,35 @@ -import { ChartModule, ChartAllModule, AccumulationChartAllModule } from '@syncfusion/ej2-angular-charts' -import { GridModule } from '@syncfusion/ej2-angular-grids' -import { PageService } from '@syncfusion/ej2-angular-grids' -import { AccumulationChartModule } from '@syncfusion/ej2-angular-charts' -import { DialogModule } from '@syncfusion/ej2-angular-popups' -import { PieSeriesService, AccumulationTooltipService, AccumulationDataLabelService } from '@syncfusion/ej2-angular-charts' +import { ChartModule } from '@syncfusion/ej2-angular-charts' import { - LineSeriesService, DateTimeService, DataLabelService, StackingColumnSeriesService, CategoryService, - StepAreaSeriesService, SplineSeriesService, ScrollBarService, ChartAnnotationService, LegendService, TooltipService, StripLineService, - SelectionService, ScatterSeriesService, ZoomService, ColumnSeriesService, AreaSeriesService, RangeAreaSeriesService + DateTimeService, AreaSeriesService, RangeAreaSeriesService } from '@syncfusion/ej2-angular-charts' -import { Component, OnInit } from '@angular/core'; +import { Component } from '@angular/core'; @Component({ imports: [ - ChartModule, ChartAllModule, AccumulationChartAllModule, AccumulationChartModule, GridModule, DialogModule + ChartModule ], -providers: [LineSeriesService, DateTimeService, ColumnSeriesService, DataLabelService, ZoomService, StackingColumnSeriesService, CategoryService, - StepAreaSeriesService, SplineSeriesService, ChartAnnotationService, LegendService, TooltipService, StripLineService, - PieSeriesService, AccumulationTooltipService, ScrollBarService, AccumulationDataLabelService, SelectionService, ScatterSeriesService, - PageService, AreaSeriesService, RangeAreaSeriesService ], +providers: [DateTimeService, AreaSeriesService, RangeAreaSeriesService], standalone: true, selector: 'app-container', template: ` - + - + + fill='rgba(162, 207, 87, 0.6)' opacity=1 width=2 border-color='transparent' zOrder=0> ` }) -export class AppComponent implements OnInit { +export class AppComponent { public chartArea: Object = { border: { width: 0 @@ -56,9 +46,12 @@ export class AppComponent implements OnInit { { x: new Date(2004, 0, 1), y: 3.6 }, { x: new Date(2005, 0, 1), y: 3 } ]; public data2: Object[] = [ - { x: new Date(2003, 6, 1), high: 3.3, low: 3.3 }, + { x: new Date(2000, 0, 1), high: 4, low: 2.6 }, + { x: new Date(2001, 0, 1), high: 3, low: 2.8 }, + { x: new Date(2002, 0, 1), high: 3.8, low: 2.6 }, + { x: new Date(2003, 0, 1), high: 3.4, low: 3 }, { x: new Date(2004, 0, 1), high: 3.6, low: 3.2 }, - { x: new Date(2004, 4, 1), high: 3.4, low: 3.4 } + { x: new Date(2005, 0, 1), high: 3.9, low: 3 } ]; //Initializing Primary X Axis public primaryXAxis: Object = { @@ -83,8 +76,5 @@ export class AppComponent implements OnInit { public title: string = 'Average Sales Comparison'; constructor() { // code - }ngOnInit(): void { - throw new Error('Method not implemented.'); } -; } diff --git a/code-snippet/chart-sdk/angular/charts/how-to-cs3/src/app.component.ts b/code-snippet/chart-sdk/angular/charts/how-to-cs3/src/app.component.ts index 2c258df28..24629a27e 100644 --- a/code-snippet/chart-sdk/angular/charts/how-to-cs3/src/app.component.ts +++ b/code-snippet/chart-sdk/angular/charts/how-to-cs3/src/app.component.ts @@ -27,9 +27,9 @@ standalone: true, - + - + @@ -65,14 +65,14 @@ export class AppComponent { rangePadding: 'None' }; public marker1: Object = { - visible: false, + visible: true, width: 28, height: 20, shape: 'Rectangle', - dataLabel: {visible: true, position: 'Inner' } + dataLabel: { visible: true, position: 'Inner' } }; public marker2: Object = { - visible: false, + visible: true, width: 12, height: 12, shape: 'Diamond' diff --git a/code-snippet/chart-sdk/angular/charts/how-to-cs4/src/app.component.ts b/code-snippet/chart-sdk/angular/charts/how-to-cs4/src/app.component.ts index dc96e51c0..96da9f5cd 100644 --- a/code-snippet/chart-sdk/angular/charts/how-to-cs4/src/app.component.ts +++ b/code-snippet/chart-sdk/angular/charts/how-to-cs4/src/app.component.ts @@ -29,9 +29,9 @@ standalone: true, [primaryXAxis]='primaryXAxis' [primaryYAxis]='primaryYAxis' (textRender)='textRender($event)' (pointRender)='pointRender($event)' [tooltip]='tooltip' > - + - + @@ -70,21 +70,21 @@ export class AppComponent { }; public marker1: Object = { - visible: false, + visible: true, width: 28, height: 20, shape: 'Rectangle', - dataLabel: {visible: true, position: 'Inner', name: 'text'} + dataLabel: { visible: true, position: 'Inner', name: 'text' } }; public marker2: Object = { - visible: false, + visible: true, width: 12, height: 12, shape: 'Diamond' }; public tooltip: Object = { enable: true, - format: 'Weight: ${point.x} lbs
      Height: ${point.y}"' + format: 'Height: ${point.x} in
      Weight: ${point.y} lbs' }; public textRender(args: ITextRenderEventArgs): void { args.text = args.point.x + ''; diff --git a/code-snippet/chart-sdk/angular/charts/how-to-cs5/src/app.component.ts b/code-snippet/chart-sdk/angular/charts/how-to-cs5/src/app.component.ts index 09861ebcb..5c10bc7a8 100644 --- a/code-snippet/chart-sdk/angular/charts/how-to-cs5/src/app.component.ts +++ b/code-snippet/chart-sdk/angular/charts/how-to-cs5/src/app.component.ts @@ -1,35 +1,20 @@ -import { ChartModule, ChartAllModule, AccumulationChartAllModule } from '@syncfusion/ej2-angular-charts' -import { GridModule } from '@syncfusion/ej2-angular-grids' -import { PageService } from '@syncfusion/ej2-angular-grids' -import { AccumulationChartModule } from '@syncfusion/ej2-angular-charts' -import { DialogModule } from '@syncfusion/ej2-angular-popups' -import { PieSeriesService, AccumulationTooltipService, AccumulationDataLabelService } from '@syncfusion/ej2-angular-charts' -import { - LineSeriesService, DateTimeService, DataLabelService, StackingColumnSeriesService, CategoryService, - StepAreaSeriesService, SplineSeriesService, ScrollBarService, ChartAnnotationService, LegendService, TooltipService, StripLineService, - SelectionService, ScatterSeriesService, ZoomService, ColumnSeriesService, AreaSeriesService, RangeAreaSeriesService -} from '@syncfusion/ej2-angular-charts' +import { ChartModule } from '@syncfusion/ej2-angular-charts'; +import { DialogModule } from '@syncfusion/ej2-angular-popups'; +import { ColumnSeriesService, DateTimeService, CategoryService, DataLabelService, LegendService, TooltipService } from '@syncfusion/ej2-angular-charts'; - -import { Component, OnInit, ViewChild } from '@angular/core'; +import { Component, ViewChild } from '@angular/core'; import { DialogComponent } from '@syncfusion/ej2-angular-popups'; @Component({ -imports: [ - ChartModule, ChartAllModule, AccumulationChartAllModule, AccumulationChartModule, GridModule, DialogModule - ], - -providers: [LineSeriesService, DateTimeService, ColumnSeriesService, DataLabelService, ZoomService, StackingColumnSeriesService, CategoryService, - StepAreaSeriesService, SplineSeriesService, ChartAnnotationService, LegendService, TooltipService, StripLineService, - PieSeriesService, AccumulationTooltipService, ScrollBarService, AccumulationDataLabelService, SelectionService, ScatterSeriesService, - PageService, AreaSeriesService, RangeAreaSeriesService ], -standalone: true, - selector: 'app-container', - template: `
      + imports: [ChartModule, DialogModule], + providers: [ColumnSeriesService, DateTimeService, CategoryService, DataLabelService, LegendService, TooltipService], + standalone: true, + selector: 'app-container', + template: ` +
      - - +
      @@ -40,7 +25,7 @@ standalone: true, - + @@ -62,14 +47,16 @@ export class AppComponent { { x: new Date(2005, 0, 1), y: 28 }, { x: new Date(2006, 0, 1), y: 44 }, { x: new Date(2007, 0, 1), y: 48 } ]; + @ViewChild('Dialog') public Dialog?: DialogComponent; + public visible: boolean = false; - public showCloseIcon: Boolean = true; + public showCloseIcon: boolean = true; public width: string = '500px'; public height: string = '450px'; - public target: Element = document.getElementById('target') as Element; - public content: string = '
      '; + public target: string = '#target'; + //Initializing Primary X Axis public primaryXAxis: Object = { valueType: 'DateTime', @@ -78,10 +65,8 @@ export class AppComponent { edgeLabelPlacement: 'Shift' }; public title: string = 'Inflation - Consumer Price'; + public BtnClick = (event: any): void => { this.Dialog?.show(); }; - constructor() { - //code - }; -} +} \ No newline at end of file diff --git a/code-snippet/chart-sdk/angular/charts/how-to-cs7/src/app.component.ts b/code-snippet/chart-sdk/angular/charts/how-to-cs7/src/app.component.ts index 6ff8fb6b0..569a79255 100644 --- a/code-snippet/chart-sdk/angular/charts/how-to-cs7/src/app.component.ts +++ b/code-snippet/chart-sdk/angular/charts/how-to-cs7/src/app.component.ts @@ -1,52 +1,52 @@ -import { ChartModule, ChartAllModule, AccumulationChartAllModule } from '@syncfusion/ej2-angular-charts' -import { AccumulationChartModule } from '@syncfusion/ej2-angular-charts' -import { PieSeriesService, AccumulationTooltipService, AccumulationDataLabelService } from '@syncfusion/ej2-angular-charts' -import { - LineSeriesService, DateTimeService, DataLabelService, StackingColumnSeriesService, CategoryService, - StepAreaSeriesService, SplineSeriesService, ScrollBarService, ChartAnnotationService, LegendService, TooltipService, StripLineService, - SelectionService, ScatterSeriesService, ZoomService, ColumnSeriesService, AreaSeriesService, RangeAreaSeriesService -} from '@syncfusion/ej2-angular-charts' - - import { Component, OnInit } from '@angular/core'; +import { CommonModule } from '@angular/common'; +import { ChartModule, LineSeriesService, CategoryService } from '@syncfusion/ej2-angular-charts'; +import { ButtonModule } from '@syncfusion/ej2-angular-buttons'; @Component({ -imports: [ - ChartModule, ChartAllModule, AccumulationChartAllModule, AccumulationChartModule - ], - -providers: [LineSeriesService, DateTimeService, ColumnSeriesService, DataLabelService, ZoomService, StackingColumnSeriesService, CategoryService, - StepAreaSeriesService, SplineSeriesService, ChartAnnotationService, LegendService, TooltipService, StripLineService, - PieSeriesService, AccumulationTooltipService, ScrollBarService, AccumulationDataLabelService, SelectionService, ScatterSeriesService, - AreaSeriesService, RangeAreaSeriesService ], -standalone: true, + standalone: true, selector: 'app-container', - template: `
      - - - -
      `, + imports: [CommonModule, ChartModule, ButtonModule], + providers: [LineSeriesService, CategoryService], + template: ` +
      + +
      + + + + + + +
      +
      + ` }) - export class AppComponent implements OnInit { - public i:number = 0; - public id:string ='chart-container'; + public i: number = 0; public chartData?: Object[]; public marker?: Object; public title?: string; - public items:any =[]; + public items: any = []; + ngOnInit(): void { - this.chartData = [{ x: 1, y: 21 }, { x: 2, y: 24 }, { x: 3, y: 36 }, - { x: 4, y: 38 }, { x: 5, y: 54 }, { x: 6, y: 57 }, { x: 7, y: 70 }], - this.title = 'Inflation - Consumer Price'; + this.chartData = [ + { x: 1, y: 21 }, { x: 2, y: 24 }, { x: 3, y: 36 }, + { x: 4, y: 38 }, { x: 5, y: 54 }, { x: 6, y: 57 }, { x: 7, y: 70 } + ]; + this.title = 'Inflation - Consumer Price'; this.marker = { visible: true }; } - Add() { - this.id = 'chart-container' + this.i; - var item = { - "id":this.id, - } - this.items.push(item); - this.i++; + + Add(): void { + const id = 'chart-container' + this.i; + this.items.push({ id }); + this.i++; } } diff --git a/code-snippet/chart-sdk/angular/charts/render-modes-cs1/angular.json b/code-snippet/chart-sdk/angular/charts/render-modes-cs1/angular.json new file mode 100644 index 000000000..bb5caa873 --- /dev/null +++ b/code-snippet/chart-sdk/angular/charts/render-modes-cs1/angular.json @@ -0,0 +1,76 @@ +{ + "$schema": "./node_modules/@angular/cli/lib/config/schema.json", + "version": 1, + "newProjectRoot": "projects", + "projects": { + "syncfusion-component": { + "projectType": "application", + "schematics": {}, + "root": "", + "sourceRoot": "src", + "prefix": "app", + "architect": { + "build": { + "builder": "@angular-devkit/build-angular:browser", + "options": { + "outputPath": "dist", + "index": "index.html", + "main": "src/main.ts", + "tsConfig": "tsconfig.json", + "styles": [ + "src/styles.css" + ], + "assets": [ + { + "glob": "*.css", + "input": "", + "output": "" + } + ] + }, + "configurations": { + "production": { + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "10mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ], + "outputHashing": "all" + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true + } + }, + "defaultConfiguration": "production" + }, + "serve": { + "builder": "@angular-devkit/build-angular:dev-server", + "configurations": { + "production": { + "buildTarget": "syncfusion-component:build:production" + }, + "development": { + "buildTarget": "syncfusion-component:build:development" + } + }, + "defaultConfiguration": "development" + } + } + } + }, + "cli": { + "analytics": false + } +} \ No newline at end of file diff --git a/code-snippet/chart-sdk/angular/charts/render-modes-cs1/index.css b/code-snippet/chart-sdk/angular/charts/render-modes-cs1/index.css new file mode 100644 index 000000000..fdc452b7d --- /dev/null +++ b/code-snippet/chart-sdk/angular/charts/render-modes-cs1/index.css @@ -0,0 +1,15 @@ +#loader { + color: #008cff; + font-family: 'Helvetica Neue','calibiri'; + font-size:16px; + height: 40px; + left: 45%; + position: absolute; + top: 45%; + width: 30%; +} + +#chart-container { + display: block; + height: 350px; +} \ No newline at end of file diff --git a/code-snippet/chart-sdk/angular/charts/render-modes-cs1/index.html b/code-snippet/chart-sdk/angular/charts/render-modes-cs1/index.html new file mode 100644 index 000000000..b55e82ba7 --- /dev/null +++ b/code-snippet/chart-sdk/angular/charts/render-modes-cs1/index.html @@ -0,0 +1,19 @@ + + + + + EJ2 Angular Chart - Rendering Modes + + + + + + + + + +
      Loading....
      +
      + + + \ No newline at end of file diff --git a/code-snippet/chart-sdk/angular/charts/render-modes-cs1/package.json b/code-snippet/chart-sdk/angular/charts/render-modes-cs1/package.json new file mode 100644 index 000000000..7847cc427 --- /dev/null +++ b/code-snippet/chart-sdk/angular/charts/render-modes-cs1/package.json @@ -0,0 +1,40 @@ +{ + "name": "syncfusion-component", + "version": "0.0.0", + "scripts": { + "ng": "ng", + "start": "ng serve", + "build": "ng build", + "watch": "ng build --watch --configuration development", + "test": "ng test" + }, + "private": true, + "dependencies": { + "@angular/core": "17.1.2", + "@angular/platform-browser": "17.1.2", + "@angular/platform-browser-dynamic": "17.1.2", + "@syncfusion/ej2-angular-charts": "*", + "@syncfusion/ej2-angular-base": "*", + "@angular/animations": "17.1.2", + "@angular/common": "17.1.2", + "@angular/compiler": "17.1.2", + "@angular/forms": "17.1.2", + "@angular/router": "17.1.2", + "rxjs": "7.8.0", + "tslib": "2.3.0", + "zone.js": "0.14.3" + }, + "devDependencies": { + "@angular-devkit/build-angular": "17.1.2", + "@angular/cli": "17.1.2", + "@angular/compiler-cli": "17.1.2", + "@types/jasmine": "4.3.0", + "jasmine-core": "4.5.0", + "karma": "6.4.0", + "karma-chrome-launcher": "3.1.0", + "karma-coverage": "2.2.0", + "karma-jasmine": "5.1.0", + "karma-jasmine-html-reporter": "2.0.0", + "typescript": "5.3.3" + } +} \ No newline at end of file diff --git a/code-snippet/chart-sdk/angular/charts/render-modes-cs1/src/app.component.ts b/code-snippet/chart-sdk/angular/charts/render-modes-cs1/src/app.component.ts new file mode 100644 index 000000000..95a7a10d1 --- /dev/null +++ b/code-snippet/chart-sdk/angular/charts/render-modes-cs1/src/app.component.ts @@ -0,0 +1,29 @@ +import { ChartModule, CategoryService, ColumnSeriesService, LegendService, TooltipService } from '@syncfusion/ej2-angular-charts'; +import { Component } from '@angular/core'; + +@Component({ + imports: [ChartModule], + providers: [CategoryService, ColumnSeriesService, LegendService, TooltipService], + standalone: true, + selector: 'app-container', + template: ` + + + + ` +}) +export class AppComponent { + public primaryXAxis: Object = { valueType: 'Category', title: 'Month' }; + public primaryYAxis: Object = { title: 'Revenue (in USD)' }; + public chartData: Object[] = [ + { month: 'Jan', revenue: 35 }, + { month: 'Feb', revenue: 28 }, + { month: 'Mar', revenue: 34 }, + { month: 'Apr', revenue: 32 }, + { month: 'May', revenue: 40 }, + { month: 'Jun', revenue: 38 } + ]; + public title: string = 'Monthly Revenue (Canvas Rendering)'; + // Toggle this to switch between SVG (false) and Canvas (true) rendering. + public enableCanvas: boolean = true; +} \ No newline at end of file diff --git a/code-snippet/chart-sdk/angular/charts/render-modes-cs1/src/main.ts b/code-snippet/chart-sdk/angular/charts/render-modes-cs1/src/main.ts new file mode 100644 index 000000000..3607237bd --- /dev/null +++ b/code-snippet/chart-sdk/angular/charts/render-modes-cs1/src/main.ts @@ -0,0 +1,4 @@ +import { bootstrapApplication } from '@angular/platform-browser'; +import { AppComponent } from './app.component'; +import 'zone.js'; +bootstrapApplication(AppComponent).catch((err) => console.error(err)); \ No newline at end of file diff --git a/code-snippet/chart-sdk/angular/charts/render-modes-cs1/src/styles.css b/code-snippet/chart-sdk/angular/charts/render-modes-cs1/src/styles.css new file mode 100644 index 000000000..37aa326a6 --- /dev/null +++ b/code-snippet/chart-sdk/angular/charts/render-modes-cs1/src/styles.css @@ -0,0 +1 @@ +@import 'node_modules/@syncfusion/ej2-angular-base/styles/material.css'; \ No newline at end of file diff --git a/code-snippet/chart-sdk/angular/charts/render-modes-cs1/tsconfig.json b/code-snippet/chart-sdk/angular/charts/render-modes-cs1/tsconfig.json new file mode 100644 index 000000000..9fa16d633 --- /dev/null +++ b/code-snippet/chart-sdk/angular/charts/render-modes-cs1/tsconfig.json @@ -0,0 +1,32 @@ +{ + "compileOnSave": false, + "compilerOptions": { + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "forceConsistentCasingInFileNames": true, + "strict": true, + "noImplicitOverride": true, + "noPropertyAccessFromIndexSignature": true, + "noImplicitReturns": true, + "noFallthroughCasesInSwitch": true, + "sourceMap": true, + "declaration": false, + "downlevelIteration": true, + "experimentalDecorators": true, + "moduleResolution": "node", + "importHelpers": true, + "target": "ES2022", + "module": "ES2022", + "useDefineForClassFields": false, + "lib": [ + "ES2022", + "dom" + ] + }, + "angularCompilerOptions": { + "enableI18nLegacyMessageIdFormat": false, + "strictInjectionParameters": true, + "strictInputAccessModifiers": true, + "strictTemplates": true + } +} \ No newline at end of file diff --git a/code-snippet/chart-sdk/angular/charts/series/accessibility-cs9/angular.json b/code-snippet/chart-sdk/angular/charts/series/accessibility-cs9/angular.json new file mode 100644 index 000000000..81b1903d4 --- /dev/null +++ b/code-snippet/chart-sdk/angular/charts/series/accessibility-cs9/angular.json @@ -0,0 +1,76 @@ +{ + "$schema": "./node_modules/@angular/cli/lib/config/schema.json", + "version": 1, + "newProjectRoot": "projects", + "projects": { + "syncfusion-component": { + "projectType": "application", + "schematics": {}, + "root": "", + "sourceRoot": "src", + "prefix": "app", + "architect": { + "build": { + "builder": "@angular-devkit/build-angular:browser", + "options": { + "outputPath": "dist", + "index": "index.html", + "main": "src/main.ts", + "tsConfig": "tsconfig.json", + "styles": [ + "src/styles.css" + ], + "assets": [ + { + "glob": "*.css", + "input": "", + "output": "" + } + ] + }, + "configurations": { + "production": { + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "10mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ], + "outputHashing": "all" + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true + } + }, + "defaultConfiguration": "production" + }, + "serve": { + "builder": "@angular-devkit/build-angular:dev-server", + "configurations": { + "production": { + "buildTarget": "syncfusion-component:build:production" + }, + "development": { + "buildTarget": "syncfusion-component:build:development" + } + }, + "defaultConfiguration": "development" + } + } + } + }, + "cli": { + "analytics": false + } +} diff --git a/code-snippet/chart-sdk/angular/charts/series/accessibility-cs9/index.css b/code-snippet/chart-sdk/angular/charts/series/accessibility-cs9/index.css new file mode 100644 index 000000000..968a64507 --- /dev/null +++ b/code-snippet/chart-sdk/angular/charts/series/accessibility-cs9/index.css @@ -0,0 +1,15 @@ +#loader { + color: #008cff; + font-family: 'Helvetica Neue','calibiri'; + font-size:16px; + height: 40px; + left: 45%; + position: absolute; + top: 45%; + width: 30%; +} + +#chart-container { + display: block; + height: 350px; +} diff --git a/code-snippet/chart-sdk/angular/charts/series/accessibility-cs9/index.html b/code-snippet/chart-sdk/angular/charts/series/accessibility-cs9/index.html new file mode 100644 index 000000000..063cadb83 --- /dev/null +++ b/code-snippet/chart-sdk/angular/charts/series/accessibility-cs9/index.html @@ -0,0 +1,21 @@ + + + + + EJ2 Accessibility + + + + + + + + + + + +
      Loading....
      +
      + + + diff --git a/code-snippet/chart-sdk/angular/charts/series/accessibility-cs9/package.json b/code-snippet/chart-sdk/angular/charts/series/accessibility-cs9/package.json new file mode 100644 index 000000000..6c6f767be --- /dev/null +++ b/code-snippet/chart-sdk/angular/charts/series/accessibility-cs9/package.json @@ -0,0 +1,41 @@ +{ + "name": "syncfusion-component", + "version": "0.0.0", + "scripts": { + "ng": "ng", + "start": "ng serve", + "build": "ng build", + "watch": "ng build --watch --configuration development", + "test": "ng test" + }, + "private": true, + "dependencies": { + "@angular/core": "17.1.2", + "@angular/platform-browser": "17.1.2", + "@angular/platform-browser-dynamic": "17.1.2", + "@syncfusion/ej2-angular-charts": "*", + "@syncfusion/ej2-angular-base": "*", + "@angular/animations": "17.1.2", + "@angular/common": "17.1.2", + "@angular/compiler": "17.1.2", + "@angular/forms": "17.1.2", + "@angular/router": "17.1.2", + "moment": "2.29.4", + "rxjs": "7.8.0", + "tslib": "2.3.0", + "zone.js": "0.14.3" + }, + "devDependencies": { + "@angular-devkit/build-angular": "17.1.2", + "@angular/cli": "17.1.2", + "@angular/compiler-cli": "17.1.2", + "@types/jasmine": "4.3.0", + "jasmine-core": "4.5.0", + "karma": "6.4.0", + "karma-chrome-launcher": "3.1.0", + "karma-coverage": "2.2.0", + "karma-jasmine": "5.1.0", + "karma-jasmine-html-reporter": "2.0.0", + "typescript": "5.3.3" + } +} diff --git a/code-snippet/chart-sdk/angular/charts/series/accessibility-cs9/src/app.component.ts b/code-snippet/chart-sdk/angular/charts/series/accessibility-cs9/src/app.component.ts new file mode 100644 index 000000000..d8b3005f8 --- /dev/null +++ b/code-snippet/chart-sdk/angular/charts/series/accessibility-cs9/src/app.component.ts @@ -0,0 +1,46 @@ +import { ChartModule, CategoryService, ColumnSeriesService, LegendService, TooltipService } from '@syncfusion/ej2-angular-charts'; +import { Component, OnInit } from '@angular/core'; + +@Component({ + imports: [ChartModule], + providers: [CategoryService, ColumnSeriesService, LegendService, TooltipService], + standalone: true, + selector: 'app-container', + template: ` + + + + ` +}) +export class AppComponent implements OnInit { + public primaryXAxis?: Object; + public primaryYAxis?: Object; + public chartData?: Object[]; + public title?: string; + public tooltip?: Object; + public legendSettings?: Object; + public accessibility?: Object; + + ngOnInit(): void { + this.chartData = [ + { month: 'Jan', sales: 35 }, { month: 'Feb', sales: 28 }, + { month: 'Mar', sales: 34 }, { month: 'Apr', sales: 32 }, + { month: 'May', sales: 40 }, { month: 'Jun', sales: 32 }, + { month: 'Jul', sales: 35 }, { month: 'Aug', sales: 55 }, + { month: 'Sep', sales: 38 }, { month: 'Oct', sales: 30 }, + { month: 'Nov', sales: 25 }, { month: 'Dec', sales: 32 } + ]; + this.primaryXAxis = { valueType: 'Category' }; + this.primaryYAxis = { labelFormat: '${value}K' }; + this.title = 'Monthly Sales'; + this.tooltip = { enable: true }; + this.legendSettings = { visible: true }; + // Customize the chart's accessibility attributes and visible focus border. + this.accessibility = { + accessibilityDescription: 'A column chart showing monthly sales in thousands of units for the year.', + accessibilityRole: 'chart' + }; + } +} diff --git a/code-snippet/chart-sdk/angular/charts/series/accessibility-cs9/src/main.ts b/code-snippet/chart-sdk/angular/charts/series/accessibility-cs9/src/main.ts new file mode 100644 index 000000000..9e9af94bc --- /dev/null +++ b/code-snippet/chart-sdk/angular/charts/series/accessibility-cs9/src/main.ts @@ -0,0 +1,4 @@ +import { bootstrapApplication } from '@angular/platform-browser'; +import { AppComponent } from './app.component'; +import 'zone.js'; +bootstrapApplication(AppComponent).catch((err) => console.error(err)); diff --git a/code-snippet/chart-sdk/angular/charts/series/accessibility-cs9/src/styles.css b/code-snippet/chart-sdk/angular/charts/series/accessibility-cs9/src/styles.css new file mode 100644 index 000000000..859b8e436 --- /dev/null +++ b/code-snippet/chart-sdk/angular/charts/series/accessibility-cs9/src/styles.css @@ -0,0 +1,2 @@ + +@import 'node_modules/@syncfusion/ej2-angular-base/styles/material.css'; diff --git a/code-snippet/chart-sdk/angular/charts/series/accessibility-cs9/tsconfig.json b/code-snippet/chart-sdk/angular/charts/series/accessibility-cs9/tsconfig.json new file mode 100644 index 000000000..b55553206 --- /dev/null +++ b/code-snippet/chart-sdk/angular/charts/series/accessibility-cs9/tsconfig.json @@ -0,0 +1,32 @@ +{ + "compileOnSave": false, + "compilerOptions": { + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "forceConsistentCasingInFileNames": true, + "strict": true, + "noImplicitOverride": true, + "noPropertyAccessFromIndexSignature": true, + "noImplicitReturns": true, + "noFallthroughCasesInSwitch": true, + "sourceMap": true, + "declaration": false, + "downlevelIteration": true, + "experimentalDecorators": true, + "moduleResolution": "node", + "importHelpers": true, + "target": "ES2022", + "module": "ES2022", + "useDefineForClassFields": false, + "lib": [ + "ES2022", + "dom" + ] + }, + "angularCompilerOptions": { + "enableI18nLegacyMessageIdFormat": false, + "strictInjectionParameters": true, + "strictInputAccessModifiers": true, + "strictTemplates": true + } +} diff --git a/code-snippet/chart-sdk/angular/charts/series/column-cs4/src/app.component.ts b/code-snippet/chart-sdk/angular/charts/series/column-cs4/src/app.component.ts index c59b70b88..c747b3632 100644 --- a/code-snippet/chart-sdk/angular/charts/series/column-cs4/src/app.component.ts +++ b/code-snippet/chart-sdk/angular/charts/series/column-cs4/src/app.component.ts @@ -19,7 +19,7 @@ standalone: true, selector: 'app-container', template: ` - + ` }) @@ -51,7 +51,7 @@ export class AppComponent implements OnInit { }; this.title = 'Olympic Medals'; this.border = { width: 2, color: 'grey'}; - this.chartArea = { background: 'skyblue', width: '80%'}; + this.chartArea = { background: 'skyblue', width: '80%', height: '80%', border: this.border }; } } diff --git a/code-snippet/chart-sdk/angular/charts/series/column-cs5/src/app.component.ts b/code-snippet/chart-sdk/angular/charts/series/column-cs5/src/app.component.ts index e76c5de4e..71aba486d 100644 --- a/code-snippet/chart-sdk/angular/charts/series/column-cs5/src/app.component.ts +++ b/code-snippet/chart-sdk/angular/charts/series/column-cs5/src/app.component.ts @@ -51,7 +51,7 @@ export class AppComponent implements OnInit { }; this.title = 'Olympic Medals'; this.border = { width: 2, color: 'grey'}; - this.animation = { enable: true}; + this.animation = { enable: true, duration: 1500, delay: 100 }; } } diff --git a/code-snippet/chart-sdk/angular/charts/series/polar-cs2/src/app.component.ts b/code-snippet/chart-sdk/angular/charts/series/polar-cs2/src/app.component.ts index 36f29b2a0..7add15ae7 100644 --- a/code-snippet/chart-sdk/angular/charts/series/polar-cs2/src/app.component.ts +++ b/code-snippet/chart-sdk/angular/charts/series/polar-cs2/src/app.component.ts @@ -1,8 +1,8 @@ import { ChartModule, ChartAllModule } from '@syncfusion/ej2-angular-charts' import { ButtonModule } from '@syncfusion/ej2-angular-buttons' -import { AreaSeriesService, LineSeriesService, ExportService, ColumnSeriesService, StackingColumnSeriesService, StackingAreaSeriesService, RangeColumnSeriesService, ScatterSeriesService, PolarSeriesService, CategoryService, RadarSeriesService, ILoadedEventArgs, SplineSeriesService } from '@syncfusion/ej2-angular-charts' +import { AreaSeriesService, LineSeriesService, ExportService, ColumnSeriesService, StackingColumnSeriesService, StackingAreaSeriesService, RangeColumnSeriesService, ScatterSeriesService, PolarSeriesService, CategoryService, RadarSeriesService, SplineSeriesService } from '@syncfusion/ej2-angular-charts' import { Component, OnInit, ViewChild } from '@angular/core'; -import { ILoadedEventArgs } from '@syncfusion/ej2-angular-charts'; +import { ChartComponent } from '@syncfusion/ej2-angular-charts'; @Component({ imports: [ @@ -13,7 +13,8 @@ providers: [ AreaSeriesService, LineSeriesService, ExportService, ColumnSeriesSe standalone: true, selector: 'app-container', template: `
      - Export + @@ -26,7 +27,8 @@ export class AppComponent implements OnInit { public title?: string; public primaryYAxis?: Object; public data?: Object[]; - public loaded: Function | any; + @ViewChild('chart') + public chartObj?: ChartComponent; ngOnInit(): void { this.data = [{ x: 2005, y: 28 }, { x: 2006, y: 25 },{ x: 2007, y: 26 }, { x: 2008, y: 27 }, @@ -42,8 +44,9 @@ export class AppComponent implements OnInit { }; this.title = 'Efficiency of oil-fired power production'; - this.loaded = (args: ILoadedEventArgs) => { - args.chart.exportModule.export('PNG', 'export'); - } + } + + export(): void { + this.chartObj?.exportModule.export('PNG', 'export'); } } diff --git a/code-snippet/chart-sdk/angular/charts/series/polar-cs20/src/app.component.ts b/code-snippet/chart-sdk/angular/charts/series/polar-cs20/src/app.component.ts index 2aae65a8c..517cd3b3b 100644 --- a/code-snippet/chart-sdk/angular/charts/series/polar-cs20/src/app.component.ts +++ b/code-snippet/chart-sdk/angular/charts/series/polar-cs20/src/app.component.ts @@ -53,6 +53,6 @@ export class AppComponent implements OnInit { content: 'Chart Footer', fontSize: 15, }; - this.chart?.exportModule.export('PDF', 'Chart', 1, [this.chart as ChartComponent], undefined, undefined, true, header, footer); + this.chart?.exportModule.export('PDF', 'Chart', 'Portrait', [this.chart as ChartComponent], undefined, undefined, true, header, footer); } } diff --git a/code-snippet/chart-sdk/angular/charts/series/polar-cs21/src/app.component.ts b/code-snippet/chart-sdk/angular/charts/series/polar-cs21/src/app.component.ts index ab5bbd6f2..9e22240bb 100644 --- a/code-snippet/chart-sdk/angular/charts/series/polar-cs21/src/app.component.ts +++ b/code-snippet/chart-sdk/angular/charts/series/polar-cs21/src/app.component.ts @@ -115,6 +115,6 @@ export class AppComponent implements OnInit { this.datalabel = { visible: true, name: 'text', position: 'Inside', font: { fontWeight: '600', color: '#ffffff' } }; } export() { - this.chart?.exportModule.export('PDF', 'Chart', undefined, [this.chart as Chart, this.chart1 as Chart, this.chart2 as Chart], undefined, undefined, true, undefined, undefined, true); + this.chart?.exportModule.export('PDF', 'Chart', undefined, [this.chart as Chart, this.chart1 as Chart, this.chart2 as Chart], undefined, undefined, true); } } diff --git a/code-snippet/chart-sdk/angular/charts/trendlines/exponential-cs1/src/app.component.ts b/code-snippet/chart-sdk/angular/charts/trendlines/exponential-cs1/src/app.component.ts index f3cee370f..4eb270da9 100644 --- a/code-snippet/chart-sdk/angular/charts/trendlines/exponential-cs1/src/app.component.ts +++ b/code-snippet/chart-sdk/angular/charts/trendlines/exponential-cs1/src/app.component.ts @@ -24,7 +24,7 @@ standalone: true, - + diff --git a/code-snippet/chart-sdk/angular/charts/trendlines/logarithmic-cs1/src/app.component.ts b/code-snippet/chart-sdk/angular/charts/trendlines/logarithmic-cs1/src/app.component.ts index c8f065c0d..04bbc59b7 100644 --- a/code-snippet/chart-sdk/angular/charts/trendlines/logarithmic-cs1/src/app.component.ts +++ b/code-snippet/chart-sdk/angular/charts/trendlines/logarithmic-cs1/src/app.component.ts @@ -24,7 +24,7 @@ standalone: true, - + diff --git a/code-snippet/chart-sdk/angular/charts/trendlines/movingaverage-cs1/src/app.component.ts b/code-snippet/chart-sdk/angular/charts/trendlines/movingaverage-cs1/src/app.component.ts index 26f0085f4..303ddc561 100644 --- a/code-snippet/chart-sdk/angular/charts/trendlines/movingaverage-cs1/src/app.component.ts +++ b/code-snippet/chart-sdk/angular/charts/trendlines/movingaverage-cs1/src/app.component.ts @@ -24,7 +24,7 @@ standalone: true, - + @@ -46,7 +46,7 @@ export class AppComponent implements OnInit { public chartArea : Object = { border: { width : 0} }; - + public period: number = 5; public title: string = 'Historical Indian Rupee Rate (INR USD)'; constructor() { //code diff --git a/code-snippet/chart-sdk/angular/charts/trendlines/movingaverage-cs2/src/app.component.ts b/code-snippet/chart-sdk/angular/charts/trendlines/movingaverage-cs2/src/app.component.ts index 26f0085f4..7e2c0fb64 100644 --- a/code-snippet/chart-sdk/angular/charts/trendlines/movingaverage-cs2/src/app.component.ts +++ b/code-snippet/chart-sdk/angular/charts/trendlines/movingaverage-cs2/src/app.component.ts @@ -24,7 +24,7 @@ standalone: true, - + @@ -46,7 +46,7 @@ export class AppComponent implements OnInit { public chartArea : Object = { border: { width : 0} }; - + public period: number = 5; public title: string = 'Historical Indian Rupee Rate (INR USD)'; constructor() { //code diff --git a/code-snippet/chart-sdk/angular/charts/trendlines/movingaverage-cs3/src/app.component.ts b/code-snippet/chart-sdk/angular/charts/trendlines/movingaverage-cs3/src/app.component.ts index 3fa7acb03..9e2ed9c12 100644 --- a/code-snippet/chart-sdk/angular/charts/trendlines/movingaverage-cs3/src/app.component.ts +++ b/code-snippet/chart-sdk/angular/charts/trendlines/movingaverage-cs3/src/app.component.ts @@ -24,7 +24,7 @@ standalone: true, - + @@ -47,6 +47,7 @@ export class AppComponent implements OnInit { border: { width : 0} }; public forwardForecast: number = 5; + public period: number = 5; public title: string = 'Historical Indian Rupee Rate (INR USD)'; constructor() { //code diff --git a/code-snippet/chart-sdk/angular/charts/trendlines/movingaverage-cs4/src/app.component.ts b/code-snippet/chart-sdk/angular/charts/trendlines/movingaverage-cs4/src/app.component.ts index 64bcfaab4..df7e5f5e1 100644 --- a/code-snippet/chart-sdk/angular/charts/trendlines/movingaverage-cs4/src/app.component.ts +++ b/code-snippet/chart-sdk/angular/charts/trendlines/movingaverage-cs4/src/app.component.ts @@ -24,7 +24,7 @@ standalone: true, - + @@ -46,6 +46,7 @@ export class AppComponent implements OnInit { border: { width : 0} }; public backwardForecast: number = 5; + public period: number = 5; public title: string = 'Historical Indian Rupee Rate (INR USD)'; constructor() { //code diff --git a/code-snippet/chart-sdk/angular/charts/trendlines/polynomial-cs1/src/app.component.ts b/code-snippet/chart-sdk/angular/charts/trendlines/polynomial-cs1/src/app.component.ts index bb6601e0c..face8e83e 100644 --- a/code-snippet/chart-sdk/angular/charts/trendlines/polynomial-cs1/src/app.component.ts +++ b/code-snippet/chart-sdk/angular/charts/trendlines/polynomial-cs1/src/app.component.ts @@ -24,7 +24,7 @@ standalone: true, - + @@ -46,7 +46,7 @@ export class AppComponent implements OnInit { public chartArea : Object = { border: { width : 0} }; - + public polynomialOrder: number = 2; public title: string = 'Historical Indian Rupee Rate (INR USD)'; constructor() { //code diff --git a/code-snippet/chart-sdk/angular/charts/trendlines/power-cs1/src/app.component.ts b/code-snippet/chart-sdk/angular/charts/trendlines/power-cs1/src/app.component.ts index f30bf5d44..3d4fd0b52 100644 --- a/code-snippet/chart-sdk/angular/charts/trendlines/power-cs1/src/app.component.ts +++ b/code-snippet/chart-sdk/angular/charts/trendlines/power-cs1/src/app.component.ts @@ -24,7 +24,7 @@ standalone: true, - + diff --git a/code-snippet/chart-sdk/angular/charts/user-interaction/crosshair-cs10/src/app.component.ts b/code-snippet/chart-sdk/angular/charts/user-interaction/crosshair-cs10/src/app.component.ts index 50a3f2b49..2a1ea702b 100644 --- a/code-snippet/chart-sdk/angular/charts/user-interaction/crosshair-cs10/src/app.component.ts +++ b/code-snippet/chart-sdk/angular/charts/user-interaction/crosshair-cs10/src/app.component.ts @@ -1,5 +1,5 @@ import { ChartModule } from '@syncfusion/ej2-angular-charts' -import { CategoryService, BarSeriesService, ColumnSeriesService, LineSeriesService, LegendService, DataLabelService, MultiLevelLabelService, SelectionService, CrosshairService } from '@syncfusion/ej2-angular-charts' +import { CategoryService, ColumnSeriesService, LegendService, CrosshairService } from '@syncfusion/ej2-angular-charts' import { Component, OnInit } from '@angular/core'; @Component({ @@ -7,7 +7,7 @@ imports: [ ChartModule ], -providers: [ CategoryService, BarSeriesService, ColumnSeriesService, LineSeriesService,LegendService, DataLabelService, MultiLevelLabelService, SelectionService, CrosshairService], +providers: [ CategoryService, ColumnSeriesService, LegendService, CrosshairService], standalone: true, selector: 'app-container', template: ` diff --git a/code-snippet/chart-sdk/angular/charts/user-interaction/crosshair-cs3/src/app.component.ts b/code-snippet/chart-sdk/angular/charts/user-interaction/crosshair-cs3/src/app.component.ts index 1705bc4c4..03e457386 100644 --- a/code-snippet/chart-sdk/angular/charts/user-interaction/crosshair-cs3/src/app.component.ts +++ b/code-snippet/chart-sdk/angular/charts/user-interaction/crosshair-cs3/src/app.component.ts @@ -36,7 +36,6 @@ export class AppComponent implements OnInit { }; this.crosshair = { enable: true, line: {width: 2, color: 'green'}, fill: 'green' }; this.series1 = ChartData.prototype.getCrosshairData().series1; - this.series1 = ChartData.prototype.getCrosshairData().series2; this.legend = { visible: true}; this.title = 'Weather Condition'; } diff --git a/code-snippet/chart-sdk/angular/charts/user-interaction/crosshair-cs6/src/app.component.ts b/code-snippet/chart-sdk/angular/charts/user-interaction/crosshair-cs6/src/app.component.ts index b2ee9b299..d35abb7e0 100644 --- a/code-snippet/chart-sdk/angular/charts/user-interaction/crosshair-cs6/src/app.component.ts +++ b/code-snippet/chart-sdk/angular/charts/user-interaction/crosshair-cs6/src/app.component.ts @@ -35,7 +35,7 @@ export class AppComponent implements OnInit { this.primaryYAxis = { crosshairTooltip: { enable: true, fill: 'green' } }; - this.crosshair = { enable: true, line: {width: 2, color: 'green'}, fill: 'green' }; + this.crosshair = { enable: true, line: { width: 2, color: 'green' } }; this.series1 = ChartData.prototype.getCrosshairData().series1; this.series2 = ChartData.prototype.getCrosshairData().series2; this.legend = { visible: true}; diff --git a/code-snippet/chart-sdk/angular/charts/user-interaction/crosshair-cs9/src/app.component.ts b/code-snippet/chart-sdk/angular/charts/user-interaction/crosshair-cs9/src/app.component.ts index c7ba1d95e..744264ca4 100644 --- a/code-snippet/chart-sdk/angular/charts/user-interaction/crosshair-cs9/src/app.component.ts +++ b/code-snippet/chart-sdk/angular/charts/user-interaction/crosshair-cs9/src/app.component.ts @@ -41,7 +41,7 @@ export class AppComponent implements OnInit { minimum: 10, maximum: 60, lineStyle: { width: 0 } }; - this.crosshair = { enable: true, lineType: 'Horizontal', snapToData: true }; + this.crosshair = { enable: true, snapToData: true }; this.tooltip = { enable: true, shared: true, format: '${series.name} : ${point.x} : ${point.y}' }; this.title = 'Average Sales per Person'; this.marker = { visible: true }; diff --git a/code-snippet/chart-sdk/angular/charts/user-interaction/data-editing-cs2/src/app.component.ts b/code-snippet/chart-sdk/angular/charts/user-interaction/data-editing-cs2/src/app.component.ts index 7f386327a..a02c610f3 100644 --- a/code-snippet/chart-sdk/angular/charts/user-interaction/data-editing-cs2/src/app.component.ts +++ b/code-snippet/chart-sdk/angular/charts/user-interaction/data-editing-cs2/src/app.component.ts @@ -1,6 +1,4 @@ -import { ChartModule } from '@syncfusion/ej2-angular-charts' -import { LineSeriesService, ColumnSeriesService, CategoryService, DataEditingService, TooltipService } from '@syncfusion/ej2-angular-charts' -import { LegendService } from '@syncfusion/ej2-angular-charts' +import { ChartModule, LineSeriesService, ColumnSeriesService, CategoryService, DataEditingService, TooltipService, LegendService, DragCompleteEventArgs } from '@syncfusion/ej2-angular-charts' import { Component, OnInit } from '@angular/core'; @Component({ @@ -11,8 +9,8 @@ imports: [ providers: [ LegendService, LineSeriesService, ColumnSeriesService, CategoryService, DataEditingService, TooltipService], standalone: true, selector: 'app-container', - template: ` + template: ` @@ -28,6 +26,8 @@ export class AppComponent implements OnInit { public chartArea?: Object; public marker?: Object; public dragSettings?: Object; + public tooltip?: Object; + public dragComplete?: (args: DragCompleteEventArgs) => void; ngOnInit(): void { this.columnData = [ { x: '2005', y: 21 }, { x: '2006', y: 60 }, @@ -59,7 +59,7 @@ export class AppComponent implements OnInit { majorTickLines: { width: 0 }, minorTickLines: { width: 0 } }; - this.chartArea= { + this.chartArea = { border: { width: 0 } @@ -71,7 +71,17 @@ export class AppComponent implements OnInit { height: 10 }; this.dragSettings = { + enable: true, + fill: 'red', + minY: 0, + maxY: 100 + }; + this.tooltip = { enable: true }; + this.dragComplete = (args: DragCompleteEventArgs) => { + console.log(`Series ${args.seriesIndex}, Point ${args.pointIndex} moved to ${args.currentValue}`); + }; } + } diff --git a/code-snippet/chart-sdk/angular/charts/user-interaction/selection-cs1/src/app.component.ts b/code-snippet/chart-sdk/angular/charts/user-interaction/selection-cs1/src/app.component.ts index a861e37ab..4e4104e1e 100644 --- a/code-snippet/chart-sdk/angular/charts/user-interaction/selection-cs1/src/app.component.ts +++ b/code-snippet/chart-sdk/angular/charts/user-interaction/selection-cs1/src/app.component.ts @@ -11,7 +11,7 @@ imports: [ providers: [ CategoryService, ColumnSeriesService, LegendService, SelectionService], standalone: true, selector: 'app-container', - template: ` + template: ` @@ -21,6 +21,7 @@ standalone: true, }) export class AppComponent implements OnInit { public primaryXAxis?: Object; + public primaryYAxis?: Object; public chartData?: Object[]; public title?: string; ngOnInit(): void { @@ -29,6 +30,9 @@ export class AppComponent implements OnInit { valueType: 'Category', title: 'Countries' }; + this.primaryYAxis = { + title: 'Medals' + }; this.title = 'Olympic Medals'; } diff --git a/code-snippet/chart-sdk/angular/charts/user-interaction/selection-cs2/src/app.component.ts b/code-snippet/chart-sdk/angular/charts/user-interaction/selection-cs2/src/app.component.ts index b36619bb2..1c5e6637e 100644 --- a/code-snippet/chart-sdk/angular/charts/user-interaction/selection-cs2/src/app.component.ts +++ b/code-snippet/chart-sdk/angular/charts/user-interaction/selection-cs2/src/app.component.ts @@ -12,7 +12,7 @@ imports: [ providers: [ CategoryService, ColumnSeriesService, LegendService, SelectionService], standalone: true, selector: 'app-container', - template: ` + template: ` @@ -28,7 +28,11 @@ export class AppComponent implements OnInit { ngOnInit(): void { this.chartData = selectionData; this.primaryXAxis = { - valueType: 'Category' + valueType: 'Category', + title: 'Countries' + }; + this.primaryYAxis = { + title: 'Medals' }; this.title = 'Olympic Medals'; } diff --git a/code-snippet/chart-sdk/angular/charts/user-interaction/selection-cs3/src/app.component.ts b/code-snippet/chart-sdk/angular/charts/user-interaction/selection-cs3/src/app.component.ts index e6086cfbf..e5a895ed1 100644 --- a/code-snippet/chart-sdk/angular/charts/user-interaction/selection-cs3/src/app.component.ts +++ b/code-snippet/chart-sdk/angular/charts/user-interaction/selection-cs3/src/app.component.ts @@ -11,7 +11,7 @@ imports: [ providers: [ CategoryService, ColumnSeriesService, LegendService, SelectionService], standalone: true, selector: 'app-container', - template: ` + template: ` @@ -30,6 +30,9 @@ export class AppComponent implements OnInit { valueType: 'Category', title: 'Countries' }; + this.primaryYAxis = { + title: 'Medals' + }; this.title = 'Olympic Medals'; } diff --git a/code-snippet/chart-sdk/angular/charts/user-interaction/selection-cs4/src/app.component.ts b/code-snippet/chart-sdk/angular/charts/user-interaction/selection-cs4/src/app.component.ts index 8fde9bd28..f3f251ffc 100644 --- a/code-snippet/chart-sdk/angular/charts/user-interaction/selection-cs4/src/app.component.ts +++ b/code-snippet/chart-sdk/angular/charts/user-interaction/selection-cs4/src/app.component.ts @@ -11,7 +11,7 @@ imports: [ providers: [ CategoryService, ColumnSeriesService, LegendService, SelectionService], standalone: true, selector: 'app-container', - template: ` + template: ` @@ -30,6 +30,9 @@ export class AppComponent implements OnInit { valueType: 'Category', title: 'Countries' }; + this.primaryYAxis = { + title: 'Medals' + }; this.title = 'Olympic Medals'; } diff --git a/code-snippet/chart-sdk/angular/charts/user-interaction/selection-cs5/src/app.component.ts b/code-snippet/chart-sdk/angular/charts/user-interaction/selection-cs5/src/app.component.ts index c371ac0fa..984bc195d 100644 --- a/code-snippet/chart-sdk/angular/charts/user-interaction/selection-cs5/src/app.component.ts +++ b/code-snippet/chart-sdk/angular/charts/user-interaction/selection-cs5/src/app.component.ts @@ -11,12 +11,12 @@ imports: [ providers: [ CategoryService, ColumnSeriesService, LegendService, SelectionService], standalone: true, selector: 'app-container', - template: ` + template: ` - - - + + + ` }) @@ -25,7 +25,6 @@ export class AppComponent implements OnInit { public chartData?: Object[]; public title?: string; public primaryYAxis?: Object; - public animation?: Object; public selectedData?: Object[]; ngOnInit(): void { this.chartData = selectionData; @@ -33,10 +32,12 @@ export class AppComponent implements OnInit { valueType: 'Category', title: 'Countries' }; - this.animation = { enable: false}; + this.primaryYAxis = { + title: 'Medals' + }; this.selectedData = [ - { series: 0, point: 1}, { series: 2, point: 3} - ]; + { series: 0, point: 1 }, { series: 2, point: 3 } + ]; this.title = 'Olympic Medals'; } diff --git a/code-snippet/chart-sdk/angular/charts/user-interaction/selection-cs6/src/app.component.ts b/code-snippet/chart-sdk/angular/charts/user-interaction/selection-cs6/src/app.component.ts index bb25bbdbf..71f85b487 100644 --- a/code-snippet/chart-sdk/angular/charts/user-interaction/selection-cs6/src/app.component.ts +++ b/code-snippet/chart-sdk/angular/charts/user-interaction/selection-cs6/src/app.component.ts @@ -11,22 +11,20 @@ imports: [ providers: [ CategoryService, ColumnSeriesService, LegendService, SelectionService], standalone: true, selector: 'app-container', - template: ` - - - + + + ` }) export class AppComponent implements OnInit { public primaryXAxis?: Object; + public primaryYAxis?: Object; public chartData?: Object[]; public title?: string; - public primaryYAxis?: Object; - public animation?: Object; - public selectedData?: Object[]; public legendSettings?: Object; ngOnInit(): void { this.chartData = selectionData; @@ -34,8 +32,10 @@ export class AppComponent implements OnInit { valueType: 'Category', title: 'Countries' }; - this.animation = { enable: false}; - this.legendSettings = { visible: true, toggleVisibility: false, enableHighlight: true }; + this.primaryYAxis = { + title: 'Medals' + }; + this.legendSettings = { visible: true, toggleVisibility: true, enableHighlight: true }; this.title = 'Olympic Medals'; } diff --git a/code-snippet/chart-sdk/angular/charts/user-interaction/selection-cs7/src/app.component.ts b/code-snippet/chart-sdk/angular/charts/user-interaction/selection-cs7/src/app.component.ts index b34d86b32..c0278f597 100644 --- a/code-snippet/chart-sdk/angular/charts/user-interaction/selection-cs7/src/app.component.ts +++ b/code-snippet/chart-sdk/angular/charts/user-interaction/selection-cs7/src/app.component.ts @@ -11,7 +11,7 @@ imports: [ providers: [ CategoryService, ColumnSeriesService, LegendService, SelectionService], standalone: true, selector: 'app-container', - template: ` + template: ` @@ -30,6 +30,9 @@ export class AppComponent implements OnInit { valueType: 'Category', title: 'Countries' }; + this.primaryYAxis = { + title: 'Medals' + }; this.title = 'Olympic Medals'; } diff --git a/code-snippet/chart-sdk/angular/charts/user-interaction/series-label-customization/src/app.component.ts b/code-snippet/chart-sdk/angular/charts/user-interaction/series-label-customization/src/app.component.ts index 7a17e9afe..c6db37bf9 100644 --- a/code-snippet/chart-sdk/angular/charts/user-interaction/series-label-customization/src/app.component.ts +++ b/code-snippet/chart-sdk/angular/charts/user-interaction/series-label-customization/src/app.component.ts @@ -1,6 +1,6 @@ import { Component, OnInit } from '@angular/core'; import { ChartAllModule } from '@syncfusion/ej2-angular-charts'; -import { LineSeriesService, CategoryService, DataLabelService, LegendService } from '@syncfusion/ej2-angular-charts'; +import { LineSeriesService, CategoryService, SeriesLabelService, LegendService } from '@syncfusion/ej2-angular-charts'; import { vietnamData, indonesiaData, franceData, polandData, mexicoData } from './datasource'; @@ -8,7 +8,7 @@ import { vietnamData, indonesiaData, franceData, polandData, mexicoData } from ' imports: [ ChartAllModule ], - providers: [LineSeriesService, CategoryService, DataLabelService, LegendService], + providers: [LineSeriesService, CategoryService, SeriesLabelService, LegendService], standalone: true, selector: 'app-container', template: ` diff --git a/code-snippet/chart-sdk/angular/charts/user-interaction/series-label/src/app.component.ts b/code-snippet/chart-sdk/angular/charts/user-interaction/series-label/src/app.component.ts index db3c9e2b5..1e0854a63 100644 --- a/code-snippet/chart-sdk/angular/charts/user-interaction/series-label/src/app.component.ts +++ b/code-snippet/chart-sdk/angular/charts/user-interaction/series-label/src/app.component.ts @@ -1,6 +1,6 @@ import { Component, OnInit } from '@angular/core'; import { ChartAllModule} from '@syncfusion/ej2-angular-charts'; -import { LineSeriesService, CategoryService, DataLabelService, LegendService } from '@syncfusion/ej2-angular-charts'; +import { LineSeriesService, CategoryService, SeriesLabelService, LegendService } from '@syncfusion/ej2-angular-charts'; import { vietnamData, indonesiaData, franceData, polandData, mexicoData } from './datasource'; @@ -8,7 +8,7 @@ import { vietnamData, indonesiaData, franceData, polandData, mexicoData } from ' imports: [ ChartAllModule ], - providers: [LineSeriesService, CategoryService, DataLabelService, LegendService], + providers: [LineSeriesService, CategoryService, SeriesLabelService, LegendService], standalone: true, selector: 'app-container', template: ` diff --git a/code-snippet/chart-sdk/angular/charts/user-interaction/synchronized-cs1/src/app.component.ts b/code-snippet/chart-sdk/angular/charts/user-interaction/synchronized-cs1/src/app.component.ts index acc8a905a..ab4444623 100644 --- a/code-snippet/chart-sdk/angular/charts/user-interaction/synchronized-cs1/src/app.component.ts +++ b/code-snippet/chart-sdk/angular/charts/user-interaction/synchronized-cs1/src/app.component.ts @@ -76,7 +76,7 @@ export class AppComponent implements OnInit { }; public chart2MouseMove(args: IMouseEventArgs): void { if ((!Browser.isDevice && !this.chart2.isTouch && !this.chart2.isChartDrag) || this.chart2.startMove) { - this.chart2.startMove = this.chart1.startMove; + this.chart1.startMove = this.chart2.startMove; this.chart1.showTooltip(args.x, args.y); } }; diff --git a/code-snippet/chart-sdk/angular/charts/user-interaction/synchronized-cs2/src/app.component.ts b/code-snippet/chart-sdk/angular/charts/user-interaction/synchronized-cs2/src/app.component.ts index c04e02324..748e623ae 100644 --- a/code-snippet/chart-sdk/angular/charts/user-interaction/synchronized-cs2/src/app.component.ts +++ b/code-snippet/chart-sdk/angular/charts/user-interaction/synchronized-cs2/src/app.component.ts @@ -75,7 +75,7 @@ export class AppComponent implements OnInit { }; public chart2MouseMove(args: IMouseEventArgs): void { if ((!Browser.isDevice && !this.chart2.isTouch && !this.chart2.isChartDrag) || this.chart2.startMove) { - this.chart2.startMove = this.chart1.startMove; + this.chart1.startMove = this.chart2.startMove; this.chart1.showCrosshair(args.x, args.y); } }; diff --git a/code-snippet/chart-sdk/angular/charts/user-interaction/synchronized-cs3/src/app.component.ts b/code-snippet/chart-sdk/angular/charts/user-interaction/synchronized-cs3/src/app.component.ts index 31ea7bb8c..40a6a668e 100644 --- a/code-snippet/chart-sdk/angular/charts/user-interaction/synchronized-cs3/src/app.component.ts +++ b/code-snippet/chart-sdk/angular/charts/user-interaction/synchronized-cs3/src/app.component.ts @@ -17,7 +17,7 @@ standalone: true,
      + [title]='title1' [titleStyle]="titleStyle" [zoomSettings]='zoomSettings' (zoomComplete)='zoomComplete($event)' (chartMouseLeave)='chart1MouseLeave($event)'> diff --git a/code-snippet/chart-sdk/angular/charts/user-interaction/synchronized-cs4/src/app.component.ts b/code-snippet/chart-sdk/angular/charts/user-interaction/synchronized-cs4/src/app.component.ts index 14bf50002..3d6be1093 100644 --- a/code-snippet/chart-sdk/angular/charts/user-interaction/synchronized-cs4/src/app.component.ts +++ b/code-snippet/chart-sdk/angular/charts/user-interaction/synchronized-cs4/src/app.component.ts @@ -17,7 +17,7 @@ standalone: true,
      + [title]='title1' [titleStyle]="titleStyle" [zoomSettings]='zoomSettings' (zoomComplete)='zoomComplete($event)' [selectionMode]="'Point'" [selectionPattern]="'Box'" (selectionComplete)='selectionComplete($event)'> @@ -26,7 +26,7 @@ standalone: true,
      + [title]='title2' [titleStyle]="titleStyle" [zoomSettings]='zoomSettings' (zoomComplete)='zoomComplete($event)' [selectionMode]="'Point'" [selectionPattern]="'Box'" (selectionComplete)='selectionComplete($event)'> diff --git a/code-snippet/chart-sdk/angular/charts/user-interaction/zoom-cs1/src/app.component.ts b/code-snippet/chart-sdk/angular/charts/user-interaction/zoom-cs1/src/app.component.ts index c45854367..56eceedcf 100644 --- a/code-snippet/chart-sdk/angular/charts/user-interaction/zoom-cs1/src/app.component.ts +++ b/code-snippet/chart-sdk/angular/charts/user-interaction/zoom-cs1/src/app.component.ts @@ -10,8 +10,9 @@ L10n.load({ ZoomIn: 'تكبير', ZoomOut: 'تصغير', Zoom: 'زوم', - Pan: 'مقلاة', + Pan: 'تحريك', Reset: 'إعادة تعيين', + ResetZoom: 'إعادة تعيين التكبير' }, } });