Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
NitheeshkumarThangaraj committed Jun 25, 2024
1 parent be55982 commit 293691e
Showing 1 changed file with 30 additions and 2 deletions.
32 changes: 30 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,30 @@
# How-to-add-benchmark-line-in-.NET-MAUI-Cartesian-chart
This article in the Syncfusion Knowledge Base explains how to add benchmark line in .NET MAUI Cartesian chart
# How to add a benchmark line to the .NET MAUI Cartesian Chart
A benchmark line in a chart is a horizontal or vertical line that represents a specific value or threshold. It is used to visually compare data points against this reference value. For example, a benchmark line can indicate a target sales figure, a minimum acceptable performance level, or any other significant threshold.

**Cartesian Chart**

A [Cartesian chart](https://www.syncfusion.com/maui-controls/maui-cartesian-charts) (or Cartesian coordinate chart) uses a rectangular coordinate system to plot data points on an X and Y axis. It is commonly used for displaying data in various formats, including line charts, bar charts, and scatter plots. The SfCartesianChart control from Syncfusion for .NET MAUI provides a flexible and powerful way to create these charts with various data visualization options.

**Column Series**

A [Column Series](https://help.syncfusion.com/maui/cartesian-charts/column) is a type of chart series where data points are represented as vertical bars (columns) extending from the X-axis. It is one of the most common and effective ways to visualize data, especially when comparing different categories or tracking changes over time.

**Annotations Support**

[Annotations](https://help.syncfusion.com/maui/cartesian-charts/annotation) in charts are graphical elements that can be added to provide additional information or highlight specific areas of the chart. They help in enhancing the interpretability of the chart by marking important data points, trends, or thresholds. Common types of annotations include lines, shapes, text, and images.


In this example, we will explore how to add the benchmark line for a Cartesian chart using the annotation feature and custom drawing method.

![Annotation](https://github.com/SyncfusionExamples/How-to-add-a-benchmark-line-to-the.NET-MAUI-Cartesian-Chart/assets/113961867/00f0fc66-f138-4641-bfed-9c8410473012)


![Custom drawing](https://github.com/SyncfusionExamples/How-to-add-a-benchmark-line-to-the.NET-MAUI-Cartesian-Chart/assets/113961867/6ce900ed-854b-46cc-b4d3-1950da0fbe07)


## Troubleshooting

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.

For a step by step procedure, refer to the [BenchMark KB article](https://support.syncfusion.com/kb/article/16223/how-to-add-a-benchmark-line-to-thenet-maui-cartesian-chart?isInternalRefresh=False).

0 comments on commit 293691e

Please sign in to comment.