Skip to content

Commit

Permalink
Fixed issues #143, #133, #134
Browse files Browse the repository at this point in the history
  • Loading branch information
danielgindi committed Jun 11, 2015
1 parent f3404bf commit 2ebf432
Show file tree
Hide file tree
Showing 44 changed files with 70 additions and 66 deletions.
2 changes: 1 addition & 1 deletion Charts/Classes/Animation/ChartAnimationEasing.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
//

import Foundation
import CoreGraphics.CGBase
import CoreGraphics

@objc
public enum ChartEasingOption: Int
Expand Down
2 changes: 1 addition & 1 deletion Charts/Classes/Charts/BarChartView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
//

import Foundation
import CoreGraphics.CGBase
import CoreGraphics

/// Chart that draws bars.
public class BarChartView: BarLineChartViewBase, BarChartRendererDelegate
Expand Down
2 changes: 1 addition & 1 deletion Charts/Classes/Charts/BarLineChartViewBase.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
//

import Foundation
import CoreGraphics.CGBase
import CoreGraphics
import UIKit.UIGestureRecognizer

/// Base-class of LineChart, BarChart, ScatterChart and CandleStickChart.
Expand Down
2 changes: 1 addition & 1 deletion Charts/Classes/Charts/CandleStickChartView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
//

import Foundation
import CoreGraphics.CGBase
import CoreGraphics

/// Financial chart type that draws candle-sticks.
public class CandleStickChartView: BarLineChartViewBase, CandleStickChartRendererDelegate
Expand Down
2 changes: 1 addition & 1 deletion Charts/Classes/Charts/CombinedChartView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
//

import Foundation
import CoreGraphics.CGBase
import CoreGraphics

/// This chart class allows the combination of lines, bars, scatter and candle data all displayed in one chart area.
public class CombinedChartView: BarLineChartViewBase
Expand Down
2 changes: 1 addition & 1 deletion Charts/Classes/Charts/LineChartView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
//

import Foundation
import CoreGraphics.CGBase
import CoreGraphics

/// Chart that draws lines, surfaces, circles, ...
public class LineChartView: BarLineChartViewBase, LineChartRendererDelegate
Expand Down
2 changes: 1 addition & 1 deletion Charts/Classes/Charts/PieRadarChartViewBase.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
//

import Foundation
import CoreGraphics.CGBase
import CoreGraphics
import UIKit.UIGestureRecognizer

/// Base class of PieChartView and RadarChartView.
Expand Down
4 changes: 2 additions & 2 deletions Charts/Classes/Charts/RadarChartView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
//

import Foundation
import CoreGraphics.CGBase
import UIKit.UIColor
import CoreGraphics
import UIKit

/// Implementation of the RadarChart, a "spidernet"-like chart. It works best
/// when displaying 5-10 entries per DataSet.
Expand Down
2 changes: 1 addition & 1 deletion Charts/Classes/Charts/ScatterChartView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
//

import Foundation
import CoreGraphics.CGBase
import CoreGraphics

/// The ScatterChart. Draws dots, triangles, squares and custom shapes into the chartview.
public class ScatterChartView: BarLineChartViewBase, ScatterChartRendererDelegate
Expand Down
2 changes: 1 addition & 1 deletion Charts/Classes/Data/BarChartData.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
//

import Foundation
import CoreGraphics.CGBase
import CoreGraphics

public class BarChartData: BarLineScatterCandleChartData
{
Expand Down
4 changes: 2 additions & 2 deletions Charts/Classes/Data/BarChartDataSet.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
//

import Foundation
import CoreGraphics.CGBase
import UIKit.UIColor
import CoreGraphics
import UIKit

public class BarChartDataSet: BarLineScatterCandleChartDataSet
{
Expand Down
3 changes: 3 additions & 0 deletions Charts/Classes/Data/BubbleChartData.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
// https://github.com/danielgindi/ios-charts
//

import Foundation
import CoreGraphics

public class BubbleChartData: BarLineScatterCandleChartData
{
public override init()
Expand Down
1 change: 1 addition & 0 deletions Charts/Classes/Data/BubbleChartDataEntry.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
//

import Foundation
import CoreGraphics

public class BubbleChartDataEntry: ChartDataEntry
{
Expand Down
3 changes: 2 additions & 1 deletion Charts/Classes/Data/BubbleChartDataSet.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
//

import Foundation
import CoreGraphics;
import CoreGraphics
import UIKit

public class BubbleChartDataSet: BarLineScatterCandleChartDataSet
{
Expand Down
4 changes: 2 additions & 2 deletions Charts/Classes/Data/CandleChartDataSet.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
//

import Foundation
import CoreGraphics.CGBase
import UIKit.UIColor
import CoreGraphics
import UIKit

public class CandleChartDataSet: BarLineScatterCandleChartDataSet
{
Expand Down
4 changes: 2 additions & 2 deletions Charts/Classes/Data/LineChartDataSet.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
//

import Foundation
import CoreGraphics.CGBase
import UIKit.UIColor
import CoreGraphics
import UIKit

public class LineChartDataSet: LineRadarChartDataSet
{
Expand Down
4 changes: 2 additions & 2 deletions Charts/Classes/Data/LineRadarChartDataSet.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
//

import Foundation
import CoreGraphics.CGBase
import UIKit.UIColor
import CoreGraphics
import UIKit

public class LineRadarChartDataSet: BarLineScatterCandleChartDataSet
{
Expand Down
5 changes: 2 additions & 3 deletions Charts/Classes/Data/PieChartDataSet.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,8 @@
//

import Foundation
import CoreGraphics.CGBase
import UIKit.UIColor
import UIKit.UIFont
import CoreGraphics
import UIKit

public class PieChartDataSet: ChartDataSet
{
Expand Down
4 changes: 2 additions & 2 deletions Charts/Classes/Data/RadarChartData.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
//

import Foundation
import CoreGraphics.CGBase
import UIKit.UIColor
import CoreGraphics
import UIKit

public class RadarChartData: ChartData
{
Expand Down
2 changes: 1 addition & 1 deletion Charts/Classes/Data/RadarChartDataSet.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
//

import Foundation
import UIKit.UIFont
import UIKit

public class RadarChartDataSet: LineRadarChartDataSet
{
Expand Down
2 changes: 1 addition & 1 deletion Charts/Classes/Data/ScatterChartDataSet.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
//

import Foundation
import CoreGraphics;
import CoreGraphics

public class ScatterChartDataSet: BarLineScatterCandleChartDataSet
{
Expand Down
4 changes: 2 additions & 2 deletions Charts/Classes/Renderers/BarChartRenderer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
//

import Foundation
import CoreGraphics.CGBase
import UIKit.UIFont
import CoreGraphics
import UIKit

@objc
public protocol BarChartRendererDelegate
Expand Down
2 changes: 2 additions & 0 deletions Charts/Classes/Renderers/BubbleChartRenderer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
//

import Foundation
import CoreGraphics
import UIKit

@objc
public protocol BubbleChartRendererDelegate
Expand Down
4 changes: 2 additions & 2 deletions Charts/Classes/Renderers/CandleStickChartRenderer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
//

import Foundation
import CoreGraphics.CGBase
import UIKit.UIColor
import CoreGraphics
import UIKit

@objc
public protocol CandleStickChartRendererDelegate
Expand Down
2 changes: 1 addition & 1 deletion Charts/Classes/Renderers/ChartDataRendererBase.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
//

import Foundation
import CoreGraphics.CGBase
import CoreGraphics

public class ChartDataRendererBase: ChartRendererBase
{
Expand Down
5 changes: 2 additions & 3 deletions Charts/Classes/Renderers/ChartLegendRenderer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,8 @@
//

import Foundation
import CoreGraphics.CGBase
import UIKit.UIColor
import UIKit.UIFont
import CoreGraphics
import UIKit

public class ChartLegendRenderer: ChartRendererBase
{
Expand Down
2 changes: 1 addition & 1 deletion Charts/Classes/Renderers/ChartRendererBase.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
//

import Foundation
import CoreGraphics.CGBase
import CoreGraphics

public class ChartRendererBase: NSObject
{
Expand Down
4 changes: 2 additions & 2 deletions Charts/Classes/Renderers/ChartXAxisRenderer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
//

import Foundation
import CoreGraphics.CGBase
import UIKit.UIFont
import CoreGraphics
import UIKit

public class ChartXAxisRenderer: ChartAxisRendererBase
{
Expand Down
4 changes: 2 additions & 2 deletions Charts/Classes/Renderers/ChartXAxisRendererBarChart.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
//

import Foundation
import CoreGraphics.CGBase
import UIKit.UIFont
import CoreGraphics
import UIKit

public class ChartXAxisRendererBarChart: ChartXAxisRenderer
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
//

import Foundation
import CoreGraphics.CGBase
import UIKit.UIFont
import CoreGraphics
import UIKit

public class ChartXAxisRendererHorizontalBarChart: ChartXAxisRendererBarChart
{
Expand Down
4 changes: 2 additions & 2 deletions Charts/Classes/Renderers/ChartXAxisRendererRadarChart.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
//

import Foundation
import CoreGraphics.CGBase
import UIKit.UIFont
import CoreGraphics
import UIKit

public class ChartXAxisRendererRadarChart: ChartXAxisRenderer
{
Expand Down
4 changes: 2 additions & 2 deletions Charts/Classes/Renderers/ChartYAxisRenderer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
//

import Foundation
import CoreGraphics.CGBase
import UIKit.UIFont
import CoreGraphics
import UIKit

public class ChartYAxisRenderer: ChartAxisRendererBase
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
//

import Foundation
import CoreGraphics.CGBase
import UIKit.UIFont
import CoreGraphics
import UIKit

public class ChartYAxisRendererHorizontalBarChart: ChartYAxisRenderer
{
Expand Down
4 changes: 2 additions & 2 deletions Charts/Classes/Renderers/ChartYAxisRendererRadarChart.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
//

import Foundation
import CoreGraphics.CGBase
import UIKit.UIFont
import CoreGraphics
import UIKit

public class ChartYAxisRendererRadarChart: ChartYAxisRenderer
{
Expand Down
2 changes: 1 addition & 1 deletion Charts/Classes/Renderers/CombinedChartRenderer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
//

import Foundation
import CoreGraphics.CGBase
import CoreGraphics

public class CombinedChartRenderer: ChartDataRendererBase,
LineChartRendererDelegate,
Expand Down
4 changes: 2 additions & 2 deletions Charts/Classes/Renderers/HorizontalBarChartRenderer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
//

import Foundation
import CoreGraphics.CGBase
import UIKit.UIFont
import CoreGraphics
import UIKit

public class HorizontalBarChartRenderer: BarChartRenderer
{
Expand Down
4 changes: 2 additions & 2 deletions Charts/Classes/Renderers/LineChartRenderer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
//

import Foundation
import CoreGraphics.CGBase
import UIKit.UIFont
import CoreGraphics
import UIKit

@objc
public protocol LineChartRendererDelegate
Expand Down
5 changes: 2 additions & 3 deletions Charts/Classes/Renderers/PieChartRenderer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,8 @@
//

import Foundation
import CoreGraphics.CGBase
import UIKit.UIColor
import UIKit.UIFont
import CoreGraphics
import UIKit

public class PieChartRenderer: ChartDataRendererBase
{
Expand Down
4 changes: 2 additions & 2 deletions Charts/Classes/Renderers/RadarChartRenderer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
//

import Foundation
import CoreGraphics.CGBase
import UIKit.UIFont
import CoreGraphics
import UIKit

public class RadarChartRenderer: ChartDataRendererBase
{
Expand Down
Loading

0 comments on commit 2ebf432

Please sign in to comment.