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()
1010 var builder = MauiApp . CreateBuilder ( ) ;
1111 builder
1212 . UseMauiApp < App > ( )
13- . ConfigureSyncfusionToolkit ( )
13+ . ConfigureSyncfusionToolkit ( )
1414 . ConfigureFonts ( fonts =>
1515 {
1616 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
5555<chart:SfCartesianChart>
5656 . . .
5757 <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}">
6161 </chart:LineSeries>
6262</chart:SfCartesianChart>
6363```
@@ -77,4 +77,12 @@ chart.Series.Add(series);
7777this.Content = chart;
7878```
7979** 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