Skip to content

Commit ef8415d

Browse files
Update README.md
1 parent 2664630 commit ef8415d

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,22 @@
22

33
A [Stacked column chart](https://help.syncfusion.com/maui/cartesian-charts/stackedcolumn) comprises columns stacked on top of one another, allowing a comparison of the total and the relative contribution of each sub-category. In this case, the columns represent the quarterly smartphone shipments for 2022, while the line chart illustrates the market share of smartphones in 2022.
44

5+
Simultaneously, the [Line Chart](https://www.syncfusion.com/maui-controls/maui-cartesian-charts/chart-types/maui-line-chart) will provide a clear illustration of the market share of smartphones in 2022, offering a comprehensive view of the smartphone industry landscape throughout the year.
6+
7+
## Multiple y-axes to the chart
8+
We’ll create a distinct y-axis for the line chart. This process begins with generating a y-axis and assigning a unique name. This name is subsequently bound to the line series, establishing a connection between them.
9+
10+
The versatility of the Cartesian Charts enables us to create multiple series, each having its own dedicated x- and y-axes. To improve the chart’s readability, modify the CrossesAt property, which will position the y-axis at the end of the chart (values are in percentages).
11+
12+
13+
## Customizing the tooltip using a template
14+
We can also customize the tooltip using a tooltip template. First, create a date template using the brand name and market share, and then bind this template to the tooltip using the `TooltipTemplate` property.
15+
16+
## Troubleshooting
17+
#### Path too long exception
18+
If you are facing path too long exception when building this example project, close Visual Studio and rename the repository to short and build the project.
19+
520
<img width="930" alt="StackedColumn" src="https://github.com/SyncfusionExamples/Creating-a-Stacked-Column-Chart-for-Global-Smartphone-Shipments/assets/102796134/d384b86e-2793-4cf3-a570-b45495d91434">
621

22+
For a step-by-step procedure, refer to the [Visualize .NET MAUI Stacked Column Chart for global smart phone shipments.](https://www.syncfusion.com/blogs/post/maui-stacked-column-chart-phone)
723

0 commit comments

Comments
 (0)