Chart models
Shared chart values and legend configuration.
Shared chart values and legend configuration.
Public API
FChartValueFChartLegendFChartLegendArrangementFChartLegendPlacementFChartLegendValue
Example
let values = [
FChartValue(label: "Design", value: 42, color: .purple),
FChartValue(label: "Development", value: 58, color: .blue)
]
let legend = FChartLegend(
arrangement: .grid,
placement: .below,
value: .percentage(format: .percentage)
)
Source
This reference follows Sources/FreakUI/Components/Charts/FChartModels.swift. Component-specific configuration is documented under the public initializer, modifier, and supporting types in that source file.