Radar Chart Defaults
Theme-aware style factories and default value formatters for RadarChartStyle.
Functions
Link copied to clipboard
fun axes(visible: Boolean = true, lineColor: Color = StyleDefaults.gridColor, lineWidth: Dp = StyleDefaults.lineWidth, labelColor: Color = StyleDefaults.axisLabelColor, labelSize: TextUnit = StyleDefaults.axisLabelSize, labelPadding: Dp = StyleDefaults.axisLabelPadding, labelVisible: Boolean = StyleDefaults.radarAxisLabelsVisible): RadarAxesStyle
Returns a RadarAxesStyle for the axis lines and labels.
Link copied to clipboard
fun grid(visible: Boolean = StyleDefaults.gridVisible, color: Color = StyleDefaults.gridColor, lineWidth: Dp = StyleDefaults.lineWidth, steps: Int = StyleDefaults.gridSteps): RadarGridStyle
Returns a RadarGridStyle for the grid rings.
Link copied to clipboard
Returns a LegendStyle with the provided visibility.
Link copied to clipboard
fun points(visible: Boolean = StyleDefaults.pointsVisible, color: Color = StyleDefaults.pointColor, colorSameAsLine: Boolean = true, size: Dp = StyleDefaults.pointSize): RadarPointStyle
Returns a RadarPointStyle for the data points.
Link copied to clipboard
fun polygon(fillVisible: Boolean = true, fillAlpha: Float = StyleDefaults.radarFillAlpha, lineColor: Color = StyleDefaults.seriesColor, lineColors: List<Color> = emptyList(), lineWidth: Dp = StyleDefaults.seriesLineWidth): RadarPolygonStyle
Returns a RadarPolygonStyle for the series polygons.
Link copied to clipboard
fun selection(visible: Boolean = true, pointSize: Dp = StyleDefaults.selectedPointSize, unselectedAlpha: Float = StyleDefaults.unselectedAlpha, unfocusedSeriesAlpha: Float = StyleDefaults.radarUnfocusedSeriesAlpha): RadarSelectionStyle
Returns a RadarSelectionStyle for axis selection and series focus.
Link copied to clipboard
fun style(chartContainerStyle: ChartContainerStyle = ChartContainerDefaults.style(), grid: RadarGridStyle = grid(), axes: RadarAxesStyle = axes(), polygon: RadarPolygonStyle = polygon(), points: RadarPointStyle = points(), selection: RadarSelectionStyle = selection(), legend: LegendStyle = legend()): RadarChartStyle
Returns a RadarChartStyle with the provided parameters or their default values.