|
1 | | -# Creating-the-.NET-MAUI-Bar-Chart-to-Compare-Generative-AI-Usage |
2 | | -This sample demonstrates how to create Bar Chart to Compare Generative AI Use for Creating Media vs Obtaining Information |
| 1 | +# Comparing Generative AI Use for Creating Media vs Obtaining Information |
| 2 | +This sample demonstrates how to create Multi-Category Bar Charts to Compare Generative AI Use for Creating Media vs Obtaining Information. |
3 | 3 |
|
4 | | -Bar charts are versatile tools for comparing categorical data. They clearly show differences between categories, making them ideal for comparing media creation and information retrieval. Here are a few common use cases: |
| 4 | +Multi-Category Bar Charts are versatile tools for comparing categorical data. They clearly show differences between categories, making them ideal for comparing media creation and information retrieval. Here are a few common use cases: |
5 | 5 | * Survey Results |
6 | 6 | * Usage Trends |
7 | 7 | * Performance Metrics |
8 | 8 | * Market Analysis |
9 | 9 |
|
10 | 10 | # Other Key Features of the Syncfusion .NET MAUI Bar Chart |
11 | 11 |
|
12 | | -The other key features of Bar chart customization include chart features such as chart title, series customization, data label customization, and axis label customization. |
| 12 | +The other key features of Bar chart customization include chart features such as chart title, series customization, data labels customization, and axis labels customization. |
13 | 13 |
|
14 | 14 | ## Chart Title: Setting the Stage |
15 | 15 |
|
16 | | -With the Syncfusion .NET MAUI Chart, adding a title is simple and intuitive. For our Bar Chart, we've chosen "Creating a .NET MAUI Bar Chart to Compare Generative AI Use for Creating Media vs Obtaining Information" The title of the chart provides quick information about the data being plotted in the chart. |
| 16 | +With the Syncfusion .NET MAUI Chart, adding a title is simple and intuitive. For our Bar Chart, we've chosen "For creating media" and "For getting information". The title of the chart provides quick information about the data being plotted in the chart. |
17 | 17 |
|
18 | 18 | ## Customizing the Series Appearance |
19 | 19 |
|
20 | 20 | To customize the appearance of a series in the SfCartesianChart, you can adjust properties such as [Fill](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Charts.ChartSeries.html#Syncfusion_Maui_Charts_ChartSeries_Fill), [Stroke](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Charts.ColumnSeries.html#Syncfusion_Maui_Charts_ColumnSeries_Stroke), and [Width](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Charts.ColumnSeries.html#Syncfusion_Maui_Charts_ColumnSeries_Width). For instance, if you are using the BarSeries, you can apply different colors to each series. |
21 | 21 |
|
22 | | -## Data label customization |
| 22 | +## Data labels customization |
23 | 23 |
|
24 | | -In addition to the [LabelTemplate](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Charts.ChartSeries.html#Syncfusion_Maui_Charts_ChartSeries_LabelTemplate), you can customize the data labels to better suit your needs |
| 24 | +Customize the data labels to better suit your needs. To customization data labels, you can use properties such as [LabelStyle](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Charts.ChartDataLabelSettings.html#Syncfusion_Maui_Charts_ChartDataLabelSettings_LabelStyle), [LabelPlacement](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Charts.ChartDataLabelSettings.html#Syncfusion_Maui_Charts_ChartDataLabelSettings_LabelPlacement), [UseSeriesPalette](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Charts.ChartDataLabelSettings.html#Syncfusion_Maui_Charts_ChartDataLabelSettings_UseSeriesPalette). |
25 | 25 |
|
26 | | -## Axis label customization |
| 26 | +## Axis labels customization |
27 | 27 |
|
28 | 28 | To customize the x and y axes, you can use properties such as [LabelStyle](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Charts.ChartAxis.html#Syncfusion_Maui_Charts_ChartAxis_LabelStyle), [AxisLineStyle](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Charts.ChartAxis.html#Syncfusion_Maui_Charts_ChartAxis_AxisLineStyle), and [MajorTickStyle](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Charts.ChartAxis.html#Syncfusion_Maui_Charts_ChartAxis_MajorTickStyle). |
29 | 29 |
|
30 | 30 | After executing these code examples, we will get the output that resembles the following image. |
31 | 31 |
|
32 | | -<img width="960" alt="BarChartBlogImage" src="https://github.com/user-attachments/assets/ddf793bc-fd69-4553-889b-cafed75f9d6a"> |
| 32 | +<img width="960" alt="AIBlogImage" src="https://github.com/user-attachments/assets/add674d6-7de9-4cc8-9948-5e29aa749f66"> |
33 | 33 |
|
34 | | -For a step-by-step procedure, refer to the Bar Chart blog post. |
| 34 | +# Troubleshooting |
| 35 | + |
| 36 | +Path too long exception |
| 37 | + |
| 38 | +If you are facing a path too long exception when building this example project, close Visual Studio and rename the repository to short and build the project. |
| 39 | + |
| 40 | +For a step-by-step procedure, refer to the [Multi-Category Bar Charts blog post](). |
0 commit comments