File tree Expand file tree Collapse file tree 2 files changed +13
-5
lines changed
MultiColoredLineChart/MultiColoredLineChart Expand file tree Collapse file tree 2 files changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ public static MauiApp CreateMauiApp()
10
10
var builder = MauiApp . CreateBuilder ( ) ;
11
11
builder
12
12
. UseMauiApp < App > ( )
13
- . ConfigureSyncfusionToolkit ( )
13
+ . ConfigureSyncfusionToolkit ( )
14
14
. ConfigureFonts ( fonts =>
15
15
{
16
16
fonts . AddFont ( "OpenSans-Regular.ttf" , "OpenSansRegular" ) ;
Original file line number Diff line number Diff line change @@ -55,9 +55,9 @@ Set the CustomBrushes collection to the [PaletteBrushes](https://help.syncfusion
55
55
<chart:SfCartesianChart>
56
56
. . .
57
57
<chart:LineSeries ItemsSource="{Binding Data}"
58
- XBindingPath="Year"
59
- YBindingPath="Rainfall"
60
- PaletteBrushes="{Binding CustomBrushes}">
58
+ XBindingPath="Year"
59
+ YBindingPath="Rainfall"
60
+ PaletteBrushes="{Binding CustomBrushes}">
61
61
</chart:LineSeries>
62
62
</chart:SfCartesianChart>
63
63
```
@@ -77,4 +77,12 @@ chart.Series.Add(series);
77
77
this.Content = chart;
78
78
```
79
79
** Output**
80
- ![ MultiColoredLineChart.png] ( https://support.syncfusion.com/kb/agent/attachment/article/19737/inline?token=eyJhbGciOiJodHRwOi8vd3d3LnczLm9yZy8yMDAxLzA0L3htbGRzaWctbW9yZSNobWFjLXNoYTI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjM3ODY5Iiwib3JnaWQiOiIzIiwiaXNzIjoic3VwcG9ydC5zeW5jZnVzaW9uLmNvbSJ9.HKkmE6oUup9D4987Qbt4qhPPfM416GeeBeXXuzbGdQU )
80
+ ![ MultiColoredLineChart.png] ( https://support.syncfusion.com/kb/agent/attachment/article/19737/inline?token=eyJhbGciOiJodHRwOi8vd3d3LnczLm9yZy8yMDAxLzA0L3htbGRzaWctbW9yZSNobWFjLXNoYTI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjM3ODY5Iiwib3JnaWQiOiIzIiwiaXNzIjoic3VwcG9ydC5zeW5jZnVzaW9uLmNvbSJ9.HKkmE6oUup9D4987Qbt4qhPPfM416GeeBeXXuzbGdQU )
81
+
82
+ ** Troubleshooting**
83
+
84
+ Path too long exception
85
+
86
+ If you are facing a path too long exception when building this example project, close Visual Studio and rename the repository to a shorter name before building the project.
87
+
88
+ For more details, refer to the KB on [ how to Render Multi-Colored Line Chart Using .NET MAUI Cartesian chart] ( ) .
You can’t perform that action at this time.
0 commit comments