BarLineScatterCandleBubbleChartDataSet.swift 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. //
  2. // BarLineScatterCandleBubbleChartDataSet.swift
  3. // Charts
  4. //
  5. // Copyright 2015 Daniel Cohen Gindi & Philipp Jahoda
  6. // A port of MPAndroidChart for iOS
  7. // Licensed under Apache License 2.0
  8. //
  9. // https://github.com/danielgindi/Charts
  10. //
  11. import Foundation
  12. import CoreGraphics
  13. open class BarLineScatterCandleBubbleChartDataSet: ChartDataSet, BarLineScatterCandleBubbleChartDataSetProtocol
  14. {
  15. // MARK: - Data functions and accessors
  16. // MARK: - Styling functions and accessors
  17. open var highlightColor = NSUIColor(red: 255.0/255.0, green: 187.0/255.0, blue: 115.0/255.0, alpha: 1.0)
  18. open var highlightLineWidth = CGFloat(0.5)
  19. open var highlightLineDashPhase = CGFloat(0.0)
  20. open var highlightLineDashLengths: [CGFloat]?
  21. // MARK: - NSCopying
  22. open override func copy(with zone: NSZone? = nil) -> Any
  23. {
  24. let copy = super.copy(with: zone) as! BarLineScatterCandleBubbleChartDataSet
  25. copy.highlightColor = highlightColor
  26. copy.highlightLineWidth = highlightLineWidth
  27. copy.highlightLineDashPhase = highlightLineDashPhase
  28. copy.highlightLineDashLengths = highlightLineDashLengths
  29. return copy
  30. }
  31. }