• Material 3
  • Material 3 Dark
  • Fluent
  • Fluent Dark
  • Bootstrap v5
  • Bootstrap v5 Dark
  • Tailwind CSS
  • Tailwind CSS Dark
  • Material
  • Bootstrap v4
  • High Contrast
Mode Selection
Theme Selection
*Translated by Google Translator.
Essential Studio
All Controls

Example of Axis Crossing in ASP.NET Core Chart Control

This sample illustrates the interpolation of data points between linear and cubic using the spline and line series.

Crosses Value:
Label Near to Axis Line:

This sample demonstrates the axis-crossing behavior in a chart. The axis can be positioned anywhere in the chart area using the CrossesAt property of the axis, which specifies where the horizontal axis should intersect the vertical axis and vice-versa.

You can use the PlaceNextToAxisLine property to place the axis labels and ticks next to the axis line. If there are multiple axes, the cross-axis can be selected using the CrossesInAxis property.

Tooltip is enabled in this example. To see the tooltip in action, hover over a point or tap on a point in touch-enabled devices.

More information about the axis crossing can be found in this documentation section.