ChartThemePalette

public protocol ChartThemePalette

Protocol defining available theme palette colors.

chart.style.themePalette = myThemePalette
  • Usage:

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

    Declaration

    Swift

    var primary1: UIColor { get set }
  • Usage:

    • chart.touchAdornmentColor

    Declaration

    Swift

    var primary2: UIColor { get set }
  • Usage:

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

    Declaration

    Swift

    var primary3: UIColor { get set }
  • Usage:

    • chart.axis.value.gridlines.color
    • chart.axis.secondaryValue.gridlines.color
    • chart.axis.category.gridlines.color
    • chart.axis.value.baseline.color
    • chart.axis.secondaryValue.baseline.color
    • chart.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

    • chart.pointAdornment.strokeColor

    Declaration

    Swift

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

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

    Declaration

    Swift

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

    Declaration

    Swift

    var primary2Light: UIColor { get set }