FUIChartLegendView

open class FUIChartLegendView : FUIDrawingView, FUISeriesTitleComponent

Legend view component of FUIChartLegendTableViewCell, FUIChartFloorplanView, FUIChartFloorplanViewController, and FUIChartFloorplanTableViewCell.

Typically not used directly by developer.

Usage

let view = FUIChartLegendView()
view.seriesTitles = ["2016", "2017"]
view.seriesColor = [UIColor.preferredFioriColor(forStyle: .chart1), UIColor.preferredFioriColor(forStyle: .chart2)]

Theming

Supported class paths:

fdlFUIChartLegendView_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 seriesColors: [UIColor] { get set }
  • System formatted String to be displayed as the seriesTitle

    Declaration

    Swift

    public var seriesTitles: [FUIText] { get set }
  • Developer formatted NSAttributedString to display as the series title

    Declaration

    Swift

    public var seriesTitlesAttributedText: NSAttributedString! { get set }