Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge Master into 5.0.0 #7

Merged
merged 8 commits into from
Dec 12, 2023
12 changes: 12 additions & 0 deletions Source/Charts/Charts/BarLineChartViewBase.swift
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,18 @@ open class BarLineChartViewBase: ChartViewBase, BarLineScatterCandleBubbleChartD
private var _scaleXEnabled = true
private var _scaleYEnabled = true

@objc open var isDragging: Bool {
return _isDragging
}

@objc open var isDecelerating: Bool {
return _decelerationDisplayLink != nil
}

@objc open var isScaling: Bool {
return _isScaling
}

/// the color for the background of the chart-drawing area (everything behind the grid lines).
@objc open var gridBackgroundColor = NSUIColor(red: 240/255.0, green: 240/255.0, blue: 240/255.0, alpha: 1.0)

Expand Down