FUIChartPlotTableViewCell
@IBDesignable
@MainActor
open class FUIChartPlotTableViewCell : FUIBaseDrawingTableViewCell<FUIChartPlotView>
Plot component of Chart Floorplan. May be used stand-alone, with other FUIChartFloorplan* cells, outside of the Chart Floorplan.
Usage
let cell = tableView.dequeueReusableCell(withIdentifier: FUIChartPlotTableViewCell.reuseIdentifier, for: indexPath) as! FUIChartPlotTableViewCell
cell.valuesAxisTitle.text = "Salesperson"
cell.categoryAxisTitle.text = "Sum of Sales ($)"
cell.chartView.categoryAxis.labelLayoutStyle = .range
cell.chartView.dataSource = self
return cell
Theming
Supported class paths:
fdlFUIChartPlotTableViewCell_valuesAxisTitle {} fdlFUIChartPlotTableViewCell_secondaryValuesAxisTitle {} fdlFUIChartPlotTableViewCell_categoryAxisTitle {} fdlFUIChartPlotTableViewCell_categoryAxisLabel {} fdlFUIChartPlotTableViewCell_numericAxisLabel {}
Supported properties:
font-color: Color; font-style: UIFontTextStyle; text-line-clamp: Integer; text-align: NSTextAlignment;
-
View containing the chart and plotted points
Declaration
Swift
@MainActor public var chartView: FUIChartView { get set } -
Declaration
Swift
@MainActor open override func prepareForReuse()