Skip to main content

ConstantLineTitle.ShowBelowLine Property

Gets or sets whether a title is displayed below or above the constant line. This is a bindable property.

Namespace: DevExpress.Maui.Charts

Assembly: DevExpress.Maui.Charts.dll

NuGet Package: DevExpress.Maui.Charts


public bool ShowBelowLine { get; set; }

Property Value

Type Default Description
Boolean false

true if the title is displayed below the constant line; false, if the title is displayed above the line.


This example shows how to add a constant line to a numeric y-axis, customize its appearance and show it in the chart legend. To do this, add a NumericConstantLine object with the specified properties to the NumericAxisY.ConstantLines collection.

NumericAxisY Constant Line


              <dxc:NumericConstantLine AxisValue="{Binding ViewModel.NightTempAverage}"
                                       LegendText="Average Annual">
                  <!-- Customize the constant line title. -->
                      <dxc:ConstantLineTitle Text="{Binding ViewModel.NightTempAverage, StringFormat='{0}°C'}"
                                      <dxc:TextStyle Color="#7f43bf" Size="12"/>
                  <!-- Customize the constant line appearance. -->
                      <dxc:ConstantLineStyle Stroke="#7f43bf" Thickness="2" Dashes="7 3"/>
See Also