FlexChart even has a smart built-in feature where you can set the LabelAngle property to Double.NaN and it will only rotate the labels when necessary.įigure 4 - Rotate axis labels Format Axis Labels = OverlappingLabels.Show įigure 3 - Overlap or stagger axis labelsĪdditionally, you can rotate labels as well by setting the LabelAngle property. Overlapping options include: Show, Auto (hides to avoid overlap), Trim, and WordWrap. It can show all the labels, rotate the labels, hide overlapping labels, trim or wrap long labels, and even stagger the labels to make the most readable chart.Ĭonfigure the overlapping axis label behavior in FlexChart by setting the axis OverlappingLabels property and the StaggeredLines property. A common solution is to hide overlapping labels, which results in a loss of data readability.įlexChart is designed to provide flexible options for any scenario. This happens when you have a chart with too many ordinal axis labels. The following snippet sets and styles the axis titles: = "Day of Week" į = Color.Blue į = "Amount - In Dollars" į = Color.Blue įigure 2 - Style the axis title Manage Overlapping Axis LabelsĪ common problem when designing a modern chart with minimal design is loss of data. You can also customize the title’s font and color using the TitleStyle property. In FlexChart this can be done by setting the Title property of either axis. The following snippet makes the y-axis visible in FlexChart:įigure 1 - Hide the chart axis line Display C# Chart Axis TitlesĪll chart axes can be identified by a title that helps clarify the values being plotted. This behavior can be changed by setting the AxisLine property of either axis to true or false. Configure hierarchical axis grouping (New)įlexChart does not display the vertical axis line by default because it follows modern style trends that emphasize minimal design.Configure tick marks, gridlines and intervals.You can also create logarithmic axis scales, add multiple axes along the same scale, reverse the axis and more. Configure the axis line visibility, labels, tick marks, gridlines, title and position. The API is mostly the same for each platform as it enables flexible customization of the chart axis. NET component supported in WinForms, WPF, UWP, Xamarin, ASP.NET MVC, and Blazor (as of 2020 v2). Here, we look at all the typical ways you need to customize your chart’s axis using FlexChart.