Implementing .NET MAUI Cartesian Charts
Guide users to implement the Syncfusion .NET MAUI Cartesian Chart (SfCartesianChart), a comprehensive data visualization solution with over 20 chart types, interactive features, and extensive customization options. Use this skill to implement charts ranging from simple line graphs to complex financial and statistical visualizations.
When to Use This Skill
Use this skill when the user needs to:
- Visualize Data: Display quantitative data with line, area, column, bar, or scatter charts
- Financial Analysis: Create candle or OHLC charts for stock price visualization
- Statistical Data: Plot box-and-whisker, histogram, or error bar charts
- Comparative Analysis: Use stacked charts (area, column, line) for comparing multiple datasets
- Range Visualization: Show high-low data with range area or range column charts
- Interactive Dashboards: Implement zooming, panning, selection, and trackball features
- Time-Series Data: Plot temporal data with datetime axes and auto-scrolling
- Custom Visualizations: Add annotations, plotbands, trendlines, and custom styling
Component Overview
The SfCartesianChart control provides:
- 20+ Chart Types: Line, Area, Column, Bar, Scatter, Bubble, Candle, OHLC, Histogram, Box-and-Whisker, Stacked variations, Range charts, Waterfall, and more
- Flexible Axes: Category, Numerical, DateTime, Logarithmic with full customization
- Interactive Features: Zooming, panning, selection, tooltips, trackball, crosshair
- Rich Customization: Data labels, legends, annotations, plotbands, trendlines, appearance
- Data Handling: Empty point modes, data binding, dynamic updates
- Export & Localization: Image export, multi-language support
Documentation and Navigation Guide
Getting Started
📄 Read: references/getting-started.md
- NuGet package installation (
Syncfusion.Maui.Charts)
- Basic SfCartesianChart initialization in XAML and C#
- Creating data models and view models
- Axis setup (XAxes, YAxes)
- Adding your first series with data binding
- Complete working example
Chart Types
Basic Chart Types
📄 Read: references/basic-chart-types.md
- Line, Area, Column, Bar, Scatter, Bubble charts
- When to use each chart type
- Implementation examples
- Common properties and styling
Financial Charts
📄 Read: references/financial-charts.md
- Candle charts (candlestick visualization)
- OHLC (Open-High-Low-Close) charts
- Financial data structure and binding
- Bullish/bearish styling
Statistical Charts
📄 Read: references/statistical-charts.md
- Box and Whisker charts
- Histogram charts
- Error Bar charts
- Statistical data requirements
Stacked Charts
📄 Read: references/stacked-charts.md
- Stacked Area (normal and 100%)
- Stacked Column (normal and 100%)
- Stacked Line (normal and 100%)
- Grouping series for stacking
- Percentage vs absolute values
Range Charts
📄 Read: references/range-charts.md
- Range Area charts
- Range Column charts
- Spline Range Area charts
- High-Low data binding
Advanced Chart Types
📄 Read: references/advanced-chart-types.md
- Fastline (optimized for large datasets)
- Step Area and Step Line
- Waterfall charts
- Performance considerations
Axis Configuration
Axis Basics
📄 Read: references/axis-configuration.md
- Axis types (Category, Numerical, DateTime, Logarithmic)
- XAxes and YAxes collections
- Axis labels and formatting
- Axis titles
- Multiple axes setup
- Custom label customization
Axis Customization
📄 Read: references/axis-customization.md
- Gridlines (major, minor) styling
- Tick lines configuration
- Axis padding
- Range padding
- Auto-scrolling delta
- Axis positioning
Data Visualization & Interaction
Data Labels
📄 Read: references/data-labels.md
- Enabling and positioning data labels
- Label placement (Inner, Outer, Auto)
- Label formatting and templates
- Styling and appearance
- Release mode display configuration
Tooltips and Interactive Features
📄 Read: references/tooltips-and-interaction.md
- Tooltip configuration and customization
- Trackball feature for multi-series comparison
- Crosshair for precise value reading
- Tooltip templates
- Interactive display modes
Zooming and Panning
📄 Read: references/zooming-and-panning.md
- Zoom modes (Pinch, Selection, MouseWheel)
- Panning configuration
- ZoomPanBehavior setup
- Programmatic zoom control
- Reset zoom functionality
Selection
📄 Read: references/selection.md
- Selection types (Single, Multiple, Series)
- DataPointSelectionBehavior
- SeriesSelectionBehavior
- Selection events
- Custom selection styling
Customization & Styling
Legend and Appearance
📄 Read: references/legend-and-appearance.md
- Legend configuration and positioning
- Legend item templates
- Chart appearance customization
- Color palettes
- Themes and liquid glass effect
Annotations and PlotBands
📄 Read: references/annotations-and-plotbands.md
- Annotation types (Text, View, Shape)
- Adding and positioning annotations
- PlotBand configuration for highlighting regions
- Use cases and examples
Custom Styling
📄 Read: references/customization-and-styling.md
- Series appearance customization
- Adding custom labels
- Color and gradient fills
- Border and corner radius
- Template customization
Data Handling & Advanced Features
Trendlines
📄 Read: references/trendlines.md
- Trendline types (Linear, Exponential, Logarithmic, Polynomial, Power, Moving Average)
- Adding trendlines to series
- Forecast and backcast
- Trendline customization
Data Point Management
📄 Read: references/data-handling.md
- Empty points handling
- Empty point modes (Gap, Zero, Average, Drop)
- Getting data points by region
- Touch position detection
- Data manipulation
Export and Localization
📄 Read: references/exporting-and-localization.md
- Exporting charts as images
- Export formats and options
- Localization configuration
- Culture-specific formatting
- Resource files
1---2name: syncfusion-maui-cartesian-charts3description: Implements Syncfusion .NET MAUI Cartesian Chart (SfCartesianChart) for data visualization with 20+ chart types including line, area, column, bar, financial, statistical, and stacked charts. Use when implementing cartesian charts, line charts, area charts, or financial charts (candle, OHLC). Covers chart axes, legends, tooltips, trackball, zooming and panning, chart annotations, and trendlines.4---5
6# Implementing .NET MAUI Cartesian Charts
7
8Guide users to implement the Syncfusion .NET MAUI Cartesian Chart (SfCartesianChart), a comprehensive data visualization solution with over 20 chart types, interactive features, and extensive customization options. Use this skill to implement charts ranging from simple line graphs to complex financial and statistical visualizations.
9
10## When to Use This Skill
11
12Use this skill when the user needs to:
13- **Visualize Data:** Display quantitative data with line, area, column, bar, or scatter charts
14- **Financial Analysis:** Create candle or OHLC charts for stock price visualization
15- **Statistical Data:** Plot box-and-whisker, histogram, or error bar charts
16- **Comparative Analysis:** Use stacked charts (area, column, line) for comparing multiple datasets
17- **Range Visualization:** Show high-low data with range area or range column charts
18- **Interactive Dashboards:** Implement zooming, panning, selection, and trackball features
19- **Time-Series Data:** Plot temporal data with datetime axes and auto-scrolling
20- **Custom Visualizations:** Add annotations, plotbands, trendlines, and custom styling
21
22## Component Overview
23
24The **SfCartesianChart** control provides:
25- **20+ Chart Types:** Line, Area, Column, Bar, Scatter, Bubble, Candle, OHLC, Histogram, Box-and-Whisker, Stacked variations, Range charts, Waterfall, and more
26- **Flexible Axes:** Category, Numerical, DateTime, Logarithmic with full customization
27- **Interactive Features:** Zooming, panning, selection, tooltips, trackball, crosshair
28- **Rich Customization:** Data labels, legends, annotations, plotbands, trendlines, appearance
29- **Data Handling:** Empty point modes, data binding, dynamic updates
30- **Export & Localization:** Image export, multi-language support
31
32## Documentation and Navigation Guide
33
34### Getting Started
35
36📄 **Read:** [references/getting-started.md](references/getting-started.md)
37- NuGet package installation (`Syncfusion.Maui.Charts`)
38- Basic SfCartesianChart initialization in XAML and C#
39- Creating data models and view models
40- Axis setup (XAxes, YAxes)
41- Adding your first series with data binding
42- Complete working example
43
44### Chart Types
45
46#### Basic Chart Types
47📄 **Read:** [references/basic-chart-types.md](references/basic-chart-types.md)
48- Line, Area, Column, Bar, Scatter, Bubble charts
49- When to use each chart type
50- Implementation examples
51- Common properties and styling
52
53#### Financial Charts
54📄 **Read:** [references/financial-charts.md](references/financial-charts.md)
55- Candle charts (candlestick visualization)
56- OHLC (Open-High-Low-Close) charts
57- Financial data structure and binding
58- Bullish/bearish styling
59
60#### Statistical Charts
61📄 **Read:** [references/statistical-charts.md](references/statistical-charts.md)
62- Box and Whisker charts
63- Histogram charts
64- Error Bar charts
65- Statistical data requirements
66
67#### Stacked Charts
68📄 **Read:** [references/stacked-charts.md](references/stacked-charts.md)
69- Stacked Area (normal and 100%)
70- Stacked Column (normal and 100%)
71- Stacked Line (normal and 100%)
72- Grouping series for stacking
73- Percentage vs absolute values
74
75#### Range Charts
76📄 **Read:** [references/range-charts.md](references/range-charts.md)
77- Range Area charts
78- Range Column charts
79- Spline Range Area charts
80- High-Low data binding
81
82#### Advanced Chart Types
83📄 **Read:** [references/advanced-chart-types.md](references/advanced-chart-types.md)
84- Fastline (optimized for large datasets)
85- Step Area and Step Line
86- Waterfall charts
87- Performance considerations
88
89### Axis Configuration
90
91#### Axis Basics
92📄 **Read:** [references/axis-configuration.md](references/axis-configuration.md)
93- Axis types (Category, Numerical, DateTime, Logarithmic)
94- XAxes and YAxes collections
95- Axis labels and formatting
96- Axis titles
97- Multiple axes setup
98- Custom label customization
99
100#### Axis Customization
101📄 **Read:** [references/axis-customization.md](references/axis-customization.md)
102- Gridlines (major, minor) styling
103- Tick lines configuration
104- Axis padding
105- Range padding
106- Auto-scrolling delta
107- Axis positioning
108
109### Data Visualization & Interaction
110
111#### Data Labels
112📄 **Read:** [references/data-labels.md](references/data-labels.md)
113- Enabling and positioning data labels
114- Label placement (Inner, Outer, Auto)
115- Label formatting and templates
116- Styling and appearance
117- Release mode display configuration
118
119#### Tooltips and Interactive Features
120📄 **Read:** [references/tooltips-and-interaction.md](references/tooltips-and-interaction.md)
121- Tooltip configuration and customization
122- Trackball feature for multi-series comparison
123- Crosshair for precise value reading
124- Tooltip templates
125- Interactive display modes
126
127#### Zooming and Panning
128📄 **Read:** [references/zooming-and-panning.md](references/zooming-and-panning.md)
129- Zoom modes (Pinch, Selection, MouseWheel)
130- Panning configuration
131- ZoomPanBehavior setup
132- Programmatic zoom control
133- Reset zoom functionality
134
135#### Selection
136📄 **Read:** [references/selection.md](references/selection.md)
137- Selection types (Single, Multiple, Series)
138- DataPointSelectionBehavior
139- SeriesSelectionBehavior
140- Selection events
141- Custom selection styling
142
143### Customization & Styling
144
145#### Legend and Appearance
146📄 **Read:** [references/legend-and-appearance.md](references/legend-and-appearance.md)
147- Legend configuration and positioning
148- Legend item templates
149- Chart appearance customization
150- Color palettes
151- Themes and liquid glass effect
152
153#### Annotations and PlotBands
154📄 **Read:** [references/annotations-and-plotbands.md](references/annotations-and-plotbands.md)
155- Annotation types (Text, View, Shape)
156- Adding and positioning annotations
157- PlotBand configuration for highlighting regions
158- Use cases and examples
159
160#### Custom Styling
161📄 **Read:** [references/customization-and-styling.md](references/customization-and-styling.md)
162- Series appearance customization
163- Adding custom labels
164- Color and gradient fills
165- Border and corner radius
166- Template customization
167
168### Data Handling & Advanced Features
169
170#### Trendlines
171📄 **Read:** [references/trendlines.md](references/trendlines.md)
172- Trendline types (Linear, Exponential, Logarithmic, Polynomial, Power, Moving Average)
173- Adding trendlines to series
174- Forecast and backcast
175- Trendline customization
176
177#### Data Point Management
178📄 **Read:** [references/data-handling.md](references/data-handling.md)
179- Empty points handling
180- Empty point modes (Gap, Zero, Average, Drop)
181- Getting data points by region
182- Touch position detection
183- Data manipulation
184
185#### Export and Localization
186📄 **Read:** [references/exporting-and-localization.md](references/exporting-and-localization.md)
187- Exporting charts as images
188- Export formats and options
189- Localization configuration
190- Culture-specific formatting
191- Resource files
192