Skip to content

Latest commit

 

History

History
47 lines (23 loc) · 3.49 KB

File metadata and controls

47 lines (23 loc) · 3.49 KB

Creating-an-Error-Bar-Chart-for-Exploring-the-Thermal-Expansion-of-Materials

Error Bar in .NET MAUI Chart

ErrorBarSeries indicates the errors or uncertainty in reported values. This will find the possible variations in measurements, and in Chart control these values are displayed as data points. The HorizontalErrorValue and the VerticalErrorValue is used to set the error value(variation) to the series.

Mode

The error bar mode specifies whether the error bar should be drawn horizontally, vertically or both. The Mode property used to switch the error bar mode. By default, the Mode value is Both, which will display both horizontal and vertical error values.

Both

To view both the horizontal and vertical error value, you can set the Mode as Both.

Horizontal

To view horizontal error value, you can set the Mode as Horizontal.

Vertical

To view vertical error value, you can set the Mode as Vertical.

Direction

The HorizontalDirection and VerticalDirection specifies whether to show positive, negative, or both directions of error values.

ErrorBarDirection contains below values:

*Both - It indicates the actual data point value along with specific amount of positive and negative error values.

*Plus - It indicates the actual data point value along with specific amount of positive error value.

*Minus- It indicates the actual data point value along with specific amount of negative error value.

The following code illustrates how to set the HorizontalDirection and the VerticalDirection values to error bar chart.

This sample demonstarte how the error bar series was used in real time examples.

Thermal expansion is a fundamental property of materials that describes their tendency to change shape or size in response to temperature changes. ErrorBar charts are excellent tools for visualizing and analyzing thermal expansion data.

ThermalExpansionofMaterials

If you'd like more information or a detailed guide, refer Exploring Thermal Expansion of Materials using Error bar blog.