Chart Layout
fun ChartLayout(modifier: Modifier = Modifier, title: @Composable () -> Unit = {}, legend: @Composable () -> Unit = {}, legendLocation: LegendLocation = KoalaPlotTheme.legendLocation, content: @Composable () -> Unit = {})
A ChartLayout is a UI element consisting of a title, legend, and chart content. The legend may be positioned at different locations within the Chart.
Parameters
modifier
Modifier to be applied to the layout of the Chart
title
Optional Title to be placed at the top center of the Chart
legend
Optional Legend to be placed on the Chart
legend Location
Indicates the location of the legend within the Chart
content
The Primary Chart content.