CTLineBarChartStyle

public protocol CTLineBarChartStyle : CTChartStyle

A protocol to extend functionality of CTChartStyle specifically for Line and Bar Charts.

  • A type representing touch overlay marker type. – MarkerType

    Declaration

    Swift

    associatedtype Mark : MarkerType
  • Where the marker lines come from to meet at a specified point.

    Declaration

    Swift

    var markerType: Mark { get set }
  • Style of the vertical lines breaking up the chart.

    Declaration

    Swift

    var xAxisGridStyle: GridStyle { get set }
  • Location of the X axis labels - Top or Bottom.

    Declaration

    Swift

    var xAxisLabelPosition: XAxisLabelPosistion { get set }
  • Font of the labels on the X axis.

    Declaration

    Swift

    var xAxisLabelFont: Font { get set }
  • Text Colour for the labels on the X axis.

    Declaration

    Swift

    var xAxisLabelColour: Color { get set }
  • Where the label data come from. DataPoint or ChartData.

    Declaration

    Swift

    var xAxisLabelsFrom: LabelsFrom { get set }
  • Label to display next to the chart giving info about the axis.

    Declaration

    Swift

    var xAxisTitle: String? { get set }
  • Font of the x axis title.

    Declaration

    Swift

    var xAxisTitleFont: Font { get set }
  • Colour of the x axis title.

    Declaration

    Swift

    var xAxisTitleColour: Color { get set }
  • Colour of the x axis border.

    Declaration

    Swift

    var xAxisBorderColour: Color? { get set }
  • Style of the horizontal lines breaking up the chart.

    Declaration

    Swift

    var yAxisGridStyle: GridStyle { get set }
  • Location of the X axis labels - Leading or Trailing.

    Declaration

    Swift

    var yAxisLabelPosition: YAxisLabelPosistion { get set }
  • Font of the labels on the Y axis.

    Declaration

    Swift

    var yAxisLabelFont: Font { get set }
  • Text Colour for the labels on the Y axis.

    Declaration

    Swift

    var yAxisLabelColour: Color { get set }
  • Number Of Labels on Y Axis.

    Declaration

    Swift

    var yAxisNumberOfLabels: Int { get set }
  • Option to add custom Strings to Y axis rather than auto generated numbers.

    Declaration

    Swift

    var yAxisLabelType: YAxisLabelType { get set }
  • Label to display next to the chart giving info about the axis.

    Declaration

    Swift

    var yAxisTitle: String? { get set }
  • Font of the y axis title.

    Declaration

    Swift

    var yAxisTitleFont: Font { get set }
  • Font of the y axis title.

    Declaration

    Swift

    var yAxisTitleColour: Color { get set }
  • Colour of the y axis border.

    Declaration

    Swift

    var yAxisBorderColour: Color? { get set }
  • Where to start drawing the line chart from. Zero, data set minium or custom.

    Declaration

    Swift

    var baseline: Baseline { get set }
  • Where to finish drawing the chart from. Data set maximum or custom.

    Declaration

    Swift

    var topLine: Topline { get set }