Skip to content

Commit

Permalink
向OC暴露属性
Browse files Browse the repository at this point in the history
  • Loading branch information
FreddyZeng committed Dec 1, 2017
1 parent 04bc28a commit 3f4452b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion Source/Charts/Components/ChartLimitLine.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import CoreGraphics

/// The limit line is an additional feature for all Line, Bar and ScatterCharts.
/// It allows the displaying of an additional line in the chart that marks a certain maximum / limit on the specified axis (x- or y-axis).
@objc
open class ChartLimitLine: ComponentBase
{
@objc(ChartLimitLabelPosition)
Expand All @@ -34,7 +35,7 @@ open class ChartLimitLine: ComponentBase
@objc open var lineDashPhase = CGFloat(0.0)
@objc open var lineDashLengths: [CGFloat]?
/// 线下面的颜色
@objc open var lineBottomSpaceColor = NSUIColor.black
@objc public var lineBottomSpaceColor = NSUIColor.black

@objc open var valueTextColor = NSUIColor.black
@objc open var valueFont = NSUIFont.systemFont(ofSize: 13.0)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import Foundation
import CoreGraphics


@objc
open class LineChartDataSet: LineRadarChartDataSet, ILineChartDataSet
{
@objc(LineChartMode)
Expand Down Expand Up @@ -51,7 +51,8 @@ open class LineChartDataSet: LineRadarChartDataSet, ILineChartDataSet
/// **default**: Linear
open var mode: Mode = Mode.linear

@objc open var highlightHollowFillColor: UIColor = UIColor.clear
// 当选中时填充颜色
@objc public var highlightHollowFillColor: NSUIColor = NSUIColor.clear

fileprivate var _cubicIntensity = CGFloat(0.2)

Expand Down

0 comments on commit 3f4452b

Please sign in to comment.