ChartThemePalette

public protocol ChartThemePalette

Protocol defining available theme palette colors.

chartView.style.themePalette = myThemePalette
  • Usage:

    • chartView.axis.value.titleLabel.color
    • chartView.axis.secondaryValue.titleLabel.color
    • chartView.axis.category.titleLabel.color With card theme:
    • chartView.axis.value.labels.color
    • chartView.axis.secondaryValue.labels.color
    • chartView.axis.category.labels.color

    Declaration

    Swift

    var primary1: UIColor { get set }
  • Usage:

    • chartView.touchAdornmentColor

    Declaration

    Swift

    var primary2: UIColor { get set }
  • Usage:

    • chartView.axis.value.labels.color
    • chartView.axis.secondaryValue.labels.color
    • chartView.axis.category.labels.color

    Declaration

    Swift

    var primary3: UIColor { get set }
  • Usage:

    • chartView.axis.value.gridlines.color
    • chartView.axis.secondaryValue.gridlines.color
    • chartView.axis.category.gridlines.color
    • chartView.axis.value.baseline.color
    • chartView.axis.secondaryValue.baseline.color
    • chartView.axis.category.baseline.color

    Declaration

    Swift

    var primary4: UIColor { get set }
  • Usage not defined.

    Declaration

    Swift

    var primary5: UIColor { get set }
  • Usage: With regular theme

    • chartView.pointAdornment.strokeColor

    Declaration

    Swift

    var primary6: UIColor { get set }
  • Usage: With header theme

    • chartView.axis.value.labels.color
    • chartView.axis.secondaryValue.labels.color
    • chartView.axis.category.labels.color

    Declaration

    Swift

    var primary1Light: UIColor { get set }
  • Usage not defined.

    Declaration

    Swift

    var primary2Light: UIColor { get set }