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
deleted file mode 100644
index 4d8cf3519..000000000
Binary files a/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/doughnut.JPG and /dev/null 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
deleted file mode 100644
index fd6dca368..000000000
Binary files a/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/doughnut_angle.JPG and /dev/null 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
deleted file mode 100644
index fe1f76b2c..000000000
Binary files a/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/doughnut_colormapping.png and /dev/null 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
deleted file mode 100644
index cd0a538f3..000000000
Binary files a/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/doughnut_elevation.png and /dev/null 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
deleted file mode 100644
index 60d67e035..000000000
Binary files a/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/doughnut_explode.JPG and /dev/null 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
deleted file mode 100644
index 033a3d002..000000000
Binary files a/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/doughnut_explodeAll.JPG and /dev/null 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
deleted file mode 100644
index 1893f3c76..000000000
Binary files a/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/doughnut_grouping.JPG and /dev/null 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
deleted file mode 100644
index 0b55cdc17..000000000
Binary files a/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/doughnut_innerRadius.JPG and /dev/null 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
deleted file mode 100644
index fb9ac6808..000000000
Binary files a/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/doughnut_roundCorner.JPG and /dev/null 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
deleted file mode 100644
index d6dbd50ae..000000000
Binary files a/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/doughnut_size.JPG and /dev/null 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
deleted file mode 100644
index 1173e217b..000000000
Binary files a/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/overfilled-radial-bar.jpg and /dev/null 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
deleted file mode 100644
index d14b81f0c..000000000
Binary files a/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/pie.JPG and /dev/null 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
deleted file mode 100644
index 7edfb0382..000000000
Binary files a/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/pie_angle.JPG and /dev/null 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
deleted file mode 100644
index 423b3aff9..000000000
Binary files a/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/pie_explode.JPG and /dev/null 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
deleted file mode 100644
index c33e227b0..000000000
Binary files a/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/pie_explodeAll.JPG and /dev/null 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
deleted file mode 100644
index 68fb2c278..000000000
Binary files a/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/pie_grouping.JPG and /dev/null 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
deleted file mode 100644
index 946e1a990..000000000
Binary files a/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/pie_radius.JPG and /dev/null 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
deleted file mode 100644
index af1d5e454..000000000
Binary files a/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/pie_sizing.JPG and /dev/null 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
deleted file mode 100644
index bd39b44d9..000000000
Binary files a/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/radialbar.JPG and /dev/null 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
deleted file mode 100644
index b04009118..000000000
Binary files a/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/radialbar_dataLabel.JPG and /dev/null 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
deleted file mode 100644
index b1db520ec..000000000
Binary files a/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/radialbar_innerRadius.JPG and /dev/null 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
deleted file mode 100644
index 0fcc0e26c..000000000
Binary files a/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/radialbar_roundCorner.JPG and /dev/null 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
deleted file mode 100644
index 12af832e3..000000000
Binary files a/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/radialbar_sizing.JPG and /dev/null 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
deleted file mode 100644
index dc3b4a29f..000000000
Binary files a/chart-sdk/flutter/3d-circular-charts/chart-types/circular-chart-types-images/trackcustomization.png and /dev/null 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
deleted file mode 100644
index de0c8c9e6..000000000
Binary files a/chart-sdk/flutter/3d-circular-charts/how-to/how-to-section-images/Adding-code-snippent.png and /dev/null 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
deleted file mode 100644
index cb9a63553..000000000
Binary files a/chart-sdk/flutter/3d-circular-charts/how-to/how-to-section-images/code-snippet.png and /dev/null 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
deleted file mode 100644
index ae2372de7..000000000
Binary files a/chart-sdk/flutter/3d-circular-charts/how-to/how-to-section-images/compile-code.png and /dev/null 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
deleted file mode 100644
index 5194bb95b..000000000
Binary files a/chart-sdk/flutter/3d-circular-charts/how-to/how-to-section-images/copy-package.png and /dev/null 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
deleted file mode 100644
index b6517860d..000000000
Binary files a/chart-sdk/flutter/3d-circular-charts/how-to/how-to-section-images/copy-version.png and /dev/null differ
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
deleted file mode 100644
index f68a78670..000000000
Binary files a/chart-sdk/flutter/3d-circular-charts/how-to/how-to-section-images/dependency.png and /dev/null 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
deleted file mode 100644
index 6d3f2b988..000000000
Binary files a/chart-sdk/flutter/3d-circular-charts/how-to/how-to-section-images/import-package-flutterflow.png and /dev/null 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
deleted file mode 100644
index 1db67aaf1..000000000
Binary files a/chart-sdk/flutter/3d-circular-charts/how-to/how-to-section-images/page.png and /dev/null 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
deleted file mode 100644
index 804297426..000000000
Binary files a/chart-sdk/flutter/3d-circular-charts/images/annotation/annotation_positioning.jpg and /dev/null 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
deleted file mode 100644
index dfe934be2..000000000
Binary files a/chart-sdk/flutter/3d-circular-charts/images/annotation/default_annotation.jpg and /dev/null 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
deleted file mode 100644
index 1f250c4c0..000000000
Binary files a/chart-sdk/flutter/3d-circular-charts/images/annotation/watermark.jpg and /dev/null 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
deleted file mode 100644
index c60ebd815..000000000
Binary files a/chart-sdk/flutter/3d-circular-charts/images/chart-title/chart_title.jpg and /dev/null 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
deleted file mode 100644
index 2ed971897..000000000
Binary files a/chart-sdk/flutter/3d-circular-charts/images/circular-customization/color-mapping.jpg and /dev/null 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
deleted file mode 100644
index ec4e2371a..000000000
Binary files a/chart-sdk/flutter/3d-circular-charts/images/circular-customization/color_palette.jpg and /dev/null 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
deleted file mode 100644
index 28b97e30e..000000000
Binary files a/chart-sdk/flutter/3d-circular-charts/images/circular-customization/doughnut_radial.jpg and /dev/null 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
deleted file mode 100644
index 427a8216e..000000000
Binary files a/chart-sdk/flutter/3d-circular-charts/images/circular-customization/emptypointcustomization.jpg and /dev/null 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
deleted file mode 100644
index 2d19c48b3..000000000
Binary files a/chart-sdk/flutter/3d-circular-charts/images/circular-customization/emptypoints.jpg and /dev/null 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
deleted file mode 100644
index 0922b7d89..000000000
Binary files a/chart-sdk/flutter/3d-circular-charts/images/circular-customization/pie_imageshader.jpg and /dev/null 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
deleted file mode 100644
index f792f13f6..000000000
Binary files a/chart-sdk/flutter/3d-circular-charts/images/circular-customization/pie_linear.jpg and /dev/null 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
deleted file mode 100644
index b17932305..000000000
Binary files a/chart-sdk/flutter/3d-circular-charts/images/circular-customization/pie_pointshadermapper.jpg and /dev/null 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
deleted file mode 100644
index 115d32ca8..000000000
Binary files a/chart-sdk/flutter/3d-circular-charts/images/circular-customization/pie_rendermode.jpg and /dev/null 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
deleted file mode 100644
index 23fe788da..000000000
Binary files a/chart-sdk/flutter/3d-circular-charts/images/circular-customization/radialbar_sweep.jpg and /dev/null 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
deleted file mode 100644
index 0c6397412..000000000
Binary files a/chart-sdk/flutter/3d-circular-charts/images/circular-customization/sortings.jpg and /dev/null 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
deleted file mode 100644
index 07c79773a..000000000
Binary files a/chart-sdk/flutter/3d-circular-charts/images/datalabel/circular_overflow.jpg and /dev/null 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
deleted file mode 100644
index b4f7277c2..000000000
Binary files a/chart-sdk/flutter/3d-circular-charts/images/datalabel/circular_saturation.png and /dev/null 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
deleted file mode 100644
index 8042e099d..000000000
Binary files a/chart-sdk/flutter/3d-circular-charts/images/datalabel/connector_line.jpg and /dev/null 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
deleted file mode 100644
index 8c6041d8f..000000000
Binary files a/chart-sdk/flutter/3d-circular-charts/images/datalabel/datalabel_0_value.png and /dev/null 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
deleted file mode 100644
index b7aa6836e..000000000
Binary files a/chart-sdk/flutter/3d-circular-charts/images/datalabel/datalabel_format.jpg and /dev/null 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
deleted file mode 100644
index c847f8ff4..000000000
Binary files a/chart-sdk/flutter/3d-circular-charts/images/datalabel/datalabel_position.jpg and /dev/null 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
deleted file mode 100644
index c20355254..000000000
Binary files a/chart-sdk/flutter/3d-circular-charts/images/datalabel/datalabel_template.jpg and /dev/null 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
deleted file mode 100644
index 818ccaffe..000000000
Binary files a/chart-sdk/flutter/3d-circular-charts/images/datalabel/default_datalabel.jpg and /dev/null 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
deleted file mode 100644
index 4dfd84be4..000000000
Binary files a/chart-sdk/flutter/3d-circular-charts/images/datalabel/smart_datalabel.jpg and /dev/null 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
deleted file mode 100644
index b38f7e657..000000000
Binary files a/chart-sdk/flutter/3d-circular-charts/images/datalabel/use_series_color.jpg and /dev/null 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
deleted file mode 100644
index 40ca087cb..000000000
Binary files a/chart-sdk/flutter/3d-circular-charts/images/datalabel/value_mapper.jpg and /dev/null 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
deleted file mode 100644
index 4ae8d6be2..000000000
Binary files a/chart-sdk/flutter/3d-circular-charts/images/export-circular-chart/pdf_view.png and /dev/null 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
deleted file mode 100644
index d14b81f0c..000000000
Binary files a/chart-sdk/flutter/3d-circular-charts/images/getting-started/data_source.JPG and /dev/null 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
deleted file mode 100644
index 9c5a59db2..000000000
Binary files a/chart-sdk/flutter/3d-circular-charts/images/getting-started/datalabel.png and /dev/null 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
deleted file mode 100644
index 59b4ea845..000000000
Binary files a/chart-sdk/flutter/3d-circular-charts/images/getting-started/legend.png and /dev/null 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
deleted file mode 100644
index 3c4b27105..000000000
Binary files a/chart-sdk/flutter/3d-circular-charts/images/getting-started/title_chart.jpg and /dev/null 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
deleted file mode 100644
index ac74c5b83..000000000
Binary files a/chart-sdk/flutter/3d-circular-charts/images/getting-started/tooltip.png and /dev/null 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
deleted file mode 100644
index bb567f4a7..000000000
Binary files a/chart-sdk/flutter/3d-circular-charts/images/legend/customized_legend.jpg and /dev/null 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
deleted file mode 100644
index 031d3e555..000000000
Binary files a/chart-sdk/flutter/3d-circular-charts/images/legend/default_legend.jpg and /dev/null 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
deleted file mode 100644
index 7ebcb42c6..000000000
Binary files a/chart-sdk/flutter/3d-circular-charts/images/legend/legend_position.jpg and /dev/null 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
deleted file mode 100644
index 1553e507d..000000000
Binary files a/chart-sdk/flutter/3d-circular-charts/images/legend/legend_template.jpg and /dev/null 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
deleted file mode 100644
index 900ce3bf7..000000000
Binary files a/chart-sdk/flutter/3d-circular-charts/images/legend/legend_title.jpg and /dev/null 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
deleted file mode 100644
index 287616c25..000000000
Binary files a/chart-sdk/flutter/3d-circular-charts/images/legend/overflow_wrap.jpg and /dev/null 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
deleted file mode 100644
index 67c640d2a..000000000
Binary files a/chart-sdk/flutter/3d-circular-charts/images/legend/toggle_visibility.jpg and /dev/null 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
deleted file mode 100644
index c56e5e6ac..000000000
Binary files a/chart-sdk/flutter/3d-circular-charts/images/overview/chart_legend_circular.png and /dev/null 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
deleted file mode 100644
index 5eee776c0..000000000
Binary files a/chart-sdk/flutter/3d-circular-charts/images/overview/chart_types_circular.png and /dev/null 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
deleted file mode 100644
index ced2f464a..000000000
Binary files a/chart-sdk/flutter/3d-circular-charts/images/overview/overview.png and /dev/null 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
deleted file mode 100644
index 3ba78fc55..000000000
Binary files a/chart-sdk/flutter/3d-circular-charts/images/rtl-support/circular_legend_rtl.jpg and /dev/null 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
deleted file mode 100644
index ccafb3ee1..000000000
Binary files a/chart-sdk/flutter/3d-circular-charts/images/rtl-support/circular_tooltip_rtl.jpg and /dev/null 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
deleted file mode 100644
index d437e9c4b..000000000
Binary files a/chart-sdk/flutter/3d-circular-charts/images/selection/customizing_segments.jpg and /dev/null 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
deleted file mode 100644
index 5c4f22ec8..000000000
Binary files a/chart-sdk/flutter/3d-circular-charts/images/selection/default_selection.jpg and /dev/null 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
deleted file mode 100644
index 99dd59852..000000000
Binary files a/chart-sdk/flutter/3d-circular-charts/images/selection/deselection.gif and /dev/null 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
deleted file mode 100644
index 54322d318..000000000
Binary files a/chart-sdk/flutter/3d-circular-charts/images/selection/multi_select.jpg and /dev/null 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
deleted file mode 100644
index 69c9e7fda..000000000
Binary files a/chart-sdk/flutter/3d-circular-charts/images/tooltip/customized_tooltip.jpg and /dev/null 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
deleted file mode 100644
index 3efa6dbe0..000000000
Binary files a/chart-sdk/flutter/3d-circular-charts/images/tooltip/default_tooltip.jpg and /dev/null 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
deleted file mode 100644
index 4a1498609..000000000
Binary files a/chart-sdk/flutter/3d-circular-charts/images/tooltip/tooltip_pointer.jpg and /dev/null 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
deleted file mode 100644
index 62e3f27c2..000000000
Binary files a/chart-sdk/flutter/3d-circular-charts/images/tooltip/tooltip_template.jpg and /dev/null differ
diff --git a/chart-sdk/flutter/barcode-generator/accessibility.md b/chart-sdk/flutter/barcode-generator/accessibility.md
index 7c2a039ab..1ac5e2bd0 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 widget | Syncfusion
-description: Learn here all about Accessibility feature of Syncfusion Flutter Barcodes (SfBarcodeGenerator) widget and more.
+title: Accessibility in Flutter Barcodes | Syncfusion®
+description: Learn about accessibility support in Syncfusion® Flutter Barcodes (SfBarcodeGenerator), including screen readers, keyboard navigation, and more.
platform: chart-sdk
control: SfBarcodeGenerator
documentation: ug
@@ -14,10 +14,14 @@ 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/flutter/barcode/barcode-customization)
-* [Background color](https://help.syncfusion.com/flutter/barcode/barcode-customization)
+* [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)
## 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/flutter/barcode/barcode-customization#text-customization)
\ No newline at end of file
+* [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
diff --git a/chart-sdk/flutter/barcode-generator/barcode-customization.md b/chart-sdk/flutter/barcode-generator/barcode-customization.md
index 9ee712b55..c99d37691 100644
--- a/chart-sdk/flutter/barcode-generator/barcode-customization.md
+++ b/chart-sdk/flutter/barcode-generator/barcode-customization.md
@@ -1,8 +1,7 @@
---
layout: post
-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
+title: Customization in Flutter Barcodes | Syncfusion®
+description: Learn about customization options in Syncfusion® Flutter Barcodes (SfBarcodeGenerator), including appearance, sizing, colors, and styling.
platform: chart-sdk
control: SfBarcodeGenerator
documentation: ug
@@ -10,120 +9,174 @@ 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 %}
- @override
- Widget build(BuildContext context) {
- return Scaffold(
- backgroundColor: Colors.white,
- body: Center(
- child: Container(
- height: 150,
- width: 300,
- child: SfBarcodeGenerator(value: '12634388927', showValue: true),
+ 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),
+ ),
),
- ),
- );
+ );
+ }
}
{% endhighlight %}
+{% endtabs %}
+

**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 %}
- @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,
+ 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,
),
- showValue: true,
),
),
- ),
- );
+ );
+ }
}
{% endhighlight %}
+{% endtabs %}
+

**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 %}
- @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,
+ 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,
+ ),
),
),
- ),
- );
+ );
+ }
}
{% endhighlight %}
+{% endtabs %}
+

**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 %}
-
- @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,
+
+ 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,
+ ),
),
),
- ),
- );
+ );
+ }
}
{% endhighlight %}
+{% endtabs %}
+

## Bar customization
@@ -134,167 +187,245 @@ 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 [`module`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/Symbology/module.html) property,
+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 %}
{% highlight dart %}
- @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),
+ 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),
+ ),
),
),
- ),
- );
+ );
+ }
}
- {% endhighlight %}
+{% endhighlight %}
+
+{% endtabs %}

N> In the image above, the smallest bar line width is 1 logical pixel.
-Below code snippet shows the one dimensional barcode without the [`module`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/Symbology/module.html) property,
+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 %}
{% highlight dart %}
- @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(),
+ 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(),
+ ),
),
),
- ),
- );
+ );
+ }
}
- {% endhighlight %}
+{% endhighlight %}
+
+{% endtabs %}

-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.
+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.
-The following code snippet shows the two dimensional barcode with [`module`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/Symbology/module.html) property,
+{% tabs %}
{% highlight dart %}
- @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),
+ 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),
+ ),
),
),
- ),
- );
+ );
+ }
}
- {% endhighlight %}
+{% endhighlight %}
+
+{% endtabs %}
- 
+
- Below code snippet shows the two dimensional barcode without the [`module`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/Symbology/module.html) property,
+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.
- {% highlight dart %}
+{% tabs %}
- @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(),
+{% 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(),
+ ),
),
),
- ),
- );
+ );
+ }
}
- {% endhighlight %}
+{% endhighlight %}
+
+{% endtabs %}
- 
+
**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 like the following code snippet,
+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 %}
{% highlight dart %}
- @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,
+ 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,
+ ),
),
),
- ),
- );
+ );
+ }
}
{% endhighlight %}
+{% endtabs %}
+

**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 like the below code snippet,
+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 %}
{% highlight dart %}
- @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(),
+ 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(),
+ ),
),
),
- ),
- );
+ );
+ }
}
{% endhighlight %}
+{% endtabs %}
+

diff --git a/chart-sdk/flutter/barcode-generator/getting-started.md b/chart-sdk/flutter/barcode-generator/getting-started.md
index f27d6a150..4f070832e 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 widget | Syncfusion
-description: Learn here about getting started with Syncfusion Flutter Barcodes (SfBarcodeGenerator) widget, its elements, and more.
+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.
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,6 +20,8 @@ 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:
@@ -28,50 +30,73 @@ Add the Syncfusion® Flutter Barcode dependency to your pubspec.ya
{% endhighlight %}
-N> Here **xx.x.xx** denotes the current version of the [Syncfusion® Flutter Barcodes](https://pub.dev/packages/syncfusion_flutter_barcodes/versions) package.
+{% 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).
**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 take full container height).
+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 %}
{% highlight dart %}
- @override
- Widget build(BuildContext context) {
- return MaterialApp(
- home: Scaffold(
- body: Center(
- child: Container(
- height: 150,
- child: SfBarcodeGenerator(value: 'http://www.syncfusion.com'),
+ 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'),
+ ),
),
),
- ),
- );
+ );
+ }
}
{% endhighlight %}
+{% endtabs %}
+
N> The default symbology of SfBarcodeGenerator is [`Code128`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/Code128-class.html).

@@ -80,57 +105,83 @@ 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 %}
- @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(),
+ 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(),
+ ),
),
),
),
- ),
- );
+ );
+ }
}
{% endhighlight %}
+{% endtabs %}
+

## 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 like the following code snippet,
+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 %}
{% highlight dart %}
- @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(),
+ 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(),
+ ),
),
),
),
- ),
- );
+ );
+ }
}
{% endhighlight %}
+{% endtabs %}
+

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 d6b8f4c1a..ad16ea432 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,75 +1,77 @@
---
layout: post
-title: Barcodes Widget in FlutterFlow | Syncfusion
-description: You can learn here all about adding Syncfusion Flutter Barcodes (SfBarcodeGenerator) widget in FlutterFlow.
+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.
platform: chart-sdk
control: SfBarcodeGenerator
documentation: ug
---
-# How to add Syncfusion® Barcodes widget in FlutterFlow?
+# How to Add Barcodes in FlutterFlow (SfBarcodeGenerator)
## 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).
+[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.
### 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
+### Create 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 `[>]`.
+4. Click on the `View Boilerplate Code` button on the right side, represented by the `[>]` icon.
5. A popup will appear with startup code; locate the button labeled `> Copy to Editor` and click on it.
6. Save the widget.

-### Add Barcodes widget as a dependency
+### Add the 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.

-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.
->**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).
+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**: 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> 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 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.
+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.
### 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.

-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.

-### Add widget code snippet in code editor
+### Add a widget code snippet in the code editor
-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.
+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.

-2. Paste the copied code sample into the code editor, click `Format Code`, and `Save` it.
+2. Paste the copied code sample into the code editor, click `Format Code`, and then save it.

-### Compiling the codes
+### Compile the code
-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.

->**Note**: The compilation progress takes 2 to 3 minutes to complete.
+N> The compilation progress takes 2 to 3 minutes to complete.
-### Utilizing the custom widget
+### Use 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.
+3. Your custom widget will be under `Custom Code Widgets`. Drag and drop the custom widget onto your page.

diff --git a/chart-sdk/flutter/barcode-generator/one-dimensional.md b/chart-sdk/flutter/barcode-generator/one-dimensional.md
index c6263141c..855a29b44 100644
--- a/chart-sdk/flutter/barcode-generator/one-dimensional.md
+++ b/chart-sdk/flutter/barcode-generator/one-dimensional.md
@@ -1,15 +1,17 @@
---
layout: post
-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.
+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.
platform: chart-sdk
control: SfBarcodeGenerator
documentation: ug
---
-# One-dimensional symbology in Flutter Barcodes (SfBarcodeGenerator)
+# One-Dimensional Symbology in Flutter Barcodes (SfBarcodeGenerator)
-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:
+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:
* [`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)
@@ -32,27 +34,40 @@ 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 %}
- @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),
+ 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),
+ ),
),
),
- ),
- );
+ );
+ }
}
{% endhighlight %}
+{% endtabs %}
+

## Code39
@@ -62,88 +77,127 @@ 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 %}
- @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),
+ 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),
+ ),
),
),
- ),
- );
+ );
+ }
}
{% endhighlight %}
+{% endtabs %}
+

-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.
+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.
## 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 %}
- @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),
+ 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),
+ ),
),
),
- ),
- );
+ );
+ }
}
{% endhighlight %}
+{% endtabs %}
+

-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.
+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 by using a combination of 2 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 using a combination of two 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 %}
- @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),
+ 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),
+ ),
),
),
- ),
- );
+ );
+ }
}
{% endhighlight %}
+{% endtabs %}
+

## Code128
@@ -152,108 +206,160 @@ As like [`Code39`](https://pub.dev/documentation/syncfusion_flutter_barcodes/lat
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 %}
- @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),
+ 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),
+ ),
),
),
- ),
- );
+ );
+ }
}
{% endhighlight %}
+{% endtabs %}
+

## 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 %}
- @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),
+ 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),
+ ),
),
),
- ),
- );
+ );
+ }
}
{% endhighlight %}
+{% endtabs %}
+

## 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 %}
- @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),
+ 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),
+ ),
),
),
- ),
- );
+ );
+ }
}
{% endhighlight %}
+{% endtabs %}
+

## 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.
+[`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 %}
{% highlight dart %}
- @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),
+ 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),
+ ),
),
),
- ),
- );
+ );
+ }
}
{% endhighlight %}
+{% endtabs %}
+

**Code 128 Special characters**
@@ -266,114 +372,166 @@ 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 %}
- @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),
+ 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),
+ ),
),
),
- ),
- );
+ );
+ }
}
{% endhighlight %}
+{% endtabs %}
+

## 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) will add 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) is added 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 %}
- @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),
+ 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),
+ ),
),
),
- ),
- );
+ );
+ }
}
{% endhighlight %}
+{% endtabs %}
+

## EAN-13
-[`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.
+[`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.
-* 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.
+{% tabs %}
{% highlight dart %}
- @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),
+ 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),
+ ),
),
),
- ),
- );
+ );
+ }
}
{% endhighlight %}
+{% endtabs %}
+

## 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).
-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.
+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 %}
{% highlight dart %}
- @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),
+ 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),
+ ),
),
),
- ),
- );
+ );
+ }
}
{% endhighlight %}
+{% endtabs %}
+

-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
+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
diff --git a/chart-sdk/flutter/barcode-generator/overview.md b/chart-sdk/flutter/barcode-generator/overview.md
index af106d088..e0ba159cc 100644
--- a/chart-sdk/flutter/barcode-generator/overview.md
+++ b/chart-sdk/flutter/barcode-generator/overview.md
@@ -1,16 +1,18 @@
---
layout: post
-title: About Flutter Barcodes widget | Syncfusion
-description: Learn here all about introduction of Syncfusion Flutter Barcodes (SfBarcodeGenerator) widget, its features, and more.
+title: About Flutter Barcode Generator | Syncfusion®
+description: Learn about the Syncfusion® Flutter Barcodes (SfBarcodeGenerator), its features, barcode symbologies, and customization options.
platform: chart-sdk
control: SfBarcodeGenerator
documentation: ug
---
-# Flutter Barcodes (SfBarcodeGenerator) Overview
+# About Flutter Barcode Generator (SfBarcodeGenerator)
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.
+


@@ -24,7 +26,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 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.
+* **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.
* **Text customization** - Configure to display the barcode value and customize the position and style of the barcode text.
-You can get the sample in the following link: [`Flutter Barcodes`](https://github.com/syncfusion/flutter-examples).
\ No newline at end of file
+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
diff --git a/chart-sdk/flutter/barcode-generator/two-dimensional.md b/chart-sdk/flutter/barcode-generator/two-dimensional.md
index 0c959304a..3be4daf6c 100644
--- a/chart-sdk/flutter/barcode-generator/two-dimensional.md
+++ b/chart-sdk/flutter/barcode-generator/two-dimensional.md
@@ -1,15 +1,17 @@
---
layout: post
-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.
+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.
platform: chart-sdk
control: SfBarcodeGenerator
documentation: ug
---
-# Two-dimensional symbology in Flutter Barcodes (SfBarcodeGenerator)
+# Two-Dimensional Symbology in Flutter Barcodes (SfBarcodeGenerator)
-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:
+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:
* [`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)
@@ -22,28 +24,41 @@ 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 %}
- @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(),
+ 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(),
+ ),
),
),
- ),
- );
+ );
+ }
}
{% endhighlight %}
+{% endtabs %}
+

The data that can be stored in the QR code depends upon the following property:
@@ -53,76 +68,102 @@ 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)
-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.
+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%
+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 %}
{% highlight dart %}
- @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),
+ 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),
+ ),
),
),
- ),
- );
+ );
+ }
}
{% endhighlight %}
+{% endtabs %}
+

The data can be read from the damaged image based on the error correction level,
-
+
**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-class.html).
+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)
-numeric - supports from 0 to 9
-alphaNumeric - supports 0 to 9, A to Z, space, $, %, *, +, -,., /, :
-binary - supports Shift JIS characters
+{% tabs %}
{% highlight dart %}
- @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),
+ 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),
+ ),
),
),
- ),
- );
+ );
+ }
}
{% endhighlight %}
+{% endtabs %}
+

**QR code version**
@@ -133,59 +174,85 @@ 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 %}
- @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),
+ 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),
+ ),
),
),
- ),
- );
+ );
+ }
}
{% endhighlight %}
+{% endtabs %}
+

## 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.
+[`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 %}
{% highlight dart %}
- @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(),
+ 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(),
+ ),
),
),
- ),
- );
+ );
+ }
}
{% endhighlight %}
+{% endtabs %}
+

-**Data matrix format**
+**Data Matrix format**
Length - Data Matrix can store up to 2335 alphanumeric characters or 3116 numbers from the ASCII range.
@@ -197,18 +264,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 following [`encoding types`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/DataMatrix/encoding.html),
+Data Matrix supports the following [`encoding types`](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/DataMatrix/encoding.html),
* Auto
* ASCII
* ASCIINumeric
* Base256
-By default, the encoding types is `auto`.
+By default, the encoding type is `auto`.
-When the encoding type is `ASCII`, the code word will be calculated as like follows,
+When the encoding type is `ASCII`, the code word will be calculated as follows,
Code word = ASCII value + 1.
@@ -218,7 +285,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 like follows,
+When the encoding type is `ASCIINumeric`, then the code word will be calculated as 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 ff6859c40..f073c67b8 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 Charts widget | Syncfusion
-description: Learn here all about Accessibility feature of Syncfusion Flutter Cartesian Charts (SfCartesianChart) widget and more.
+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.
platform: chart-sdk
control: Chart
documentation: ug
---
-# Accessibility in Flutter Cartesian Charts (SfCartesianChart)
+# Accessibility in Flutter Cartesian Chart
## 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 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)
+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)
## 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 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)
+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)
## Easily tappable targets
-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)
+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)
diff --git a/chart-sdk/flutter/cartesian-chart/annotations.md b/chart-sdk/flutter/cartesian-chart/annotations.md
index f9a1719f8..7e9899da2 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 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.
+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.
platform: chart-sdk
control: Chart
documentation: ug
---
-# Flutter Cartesian Charts Annotation (SfCartesianChart)
+# Annotation in Flutter Cartesian Chart
-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.
+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.
{% tabs %}
{% highlight dart %}
@@ -47,11 +47,11 @@ Chart supports annotations which, allows you to mark the specific area of intere
## 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 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.
+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.
**Positioning based on coordinateUnit as 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).
+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).
{% tabs %}
@@ -88,7 +88,7 @@ To position the annotation based on axis, set the [`x`](https://pub.dev/document
**Positioning based on coordinateUnit as pixels**
-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.
+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.
{% tabs %}
{% highlight dart hl_lines="15" %}
@@ -126,7 +126,7 @@ To position the annotation based on the pixel values, set the [`CoordinateUnit`]
**Positioning based on coordinateUnit as percentage**
-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.
+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.
{% tabs %}
@@ -183,7 +183,7 @@ To position the annotation based on the percentage values, set the [`CoordinateU
**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) using [`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) by using the [`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 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.
+[`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.
-The following code example demonstrates how to set the [`horizontalAlignment`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/CartesianChartAnnotation/horizontalAlignment.html) for 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.
{% 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 depicted in below 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 shown in the following code snippet.
{% tabs %}
{% highlight dart %}
@@ -454,4 +454,4 @@ Chart supports watermark which allows you to mark the specific area of interest

->**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
+>**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
diff --git a/chart-sdk/flutter/cartesian-chart/axis-customization.md b/chart-sdk/flutter/cartesian-chart/axis-customization.md
index 4ff374a9f..393287523 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 Charts | Syncfusion
-description: Step-by-step guide to control axes in Syncfusion Flutter Cartesian Charts—configure axis titles, labels, grid lines, and key features.
+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.
platform: chart-sdk
control: Cartesian Charts
documentation: ug
---
-# Flutter Cartesian Charts Axis Customization (SfCartesianChart)
+# Axis Customization in Flutter Cartesian Chart
## Common axis features
-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.
+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.
### Axis Visibility
-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.
+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.
{% 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 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,
+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,
* [`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 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.
+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.
{% 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 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.
+[`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.
* [`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 in axis provides options to customize the font of axis label. The axis label can be customized using following properties,
+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,
* [`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 [`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).
+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).
* [`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,7 +265,8 @@ 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 prefix or suffix with the axis label.
+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.
+
{% tabs %}
{% highlight dart hl_lines="11" %}
@@ -297,7 +298,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 [`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.
+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.
{% tabs %}
{% highlight dart hl_lines="8 9" %}
@@ -325,7 +326,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 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.
+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.
{% tabs %}
{% highlight dart hl_lines="9" %}
@@ -353,7 +354,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. [`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.
+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.
{% tabs %}
{% highlight dart %}
@@ -390,7 +391,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 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.
+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.
{% tabs %}
{% highlight dart %}
@@ -427,7 +428,7 @@ The [`majorTickLines`](https://pub.dev/documentation/syncfusion_flutter_charts/l
### Inversing axis
-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`.
+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`.
{% tabs %}
{% highlight dart hl_lines="9" %}
@@ -455,7 +456,7 @@ Axis can be inversed using the [`isInversed`](https://pub.dev/documentation/sync
### Placing axes at the opposite side
-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`.
+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`.
{% tabs %}
{% highlight dart hl_lines="9" %}
@@ -483,7 +484,7 @@ The [`opposedPosition`](https://pub.dev/documentation/syncfusion_flutter_charts/
### Maximum number of labels per 100 logical pixels
-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.
+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.
{% tabs %}
{% highlight dart hl_lines="8" %}
@@ -562,7 +563,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 start and end position. The following code snippet demonstrates how to apply the plot offset of 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 the start and end positions. The following code snippet demonstrates how to apply plot offset to an axis.
{% tabs %}
{% highlight dart hl_lines="9" %}
@@ -646,7 +647,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 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).
+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).
{% tabs %}
{% highlight dart hl_lines="9" %}
@@ -829,10 +830,11 @@ 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,),
+ ],
),
)
)
diff --git a/chart-sdk/flutter/cartesian-chart/axis-types.md b/chart-sdk/flutter/cartesian-chart/axis-types.md
index ae18ac84e..32791177f 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 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.
+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.
platform: chart-sdk
control: Chart
documentation: ug
---
-# Flutter Cartesian Charts Axis Types (SfCartesianChart)
+# Types of Axis in Flutter Cartesian Chart
-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 numerical scale. Horizontal(X) axis supports the following types of scale:
+The vertical (Y) axis always uses a numerical scale. The horizontal (X) axis supports the following types of scale:
* Category
* Numeric
@@ -21,7 +21,7 @@ The vertical(Y) axis always uses numerical scale. Horizontal(X) axis supports th
## Numeric 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.
+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.
{% tabs %}
{% highlight dart hl_lines="14 15" %}
@@ -74,7 +74,7 @@ Numeric axis uses 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. 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. 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.
{% 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, nice range will be 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, a nice range is 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, nice interval will be 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, a nice interval is 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/flutter/cartesian-charts/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/chart-sdk/flutter/cartesian-chart/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 c3ffcba1f..6e613e2ac 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 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.
+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.
platform: chart-sdk
control: Chart
documentation: ug
---
-# Flutter Cartesian Charts Callback Events (SfCartesianChart)
+# Callbacks in Flutter Cartesian Chart
-This document describes the callbacks available for the Cartesian chart
+This document describes the callbacks available for the Cartesian chart.
## onTooltipRender
@@ -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/flutter/cartesian-charts/series-customization#gradient-fill) section.
+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.
{% tabs %}
{% highlight dart %}
@@ -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/flutter/cartesian-charts/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/chart-sdk/flutter/cartesian-chart/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 1e1c8d6b5..c4e017cc5 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 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.
+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.
platform: chart-sdk
control: Chart
documentation: ug
---
-# Flutter Cartesian Charts Customization (SfCartesianChart)
+# Customization in Flutter Cartesian Chart
## Chart sizing
-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.
+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.
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.
diff --git a/chart-sdk/flutter/cartesian-chart/chart-title.md b/chart-sdk/flutter/cartesian-chart/chart-title.md
index 4874c977a..1999cb90a 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 Charts widget | Syncfusion
-description: Learn here all about Chart title feature of Syncfusion Flutter Cartesian Charts (SfCartesianChart) widget and more.
+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.
platform: chart-sdk
control: Chart
documentation: ug
---
-# Chart title in Flutter Cartesian Charts (SfCartesianChart)
+# Chart title in Flutter Cartesian Chart
-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.
+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.
The following properties can be used to customize its appearance.
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 d46baaa5e..c0721f00d 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 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.
+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.
platform: chart-sdk
control: Chart
documentation: ug
---
-# Flutter Cartesian Charts Area Chart (SfCartesianChart)
+# Area Chart in Flutter Cartesian Chart
-To create a Flutter area chart quickly, you can check this video.
+To create a Flutter area chart quickly, you can watch this video.
@@ -261,12 +261,12 @@ The [`isTransposed`](https://pub.dev/documentation/syncfusion_flutter_charts/lat
#### See Also
-* [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)
+* [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)
>**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 c2b2d4cac..486bf01c8 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 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.
+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.
platform: chart-sdk
control: Chart
documentation: ug
---
-# Flutter Cartesian Charts Bar Chart (SfCartesianChart)
+# Bar Chart in Flutter Cartesian Chart
-To create a Flutter bar chart quickly, you can check this video.
+To create a Flutter bar chart quickly, you can watch this video.
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 6e2e85b6e..99c447b01 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 Charts widget | Syncfusion
-description: Learn here all about box and whisker chart of Syncfusion Flutter Cartesian Charts (SfCartesianChart) widget and more.
+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.
platform: chart-sdk
control: Chart
documentation: ug
---
-# Box and Whisker Chart in Flutter Cartesian Charts (SfCartesianChart)
+# Box and Whisker Chart in Flutter Cartesian Chart
-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.
+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.
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.
@@ -51,9 +51,9 @@ To render a Box and Whisker chart, create an instance of [`BoxAndWhiskerSeries`]
#### See Also
-* [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
+* [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
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 552423011..0c143b710 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 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.
+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.
platform: chart-sdk
control: Chart
documentation: ug
---
-# Flutter Cartesian Charts Bubble Chart (SfCartesianChart)
+# Bubble Chart in Flutter Cartesian Chart
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 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 the 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 d5ce2b48c..5a91df1a7 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 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.
+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.
platform: chart-sdk
control: Chart
documentation: ug
---
-# Flutter Cartesian Charts Candle Chart (SfCartesianChart)
+# Candle Chart in Flutter Cartesian Chart
-To create a Flutter candle chart quickly, you can check this video.
+To create a Flutter candle chart quickly, you can watch this video.
@@ -241,8 +241,8 @@ The following are the types of indication when the combination of high, low, ope
#### See Also
-* [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
+* [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
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 e1f78dd5b..0dca1037c 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 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.
+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.
platform: chart-sdk
control: Chart
documentation: ug
---
-# Flutter Cartesian Charts Column Chart (SfCartesianChart)
+# Column Chart in Flutter Cartesian Chart
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:
@@ -249,11 +249,11 @@ Renders columns with tracks. A track is a rectangular bar rendered from the star
#### See Also
-* [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)
+* [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)
>**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 60d160dcc..8bbabd60a 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 Charts widget | Syncfusion
-description: Learn here all about error bar chart of Syncfusion Flutter Cartesian Charts (SfCartesianChart) widget and more.
+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.
platform: chart-sdk
control: Chart
documentation: ug
---
-# Error bar chart in Flutter Cartesian Charts (SfCartesianChart)
+# Error bar chart in Flutter Cartesian Chart
Error bars are graphical representations of the variability of data and used on graphs to indicate the error or uncertainty in a reported measurement.
@@ -288,9 +288,9 @@ The [`capLength`](https://pub.dev/documentation/syncfusion_flutter_charts/latest
#### See Also
-* [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
+* [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
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 f01430979..2b8c21722 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 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.
+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.
platform: chart-sdk
control: Chart
documentation: ug
---
-# Flutter Cartesian Charts Fast Line Chart (SfCartesianChart)
+# Fast Line Chart in Flutter Cartesian Chart
[`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:
@@ -47,9 +47,9 @@ documentation: ug
#### See Also
-* [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
+* [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
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 d6b1a2ac2..2822841a3 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 Charts widget | Syncfusion
-description: Learn here all about hiLo chart of Syncfusion Flutter Cartesian Charts (SfCartesianChart) widget and more.
+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.
platform: chart-sdk
control: Chart
documentation: ug
---
-# HiLo Chart in Flutter Cartesian Charts (SfCartesianChart)
+# HiLo Chart in Flutter Cartesian Chart
To create a Flutter hilo chart quickly, you can check this video.
@@ -57,8 +57,8 @@ To render a HiLo chart, create an instance of [`HiloSeries`](https://pub.dev/doc
#### See Also
-* [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
+* [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
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 944007132..6028b1cf7 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 Charts widget | Syncfusion
-description: Learn here all about histogram chart of Syncfusion Flutter Cartesian Charts (SfCartesianChart) widget and more.
+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.
platform: chart-sdk
control: Chart
documentation: ug
---
-# Histogram Chart in Flutter Cartesian Charts (SfCartesianChart)
+# Histogram Chart in Flutter Cartesian Chart
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.
@@ -166,9 +166,9 @@ You can collapse the normal distribution curve using the [`showNormalDistributio
#### See Also
-* [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
+* [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
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 c7fb66e13..aca5da78f 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 Charts widget | Syncfusion
-description: Learn here all about line chart of Syncfusion Flutter Cartesian Charts (SfCartesianChart) widget and more.
+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.
platform: chart-sdk
control: Chart
documentation: ug
---
-# Line Chart in Flutter Cartesian Charts (SfCartesianChart)
+# Line Chart in Flutter Cartesian Chart
To create a Flutter line chart quickly, you can check this video.
@@ -155,9 +155,9 @@ To render a multi-colored line series, map the individual colors to the data usi
#### See Also
-* [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
+* [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
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 192d3a361..b4ff08486 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 Charts widget | Syncfusion
-description: Learn here all about open high low close chart of Syncfusion Flutter Cartesian Charts (SfCartesianChart) widget and more.
+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.
platform: chart-sdk
control: Chart
documentation: ug
---
-# Open High Low Close in Flutter Cartesian Charts (SfCartesianChart)
+# Open High Low Close in Flutter Cartesian Chart
To create a Flutter open high low close chart quickly, you can check this video.
@@ -127,8 +127,8 @@ The following are the types of indication when the combination of high, low, ope
#### See Also
-* [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
+* [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
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 bca7074af..1c326dba6 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 Charts widget | Syncfusion
-description: Learn here all about range area Chart of Syncfusion Flutter Cartesian Charts (SfCartesianChart) widget and more.
+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.
platform: chart-sdk
control: Chart
documentation: ug
---
-# Range area Chart in Flutter Cartesian Charts (SfCartesianChart)
+# Range Area Chart in Flutter Cartesian Chart
To create a Flutter range area chart quickly, you can check this video.
@@ -96,9 +96,9 @@ The borders of the range area chart can be customized using the [`borderDrawMode
#### See Also
-* [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
+* [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
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 dbd3da5f7..dbbfd768f 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 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.
+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.
platform: chart-sdk
control: Chart
documentation: ug
---
-# Flutter Cartesian Charts Range Column Chart (SfCartesianChart)
+# Range Column Chart in Flutter Cartesian Chart
To create a Flutter range column chart quickly, you can check this video.
@@ -147,9 +147,9 @@ The [`isTransposed`](https://pub.dev/documentation/syncfusion_flutter_charts/lat
#### See Also
-* [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
+* [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
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 51ce8c248..2376361d4 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 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.
+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.
platform: chart-sdk
control: Chart
documentation: ug
---
-# Flutter Cartesian Charts Scatter Chart (SfCartesianChart)
+# Scatter Chart in Flutter Cartesian Chart
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.
@@ -105,9 +105,9 @@ The [`height`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/ch
#### See Also
-* [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)
+* [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)
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 0e2337c3c..fb9fdce92 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 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.
+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.
platform: chart-sdk
control: Chart
documentation: ug
---
-# Flutter Cartesian Charts Spline Area Chart (SfCartesianChart)
+# Spline Area Chart in Flutter Cartesian Chart
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:
@@ -162,9 +162,9 @@ The [`dashArray`](https://pub.dev/documentation/syncfusion_flutter_charts/latest
#### See Also
-* [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
+* [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
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 633ba9191..63965f0ca 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 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.
+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.
platform: chart-sdk
control: Chart
documentation: ug
---
-# Flutter Cartesian Charts Spline Chart (SfCartesianChart)
+# Spline Chart in Flutter Cartesian Chart
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:
@@ -201,9 +201,9 @@ The [`isTransposed`](https://pub.dev/documentation/syncfusion_flutter_charts/lat
#### See Also
-* [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
+* [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
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 37f8fadd6..308d914f6 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 in Flutter Cartesian Charts widget | Syncfusion
-description: Learn here all about spline range area chart of Syncfusion Flutter Cartesian Charts (SfCartesianChart) widget and more.
+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.
platform: chart-sdk
control: Chart
documentation: ug
---
-# Spline range area Chart in Flutter Cartesian Charts (SfCartesianChart)
+# Spline Range Area Chart in Flutter Cartesian Chart
To create a Flutter spline range area chart quickly, you can check this video.
@@ -141,9 +141,9 @@ The borders of the spline range area chart can be customized using the [`borderD
#### See Also
-* [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
+* [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
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 7bd77488e..0a711bff0 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 in Flutter Cartesian Charts widget | Syncfusion
-description: Learn here all about 100% stacked area chart of Syncfusion Flutter Cartesian Charts (SfCartesianChart) widget and more.
+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.
platform: chart-sdk
control: Chart
documentation: ug
---
-# 100% Stacked area Chart in Flutter Cartesian Charts (SfCartesianChart)
+# 100% Stacked Area Chart in Flutter Cartesian Chart
To create a Flutter 100% stacked area chart quickly, you can check this video.
@@ -68,9 +68,9 @@ To render a 100% stacked area chart, create an instance of [`StackedArea100Serie
#### See Also
-* [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
+* [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
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 0aa0d4741..f1c2293ff 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 Charts | Syncfusion
-description: Learn here all about stacked area chart of Syncfusion Flutter Cartesian Charts (SfCartesianChart) widget and more.
+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.
platform: chart-sdk
control: Chart
documentation: ug
---
-# Stacked area Chart in Flutter Cartesian Charts (SfCartesianChart)
+# Stacked Area Chart in Flutter Cartesian Chart
To create a Flutter stacked area chart quickly, you can check this video.
@@ -179,9 +179,9 @@ You can show the cumulative data label values using the [`showCumulativeValues`]
#### See Also
-* [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
+* [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
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 ec9b5de78..51309fd47 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 in Flutter Cartesian Charts widget | Syncfusion
-description: Learn here all about 100% stacked bar chart of Syncfusion Flutter Cartesian Charts (SfCartesianChart) widget and more.
+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
platform: chart-sdk
control: Chart
documentation: ug
---
-# 100% Stacked bar Chart in Flutter Cartesian Charts (SfCartesianChart)
+# 100% Stacked Bar Chart in Flutter Cartesian Chart
To create a Flutter 100% stacked bar chart quickly, you can check this video.
@@ -131,9 +131,9 @@ The [`width`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/cha
#### See Also
-* [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)
+* [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)
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 8b01e89a8..dde82ea5d 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 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.
+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.
platform: chart-sdk
control: Chart
documentation: ug
---
-# Flutter Cartesian Charts Stacked Bar Chart (SfCartesianChart)
+# Stacked Bar Chart in Flutter Cartesian Chart
To create a Flutter stacked bar chart quickly, you can check this video.
@@ -168,9 +168,9 @@ You can show the cumulative data label values using the [`showCumulativeValues`]
#### See Also
-* [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
+* [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
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 1c7c1ecdc..1c8bfeb2c 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 in Flutter Cartesian Charts widget | Syncfusion
-description: Learn here all about 100% stacked Column chart of Syncfusion Flutter Cartesian Charts (SfCartesianChart) widget and more.
+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.
platform: chart-sdk
control: Chart
documentation: ug
---
-# 100% Stacked column in Flutter Cartesian Charts (SfCartesianChart)
+# 100% Stacked Column Chart in Flutter Cartesian Chart
To create a Flutter 100% stacked column chart quickly, you can check this video.
@@ -110,9 +110,9 @@ The [`width`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/cha
#### See Also
-* [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
+* [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
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 33597d0f6..4bad050be 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 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.
+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.
platform: chart-sdk
control: Chart
documentation: ug
---
-# Flutter Cartesian Charts Stacked Column Chart (SfCartesianChart)
+# Stacked Column Chart in Flutter Cartesian Chart
To create a Flutter stacked column chart quickly, you can check this video.
@@ -216,9 +216,9 @@ You can show the cumulative data label values using the [`showCumulativeValues`]
#### 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](/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
+* [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
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 29c9c41f8..f74d0800e 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 in Flutter Cartesian Charts widget | Syncfusion
-description: Learn here all about 100% stacked line chart of Syncfusion Flutter Cartesian Charts (SfCartesianChart) widget and more.
+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.
platform: chart-sdk
control: Chart
documentation: ug
---
-# 100% Stacked line Chart in Flutter Cartesian Charts (SfCartesianChart)
+# 100% Stacked Line Chart in Flutter Cartesian Chart
To create a Flutter 100% stacked line chart quickly, you can check this video.
@@ -116,9 +116,9 @@ The [`dashArray`](https://pub.dev/documentation/syncfusion_flutter_charts/latest
#### See Also
-* [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
+* [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
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 6da76653a..00e0f6f64 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 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.
+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.
platform: chart-sdk
control: Chart
documentation: ug
---
-# Flutter Cartesian Charts Stacked Line Chart (SfCartesianChart)
+# Stacked Line Chart in Flutter Cartesian Chart
To create a Flutter stacked line chart quickly, you can check this video.
@@ -183,9 +183,9 @@ You can show the cumulative data label values using the [`showCumulativeValues`]
#### See Also
-* [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
+* [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
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 4481217d9..e187f2bfe 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 Charts widget | Syncfusion
-description: Learn here all about step area chart of Syncfusion Flutter Cartesian Charts (SfCartesianChart) widget and more.
+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.
platform: chart-sdk
control: Chart
documentation: ug
---
-# Step area Chart in Flutter Cartesian Charts (SfCartesianChart)
+# Step Area Chart in Flutter Cartesian Chart
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.
@@ -83,9 +83,9 @@ The [`dashArray`](https://pub.dev/documentation/syncfusion_flutter_charts/latest
#### See Also
-* [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
+* [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
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 32ea89dc1..abcbcf3fc 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 Charts widget | Syncfusion
-description: Learn here all about step line chart of Syncfusion Flutter Cartesian Charts (SfCartesianChart) widget and more.
+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.
platform: chart-sdk
control: Chart
documentation: ug
---
-# Step line Chart in Flutter Cartesian Charts (SfCartesianChart)
+# Step Line Chart in Flutter Cartesian Chart
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:
@@ -98,9 +98,9 @@ The [`dashArray`](https://pub.dev/documentation/syncfusion_flutter_charts/latest
#### See Also
-* [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
+* [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
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 c6d7899f8..543c932c3 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 Charts widget | Syncfusion
-description: Learn here all about waterfall chart of Syncfusion Flutter Cartesian Charts (SfCartesianChart) widget and more.
+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.
platform: chart-sdk
control: Chart
documentation: ug
---
-# Waterfall Chart in Flutter Cartesian Charts (SfCartesianChart)
+# Waterfall Chart in Flutter Cartesian Chart
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.
@@ -82,9 +82,9 @@ To render a waterfall chart, create an instance of [`WaterfallSeries`](https://p
#### See Also
-* [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)
+* [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)
diff --git a/chart-sdk/flutter/cartesian-chart/charts-type.md b/chart-sdk/flutter/cartesian-chart/charts-type.md
index 5b075929e..45f79c0f0 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 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.
+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.
platform: chart-sdk
control: Chart
documentation: ug
---
-# Flutter Cartesian Charts Chart Types (SfCartesianChart)
+# Chart Types in Flutter Cartesian Chart
-This page helps to navigate to the Chart types available in the Syncfusion® Flutter Cartesian Charts widgets.
+This page helps you navigate the chart types available in the Syncfusion®® Flutter Cartesian Charts widgets.
@@ -17,7 +17,7 @@ This page helps to navigate to the Chart types available in the Syncfusion&
Line Chart
diff --git a/chart-sdk/flutter/cartesian-chart/export-cartesian-chart.md b/chart-sdk/flutter/cartesian-chart/export-cartesian-chart.md
index 05a351ec0..a501a02d0 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 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.
+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.
platform: chart-sdk
control: Chart
documentation: ug
---
-# Flutter Cartesian Charts Exporting (SfCartesianChart)
+# Exporting in Flutter Cartesian Chart
-[`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.
+[`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.
## Export image
diff --git a/chart-sdk/flutter/cartesian-chart/getting-started.md b/chart-sdk/flutter/cartesian-chart/getting-started.md
index f2038cbe7..486c48fd3 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 Charts | Syncfusion
-description: Step-by-step guide to set up Syncfusion Flutter Cartesian Charts—add dependencies, import, create SfCartesianChart, and configure key features.
+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.
platform: chart-sdk
control: Chart
documentation: ug
---
-# Flutter Cartesian Charts Getting Started (SfCartesianChart)
+# Getting Started with Flutter Cartesian 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.
+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.
-To get started quickly with our Flutter chart widget, you can check out this video.
+To get started quickly with our Flutter chart widget, you can watch 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 pub spec file.
+Add the Syncfusion®® Flutter Chart dependency to your pubspec.yaml file.
{% tabs %}
{% highlight dart %}
@@ -34,7 +34,7 @@ Add the Syncfusion® Flutter Chart dependency to your pub spec fil
{% 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 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.
+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.
{% tabs %}
{% highlight dart hl_lines="7" %}
@@ -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 to users about the data plotted in the chart. The title to 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/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.
{% 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 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).
+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).
-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.
+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.
{% tabs %}
{% highlight dart %}
@@ -357,9 +357,9 @@ The [`tooltipBehavior`](https://pub.dev/documentation/syncfusion_flutter_charts/

-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 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.
+>**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.
#### See Also
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 fc908dd12..ebff64004 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: 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.
+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.
platform: chart-sdk
control: Chart
documentation: ug
---
-# How to add Syncfusion® Cartesian Chart widget in FlutterFlow?
+# How to add Syncfusion® Cartesian Chart in FlutterFlow
## Overview
diff --git a/chart-sdk/flutter/cartesian-chart/legend.md b/chart-sdk/flutter/cartesian-chart/legend.md
index dc5c9a836..48d72db11 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 Charts | Syncfusion
-description: Step-by-step guide to control legends in Syncfusion Flutter Cartesian Charts—enable, position, style, and configure key features.
+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.
platform: chart-sdk
control: Chart
documentation: ug
---
-# Flutter Cartesian Charts Legend (SfCartesianChart)
+# Legend in Flutter Cartesian 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.
+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.
{% 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/flutter/cartesian-charts/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/chart-sdk/flutter/cartesian-chart/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 74f2e3d82..9acd6377b 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 Charts widget | Syncfusion
-description: Learn here all about Localization feature of Syncfusion Flutter Cartesian Charts (SfCartesianChart) widget and more.
+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.
platform: chart-sdk
control: Chart
documentation: ug
---
-# Localization in Flutter Cartesian Charts (SfCartesianChart)
+# Localization in Flutter Cartesian Chart
-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.
+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.
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 24cd9ad87..ab20a52a1 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 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.
+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.
platform: chart-sdk
control: Chart
documentation: ug
---
-# Flutter Cartesian Charts Marker and Data Label (SfCartesianChart)
+# Marker and Data Label in Flutter Cartesian Chart
## 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 the 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 their 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

->**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.
+>**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.
diff --git a/chart-sdk/flutter/cartesian-chart/methods.md b/chart-sdk/flutter/cartesian-chart/methods.md
index 69a113302..8ed80ea56 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 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.
+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.
platform: chart-sdk
control: Chart
documentation: ug
---
-# Flutter Cartesian Charts Methods (SfCartesianChart)
+# Methods in Flutter Cartesian Chart
## Methods in Plot band
@@ -15,7 +15,7 @@ documentation: ug
The `drawRect` method is used to customize the appearance of the plot band.
-This following code sample shows how to customize the appearance of the plot band by using drawRect method.
+The following code sample shows how to customize the appearance of the plot band by using the 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/flutter/cartesian-charts/methods#drawhorizontalaxistooltip-method-in-crosshairbehavior) code sample.
+For further reference, please consult the [`drawHorizontalAxisTooltip`](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/methods#drawhorizontalaxistooltip-method-in-crosshairbehavior) code sample.

@@ -2377,4 +2377,4 @@ and funnel charts.
* [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/flutter/cartesian-charts/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/chart-sdk/flutter/cartesian-chart/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 9a97c35e2..bed2b558e 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 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.
+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.
platform: chart-sdk
control: Chart
documentation: ug
---
-# Flutter Cartesian Charts Multiple Charts (SfCartesianChart)
+# Multiple Charts in Flutter Cartesian Chart
## 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 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.
+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.
{% 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/flutter/cartesian-charts/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/chart-sdk/flutter/cartesian-chart/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 6e907c9b5..249becfcf 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 Charts widget | Syncfusion
-description: Learn here all about On-demand loading feature of Syncfusion Flutter Cartesian Charts (SfCartesianChart) widget and more.
+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.
platform: chart-sdk
control: Chart
documentation: ug
---
-# On-demand loading in Flutter Cartesian Charts (SfCartesianChart)
+# On-demand loading in Flutter Cartesian Chart
-[`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.
+[`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.
To learn more about how to lazy load data while panning in Flutter Charts, you can watch this video.
@@ -69,7 +69,7 @@ The example below demonstrates the infinite scrolling by showing the ci

->**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.
+>**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.
#### See Also
diff --git a/chart-sdk/flutter/cartesian-chart/overview.md b/chart-sdk/flutter/cartesian-chart/overview.md
index 8286f7092..cfd8c74b6 100644
--- a/chart-sdk/flutter/cartesian-chart/overview.md
+++ b/chart-sdk/flutter/cartesian-chart/overview.md
@@ -1,15 +1,15 @@
---
layout: post
-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.
+title: About Syncfusion® Flutter Cartesian Chart | Syncfusion®
+description: Learn here all about introduction of Syncfusion® Flutter Cartesian Chart widget, its features, and more details
platform: chart-sdk
control: Chart
documentation: ug
---
-# Flutter Cartesian Charts Overview (SfCartesianChart)
+# About Syncfusion® Flutter Cartesian Chart
-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.
+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.

diff --git a/chart-sdk/flutter/cartesian-chart/right-to-left.md b/chart-sdk/flutter/cartesian-chart/right-to-left.md
index 1dcf76a4d..e349f4063 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: RTL support in Flutter Cartesian Charts widget | Syncfusion
-description: Learn here about the RTL support in Syncfusion Flutter Cartesian Charts (SfCartesianChart) widget and more.
+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.
platform: chart-sdk
control: Chart
documentation: ug
---
-# Right To Left (RTL) in Flutter Cartesian Chart (SfCartesianChart)
+# Right To Left (RTL) in Flutter Cartesian Chart
-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.
+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.
## RTL rendering ways
diff --git a/chart-sdk/flutter/cartesian-chart/selection.md b/chart-sdk/flutter/cartesian-chart/selection.md
index 09cfce4a6..b37c3de6e 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 Charts widget | Syncfusion
-description: Learn here all about Selection feature of Syncfusion Flutter Cartesian Charts (SfCartesianChart) widget and more.
+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.
platform: chart-sdk
control: Chart
documentation: ug
---
-# Selection in Flutter Cartesian Charts (SfCartesianChart)
+# Selection in Flutter Cartesian Chart
-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.
+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.
{% tabs %}
{% highlight dart %}
@@ -357,10 +357,10 @@ Defaults to `true`.

-Also refer [selection event](https://help.syncfusion.com/flutter/cartesian-charts/callbacks#onselectionchanged) for customizing the selection further.
+Also refer [selection event](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/callbacks#onselectionchanged) for customizing the selection further.
#### 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/flutter/cartesian-charts/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/chart-sdk/flutter/cartesian-chart/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 d45038fb8..a1e733171 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 Charts | Syncfusion
-description: Step-by-step guide to control series in Syncfusion Flutter Cartesian Charts—enable animation, handle empty points, and configure key features.
+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.
platform: chart-sdk
control: Chart
documentation: ug
---
-# Flutter Cartesian Charts Series Customization (SfCartesianChart)
+# Series Customization in Flutter Cartesian Chart
## Animation
-[`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.
+[`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.
{% tabs %}
{% highlight dart hl_lines="13" %}
@@ -696,4 +696,4 @@ The chart’s data source can be sorted using the [`sortingOrder`](https://pub.d
* [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/flutter/cartesian-charts/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/chart-sdk/flutter/cartesian-chart/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 67c8d9dad..298261b58 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 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.
+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.
platform: chart-sdk
control: Chart
documentation: ug
---
-# Flutter Cartesian Charts Technical Indicators (SfCartesianChart)
+# Technical Indicators in Flutter Cartesian Chart
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.
@@ -761,7 +761,7 @@ Refer the following example below
#### See Also
-* [Refer this link for technical indicators callback](https://help.syncfusion.com/flutter/cartesian-charts/callbacks#onrenderdetailsupdate).
+* [Refer this link for technical indicators callback](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/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/flutter/cartesian-charts/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/chart-sdk/flutter/cartesian-chart/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 cf104b868..284f05ee3 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 Charts | Syncfusion
-description: Step-by-step guide to control tooltips in Syncfusion Flutter Cartesian Charts—enable, format, style tooltips, and configure key features.
+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.
platform: chart-sdk
control: Chart
documentation: ug
---
-# Flutter Cartesian Charts Tooltip (SfCartesianChart)
+# Tooltip in Flutter Cartesian Chart
-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 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.
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.
diff --git a/chart-sdk/flutter/cartesian-chart/trackball-crosshair.md b/chart-sdk/flutter/cartesian-chart/trackball-crosshair.md
index 5d3cb3dfc..fbaae00ce 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 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.
+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.
platform: chart-sdk
control: Chart
documentation: ug
---
-# Flutter Cartesian Charts Trackball and Crosshair (SfCartesianChart)
+# Trackball and Crosshair in Flutter Cartesian Chart
## Trackball
-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 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.
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/flutter/cartesian-charts/callbacks#oncrosshairpositionchanging) and [`trackball`](https://help.syncfusion.com/flutter/cartesian-charts/callbacks#ontrackballpositionchanging) events for customizing the crosshair and trackball further.
+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.
#### 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/flutter/cartesian-charts/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/chart-sdk/flutter/cartesian-chart/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 4fe3db09b..a1eea3560 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 Charts widget | Syncfusion
-description: Learn here all about Trendlines feature of Syncfusion Flutter Cartesian Charts (SfCartesianChart) widget and more.
+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.
platform: chart-sdk
control: Chart
documentation: ug
---
-# Trendlines in Flutter Cartesian Charts (SfCartesianChart)
+# Trendlines in Flutter Cartesian Chart
-Trendlines are used to show the direction and speed of price.
+Trendlines are used to show the direction and speed of price changes.
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

-Also refer [`trendline event`](https://help.syncfusion.com/flutter/cartesian-charts/callbacks#onrenderdetailsupdate-trendline) for customizing the tooltip further.
+Also refer [`trendline event`](https://help.syncfusion.com/chart-sdk/flutter/cartesian-chart/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/flutter/cartesian-charts/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/chart-sdk/flutter/cartesian-chart/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 f9ed56329..d1dc8e177 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 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.
+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.
platform: chart-sdk
control: Chart
documentation: ug
---
-# Flutter Cartesian Charts Zooming and Panning (SfCartesianChart)
+# Zooming and Panning in Flutter Cartesian Chart
## 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/flutter/cartesian-charts/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/chart-sdk/flutter/cartesian-chart/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 b2af5b032..d8fbd0a99 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 Charts widget | Syncfusion
-description: Learn here all about Accessibility feature of Syncfusion Flutter Circular Charts (SfCircularChart) widget and more.
+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.
platform: chart-sdk
control: Chart
documentation: ug
---
-# Accessibility in Flutter Circular Charts (SfCircularChart)
+# Accessibility in Flutter Circular Chart
## 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 the 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 colors for all UI elements.
The customization of colors can be done for the following chart elements.
-* [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)
+* [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)
## 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 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)
+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)
## Easily tappable targets
-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
+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
diff --git a/chart-sdk/flutter/circular-chart/annotations.md b/chart-sdk/flutter/circular-chart/annotations.md
index 3e637e0d2..fce8d7cc2 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 Charts widget | Syncfusion
-description: Learn here all about Annotation feature of Syncfusion Flutter Circular Charts (SfCircularChart) widget and more.
+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.
platform: chart-sdk
control: Chart
documentation: ug
---
-# Annotation in Flutter Circular Charts (SfCircularChart)
+# Annotation in Flutter Circular Chart
-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.
+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.
{% tabs %}
{% highlight dart %}
@@ -43,13 +43,13 @@ Chart supports annotations which allows you to mark the specific area of interes
## 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 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%`.
+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%`.
Defaults to `0%`.
**Positioning based on Alignment and Radius**
-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.
+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.
{% tabs %}
{% highlight dart %}
@@ -85,7 +85,7 @@ To place the annotation based on the radius values, set the [`radius`](https://p
## Chart with watermark
-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.
+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.
{% tabs %}
{% highlight dart %}
diff --git a/chart-sdk/flutter/circular-chart/callbacks.md b/chart-sdk/flutter/circular-chart/callbacks.md
index aa5a914f9..4c59d2211 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 Charts widget | Syncfusion
-description: Learn here all about available Callbacks feature of Syncfusion Flutter Circular Charts (SfCircularChart) widget and more.
+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.
platform: chart-sdk
control: Chart
documentation: ug
---
-# Callbacks in Flutter Circular Charts (SfCircularChart)
+# Callbacks in Flutter Circular Chart
Circular chart contains the below listed callbacks
diff --git a/chart-sdk/flutter/circular-chart/chart-appearance.md b/chart-sdk/flutter/circular-chart/chart-appearance.md
index 2c267312f..ed4592b8a 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 Charts widget | Syncfusion
-description: Learn here all about Customization of Syncfusion Flutter Circular Charts (SfCircularChart) widget and more.
+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.
platform: chart-sdk
control: Chart
documentation: ug
---
-# Customization in Flutter Circular Charts (SfCircularChart)
+# Customization in Flutter Circular Chart
## Chart sizing
-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.
+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.
{% tabs %}
{% highlight dart hl_lines="8 10" %}
@@ -38,7 +38,7 @@ Chart renders based on the parent widget size. If you need the chart to be rende
## Chart margin
-Margin to the chart can be specified using the [`margin`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCircularChart/margin.html) property.
+The chart margin 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 @@ Margin to the chart can be specified using the [`margin`](https://pub.dev/docume
## Chart area customization
-You can customize the area of the chart using the below properties.
+You can customize the chart area using the following 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 80747c9cf..67b6f02ac 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 Charts widget | Syncfusion
-description: Learn here all about Chart title feature of Syncfusion Flutter Circular Charts (SfCircularChart) widget and more.
+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.
platform: chart-sdk
control: Chart
documentation: ug
---
-# Chart title in Flutter Circular Charts (SfCircularChart)
+# Chart title in Flutter Circular Chart
-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.
+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.
-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.
@@ -25,7 +25,7 @@ Following properties can be used to customize its appearance.
### 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 030f223bc..94298cf67 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 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.
+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.
platform: chart-sdk
control: Chart
documentation: ug
---
-# Flutter Circular Charts Doughnut Chart (SfCircularChart)
+# Doughnut Chart in Flutter Circular Chart
-To create a Flutter doughnut chart quickly, you can check this video.
+To create a Flutter doughnut chart quickly, you can watch 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 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 a 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 the 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 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 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 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%`.
{% 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 **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).
+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).
{% 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 582ffcc88..b056e2ce7 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 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.
+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.
platform: chart-sdk
control: Chart
documentation: ug
---
-# Flutter Circular Charts Pie Chart (SfCircularChart)
+# Pie Chart in Flutter Circular Chart
-To create a Flutter pie chart quickly, you can check this video.
+To create a Flutter pie chart quickly, you can watch 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 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 a 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 **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).
+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).
{% tabs %}
{% highlight dart hl_lines="12 14" %}
@@ -243,7 +243,7 @@ The small segments in the pie chart can be grouped into **others** category usin
## Various radius for each slice
-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.
+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.
{% 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 ad2d00bc4..887d354ec 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 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.
+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.
platform: chart-sdk
control: Chart
documentation: ug
---
-# Flutter Circular Charts Radial Bar Chart (SfCircularChart)
+# Radial Bar Chart in Flutter Circular Chart
-To create a Flutter radial bar chart quickly, you can check this video.
+To create a Flutter radial bar chart quickly, you can watch this video.
-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:
+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:
* [`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 the 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 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 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 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%`.
{% tabs %}
{% highlight dart hl_lines="13" %}
@@ -131,7 +131,7 @@ You can change the inner radius of radial bar chart using the [`innerRadius`](ht
## Rounded corners
-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).
+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).
{% 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 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 the 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 5301eb87b..bf31467c5 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 Charts widget | Syncfusion
-description: Learn here all about available chart types of Syncfusion Flutter Circular Charts (SfCircularChart) widget and more.
+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.
platform: chart-sdk
control: Chart
documentation: ug
---
-# Chart Types in Flutter Circular Charts (SfCircularChart)
+# Chart Types in Flutter Circular Chart
-This page helps to navigate to the Chart types available in the Syncfusion® Flutter Circular Charts widgets.
+This page helps you navigate to the chart types available in the Syncfusion® Flutter Circular Charts widgets.
@@ -17,7 +17,7 @@ This page helps to navigate to the Chart types available in the Syncfusion&
Pie Chart
diff --git a/chart-sdk/flutter/circular-chart/circular-series-customization.md b/chart-sdk/flutter/circular-chart/circular-series-customization.md
index be549547f..edfcebf29 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 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.
+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.
platform: chart-sdk
control: Chart
documentation: ug
---
-# Flutter Circular Charts Series customization (SfCircularChart)
+# Series Customization in Flutter Circular Chart
## 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 [`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.
+[`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.
{% 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 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`.
+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`.
{% 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 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.
+[`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.
## Color Palette
-[`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.
+[`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.
{% tabs %}
@@ -164,8 +164,7 @@ 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.
@@ -540,7 +539,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 %}
diff --git a/chart-sdk/flutter/circular-chart/datalabel.md b/chart-sdk/flutter/circular-chart/datalabel.md
index 66fe046ba..f5df5b5bf 100644
--- a/chart-sdk/flutter/circular-chart/datalabel.md
+++ b/chart-sdk/flutter/circular-chart/datalabel.md
@@ -1,15 +1,15 @@
---
layout: post
-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.
+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.
platform: chart-sdk
control: Chart
documentation: ug
---
-# Flutter Circular Charts Data label (SfCircularChart)
+# Data Labels in Flutter Circular Chart
-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.
+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.
* [`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 label can be added to a chart series by enabling the [`isVisible`](https://
## Formatting label content
-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.
+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.
{% tabs %}
{% highlight dart %}
@@ -107,7 +107,7 @@ Data label considers the format used in the Circular series by default. In the b
## Positioning the labels
-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 [`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 [`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 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).
+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).
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 920afe3d8..de3be0aff 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 Charts widget | Syncfusion
-description: Learn here all about Exporting feature of Syncfusion Flutter Circular Charts (SfCircularChart) widget and more.
+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.
platform: chart-sdk
control: Chart
documentation: ug
---
-# Exporting in Flutter Circular Charts (SfCircularChart)
+# Exporting in Flutter Circular Chart
[`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, we can get the image by calling [`toImage`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfCircularChartState/toImage.html) method in repaint boundary.
+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.
{% 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 ff1a1d2bd..61fe558ff 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 Charts | Syncfusion
-description: Step-by-step guide to set up Syncfusion Flutter Circular Charts—add dependencies, import, create SfCircularChart, and configure key features.
+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.
platform: chart-sdk
control: Chart
documentation: ug
---
-# Flutter Circular Charts Getting Started (SfCircularChart)
+# Getting Started with Flutter Circular 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 start quickly with our Flutter chart widget, you can check out 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](https://www.syncfusion.com/flutter-widgets/flutter-charts) dependency to your pub spec file.
+Add the Syncfusion® [Flutter Chart](https://www.syncfusion.com/flutter-widgets/flutter-charts) dependency to your pubspec.yaml 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, as we are rendering pie chart, initialize SfCircularChart widget as a child of 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, since we are rendering a pie chart, initialize the SfCircularChart widget as a child of a 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 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.
+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.
{% tabs %}
{% highlight dart %}
@@ -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/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.
+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.
{% 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 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).
+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).
{% tabs %}
{% highlight dart hl_lines="8" %}
@@ -257,7 +257,7 @@ You can use legend in chart by setting the [`isVisible`](https://pub.dev/documen
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 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.
+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.
{% 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 29b1ef5f9..48c60699c 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: Circular Chart Widget in FlutterFlow | Syncfusion
-description: Learn here all about adding Syncfusion Flutter Circular Chart (SfCircularChart) widget in FlutterFlow.
+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.
platform: chart-sdk
control: Chart
documentation: ug
---
-# How to add Syncfusion® Circular Chart widget in FlutterFlow?
+# How to add Syncfusion® Circular 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. 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 on 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 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.
+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.
6. Save the widget.

### Add Circular Chart widget as a dependency
-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.
+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.

-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`.
->**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).
+>**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**: 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 from 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.
+>**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.
### 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.

-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.

### 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 dff9a52fd..41cf81a73 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 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.
+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.
platform: chart-sdk
control: Chart
documentation: ug
---
-# Flutter Circular Charts Legend (SfCircularChart)
+# Legend in Flutter Circular 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.
+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.
{% 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) 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.
+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.
* [`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 enabling the [`toggleSeriesVisibility`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/Legend/toggleSeriesVisibility.html) property.
+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.
{% 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 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 the 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 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).
+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).
{% tabs %}
{% highlight dart hl_lines="10" %}
@@ -255,7 +255,7 @@ The legend items can be placed in multiple rows or scroll can be enabled using t
## Positioning the legend
-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.
+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.
* [`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 16f2df1cf..0a3f25423 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 Charts widget | Syncfusion
-description: Learn here all about available Methods of Syncfusion Flutter Circular Charts (SfCircularChart) widget and more.
+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.
platform: chart-sdk
control: Chart
documentation: ug
---
-# Methods in Flutter Circular Charts (SfCircularChart)
+# Methods in Flutter Circular Chart
## 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 below mentioned arguments are given to the [`showByIndex`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/TooltipBehavior/showByIndex.html) method:
+The following 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 below mentioned arguments are given to the [`showByIndex`](https://pub.dev/d
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 & y - logical pixel values to position the tooltip.
+x and y are logical pixel values used to position the tooltip.
{% tabs %}
{% highlight dart %}
@@ -192,7 +192,7 @@ x & y - logical pixel values 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 displaying tooltip programmatically.
+The [`hide`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/TooltipBehavior/hide.html) method is used to hide the displayed tooltip programmatically.
{% tabs %}
{% highlight dart %}
@@ -313,9 +313,9 @@ The [`selectDataPoints`](https://pub.dev/documentation/syncfusion_flutter_charts
## PixelToPoint
-Converts logical pixel value to the data point value.
+Converts a logical pixel value to the data point value.
-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.
+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.
>**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 7d18f6887..aca03acc4 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 Flutter Circular Charts widget | Syncfusion
-description: Learn here all about introduction of Syncfusion Flutter Circular Charts (SfCircularChart) widget, its features, and more.
+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.
platform: chart-sdk
control: Chart
documentation: ug
---
-# Flutter Circular Charts (SfCircularChart) Overview
+# About Syncfusion® Flutter Circular Chart
-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.
+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.

-To get started quickly with our Flutter circular chart widget, you can check out this video.
+To get started quickly with our Flutter circular chart widget, you can watch this video.
## Key Features
-* **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** - 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.

-* **User interaction** - The end-user experience is greatly enhanced by including the user interaction features such as callbacks, selection, tooltip, and explode in chart.
+* **User interaction** - The end-user experience is enhanced by user interaction features such as callbacks, selection, tooltip, and explode in the chart.
-* **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.
+* **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.

diff --git a/chart-sdk/flutter/circular-chart/right-to-left.md b/chart-sdk/flutter/circular-chart/right-to-left.md
index d17fbfb71..50c686e57 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 Charts widget | Syncfusion
-description: Learn here about the RTL support in Syncfusion Flutter Circular Charts (SfCircularChart) widget and more.
+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.
platform: chart-sdk
control: Chart
documentation: ug
---
-# Right To Left (RTL) in Flutter Circular Chart (SfCircularChart)
+# RTL support in Flutter Circular Chart
-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.
+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.
## 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 as [`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 to [`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 3b9817cde..9ad4eadc0 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 Charts widget | Syncfusion
-description: Learn here all about Selection feature of Syncfusion Flutter Circular Charts (SfCircularChart) widget and more.
+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.
platform: chart-sdk
control: Chart
documentation: ug
---
-# Selection in Flutter Circular Charts (SfCircularChart)
+# Selection in Flutter Circular Chart
-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.
+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.
{% tabs %}
{% highlight dart hl_lines="7" %}
@@ -51,7 +51,7 @@ The selection feature in chart lets you select a segment in a series or the seri
## Customizing the segments
-You can customize the segments using the below properties.
+You can customize the segments using the following 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/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.
+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.
Defaults to `true`.
{% tabs %}
@@ -170,7 +170,7 @@ Defaults to `true`.

-Also refer [`selection event`](https://help.syncfusion.com/flutter/circular-charts/callbacks#onselectionchanged) for customizing the selection further.
+Also refer [`selection event`](https://help.syncfusion.com/chart-sdk/flutter/circular-chart/callbacks#onselectionchanged) for customizing the selection further.
#### See Also
diff --git a/chart-sdk/flutter/circular-chart/tooltip.md b/chart-sdk/flutter/circular-chart/tooltip.md
index 332e0ca36..307a7b8ac 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 Charts widget | Syncfusion
-description: Learn here all about Tooltip feature of Syncfusion Flutter Circular Charts (SfCircularChart) widget and more.
+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.
platform: chart-sdk
control: Chart
documentation: ug
---
-# Tooltip in Flutter Circular Charts (SfCircularChart)
+# Tooltip in Flutter Circular Chart
-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 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`.
-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.
+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.
{% 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 9ee1af87e..8978e7a65 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 widget | Syncfusion
-description: Learn here all about Accessibility feature of Syncfusion Flutter Funnel Chart (SfFunnelChart) widget and more.
+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.
platform: chart-sdk
control: Chart
documentation: ug
---
-# Accessibility in Flutter Funnel Charts (SfFunnelChart)
+# Accessibility in Flutter Funnel Chart
## 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.
-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)
+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)
## 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 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)
+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)
## Easily tappable targets
-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)
+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)
diff --git a/chart-sdk/flutter/funnel-chart/callbacks.md b/chart-sdk/flutter/funnel-chart/callbacks.md
index 56af03f00..6125b3474 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 widget | Syncfusion
-description: Learn here all about Callbacks feature of Syncfusion Flutter Funnel Chart (SfFunnelChart) widget and more.
+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.
platform: chart-sdk
control: Chart
documentation: ug
---
-# Callbacks in Flutter Funnel Chart (SfFunnelChart)
+# Callbacks in Flutter Funnel Chart
-The below Callbacks are for Funnel chart.
+The following callbacks are available for the Funnel chart.
## onLegendItemRender
-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.
+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.
* [`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 rendering. Here, you can customize the legend's
## onTooltipRender
-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.
+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.
* [`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 tooltip is rendering. Here, you can customize the text, header, x
## onDataLabelRender
-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.
+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.
* [`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 data label is rendering. Text and text styles such as color, font
## onLegendTapped
-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.
+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.
* [`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 tapping the legend item. The [`onLegendTapped`](https://pub.dev/do
## 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, unse
## onDataLabelTapped
-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.
+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.
* [`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 tapping on the data label of the data point in the series. The [`o
* [`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 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.
+>**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.
{% tabs %}
{% highlight dart %}
@@ -237,7 +237,7 @@ Triggers when tapping on the data label of the data point in the series. The [`o
## onPointTap
-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.
+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.
* [`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 tapping on the series point. The [`onPointTap`](https://pub.dev/do
## onPointDoubleTap
-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.
+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.
* [`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 double-tap the series point. The [`onPointDoubleTap`](https://pub.
## onPointLongPress
-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.
+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.
* [`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 1bb68e23c..cae9996e2 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 widget | Syncfusion
-description: Learn here all about Appearance customization of Syncfusion Flutter Funnel Chart (SfFunnelChart) widget and more.
+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.
platform: chart-sdk
control: Chart
documentation: ug
---
-# Appearance customization in Flutter Funnel Chart (SfFunnelChart)
+# Appearance customization in Flutter Funnel Chart
## Chart sizing
-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.
+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.
{% tabs %}
{% highlight dart hl_lines="7 8" %}
@@ -36,7 +36,7 @@ Chart renders based on the parent widget size. If you need the chart to be rende
## Chart margin
-Margin to the chart can be specified using the [`margin`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfFunnelChart/margin.html) property.
+The chart margin 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 @@ Margin to the chart can be specified using the [`margin`](https://pub.dev/docume
child: SfFunnelChart(
borderColor: Colors.red,
borderWidth: 2,
- // Sets 15 logical pixels as margin for all the 4 sides.
+ // Sets 15 logical pixels as margin for all four sides.
margin: EdgeInsets.all(15),
series: FunnelSeries(
dataSource: chartData,
@@ -81,7 +81,7 @@ Margin to the chart can be specified using the [`margin`](https://pub.dev/docume
## Chart area customization
-You can customize the area of the chart using the below properties.
+You can customize the chart area using the following 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 3e625bf17..707df3670 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: Learn here all about Chart title feature of Syncfusion Flutter Funnel Chart (SfFunnelChart) widget and more.
+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.
platform: chart-sdk
control: Chart
documentation: ug
@@ -9,14 +9,14 @@ documentation: ug
# Chart title in Flutter Funnel Chart (SfFunnelChart)
-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.
+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.
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, fontStyle, 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, font style, 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.
@@ -24,7 +24,7 @@ Following properties can be used to customize its appearance.
### Title 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/SfFunnelChart/title.html).
+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).
{% tabs %}
{% highlight dart %}
@@ -49,7 +49,7 @@ You can align the title text content horizontally to the near, center or far of
fontSize: 14,
)
),
- // Initialize category axis
+ // Initialize the chart series
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 85c46e209..7625956f8 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 widget | Syncfusion
-description: Learn here all about Data label feature of Syncfusion Flutter Funnel Chart (SfFunnelChart) widget and more.
+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.
platform: chart-sdk
control: Chart
documentation: ug
---
-# Data label in Flutter Funnel Chart (SfFunnelChart)
+# Data label in Flutter Funnel Chart
-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.
+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.
* [`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 color of the data label.
+* [`color`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/DataLabelSettings/color.html) - used to change the data label color.
* [`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 label 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 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 [`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 [`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.
+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.
{% tabs %}
{% highlight dart hl_lines="14" %}
@@ -104,11 +104,11 @@ The [`labelPosition`](https://pub.dev/documentation/syncfusion_flutter_charts/la

->**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.
+>**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.
## 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 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 the 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 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`.
+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`.
{% tabs %}
{% highlight dart hl_lines="17" %}
@@ -180,17 +180,17 @@ Data label and its connector line in the Funnel charts for the point value 0 can
## Data label saturation color
-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).
+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).

## Overflow mode
-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 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.
-Defaults to [`OverflowMode.none`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/OverflowMode.html#none).
+The default is [`OverflowMode.none`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/OverflowMode.html#none).
->**Note**: This is applicable for pie, doughnut, pyramid, and funnel series types alone.
+>**Note**: This is applicable only to pie, doughnut, pyramid, and funnel series types.
{% 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 a69182487..eb1e0dd08 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 widget | Syncfusion
-description: Learn here all about Exporting feature of Syncfusion Flutter Funnel Chart (SfFunnelChart) widget and more.
+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.
platform: chart-sdk
control: Chart
documentation: ug
---
-# Exporting in Flutter Funnel Chart (SfFunnelChart)
+# Exporting in Flutter Funnel Chart
-[`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.
+[`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.
## Export image
-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.
+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.
{% 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 in mobile
+ // Open the PDF document on 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 %}
- 
\ No newline at end of file
+
\ 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 0676177eb..eaa852ad9 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 widget | Syncfusion
-description: Learn here all about Customization of Syncfusion Flutter Funnel Chart (SfFunnelChart) widget and more.
+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.
platform: chart-sdk
control: Chart
documentation: ug
---
-# Customization in Flutter Funnel Chart (SfFunnelChart)
+# Customization in Flutter Funnel Chart
-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 data source.
+* [`pointColorMapper`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartSeries/pointColorMapper.html) - maps the color from the 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('Avacado', 160),
+ ChartData('Avocado', 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 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 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%.
{% tabs %}
{% highlight dart %}
@@ -92,7 +92,7 @@ You can modify the size of funnel series using the [`height`](https://pub.dev/do
## Changing neck size
-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%.
+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%.
{% 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 exploded segment's distance.
+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.
-Also, the segments can be exploded by tapping the segment.
+Also, the segments can be exploded by tapping them.
{% tabs %}
{% highlight dart %}
@@ -205,7 +205,7 @@ Also, the segments can be exploded by tapping the segment.
## 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 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.
+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.
{% tabs %}
{% highlight dart %}
diff --git a/chart-sdk/flutter/funnel-chart/getting-started.md b/chart-sdk/flutter/funnel-chart/getting-started.md
index 7f49cacac..23226f7d9 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 widget | Syncfusion
-description: Learn here about getting started with Syncfusion Flutter Funnel Chart (SfFunnelChart) widget, its elements, and more.
+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.
platform: chart-sdk
control: Chart
documentation: ug
---
-# Getting started with Flutter Funnel Chart (SfFunnelChart)
+# Getting started with Flutter Funnel 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 start quickly with our Flutter chart widget, you can check out 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](https://www.syncfusion.com/flutter-widgets/flutter-charts) dependency to your pub spec file.
+Add the Syncfusion® [Flutter Chart](https://www.syncfusion.com/flutter-widgets/flutter-charts) dependency to your pubspec.yaml 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, as we are rendering Funnel chart, initialize SfFunnelChart widget as a child of 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, since we are rendering a Funnel chart, initialize the SfFunnelChart widget as a child of a 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 charts default behavior.
+>**Note**: An empty chart will be displayed. This is the chart's 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 to 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 of the 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 the data label
+ // Render data labels
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 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).
+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).
{% tabs %}
{% highlight dart %}
@@ -224,7 +224,7 @@ You can use legend in chart by setting the [`isVisible`](https://pub.dev/documen
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 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 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.
{% 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 c1d601d34..9b4b25fcc 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: Funnel Chart Widget in FlutterFlow | Syncfusion
-description: Learn here all about adding Syncfusion Flutter Funnel Chart ( SfFunnelChart Widget ) widget in FlutterFlow .
+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.
platform: chart-sdk
control: Chart
documentation: ug
---
-# How to add Syncfusion® Funnel Chart widget in FlutterFlow?
+# How to add Syncfusion® Funnel Chart in FlutterFlow
## Overview
@@ -35,7 +35,7 @@ Navigate to the [FlutterFlow dashboard](https://app.flutterflow.io/dashboard) an

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 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 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).

@@ -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.

-### Add widget code snippet in code editor
+### Add widget code snippet in the 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.

2. Paste the copied code sample into the code editor, click `Format Code`, and `Save` it.

-### Compiling the codes
+### Compiling the code
-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.

->**Note**: The compilation progress takes 2 to 3 minutes to complete.
+>**Note**: The compilation process 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 f40a36cd1..9654202a3 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 widget | Syncfusion
-description: Learn here all about Legend feature of Syncfusion Flutter Funnel Chart (SfFunnelChart) widget and more.
+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.
platform: chart-sdk
control: Chart
documentation: ug
---
-# Legend in Flutter Funnel Chart (SfFunnelChart)
+# Legend in Flutter Funnel 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.
+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.
{% 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 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.
+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.
* [`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

-## Toggles the series visibility
+## Toggle the series visibility
-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.
+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`.
{% 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 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 the 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 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).
+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).
{% tabs %}
{% highlight dart hl_lines="11" %}
@@ -245,7 +245,7 @@ The legend items can be placed in multiple rows or scroll can be enabled using t
## Positioning the legend
-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.
+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.
* [`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 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.
+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.
{% tabs %}
{% highlight dart %}
diff --git a/chart-sdk/flutter/funnel-chart/methods.md b/chart-sdk/flutter/funnel-chart/methods.md
index 9bf3c9df6..a6b427bc9 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 widget | Syncfusion
-description: Learn here all about available methods of Syncfusion Flutter Funnel Chart(SfFunnelChart) widget and more.
+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.
platform: chart-sdk
control: Chart
documentation: ug
---
-# Methods in Flutter Funnel Chart (SfFunnelChart)
+# Methods in Flutter Funnel Chart
## PixelToPoint
-Converts logical pixel value to the data point value.
+Converts a logical pixel value to a data point value.
-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.
+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.
->**Note**: The method will return the center value of the segment.
+>**Note**: The method returns 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 45b5492cd..026118ad0 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 (SfFunnelChart) widget, its features, and more
+title: About Flutter Funnel Chart widget | Syncfusion®
+description: Learn here all about introduction of Syncfusion® Flutter Funnel Chart widget, its features, and more details
platform: chart-sdk
control: Chart
documentation: ug
@@ -9,16 +9,16 @@ documentation: ug
# Flutter Funnel Chart (SfFunnelChart) Overview
-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.
+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.

## Key Features
-* 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.
+* 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.
-* The end-user experience is greatly enhanced by including the user interaction features such as callbacks, selection, tooltip, and explode in chart.
+* The end-user experience is greatly enhanced by user interaction features such as callbacks, selection, tooltip, and explode in the chart.
-* 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.
+* 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.
-* Provides various options to customize the chart features, labels, legends, series, etc. and visualize them accordingly.
+* It provides various options to customize chart features, labels, legends, series, and more.
diff --git a/chart-sdk/flutter/funnel-chart/right-to-left.md b/chart-sdk/flutter/funnel-chart/right-to-left.md
index af71b5628..b522a44e7 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 widget | Syncfusion
-description: Learn here about the RTL support in Syncfusion Flutter Funnel Chart (SfFunnelChart) widget and more.
+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.
platform: chart-sdk
control: Chart
documentation: ug
---
-# Right To Left (RTL) in Flutter Funnel Chart (SfFunnelChart)
+# Right to Left (RTL) support in Flutter Funnel Chart
-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.
+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.
## RTL rendering ways
Right to left rendering can be switched in the following ways:
-### Wrapping the SfFunnelChart with Directionality widget
+### Wrapping the SfFunnelChart with the 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 as [`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 to [`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 of the RTL languages such as Arabic, Persian, Hebrew, Pashto, and 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 RTL language such as Arabic, Persian, Hebrew, Pashto, or 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 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.
+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.
{% tabs %}
{% highlight dart %}
@@ -120,7 +120,7 @@ Right to left rendering is effective for the legend in the chart. Legend items w
### Tooltip
-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.
+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.
{% tabs %}
{% highlight dart %}
diff --git a/chart-sdk/flutter/funnel-chart/selection.md b/chart-sdk/flutter/funnel-chart/selection.md
index 9cc3c5212..17a4a18d8 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 widget | Syncfusion
-description: Learn here all about Selection feature of Syncfusion Flutter Funnel Chart (SfFunnelChart) widget and more.
+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.
platform: chart-sdk
control: Chart
documentation: ug
---
-# Selection in Flutter Funnel Chart (SfFunnelChart)
+# Selection in Flutter Funnel Chart
-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.
+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.
{% tabs %}
{% highlight dart %}
@@ -48,7 +48,7 @@ The selection feature in chart lets you to select a segment in a series or the s
## Customizing the segments
-You can customize the segments using the below properties.
+You can customize the segments using the following 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 below 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 chart.
+Multiple selection can be enabled using the [`enableMultiSelection`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/SfFunnelChart/enableMultiSelection.html) property of the 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 [`initialSelectedDataIndexes`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ChartSeries/initialSelectedDataIndexes.html) property of chart.
+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.
{% tabs %}
{% highlight dart %}
@@ -151,8 +151,8 @@ You can select a point or series programmatically on a chart using [`initialSele
## Toggle selection
-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.
+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.
Defaults to `true`.
{% tabs %}
@@ -186,7 +186,7 @@ Defaults to `true`.
{% endhighlight %}
{% endtabs %}
-Also refer [selection event](https://help.syncfusion.com/flutter/funnel-chart/callbacks#onselectionchanged) for customizing the selection further.
+Also refer to the [selection event](https://help.syncfusion.com/chart-sdk/flutter/funnel-chart/callbacks#onselectionchanged) for further selection customization.
## 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) is also applicable for this but it is based on the API values specified in the chart.
+>**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.
{% tabs %}
{% highlight dart %}
diff --git a/chart-sdk/flutter/funnel-chart/series-customization.md b/chart-sdk/flutter/funnel-chart/series-customization.md
index 35b5f53b3..a5b970047 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 widget | Syncfusion
-description: Learn here all about Series customization feature of Syncfusion Flutter Funnel Chart (SfFunnelChart) widget and more.
+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.
platform: chart-sdk
control: Chart
documentation: ug
---
-# Series customization in Flutter Funnel Chart (SfFunnelChart)
+# Series customization in Flutter Funnel Chart
## Animation
-[`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.
+[`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.
{% 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 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`.
+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`.
{% tabs %}
{% highlight dart %}
@@ -80,7 +80,7 @@ The [`animationDelay`](https://pub.dev/documentation/syncfusion_flutter_charts/l
## 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/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).
+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).
{% tabs %}
{% highlight dart %}
@@ -117,7 +117,7 @@ The data points that has null value are considered as empty points. Empty data p
### Empty point customization
-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.
+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.
{% tabs %}
{% highlight dart %}
diff --git a/chart-sdk/flutter/funnel-chart/tooltip.md b/chart-sdk/flutter/funnel-chart/tooltip.md
index 161056e3e..21b368fab 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: Step-by-step guide to customize tooltips in Syncfusion Flutter Funnel Chart—enable, format, style tooltips, set activation modes, and key features.
+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.
platform: chart-sdk
control: Chart
documentation: ug
---
-# Flutter Funnel Chart Tooltip (SfFunnelChart)
+# Tooltip in Flutter Funnel Chart
-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 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.
-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.
+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.
{% tabs %}
{% highlight dart %}
@@ -19,14 +19,14 @@ The tooltip state will be preserved on the device's orientation change and on br
late TooltipBehavior _tooltipBehavior;
@override
- void initState(){
+ void initState() {
_tooltipBehavior = TooltipBehavior(enable: true);
super.initState();
}
@override
Widget build(BuildContext context) {
- List chartData = [
+ final List chartData = [
ChartData('Jan', 35),
ChartData('Feb', 28),
ChartData('Mar', 38),
@@ -48,7 +48,7 @@ The tooltip state will be preserved on the device's orientation change and on br
)
);
}
- 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 that default to 350.
+* [`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.
* [`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

-## Activation mode
+## Activation mode
-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`](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 enum contains the following values:
-* [`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.
+* [`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.
{% tabs %}
{% highlight dart %}
@@ -274,4 +274,4 @@ The ActivationMode enum contains the following values:
{% endhighlight %}
{% endtabs %}
-Also refer [`tooltip event`](./callbacks#ontooltiprender) for customizing the tooltip further.
\ No newline at end of file
+Also refer to the [`tooltip event`](./callbacks#ontooltiprender) for further tooltip customization.
\ 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 756b50482..a1ff5047d 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 widget | Syncfusion
-description: Learn here all about the accessibility support in Syncfusion Flutter Linear Gauge (SfLinearGauge) widget and how to customize it.
+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.
platform: chart-sdk
control: SfLinearGauge
documentation: ug
@@ -14,21 +14,33 @@ 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 %}
- double _value = 50;
+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 Scaffold(
- body: Semantics(
- label: 'Syncfusion Flutter Linear Gauge',
- value: _value.toString(),
- child:
- SfLinearGauge(markerPointers: [LinearShapePointer(value: _value)]),
+ 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)],
+ ),
+ ),
),
);
}
+}
{% endhighlight %}
{% endtabs %}
@@ -37,22 +49,22 @@ The [`SfLinearGauge`](https://pub.dev/documentation/syncfusion_flutter_gauges/la
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/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)
+* [`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)
## 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/flutter/linear-gauge/labels#customize-label-styles)
+* [`Labels`]https://help.syncfusion.com/chart-sdk/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 88c10724d..989023e4a 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 widget | Syncfusion
-description: Learn here all about adding and customizing animation of Syncfusion Flutter Linear Gauge (SfLinearGauge) widget and more.
+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.
platform: chart-sdk
control: SfLinearGauge
documentation: ug
@@ -15,8 +15,17 @@ 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(
@@ -30,8 +39,10 @@ The [`animateAxis`](https://pub.dev/documentation/syncfusion_flutter_gauges/late
),
);
}
+}
{% endhighlight %}
+{% endtabs %}

@@ -39,8 +50,17 @@ The [`animateAxis`](https://pub.dev/documentation/syncfusion_flutter_gauges/late
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(
@@ -54,10 +74,12 @@ The [`animateRange`](https://pub.dev/documentation/syncfusion_flutter_gauges/lat
),
);
}
+}
- {% endhighlight %}
+{% endhighlight %}
+{% endtabs %}
- 
+
## Pointer animation
@@ -83,7 +105,16 @@ The [`animationType`](https://pub.dev/documentation/syncfusion_flutter_gauges/la
The following code example demonstrates how to customize the animation for bar pointer:
-{% highlight dart %}
+{% 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) {
@@ -103,8 +134,10 @@ The following code example demonstrates how to customize the animation for bar p
),
);
}
+}
{% endhighlight %}
+{% endtabs %}
### Animate marker pointers (Shape and Widget Pointers)
@@ -112,4 +145,41 @@ 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 %}
+

diff --git a/chart-sdk/flutter/linear-gauge/axis.md b/chart-sdk/flutter/linear-gauge/axis.md
index f11e4780b..dee84dea2 100644
--- a/chart-sdk/flutter/linear-gauge/axis.md
+++ b/chart-sdk/flutter/linear-gauge/axis.md
@@ -1,10 +1,9 @@
---
layout: post
-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.
+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.
platform: chart-sdk
control: SfLinearGauge
-
documentation: ug
---
@@ -14,10 +13,19 @@ The Linear Gauge axis is a scale where a set of values can be plotted. An axis c
## Default axis
-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:
+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:
+{% 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(
@@ -28,17 +36,28 @@ By default axis will have a [`minimum`](https://pub.dev/documentation/syncfusion
),
);
}
+}
{% endhighlight %}
+{% endtabs %}

## 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 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.
+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.
+{% 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(
@@ -49,8 +68,10 @@ The [`minimum`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/g
),
);
}
-
+}
+
{% endhighlight %}
+{% endtabs %}

@@ -89,8 +110,17 @@ 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(
@@ -103,10 +133,12 @@ The code snippet below sets a solid color to the axis track:
),
);
}
+}
{% endhighlight %}
+{% endtabs %}
-
+
## Apply gradient
@@ -114,23 +146,30 @@ 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: 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,
- ),
+ 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,
),
),
),
@@ -138,10 +177,12 @@ The following code sample applies a gradient to the axis track.
),
);
}
+}
{% endhighlight %}
+{% endtabs %}
-
+
## Customize borders
@@ -149,8 +190,17 @@ 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(
@@ -160,7 +210,7 @@ The code snippet below sets a border to the axis track:
axisTrackStyle: LinearAxisTrackStyle(
// Sets axis thickness for the better visibility of border
thickness: 15,
- // Hides axis axis color for the better visibility of border
+ // Hides axis color for the better visibility of border
color: Colors.transparent,
//Sets the border color
borderColor: Colors.blueGrey,
@@ -172,8 +222,10 @@ The code snippet below sets a border to the axis track:
),
);
}
+}
{% endhighlight %}
+{% endtabs %}

@@ -181,8 +233,17 @@ The code snippet below sets a border to the axis track:
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(
@@ -198,18 +259,28 @@ The [`edgeStyle`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest
),
);
}
+}
{% endhighlight %}
+{% endtabs %}

## Inverse the axis
-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.
+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.
+{% 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(
@@ -220,8 +291,10 @@ When the [`isAxisInversed`](https://pub.dev/documentation/syncfusion_flutter_gau
),
);
}
+}
{% endhighlight %}
+{% endtabs %}
You can see that the axis values are displayed from 100 to 0 as the axis track is inversed.
@@ -229,23 +302,34 @@ 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: child: SfLinearGauge(maximum: 50, axisTrackExtent: 50),
+ child: SfLinearGauge(maximum: 50, axisTrackExtent: 50),
),
),
);
}
+}
{% endhighlight %}
+{% endtabs %}

@@ -253,8 +337,17 @@ The axis track can be extended using the [`axisTrackExtent`](https://pub.dev/doc
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(
@@ -265,17 +358,33 @@ You can hide the axis track by setting the [`showAxisTrack`](https://pub.dev/doc
),
);
}
+}
{% endhighlight %}
+{% endtabs %}

## Customize axis values
-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.
+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.
+{% 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
@@ -302,66 +411,76 @@ Linear gauge allows you to display a set of values along with a custom axis base
}
Widget _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)
- ],
+ 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(),
+ ),
),
- margin: EdgeInsets.all(10)
);
}
+}
{% endhighlight %}
+{% endtabs %}

\ 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 cab0cbe6a..1f084fe93 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 widget | Syncfusion
-description: Learn here all about adding and customizing Bar Pointer of Syncfusion Flutter Linear Gauge (SfLinearGauge) widget and more.
+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.
platform: chart-sdk
control: SfLinearGauge
documentation: ug
@@ -13,10 +13,19 @@ 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(
@@ -33,17 +42,28 @@ The following code sample creates a default bar pointer with the value 50.
),
);
}
-
+}
+
{% endhighlight %}
+{% endtabs %}

## 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(
@@ -62,17 +82,28 @@ The thickness can be changed by the [`thickness`](https://pub.dev/documentation/
),
);
}
-
+}
+
{% endhighlight %}
+{% endtabs %}

## 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(
@@ -94,8 +125,10 @@ The edge style can be changed with the [`edgeStyle`](https://pub.dev/documentati
),
);
}
-
+}
+
{% endhighlight %}
+{% endtabs %}

@@ -103,8 +136,17 @@ The edge style can be changed with the [`edgeStyle`](https://pub.dev/documentati
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(
@@ -122,17 +164,28 @@ By default, the bar pointer is positioned cross to the axis. This position can b
),
);
}
-
+}
+
{% endhighlight %}
+{% endtabs %}

## 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(
@@ -152,17 +205,28 @@ In addition to positioning the bar pointer, it is also possible to change the of
),
);
}
-
+}
+
{% endhighlight %}
+{% endtabs %}

-## 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(
@@ -182,8 +246,10 @@ The color of the bar pointer can be changed by the [`color`](https://pub.dev/doc
),
);
}
-
+}
+
{% endhighlight %}
+{% endtabs %}

@@ -191,8 +257,17 @@ The color of the bar pointer can be changed by the [`color`](https://pub.dev/doc
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(
@@ -205,21 +280,23 @@ The gradient can be applied by using the [`shaderCallback`](https://pub.dev/docu
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 %}

@@ -227,8 +304,17 @@ The gradient can be applied by using the [`shaderCallback`](https://pub.dev/docu
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(
@@ -253,8 +339,10 @@ The gradient can be applied by using the [`shaderCallback`](https://pub.dev/docu
),
);
}
-
+}
+
{% endhighlight %}
+{% endtabs %}

@@ -262,8 +350,17 @@ The gradient can be applied by using the [`shaderCallback`](https://pub.dev/docu
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(
@@ -275,26 +372,28 @@ The gradient can be applied by using the [`shaderCallback`](https://pub.dev/docu
LinearBarPointer(
value: 100,
thickness: 10,
- //Apply linear gradient
+ //Apply sweep 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 %}

@@ -303,8 +402,17 @@ The gradient can be applied by using the [`shaderCallback`](https://pub.dev/docu
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(
@@ -324,19 +432,30 @@ The border can be customized with [`borderWidth`](https://pub.dev/documentation/
),
);
}
-
+}
+
{% endhighlight %}
+{% endtabs %}

## 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. 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:
+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:
+{% tabs %}
{% highlight dart %}
-@override
+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(
@@ -349,7 +468,7 @@ You can add multiple bar pointers in a [`LinearGauge`](https://pub.dev/documenta
),
LinearBarPointer(
value: 40,
- // Setting offset to move the bar from previos one
+ // Setting offset to move the bar from previous one
offset: 10,
position: LinearElementPosition.outside
),
@@ -359,8 +478,10 @@ You can add multiple bar pointers in a [`LinearGauge`](https://pub.dev/documenta
),
);
}
+}
{% endhighlight %}
+{% endtabs %}

@@ -368,8 +489,17 @@ You can add multiple bar pointers in a [`LinearGauge`](https://pub.dev/documenta
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(
@@ -379,7 +509,8 @@ The [`onAnimationCompleted`](https://pub.dev/documentation/syncfusion_flutter_ga
barPointers:[
LinearBarPointer(
onAnimationCompleted: () {
- print("Bar Pointer animation is completed");
+ // Bar Pointer animation is completed
+ debugPrint('Bar Pointer animation is completed');
},
),
],
@@ -388,5 +519,7 @@ The [`onAnimationCompleted`](https://pub.dev/documentation/syncfusion_flutter_ga
),
);
}
+}
{% endhighlight %}
+{% endtabs %}
diff --git a/chart-sdk/flutter/linear-gauge/getting-started.md b/chart-sdk/flutter/linear-gauge/getting-started.md
index c121533f7..22005bdfa 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: Step-by-step guide to set up Syncfusion Flutter Linear Gauge (SfLinearGauge)—add dependencies, import, create `SfLinearGauge`, and configure key features.
+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.
platform: chart-sdk
control: SfLinearGauge
documentation: ug
---
-# Flutter Linear Gauge Getting Started (SfLinearGauge)
+# Getting Started with Flutter Linear Gauge (SfLinearGauge)
-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.
+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.
To get started quickly with our Flutter Linear Gauge widget, you can check out this video:
@@ -24,13 +24,14 @@ 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.
@@ -38,40 +39,55 @@ 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 %}

@@ -79,8 +95,17 @@ After the package has been imported, initialize the [`SfLinearGauge`](https://pu
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(
@@ -91,8 +116,10 @@ The Linear Gauge axis is a scale where a set of values can be plotted. You can s
)
);
}
+}
{% endhighlight %}
+{% endtabs %}

@@ -100,32 +127,72 @@ The Linear Gauge axis is a scale where a set of values can be plotted. You can s
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 %}
- SfLinearGauge(
- orientation: LinearGaugeOrientation.vertical
- ),
+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
+ )
+ )
+ )
+ );
+ }
+}
{% endhighlight %}
+{% endtabs %}

## Add range
-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.
+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.
+{% tabs %}
{% highlight dart %}
- SfLinearGauge(
- ranges: [
- //First range
- LinearGaugeRange(startValue: 0, endValue: 50, color: Colors.green),
- //Second range
- LinearGaugeRange(startValue: 50, endValue: 100, color: Colors.blue)
- ]
- )
+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)
+ ]
+ )
+ )
+ )
+ );
+ }
+}
{% endhighlight %}
+{% endtabs %}

@@ -135,34 +202,74 @@ 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 %}
- SfLinearGauge(
- markerPointers: [LinearShapePointer(value: 50)]
- ),
+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)]
+ )
+ )
+ )
+ );
+ }
+}
{% endhighlight %}
+{% endtabs %}

The following code sample demonstrates how to add a widget pointer.
+{% tabs %}
{% highlight dart %}
- SfLinearGauge(
- markerPointers: [
- 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(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)
+ ),
+ ),
+ ],
+ )
+ )
+ )
+ );
+ }
+}
{% endhighlight %}
+{% endtabs %}

@@ -170,65 +277,89 @@ The following code sample demonstrates how to add a widget pointer.
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 %}
- SfLinearGauge(
- barPointers: [LinearBarPointer(value: 40)]
- ),
+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)]
+ )
+ )
+ )
+ );
+ }
+}
{% endhighlight %}
+{% endtabs %}

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(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)
- ),
+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)
),
- ],
- barPointers: [LinearBarPointer(value: 40)]
- ),
- )
+ ),
+ ],
+ barPointers: [LinearBarPointer(value: 40)]
+ ),
)
- );
- }
+ )
+ );
}
+}
{% endhighlight %}
+{% endtabs %}

\ 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 548e6a087..a79f20fa1 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: Linear Gauge Widget in FlutterFlow | Syncfusion
-description: Learn here all about adding Syncfusion Flutter Linear Gauge ( SfLinearGauge Widget ) widget in FlutterFlow.
+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.
platform: chart-sdk
control: SfLinearGauge
documentation: ug
---
-# How to add Syncfusion® Linear Gauge widget in FlutterFlow?
+# How to Add Linear Gauge in FlutterFlow (SfLinearGauge)
## Overview
@@ -35,7 +35,7 @@ Navigate to the [FlutterFlow dashboard](https://app.flutterflow.io/dashboard) an

3. Paste the copied dependency into the text editor, then click `Refresh` and `Save` it.
->**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).
+>**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).

@@ -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 codes.
+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.

2. Paste the copied code sample into the code editor, click `Format Code`, and `Save` it.
-
+
-### Compiling the codes
+### Compiling the code
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
new file mode 100644
index 000000000..8d203d8c4
Binary files /dev/null and b/chart-sdk/flutter/linear-gauge/how-to/how-to-section-images/Adding-code-snippet.png differ
diff --git a/chart-sdk/flutter/linear-gauge/interaction.md b/chart-sdk/flutter/linear-gauge/interaction.md
index e2de4ba9d..bac9017a6 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 widget | Syncfusion
-description: Learn here all about the interactions in Syncfusion Flutter Linear Gauge (SfLinearGauge) widget and more
+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.
platform: chart-sdk
control: SfLinearGauge
documentation: ug
@@ -17,8 +17,18 @@ 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
@@ -44,15 +54,27 @@ The following code sample demonstrates how to update a simple marker pointer val
),
);
}
+}
{% endhighlight %}
+{% endtabs %}

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;
@@ -169,7 +191,9 @@ The following code sample demonstrates how to update multiple marker pointer val
)
);
}
+}
{% endhighlight %}
+{% endtabs %}

\ 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 c8dc2c715..6a8d990fa 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 widget | Syncfusion
-description: Learn here all about adding and customizing Labels of Syncfusion Flutter Linear Gauge (SfLinearGauge) widget and more.
+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.
platform: chart-sdk
control: SfLinearGauge
documentation: ug
@@ -23,7 +23,16 @@ 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.
-{% highlight dart %}
+{% 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) {
@@ -43,8 +52,10 @@ Axis labels can be customized using the [`axisLabelStyle`](https://pub.dev/docum
)
);
}
+}
{% endhighlight %}
+{% endtabs %}

@@ -52,7 +63,16 @@ Axis labels can be customized using the [`axisLabelStyle`](https://pub.dev/docum
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.
-{% highlight dart %}
+{% 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) {
@@ -64,8 +84,10 @@ The [`showLabels`](https://pub.dev/documentation/syncfusion_flutter_gauges/lates
),
);
}
+}
{% endhighlight %}
+{% endtabs %}

@@ -73,7 +95,16 @@ The [`showLabels`](https://pub.dev/documentation/syncfusion_flutter_gauges/lates
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.
-{% highlight dart %}
+{% 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) {
@@ -87,8 +118,10 @@ The [`interval`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/
),
);
}
+}
{% endhighlight %}
+{% endtabs %}

@@ -96,7 +129,16 @@ The [`interval`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/
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.
-{% highlight dart %}
+{% 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) {
@@ -111,8 +153,10 @@ The linear axis allows you to position the labels either `inside` or `outside` t
)
);
}
+}
{% endhighlight %}
+{% endtabs %}

@@ -121,7 +165,16 @@ The linear axis allows you to position the labels either `inside` or `outside` t
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.
-{% highlight dart %}
+{% 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) {
@@ -135,8 +188,10 @@ The [`labelOffset`](https://pub.dev/documentation/syncfusion_flutter_gauges/late
)
);
}
+}
{% endhighlight %}
+{% endtabs %}

@@ -144,7 +199,16 @@ The [`labelOffset`](https://pub.dev/documentation/syncfusion_flutter_gauges/late
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.
-{% highlight dart %}
+{% 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) {
@@ -158,8 +222,10 @@ By default, a maximum of three labels is displayed for every 100 logical pixels
)
);
}
+}
{% endhighlight %}
+{% endtabs %}

@@ -167,24 +233,44 @@ By default, a maximum of three labels is displayed for every 100 logical pixels
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 %}
- SfLinearGauge(
- labelFormatterCallback: (label) {
- if (label == '0') {
- return 'Start';
- }
- if (label == '50') {
- return 'Mid';
- }
- if (label == '100') {
- return 'End';
- }
- return label;
- }
- )
+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;
+ }
+ )
+ )
+ )
+ );
+ }
+}
{% endhighlight %}
+{% endtabs %}

@@ -192,13 +278,33 @@ You can format or change the whole numeric label text using the [`labelFormatter
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 %}
- SfLinearGauge(
- numberFormat: NumberFormat("\$")
- ),
+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);
+
+ @override
+ Widget build(BuildContext context) {
+ return MaterialApp(
+ home: Scaffold(
+ body: Center(
+ child: SfLinearGauge(
+ numberFormat: NumberFormat("\$")
+ )
+ )
+ )
+ );
+ }
+}
{% endhighlight %}
+{% endtabs %}

\ 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 cb9c35fe8..f3804a208 100644
--- a/chart-sdk/flutter/linear-gauge/mirror-linear-gauge.md
+++ b/chart-sdk/flutter/linear-gauge/mirror-linear-gauge.md
@@ -1,26 +1,43 @@
---
layout: post
-title: Mirror in Flutter Linear Gauge widget | Syncfusion
-description: Learn here about mirroring the Syncfusion Flutter Linear Gauge (SfLinearGauge) widget with isMirrored property
+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.
platform: chart-sdk
control: SfLinearGauge
documentation: ug
---
-# Mirrored in Flutter Linear Gauge (SfLinearGauge)
+# Mirroring 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 Center(
- child: SfLinearGauge(isMirrored: true)
+ return MaterialApp(
+ title: 'Linear Gauge Demo',
+ theme: ThemeData(primarySwatch: Colors.blue),
+ home: const Scaffold(
+ body: Center(
+ child: SfLinearGauge(isMirrored: true),
+ ),
+ ),
);
}
+}
{% endhighlight %}
+{% endtabs %}

diff --git a/chart-sdk/flutter/linear-gauge/overview.md b/chart-sdk/flutter/linear-gauge/overview.md
index 4b07d6a2b..2d6dfdaac 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 widget | Syncfusion
-description: Learn here all about introduction of Syncfusion Flutter Linear Gauge (SfLinearGauge) widget, its features, and more.
+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.
platform: chart-sdk
control: SfLinearGauge
documentation: ug
---
-# Flutter Linear Gauge (SfLinearGauge) Overview
+# About Flutter Linear Gauge Control (SfLinearGauge)
-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.
+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.

## Key Features
-* **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.
+* **[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.
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 462cfcd38..72dabcf27 100644
--- a/chart-sdk/flutter/linear-gauge/range.md
+++ b/chart-sdk/flutter/linear-gauge/range.md
@@ -1,17 +1,26 @@
---
layout: post
-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.
+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.
platform: chart-sdk
control: SfLinearGauge
documentation: ug
---
-# Range in Flutter Linear Gauge (SfLinearGauge)
+# Ranges 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.
-{% highlight dart %}
+{% 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) {
@@ -30,8 +39,10 @@ A range is a visual element that helps you quickly visualize where a range falls
),
);
}
-
+}
+
{% endhighlight %}
+{% endtabs %}

@@ -42,7 +53,16 @@ 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.
-{% highlight dart %}
+{% 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) {
@@ -66,8 +86,10 @@ However, to draw concave, convex and exponential-like shapes the [`midValue`](ht
),
);
}
-
+}
+
{% endhighlight %}
+{% endtabs %}

@@ -77,7 +99,16 @@ The [`edgeStyle`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest
The default value is `bothFlat`.
-{% highlight dart %}
+{% 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) {
@@ -104,8 +135,10 @@ The default value is `bothFlat`.
),
);
}
-
+}
+
{% endhighlight %}
+{% endtabs %}

@@ -113,7 +146,16 @@ The default value is `bothFlat`.
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.
-{% highlight dart %}
+{% 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) {
@@ -130,8 +172,10 @@ The color of a range can be changed by setting the [`color`](https://pub.dev/doc
),
);
}
+}
{% endhighlight %}
+{% endtabs %}

@@ -139,7 +183,16 @@ The color of a range can be changed by setting the [`color`](https://pub.dev/doc
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.
-{% highlight dart %}
+{% 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) {
@@ -166,16 +219,27 @@ The gradient can be applied by using the [`shaderCallback`](https://pub.dev/docu
),
);
}
-
+}
+
{% endhighlight %}
+{% endtabs %}
-
+
## Apply linear gradient to a range
The below code snippet demonstrates applying a linear gradient to the range.
-{% highlight dart %}
+{% 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) {
@@ -199,16 +263,27 @@ The below code snippet demonstrates applying a linear gradient to the range.
),
);
}
-
+}
+
{% endhighlight %}
+{% endtabs %}
-
+
## Apply sweep gradient to a range
The below code snippet demonstrates applying a sweep gradient to the range.
-{% highlight dart %}
+{% 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) {
@@ -238,16 +313,27 @@ The below code snippet demonstrates applying a sweep gradient to the range.
),
);
}
-
+}
+
{% endhighlight %}
+{% endtabs %}
-
+
## 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.
-{% highlight dart %}
+{% 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) {
@@ -265,8 +351,10 @@ It is possible to position the ranges `inside`, `cross`, and `outside` the axis.
),
);
}
-
+}
+
{% endhighlight %}
+{% endtabs %}

@@ -274,38 +362,58 @@ It is possible to position the ranges `inside`, `cross`, and `outside` the axis.
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.
-{% 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),
+{% 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),
+ ),
+ ],
+ ),
+ ),
),
- ],
- )
- )
+ ),
+ );
+ }
+}
{% endhighlight %}
+{% endtabs %}

@@ -313,7 +421,16 @@ You can set range color to axis elements using the [`useRangeColorForAxis`](http
You can add multiple ranges for an axis. The below code example demonstrates adding three ranges in a Linear Gauge.
-{% highlight dart %}
+{% 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) {
@@ -340,7 +457,9 @@ You can add multiple ranges for an axis. The below code example demonstrates add
),
);
}
+}
{% endhighlight %}
+{% endtabs %}

\ 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 67dfc1151..9df0ac613 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 widget | Syncfusion
-description: Learn here all about adding and customizing Shape Marker Pointer of Syncfusion Flutter Linear Gauge (SfLinearGauge) widget and more.
+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.
platform: chart-sdk
control: SfLinearGauge
documentation: ug
@@ -17,9 +17,18 @@ The [`LinearShapePointer`](https://pub.dev/documentation/syncfusion_flutter_gaug
4. `Diamond`
5. `Rectangle`
-The following is the default appearance of default shape pointer.
+The following is the default appearance of the default shape pointer.
-{% highlight dart %}
+{% 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) {
@@ -33,8 +42,10 @@ The following is the default appearance of default shape pointer.
),
);
}
-
+}
+
{% endhighlight %}
+{% endtabs %}

@@ -42,7 +53,16 @@ The following is the default appearance of default shape pointer.
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:
-{% highlight dart %}
+{% 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) {
@@ -57,8 +77,10 @@ The size of the marker pointer can be changed by the [`height`](https://pub.dev/
),
);
}
-
+}
+
{% endhighlight %}
+{% endtabs %}

@@ -66,7 +88,16 @@ The size of the marker pointer can be changed by the [`height`](https://pub.dev/
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.
-{% highlight dart %}
+{% 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) {
@@ -81,8 +112,10 @@ The color of the shape pointer can be changed by the [`color`](https://pub.dev/d
),
);
}
-
+}
+
{% endhighlight %}
+{% endtabs %}

@@ -90,7 +123,16 @@ The color of the shape pointer can be changed by the [`color`](https://pub.dev/d
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).
-{% highlight dart %}
+{% 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) {
@@ -109,8 +151,10 @@ The border can be customized by the [`borderColor`](https://pub.dev/documentatio
),
);
}
-
+}
+
{% endhighlight %}
+{% endtabs %}

@@ -118,7 +162,16 @@ The border can be customized by the [`borderColor`](https://pub.dev/documentatio
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.
-{% highlight dart %}
+{% 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) {
@@ -141,16 +194,27 @@ The elevation can be customized by the [`elevation`](https://pub.dev/documentati
),
);
}
-
+}
+
{% endhighlight %}
+{% endtabs %}

## 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`.
+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());
-{% highlight dart %}
+class LinearGaugeDemo extends StatelessWidget {
+ const LinearGaugeDemo({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
@@ -169,16 +233,27 @@ The marker pointer alignment can be changed by the [`markerAlignment`](https://p
),
);
}
-
+}
+
{% endhighlight %}
+{% endtabs %}

## 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 change the shape pointer position to inside the axis.
+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';
-{% highlight dart %}
+void main() => runApp(const LinearGaugeDemo());
+
+class LinearGaugeDemo extends StatelessWidget {
+ const LinearGaugeDemo({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
@@ -198,16 +273,27 @@ By default, the shape pointer is positioned `outside` the axis. This position ca
),
);
}
-
+}
+
{% endhighlight %}
+{% endtabs %}

## Customize offset
-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.
+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 %}
-{% 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) {
@@ -228,8 +314,10 @@ In addition to position the shape pointer, it is also possible to change the off
),
);
}
-
+}
+
{% endhighlight %}
+{% endtabs %}

@@ -241,8 +329,22 @@ 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;
@@ -279,15 +381,31 @@ The `LinearMarkerDragBehavior.constrained` can be used to limit the active point
),
);
}
+}
{% endhighlight %}
+{% endtabs %}

### 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;
@@ -324,17 +442,33 @@ The `LinearMarkerDragBehavior.constrained` can be used to limit the active point
),
);
}
+}
{% endhighlight %}
+{% endtabs %}

## 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 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.
+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.
+{% 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
@@ -361,15 +495,26 @@ The [`LinearShapePointer`](https://pub.dev/documentation/syncfusion_flutter_gaug
),
);
}
+}
{% 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(
@@ -379,7 +524,8 @@ The [`onAnimationCompleted`](https://pub.dev/documentation/syncfusion_flutter_ga
markerPointers:[
LinearShapePointer(
onAnimationCompleted: () {
- print("Shape Pointer animation is completed");
+ // Shape Pointer animation is completed
+ debugPrint('Shape Pointer animation is completed');
},
),
],
@@ -388,5 +534,7 @@ The [`onAnimationCompleted`](https://pub.dev/documentation/syncfusion_flutter_ga
),
);
}
+}
{% endhighlight %}
+{% endtabs %}
diff --git a/chart-sdk/flutter/linear-gauge/ticks.md b/chart-sdk/flutter/linear-gauge/ticks.md
index 2aebcf973..a98a41d05 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 widget | Syncfusion
-description: Learn here all about adding and customizing Ticks of Syncfusion Flutter Linear Gauge (SfLinearGauge) widget and more.
+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.
platform: chart-sdk
control: SfLinearGauge
documentation: ug
@@ -15,12 +15,20 @@ 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. 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. 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:
* [`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) – Specifics the length of ticks.
+* [`length`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/MajorTickStyle/length.html) – Specifies the length of ticks.
-{% highlight dart %}
+{% 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) {
@@ -35,8 +43,9 @@ There are two types of ticks in the Flutter Linear Gauge namely major and minor
)
);
}
-
+}
{% endhighlight %}
+{% endtabs %}

@@ -44,20 +53,29 @@ There are two types of ticks in the Flutter Linear Gauge namely major and minor
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.
-{% highlight dart %}
+{% 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(minorTicksPerInterval: 4)
+ body: Center(
+ child: SfLinearGauge(minorTicksPerInterval: 4)
)
)
);
}
-
+}
{% endhighlight %}
+{% endtabs %}

@@ -65,7 +83,15 @@ The major ticks are generated based on the [`interval`](https://pub.dev/document
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.
-{% highlight dart %}
+{% 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) {
@@ -79,8 +105,9 @@ The [`showTicks`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest
)
);
}
-
+}
{% endhighlight %}
+{% endtabs %}

@@ -88,7 +115,15 @@ The [`showTicks`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest
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.
-{% highlight dart %}
+{% 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) {
@@ -103,8 +138,9 @@ The linear axis allows positioning the ticks either inside or outside the axis t
)
);
}
-
+}
{% endhighlight %}
+{% endtabs %}

@@ -113,7 +149,15 @@ The linear axis allows positioning the ticks either inside or outside the axis t
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.
-{% highlight dart %}
+{% 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) {
@@ -125,8 +169,9 @@ The ticks can be moved near or far from the axis line using the [`tickOffset`](h
)
);
}
-
+}
{% endhighlight %}
+{% endtabs %}

diff --git a/chart-sdk/flutter/linear-gauge/widget-marker-pointer.md b/chart-sdk/flutter/linear-gauge/widget-marker-pointer.md
index 0454bdb5c..a3458f2a9 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 widget | Syncfusion
-description: Learn here all about adding and customizing Widget Marker Pointer of Syncfusion Flutter Linear Gauge (SfLinearGauge) widget and more.
+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.
platform: chart-sdk
control: SfLinearGauge
documentation: ug
@@ -9,9 +9,18 @@ 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 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 a marker widget.
-{% highlight dart %}
+{% 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) {
@@ -28,16 +37,27 @@ The [`LinearWidgetPointer`](https://pub.dev/documentation/syncfusion_flutter_gau
),
);
}
-
+}
+
{% endhighlight %}
+{% endtabs %}

## Change marker alignment
-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`.
+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`.
-{% highlight dart %}
+{% 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) {
@@ -60,16 +80,27 @@ The widget marker pointer's alignment can be changed by the [`markerAlignment`](
),
);
}
-
+}
+
{% endhighlight %}
+{% endtabs %}

## 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 wwidget pointer `inside`, `cross`, or `outside` the axis. The following code sample demonstrates how to change the widget pointer position to `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 widget pointer `inside`, `cross`, or `outside` the axis. The following code sample demonstrates how to position the widget pointer inside the axis.
-{% highlight dart %}
+{% 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) {
@@ -87,16 +118,27 @@ By default, the widget pointer is positioned `outside` the axis. This position c
),
);
}
-
+}
+
{% endhighlight %}
+{% endtabs %}

## Change the offset
-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.
+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());
-{% highlight dart %}
+class LinearGaugeDemo extends StatelessWidget {
+ const LinearGaugeDemo({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
@@ -119,8 +161,10 @@ In addition to position the widget marker pointer, it is also possible to change
),
);
}
-
+}
+
{% endhighlight %}
+{% endtabs %}

@@ -132,8 +176,22 @@ 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;
@@ -168,15 +226,31 @@ The `LinearMarkerDragBehavior.constrained` can be used to limit the active point
),
);
}
+}
{% endhighlight %}
+{% endtabs %}

### 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;
@@ -211,17 +285,33 @@ The `LinearMarkerDragBehavior.constrained` can be used to limit the active point
),
);
}
+}
{% endhighlight %}
+{% endtabs %}

## 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 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.
+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.
+{% 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
@@ -248,15 +338,26 @@ The [`LinearWidgetPointer`](https://pub.dev/documentation/syncfusion_flutter_gau
),
);
}
+}
{% 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(
@@ -266,7 +367,8 @@ The [`onAnimationCompleted`](https://pub.dev/documentation/syncfusion_flutter_ga
markerPointers:[
LinearWidgetPointer(
onAnimationCompleted: () {
- print("Widget Pointer animation is completed");
+ // Widget Pointer animation is completed
+ debugPrint('Widget Pointer animation is completed');
},
),
],
@@ -275,5 +377,7 @@ The [`onAnimationCompleted`](https://pub.dev/documentation/syncfusion_flutter_ga
),
);
}
+}
{% endhighlight %}
+{% endtabs %}
diff --git a/chart-sdk/flutter/maps/accessibility.md b/chart-sdk/flutter/maps/accessibility.md
index d5c5f9157..80bcb9a85 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 widget | Syncfusion
-description: Learn here all about the accessibility support in Syncfusion Flutter maps (SfMaps) widget and how to customize it.
+title: Accessibility in Flutter Maps | Syncfusion®
+description: Learn about accessibility support in Syncfusion® Flutter Maps (SfMaps), including screen readers, keyboard navigation, and assistive technologies.
platform: chart-sdk
control: SfMaps
documentation: ug
@@ -16,6 +16,15 @@ 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';
@@ -56,6 +65,7 @@ The [`SfMaps`](https://pub.dev/documentation/syncfusion_flutter_maps/latest/maps
),
);
}
+}
class PopulationModel {
const PopulationModel(this.continent, this.populationInCrores);
@@ -71,17 +81,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/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)
+* [`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)
## Large fonts
@@ -89,9 +99,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/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)
+* [`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)
## Easier touch targets
diff --git a/chart-sdk/flutter/maps/bubble.md b/chart-sdk/flutter/maps/bubble.md
index 239ba9175..7a33c3ce4 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 widget | Syncfusion
-description: Learn here all about the Bubbles feature of Syncfusion Flutter Maps (SfMaps) widget to customize their appearances and more.
+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.
platform: chart-sdk
control: SfMaps
documentation: ug
@@ -18,44 +18,54 @@ You can enable bubbles using the [`MapShapeSource.bubbleSizeMapper`](https://pub
{% tabs %}
{% highlight Dart %}
-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,
- );
+import 'package:flutter/material.dart';
+import 'package:syncfusion_flutter_maps/maps.dart';
+
+class MapsExample extends StatefulWidget {
+ @override
+ _MapsExampleState createState() => _MapsExampleState();
}
-@override
-Widget build(BuildContext context) {
- return Scaffold(
- body: Padding(
- padding: EdgeInsets.only(left: 15, right: 15),
- child: SfMaps(
- layers: [
- MapShapeLayer(
- source: dataSource,
- ),
- ],
+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,
+ ),
+ ],
+ ),
),
- ),
- );
+ );
+ }
}
class Model {
@@ -77,57 +87,67 @@ You can enable tooltip for the bubbles using the [`MapShapeLayer.bubbleTooltipBu
{% tabs %}
{% highlight Dart %}
-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,
- );
+import 'package:flutter/material.dart';
+import 'package:syncfusion_flutter_maps/maps.dart';
+
+class MapsExample extends StatefulWidget {
+ @override
+ _MapsExampleState createState() => _MapsExampleState();
}
-@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 _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)),
+ );
+ },
+ ),
+ ],
+ ),
),
- ),
- );
+ );
+ }
}
class Model {
@@ -154,50 +174,60 @@ If [`bubbleColorValueMapper`](https://pub.dev/documentation/syncfusion_flutter_m
{% tabs %}
{% highlight Dart %}
-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,
- );
+import 'package:flutter/material.dart';
+import 'package:syncfusion_flutter_maps/maps.dart';
+
+class MapsExample extends StatefulWidget {
+ @override
+ _MapsExampleState createState() => _MapsExampleState();
}
-@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 _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,
+ ),
),
- ),
- ],
+ ],
+ ),
),
- ),
- );
+ );
+ }
}
class Model {
@@ -226,51 +256,61 @@ You can customize the following appearance properties of the bubbles:
{% tabs %}
{% highlight Dart %}
-late List data;
-late MapShapeSource dataSource;
+import 'package:flutter/material.dart';
+import 'package:syncfusion_flutter_maps/maps.dart';
-@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 MapsExample extends StatefulWidget {
+ @override
+ _MapsExampleState createState() => _MapsExampleState();
}
-@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 _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],
+ ),
+ )
+ ],
+ ),
),
- ),
- );
+ );
+ }
}
class Model {
@@ -299,58 +339,69 @@ N> You must import the `theme.dart` library from the [`Core`](https://pub.dev/pa
{% tabs %}
{% highlight Dart %}
-late List data;
-late MapShapeSource dataSource;
+import 'package:flutter/material.dart';
+import 'package:syncfusion_flutter_maps/maps.dart';
+import 'package:syncfusion_flutter_core/theme.dart';
-@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 MapsExample extends StatefulWidget {
+ @override
+ _MapsExampleState createState() => _MapsExampleState();
}
-@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 _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,
+ ),
+ )
+ ],
+ ),
+ )
+ ),
+ );
+ }
}
class Model {
diff --git a/chart-sdk/flutter/maps/data-labels.md b/chart-sdk/flutter/maps/data-labels.md
index 859f184eb..5d5d35728 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 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.
+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.
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,34 +18,44 @@ You can show data labels on the map using the [`MapShapeLayer.showDataLabels`](h
{% tabs %}
{% highlight Dart %}
-late MapShapeSource dataSource;
+import 'package:flutter/material.dart';
+import 'package:syncfusion_flutter_maps/maps.dart';
-@override
-void initState() {
- dataSource = MapShapeSource.asset(
- "assets/world_map.json",
- shapeDataField: "continent",
- );
- super.initState();
+class MapsExample extends StatefulWidget {
+ @override
+ _MapsExampleState createState() => _MapsExampleState();
}
-@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 _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,
+ ),
+ ],
+ ),
),
),
- ),
- );
+ );
+ }
}
{% endhighlight %}
@@ -60,47 +70,57 @@ You can customize text of the data labels using the [`MapShapeSource.dataLabelMa
{% tabs %}
{% highlight Dart %}
-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,
- );
+import 'package:flutter/material.dart';
+import 'package:syncfusion_flutter_maps/maps.dart';
+
+class MapsExample extends StatefulWidget {
+ @override
+ _MapsExampleState createState() => _MapsExampleState();
}
-@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 _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,
+ ),
+ ],
+ ),
),
),
- ),
- );
+ );
+ }
}
class Model {
@@ -119,56 +139,66 @@ 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 overflows from the shape.
+By default, the data labels will render even if they overflow from the shape.
{% tabs %}
{% highlight Dart %}
-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();
+import 'package:flutter/material.dart';
+import 'package:syncfusion_flutter_maps/maps.dart';
+
+class MapsExample extends StatefulWidget {
+ @override
+ _MapsExampleState createState() => _MapsExampleState();
}
-@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 _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,
+ ),
),
- ),
- ],
+ ],
+ ),
),
),
- ),
- );
+ );
+ }
}
class Model {
@@ -190,56 +220,66 @@ You can customize the data labels using the [`MapDataLabelSettings.textStyle`](h
{% tabs %}
{% highlight Dart %}
-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();
+import 'package:flutter/material.dart';
+import 'package:syncfusion_flutter_maps/maps.dart';
+
+class MapsExample extends StatefulWidget {
+ @override
+ _MapsExampleState createState() => _MapsExampleState();
}
-@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 _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'),
+ ),
),
- ),
- ],
+ ],
+ ),
),
),
- ),
- );
+ );
+ }
}
class Model {
@@ -261,58 +301,69 @@ N> You must import the `theme.dart` library from the [`Core`](https://pub.dev/pa
{% tabs %}
{% highlight Dart %}
-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();
+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();
}
-@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 _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,
+ ),
+ ],
+ ),
),
),
),
- ),
- );
+ );
+ }
}
class Model {
diff --git a/chart-sdk/flutter/maps/getting-started.md b/chart-sdk/flutter/maps/getting-started.md
index 027150318..5b0248c90 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: Step-by-step guide to set up Syncfusion Flutter Maps—add dependencies, import, create SfMaps, and configure key features.
+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.
platform: chart-sdk
control: SfMaps
documentation: ug
---
-# Flutter Maps Getting Started (SfMaps)
+# Getting Started with Flutter Maps (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 start quickly with our Flutter Maps widget, you can check on this video.
+To get started quickly with our Flutter Maps widget, you can check on this video.
@@ -24,6 +24,7 @@ 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:
@@ -31,18 +32,21 @@ 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.
+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.
**Get packages**
Run the following command to get the required packages.
+{% tabs %}
{% highlight dart %}
$ flutter pub get
{% endhighlight %}
+{% endtabs %}
**Import package**
@@ -63,23 +67,37 @@ After importing the package, initialize the maps widget as a child of any widget
{% tabs %}
{% highlight Dart %}
-@override
-Widget build(BuildContext context) {
- return Scaffold(
- body: Center(
- child: SfMaps(),
- ),
- );
+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',
+ ),
+ ),
+ ],
+ ),
+ ),
+ );
+ }
}
{% endhighlight %}
{% endtabs %}
-## Set GeoJSON data for shape layer from various source
+## Set GeoJSON data for shape layer from various sources
-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 [`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 [`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.
+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.
I> The Mercator projection is the default projection in the maps.
@@ -103,29 +121,39 @@ flutter:
{% tabs %}
{% highlight Dart %}
-late MapShapeSource _dataSource;
+import 'package:flutter/material.dart';
+import 'package:syncfusion_flutter_maps/maps.dart';
-@override
-void initState() {
- _dataSource = MapShapeSource.asset(
- 'assets/australia.json',
- shapeDataField: 'STATE_NAME',
- );
- super.initState();
+class MapsExample extends StatefulWidget {
+ @override
+ _MapsExampleState createState() => _MapsExampleState();
}
-@override
-Widget build(BuildContext context) {
- return Scaffold(
- body: Padding(
- padding: EdgeInsets.all(15),
- child: SfMaps(
- layers: [
- MapShapeLayer(source: _dataSource),
- ],
+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),
+ ],
+ ),
),
- ),
- );
+ );
+ }
}
{% endhighlight %}
@@ -138,29 +166,39 @@ Load .json data from the network.
{% tabs %}
{% highlight Dart %}
-late MapShapeSource _dataSource;
+import 'package:flutter/material.dart';
+import 'package:syncfusion_flutter_maps/maps.dart';
-@override
-void initState() {
- _dataSource = MapShapeSource.network(
- 'http://www.json-generator.com/api/json/get/bVqXoJvfjC?indent=2',
- shapeDataField: 'name',
- );
- super.initState();
+class MapsExample extends StatefulWidget {
+ @override
+ _MapsExampleState createState() => _MapsExampleState();
}
-@override
-Widget build(BuildContext context) {
- return Scaffold(
- body: Padding(
- padding: EdgeInsets.all(15),
- child: SfMaps(
- layers: [
- MapShapeLayer(source: _dataSource),
- ],
+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),
+ ],
+ ),
),
- ),
- );
+ );
+ }
}
{% endhighlight %}
@@ -173,34 +211,41 @@ Load .json data as bytes from `Uint8List`.
{% tabs %}
{% highlight Dart %}
-@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',
+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',
+ ),
),
- ),
- ],
- );
- } 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 %}
@@ -215,41 +260,51 @@ By default, the value specified for the [`shapeDataField`](https://pub.dev/docum
{% tabs %}
{% highlight Dart %}
-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();
+import 'package:flutter/material.dart';
+import 'package:syncfusion_flutter_maps/maps.dart';
+
+class MapsExample extends StatefulWidget {
+ @override
+ _MapsExampleState createState() => _MapsExampleState();
}
-@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 _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,
+ ),
),
- ),
- ],
- ),
- );
+ ],
+ ),
+ );
+ }
}
class Model {
@@ -282,75 +337,85 @@ Add the basic maps elements such as data labels, legend, and tooltip as shown in
{% tabs %}
{% highlight Dart %}
-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();
+import 'package:flutter/material.dart';
+import 'package:syncfusion_flutter_maps/maps.dart';
+
+class MapsExample extends StatefulWidget {
+ @override
+ _MapsExampleState createState() => _MapsExampleState();
}
-@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 _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)),
+ ),
+ ],
+ ),
),
),
- ),
- );
+ );
+ }
}
class Model {
@@ -370,20 +435,25 @@ 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/flutter/maps/tile-layer#setting-url-template) section for more information.
+Refer to the [tile layer](https://help.syncfusion.com/chart-sdk/flutter/maps/tile-layer#setting-url-template) section for more information.
{% tabs %}
{% highlight Dart %}
-@override
-Widget build(BuildContext context) {
- return SfMaps(
- layers: [
- MapTileLayer(
- urlTemplate: 'https://tile.openstreetmap.org/{z}/{x}/{y}.png',
- ),
- ],
- );
+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',
+ ),
+ ],
+ );
+ }
}
{% 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 68db530e2..6b043c8a7 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: Maps Widget in FlutterFlow | Syncfusion
-description: You can learn here all about adding Syncfusion Flutter Maps ( SfMaps Widget ) widget in FlutterFlow.
+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.
platform: chart-sdk
control: SfMaps
documentation: ug
---
-# How to add Syncfusion® Maps widget in FlutterFlow?
+# How to Add Maps in FlutterFlow (SfMaps)
## Overview
diff --git a/chart-sdk/flutter/maps/legend.md b/chart-sdk/flutter/maps/legend.md
index 14c78d43b..ab5ae7666 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 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.
+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.
platform: chart-sdk
control: SfMaps
documentation: ug
@@ -18,38 +18,48 @@ You can show shape legend by setting the [`MapShapeLayer.legend`](https://pub.de
{% tabs %}
{% highlight Dart %}
-late MapShapeSource _shapeSource;
+import 'package:flutter/material.dart';
+import 'package:syncfusion_flutter_maps/maps.dart';
-@override
-void initState() {
- super.initState();
-
- _shapeSource = MapShapeSource.asset(
- "assets/world_map.json",
- shapeDataField: "continent",
- );
+class MapsExample extends StatefulWidget {
+ @override
+ _MapsExampleState createState() => _MapsExampleState();
}
-@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),
- ),
- ],
+class _MapsExampleState extends State {
+ late MapShapeSource _shapeSource;
+
+ @override
+ void initState() {
+ super.initState();
+
+ _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),
+ ),
+ ],
+ ),
),
),
),
- ),
- );
+ );
+ }
}
{% endhighlight %}
@@ -67,52 +77,62 @@ You can show bubble legend by setting the [`MapShapeLayer.legend`](https://pub.d
{% tabs %}
{% highlight Dart %}
-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),
- ];
+import 'package:flutter/material.dart';
+import 'package:syncfusion_flutter_maps/maps.dart';
- _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 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,
+ );
+ }
+
+ @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 {
@@ -137,38 +157,48 @@ You can show bar shape legend by setting the [`MapShapeLayer.legend`](https://pu
{% tabs %}
{% highlight Dart %}
-late MapShapeSource _shapeSource;
-
-@override
-void initState() {
- super.initState();
+import 'package:flutter/material.dart';
+import 'package:syncfusion_flutter_maps/maps.dart';
- _shapeSource = MapShapeSource.asset(
- "assets/world_map.json",
- shapeDataField: "continent",
- );
+class MapsExample extends StatefulWidget {
+ @override
+ _MapsExampleState createState() => _MapsExampleState();
}
-@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 _MapsExampleState extends State {
+ late MapShapeSource _shapeSource;
+
+ @override
+ void initState() {
+ super.initState();
+
+ _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),
+ ),
+ ],
+ ),
),
),
),
- ),
- );
+ );
+ }
}
{% endhighlight %}
@@ -186,52 +216,62 @@ You can show bar bubble legend by setting the [`MapShapeLayer.legend`](https://p
{% tabs %}
{% highlight Dart %}
-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),
- ];
+import 'package:flutter/material.dart';
+import 'package:syncfusion_flutter_maps/maps.dart';
- _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 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,
+ );
+ }
+
+ @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 {
@@ -258,50 +298,60 @@ N> It is applicable for both shape and bar legend.
{% tabs %}
{% highlight Dart %}
-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();
+import 'package:flutter/material.dart';
+import 'package:syncfusion_flutter_maps/maps.dart';
+
+class MapsExample extends StatefulWidget {
+ @override
+ _MapsExampleState createState() => _MapsExampleState();
}
-@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 _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)),
+ ),
),
- ),
- ],
- ),
- ],
- ),
- );
+ ],
+ ),
+ ],
+ ),
+ );
+ }
}
class DataModel {
@@ -323,55 +373,65 @@ The icons color of the legend is applied based on the colors returned from the [
{% tabs %}
{% highlight 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('Russia', 310)
- ];
+import 'package:flutter/material.dart';
+import 'package:syncfusion_flutter_maps/maps.dart';
- _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'),
- ]);
+class MapsExample extends StatefulWidget {
+ @override
+ _MapsExampleState createState() => _MapsExampleState();
}
-@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 _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)
+ ];
+
+ _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),
+ )
+ ],
+ ),
),
),
),
- ),
- );
+ );
+ }
}
class Model {
@@ -393,61 +453,71 @@ You can customize the first segment label of the legend using the [`MapColorMapp
{% tabs %}
{% highlight Dart %}
-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)
- ];
+import 'package:flutter/material.dart';
+import 'package:syncfusion_flutter_maps/maps.dart';
- _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 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();
+ }
+
+ @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 {
@@ -469,69 +539,79 @@ You can position the legend items in different directions using the [`MapLegend.
{% tabs %}
{% highlight 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)
- ];
+import 'package:flutter/material.dart';
+import 'package:syncfusion_flutter_maps/maps.dart';
- _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 MapsExample extends StatefulWidget {
+ @override
+ _MapsExampleState createState() => _MapsExampleState();
}
-@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 _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,
+ ),
+ )
+ ],
+ ),
),
),
),
- ),
- );
+ );
+ }
}
class Model {
@@ -558,68 +638,78 @@ If the property [`MapLegend.offset`](https://pub.dev/documentation/syncfusion_fl
{% tabs %}
{% highlight 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)
- ];
-
- _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'),
- ]);
-}
+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'),
+ ]);
+ }
-@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
+ 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 {
@@ -647,70 +737,80 @@ If the legend position is `top` or `bottom`, then the default scroll direction i
{% tabs %}
{% highlight 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)
- ];
-
- _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'),
- ]);
-}
+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'),
+ ]);
+ }
-@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
+ 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 {
@@ -736,71 +836,81 @@ If the legend position is `top` or `bottom`, then the default scroll direction i
{% tabs %}
{% highlight 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)
- ];
-
- _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'),
- ]);
-}
+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'),
+ ]);
+ }
-@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
+ 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 {
@@ -832,72 +942,82 @@ You can enable toggling the legend items and the corresponding shapes or bubbles
{% tabs %}
{% highlight 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)
- ];
-
- _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'),
+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'),
]);
-}
+ }
-@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 {
@@ -923,76 +1043,87 @@ N> You must import the `theme.dart` library from the [`Core`](https://pub.dev/pa
{% tabs %}
{% highlight 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)
- ];
-
- _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'),
+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'),
]);
-}
+ }
-@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
+ 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 {
@@ -1014,75 +1145,85 @@ You can customize the legend item's text style using the [`MapLegend.textStyle`]
{% tabs %}
{% highlight 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)
- ];
-
- _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'),
+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'),
]);
-}
+ }
-@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 {
@@ -1104,77 +1245,87 @@ N> You must import the `theme.dart` library from the [`Core`](https://pub.dev/pa
{% tabs %}
{% highlight 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)
- ];
-
- _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'),
+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'),
]);
-}
+ }
-@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'
+ @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),
+ )
+ ],
),
- ),
- child: SfMaps(
- layers: [
- MapShapeLayer(
- source: _shapeSource,
- legend: MapLegend(MapElement.shape),
- )
- ],
),
),
),
),
- ),
- );
+ );
}
}
@@ -1203,73 +1354,83 @@ You can customize the legend items using the following properties.
{% tabs %}
{% highlight 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)
- ];
-
- _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'),
+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'),
]);
-}
+ }
-@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 {
@@ -1296,69 +1457,79 @@ You can set solid color for the bar by using the [MapLegendPaintingStyle.solid](
{% tabs %}
{% highlight 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)
- ];
-
- _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'),
+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'),
]);
-}
+ }
-@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 {
@@ -1380,67 +1551,77 @@ You can set gradient color for the bar by using the [MapLegendPaintingStyle.grad
{% tabs %}
{% highlight 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)
- ];
-
- _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'),
+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'),
]);
-}
+ }
-@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 {
@@ -1469,75 +1650,85 @@ You can customize the legend items using the following properties.
{% tabs %}
{% highlight Dart %}
-late List _data;
-late MapShapeSource _shapeSource;
+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'),
+ ]);
+ }
-@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)
- ];
+ @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,
+ ),
+ )
+ ],
+ ),
+ ),
+ ),
+ ),
+ );
+ }
+}
- _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,
- ),
- )
- ],
- ),
- ),
- ),
- ),
- );
-}
-
-class Model {
- const Model(this.country, this.density);
-
- final String country;
- final double density;
+class Model {
+ const Model(this.country, this.density);
+
+ final String country;
+ final double density;
}
{% endhighlight %}
@@ -1556,60 +1747,70 @@ The labels are positioned between the segments when setting range color mapper w
{% tabs %}
{% highlight 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('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,
- ),
- )
- ],
+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,
+ ),
+ )
+ ],
+ ),
),
),
- ),
),
- );
+ );
+ }
}
class Model {
@@ -1629,58 +1830,68 @@ The labels are positioned between the segments when setting range color mapper a
{% tabs %}
{% highlight 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('Cuba', 103),
- Model('China', 148),
- ];
+import 'package:flutter/material.dart';
+import 'package:syncfusion_flutter_maps/maps.dart';
- _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 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.betweenItems,
+ segmentPaintingStyle: MapLegendPaintingStyle.gradient,
+ ),
+ )
+ ],
+ ),
),
),
- ),
),
- );
+ );
+ }
}
class Model {
@@ -1700,59 +1911,69 @@ The labels are positioned at the center of the segments when setting the [`label
{% tabs %}
{% highlight 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('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,
- ),
- )
- ],
+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,
+ ),
+ )
+ ],
+ ),
),
),
- ),
),
- );
+ );
+ }
}
class Model {
@@ -1774,61 +1995,71 @@ The [`labelsPlacement`](https://pub.dev/documentation/syncfusion_flutter_maps/la
{% tabs %}
{% highlight Dart %}
-late List _data;
-late MapShapeSource _dataSource;
+import 'package:flutter/material.dart';
+import 'package:syncfusion_flutter_maps/maps.dart';
-@override
-void initState() {
- _data = [
- Model('India', "Low"),
- Model('United States of America', "High"),
- Model('Pakistan', "Low"),
- Model('Brazil', "Medium"),
- ];
+class MapsExample extends StatefulWidget {
+ @override
+ _MapsExampleState createState() => _MapsExampleState();
+}
- _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 _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"),
+ 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
+ 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 {
@@ -1850,61 +2081,71 @@ You may show a pointer on the solid or gradient bar legend while hovering over a
{% tabs %}
{% highlight Dart %}
-late List _data;
-late MapShapeSource _shapeSource;
+import 'package:flutter/material.dart';
+import 'package:syncfusion_flutter_maps/maps.dart';
-@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'),
- ],
- );
+class MapsExample extends StatefulWidget {
+ @override
+ _MapsExampleState createState() => _MapsExampleState();
}
-@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 _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: '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,
+ ),
+ )
+ ],
+ ),
),
),
),
- ),
- );
+ );
+ }
}
class Model {
@@ -1930,64 +2171,74 @@ The [`pointerBuilder`](https://pub.dev/documentation/syncfusion_flutter_maps/lat
{% tabs %}
{% highlight 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('Cuba', 103),
- Model('China', 148),
- ];
+import 'package:flutter/material.dart';
+import 'package:syncfusion_flutter_maps/maps.dart';
- _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'),
- ],
- );
+class MapsExample extends StatefulWidget {
+ @override
+ _MapsExampleState createState() => _MapsExampleState();
}
-@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 _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: '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);
+ },
+ ),
+ )
+ ],
+ ),
),
),
),
- ),
- );
+ );
+ }
}
class Model {
@@ -2009,63 +2260,73 @@ You can customize the size and color of the pointer using the [`pointerSize`](ht
{% tabs %}
{% highlight Dart %}
-late List _data;
-late MapShapeSource _shapeSource;
+import 'package:flutter/material.dart';
+import 'package:syncfusion_flutter_maps/maps.dart';
-@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'),
- ],
- );
+class MapsExample extends StatefulWidget {
+ @override
+ _MapsExampleState createState() => _MapsExampleState();
}
-@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 _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: '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,
+ ),
+ )
+ ],
+ ),
),
),
),
- ),
- );
+ );
+ }
}
class Model {
diff --git a/chart-sdk/flutter/maps/markers.md b/chart-sdk/flutter/maps/markers.md
index 9e90d5e6f..5328ff28f 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: 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.
+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.
platform: chart-sdk
control: SfMaps
documentation: ug
---
-# Flutter Maps Markers (SfMaps)
+# Markers in Flutter Maps (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/flutter/maps/markers#for-tile-layer) to update the markers dynamically for tile layer.
+* 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.
{% 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/flutter/maps/markers#for-tile-layer) to update the markers dynamically for tile layer.
+* 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.
{% 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/flutter/maps/markers#for-tile-layer) to update the markers dynamically for tile layer.
+* 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.
{% tabs %}
{% highlight Dart %}
diff --git a/chart-sdk/flutter/maps/overview.md b/chart-sdk/flutter/maps/overview.md
index 5582a8964..7ea43ba25 100644
--- a/chart-sdk/flutter/maps/overview.md
+++ b/chart-sdk/flutter/maps/overview.md
@@ -1,16 +1,18 @@
---
layout: post
-title: About Flutter Maps widget | Syncfusion
-description: Learn here all about the introduction of Syncfusion Flutter Maps (SfMaps) widget, its features, and more.
+title: About Flutter Maps Control | Syncfusion®
+description: Learn about the Syncfusion® Flutter Maps (SfMaps), its features, map layers, data visualization capabilities, and customization options.
platform: chart-sdk
control: SfMaps
documentation: ug
---
-# Flutter Maps (SfMaps) Overview
+# About Flutter Maps Control (SfMaps)
[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.
@@ -33,7 +35,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 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.
+* **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.
## Tile layer
@@ -45,4 +47,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 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.
+* **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.
diff --git a/chart-sdk/flutter/maps/right-to-left.md b/chart-sdk/flutter/maps/right-to-left.md
index 760de8bd0..05fc221ef 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: RTL in Flutter Maps widget | Syncfusion
-description: This section explains about enabling the RTL rendering in the Syncfusion Flutter Maps (SfMaps) widget.
+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.
platform: chart-sdk
control: SfMaps
documentation: ug
---
-# Right to Left (RTL) in Flutter Maps (SfMaps)
+# Right-to-Left (RTL) in Flutter Maps (SfMaps)
-## RTL rendering ways
+## Enable RTL rendering
Right to left rendering can be achieved in the following ways:
@@ -20,26 +20,31 @@ The maps can be wrapped inside the [`Directionality`](https://api.flutter.dev/fl
{% tabs %}
{% highlight Dart %}
-@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"),
- ),
- ],
- ),
- )
- ),
- ),
- );
+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"),
+ ),
+ ],
+ ),
+ )
+ ),
+ ),
+ );
+ }
}
{% endhighlight %}
@@ -62,30 +67,36 @@ dependencies:
{% tabs %}
{% highlight Dart %}
-@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"),
- ),
- ],
+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"),
+ ),
+ ],
+ ),
),
- ),
- );
+ );
+ }
}
{% endhighlight %}
@@ -100,51 +111,61 @@ Legend items will be rendered from right to left direction. This is applicable f
{% tabs %}
{% highlight Dart %}
-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,
- );
+import 'package:flutter/material.dart';
+import 'package:syncfusion_flutter_maps/maps.dart';
+
+class MapsExample extends StatefulWidget {
+ @override
+ _MapsExampleState createState() => _MapsExampleState();
}
-@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 _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),
+ )
+ ],
+ ),
),
),
),
- ),
- );
+ );
+ }
}
class PopulationModel {
@@ -168,86 +189,96 @@ Tooltip text will be rendered from right to left direction. This is applicable f
{% tabs %}
{% highlight Dart %}
-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,
- );
+import 'package:flutter/material.dart';
+import 'package:syncfusion_flutter_maps/maps.dart';
+
+class MapsExample extends StatefulWidget {
+ @override
+ _MapsExampleState createState() => _MapsExampleState();
}
-@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),
- ],
+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),
+ ],
+ ),
),
- ),
- 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 8f938357e..c8ff2431b 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 widget | Syncfusion
-description: Learn here all about the Shape Selection feature of Syncfusion Flutter Maps (SfMaps) widget and more.
+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.
platform: chart-sdk
control: SfMaps
documentation: ug
@@ -17,61 +17,71 @@ 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 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.
+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.
{% tabs %}
{% highlight Dart %}
-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,
- );
+import 'package:flutter/material.dart';
+import 'package:syncfusion_flutter_maps/maps.dart';
+
+class MapsExample extends StatefulWidget {
+ @override
+ _MapsExampleState createState() => _MapsExampleState();
}
-@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 _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;
+ });
+ },
+ ),
+ ],
+ ),
),
),
),
- ),
- );
+ );
+ }
}
class Model {
@@ -101,61 +111,71 @@ You can customize the following aspects of the selected shape:
{% tabs %}
{% highlight Dart %}
-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,
- );
+import 'package:flutter/material.dart';
+import 'package:syncfusion_flutter_maps/maps.dart';
+
+class MapsExample extends StatefulWidget {
+ @override
+ _MapsExampleState createState() => _MapsExampleState();
}
-@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 _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,
+ ),
+ ),
+ ],
+ ),
),
),
),
- ),
- );
+ );
+ }
}
class Model {
@@ -182,63 +202,74 @@ N> You must import the `theme.dart` library from the [`Core`](https://pub.dev/pa
{% tabs %}
{% highlight Dart %}
-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,
- );
+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();
}
-@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 _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;
+ });
+ },
+ ),
+ ],
+ ),
+ )
+ ),
),
),
- ),
- );
+ );
+ }
}
class Model {
diff --git a/chart-sdk/flutter/maps/shape-sublayer.md b/chart-sdk/flutter/maps/shape-sublayer.md
index 89ea22999..df902dfd4 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 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.
+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.
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/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/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.
## Shape sublayer on tile layer
@@ -20,37 +20,47 @@ The [`shapeDataField`](https://pub.dev/documentation/syncfusion_flutter_maps/lat
{% tabs %}
{% highlight Dart %}
-late MapShapeSource _sublayerSource;
+import 'package:flutter/material.dart';
+import 'package:syncfusion_flutter_maps/maps.dart';
-@override
-void initState() {
- super.initState();
-
- _sublayerSource = MapShapeSource.asset(
- 'assets/africa.json',
- shapeDataField: 'name',
- );
+class MapsExample extends StatefulWidget {
+ @override
+ _MapsExampleState createState() => _MapsExampleState();
}
-@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,
+class _MapsExampleState extends State {
+ late MapShapeSource _sublayerSource;
+
+ @override
+ void initState() {
+ super.initState();
+
+ _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,
+ ),
+ ],
),
],
- ),
- ],
- ),
- ),
- );
+ ),
+ ),
+ );
+ }
}
{% endhighlight %}
@@ -70,42 +80,52 @@ The [`shapeDataField`](https://pub.dev/documentation/syncfusion_flutter_maps/lat
{% tabs %}
{% highlight Dart %}
-late MapShapeSource _shapeSource;
-late MapShapeSource _sublayerSource;
-
-@override
-void initState() {
- super.initState();
- _shapeSource = MapShapeSource.asset(
- "assets/world_map.json",
- shapeDataField: "continent",
- );
+import 'package:flutter/material.dart';
+import 'package:syncfusion_flutter_maps/maps.dart';
- _sublayerSource = MapShapeSource.asset(
- 'assets/africa.json',
- shapeDataField: 'name',
- );
+class MapsExample extends StatefulWidget {
+ @override
+ _MapsExampleState createState() => _MapsExampleState();
}
-@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,
+class _MapsExampleState extends State {
+ late MapShapeSource _shapeSource;
+ late MapShapeSource _sublayerSource;
+
+ @override
+ void initState() {
+ super.initState();
+ _shapeSource = MapShapeSource.asset(
+ "assets/world_map.json",
+ shapeDataField: "continent",
+ );
+
+ _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,
+ ),
+ ],
),
],
- ),
- ],
- ),
- ),
- );
+ ),
+ ),
+ );
+ }
}
{% endhighlight %}
@@ -125,45 +145,55 @@ N> It is applicable for both tile layer and shape layer.
{% tabs %}
{% highlight Dart %}
-late MapShapeSource _shapeSource;
-late MapShapeSource _sublayerSource;
+import 'package:flutter/material.dart';
+import 'package:syncfusion_flutter_maps/maps.dart';
-@override
-void initState() {
- super.initState();
- _shapeSource = MapShapeSource.asset(
- "assets/world_map.json",
- shapeDataField: "continent",
- );
-
- _sublayerSource = MapShapeSource.asset(
- 'assets/africa.json',
- shapeDataField: 'name',
- );
+class MapsExample extends StatefulWidget {
+ @override
+ _MapsExampleState createState() => _MapsExampleState();
}
-@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],
+class _MapsExampleState extends State {
+ late MapShapeSource _shapeSource;
+ late MapShapeSource _sublayerSource;
+
+ @override
+ void initState() {
+ super.initState();
+ _shapeSource = MapShapeSource.asset(
+ "assets/world_map.json",
+ shapeDataField: "continent",
+ );
+
+ _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],
+ ),
+ ],
),
],
- ),
- ],
- ),
- ),
- );
+ ),
+ ),
+ );
+ }
}
{% endhighlight %}
@@ -178,60 +208,70 @@ You can apply color to the sublayer shape by comparing a value that returns from
{% tabs %}
{% highlight Dart %}
-late List