Skip to content

Commit 4b7952e

Browse files
committed
reference links added
1 parent 07e2eb2 commit 4b7952e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# How to use DateTime values in the Y Axis in .NET MAUI Cartesian Chart
22

3-
This repository contains a sample project showcasing how to use DateTime values on the Y-Axis in a .NET MAUI Cartesian Chart.
4-
Since the Cartesian Chart does not natively support DateTimeAxis for the Y-Axis, this project demonstrates an alternative approach for plotting DateTime values and formatting them for display on NumericalAxis labels.
3+
This repository contains a sample project showcasing how to use DateTime values on the Y-Axis in a [.NET MAUI Cartesian Chart](https://www.syncfusion.com/maui-controls/maui-cartesian-charts).
4+
Since the Cartesian Chart does not natively support [DateTimeAxis](https://help.syncfusion.com/cr/maui-toolkit/Syncfusion.Maui.Toolkit.Charts.DateTimeAxis.html) for the Y-Axis, this project demonstrates an alternative approach for plotting DateTime values and formatting them for display on [NumericalAxis](https://help.syncfusion.com/cr/maui-toolkit/Syncfusion.Maui.Toolkit.Charts.NumericalAxis.html) labels.
55

6-
**Step 1:** Initialize the SfCartesianChart with Primary and Secondary Axes and populate it with data as follows. For more detailed guidance, refer to the MAUI Cartesian Charts getting started documentation.
6+
**Step 1:** Initialize the [SfCartesianChart](https://help.syncfusion.com/cr/maui-toolkit/Syncfusion.Maui.Toolkit.Charts.SfCartesianChart.html) with Primary and Secondary Axes and populate it with data as follows. For more detailed guidance, refer to the MAUI Cartesian Charts getting started [documentation](https://help.syncfusion.com/maui-toolkit/cartesian-charts/getting-started).
77

88
**Step 2:** Define the DataModel and convert the DateTime values into total minutes and store it in a separate property for using them in the numerical Y-Axis.
99

10-
**Step 3:** Declare an event handler for the LabelCreated event of the numerical Y-Axis.
10+
**Step 3:** Declare an event handler for the [LabelCreated](https://help.syncfusion.com/cr/maui-toolkit/Syncfusion.Maui.Toolkit.Charts.ChartAxis.html) event of the numerical Y-Axis.
1111

1212
**Step 4:** Handle duration values and format the labels of the NumericalAxis within the LabelCreated event.
1313

@@ -21,4 +21,4 @@ Since the Cartesian Chart does not natively support DateTimeAxis for the Y-Axis,
2121

2222
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.
2323

24-
Refer to the KB article on [How to use DateTime values in the Y Axis in .NET MAUI Cartesian Chart]() for better understanding along with relevant code snippets.
24+
Refer to the KB article on [How to use DateTime values in the Y Axis in .NET MAUI Cartesian Chart](https://support.syncfusion.com/kb/article/19837/how-to-use-datetime-values-in-the-y-axis-in-net-maui-cartesian-chart) for better understanding along with relevant code snippets.

0 commit comments

Comments
 (0)