API Reference
Enum
ChartLabelDensity
Defines how aggressively renderers reduce axis labels when space is limited.
Inheritance
- Enum
- ChartLabelDensity
Usage
Explore 9 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 7
- Property ChartAxis.LabelDensity
- Field ChartLabelDensity.All
- Field ChartLabelDensity.Auto
- Field ChartLabelDensity.Dense
- Field ChartLabelDensity.Relaxed
- Property ChartOptions.XAxisLabelDensity
- Property ChartOptions.YAxisLabelDensity
Accepted by parameters 2
- Method Chart.WithXAxisLabelDensity
- Method Chart.WithYAxisLabelDensity
Inherited Methods
public override Boolean Equals(Object? obj) #Returns:
BooleanInherited from Enum
Parameters
- obj Object?
ToString 4 overloads
public String ToString(IFormatProvider? provider) #Returns:
StringInherited from Enum
Obsolete("The provider argument is not used. Use ToString() instead.")Parameters
- provider IFormatProvider?
public String ToString(String? format, IFormatProvider? provider) #Returns:
StringInherited from Enum
Obsolete("The provider argument is not used. Use ToString(String) instead.")Parameters
- format String?
- provider IFormatProvider?
Values
public const ChartLabelDensity Auto #Lets the renderer choose a balanced label count for the available space.
Value:
0public const ChartLabelDensity Dense #Keeps more labels visible and accepts tighter spacing.
Value:
1public const ChartLabelDensity All #Keeps eligible axis labels without collision thinning. Individual labels still fit their viewport and avoid marks; text may be shortened or omitted when it cannot fit. Coincident full-turn ticks remain a single seam caption.
Value:
3