Heatmap Chart Defaults
Defaults for heatmap charts.
Properties
Functions
Link copied to clipboard
fun colorScale(colors: List<Color> = listOf(StyleDefaults.heatmapLowColor, StyleDefaults.heatmapHighColor), min: Double? = null, max: Double? = null): HeatmapColorScale
Returns a theme-aware sequential scale from a light tint to the primary color.
Link copied to clipboard
fun style(chartContainerStyle: ChartContainerStyle = ChartContainerDefaults.style(), renderMode: HeatmapRenderMode = HeatmapRenderMode.Cells, colorScale: HeatmapColorScale = colorScale(), cellSpacing: Dp = StyleDefaults.heatmapCellSpacing, xLabels: AxisLabelStyle = AxisLabelDefaults.style(), yLabels: AxisLabelStyle = AxisLabelDefaults.style(), legend: LegendStyle = LegendDefaults.style()): HeatmapChartStyle