PredixTimeSeriesView

open class PredixTimeSeriesView: LineChartView

PredixTimeSeriesView – TimeSeries chart built with LineChartView.

  • A delegate to allow a class to know when it’s time to load data into the view

    Declaration

    Swift

    open weak var timeSeriesDataDelegate: TimeSeriesViewDelegate?
  • set the color scheme to dark default: false

    Declaration

    Swift

    open var darkTheme: Bool = false
  • the data point font default: System font with system font size

    Declaration

    Swift

    open var dataPointFont: UIFont = UIFont.systemFont(ofSize: UIFont.systemFontSize)
  • Allows a developer to set some basic padding for the chart legend labels Default 10.0

    Declaration

    Swift

    open var legendLabelPadding: CGFloat = 10.0
  • Array of colors to use. Defaults to UIColor.Predix.DataVisualizationSets.regular

    Declaration

    Swift

    open var dataVisualizationColors: [UIColor] = UIColor.Predix.DataVisualizationSets.regular
  • the chart embedded label text

    Declaration

    Swift

    open var labelText: String?
  • indicates whether the chats embedded label should be displayed default: false

    Declaration

    Swift

    open var labelEnabled: Bool
  • indicates whether left axis label should be displayed default: true

    Declaration

    Swift

    @IBInspectable open var leftAxisEnabled: Bool
  • indicates whether right axis label should be displayed default: true

    Declaration

    Swift

    @IBInspectable open var rightAxisEnabled: Bool
  • indicates whether legend chart should be displayed vertically default: true

    Declaration

    Swift

    @IBInspectable open var legendVerticalOrientation: Bool
  • indicates whether legend chart should be aligned on the left default: true

    Declaration

    Swift

    open var legendAlignedLeft: Bool
  • indicates whether legend chart should be aligned on the top default: true

    Declaration

    Swift

    open var legendAlignedTop: Bool
  • the chart boarder color default: white

    Declaration

    Swift

    open var chartBorderColor: UIColor
  • the chart x Axis text color default: black

    Declaration

    Swift

    open var xAxisTextColor: UIColor
  • the right chart x Axis text color default: black

    Declaration

    Swift

    open var rightAxisTextColor: UIColor
  • the left chart x Axis text color default: black

    Declaration

    Swift

    open var leftAxisTextColor: UIColor
  • the legend chart x Axis text color default: black

    Declaration

    Swift

    open var legendTextColor: UIColor
  • text color to display when there is no chart data loaded default: black

    Declaration

    Swift

    open var noChartDataTextColor: UIColor