FUIChartLegendTableViewCell

@IBDesignable
open class FUIChartLegendTableViewCell : FUIBaseDrawingTableViewCell<FUIChartLegendView>

Legend component of Chart Floorplan. May be used stand-alone, with other FUIChartFloorplan* cells, outside of the Chart Floorplan.

Usage

let cell = tableView.dequeueReusableCell(withIdentifier: FUIChartLegendTableViewCell.reuseIdentifier, for: indexPath) as! FUIChartLegendTableViewCell
cell.seriesTitles = ["2016", "2017"]
cell.seriesColor = [UIColor.preferredFioriColor(forStyle: .chart1), UIColor.preferredFioriColor(forStyle: .chart2)]
return cell

Theming

Supported class paths:

fdlFUIChartLegendTableViewCell_seriesTitles {}

Supported properties:

font-color: Color;
font-style: UIFontTextStyle;
text-line-clamp: Integer;
text-align: NSTextAlignment;
  • Array of UIColors to be used to show series data on the FUIChartView

    Declaration

    Swift

    public var seriesColor: [UIColor] { get set }