FUIChartPlotTableViewCell
@IBDesignable
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_categoryAxisTitle {}
Supported properties:
font-color: Color;
font-style: UIFontTextStyle;
text-line-clamp: Integer;
text-align: NSTextAlignment;
-
View containing the chart and plotted points
Declaration
Swift
public var chartView: FUIChartView { get }