Skip to content

Commit f8092e9

Browse files
Update README.md
1 parent 5e77493 commit f8092e9

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# How-to-add-crosshair-lines-in-.NET-MAUI-SfCartesianChart
1+
# How to add crosshair lines in .NET-MAUI SfCartesianChart
22
This repository demonstrates how to add crosshair lines to a .NET MAUI Cartesian Chart, making it easier for users to analyze data. The crosshair lines are dynamically updated based on user touch interaction with the chart. Two methods are provided for implementing this feature: using GraphicsView with ChartInteractiveBehavior and using Annotations with ChartInteractiveBehavior.
33
## Methods to Add Crosshair Lines
44
### 1. Using GraphicsView with ChartInteractiveBehavior
@@ -10,5 +10,7 @@ Both methods dynamically render crosshair lines that follow the user's touch, im
1010

1111
[CrossHair in .NET MAUI SfCartesianChart](https://github.com/user-attachments/assets/49c574ff-dae7-499e-a13b-c47e80b6d353)
1212

13+
## Troubleshooting
14+
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.
1315

14-
16+
For a step-by-step procedure, refer to the [How to add crosshair lines in the .NET MAUI Chart(SfCartesianChart)? KB article](https://support.syncfusion.com/kb/article/15639).

0 commit comments

Comments
 (0)