├── .DS_Store ├── Bar_Chart_Example.png ├── Bar_Chart_Example ├── .DS_Store ├── Line-Chart.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ ├── contents.xcworkspacedata │ │ ├── xcshareddata │ │ │ └── IDEWorkspaceChecks.plist │ │ └── xcuserdata │ │ │ └── mallikarjun.xcuserdatad │ │ │ └── UserInterfaceState.xcuserstate │ └── xcuserdata │ │ └── mallikarjun.xcuserdatad │ │ └── xcschemes │ │ └── xcschememanagement.plist ├── Line-Chart.xcworkspace │ ├── contents.xcworkspacedata │ ├── xcshareddata │ │ └── IDEWorkspaceChecks.plist │ └── xcuserdata │ │ └── mallikarjun.xcuserdatad │ │ └── UserInterfaceState.xcuserstate ├── Line-Chart │ ├── AppDelegate.swift │ ├── Assets.xcassets │ │ ├── AppIcon.appiconset │ │ │ └── Contents.json │ │ └── Contents.json │ ├── Base.lproj │ │ ├── LaunchScreen.storyboard │ │ └── Main.storyboard │ ├── Info.plist │ └── ViewController.swift ├── Podfile ├── Podfile.lock └── Pods │ ├── Charts │ ├── LICENSE │ ├── README.md │ └── Source │ │ └── Charts │ │ ├── Animation │ │ ├── Animator.swift │ │ └── ChartAnimationEasing.swift │ │ ├── Charts │ │ ├── BarChartView.swift │ │ ├── BarLineChartViewBase.swift │ │ ├── BubbleChartView.swift │ │ ├── CandleStickChartView.swift │ │ ├── ChartViewBase.swift │ │ ├── CombinedChartView.swift │ │ ├── HorizontalBarChartView.swift │ │ ├── LineChartView.swift │ │ ├── PieChartView.swift │ │ ├── PieRadarChartViewBase.swift │ │ ├── RadarChartView.swift │ │ └── ScatterChartView.swift │ │ ├── Components │ │ ├── AxisBase.swift │ │ ├── ChartLimitLine.swift │ │ ├── ComponentBase.swift │ │ ├── Description.swift │ │ ├── IMarker.swift │ │ ├── Legend.swift │ │ ├── LegendEntry.swift │ │ ├── MarkerImage.swift │ │ ├── MarkerView.swift │ │ ├── XAxis.swift │ │ └── YAxis.swift │ │ ├── Data │ │ ├── Implementations │ │ │ ├── ChartBaseDataSet.swift │ │ │ └── Standard │ │ │ │ ├── BarChartData.swift │ │ │ │ ├── BarChartDataEntry.swift │ │ │ │ ├── BarChartDataSet.swift │ │ │ │ ├── BarLineScatterCandleBubbleChartData.swift │ │ │ │ ├── BarLineScatterCandleBubbleChartDataSet.swift │ │ │ │ ├── BubbleChartData.swift │ │ │ │ ├── BubbleChartDataEntry.swift │ │ │ │ ├── BubbleChartDataSet.swift │ │ │ │ ├── CandleChartData.swift │ │ │ │ ├── CandleChartDataEntry.swift │ │ │ │ ├── CandleChartDataSet.swift │ │ │ │ ├── ChartData.swift │ │ │ │ ├── ChartDataEntry.swift │ │ │ │ ├── ChartDataEntryBase.swift │ │ │ │ ├── ChartDataSet.swift │ │ │ │ ├── CombinedChartData.swift │ │ │ │ ├── LineChartData.swift │ │ │ │ ├── LineChartDataSet.swift │ │ │ │ ├── LineRadarChartDataSet.swift │ │ │ │ ├── LineScatterCandleRadarChartDataSet.swift │ │ │ │ ├── PieChartData.swift │ │ │ │ ├── PieChartDataEntry.swift │ │ │ │ ├── PieChartDataSet.swift │ │ │ │ ├── RadarChartData.swift │ │ │ │ ├── RadarChartDataEntry.swift │ │ │ │ ├── RadarChartDataSet.swift │ │ │ │ ├── ScatterChartData.swift │ │ │ │ └── ScatterChartDataSet.swift │ │ └── Interfaces │ │ │ ├── IBarChartDataSet.swift │ │ │ ├── IBarLineScatterCandleBubbleChartDataSet.swift │ │ │ ├── IBubbleChartDataSet.swift │ │ │ ├── ICandleChartDataSet.swift │ │ │ ├── IChartDataSet.swift │ │ │ ├── ILineChartDataSet.swift │ │ │ ├── ILineRadarChartDataSet.swift │ │ │ ├── ILineScatterCandleRadarChartDataSet.swift │ │ │ ├── IPieChartDataSet.swift │ │ │ ├── IRadarChartDataSet.swift │ │ │ └── IScatterChartDataSet.swift │ │ ├── Filters │ │ ├── DataApproximator+N.swift │ │ └── DataApproximator.swift │ │ ├── Formatters │ │ ├── DefaultAxisValueFormatter.swift │ │ ├── DefaultFillFormatter.swift │ │ ├── DefaultValueFormatter.swift │ │ ├── IAxisValueFormatter.swift │ │ ├── IFillFormatter.swift │ │ ├── IValueFormatter.swift │ │ └── IndexAxisValueFormatter.swift │ │ ├── Highlight │ │ ├── BarHighlighter.swift │ │ ├── ChartHighlighter.swift │ │ ├── CombinedHighlighter.swift │ │ ├── Highlight.swift │ │ ├── HorizontalBarHighlighter.swift │ │ ├── IHighlighter.swift │ │ ├── PieHighlighter.swift │ │ ├── PieRadarHighlighter.swift │ │ ├── RadarHighlighter.swift │ │ └── Range.swift │ │ ├── Interfaces │ │ ├── BarChartDataProvider.swift │ │ ├── BarLineScatterCandleBubbleChartDataProvider.swift │ │ ├── BubbleChartDataProvider.swift │ │ ├── CandleChartDataProvider.swift │ │ ├── ChartDataProvider.swift │ │ ├── CombinedChartDataProvider.swift │ │ ├── LineChartDataProvider.swift │ │ └── ScatterChartDataProvider.swift │ │ ├── Jobs │ │ ├── AnimatedMoveViewJob.swift │ │ ├── AnimatedViewPortJob.swift │ │ ├── AnimatedZoomViewJob.swift │ │ ├── MoveViewJob.swift │ │ ├── ViewPortJob.swift │ │ └── ZoomViewJob.swift │ │ ├── Renderers │ │ ├── AxisRendererBase.swift │ │ ├── BarChartRenderer.swift │ │ ├── BarLineScatterCandleBubbleRenderer.swift │ │ ├── BubbleChartRenderer.swift │ │ ├── CandleStickChartRenderer.swift │ │ ├── ChartDataRendererBase.swift │ │ ├── CombinedChartRenderer.swift │ │ ├── HorizontalBarChartRenderer.swift │ │ ├── LegendRenderer.swift │ │ ├── LineChartRenderer.swift │ │ ├── LineRadarRenderer.swift │ │ ├── LineScatterCandleRadarRenderer.swift │ │ ├── PieChartRenderer.swift │ │ ├── RadarChartRenderer.swift │ │ ├── Renderer.swift │ │ ├── Scatter │ │ │ ├── ChevronDownShapeRenderer.swift │ │ │ ├── ChevronUpShapeRenderer.swift │ │ │ ├── CircleShapeRenderer.swift │ │ │ ├── CrossShapeRenderer.swift │ │ │ ├── IShapeRenderer.swift │ │ │ ├── SquareShapeRenderer.swift │ │ │ ├── TriangleShapeRenderer.swift │ │ │ └── XShapeRenderer.swift │ │ ├── ScatterChartRenderer.swift │ │ ├── XAxisRenderer.swift │ │ ├── XAxisRendererHorizontalBarChart.swift │ │ ├── XAxisRendererRadarChart.swift │ │ ├── YAxisRenderer.swift │ │ ├── YAxisRendererHorizontalBarChart.swift │ │ └── YAxisRendererRadarChart.swift │ │ └── Utils │ │ ├── ChartColorTemplates.swift │ │ ├── ChartUtils.swift │ │ ├── Fill.swift │ │ ├── Platform.swift │ │ ├── Transformer.swift │ │ ├── TransformerHorizontalBarChart.swift │ │ └── ViewPortHandler.swift │ ├── Manifest.lock │ ├── Pods.xcodeproj │ ├── project.pbxproj │ └── xcuserdata │ │ └── mallikarjun.xcuserdatad │ │ └── xcschemes │ │ ├── Charts.xcscheme │ │ ├── Pods-Line-Chart.xcscheme │ │ └── xcschememanagement.plist │ └── Target Support Files │ ├── Charts │ ├── Charts-dummy.m │ ├── Charts-prefix.pch │ ├── Charts-umbrella.h │ ├── Charts.modulemap │ ├── Charts.xcconfig │ └── Info.plist │ └── Pods-Line-Chart │ ├── Info.plist │ ├── Pods-Line-Chart-acknowledgements.markdown │ ├── Pods-Line-Chart-acknowledgements.plist │ ├── Pods-Line-Chart-dummy.m │ ├── Pods-Line-Chart-frameworks.sh │ ├── Pods-Line-Chart-resources.sh │ ├── Pods-Line-Chart-umbrella.h │ ├── Pods-Line-Chart.debug.xcconfig │ ├── Pods-Line-Chart.modulemap │ └── Pods-Line-Chart.release.xcconfig ├── Bar_Chart_Example1_Swift_4.png ├── Bar_Chart_Example1_Swift_4 ├── .DS_Store ├── Line-Chart.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ ├── contents.xcworkspacedata │ │ ├── xcshareddata │ │ │ └── IDEWorkspaceChecks.plist │ │ └── xcuserdata │ │ │ └── mallikarjun.xcuserdatad │ │ │ └── UserInterfaceState.xcuserstate │ └── xcuserdata │ │ └── mallikarjun.xcuserdatad │ │ └── xcschemes │ │ └── xcschememanagement.plist ├── Line-Chart.xcworkspace │ ├── contents.xcworkspacedata │ ├── xcshareddata │ │ └── IDEWorkspaceChecks.plist │ └── xcuserdata │ │ └── mallikarjun.xcuserdatad │ │ └── UserInterfaceState.xcuserstate ├── Line-Chart │ ├── AppDelegate.swift │ ├── Assets.xcassets │ │ ├── AppIcon.appiconset │ │ │ └── Contents.json │ │ └── Contents.json │ ├── Base.lproj │ │ ├── LaunchScreen.storyboard │ │ └── Main.storyboard │ ├── Info.plist │ └── ViewController.swift ├── Podfile ├── Podfile.lock └── Pods │ ├── Charts │ ├── LICENSE │ ├── README.md │ └── Source │ │ └── Charts │ │ ├── Animation │ │ ├── Animator.swift │ │ └── ChartAnimationEasing.swift │ │ ├── Charts │ │ ├── BarChartView.swift │ │ ├── BarLineChartViewBase.swift │ │ ├── BubbleChartView.swift │ │ ├── CandleStickChartView.swift │ │ ├── ChartViewBase.swift │ │ ├── CombinedChartView.swift │ │ ├── HorizontalBarChartView.swift │ │ ├── LineChartView.swift │ │ ├── PieChartView.swift │ │ ├── PieRadarChartViewBase.swift │ │ ├── RadarChartView.swift │ │ └── ScatterChartView.swift │ │ ├── Components │ │ ├── AxisBase.swift │ │ ├── ChartLimitLine.swift │ │ ├── ComponentBase.swift │ │ ├── Description.swift │ │ ├── IMarker.swift │ │ ├── Legend.swift │ │ ├── LegendEntry.swift │ │ ├── MarkerImage.swift │ │ ├── MarkerView.swift │ │ ├── XAxis.swift │ │ └── YAxis.swift │ │ ├── Data │ │ ├── Implementations │ │ │ ├── ChartBaseDataSet.swift │ │ │ └── Standard │ │ │ │ ├── BarChartData.swift │ │ │ │ ├── BarChartDataEntry.swift │ │ │ │ ├── BarChartDataSet.swift │ │ │ │ ├── BarLineScatterCandleBubbleChartData.swift │ │ │ │ ├── BarLineScatterCandleBubbleChartDataSet.swift │ │ │ │ ├── BubbleChartData.swift │ │ │ │ ├── BubbleChartDataEntry.swift │ │ │ │ ├── BubbleChartDataSet.swift │ │ │ │ ├── CandleChartData.swift │ │ │ │ ├── CandleChartDataEntry.swift │ │ │ │ ├── CandleChartDataSet.swift │ │ │ │ ├── ChartData.swift │ │ │ │ ├── ChartDataEntry.swift │ │ │ │ ├── ChartDataEntryBase.swift │ │ │ │ ├── ChartDataSet.swift │ │ │ │ ├── CombinedChartData.swift │ │ │ │ ├── LineChartData.swift │ │ │ │ ├── LineChartDataSet.swift │ │ │ │ ├── LineRadarChartDataSet.swift │ │ │ │ ├── LineScatterCandleRadarChartDataSet.swift │ │ │ │ ├── PieChartData.swift │ │ │ │ ├── PieChartDataEntry.swift │ │ │ │ ├── PieChartDataSet.swift │ │ │ │ ├── RadarChartData.swift │ │ │ │ ├── RadarChartDataEntry.swift │ │ │ │ ├── RadarChartDataSet.swift │ │ │ │ ├── ScatterChartData.swift │ │ │ │ └── ScatterChartDataSet.swift │ │ └── Interfaces │ │ │ ├── IBarChartDataSet.swift │ │ │ ├── IBarLineScatterCandleBubbleChartDataSet.swift │ │ │ ├── IBubbleChartDataSet.swift │ │ │ ├── ICandleChartDataSet.swift │ │ │ ├── IChartDataSet.swift │ │ │ ├── ILineChartDataSet.swift │ │ │ ├── ILineRadarChartDataSet.swift │ │ │ ├── ILineScatterCandleRadarChartDataSet.swift │ │ │ ├── IPieChartDataSet.swift │ │ │ ├── IRadarChartDataSet.swift │ │ │ └── IScatterChartDataSet.swift │ │ ├── Filters │ │ ├── DataApproximator+N.swift │ │ └── DataApproximator.swift │ │ ├── Formatters │ │ ├── DefaultAxisValueFormatter.swift │ │ ├── DefaultFillFormatter.swift │ │ ├── DefaultValueFormatter.swift │ │ ├── IAxisValueFormatter.swift │ │ ├── IFillFormatter.swift │ │ ├── IValueFormatter.swift │ │ └── IndexAxisValueFormatter.swift │ │ ├── Highlight │ │ ├── BarHighlighter.swift │ │ ├── ChartHighlighter.swift │ │ ├── CombinedHighlighter.swift │ │ ├── Highlight.swift │ │ ├── HorizontalBarHighlighter.swift │ │ ├── IHighlighter.swift │ │ ├── PieHighlighter.swift │ │ ├── PieRadarHighlighter.swift │ │ ├── RadarHighlighter.swift │ │ └── Range.swift │ │ ├── Interfaces │ │ ├── BarChartDataProvider.swift │ │ ├── BarLineScatterCandleBubbleChartDataProvider.swift │ │ ├── BubbleChartDataProvider.swift │ │ ├── CandleChartDataProvider.swift │ │ ├── ChartDataProvider.swift │ │ ├── CombinedChartDataProvider.swift │ │ ├── LineChartDataProvider.swift │ │ └── ScatterChartDataProvider.swift │ │ ├── Jobs │ │ ├── AnimatedMoveViewJob.swift │ │ ├── AnimatedViewPortJob.swift │ │ ├── AnimatedZoomViewJob.swift │ │ ├── MoveViewJob.swift │ │ ├── ViewPortJob.swift │ │ └── ZoomViewJob.swift │ │ ├── Renderers │ │ ├── AxisRendererBase.swift │ │ ├── BarChartRenderer.swift │ │ ├── BarLineScatterCandleBubbleRenderer.swift │ │ ├── BubbleChartRenderer.swift │ │ ├── CandleStickChartRenderer.swift │ │ ├── ChartDataRendererBase.swift │ │ ├── CombinedChartRenderer.swift │ │ ├── HorizontalBarChartRenderer.swift │ │ ├── LegendRenderer.swift │ │ ├── LineChartRenderer.swift │ │ ├── LineRadarRenderer.swift │ │ ├── LineScatterCandleRadarRenderer.swift │ │ ├── PieChartRenderer.swift │ │ ├── RadarChartRenderer.swift │ │ ├── Renderer.swift │ │ ├── Scatter │ │ │ ├── ChevronDownShapeRenderer.swift │ │ │ ├── ChevronUpShapeRenderer.swift │ │ │ ├── CircleShapeRenderer.swift │ │ │ ├── CrossShapeRenderer.swift │ │ │ ├── IShapeRenderer.swift │ │ │ ├── SquareShapeRenderer.swift │ │ │ ├── TriangleShapeRenderer.swift │ │ │ └── XShapeRenderer.swift │ │ ├── ScatterChartRenderer.swift │ │ ├── XAxisRenderer.swift │ │ ├── XAxisRendererHorizontalBarChart.swift │ │ ├── XAxisRendererRadarChart.swift │ │ ├── YAxisRenderer.swift │ │ ├── YAxisRendererHorizontalBarChart.swift │ │ └── YAxisRendererRadarChart.swift │ │ └── Utils │ │ ├── ChartColorTemplates.swift │ │ ├── ChartUtils.swift │ │ ├── Fill.swift │ │ ├── Platform.swift │ │ ├── Transformer.swift │ │ ├── TransformerHorizontalBarChart.swift │ │ └── ViewPortHandler.swift │ ├── Manifest.lock │ ├── Pods.xcodeproj │ ├── project.pbxproj │ └── xcuserdata │ │ └── mallikarjun.xcuserdatad │ │ └── xcschemes │ │ ├── Charts.xcscheme │ │ ├── Pods-Line-Chart.xcscheme │ │ └── xcschememanagement.plist │ └── Target Support Files │ ├── Charts │ ├── Charts-dummy.m │ ├── Charts-prefix.pch │ ├── Charts-umbrella.h │ ├── Charts.modulemap │ ├── Charts.xcconfig │ └── Info.plist │ └── Pods-Line-Chart │ ├── Info.plist │ ├── Pods-Line-Chart-acknowledgements.markdown │ ├── Pods-Line-Chart-acknowledgements.plist │ ├── Pods-Line-Chart-dummy.m │ ├── Pods-Line-Chart-frameworks.sh │ ├── Pods-Line-Chart-resources.sh │ ├── Pods-Line-Chart-umbrella.h │ ├── Pods-Line-Chart.debug.xcconfig │ ├── Pods-Line-Chart.modulemap │ └── Pods-Line-Chart.release.xcconfig ├── Line-Chart.png ├── Line-Chart ├── Line-Chart.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ ├── contents.xcworkspacedata │ │ ├── xcshareddata │ │ │ └── IDEWorkspaceChecks.plist │ │ └── xcuserdata │ │ │ └── mallikarjun.xcuserdatad │ │ │ └── UserInterfaceState.xcuserstate │ └── xcuserdata │ │ └── mallikarjun.xcuserdatad │ │ └── xcschemes │ │ └── xcschememanagement.plist ├── Line-Chart.xcworkspace │ ├── contents.xcworkspacedata │ ├── xcshareddata │ │ └── IDEWorkspaceChecks.plist │ └── xcuserdata │ │ └── mallikarjun.xcuserdatad │ │ └── UserInterfaceState.xcuserstate ├── Line-Chart │ ├── AppDelegate.swift │ ├── Assets.xcassets │ │ ├── AppIcon.appiconset │ │ │ └── Contents.json │ │ └── Contents.json │ ├── Base.lproj │ │ ├── LaunchScreen.storyboard │ │ └── Main.storyboard │ ├── Info.plist │ └── ViewController.swift ├── Podfile ├── Podfile.lock └── Pods │ ├── Charts │ ├── LICENSE │ ├── README.md │ └── Source │ │ └── Charts │ │ ├── Animation │ │ ├── Animator.swift │ │ └── ChartAnimationEasing.swift │ │ ├── Charts │ │ ├── BarChartView.swift │ │ ├── BarLineChartViewBase.swift │ │ ├── BubbleChartView.swift │ │ ├── CandleStickChartView.swift │ │ ├── ChartViewBase.swift │ │ ├── CombinedChartView.swift │ │ ├── HorizontalBarChartView.swift │ │ ├── LineChartView.swift │ │ ├── PieChartView.swift │ │ ├── PieRadarChartViewBase.swift │ │ ├── RadarChartView.swift │ │ └── ScatterChartView.swift │ │ ├── Components │ │ ├── AxisBase.swift │ │ ├── ChartLimitLine.swift │ │ ├── ComponentBase.swift │ │ ├── Description.swift │ │ ├── IMarker.swift │ │ ├── Legend.swift │ │ ├── LegendEntry.swift │ │ ├── MarkerImage.swift │ │ ├── MarkerView.swift │ │ ├── XAxis.swift │ │ └── YAxis.swift │ │ ├── Data │ │ ├── Implementations │ │ │ ├── ChartBaseDataSet.swift │ │ │ └── Standard │ │ │ │ ├── BarChartData.swift │ │ │ │ ├── BarChartDataEntry.swift │ │ │ │ ├── BarChartDataSet.swift │ │ │ │ ├── BarLineScatterCandleBubbleChartData.swift │ │ │ │ ├── BarLineScatterCandleBubbleChartDataSet.swift │ │ │ │ ├── BubbleChartData.swift │ │ │ │ ├── BubbleChartDataEntry.swift │ │ │ │ ├── BubbleChartDataSet.swift │ │ │ │ ├── CandleChartData.swift │ │ │ │ ├── CandleChartDataEntry.swift │ │ │ │ ├── CandleChartDataSet.swift │ │ │ │ ├── ChartData.swift │ │ │ │ ├── ChartDataEntry.swift │ │ │ │ ├── ChartDataEntryBase.swift │ │ │ │ ├── ChartDataSet.swift │ │ │ │ ├── CombinedChartData.swift │ │ │ │ ├── LineChartData.swift │ │ │ │ ├── LineChartDataSet.swift │ │ │ │ ├── LineRadarChartDataSet.swift │ │ │ │ ├── LineScatterCandleRadarChartDataSet.swift │ │ │ │ ├── PieChartData.swift │ │ │ │ ├── PieChartDataEntry.swift │ │ │ │ ├── PieChartDataSet.swift │ │ │ │ ├── RadarChartData.swift │ │ │ │ ├── RadarChartDataEntry.swift │ │ │ │ ├── RadarChartDataSet.swift │ │ │ │ ├── ScatterChartData.swift │ │ │ │ └── ScatterChartDataSet.swift │ │ └── Interfaces │ │ │ ├── IBarChartDataSet.swift │ │ │ ├── IBarLineScatterCandleBubbleChartDataSet.swift │ │ │ ├── IBubbleChartDataSet.swift │ │ │ ├── ICandleChartDataSet.swift │ │ │ ├── IChartDataSet.swift │ │ │ ├── ILineChartDataSet.swift │ │ │ ├── ILineRadarChartDataSet.swift │ │ │ ├── ILineScatterCandleRadarChartDataSet.swift │ │ │ ├── IPieChartDataSet.swift │ │ │ ├── IRadarChartDataSet.swift │ │ │ └── IScatterChartDataSet.swift │ │ ├── Filters │ │ ├── DataApproximator+N.swift │ │ └── DataApproximator.swift │ │ ├── Formatters │ │ ├── DefaultAxisValueFormatter.swift │ │ ├── DefaultFillFormatter.swift │ │ ├── DefaultValueFormatter.swift │ │ ├── IAxisValueFormatter.swift │ │ ├── IFillFormatter.swift │ │ ├── IValueFormatter.swift │ │ └── IndexAxisValueFormatter.swift │ │ ├── Highlight │ │ ├── BarHighlighter.swift │ │ ├── ChartHighlighter.swift │ │ ├── CombinedHighlighter.swift │ │ ├── Highlight.swift │ │ ├── HorizontalBarHighlighter.swift │ │ ├── IHighlighter.swift │ │ ├── PieHighlighter.swift │ │ ├── PieRadarHighlighter.swift │ │ ├── RadarHighlighter.swift │ │ └── Range.swift │ │ ├── Interfaces │ │ ├── BarChartDataProvider.swift │ │ ├── BarLineScatterCandleBubbleChartDataProvider.swift │ │ ├── BubbleChartDataProvider.swift │ │ ├── CandleChartDataProvider.swift │ │ ├── ChartDataProvider.swift │ │ ├── CombinedChartDataProvider.swift │ │ ├── LineChartDataProvider.swift │ │ └── ScatterChartDataProvider.swift │ │ ├── Jobs │ │ ├── AnimatedMoveViewJob.swift │ │ ├── AnimatedViewPortJob.swift │ │ ├── AnimatedZoomViewJob.swift │ │ ├── MoveViewJob.swift │ │ ├── ViewPortJob.swift │ │ └── ZoomViewJob.swift │ │ ├── Renderers │ │ ├── AxisRendererBase.swift │ │ ├── BarChartRenderer.swift │ │ ├── BarLineScatterCandleBubbleRenderer.swift │ │ ├── BubbleChartRenderer.swift │ │ ├── CandleStickChartRenderer.swift │ │ ├── ChartDataRendererBase.swift │ │ ├── CombinedChartRenderer.swift │ │ ├── HorizontalBarChartRenderer.swift │ │ ├── LegendRenderer.swift │ │ ├── LineChartRenderer.swift │ │ ├── LineRadarRenderer.swift │ │ ├── LineScatterCandleRadarRenderer.swift │ │ ├── PieChartRenderer.swift │ │ ├── RadarChartRenderer.swift │ │ ├── Renderer.swift │ │ ├── Scatter │ │ │ ├── ChevronDownShapeRenderer.swift │ │ │ ├── ChevronUpShapeRenderer.swift │ │ │ ├── CircleShapeRenderer.swift │ │ │ ├── CrossShapeRenderer.swift │ │ │ ├── IShapeRenderer.swift │ │ │ ├── SquareShapeRenderer.swift │ │ │ ├── TriangleShapeRenderer.swift │ │ │ └── XShapeRenderer.swift │ │ ├── ScatterChartRenderer.swift │ │ ├── XAxisRenderer.swift │ │ ├── XAxisRendererHorizontalBarChart.swift │ │ ├── XAxisRendererRadarChart.swift │ │ ├── YAxisRenderer.swift │ │ ├── YAxisRendererHorizontalBarChart.swift │ │ └── YAxisRendererRadarChart.swift │ │ └── Utils │ │ ├── ChartColorTemplates.swift │ │ ├── ChartUtils.swift │ │ ├── Fill.swift │ │ ├── Platform+Accessibility.swift │ │ ├── Platform.swift │ │ ├── Transformer.swift │ │ ├── TransformerHorizontalBarChart.swift │ │ └── ViewPortHandler.swift │ ├── Manifest.lock │ ├── Pods.xcodeproj │ ├── project.pbxproj │ └── xcuserdata │ │ └── mallikarjun.xcuserdatad │ │ └── xcschemes │ │ ├── Charts.xcscheme │ │ ├── Pods-Line-Chart.xcscheme │ │ └── xcschememanagement.plist │ └── Target Support Files │ ├── Charts │ ├── Charts-dummy.m │ ├── Charts-prefix.pch │ ├── Charts-umbrella.h │ ├── Charts.modulemap │ ├── Charts.xcconfig │ └── Info.plist │ └── Pods-Line-Chart │ ├── Info.plist │ ├── Pods-Line-Chart-acknowledgements.markdown │ ├── Pods-Line-Chart-acknowledgements.plist │ ├── Pods-Line-Chart-dummy.m │ ├── Pods-Line-Chart-frameworks.sh │ ├── Pods-Line-Chart-resources.sh │ ├── Pods-Line-Chart-umbrella.h │ ├── Pods-Line-Chart.debug.xcconfig │ ├── Pods-Line-Chart.modulemap │ └── Pods-Line-Chart.release.xcconfig ├── Line-Chart_2.png ├── Line-Chart_2 ├── Line-Chart.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ ├── contents.xcworkspacedata │ │ ├── xcshareddata │ │ │ └── IDEWorkspaceChecks.plist │ │ └── xcuserdata │ │ │ └── mallikarjun.xcuserdatad │ │ │ └── UserInterfaceState.xcuserstate │ └── xcuserdata │ │ └── mallikarjun.xcuserdatad │ │ └── xcschemes │ │ └── xcschememanagement.plist ├── Line-Chart.xcworkspace │ ├── contents.xcworkspacedata │ ├── xcshareddata │ │ └── IDEWorkspaceChecks.plist │ └── xcuserdata │ │ └── mallikarjun.xcuserdatad │ │ └── UserInterfaceState.xcuserstate ├── Line-Chart │ ├── AppDelegate.swift │ ├── Assets.xcassets │ │ ├── AppIcon.appiconset │ │ │ └── Contents.json │ │ └── Contents.json │ ├── Base.lproj │ │ ├── LaunchScreen.storyboard │ │ └── Main.storyboard │ ├── Info.plist │ └── ViewController.swift ├── Podfile ├── Podfile.lock └── Pods │ ├── Charts │ ├── LICENSE │ ├── README.md │ └── Source │ │ └── Charts │ │ ├── Animation │ │ ├── Animator.swift │ │ └── ChartAnimationEasing.swift │ │ ├── Charts │ │ ├── BarChartView.swift │ │ ├── BarLineChartViewBase.swift │ │ ├── BubbleChartView.swift │ │ ├── CandleStickChartView.swift │ │ ├── ChartViewBase.swift │ │ ├── CombinedChartView.swift │ │ ├── HorizontalBarChartView.swift │ │ ├── LineChartView.swift │ │ ├── PieChartView.swift │ │ ├── PieRadarChartViewBase.swift │ │ ├── RadarChartView.swift │ │ └── ScatterChartView.swift │ │ ├── Components │ │ ├── AxisBase.swift │ │ ├── ChartLimitLine.swift │ │ ├── ComponentBase.swift │ │ ├── Description.swift │ │ ├── IMarker.swift │ │ ├── Legend.swift │ │ ├── LegendEntry.swift │ │ ├── MarkerImage.swift │ │ ├── MarkerView.swift │ │ ├── XAxis.swift │ │ └── YAxis.swift │ │ ├── Data │ │ ├── Implementations │ │ │ ├── ChartBaseDataSet.swift │ │ │ └── Standard │ │ │ │ ├── BarChartData.swift │ │ │ │ ├── BarChartDataEntry.swift │ │ │ │ ├── BarChartDataSet.swift │ │ │ │ ├── BarLineScatterCandleBubbleChartData.swift │ │ │ │ ├── BarLineScatterCandleBubbleChartDataSet.swift │ │ │ │ ├── BubbleChartData.swift │ │ │ │ ├── BubbleChartDataEntry.swift │ │ │ │ ├── BubbleChartDataSet.swift │ │ │ │ ├── CandleChartData.swift │ │ │ │ ├── CandleChartDataEntry.swift │ │ │ │ ├── CandleChartDataSet.swift │ │ │ │ ├── ChartData.swift │ │ │ │ ├── ChartDataEntry.swift │ │ │ │ ├── ChartDataEntryBase.swift │ │ │ │ ├── ChartDataSet.swift │ │ │ │ ├── CombinedChartData.swift │ │ │ │ ├── LineChartData.swift │ │ │ │ ├── LineChartDataSet.swift │ │ │ │ ├── LineRadarChartDataSet.swift │ │ │ │ ├── LineScatterCandleRadarChartDataSet.swift │ │ │ │ ├── PieChartData.swift │ │ │ │ ├── PieChartDataEntry.swift │ │ │ │ ├── PieChartDataSet.swift │ │ │ │ ├── RadarChartData.swift │ │ │ │ ├── RadarChartDataEntry.swift │ │ │ │ ├── RadarChartDataSet.swift │ │ │ │ ├── ScatterChartData.swift │ │ │ │ └── ScatterChartDataSet.swift │ │ └── Interfaces │ │ │ ├── IBarChartDataSet.swift │ │ │ ├── IBarLineScatterCandleBubbleChartDataSet.swift │ │ │ ├── IBubbleChartDataSet.swift │ │ │ ├── ICandleChartDataSet.swift │ │ │ ├── IChartDataSet.swift │ │ │ ├── ILineChartDataSet.swift │ │ │ ├── ILineRadarChartDataSet.swift │ │ │ ├── ILineScatterCandleRadarChartDataSet.swift │ │ │ ├── IPieChartDataSet.swift │ │ │ ├── IRadarChartDataSet.swift │ │ │ └── IScatterChartDataSet.swift │ │ ├── Filters │ │ ├── DataApproximator+N.swift │ │ └── DataApproximator.swift │ │ ├── Formatters │ │ ├── DefaultAxisValueFormatter.swift │ │ ├── DefaultFillFormatter.swift │ │ ├── DefaultValueFormatter.swift │ │ ├── IAxisValueFormatter.swift │ │ ├── IFillFormatter.swift │ │ ├── IValueFormatter.swift │ │ └── IndexAxisValueFormatter.swift │ │ ├── Highlight │ │ ├── BarHighlighter.swift │ │ ├── ChartHighlighter.swift │ │ ├── CombinedHighlighter.swift │ │ ├── Highlight.swift │ │ ├── HorizontalBarHighlighter.swift │ │ ├── IHighlighter.swift │ │ ├── PieHighlighter.swift │ │ ├── PieRadarHighlighter.swift │ │ ├── RadarHighlighter.swift │ │ └── Range.swift │ │ ├── Interfaces │ │ ├── BarChartDataProvider.swift │ │ ├── BarLineScatterCandleBubbleChartDataProvider.swift │ │ ├── BubbleChartDataProvider.swift │ │ ├── CandleChartDataProvider.swift │ │ ├── ChartDataProvider.swift │ │ ├── CombinedChartDataProvider.swift │ │ ├── LineChartDataProvider.swift │ │ └── ScatterChartDataProvider.swift │ │ ├── Jobs │ │ ├── AnimatedMoveViewJob.swift │ │ ├── AnimatedViewPortJob.swift │ │ ├── AnimatedZoomViewJob.swift │ │ ├── MoveViewJob.swift │ │ ├── ViewPortJob.swift │ │ └── ZoomViewJob.swift │ │ ├── Renderers │ │ ├── AxisRendererBase.swift │ │ ├── BarChartRenderer.swift │ │ ├── BarLineScatterCandleBubbleRenderer.swift │ │ ├── BubbleChartRenderer.swift │ │ ├── CandleStickChartRenderer.swift │ │ ├── ChartDataRendererBase.swift │ │ ├── CombinedChartRenderer.swift │ │ ├── HorizontalBarChartRenderer.swift │ │ ├── LegendRenderer.swift │ │ ├── LineChartRenderer.swift │ │ ├── LineRadarRenderer.swift │ │ ├── LineScatterCandleRadarRenderer.swift │ │ ├── PieChartRenderer.swift │ │ ├── RadarChartRenderer.swift │ │ ├── Renderer.swift │ │ ├── Scatter │ │ │ ├── ChevronDownShapeRenderer.swift │ │ │ ├── ChevronUpShapeRenderer.swift │ │ │ ├── CircleShapeRenderer.swift │ │ │ ├── CrossShapeRenderer.swift │ │ │ ├── IShapeRenderer.swift │ │ │ ├── SquareShapeRenderer.swift │ │ │ ├── TriangleShapeRenderer.swift │ │ │ └── XShapeRenderer.swift │ │ ├── ScatterChartRenderer.swift │ │ ├── XAxisRenderer.swift │ │ ├── XAxisRendererHorizontalBarChart.swift │ │ ├── XAxisRendererRadarChart.swift │ │ ├── YAxisRenderer.swift │ │ ├── YAxisRendererHorizontalBarChart.swift │ │ └── YAxisRendererRadarChart.swift │ │ └── Utils │ │ ├── ChartColorTemplates.swift │ │ ├── ChartUtils.swift │ │ ├── Fill.swift │ │ ├── Platform+Accessibility.swift │ │ ├── Platform.swift │ │ ├── Transformer.swift │ │ ├── TransformerHorizontalBarChart.swift │ │ └── ViewPortHandler.swift │ ├── Manifest.lock │ ├── Pods.xcodeproj │ ├── project.pbxproj │ └── xcuserdata │ │ └── mallikarjun.xcuserdatad │ │ └── xcschemes │ │ ├── Charts.xcscheme │ │ ├── Pods-Line-Chart.xcscheme │ │ └── xcschememanagement.plist │ └── Target Support Files │ ├── Charts │ ├── Charts-dummy.m │ ├── Charts-prefix.pch │ ├── Charts-umbrella.h │ ├── Charts.modulemap │ ├── Charts.xcconfig │ └── Info.plist │ └── Pods-Line-Chart │ ├── Info.plist │ ├── Pods-Line-Chart-acknowledgements.markdown │ ├── Pods-Line-Chart-acknowledgements.plist │ ├── Pods-Line-Chart-dummy.m │ ├── Pods-Line-Chart-frameworks.sh │ ├── Pods-Line-Chart-resources.sh │ ├── Pods-Line-Chart-umbrella.h │ ├── Pods-Line-Chart.debug.xcconfig │ ├── Pods-Line-Chart.modulemap │ └── Pods-Line-Chart.release.xcconfig ├── Line-Chart_3_Final1.png ├── Line-Chart_3_Final1 ├── Line-Chart.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ ├── contents.xcworkspacedata │ │ ├── xcshareddata │ │ │ └── IDEWorkspaceChecks.plist │ │ └── xcuserdata │ │ │ └── mallikarjun.xcuserdatad │ │ │ └── UserInterfaceState.xcuserstate │ └── xcuserdata │ │ └── mallikarjun.xcuserdatad │ │ └── xcschemes │ │ └── xcschememanagement.plist ├── Line-Chart.xcworkspace │ ├── contents.xcworkspacedata │ ├── xcshareddata │ │ └── IDEWorkspaceChecks.plist │ └── xcuserdata │ │ └── mallikarjun.xcuserdatad │ │ └── UserInterfaceState.xcuserstate ├── Line-Chart │ ├── AppDelegate.swift │ ├── Assets.xcassets │ │ ├── AppIcon.appiconset │ │ │ └── Contents.json │ │ └── Contents.json │ ├── Base.lproj │ │ ├── LaunchScreen.storyboard │ │ └── Main.storyboard │ ├── Info.plist │ └── ViewController.swift ├── Podfile ├── Podfile.lock └── Pods │ ├── Charts │ ├── LICENSE │ ├── README.md │ └── Source │ │ └── Charts │ │ ├── Animation │ │ ├── Animator.swift │ │ └── ChartAnimationEasing.swift │ │ ├── Charts │ │ ├── BarChartView.swift │ │ ├── BarLineChartViewBase.swift │ │ ├── BubbleChartView.swift │ │ ├── CandleStickChartView.swift │ │ ├── ChartViewBase.swift │ │ ├── CombinedChartView.swift │ │ ├── HorizontalBarChartView.swift │ │ ├── LineChartView.swift │ │ ├── PieChartView.swift │ │ ├── PieRadarChartViewBase.swift │ │ ├── RadarChartView.swift │ │ └── ScatterChartView.swift │ │ ├── Components │ │ ├── AxisBase.swift │ │ ├── ChartLimitLine.swift │ │ ├── ComponentBase.swift │ │ ├── Description.swift │ │ ├── IMarker.swift │ │ ├── Legend.swift │ │ ├── LegendEntry.swift │ │ ├── MarkerImage.swift │ │ ├── MarkerView.swift │ │ ├── XAxis.swift │ │ └── YAxis.swift │ │ ├── Data │ │ ├── Implementations │ │ │ ├── ChartBaseDataSet.swift │ │ │ └── Standard │ │ │ │ ├── BarChartData.swift │ │ │ │ ├── BarChartDataEntry.swift │ │ │ │ ├── BarChartDataSet.swift │ │ │ │ ├── BarLineScatterCandleBubbleChartData.swift │ │ │ │ ├── BarLineScatterCandleBubbleChartDataSet.swift │ │ │ │ ├── BubbleChartData.swift │ │ │ │ ├── BubbleChartDataEntry.swift │ │ │ │ ├── BubbleChartDataSet.swift │ │ │ │ ├── CandleChartData.swift │ │ │ │ ├── CandleChartDataEntry.swift │ │ │ │ ├── CandleChartDataSet.swift │ │ │ │ ├── ChartData.swift │ │ │ │ ├── ChartDataEntry.swift │ │ │ │ ├── ChartDataEntryBase.swift │ │ │ │ ├── ChartDataSet.swift │ │ │ │ ├── CombinedChartData.swift │ │ │ │ ├── LineChartData.swift │ │ │ │ ├── LineChartDataSet.swift │ │ │ │ ├── LineRadarChartDataSet.swift │ │ │ │ ├── LineScatterCandleRadarChartDataSet.swift │ │ │ │ ├── PieChartData.swift │ │ │ │ ├── PieChartDataEntry.swift │ │ │ │ ├── PieChartDataSet.swift │ │ │ │ ├── RadarChartData.swift │ │ │ │ ├── RadarChartDataEntry.swift │ │ │ │ ├── RadarChartDataSet.swift │ │ │ │ ├── ScatterChartData.swift │ │ │ │ └── ScatterChartDataSet.swift │ │ └── Interfaces │ │ │ ├── IBarChartDataSet.swift │ │ │ ├── IBarLineScatterCandleBubbleChartDataSet.swift │ │ │ ├── IBubbleChartDataSet.swift │ │ │ ├── ICandleChartDataSet.swift │ │ │ ├── IChartDataSet.swift │ │ │ ├── ILineChartDataSet.swift │ │ │ ├── ILineRadarChartDataSet.swift │ │ │ ├── ILineScatterCandleRadarChartDataSet.swift │ │ │ ├── IPieChartDataSet.swift │ │ │ ├── IRadarChartDataSet.swift │ │ │ └── IScatterChartDataSet.swift │ │ ├── Filters │ │ ├── DataApproximator+N.swift │ │ └── DataApproximator.swift │ │ ├── Formatters │ │ ├── DefaultAxisValueFormatter.swift │ │ ├── DefaultFillFormatter.swift │ │ ├── DefaultValueFormatter.swift │ │ ├── IAxisValueFormatter.swift │ │ ├── IFillFormatter.swift │ │ ├── IValueFormatter.swift │ │ └── IndexAxisValueFormatter.swift │ │ ├── Highlight │ │ ├── BarHighlighter.swift │ │ ├── ChartHighlighter.swift │ │ ├── CombinedHighlighter.swift │ │ ├── Highlight.swift │ │ ├── HorizontalBarHighlighter.swift │ │ ├── IHighlighter.swift │ │ ├── PieHighlighter.swift │ │ ├── PieRadarHighlighter.swift │ │ ├── RadarHighlighter.swift │ │ └── Range.swift │ │ ├── Interfaces │ │ ├── BarChartDataProvider.swift │ │ ├── BarLineScatterCandleBubbleChartDataProvider.swift │ │ ├── BubbleChartDataProvider.swift │ │ ├── CandleChartDataProvider.swift │ │ ├── ChartDataProvider.swift │ │ ├── CombinedChartDataProvider.swift │ │ ├── LineChartDataProvider.swift │ │ └── ScatterChartDataProvider.swift │ │ ├── Jobs │ │ ├── AnimatedMoveViewJob.swift │ │ ├── AnimatedViewPortJob.swift │ │ ├── AnimatedZoomViewJob.swift │ │ ├── MoveViewJob.swift │ │ ├── ViewPortJob.swift │ │ └── ZoomViewJob.swift │ │ ├── Renderers │ │ ├── AxisRendererBase.swift │ │ ├── BarChartRenderer.swift │ │ ├── BarLineScatterCandleBubbleRenderer.swift │ │ ├── BubbleChartRenderer.swift │ │ ├── CandleStickChartRenderer.swift │ │ ├── ChartDataRendererBase.swift │ │ ├── CombinedChartRenderer.swift │ │ ├── HorizontalBarChartRenderer.swift │ │ ├── LegendRenderer.swift │ │ ├── LineChartRenderer.swift │ │ ├── LineRadarRenderer.swift │ │ ├── LineScatterCandleRadarRenderer.swift │ │ ├── PieChartRenderer.swift │ │ ├── RadarChartRenderer.swift │ │ ├── Renderer.swift │ │ ├── Scatter │ │ │ ├── ChevronDownShapeRenderer.swift │ │ │ ├── ChevronUpShapeRenderer.swift │ │ │ ├── CircleShapeRenderer.swift │ │ │ ├── CrossShapeRenderer.swift │ │ │ ├── IShapeRenderer.swift │ │ │ ├── SquareShapeRenderer.swift │ │ │ ├── TriangleShapeRenderer.swift │ │ │ └── XShapeRenderer.swift │ │ ├── ScatterChartRenderer.swift │ │ ├── XAxisRenderer.swift │ │ ├── XAxisRendererHorizontalBarChart.swift │ │ ├── XAxisRendererRadarChart.swift │ │ ├── YAxisRenderer.swift │ │ ├── YAxisRendererHorizontalBarChart.swift │ │ └── YAxisRendererRadarChart.swift │ │ └── Utils │ │ ├── ChartColorTemplates.swift │ │ ├── ChartUtils.swift │ │ ├── Fill.swift │ │ ├── Platform+Accessibility.swift │ │ ├── Platform.swift │ │ ├── Transformer.swift │ │ ├── TransformerHorizontalBarChart.swift │ │ └── ViewPortHandler.swift │ ├── Manifest.lock │ ├── Pods.xcodeproj │ ├── project.pbxproj │ └── xcuserdata │ │ └── mallikarjun.xcuserdatad │ │ └── xcschemes │ │ ├── Charts.xcscheme │ │ ├── Pods-Line-Chart.xcscheme │ │ └── xcschememanagement.plist │ └── Target Support Files │ ├── Charts │ ├── Charts-dummy.m │ ├── Charts-prefix.pch │ ├── Charts-umbrella.h │ ├── Charts.modulemap │ ├── Charts.xcconfig │ └── Info.plist │ └── Pods-Line-Chart │ ├── Info.plist │ ├── Pods-Line-Chart-acknowledgements.markdown │ ├── Pods-Line-Chart-acknowledgements.plist │ ├── Pods-Line-Chart-dummy.m │ ├── Pods-Line-Chart-frameworks.sh │ ├── Pods-Line-Chart-resources.sh │ ├── Pods-Line-Chart-umbrella.h │ ├── Pods-Line-Chart.debug.xcconfig │ ├── Pods-Line-Chart.modulemap │ └── Pods-Line-Chart.release.xcconfig ├── Line-Chart_3_Final2.png ├── Line-Chart_3_Final2 ├── Line-Chart.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ ├── contents.xcworkspacedata │ │ ├── xcshareddata │ │ │ └── IDEWorkspaceChecks.plist │ │ └── xcuserdata │ │ │ └── mallikarjun.xcuserdatad │ │ │ └── UserInterfaceState.xcuserstate │ └── xcuserdata │ │ └── mallikarjun.xcuserdatad │ │ └── xcschemes │ │ └── xcschememanagement.plist ├── Line-Chart.xcworkspace │ ├── contents.xcworkspacedata │ ├── xcshareddata │ │ └── IDEWorkspaceChecks.plist │ └── xcuserdata │ │ └── mallikarjun.xcuserdatad │ │ └── UserInterfaceState.xcuserstate ├── Line-Chart │ ├── AppDelegate.swift │ ├── Assets.xcassets │ │ ├── AppIcon.appiconset │ │ │ └── Contents.json │ │ └── Contents.json │ ├── Base.lproj │ │ ├── LaunchScreen.storyboard │ │ └── Main.storyboard │ ├── Info.plist │ └── ViewController.swift ├── Podfile ├── Podfile.lock └── Pods │ ├── Charts │ ├── LICENSE │ ├── README.md │ └── Source │ │ └── Charts │ │ ├── Animation │ │ ├── Animator.swift │ │ └── ChartAnimationEasing.swift │ │ ├── Charts │ │ ├── BarChartView.swift │ │ ├── BarLineChartViewBase.swift │ │ ├── BubbleChartView.swift │ │ ├── CandleStickChartView.swift │ │ ├── ChartViewBase.swift │ │ ├── CombinedChartView.swift │ │ ├── HorizontalBarChartView.swift │ │ ├── LineChartView.swift │ │ ├── PieChartView.swift │ │ ├── PieRadarChartViewBase.swift │ │ ├── RadarChartView.swift │ │ └── ScatterChartView.swift │ │ ├── Components │ │ ├── AxisBase.swift │ │ ├── ChartLimitLine.swift │ │ ├── ComponentBase.swift │ │ ├── Description.swift │ │ ├── IMarker.swift │ │ ├── Legend.swift │ │ ├── LegendEntry.swift │ │ ├── MarkerImage.swift │ │ ├── MarkerView.swift │ │ ├── XAxis.swift │ │ └── YAxis.swift │ │ ├── Data │ │ ├── Implementations │ │ │ ├── ChartBaseDataSet.swift │ │ │ └── Standard │ │ │ │ ├── BarChartData.swift │ │ │ │ ├── BarChartDataEntry.swift │ │ │ │ ├── BarChartDataSet.swift │ │ │ │ ├── BarLineScatterCandleBubbleChartData.swift │ │ │ │ ├── BarLineScatterCandleBubbleChartDataSet.swift │ │ │ │ ├── BubbleChartData.swift │ │ │ │ ├── BubbleChartDataEntry.swift │ │ │ │ ├── BubbleChartDataSet.swift │ │ │ │ ├── CandleChartData.swift │ │ │ │ ├── CandleChartDataEntry.swift │ │ │ │ ├── CandleChartDataSet.swift │ │ │ │ ├── ChartData.swift │ │ │ │ ├── ChartDataEntry.swift │ │ │ │ ├── ChartDataEntryBase.swift │ │ │ │ ├── ChartDataSet.swift │ │ │ │ ├── CombinedChartData.swift │ │ │ │ ├── LineChartData.swift │ │ │ │ ├── LineChartDataSet.swift │ │ │ │ ├── LineRadarChartDataSet.swift │ │ │ │ ├── LineScatterCandleRadarChartDataSet.swift │ │ │ │ ├── PieChartData.swift │ │ │ │ ├── PieChartDataEntry.swift │ │ │ │ ├── PieChartDataSet.swift │ │ │ │ ├── RadarChartData.swift │ │ │ │ ├── RadarChartDataEntry.swift │ │ │ │ ├── RadarChartDataSet.swift │ │ │ │ ├── ScatterChartData.swift │ │ │ │ └── ScatterChartDataSet.swift │ │ └── Interfaces │ │ │ ├── IBarChartDataSet.swift │ │ │ ├── IBarLineScatterCandleBubbleChartDataSet.swift │ │ │ ├── IBubbleChartDataSet.swift │ │ │ ├── ICandleChartDataSet.swift │ │ │ ├── IChartDataSet.swift │ │ │ ├── ILineChartDataSet.swift │ │ │ ├── ILineRadarChartDataSet.swift │ │ │ ├── ILineScatterCandleRadarChartDataSet.swift │ │ │ ├── IPieChartDataSet.swift │ │ │ ├── IRadarChartDataSet.swift │ │ │ └── IScatterChartDataSet.swift │ │ ├── Filters │ │ ├── DataApproximator+N.swift │ │ └── DataApproximator.swift │ │ ├── Formatters │ │ ├── DefaultAxisValueFormatter.swift │ │ ├── DefaultFillFormatter.swift │ │ ├── DefaultValueFormatter.swift │ │ ├── IAxisValueFormatter.swift │ │ ├── IFillFormatter.swift │ │ ├── IValueFormatter.swift │ │ └── IndexAxisValueFormatter.swift │ │ ├── Highlight │ │ ├── BarHighlighter.swift │ │ ├── ChartHighlighter.swift │ │ ├── CombinedHighlighter.swift │ │ ├── Highlight.swift │ │ ├── HorizontalBarHighlighter.swift │ │ ├── IHighlighter.swift │ │ ├── PieHighlighter.swift │ │ ├── PieRadarHighlighter.swift │ │ ├── RadarHighlighter.swift │ │ └── Range.swift │ │ ├── Interfaces │ │ ├── BarChartDataProvider.swift │ │ ├── BarLineScatterCandleBubbleChartDataProvider.swift │ │ ├── BubbleChartDataProvider.swift │ │ ├── CandleChartDataProvider.swift │ │ ├── ChartDataProvider.swift │ │ ├── CombinedChartDataProvider.swift │ │ ├── LineChartDataProvider.swift │ │ └── ScatterChartDataProvider.swift │ │ ├── Jobs │ │ ├── AnimatedMoveViewJob.swift │ │ ├── AnimatedViewPortJob.swift │ │ ├── AnimatedZoomViewJob.swift │ │ ├── MoveViewJob.swift │ │ ├── ViewPortJob.swift │ │ └── ZoomViewJob.swift │ │ ├── Renderers │ │ ├── AxisRendererBase.swift │ │ ├── BarChartRenderer.swift │ │ ├── BarLineScatterCandleBubbleRenderer.swift │ │ ├── BubbleChartRenderer.swift │ │ ├── CandleStickChartRenderer.swift │ │ ├── ChartDataRendererBase.swift │ │ ├── CombinedChartRenderer.swift │ │ ├── HorizontalBarChartRenderer.swift │ │ ├── LegendRenderer.swift │ │ ├── LineChartRenderer.swift │ │ ├── LineRadarRenderer.swift │ │ ├── LineScatterCandleRadarRenderer.swift │ │ ├── PieChartRenderer.swift │ │ ├── RadarChartRenderer.swift │ │ ├── Renderer.swift │ │ ├── Scatter │ │ │ ├── ChevronDownShapeRenderer.swift │ │ │ ├── ChevronUpShapeRenderer.swift │ │ │ ├── CircleShapeRenderer.swift │ │ │ ├── CrossShapeRenderer.swift │ │ │ ├── IShapeRenderer.swift │ │ │ ├── SquareShapeRenderer.swift │ │ │ ├── TriangleShapeRenderer.swift │ │ │ └── XShapeRenderer.swift │ │ ├── ScatterChartRenderer.swift │ │ ├── XAxisRenderer.swift │ │ ├── XAxisRendererHorizontalBarChart.swift │ │ ├── XAxisRendererRadarChart.swift │ │ ├── YAxisRenderer.swift │ │ ├── YAxisRendererHorizontalBarChart.swift │ │ └── YAxisRendererRadarChart.swift │ │ └── Utils │ │ ├── ChartColorTemplates.swift │ │ ├── ChartUtils.swift │ │ ├── Fill.swift │ │ ├── Platform+Accessibility.swift │ │ ├── Platform.swift │ │ ├── Transformer.swift │ │ ├── TransformerHorizontalBarChart.swift │ │ └── ViewPortHandler.swift │ ├── Manifest.lock │ ├── Pods.xcodeproj │ ├── project.pbxproj │ └── xcuserdata │ │ └── mallikarjun.xcuserdatad │ │ └── xcschemes │ │ ├── Charts.xcscheme │ │ ├── Pods-Line-Chart.xcscheme │ │ └── xcschememanagement.plist │ └── Target Support Files │ ├── Charts │ ├── Charts-dummy.m │ ├── Charts-prefix.pch │ ├── Charts-umbrella.h │ ├── Charts.modulemap │ ├── Charts.xcconfig │ └── Info.plist │ └── Pods-Line-Chart │ ├── Info.plist │ ├── Pods-Line-Chart-acknowledgements.markdown │ ├── Pods-Line-Chart-acknowledgements.plist │ ├── Pods-Line-Chart-dummy.m │ ├── Pods-Line-Chart-frameworks.sh │ ├── Pods-Line-Chart-resources.sh │ ├── Pods-Line-Chart-umbrella.h │ ├── Pods-Line-Chart.debug.xcconfig │ ├── Pods-Line-Chart.modulemap │ └── Pods-Line-Chart.release.xcconfig ├── Line-Chart_3_Final3.png ├── Line-Chart_3_Final3 ├── Line-Chart.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ ├── contents.xcworkspacedata │ │ ├── xcshareddata │ │ │ └── IDEWorkspaceChecks.plist │ │ └── xcuserdata │ │ │ └── mallikarjun.xcuserdatad │ │ │ └── UserInterfaceState.xcuserstate │ └── xcuserdata │ │ └── mallikarjun.xcuserdatad │ │ └── xcschemes │ │ └── xcschememanagement.plist ├── Line-Chart.xcworkspace │ ├── contents.xcworkspacedata │ ├── xcshareddata │ │ └── IDEWorkspaceChecks.plist │ └── xcuserdata │ │ └── mallikarjun.xcuserdatad │ │ └── UserInterfaceState.xcuserstate ├── Line-Chart │ ├── AppDelegate.swift │ ├── Assets.xcassets │ │ ├── AppIcon.appiconset │ │ │ └── Contents.json │ │ └── Contents.json │ ├── Base.lproj │ │ ├── LaunchScreen.storyboard │ │ └── Main.storyboard │ ├── Info.plist │ └── ViewController.swift ├── Podfile ├── Podfile.lock └── Pods │ ├── Charts │ ├── LICENSE │ ├── README.md │ └── Source │ │ └── Charts │ │ ├── Animation │ │ ├── Animator.swift │ │ └── ChartAnimationEasing.swift │ │ ├── Charts │ │ ├── BarChartView.swift │ │ ├── BarLineChartViewBase.swift │ │ ├── BubbleChartView.swift │ │ ├── CandleStickChartView.swift │ │ ├── ChartViewBase.swift │ │ ├── CombinedChartView.swift │ │ ├── HorizontalBarChartView.swift │ │ ├── LineChartView.swift │ │ ├── PieChartView.swift │ │ ├── PieRadarChartViewBase.swift │ │ ├── RadarChartView.swift │ │ └── ScatterChartView.swift │ │ ├── Components │ │ ├── AxisBase.swift │ │ ├── ChartLimitLine.swift │ │ ├── ComponentBase.swift │ │ ├── Description.swift │ │ ├── IMarker.swift │ │ ├── Legend.swift │ │ ├── LegendEntry.swift │ │ ├── MarkerImage.swift │ │ ├── MarkerView.swift │ │ ├── XAxis.swift │ │ └── YAxis.swift │ │ ├── Data │ │ ├── Implementations │ │ │ ├── ChartBaseDataSet.swift │ │ │ └── Standard │ │ │ │ ├── BarChartData.swift │ │ │ │ ├── BarChartDataEntry.swift │ │ │ │ ├── BarChartDataSet.swift │ │ │ │ ├── BarLineScatterCandleBubbleChartData.swift │ │ │ │ ├── BarLineScatterCandleBubbleChartDataSet.swift │ │ │ │ ├── BubbleChartData.swift │ │ │ │ ├── BubbleChartDataEntry.swift │ │ │ │ ├── BubbleChartDataSet.swift │ │ │ │ ├── CandleChartData.swift │ │ │ │ ├── CandleChartDataEntry.swift │ │ │ │ ├── CandleChartDataSet.swift │ │ │ │ ├── ChartData.swift │ │ │ │ ├── ChartDataEntry.swift │ │ │ │ ├── ChartDataEntryBase.swift │ │ │ │ ├── ChartDataSet.swift │ │ │ │ ├── CombinedChartData.swift │ │ │ │ ├── LineChartData.swift │ │ │ │ ├── LineChartDataSet.swift │ │ │ │ ├── LineRadarChartDataSet.swift │ │ │ │ ├── LineScatterCandleRadarChartDataSet.swift │ │ │ │ ├── PieChartData.swift │ │ │ │ ├── PieChartDataEntry.swift │ │ │ │ ├── PieChartDataSet.swift │ │ │ │ ├── RadarChartData.swift │ │ │ │ ├── RadarChartDataEntry.swift │ │ │ │ ├── RadarChartDataSet.swift │ │ │ │ ├── ScatterChartData.swift │ │ │ │ └── ScatterChartDataSet.swift │ │ └── Interfaces │ │ │ ├── IBarChartDataSet.swift │ │ │ ├── IBarLineScatterCandleBubbleChartDataSet.swift │ │ │ ├── IBubbleChartDataSet.swift │ │ │ ├── ICandleChartDataSet.swift │ │ │ ├── IChartDataSet.swift │ │ │ ├── ILineChartDataSet.swift │ │ │ ├── ILineRadarChartDataSet.swift │ │ │ ├── ILineScatterCandleRadarChartDataSet.swift │ │ │ ├── IPieChartDataSet.swift │ │ │ ├── IRadarChartDataSet.swift │ │ │ └── IScatterChartDataSet.swift │ │ ├── Filters │ │ ├── DataApproximator+N.swift │ │ └── DataApproximator.swift │ │ ├── Formatters │ │ ├── DefaultAxisValueFormatter.swift │ │ ├── DefaultFillFormatter.swift │ │ ├── DefaultValueFormatter.swift │ │ ├── IAxisValueFormatter.swift │ │ ├── IFillFormatter.swift │ │ ├── IValueFormatter.swift │ │ └── IndexAxisValueFormatter.swift │ │ ├── Highlight │ │ ├── BarHighlighter.swift │ │ ├── ChartHighlighter.swift │ │ ├── CombinedHighlighter.swift │ │ ├── Highlight.swift │ │ ├── HorizontalBarHighlighter.swift │ │ ├── IHighlighter.swift │ │ ├── PieHighlighter.swift │ │ ├── PieRadarHighlighter.swift │ │ ├── RadarHighlighter.swift │ │ └── Range.swift │ │ ├── Interfaces │ │ ├── BarChartDataProvider.swift │ │ ├── BarLineScatterCandleBubbleChartDataProvider.swift │ │ ├── BubbleChartDataProvider.swift │ │ ├── CandleChartDataProvider.swift │ │ ├── ChartDataProvider.swift │ │ ├── CombinedChartDataProvider.swift │ │ ├── LineChartDataProvider.swift │ │ └── ScatterChartDataProvider.swift │ │ ├── Jobs │ │ ├── AnimatedMoveViewJob.swift │ │ ├── AnimatedViewPortJob.swift │ │ ├── AnimatedZoomViewJob.swift │ │ ├── MoveViewJob.swift │ │ ├── ViewPortJob.swift │ │ └── ZoomViewJob.swift │ │ ├── Renderers │ │ ├── AxisRendererBase.swift │ │ ├── BarChartRenderer.swift │ │ ├── BarLineScatterCandleBubbleRenderer.swift │ │ ├── BubbleChartRenderer.swift │ │ ├── CandleStickChartRenderer.swift │ │ ├── ChartDataRendererBase.swift │ │ ├── CombinedChartRenderer.swift │ │ ├── HorizontalBarChartRenderer.swift │ │ ├── LegendRenderer.swift │ │ ├── LineChartRenderer.swift │ │ ├── LineRadarRenderer.swift │ │ ├── LineScatterCandleRadarRenderer.swift │ │ ├── PieChartRenderer.swift │ │ ├── RadarChartRenderer.swift │ │ ├── Renderer.swift │ │ ├── Scatter │ │ │ ├── ChevronDownShapeRenderer.swift │ │ │ ├── ChevronUpShapeRenderer.swift │ │ │ ├── CircleShapeRenderer.swift │ │ │ ├── CrossShapeRenderer.swift │ │ │ ├── IShapeRenderer.swift │ │ │ ├── SquareShapeRenderer.swift │ │ │ ├── TriangleShapeRenderer.swift │ │ │ └── XShapeRenderer.swift │ │ ├── ScatterChartRenderer.swift │ │ ├── XAxisRenderer.swift │ │ ├── XAxisRendererHorizontalBarChart.swift │ │ ├── XAxisRendererRadarChart.swift │ │ ├── YAxisRenderer.swift │ │ ├── YAxisRendererHorizontalBarChart.swift │ │ └── YAxisRendererRadarChart.swift │ │ └── Utils │ │ ├── ChartColorTemplates.swift │ │ ├── ChartUtils.swift │ │ ├── Fill.swift │ │ ├── Platform+Accessibility.swift │ │ ├── Platform.swift │ │ ├── Transformer.swift │ │ ├── TransformerHorizontalBarChart.swift │ │ └── ViewPortHandler.swift │ ├── Manifest.lock │ ├── Pods.xcodeproj │ ├── project.pbxproj │ └── xcuserdata │ │ └── mallikarjun.xcuserdatad │ │ └── xcschemes │ │ ├── Charts.xcscheme │ │ ├── Pods-Line-Chart.xcscheme │ │ └── xcschememanagement.plist │ └── Target Support Files │ ├── Charts │ ├── Charts-dummy.m │ ├── Charts-prefix.pch │ ├── Charts-umbrella.h │ ├── Charts.modulemap │ ├── Charts.xcconfig │ └── Info.plist │ └── Pods-Line-Chart │ ├── Info.plist │ ├── Pods-Line-Chart-acknowledgements.markdown │ ├── Pods-Line-Chart-acknowledgements.plist │ ├── Pods-Line-Chart-dummy.m │ ├── Pods-Line-Chart-frameworks.sh │ ├── Pods-Line-Chart-resources.sh │ ├── Pods-Line-Chart-umbrella.h │ ├── Pods-Line-Chart.debug.xcconfig │ ├── Pods-Line-Chart.modulemap │ └── Pods-Line-Chart.release.xcconfig ├── Line-Chart_3_Final4.png ├── Line-Chart_3_Final4 ├── Line-Chart.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ ├── contents.xcworkspacedata │ │ ├── xcshareddata │ │ │ └── IDEWorkspaceChecks.plist │ │ └── xcuserdata │ │ │ └── mallikarjun.xcuserdatad │ │ │ └── UserInterfaceState.xcuserstate │ └── xcuserdata │ │ └── mallikarjun.xcuserdatad │ │ └── xcschemes │ │ └── xcschememanagement.plist ├── Line-Chart.xcworkspace │ ├── contents.xcworkspacedata │ ├── xcshareddata │ │ └── IDEWorkspaceChecks.plist │ └── xcuserdata │ │ └── mallikarjun.xcuserdatad │ │ └── UserInterfaceState.xcuserstate ├── Line-Chart │ ├── AppDelegate.swift │ ├── Assets.xcassets │ │ ├── AppIcon.appiconset │ │ │ └── Contents.json │ │ └── Contents.json │ ├── Base.lproj │ │ ├── LaunchScreen.storyboard │ │ └── Main.storyboard │ ├── Info.plist │ └── ViewController.swift ├── Podfile ├── Podfile.lock └── Pods │ ├── Charts │ ├── LICENSE │ ├── README.md │ └── Source │ │ └── Charts │ │ ├── Animation │ │ ├── Animator.swift │ │ └── ChartAnimationEasing.swift │ │ ├── Charts │ │ ├── BarChartView.swift │ │ ├── BarLineChartViewBase.swift │ │ ├── BubbleChartView.swift │ │ ├── CandleStickChartView.swift │ │ ├── ChartViewBase.swift │ │ ├── CombinedChartView.swift │ │ ├── HorizontalBarChartView.swift │ │ ├── LineChartView.swift │ │ ├── PieChartView.swift │ │ ├── PieRadarChartViewBase.swift │ │ ├── RadarChartView.swift │ │ └── ScatterChartView.swift │ │ ├── Components │ │ ├── AxisBase.swift │ │ ├── ChartLimitLine.swift │ │ ├── ComponentBase.swift │ │ ├── Description.swift │ │ ├── IMarker.swift │ │ ├── Legend.swift │ │ ├── LegendEntry.swift │ │ ├── MarkerImage.swift │ │ ├── MarkerView.swift │ │ ├── XAxis.swift │ │ └── YAxis.swift │ │ ├── Data │ │ ├── Implementations │ │ │ ├── ChartBaseDataSet.swift │ │ │ └── Standard │ │ │ │ ├── BarChartData.swift │ │ │ │ ├── BarChartDataEntry.swift │ │ │ │ ├── BarChartDataSet.swift │ │ │ │ ├── BarLineScatterCandleBubbleChartData.swift │ │ │ │ ├── BarLineScatterCandleBubbleChartDataSet.swift │ │ │ │ ├── BubbleChartData.swift │ │ │ │ ├── BubbleChartDataEntry.swift │ │ │ │ ├── BubbleChartDataSet.swift │ │ │ │ ├── CandleChartData.swift │ │ │ │ ├── CandleChartDataEntry.swift │ │ │ │ ├── CandleChartDataSet.swift │ │ │ │ ├── ChartData.swift │ │ │ │ ├── ChartDataEntry.swift │ │ │ │ ├── ChartDataEntryBase.swift │ │ │ │ ├── ChartDataSet.swift │ │ │ │ ├── CombinedChartData.swift │ │ │ │ ├── LineChartData.swift │ │ │ │ ├── LineChartDataSet.swift │ │ │ │ ├── LineRadarChartDataSet.swift │ │ │ │ ├── LineScatterCandleRadarChartDataSet.swift │ │ │ │ ├── PieChartData.swift │ │ │ │ ├── PieChartDataEntry.swift │ │ │ │ ├── PieChartDataSet.swift │ │ │ │ ├── RadarChartData.swift │ │ │ │ ├── RadarChartDataEntry.swift │ │ │ │ ├── RadarChartDataSet.swift │ │ │ │ ├── ScatterChartData.swift │ │ │ │ └── ScatterChartDataSet.swift │ │ └── Interfaces │ │ │ ├── IBarChartDataSet.swift │ │ │ ├── IBarLineScatterCandleBubbleChartDataSet.swift │ │ │ ├── IBubbleChartDataSet.swift │ │ │ ├── ICandleChartDataSet.swift │ │ │ ├── IChartDataSet.swift │ │ │ ├── ILineChartDataSet.swift │ │ │ ├── ILineRadarChartDataSet.swift │ │ │ ├── ILineScatterCandleRadarChartDataSet.swift │ │ │ ├── IPieChartDataSet.swift │ │ │ ├── IRadarChartDataSet.swift │ │ │ └── IScatterChartDataSet.swift │ │ ├── Filters │ │ ├── DataApproximator+N.swift │ │ └── DataApproximator.swift │ │ ├── Formatters │ │ ├── DefaultAxisValueFormatter.swift │ │ ├── DefaultFillFormatter.swift │ │ ├── DefaultValueFormatter.swift │ │ ├── IAxisValueFormatter.swift │ │ ├── IFillFormatter.swift │ │ ├── IValueFormatter.swift │ │ └── IndexAxisValueFormatter.swift │ │ ├── Highlight │ │ ├── BarHighlighter.swift │ │ ├── ChartHighlighter.swift │ │ ├── CombinedHighlighter.swift │ │ ├── Highlight.swift │ │ ├── HorizontalBarHighlighter.swift │ │ ├── IHighlighter.swift │ │ ├── PieHighlighter.swift │ │ ├── PieRadarHighlighter.swift │ │ ├── RadarHighlighter.swift │ │ └── Range.swift │ │ ├── Interfaces │ │ ├── BarChartDataProvider.swift │ │ ├── BarLineScatterCandleBubbleChartDataProvider.swift │ │ ├── BubbleChartDataProvider.swift │ │ ├── CandleChartDataProvider.swift │ │ ├── ChartDataProvider.swift │ │ ├── CombinedChartDataProvider.swift │ │ ├── LineChartDataProvider.swift │ │ └── ScatterChartDataProvider.swift │ │ ├── Jobs │ │ ├── AnimatedMoveViewJob.swift │ │ ├── AnimatedViewPortJob.swift │ │ ├── AnimatedZoomViewJob.swift │ │ ├── MoveViewJob.swift │ │ ├── ViewPortJob.swift │ │ └── ZoomViewJob.swift │ │ ├── Renderers │ │ ├── AxisRendererBase.swift │ │ ├── BarChartRenderer.swift │ │ ├── BarLineScatterCandleBubbleRenderer.swift │ │ ├── BubbleChartRenderer.swift │ │ ├── CandleStickChartRenderer.swift │ │ ├── ChartDataRendererBase.swift │ │ ├── CombinedChartRenderer.swift │ │ ├── HorizontalBarChartRenderer.swift │ │ ├── LegendRenderer.swift │ │ ├── LineChartRenderer.swift │ │ ├── LineRadarRenderer.swift │ │ ├── LineScatterCandleRadarRenderer.swift │ │ ├── PieChartRenderer.swift │ │ ├── RadarChartRenderer.swift │ │ ├── Renderer.swift │ │ ├── Scatter │ │ │ ├── ChevronDownShapeRenderer.swift │ │ │ ├── ChevronUpShapeRenderer.swift │ │ │ ├── CircleShapeRenderer.swift │ │ │ ├── CrossShapeRenderer.swift │ │ │ ├── IShapeRenderer.swift │ │ │ ├── SquareShapeRenderer.swift │ │ │ ├── TriangleShapeRenderer.swift │ │ │ └── XShapeRenderer.swift │ │ ├── ScatterChartRenderer.swift │ │ ├── XAxisRenderer.swift │ │ ├── XAxisRendererHorizontalBarChart.swift │ │ ├── XAxisRendererRadarChart.swift │ │ ├── YAxisRenderer.swift │ │ ├── YAxisRendererHorizontalBarChart.swift │ │ └── YAxisRendererRadarChart.swift │ │ └── Utils │ │ ├── ChartColorTemplates.swift │ │ ├── ChartUtils.swift │ │ ├── Fill.swift │ │ ├── Platform+Accessibility.swift │ │ ├── Platform.swift │ │ ├── Transformer.swift │ │ ├── TransformerHorizontalBarChart.swift │ │ └── ViewPortHandler.swift │ ├── Manifest.lock │ ├── Pods.xcodeproj │ ├── project.pbxproj │ └── xcuserdata │ │ └── mallikarjun.xcuserdatad │ │ └── xcschemes │ │ ├── Charts.xcscheme │ │ ├── Pods-Line-Chart.xcscheme │ │ └── xcschememanagement.plist │ └── Target Support Files │ ├── Charts │ ├── Charts-dummy.m │ ├── Charts-prefix.pch │ ├── Charts-umbrella.h │ ├── Charts.modulemap │ ├── Charts.xcconfig │ └── Info.plist │ └── Pods-Line-Chart │ ├── Info.plist │ ├── Pods-Line-Chart-acknowledgements.markdown │ ├── Pods-Line-Chart-acknowledgements.plist │ ├── Pods-Line-Chart-dummy.m │ ├── Pods-Line-Chart-frameworks.sh │ ├── Pods-Line-Chart-resources.sh │ ├── Pods-Line-Chart-umbrella.h │ ├── Pods-Line-Chart.debug.xcconfig │ ├── Pods-Line-Chart.modulemap │ └── Pods-Line-Chart.release.xcconfig ├── Line-Chart_3_Final4_Swift_4 ├── .DS_Store ├── Line-Chart.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ ├── contents.xcworkspacedata │ │ ├── xcshareddata │ │ │ └── IDEWorkspaceChecks.plist │ │ └── xcuserdata │ │ │ └── mallikarjun.xcuserdatad │ │ │ └── UserInterfaceState.xcuserstate │ └── xcuserdata │ │ └── mallikarjun.xcuserdatad │ │ └── xcschemes │ │ └── xcschememanagement.plist ├── Line-Chart.xcworkspace │ ├── contents.xcworkspacedata │ ├── xcshareddata │ │ └── IDEWorkspaceChecks.plist │ └── xcuserdata │ │ └── mallikarjun.xcuserdatad │ │ └── UserInterfaceState.xcuserstate ├── Line-Chart │ ├── AppDelegate.swift │ ├── Assets.xcassets │ │ ├── AppIcon.appiconset │ │ │ └── Contents.json │ │ └── Contents.json │ ├── Base.lproj │ │ ├── LaunchScreen.storyboard │ │ └── Main.storyboard │ ├── Info.plist │ └── ViewController.swift ├── Podfile ├── Podfile.lock └── Pods │ ├── Charts │ ├── LICENSE │ ├── README.md │ └── Source │ │ └── Charts │ │ ├── Animation │ │ ├── Animator.swift │ │ └── ChartAnimationEasing.swift │ │ ├── Charts │ │ ├── BarChartView.swift │ │ ├── BarLineChartViewBase.swift │ │ ├── BubbleChartView.swift │ │ ├── CandleStickChartView.swift │ │ ├── ChartViewBase.swift │ │ ├── CombinedChartView.swift │ │ ├── HorizontalBarChartView.swift │ │ ├── LineChartView.swift │ │ ├── PieChartView.swift │ │ ├── PieRadarChartViewBase.swift │ │ ├── RadarChartView.swift │ │ └── ScatterChartView.swift │ │ ├── Components │ │ ├── AxisBase.swift │ │ ├── ChartLimitLine.swift │ │ ├── ComponentBase.swift │ │ ├── Description.swift │ │ ├── IMarker.swift │ │ ├── Legend.swift │ │ ├── LegendEntry.swift │ │ ├── MarkerImage.swift │ │ ├── MarkerView.swift │ │ ├── XAxis.swift │ │ └── YAxis.swift │ │ ├── Data │ │ ├── Implementations │ │ │ ├── ChartBaseDataSet.swift │ │ │ └── Standard │ │ │ │ ├── BarChartData.swift │ │ │ │ ├── BarChartDataEntry.swift │ │ │ │ ├── BarChartDataSet.swift │ │ │ │ ├── BarLineScatterCandleBubbleChartData.swift │ │ │ │ ├── BarLineScatterCandleBubbleChartDataSet.swift │ │ │ │ ├── BubbleChartData.swift │ │ │ │ ├── BubbleChartDataEntry.swift │ │ │ │ ├── BubbleChartDataSet.swift │ │ │ │ ├── CandleChartData.swift │ │ │ │ ├── CandleChartDataEntry.swift │ │ │ │ ├── CandleChartDataSet.swift │ │ │ │ ├── ChartData.swift │ │ │ │ ├── ChartDataEntry.swift │ │ │ │ ├── ChartDataEntryBase.swift │ │ │ │ ├── ChartDataSet.swift │ │ │ │ ├── CombinedChartData.swift │ │ │ │ ├── LineChartData.swift │ │ │ │ ├── LineChartDataSet.swift │ │ │ │ ├── LineRadarChartDataSet.swift │ │ │ │ ├── LineScatterCandleRadarChartDataSet.swift │ │ │ │ ├── PieChartData.swift │ │ │ │ ├── PieChartDataEntry.swift │ │ │ │ ├── PieChartDataSet.swift │ │ │ │ ├── RadarChartData.swift │ │ │ │ ├── RadarChartDataEntry.swift │ │ │ │ ├── RadarChartDataSet.swift │ │ │ │ ├── ScatterChartData.swift │ │ │ │ └── ScatterChartDataSet.swift │ │ └── Interfaces │ │ │ ├── IBarChartDataSet.swift │ │ │ ├── IBarLineScatterCandleBubbleChartDataSet.swift │ │ │ ├── IBubbleChartDataSet.swift │ │ │ ├── ICandleChartDataSet.swift │ │ │ ├── IChartDataSet.swift │ │ │ ├── ILineChartDataSet.swift │ │ │ ├── ILineRadarChartDataSet.swift │ │ │ ├── ILineScatterCandleRadarChartDataSet.swift │ │ │ ├── IPieChartDataSet.swift │ │ │ ├── IRadarChartDataSet.swift │ │ │ └── IScatterChartDataSet.swift │ │ ├── Filters │ │ ├── DataApproximator+N.swift │ │ └── DataApproximator.swift │ │ ├── Formatters │ │ ├── DefaultAxisValueFormatter.swift │ │ ├── DefaultFillFormatter.swift │ │ ├── DefaultValueFormatter.swift │ │ ├── IAxisValueFormatter.swift │ │ ├── IFillFormatter.swift │ │ ├── IValueFormatter.swift │ │ └── IndexAxisValueFormatter.swift │ │ ├── Highlight │ │ ├── BarHighlighter.swift │ │ ├── ChartHighlighter.swift │ │ ├── CombinedHighlighter.swift │ │ ├── Highlight.swift │ │ ├── HorizontalBarHighlighter.swift │ │ ├── IHighlighter.swift │ │ ├── PieHighlighter.swift │ │ ├── PieRadarHighlighter.swift │ │ ├── RadarHighlighter.swift │ │ └── Range.swift │ │ ├── Interfaces │ │ ├── BarChartDataProvider.swift │ │ ├── BarLineScatterCandleBubbleChartDataProvider.swift │ │ ├── BubbleChartDataProvider.swift │ │ ├── CandleChartDataProvider.swift │ │ ├── ChartDataProvider.swift │ │ ├── CombinedChartDataProvider.swift │ │ ├── LineChartDataProvider.swift │ │ └── ScatterChartDataProvider.swift │ │ ├── Jobs │ │ ├── AnimatedMoveViewJob.swift │ │ ├── AnimatedViewPortJob.swift │ │ ├── AnimatedZoomViewJob.swift │ │ ├── MoveViewJob.swift │ │ ├── ViewPortJob.swift │ │ └── ZoomViewJob.swift │ │ ├── Renderers │ │ ├── AxisRendererBase.swift │ │ ├── BarChartRenderer.swift │ │ ├── BarLineScatterCandleBubbleRenderer.swift │ │ ├── BubbleChartRenderer.swift │ │ ├── CandleStickChartRenderer.swift │ │ ├── ChartDataRendererBase.swift │ │ ├── CombinedChartRenderer.swift │ │ ├── HorizontalBarChartRenderer.swift │ │ ├── LegendRenderer.swift │ │ ├── LineChartRenderer.swift │ │ ├── LineRadarRenderer.swift │ │ ├── LineScatterCandleRadarRenderer.swift │ │ ├── PieChartRenderer.swift │ │ ├── RadarChartRenderer.swift │ │ ├── Renderer.swift │ │ ├── Scatter │ │ │ ├── ChevronDownShapeRenderer.swift │ │ │ ├── ChevronUpShapeRenderer.swift │ │ │ ├── CircleShapeRenderer.swift │ │ │ ├── CrossShapeRenderer.swift │ │ │ ├── IShapeRenderer.swift │ │ │ ├── SquareShapeRenderer.swift │ │ │ ├── TriangleShapeRenderer.swift │ │ │ └── XShapeRenderer.swift │ │ ├── ScatterChartRenderer.swift │ │ ├── XAxisRenderer.swift │ │ ├── XAxisRendererHorizontalBarChart.swift │ │ ├── XAxisRendererRadarChart.swift │ │ ├── YAxisRenderer.swift │ │ ├── YAxisRendererHorizontalBarChart.swift │ │ └── YAxisRendererRadarChart.swift │ │ └── Utils │ │ ├── ChartColorTemplates.swift │ │ ├── ChartUtils.swift │ │ ├── Fill.swift │ │ ├── Platform.swift │ │ ├── Transformer.swift │ │ ├── TransformerHorizontalBarChart.swift │ │ └── ViewPortHandler.swift │ ├── Manifest.lock │ ├── Pods.xcodeproj │ ├── project.pbxproj │ └── xcuserdata │ │ └── mallikarjun.xcuserdatad │ │ └── xcschemes │ │ ├── Charts.xcscheme │ │ ├── Pods-Line-Chart.xcscheme │ │ └── xcschememanagement.plist │ └── Target Support Files │ ├── Charts │ ├── Charts-dummy.m │ ├── Charts-prefix.pch │ ├── Charts-umbrella.h │ ├── Charts.modulemap │ ├── Charts.xcconfig │ └── Info.plist │ └── Pods-Line-Chart │ ├── Info.plist │ ├── Pods-Line-Chart-acknowledgements.markdown │ ├── Pods-Line-Chart-acknowledgements.plist │ ├── Pods-Line-Chart-dummy.m │ ├── Pods-Line-Chart-frameworks.sh │ ├── Pods-Line-Chart-resources.sh │ ├── Pods-Line-Chart-umbrella.h │ ├── Pods-Line-Chart.debug.xcconfig │ ├── Pods-Line-Chart.modulemap │ └── Pods-Line-Chart.release.xcconfig └── README.md /.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MallikarjunH/Charts_Examples/aae88f5b4f3845598f6e0584e7158484bf428df8/.DS_Store -------------------------------------------------------------------------------- /Bar_Chart_Example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MallikarjunH/Charts_Examples/aae88f5b4f3845598f6e0584e7158484bf428df8/Bar_Chart_Example.png -------------------------------------------------------------------------------- /Bar_Chart_Example/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MallikarjunH/Charts_Examples/aae88f5b4f3845598f6e0584e7158484bf428df8/Bar_Chart_Example/.DS_Store -------------------------------------------------------------------------------- /Bar_Chart_Example/Line-Chart.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Bar_Chart_Example/Line-Chart.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Bar_Chart_Example/Line-Chart.xcodeproj/project.xcworkspace/xcuserdata/mallikarjun.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MallikarjunH/Charts_Examples/aae88f5b4f3845598f6e0584e7158484bf428df8/Bar_Chart_Example/Line-Chart.xcodeproj/project.xcworkspace/xcuserdata/mallikarjun.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /Bar_Chart_Example/Line-Chart.xcodeproj/xcuserdata/mallikarjun.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | Line-Chart.xcscheme_^#shared#^_ 8 | 9 | orderHint 10 | 2 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /Bar_Chart_Example/Line-Chart.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Bar_Chart_Example/Line-Chart.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Bar_Chart_Example/Line-Chart.xcworkspace/xcuserdata/mallikarjun.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MallikarjunH/Charts_Examples/aae88f5b4f3845598f6e0584e7158484bf428df8/Bar_Chart_Example/Line-Chart.xcworkspace/xcuserdata/mallikarjun.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /Bar_Chart_Example/Line-Chart/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /Bar_Chart_Example/Podfile: -------------------------------------------------------------------------------- 1 | # Uncomment the next line to define a global platform for your project 2 | # platform :ios, '9.0' 3 | 4 | target 'Line-Chart' do 5 | use_frameworks! 6 | 7 | pod 'Charts' 8 | 9 | end 10 | -------------------------------------------------------------------------------- /Bar_Chart_Example/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - Charts (3.0.5): 3 | - Charts/Core (= 3.0.5) 4 | - Charts/Core (3.0.5) 5 | 6 | DEPENDENCIES: 7 | - Charts (~> 3.0.4) 8 | 9 | SPEC REPOS: 10 | https://github.com/cocoapods/specs.git: 11 | - Charts 12 | 13 | SPEC CHECKSUMS: 14 | Charts: 45cdc985b764c838b35ee47eb1365d15735f6d1a 15 | 16 | PODFILE CHECKSUM: f27fbe6542200f56f37809efc029fb2ea61fd25a 17 | 18 | COCOAPODS: 1.5.3 19 | -------------------------------------------------------------------------------- /Bar_Chart_Example/Pods/Charts/Source/Charts/Charts/BubbleChartView.swift: -------------------------------------------------------------------------------- 1 | // 2 | // BubbleChartView.swift 3 | // Charts 4 | // 5 | // Bubble chart implementation: 6 | // Copyright 2015 Pierre-Marc Airoldi 7 | // Licensed under Apache License 2.0 8 | // 9 | // https://github.com/danielgindi/Charts 10 | // 11 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | open class BubbleChartView: BarLineChartViewBase, BubbleChartDataProvider 16 | { 17 | open override func initialize() 18 | { 19 | super.initialize() 20 | 21 | renderer = BubbleChartRenderer(dataProvider: self, animator: _animator, viewPortHandler: _viewPortHandler) 22 | } 23 | 24 | // MARK: - BubbleChartDataProvider 25 | 26 | open var bubbleData: BubbleChartData? { return _data as? BubbleChartData } 27 | } 28 | -------------------------------------------------------------------------------- /Bar_Chart_Example/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarLineScatterCandleBubbleChartData.swift: -------------------------------------------------------------------------------- 1 | // 2 | // BarLineScatterCandleBubbleChartData.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 | 12 | import Foundation 13 | 14 | open class BarLineScatterCandleBubbleChartData: ChartData 15 | { 16 | public override init() 17 | { 18 | super.init() 19 | } 20 | 21 | public override init(dataSets: [IChartDataSet]?) 22 | { 23 | super.init(dataSets: dataSets) 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /Bar_Chart_Example/Pods/Charts/Source/Charts/Data/Implementations/Standard/CandleChartData.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CandleChartData.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 | 12 | import Foundation 13 | 14 | open class CandleChartData: BarLineScatterCandleBubbleChartData 15 | { 16 | public override init() 17 | { 18 | super.init() 19 | } 20 | 21 | public override init(dataSets: [IChartDataSet]?) 22 | { 23 | super.init(dataSets: dataSets) 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /Bar_Chart_Example/Pods/Charts/Source/Charts/Data/Implementations/Standard/LineChartData.swift: -------------------------------------------------------------------------------- 1 | // 2 | // LineChartData.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 | 12 | import Foundation 13 | 14 | /// Data object that encapsulates all data associated with a LineChart. 15 | open class LineChartData: ChartData 16 | { 17 | public override init() 18 | { 19 | super.init() 20 | } 21 | 22 | public override init(dataSets: [IChartDataSet]?) 23 | { 24 | super.init(dataSets: dataSets) 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /Bar_Chart_Example/Pods/Charts/Source/Charts/Data/Interfaces/IBarLineScatterCandleBubbleChartDataSet.swift: -------------------------------------------------------------------------------- 1 | // 2 | // IBarLineScatterCandleBubbleChartDataSet.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol IBarLineScatterCandleBubbleChartDataSet: IChartDataSet 17 | { 18 | // MARK: - Data functions and accessors 19 | 20 | // MARK: - Styling functions and accessors 21 | 22 | var highlightColor: NSUIColor { get set } 23 | var highlightLineWidth: CGFloat { get set } 24 | var highlightLineDashPhase: CGFloat { get set } 25 | var highlightLineDashLengths: [CGFloat]? { get set } 26 | } 27 | -------------------------------------------------------------------------------- /Bar_Chart_Example/Pods/Charts/Source/Charts/Data/Interfaces/IBubbleChartDataSet.swift: -------------------------------------------------------------------------------- 1 | // 2 | // IBubbleChartDataSet.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol IBubbleChartDataSet: IBarLineScatterCandleBubbleChartDataSet 17 | { 18 | // MARK: - Data functions and accessors 19 | 20 | var maxSize: CGFloat { get } 21 | var isNormalizeSizeEnabled: Bool { get } 22 | 23 | // MARK: - Styling functions and accessors 24 | 25 | /// Sets/gets the width of the circle that surrounds the bubble when highlighted 26 | var highlightCircleWidth: CGFloat { get set } 27 | } 28 | -------------------------------------------------------------------------------- /Bar_Chart_Example/Pods/Charts/Source/Charts/Formatters/IFillFormatter.swift: -------------------------------------------------------------------------------- 1 | // 2 | // IFillFormatter.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | /// Protocol for providing a custom logic to where the filling line of a LineDataSet should end. This of course only works if setFillEnabled(...) is set to true. 16 | @objc(IChartFillFormatter) 17 | public protocol IFillFormatter 18 | { 19 | /// - returns: The vertical (y-axis) position where the filled-line of the LineDataSet should end. 20 | func getFillLinePosition(dataSet: ILineChartDataSet, dataProvider: LineChartDataProvider) -> CGFloat 21 | } 22 | -------------------------------------------------------------------------------- /Bar_Chart_Example/Pods/Charts/Source/Charts/Highlight/IHighlighter.swift: -------------------------------------------------------------------------------- 1 | // 2 | // IHighlighter.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc(IChartHighlighter) 16 | public protocol IHighlighter: class 17 | { 18 | /// - returns: A Highlight object corresponding to the given x- and y- touch positions in pixels. 19 | /// - parameter x: 20 | /// - parameter y: 21 | /// - returns: 22 | func getHighlight(x: CGFloat, y: CGFloat) -> Highlight? 23 | } 24 | -------------------------------------------------------------------------------- /Bar_Chart_Example/Pods/Charts/Source/Charts/Interfaces/BarChartDataProvider.swift: -------------------------------------------------------------------------------- 1 | // 2 | // BarChartDataProvider.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol BarChartDataProvider: BarLineScatterCandleBubbleChartDataProvider 17 | { 18 | var barData: BarChartData? { get } 19 | 20 | var isDrawBarShadowEnabled: Bool { get } 21 | var isDrawValueAboveBarEnabled: Bool { get } 22 | var isHighlightFullBarEnabled: Bool { get } 23 | } -------------------------------------------------------------------------------- /Bar_Chart_Example/Pods/Charts/Source/Charts/Interfaces/BarLineScatterCandleBubbleChartDataProvider.swift: -------------------------------------------------------------------------------- 1 | // 2 | // BarLineScatterCandleBubbleChartDataProvider.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol BarLineScatterCandleBubbleChartDataProvider: ChartDataProvider 17 | { 18 | func getTransformer(forAxis: YAxis.AxisDependency) -> Transformer 19 | func isInverted(axis: YAxis.AxisDependency) -> Bool 20 | 21 | var lowestVisibleX: Double { get } 22 | var highestVisibleX: Double { get } 23 | } 24 | -------------------------------------------------------------------------------- /Bar_Chart_Example/Pods/Charts/Source/Charts/Interfaces/BubbleChartDataProvider.swift: -------------------------------------------------------------------------------- 1 | // 2 | // BubbleChartDataProvider.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol BubbleChartDataProvider: BarLineScatterCandleBubbleChartDataProvider 17 | { 18 | var bubbleData: BubbleChartData? { get } 19 | } -------------------------------------------------------------------------------- /Bar_Chart_Example/Pods/Charts/Source/Charts/Interfaces/CandleChartDataProvider.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CandleChartDataProvider.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol CandleChartDataProvider: BarLineScatterCandleBubbleChartDataProvider 17 | { 18 | var candleData: CandleChartData? { get } 19 | } -------------------------------------------------------------------------------- /Bar_Chart_Example/Pods/Charts/Source/Charts/Interfaces/CombinedChartDataProvider.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CombinedChartDataProvider.swoft 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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol CombinedChartDataProvider: LineChartDataProvider, BarChartDataProvider, BubbleChartDataProvider, CandleChartDataProvider, ScatterChartDataProvider 17 | { 18 | var combinedData: CombinedChartData? { get } 19 | } -------------------------------------------------------------------------------- /Bar_Chart_Example/Pods/Charts/Source/Charts/Interfaces/LineChartDataProvider.swift: -------------------------------------------------------------------------------- 1 | // 2 | // LineChartDataProvider.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol LineChartDataProvider: BarLineScatterCandleBubbleChartDataProvider 17 | { 18 | var lineData: LineChartData? { get } 19 | 20 | func getAxis(_ axis: YAxis.AxisDependency) -> YAxis 21 | } 22 | -------------------------------------------------------------------------------- /Bar_Chart_Example/Pods/Charts/Source/Charts/Interfaces/ScatterChartDataProvider.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ScatterChartDataProvider.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol ScatterChartDataProvider: BarLineScatterCandleBubbleChartDataProvider 17 | { 18 | var scatterData: ScatterChartData? { get } 19 | } -------------------------------------------------------------------------------- /Bar_Chart_Example/Pods/Charts/Source/Charts/Renderers/Renderer.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Renderer.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc(ChartRenderer) 16 | open class Renderer: NSObject 17 | { 18 | /// the component that handles the drawing area of the chart and it's offsets 19 | @objc open let viewPortHandler: ViewPortHandler 20 | 21 | @objc public init(viewPortHandler: ViewPortHandler) 22 | { 23 | self.viewPortHandler = viewPortHandler 24 | super.init() 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /Bar_Chart_Example/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - Charts (3.0.5): 3 | - Charts/Core (= 3.0.5) 4 | - Charts/Core (3.0.5) 5 | 6 | DEPENDENCIES: 7 | - Charts (~> 3.0.4) 8 | 9 | SPEC REPOS: 10 | https://github.com/cocoapods/specs.git: 11 | - Charts 12 | 13 | SPEC CHECKSUMS: 14 | Charts: 45cdc985b764c838b35ee47eb1365d15735f6d1a 15 | 16 | PODFILE CHECKSUM: f27fbe6542200f56f37809efc029fb2ea61fd25a 17 | 18 | COCOAPODS: 1.5.3 19 | -------------------------------------------------------------------------------- /Bar_Chart_Example/Pods/Pods.xcodeproj/xcuserdata/mallikarjun.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | Charts.xcscheme 8 | 9 | isShown 10 | 11 | orderHint 12 | 0 13 | 14 | Pods-Line-Chart.xcscheme 15 | 16 | isShown 17 | 18 | orderHint 19 | 1 20 | 21 | 22 | SuppressBuildableAutocreation 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /Bar_Chart_Example/Pods/Target Support Files/Charts/Charts-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Charts : NSObject 3 | @end 4 | @implementation PodsDummy_Charts 5 | @end 6 | -------------------------------------------------------------------------------- /Bar_Chart_Example/Pods/Target Support Files/Charts/Charts-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /Bar_Chart_Example/Pods/Target Support Files/Charts/Charts-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double ChartsVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char ChartsVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Bar_Chart_Example/Pods/Target Support Files/Charts/Charts.modulemap: -------------------------------------------------------------------------------- 1 | framework module Charts { 2 | umbrella header "Charts-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Bar_Chart_Example/Pods/Target Support Files/Charts/Charts.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/Charts 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 4 | PODS_BUILD_DIR = ${BUILD_DIR} 5 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 6 | PODS_ROOT = ${SRCROOT} 7 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/Charts 8 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 9 | SKIP_INSTALL = YES 10 | -------------------------------------------------------------------------------- /Bar_Chart_Example/Pods/Target Support Files/Pods-Line-Chart/Pods-Line-Chart-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_Line_Chart : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_Line_Chart 5 | @end 6 | -------------------------------------------------------------------------------- /Bar_Chart_Example/Pods/Target Support Files/Pods-Line-Chart/Pods-Line-Chart-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double Pods_Line_ChartVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_Line_ChartVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Bar_Chart_Example/Pods/Target Support Files/Pods-Line-Chart/Pods-Line-Chart.debug.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Charts" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 5 | OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/Charts/Charts.framework/Headers" 6 | OTHER_LDFLAGS = $(inherited) -framework "Charts" 7 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 8 | PODS_BUILD_DIR = ${BUILD_DIR} 9 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 10 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 11 | PODS_ROOT = ${SRCROOT}/Pods 12 | -------------------------------------------------------------------------------- /Bar_Chart_Example/Pods/Target Support Files/Pods-Line-Chart/Pods-Line-Chart.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_Line_Chart { 2 | umbrella header "Pods-Line-Chart-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Bar_Chart_Example/Pods/Target Support Files/Pods-Line-Chart/Pods-Line-Chart.release.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Charts" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 5 | OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/Charts/Charts.framework/Headers" 6 | OTHER_LDFLAGS = $(inherited) -framework "Charts" 7 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 8 | PODS_BUILD_DIR = ${BUILD_DIR} 9 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 10 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 11 | PODS_ROOT = ${SRCROOT}/Pods 12 | -------------------------------------------------------------------------------- /Bar_Chart_Example1_Swift_4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MallikarjunH/Charts_Examples/aae88f5b4f3845598f6e0584e7158484bf428df8/Bar_Chart_Example1_Swift_4.png -------------------------------------------------------------------------------- /Bar_Chart_Example1_Swift_4/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MallikarjunH/Charts_Examples/aae88f5b4f3845598f6e0584e7158484bf428df8/Bar_Chart_Example1_Swift_4/.DS_Store -------------------------------------------------------------------------------- /Bar_Chart_Example1_Swift_4/Line-Chart.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Bar_Chart_Example1_Swift_4/Line-Chart.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Bar_Chart_Example1_Swift_4/Line-Chart.xcodeproj/project.xcworkspace/xcuserdata/mallikarjun.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MallikarjunH/Charts_Examples/aae88f5b4f3845598f6e0584e7158484bf428df8/Bar_Chart_Example1_Swift_4/Line-Chart.xcodeproj/project.xcworkspace/xcuserdata/mallikarjun.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /Bar_Chart_Example1_Swift_4/Line-Chart.xcodeproj/xcuserdata/mallikarjun.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | Line-Chart.xcscheme_^#shared#^_ 8 | 9 | orderHint 10 | 2 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /Bar_Chart_Example1_Swift_4/Line-Chart.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Bar_Chart_Example1_Swift_4/Line-Chart.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Bar_Chart_Example1_Swift_4/Line-Chart.xcworkspace/xcuserdata/mallikarjun.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MallikarjunH/Charts_Examples/aae88f5b4f3845598f6e0584e7158484bf428df8/Bar_Chart_Example1_Swift_4/Line-Chart.xcworkspace/xcuserdata/mallikarjun.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /Bar_Chart_Example1_Swift_4/Line-Chart/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /Bar_Chart_Example1_Swift_4/Podfile: -------------------------------------------------------------------------------- 1 | # Uncomment the next line to define a global platform for your project 2 | # platform :ios, '9.0' 3 | 4 | target 'Line-Chart' do 5 | use_frameworks! 6 | 7 | pod 'Charts', '~> 3.0.4' 8 | 9 | end 10 | -------------------------------------------------------------------------------- /Bar_Chart_Example1_Swift_4/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - Charts (3.0.5): 3 | - Charts/Core (= 3.0.5) 4 | - Charts/Core (3.0.5) 5 | 6 | DEPENDENCIES: 7 | - Charts (~> 3.0.4) 8 | 9 | SPEC REPOS: 10 | https://github.com/cocoapods/specs.git: 11 | - Charts 12 | 13 | SPEC CHECKSUMS: 14 | Charts: 45cdc985b764c838b35ee47eb1365d15735f6d1a 15 | 16 | PODFILE CHECKSUM: f27fbe6542200f56f37809efc029fb2ea61fd25a 17 | 18 | COCOAPODS: 1.5.3 19 | -------------------------------------------------------------------------------- /Bar_Chart_Example1_Swift_4/Pods/Charts/Source/Charts/Charts/BubbleChartView.swift: -------------------------------------------------------------------------------- 1 | // 2 | // BubbleChartView.swift 3 | // Charts 4 | // 5 | // Bubble chart implementation: 6 | // Copyright 2015 Pierre-Marc Airoldi 7 | // Licensed under Apache License 2.0 8 | // 9 | // https://github.com/danielgindi/Charts 10 | // 11 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | open class BubbleChartView: BarLineChartViewBase, BubbleChartDataProvider 16 | { 17 | open override func initialize() 18 | { 19 | super.initialize() 20 | 21 | renderer = BubbleChartRenderer(dataProvider: self, animator: _animator, viewPortHandler: _viewPortHandler) 22 | } 23 | 24 | // MARK: - BubbleChartDataProvider 25 | 26 | open var bubbleData: BubbleChartData? { return _data as? BubbleChartData } 27 | } 28 | -------------------------------------------------------------------------------- /Bar_Chart_Example1_Swift_4/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarLineScatterCandleBubbleChartData.swift: -------------------------------------------------------------------------------- 1 | // 2 | // BarLineScatterCandleBubbleChartData.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 | 12 | import Foundation 13 | 14 | open class BarLineScatterCandleBubbleChartData: ChartData 15 | { 16 | public override init() 17 | { 18 | super.init() 19 | } 20 | 21 | public override init(dataSets: [IChartDataSet]?) 22 | { 23 | super.init(dataSets: dataSets) 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /Bar_Chart_Example1_Swift_4/Pods/Charts/Source/Charts/Data/Implementations/Standard/CandleChartData.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CandleChartData.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 | 12 | import Foundation 13 | 14 | open class CandleChartData: BarLineScatterCandleBubbleChartData 15 | { 16 | public override init() 17 | { 18 | super.init() 19 | } 20 | 21 | public override init(dataSets: [IChartDataSet]?) 22 | { 23 | super.init(dataSets: dataSets) 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /Bar_Chart_Example1_Swift_4/Pods/Charts/Source/Charts/Data/Implementations/Standard/LineChartData.swift: -------------------------------------------------------------------------------- 1 | // 2 | // LineChartData.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 | 12 | import Foundation 13 | 14 | /// Data object that encapsulates all data associated with a LineChart. 15 | open class LineChartData: ChartData 16 | { 17 | public override init() 18 | { 19 | super.init() 20 | } 21 | 22 | public override init(dataSets: [IChartDataSet]?) 23 | { 24 | super.init(dataSets: dataSets) 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /Bar_Chart_Example1_Swift_4/Pods/Charts/Source/Charts/Data/Interfaces/IBubbleChartDataSet.swift: -------------------------------------------------------------------------------- 1 | // 2 | // IBubbleChartDataSet.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol IBubbleChartDataSet: IBarLineScatterCandleBubbleChartDataSet 17 | { 18 | // MARK: - Data functions and accessors 19 | 20 | var maxSize: CGFloat { get } 21 | var isNormalizeSizeEnabled: Bool { get } 22 | 23 | // MARK: - Styling functions and accessors 24 | 25 | /// Sets/gets the width of the circle that surrounds the bubble when highlighted 26 | var highlightCircleWidth: CGFloat { get set } 27 | } 28 | -------------------------------------------------------------------------------- /Bar_Chart_Example1_Swift_4/Pods/Charts/Source/Charts/Formatters/IFillFormatter.swift: -------------------------------------------------------------------------------- 1 | // 2 | // IFillFormatter.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | /// Protocol for providing a custom logic to where the filling line of a LineDataSet should end. This of course only works if setFillEnabled(...) is set to true. 16 | @objc(IChartFillFormatter) 17 | public protocol IFillFormatter 18 | { 19 | /// - returns: The vertical (y-axis) position where the filled-line of the LineDataSet should end. 20 | func getFillLinePosition(dataSet: ILineChartDataSet, dataProvider: LineChartDataProvider) -> CGFloat 21 | } 22 | -------------------------------------------------------------------------------- /Bar_Chart_Example1_Swift_4/Pods/Charts/Source/Charts/Highlight/IHighlighter.swift: -------------------------------------------------------------------------------- 1 | // 2 | // IHighlighter.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc(IChartHighlighter) 16 | public protocol IHighlighter: class 17 | { 18 | /// - returns: A Highlight object corresponding to the given x- and y- touch positions in pixels. 19 | /// - parameter x: 20 | /// - parameter y: 21 | /// - returns: 22 | func getHighlight(x: CGFloat, y: CGFloat) -> Highlight? 23 | } 24 | -------------------------------------------------------------------------------- /Bar_Chart_Example1_Swift_4/Pods/Charts/Source/Charts/Interfaces/BarChartDataProvider.swift: -------------------------------------------------------------------------------- 1 | // 2 | // BarChartDataProvider.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol BarChartDataProvider: BarLineScatterCandleBubbleChartDataProvider 17 | { 18 | var barData: BarChartData? { get } 19 | 20 | var isDrawBarShadowEnabled: Bool { get } 21 | var isDrawValueAboveBarEnabled: Bool { get } 22 | var isHighlightFullBarEnabled: Bool { get } 23 | } -------------------------------------------------------------------------------- /Bar_Chart_Example1_Swift_4/Pods/Charts/Source/Charts/Interfaces/BarLineScatterCandleBubbleChartDataProvider.swift: -------------------------------------------------------------------------------- 1 | // 2 | // BarLineScatterCandleBubbleChartDataProvider.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol BarLineScatterCandleBubbleChartDataProvider: ChartDataProvider 17 | { 18 | func getTransformer(forAxis: YAxis.AxisDependency) -> Transformer 19 | func isInverted(axis: YAxis.AxisDependency) -> Bool 20 | 21 | var lowestVisibleX: Double { get } 22 | var highestVisibleX: Double { get } 23 | } 24 | -------------------------------------------------------------------------------- /Bar_Chart_Example1_Swift_4/Pods/Charts/Source/Charts/Interfaces/BubbleChartDataProvider.swift: -------------------------------------------------------------------------------- 1 | // 2 | // BubbleChartDataProvider.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol BubbleChartDataProvider: BarLineScatterCandleBubbleChartDataProvider 17 | { 18 | var bubbleData: BubbleChartData? { get } 19 | } -------------------------------------------------------------------------------- /Bar_Chart_Example1_Swift_4/Pods/Charts/Source/Charts/Interfaces/CandleChartDataProvider.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CandleChartDataProvider.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol CandleChartDataProvider: BarLineScatterCandleBubbleChartDataProvider 17 | { 18 | var candleData: CandleChartData? { get } 19 | } -------------------------------------------------------------------------------- /Bar_Chart_Example1_Swift_4/Pods/Charts/Source/Charts/Interfaces/CombinedChartDataProvider.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CombinedChartDataProvider.swoft 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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol CombinedChartDataProvider: LineChartDataProvider, BarChartDataProvider, BubbleChartDataProvider, CandleChartDataProvider, ScatterChartDataProvider 17 | { 18 | var combinedData: CombinedChartData? { get } 19 | } -------------------------------------------------------------------------------- /Bar_Chart_Example1_Swift_4/Pods/Charts/Source/Charts/Interfaces/LineChartDataProvider.swift: -------------------------------------------------------------------------------- 1 | // 2 | // LineChartDataProvider.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol LineChartDataProvider: BarLineScatterCandleBubbleChartDataProvider 17 | { 18 | var lineData: LineChartData? { get } 19 | 20 | func getAxis(_ axis: YAxis.AxisDependency) -> YAxis 21 | } 22 | -------------------------------------------------------------------------------- /Bar_Chart_Example1_Swift_4/Pods/Charts/Source/Charts/Interfaces/ScatterChartDataProvider.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ScatterChartDataProvider.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol ScatterChartDataProvider: BarLineScatterCandleBubbleChartDataProvider 17 | { 18 | var scatterData: ScatterChartData? { get } 19 | } -------------------------------------------------------------------------------- /Bar_Chart_Example1_Swift_4/Pods/Charts/Source/Charts/Renderers/Renderer.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Renderer.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc(ChartRenderer) 16 | open class Renderer: NSObject 17 | { 18 | /// the component that handles the drawing area of the chart and it's offsets 19 | @objc open let viewPortHandler: ViewPortHandler 20 | 21 | @objc public init(viewPortHandler: ViewPortHandler) 22 | { 23 | self.viewPortHandler = viewPortHandler 24 | super.init() 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /Bar_Chart_Example1_Swift_4/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - Charts (3.0.5): 3 | - Charts/Core (= 3.0.5) 4 | - Charts/Core (3.0.5) 5 | 6 | DEPENDENCIES: 7 | - Charts (~> 3.0.4) 8 | 9 | SPEC REPOS: 10 | https://github.com/cocoapods/specs.git: 11 | - Charts 12 | 13 | SPEC CHECKSUMS: 14 | Charts: 45cdc985b764c838b35ee47eb1365d15735f6d1a 15 | 16 | PODFILE CHECKSUM: f27fbe6542200f56f37809efc029fb2ea61fd25a 17 | 18 | COCOAPODS: 1.5.3 19 | -------------------------------------------------------------------------------- /Bar_Chart_Example1_Swift_4/Pods/Pods.xcodeproj/xcuserdata/mallikarjun.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | Charts.xcscheme 8 | 9 | isShown 10 | 11 | orderHint 12 | 0 13 | 14 | Pods-Line-Chart.xcscheme 15 | 16 | isShown 17 | 18 | orderHint 19 | 1 20 | 21 | 22 | SuppressBuildableAutocreation 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /Bar_Chart_Example1_Swift_4/Pods/Target Support Files/Charts/Charts-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Charts : NSObject 3 | @end 4 | @implementation PodsDummy_Charts 5 | @end 6 | -------------------------------------------------------------------------------- /Bar_Chart_Example1_Swift_4/Pods/Target Support Files/Charts/Charts-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /Bar_Chart_Example1_Swift_4/Pods/Target Support Files/Charts/Charts-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double ChartsVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char ChartsVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Bar_Chart_Example1_Swift_4/Pods/Target Support Files/Charts/Charts.modulemap: -------------------------------------------------------------------------------- 1 | framework module Charts { 2 | umbrella header "Charts-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Bar_Chart_Example1_Swift_4/Pods/Target Support Files/Charts/Charts.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/Charts 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 4 | PODS_BUILD_DIR = ${BUILD_DIR} 5 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 6 | PODS_ROOT = ${SRCROOT} 7 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/Charts 8 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 9 | SKIP_INSTALL = YES 10 | -------------------------------------------------------------------------------- /Bar_Chart_Example1_Swift_4/Pods/Target Support Files/Pods-Line-Chart/Pods-Line-Chart-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_Line_Chart : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_Line_Chart 5 | @end 6 | -------------------------------------------------------------------------------- /Bar_Chart_Example1_Swift_4/Pods/Target Support Files/Pods-Line-Chart/Pods-Line-Chart-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double Pods_Line_ChartVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_Line_ChartVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Bar_Chart_Example1_Swift_4/Pods/Target Support Files/Pods-Line-Chart/Pods-Line-Chart.debug.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Charts" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 5 | OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/Charts/Charts.framework/Headers" 6 | OTHER_LDFLAGS = $(inherited) -framework "Charts" 7 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 8 | PODS_BUILD_DIR = ${BUILD_DIR} 9 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 10 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 11 | PODS_ROOT = ${SRCROOT}/Pods 12 | -------------------------------------------------------------------------------- /Bar_Chart_Example1_Swift_4/Pods/Target Support Files/Pods-Line-Chart/Pods-Line-Chart.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_Line_Chart { 2 | umbrella header "Pods-Line-Chart-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Bar_Chart_Example1_Swift_4/Pods/Target Support Files/Pods-Line-Chart/Pods-Line-Chart.release.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Charts" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 5 | OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/Charts/Charts.framework/Headers" 6 | OTHER_LDFLAGS = $(inherited) -framework "Charts" 7 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 8 | PODS_BUILD_DIR = ${BUILD_DIR} 9 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 10 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 11 | PODS_ROOT = ${SRCROOT}/Pods 12 | -------------------------------------------------------------------------------- /Line-Chart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MallikarjunH/Charts_Examples/aae88f5b4f3845598f6e0584e7158484bf428df8/Line-Chart.png -------------------------------------------------------------------------------- /Line-Chart/Line-Chart.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Line-Chart/Line-Chart.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Line-Chart/Line-Chart.xcodeproj/project.xcworkspace/xcuserdata/mallikarjun.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MallikarjunH/Charts_Examples/aae88f5b4f3845598f6e0584e7158484bf428df8/Line-Chart/Line-Chart.xcodeproj/project.xcworkspace/xcuserdata/mallikarjun.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /Line-Chart/Line-Chart.xcodeproj/xcuserdata/mallikarjun.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | Line-Chart.xcscheme_^#shared#^_ 8 | 9 | orderHint 10 | 2 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /Line-Chart/Line-Chart.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Line-Chart/Line-Chart.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Line-Chart/Line-Chart.xcworkspace/xcuserdata/mallikarjun.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MallikarjunH/Charts_Examples/aae88f5b4f3845598f6e0584e7158484bf428df8/Line-Chart/Line-Chart.xcworkspace/xcuserdata/mallikarjun.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /Line-Chart/Line-Chart/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /Line-Chart/Podfile: -------------------------------------------------------------------------------- 1 | # Uncomment the next line to define a global platform for your project 2 | # platform :ios, '9.0' 3 | 4 | target 'Line-Chart' do 5 | use_frameworks! 6 | 7 | pod 'Charts' 8 | 9 | end 10 | -------------------------------------------------------------------------------- /Line-Chart/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - Charts (3.3.0): 3 | - Charts/Core (= 3.3.0) 4 | - Charts/Core (3.3.0) 5 | 6 | DEPENDENCIES: 7 | - Charts 8 | 9 | SPEC REPOS: 10 | https://github.com/cocoapods/specs.git: 11 | - Charts 12 | 13 | SPEC CHECKSUMS: 14 | Charts: ec1f57f9340054155691e84d4544a1d239d382c5 15 | 16 | PODFILE CHECKSUM: 00021cc410a42d5a2fd994bcc5986addab9bdb93 17 | 18 | COCOAPODS: 1.5.3 19 | -------------------------------------------------------------------------------- /Line-Chart/Pods/Charts/Source/Charts/Charts/BubbleChartView.swift: -------------------------------------------------------------------------------- 1 | // 2 | // BubbleChartView.swift 3 | // Charts 4 | // 5 | // Bubble chart implementation: 6 | // Copyright 2015 Pierre-Marc Airoldi 7 | // Licensed under Apache License 2.0 8 | // 9 | // https://github.com/danielgindi/Charts 10 | // 11 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | open class BubbleChartView: BarLineChartViewBase, BubbleChartDataProvider 16 | { 17 | open override func initialize() 18 | { 19 | super.initialize() 20 | 21 | renderer = BubbleChartRenderer(dataProvider: self, animator: _animator, viewPortHandler: _viewPortHandler) 22 | } 23 | 24 | // MARK: - BubbleChartDataProvider 25 | 26 | open var bubbleData: BubbleChartData? { return _data as? BubbleChartData } 27 | } 28 | -------------------------------------------------------------------------------- /Line-Chart/Pods/Charts/Source/Charts/Charts/LineChartView.swift: -------------------------------------------------------------------------------- 1 | // 2 | // LineChartView.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | /// Chart that draws lines, surfaces, circles, ... 16 | open class LineChartView: BarLineChartViewBase, LineChartDataProvider 17 | { 18 | internal override func initialize() 19 | { 20 | super.initialize() 21 | 22 | renderer = LineChartRenderer(dataProvider: self, animator: _animator, viewPortHandler: _viewPortHandler) 23 | } 24 | 25 | // MARK: - LineChartDataProvider 26 | 27 | open var lineData: LineChartData? { return _data as? LineChartData } 28 | } 29 | -------------------------------------------------------------------------------- /Line-Chart/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarLineScatterCandleBubbleChartData.swift: -------------------------------------------------------------------------------- 1 | // 2 | // BarLineScatterCandleBubbleChartData.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 | 12 | import Foundation 13 | 14 | open class BarLineScatterCandleBubbleChartData: ChartData 15 | { 16 | public override init() 17 | { 18 | super.init() 19 | } 20 | 21 | public override init(dataSets: [IChartDataSet]?) 22 | { 23 | super.init(dataSets: dataSets) 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /Line-Chart/Pods/Charts/Source/Charts/Data/Implementations/Standard/CandleChartData.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CandleChartData.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 | 12 | import Foundation 13 | 14 | open class CandleChartData: BarLineScatterCandleBubbleChartData 15 | { 16 | public override init() 17 | { 18 | super.init() 19 | } 20 | 21 | public override init(dataSets: [IChartDataSet]?) 22 | { 23 | super.init(dataSets: dataSets) 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /Line-Chart/Pods/Charts/Source/Charts/Data/Implementations/Standard/LineChartData.swift: -------------------------------------------------------------------------------- 1 | // 2 | // LineChartData.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 | 12 | import Foundation 13 | 14 | /// Data object that encapsulates all data associated with a LineChart. 15 | open class LineChartData: ChartData 16 | { 17 | public override init() 18 | { 19 | super.init() 20 | } 21 | 22 | public override init(dataSets: [IChartDataSet]?) 23 | { 24 | super.init(dataSets: dataSets) 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /Line-Chart/Pods/Charts/Source/Charts/Data/Interfaces/IBarLineScatterCandleBubbleChartDataSet.swift: -------------------------------------------------------------------------------- 1 | // 2 | // IBarLineScatterCandleBubbleChartDataSet.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol IBarLineScatterCandleBubbleChartDataSet: IChartDataSet 17 | { 18 | // MARK: - Data functions and accessors 19 | 20 | // MARK: - Styling functions and accessors 21 | 22 | var highlightColor: NSUIColor { get set } 23 | var highlightLineWidth: CGFloat { get set } 24 | var highlightLineDashPhase: CGFloat { get set } 25 | var highlightLineDashLengths: [CGFloat]? { get set } 26 | } 27 | -------------------------------------------------------------------------------- /Line-Chart/Pods/Charts/Source/Charts/Data/Interfaces/IBubbleChartDataSet.swift: -------------------------------------------------------------------------------- 1 | // 2 | // IBubbleChartDataSet.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol IBubbleChartDataSet: IBarLineScatterCandleBubbleChartDataSet 17 | { 18 | // MARK: - Data functions and accessors 19 | 20 | var maxSize: CGFloat { get } 21 | var isNormalizeSizeEnabled: Bool { get } 22 | 23 | // MARK: - Styling functions and accessors 24 | 25 | /// Sets/gets the width of the circle that surrounds the bubble when highlighted 26 | var highlightCircleWidth: CGFloat { get set } 27 | } 28 | -------------------------------------------------------------------------------- /Line-Chart/Pods/Charts/Source/Charts/Formatters/IFillFormatter.swift: -------------------------------------------------------------------------------- 1 | // 2 | // IFillFormatter.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | /// Protocol for providing a custom logic to where the filling line of a LineDataSet should end. This of course only works if setFillEnabled(...) is set to true. 16 | @objc(IChartFillFormatter) 17 | public protocol IFillFormatter 18 | { 19 | /// - Returns: The vertical (y-axis) position where the filled-line of the LineDataSet should end. 20 | func getFillLinePosition(dataSet: ILineChartDataSet, dataProvider: LineChartDataProvider) -> CGFloat 21 | } 22 | -------------------------------------------------------------------------------- /Line-Chart/Pods/Charts/Source/Charts/Highlight/IHighlighter.swift: -------------------------------------------------------------------------------- 1 | // 2 | // IHighlighter.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc(IChartHighlighter) 16 | public protocol IHighlighter: class 17 | { 18 | /// - Parameters: 19 | /// - x: 20 | /// - y: 21 | /// - Returns: A Highlight object corresponding to the given x- and y- touch positions in pixels. 22 | func getHighlight(x: CGFloat, y: CGFloat) -> Highlight? 23 | } 24 | -------------------------------------------------------------------------------- /Line-Chart/Pods/Charts/Source/Charts/Interfaces/BarChartDataProvider.swift: -------------------------------------------------------------------------------- 1 | // 2 | // BarChartDataProvider.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol BarChartDataProvider: BarLineScatterCandleBubbleChartDataProvider 17 | { 18 | var barData: BarChartData? { get } 19 | 20 | var isDrawBarShadowEnabled: Bool { get } 21 | var isDrawValueAboveBarEnabled: Bool { get } 22 | var isHighlightFullBarEnabled: Bool { get } 23 | } -------------------------------------------------------------------------------- /Line-Chart/Pods/Charts/Source/Charts/Interfaces/BarLineScatterCandleBubbleChartDataProvider.swift: -------------------------------------------------------------------------------- 1 | // 2 | // BarLineScatterCandleBubbleChartDataProvider.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol BarLineScatterCandleBubbleChartDataProvider: ChartDataProvider 17 | { 18 | func getTransformer(forAxis: YAxis.AxisDependency) -> Transformer 19 | func isInverted(axis: YAxis.AxisDependency) -> Bool 20 | 21 | var lowestVisibleX: Double { get } 22 | var highestVisibleX: Double { get } 23 | } 24 | -------------------------------------------------------------------------------- /Line-Chart/Pods/Charts/Source/Charts/Interfaces/BubbleChartDataProvider.swift: -------------------------------------------------------------------------------- 1 | // 2 | // BubbleChartDataProvider.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol BubbleChartDataProvider: BarLineScatterCandleBubbleChartDataProvider 17 | { 18 | var bubbleData: BubbleChartData? { get } 19 | } -------------------------------------------------------------------------------- /Line-Chart/Pods/Charts/Source/Charts/Interfaces/CandleChartDataProvider.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CandleChartDataProvider.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol CandleChartDataProvider: BarLineScatterCandleBubbleChartDataProvider 17 | { 18 | var candleData: CandleChartData? { get } 19 | } -------------------------------------------------------------------------------- /Line-Chart/Pods/Charts/Source/Charts/Interfaces/CombinedChartDataProvider.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CombinedChartDataProvider.swoft 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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol CombinedChartDataProvider: LineChartDataProvider, BarChartDataProvider, BubbleChartDataProvider, CandleChartDataProvider, ScatterChartDataProvider 17 | { 18 | var combinedData: CombinedChartData? { get } 19 | } -------------------------------------------------------------------------------- /Line-Chart/Pods/Charts/Source/Charts/Interfaces/LineChartDataProvider.swift: -------------------------------------------------------------------------------- 1 | // 2 | // LineChartDataProvider.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol LineChartDataProvider: BarLineScatterCandleBubbleChartDataProvider 17 | { 18 | var lineData: LineChartData? { get } 19 | 20 | func getAxis(_ axis: YAxis.AxisDependency) -> YAxis 21 | } 22 | -------------------------------------------------------------------------------- /Line-Chart/Pods/Charts/Source/Charts/Interfaces/ScatterChartDataProvider.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ScatterChartDataProvider.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol ScatterChartDataProvider: BarLineScatterCandleBubbleChartDataProvider 17 | { 18 | var scatterData: ScatterChartData? { get } 19 | } -------------------------------------------------------------------------------- /Line-Chart/Pods/Charts/Source/Charts/Renderers/Renderer.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Renderer.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc(ChartRenderer) 16 | open class Renderer: NSObject 17 | { 18 | /// the component that handles the drawing area of the chart and it's offsets 19 | @objc public let viewPortHandler: ViewPortHandler 20 | 21 | @objc public init(viewPortHandler: ViewPortHandler) 22 | { 23 | self.viewPortHandler = viewPortHandler 24 | super.init() 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /Line-Chart/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - Charts (3.3.0): 3 | - Charts/Core (= 3.3.0) 4 | - Charts/Core (3.3.0) 5 | 6 | DEPENDENCIES: 7 | - Charts 8 | 9 | SPEC REPOS: 10 | https://github.com/cocoapods/specs.git: 11 | - Charts 12 | 13 | SPEC CHECKSUMS: 14 | Charts: ec1f57f9340054155691e84d4544a1d239d382c5 15 | 16 | PODFILE CHECKSUM: 00021cc410a42d5a2fd994bcc5986addab9bdb93 17 | 18 | COCOAPODS: 1.5.3 19 | -------------------------------------------------------------------------------- /Line-Chart/Pods/Pods.xcodeproj/xcuserdata/mallikarjun.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | Charts.xcscheme 8 | 9 | isShown 10 | 11 | orderHint 12 | 0 13 | 14 | Pods-Line-Chart.xcscheme 15 | 16 | isShown 17 | 18 | orderHint 19 | 1 20 | 21 | 22 | SuppressBuildableAutocreation 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /Line-Chart/Pods/Target Support Files/Charts/Charts-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Charts : NSObject 3 | @end 4 | @implementation PodsDummy_Charts 5 | @end 6 | -------------------------------------------------------------------------------- /Line-Chart/Pods/Target Support Files/Charts/Charts-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /Line-Chart/Pods/Target Support Files/Charts/Charts-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double ChartsVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char ChartsVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Line-Chart/Pods/Target Support Files/Charts/Charts.modulemap: -------------------------------------------------------------------------------- 1 | framework module Charts { 2 | umbrella header "Charts-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Line-Chart/Pods/Target Support Files/Charts/Charts.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/Charts 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 4 | PODS_BUILD_DIR = ${BUILD_DIR} 5 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 6 | PODS_ROOT = ${SRCROOT} 7 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/Charts 8 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 9 | SKIP_INSTALL = YES 10 | -------------------------------------------------------------------------------- /Line-Chart/Pods/Target Support Files/Pods-Line-Chart/Pods-Line-Chart-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_Line_Chart : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_Line_Chart 5 | @end 6 | -------------------------------------------------------------------------------- /Line-Chart/Pods/Target Support Files/Pods-Line-Chart/Pods-Line-Chart-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double Pods_Line_ChartVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_Line_ChartVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Line-Chart/Pods/Target Support Files/Pods-Line-Chart/Pods-Line-Chart.debug.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Charts" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 5 | OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/Charts/Charts.framework/Headers" 6 | OTHER_LDFLAGS = $(inherited) -framework "Charts" 7 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 8 | PODS_BUILD_DIR = ${BUILD_DIR} 9 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 10 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 11 | PODS_ROOT = ${SRCROOT}/Pods 12 | -------------------------------------------------------------------------------- /Line-Chart/Pods/Target Support Files/Pods-Line-Chart/Pods-Line-Chart.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_Line_Chart { 2 | umbrella header "Pods-Line-Chart-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Line-Chart/Pods/Target Support Files/Pods-Line-Chart/Pods-Line-Chart.release.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Charts" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 5 | OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/Charts/Charts.framework/Headers" 6 | OTHER_LDFLAGS = $(inherited) -framework "Charts" 7 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 8 | PODS_BUILD_DIR = ${BUILD_DIR} 9 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 10 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 11 | PODS_ROOT = ${SRCROOT}/Pods 12 | -------------------------------------------------------------------------------- /Line-Chart_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MallikarjunH/Charts_Examples/aae88f5b4f3845598f6e0584e7158484bf428df8/Line-Chart_2.png -------------------------------------------------------------------------------- /Line-Chart_2/Line-Chart.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Line-Chart_2/Line-Chart.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Line-Chart_2/Line-Chart.xcodeproj/project.xcworkspace/xcuserdata/mallikarjun.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MallikarjunH/Charts_Examples/aae88f5b4f3845598f6e0584e7158484bf428df8/Line-Chart_2/Line-Chart.xcodeproj/project.xcworkspace/xcuserdata/mallikarjun.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /Line-Chart_2/Line-Chart.xcodeproj/xcuserdata/mallikarjun.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | Line-Chart.xcscheme_^#shared#^_ 8 | 9 | orderHint 10 | 2 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /Line-Chart_2/Line-Chart.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Line-Chart_2/Line-Chart.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Line-Chart_2/Line-Chart.xcworkspace/xcuserdata/mallikarjun.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MallikarjunH/Charts_Examples/aae88f5b4f3845598f6e0584e7158484bf428df8/Line-Chart_2/Line-Chart.xcworkspace/xcuserdata/mallikarjun.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /Line-Chart_2/Line-Chart/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /Line-Chart_2/Podfile: -------------------------------------------------------------------------------- 1 | # Uncomment the next line to define a global platform for your project 2 | # platform :ios, '9.0' 3 | 4 | target 'Line-Chart' do 5 | use_frameworks! 6 | 7 | pod 'Charts' 8 | 9 | end 10 | -------------------------------------------------------------------------------- /Line-Chart_2/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - Charts (3.3.0): 3 | - Charts/Core (= 3.3.0) 4 | - Charts/Core (3.3.0) 5 | 6 | DEPENDENCIES: 7 | - Charts 8 | 9 | SPEC REPOS: 10 | https://github.com/cocoapods/specs.git: 11 | - Charts 12 | 13 | SPEC CHECKSUMS: 14 | Charts: ec1f57f9340054155691e84d4544a1d239d382c5 15 | 16 | PODFILE CHECKSUM: 00021cc410a42d5a2fd994bcc5986addab9bdb93 17 | 18 | COCOAPODS: 1.5.3 19 | -------------------------------------------------------------------------------- /Line-Chart_2/Pods/Charts/Source/Charts/Charts/BubbleChartView.swift: -------------------------------------------------------------------------------- 1 | // 2 | // BubbleChartView.swift 3 | // Charts 4 | // 5 | // Bubble chart implementation: 6 | // Copyright 2015 Pierre-Marc Airoldi 7 | // Licensed under Apache License 2.0 8 | // 9 | // https://github.com/danielgindi/Charts 10 | // 11 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | open class BubbleChartView: BarLineChartViewBase, BubbleChartDataProvider 16 | { 17 | open override func initialize() 18 | { 19 | super.initialize() 20 | 21 | renderer = BubbleChartRenderer(dataProvider: self, animator: _animator, viewPortHandler: _viewPortHandler) 22 | } 23 | 24 | // MARK: - BubbleChartDataProvider 25 | 26 | open var bubbleData: BubbleChartData? { return _data as? BubbleChartData } 27 | } 28 | -------------------------------------------------------------------------------- /Line-Chart_2/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarLineScatterCandleBubbleChartData.swift: -------------------------------------------------------------------------------- 1 | // 2 | // BarLineScatterCandleBubbleChartData.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 | 12 | import Foundation 13 | 14 | open class BarLineScatterCandleBubbleChartData: ChartData 15 | { 16 | public override init() 17 | { 18 | super.init() 19 | } 20 | 21 | public override init(dataSets: [IChartDataSet]?) 22 | { 23 | super.init(dataSets: dataSets) 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /Line-Chart_2/Pods/Charts/Source/Charts/Data/Implementations/Standard/CandleChartData.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CandleChartData.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 | 12 | import Foundation 13 | 14 | open class CandleChartData: BarLineScatterCandleBubbleChartData 15 | { 16 | public override init() 17 | { 18 | super.init() 19 | } 20 | 21 | public override init(dataSets: [IChartDataSet]?) 22 | { 23 | super.init(dataSets: dataSets) 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /Line-Chart_2/Pods/Charts/Source/Charts/Data/Implementations/Standard/LineChartData.swift: -------------------------------------------------------------------------------- 1 | // 2 | // LineChartData.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 | 12 | import Foundation 13 | 14 | /// Data object that encapsulates all data associated with a LineChart. 15 | open class LineChartData: ChartData 16 | { 17 | public override init() 18 | { 19 | super.init() 20 | } 21 | 22 | public override init(dataSets: [IChartDataSet]?) 23 | { 24 | super.init(dataSets: dataSets) 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /Line-Chart_2/Pods/Charts/Source/Charts/Data/Interfaces/IBarLineScatterCandleBubbleChartDataSet.swift: -------------------------------------------------------------------------------- 1 | // 2 | // IBarLineScatterCandleBubbleChartDataSet.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol IBarLineScatterCandleBubbleChartDataSet: IChartDataSet 17 | { 18 | // MARK: - Data functions and accessors 19 | 20 | // MARK: - Styling functions and accessors 21 | 22 | var highlightColor: NSUIColor { get set } 23 | var highlightLineWidth: CGFloat { get set } 24 | var highlightLineDashPhase: CGFloat { get set } 25 | var highlightLineDashLengths: [CGFloat]? { get set } 26 | } 27 | -------------------------------------------------------------------------------- /Line-Chart_2/Pods/Charts/Source/Charts/Data/Interfaces/IBubbleChartDataSet.swift: -------------------------------------------------------------------------------- 1 | // 2 | // IBubbleChartDataSet.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol IBubbleChartDataSet: IBarLineScatterCandleBubbleChartDataSet 17 | { 18 | // MARK: - Data functions and accessors 19 | 20 | var maxSize: CGFloat { get } 21 | var isNormalizeSizeEnabled: Bool { get } 22 | 23 | // MARK: - Styling functions and accessors 24 | 25 | /// Sets/gets the width of the circle that surrounds the bubble when highlighted 26 | var highlightCircleWidth: CGFloat { get set } 27 | } 28 | -------------------------------------------------------------------------------- /Line-Chart_2/Pods/Charts/Source/Charts/Formatters/IFillFormatter.swift: -------------------------------------------------------------------------------- 1 | // 2 | // IFillFormatter.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | /// Protocol for providing a custom logic to where the filling line of a LineDataSet should end. This of course only works if setFillEnabled(...) is set to true. 16 | @objc(IChartFillFormatter) 17 | public protocol IFillFormatter 18 | { 19 | /// - Returns: The vertical (y-axis) position where the filled-line of the LineDataSet should end. 20 | func getFillLinePosition(dataSet: ILineChartDataSet, dataProvider: LineChartDataProvider) -> CGFloat 21 | } 22 | -------------------------------------------------------------------------------- /Line-Chart_2/Pods/Charts/Source/Charts/Highlight/IHighlighter.swift: -------------------------------------------------------------------------------- 1 | // 2 | // IHighlighter.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc(IChartHighlighter) 16 | public protocol IHighlighter: class 17 | { 18 | /// - Parameters: 19 | /// - x: 20 | /// - y: 21 | /// - Returns: A Highlight object corresponding to the given x- and y- touch positions in pixels. 22 | func getHighlight(x: CGFloat, y: CGFloat) -> Highlight? 23 | } 24 | -------------------------------------------------------------------------------- /Line-Chart_2/Pods/Charts/Source/Charts/Interfaces/BarChartDataProvider.swift: -------------------------------------------------------------------------------- 1 | // 2 | // BarChartDataProvider.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol BarChartDataProvider: BarLineScatterCandleBubbleChartDataProvider 17 | { 18 | var barData: BarChartData? { get } 19 | 20 | var isDrawBarShadowEnabled: Bool { get } 21 | var isDrawValueAboveBarEnabled: Bool { get } 22 | var isHighlightFullBarEnabled: Bool { get } 23 | } -------------------------------------------------------------------------------- /Line-Chart_2/Pods/Charts/Source/Charts/Interfaces/BarLineScatterCandleBubbleChartDataProvider.swift: -------------------------------------------------------------------------------- 1 | // 2 | // BarLineScatterCandleBubbleChartDataProvider.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol BarLineScatterCandleBubbleChartDataProvider: ChartDataProvider 17 | { 18 | func getTransformer(forAxis: YAxis.AxisDependency) -> Transformer 19 | func isInverted(axis: YAxis.AxisDependency) -> Bool 20 | 21 | var lowestVisibleX: Double { get } 22 | var highestVisibleX: Double { get } 23 | } 24 | -------------------------------------------------------------------------------- /Line-Chart_2/Pods/Charts/Source/Charts/Interfaces/BubbleChartDataProvider.swift: -------------------------------------------------------------------------------- 1 | // 2 | // BubbleChartDataProvider.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol BubbleChartDataProvider: BarLineScatterCandleBubbleChartDataProvider 17 | { 18 | var bubbleData: BubbleChartData? { get } 19 | } -------------------------------------------------------------------------------- /Line-Chart_2/Pods/Charts/Source/Charts/Interfaces/CandleChartDataProvider.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CandleChartDataProvider.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol CandleChartDataProvider: BarLineScatterCandleBubbleChartDataProvider 17 | { 18 | var candleData: CandleChartData? { get } 19 | } -------------------------------------------------------------------------------- /Line-Chart_2/Pods/Charts/Source/Charts/Interfaces/CombinedChartDataProvider.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CombinedChartDataProvider.swoft 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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol CombinedChartDataProvider: LineChartDataProvider, BarChartDataProvider, BubbleChartDataProvider, CandleChartDataProvider, ScatterChartDataProvider 17 | { 18 | var combinedData: CombinedChartData? { get } 19 | } -------------------------------------------------------------------------------- /Line-Chart_2/Pods/Charts/Source/Charts/Interfaces/LineChartDataProvider.swift: -------------------------------------------------------------------------------- 1 | // 2 | // LineChartDataProvider.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol LineChartDataProvider: BarLineScatterCandleBubbleChartDataProvider 17 | { 18 | var lineData: LineChartData? { get } 19 | 20 | func getAxis(_ axis: YAxis.AxisDependency) -> YAxis 21 | } 22 | -------------------------------------------------------------------------------- /Line-Chart_2/Pods/Charts/Source/Charts/Interfaces/ScatterChartDataProvider.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ScatterChartDataProvider.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol ScatterChartDataProvider: BarLineScatterCandleBubbleChartDataProvider 17 | { 18 | var scatterData: ScatterChartData? { get } 19 | } -------------------------------------------------------------------------------- /Line-Chart_2/Pods/Charts/Source/Charts/Renderers/Renderer.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Renderer.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc(ChartRenderer) 16 | open class Renderer: NSObject 17 | { 18 | /// the component that handles the drawing area of the chart and it's offsets 19 | @objc public let viewPortHandler: ViewPortHandler 20 | 21 | @objc public init(viewPortHandler: ViewPortHandler) 22 | { 23 | self.viewPortHandler = viewPortHandler 24 | super.init() 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /Line-Chart_2/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - Charts (3.3.0): 3 | - Charts/Core (= 3.3.0) 4 | - Charts/Core (3.3.0) 5 | 6 | DEPENDENCIES: 7 | - Charts 8 | 9 | SPEC REPOS: 10 | https://github.com/cocoapods/specs.git: 11 | - Charts 12 | 13 | SPEC CHECKSUMS: 14 | Charts: ec1f57f9340054155691e84d4544a1d239d382c5 15 | 16 | PODFILE CHECKSUM: 00021cc410a42d5a2fd994bcc5986addab9bdb93 17 | 18 | COCOAPODS: 1.5.3 19 | -------------------------------------------------------------------------------- /Line-Chart_2/Pods/Pods.xcodeproj/xcuserdata/mallikarjun.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | Charts.xcscheme 8 | 9 | isShown 10 | 11 | orderHint 12 | 0 13 | 14 | Pods-Line-Chart.xcscheme 15 | 16 | isShown 17 | 18 | orderHint 19 | 1 20 | 21 | 22 | SuppressBuildableAutocreation 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /Line-Chart_2/Pods/Target Support Files/Charts/Charts-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Charts : NSObject 3 | @end 4 | @implementation PodsDummy_Charts 5 | @end 6 | -------------------------------------------------------------------------------- /Line-Chart_2/Pods/Target Support Files/Charts/Charts-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /Line-Chart_2/Pods/Target Support Files/Charts/Charts-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double ChartsVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char ChartsVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Line-Chart_2/Pods/Target Support Files/Charts/Charts.modulemap: -------------------------------------------------------------------------------- 1 | framework module Charts { 2 | umbrella header "Charts-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Line-Chart_2/Pods/Target Support Files/Charts/Charts.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/Charts 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 4 | PODS_BUILD_DIR = ${BUILD_DIR} 5 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 6 | PODS_ROOT = ${SRCROOT} 7 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/Charts 8 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 9 | SKIP_INSTALL = YES 10 | -------------------------------------------------------------------------------- /Line-Chart_2/Pods/Target Support Files/Pods-Line-Chart/Pods-Line-Chart-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_Line_Chart : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_Line_Chart 5 | @end 6 | -------------------------------------------------------------------------------- /Line-Chart_2/Pods/Target Support Files/Pods-Line-Chart/Pods-Line-Chart-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double Pods_Line_ChartVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_Line_ChartVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Line-Chart_2/Pods/Target Support Files/Pods-Line-Chart/Pods-Line-Chart.debug.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Charts" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 5 | OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/Charts/Charts.framework/Headers" 6 | OTHER_LDFLAGS = $(inherited) -framework "Charts" 7 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 8 | PODS_BUILD_DIR = ${BUILD_DIR} 9 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 10 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 11 | PODS_ROOT = ${SRCROOT}/Pods 12 | -------------------------------------------------------------------------------- /Line-Chart_2/Pods/Target Support Files/Pods-Line-Chart/Pods-Line-Chart.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_Line_Chart { 2 | umbrella header "Pods-Line-Chart-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Line-Chart_2/Pods/Target Support Files/Pods-Line-Chart/Pods-Line-Chart.release.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Charts" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 5 | OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/Charts/Charts.framework/Headers" 6 | OTHER_LDFLAGS = $(inherited) -framework "Charts" 7 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 8 | PODS_BUILD_DIR = ${BUILD_DIR} 9 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 10 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 11 | PODS_ROOT = ${SRCROOT}/Pods 12 | -------------------------------------------------------------------------------- /Line-Chart_3_Final1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MallikarjunH/Charts_Examples/aae88f5b4f3845598f6e0584e7158484bf428df8/Line-Chart_3_Final1.png -------------------------------------------------------------------------------- /Line-Chart_3_Final1/Line-Chart.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Line-Chart_3_Final1/Line-Chart.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Line-Chart_3_Final1/Line-Chart.xcodeproj/project.xcworkspace/xcuserdata/mallikarjun.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MallikarjunH/Charts_Examples/aae88f5b4f3845598f6e0584e7158484bf428df8/Line-Chart_3_Final1/Line-Chart.xcodeproj/project.xcworkspace/xcuserdata/mallikarjun.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /Line-Chart_3_Final1/Line-Chart.xcodeproj/xcuserdata/mallikarjun.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | Line-Chart.xcscheme_^#shared#^_ 8 | 9 | orderHint 10 | 2 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /Line-Chart_3_Final1/Line-Chart.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Line-Chart_3_Final1/Line-Chart.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Line-Chart_3_Final1/Line-Chart.xcworkspace/xcuserdata/mallikarjun.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MallikarjunH/Charts_Examples/aae88f5b4f3845598f6e0584e7158484bf428df8/Line-Chart_3_Final1/Line-Chart.xcworkspace/xcuserdata/mallikarjun.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /Line-Chart_3_Final1/Line-Chart/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /Line-Chart_3_Final1/Podfile: -------------------------------------------------------------------------------- 1 | # Uncomment the next line to define a global platform for your project 2 | # platform :ios, '9.0' 3 | 4 | target 'Line-Chart' do 5 | use_frameworks! 6 | 7 | pod 'Charts' 8 | 9 | end 10 | -------------------------------------------------------------------------------- /Line-Chart_3_Final1/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - Charts (3.3.0): 3 | - Charts/Core (= 3.3.0) 4 | - Charts/Core (3.3.0) 5 | 6 | DEPENDENCIES: 7 | - Charts 8 | 9 | SPEC REPOS: 10 | https://github.com/cocoapods/specs.git: 11 | - Charts 12 | 13 | SPEC CHECKSUMS: 14 | Charts: ec1f57f9340054155691e84d4544a1d239d382c5 15 | 16 | PODFILE CHECKSUM: 00021cc410a42d5a2fd994bcc5986addab9bdb93 17 | 18 | COCOAPODS: 1.5.3 19 | -------------------------------------------------------------------------------- /Line-Chart_3_Final1/Pods/Charts/Source/Charts/Charts/BubbleChartView.swift: -------------------------------------------------------------------------------- 1 | // 2 | // BubbleChartView.swift 3 | // Charts 4 | // 5 | // Bubble chart implementation: 6 | // Copyright 2015 Pierre-Marc Airoldi 7 | // Licensed under Apache License 2.0 8 | // 9 | // https://github.com/danielgindi/Charts 10 | // 11 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | open class BubbleChartView: BarLineChartViewBase, BubbleChartDataProvider 16 | { 17 | open override func initialize() 18 | { 19 | super.initialize() 20 | 21 | renderer = BubbleChartRenderer(dataProvider: self, animator: _animator, viewPortHandler: _viewPortHandler) 22 | } 23 | 24 | // MARK: - BubbleChartDataProvider 25 | 26 | open var bubbleData: BubbleChartData? { return _data as? BubbleChartData } 27 | } 28 | -------------------------------------------------------------------------------- /Line-Chart_3_Final1/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarLineScatterCandleBubbleChartData.swift: -------------------------------------------------------------------------------- 1 | // 2 | // BarLineScatterCandleBubbleChartData.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 | 12 | import Foundation 13 | 14 | open class BarLineScatterCandleBubbleChartData: ChartData 15 | { 16 | public override init() 17 | { 18 | super.init() 19 | } 20 | 21 | public override init(dataSets: [IChartDataSet]?) 22 | { 23 | super.init(dataSets: dataSets) 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /Line-Chart_3_Final1/Pods/Charts/Source/Charts/Data/Implementations/Standard/CandleChartData.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CandleChartData.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 | 12 | import Foundation 13 | 14 | open class CandleChartData: BarLineScatterCandleBubbleChartData 15 | { 16 | public override init() 17 | { 18 | super.init() 19 | } 20 | 21 | public override init(dataSets: [IChartDataSet]?) 22 | { 23 | super.init(dataSets: dataSets) 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /Line-Chart_3_Final1/Pods/Charts/Source/Charts/Data/Implementations/Standard/LineChartData.swift: -------------------------------------------------------------------------------- 1 | // 2 | // LineChartData.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 | 12 | import Foundation 13 | 14 | /// Data object that encapsulates all data associated with a LineChart. 15 | open class LineChartData: ChartData 16 | { 17 | public override init() 18 | { 19 | super.init() 20 | } 21 | 22 | public override init(dataSets: [IChartDataSet]?) 23 | { 24 | super.init(dataSets: dataSets) 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /Line-Chart_3_Final1/Pods/Charts/Source/Charts/Data/Interfaces/IBarLineScatterCandleBubbleChartDataSet.swift: -------------------------------------------------------------------------------- 1 | // 2 | // IBarLineScatterCandleBubbleChartDataSet.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol IBarLineScatterCandleBubbleChartDataSet: IChartDataSet 17 | { 18 | // MARK: - Data functions and accessors 19 | 20 | // MARK: - Styling functions and accessors 21 | 22 | var highlightColor: NSUIColor { get set } 23 | var highlightLineWidth: CGFloat { get set } 24 | var highlightLineDashPhase: CGFloat { get set } 25 | var highlightLineDashLengths: [CGFloat]? { get set } 26 | } 27 | -------------------------------------------------------------------------------- /Line-Chart_3_Final1/Pods/Charts/Source/Charts/Data/Interfaces/IBubbleChartDataSet.swift: -------------------------------------------------------------------------------- 1 | // 2 | // IBubbleChartDataSet.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol IBubbleChartDataSet: IBarLineScatterCandleBubbleChartDataSet 17 | { 18 | // MARK: - Data functions and accessors 19 | 20 | var maxSize: CGFloat { get } 21 | var isNormalizeSizeEnabled: Bool { get } 22 | 23 | // MARK: - Styling functions and accessors 24 | 25 | /// Sets/gets the width of the circle that surrounds the bubble when highlighted 26 | var highlightCircleWidth: CGFloat { get set } 27 | } 28 | -------------------------------------------------------------------------------- /Line-Chart_3_Final1/Pods/Charts/Source/Charts/Formatters/IFillFormatter.swift: -------------------------------------------------------------------------------- 1 | // 2 | // IFillFormatter.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | /// Protocol for providing a custom logic to where the filling line of a LineDataSet should end. This of course only works if setFillEnabled(...) is set to true. 16 | @objc(IChartFillFormatter) 17 | public protocol IFillFormatter 18 | { 19 | /// - Returns: The vertical (y-axis) position where the filled-line of the LineDataSet should end. 20 | func getFillLinePosition(dataSet: ILineChartDataSet, dataProvider: LineChartDataProvider) -> CGFloat 21 | } 22 | -------------------------------------------------------------------------------- /Line-Chart_3_Final1/Pods/Charts/Source/Charts/Highlight/IHighlighter.swift: -------------------------------------------------------------------------------- 1 | // 2 | // IHighlighter.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc(IChartHighlighter) 16 | public protocol IHighlighter: class 17 | { 18 | /// - Parameters: 19 | /// - x: 20 | /// - y: 21 | /// - Returns: A Highlight object corresponding to the given x- and y- touch positions in pixels. 22 | func getHighlight(x: CGFloat, y: CGFloat) -> Highlight? 23 | } 24 | -------------------------------------------------------------------------------- /Line-Chart_3_Final1/Pods/Charts/Source/Charts/Interfaces/BarChartDataProvider.swift: -------------------------------------------------------------------------------- 1 | // 2 | // BarChartDataProvider.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol BarChartDataProvider: BarLineScatterCandleBubbleChartDataProvider 17 | { 18 | var barData: BarChartData? { get } 19 | 20 | var isDrawBarShadowEnabled: Bool { get } 21 | var isDrawValueAboveBarEnabled: Bool { get } 22 | var isHighlightFullBarEnabled: Bool { get } 23 | } -------------------------------------------------------------------------------- /Line-Chart_3_Final1/Pods/Charts/Source/Charts/Interfaces/BarLineScatterCandleBubbleChartDataProvider.swift: -------------------------------------------------------------------------------- 1 | // 2 | // BarLineScatterCandleBubbleChartDataProvider.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol BarLineScatterCandleBubbleChartDataProvider: ChartDataProvider 17 | { 18 | func getTransformer(forAxis: YAxis.AxisDependency) -> Transformer 19 | func isInverted(axis: YAxis.AxisDependency) -> Bool 20 | 21 | var lowestVisibleX: Double { get } 22 | var highestVisibleX: Double { get } 23 | } 24 | -------------------------------------------------------------------------------- /Line-Chart_3_Final1/Pods/Charts/Source/Charts/Interfaces/BubbleChartDataProvider.swift: -------------------------------------------------------------------------------- 1 | // 2 | // BubbleChartDataProvider.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol BubbleChartDataProvider: BarLineScatterCandleBubbleChartDataProvider 17 | { 18 | var bubbleData: BubbleChartData? { get } 19 | } -------------------------------------------------------------------------------- /Line-Chart_3_Final1/Pods/Charts/Source/Charts/Interfaces/CandleChartDataProvider.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CandleChartDataProvider.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol CandleChartDataProvider: BarLineScatterCandleBubbleChartDataProvider 17 | { 18 | var candleData: CandleChartData? { get } 19 | } -------------------------------------------------------------------------------- /Line-Chart_3_Final1/Pods/Charts/Source/Charts/Interfaces/CombinedChartDataProvider.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CombinedChartDataProvider.swoft 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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol CombinedChartDataProvider: LineChartDataProvider, BarChartDataProvider, BubbleChartDataProvider, CandleChartDataProvider, ScatterChartDataProvider 17 | { 18 | var combinedData: CombinedChartData? { get } 19 | } -------------------------------------------------------------------------------- /Line-Chart_3_Final1/Pods/Charts/Source/Charts/Interfaces/LineChartDataProvider.swift: -------------------------------------------------------------------------------- 1 | // 2 | // LineChartDataProvider.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol LineChartDataProvider: BarLineScatterCandleBubbleChartDataProvider 17 | { 18 | var lineData: LineChartData? { get } 19 | 20 | func getAxis(_ axis: YAxis.AxisDependency) -> YAxis 21 | } 22 | -------------------------------------------------------------------------------- /Line-Chart_3_Final1/Pods/Charts/Source/Charts/Interfaces/ScatterChartDataProvider.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ScatterChartDataProvider.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol ScatterChartDataProvider: BarLineScatterCandleBubbleChartDataProvider 17 | { 18 | var scatterData: ScatterChartData? { get } 19 | } -------------------------------------------------------------------------------- /Line-Chart_3_Final1/Pods/Charts/Source/Charts/Renderers/Renderer.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Renderer.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc(ChartRenderer) 16 | open class Renderer: NSObject 17 | { 18 | /// the component that handles the drawing area of the chart and it's offsets 19 | @objc public let viewPortHandler: ViewPortHandler 20 | 21 | @objc public init(viewPortHandler: ViewPortHandler) 22 | { 23 | self.viewPortHandler = viewPortHandler 24 | super.init() 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /Line-Chart_3_Final1/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - Charts (3.3.0): 3 | - Charts/Core (= 3.3.0) 4 | - Charts/Core (3.3.0) 5 | 6 | DEPENDENCIES: 7 | - Charts 8 | 9 | SPEC REPOS: 10 | https://github.com/cocoapods/specs.git: 11 | - Charts 12 | 13 | SPEC CHECKSUMS: 14 | Charts: ec1f57f9340054155691e84d4544a1d239d382c5 15 | 16 | PODFILE CHECKSUM: 00021cc410a42d5a2fd994bcc5986addab9bdb93 17 | 18 | COCOAPODS: 1.5.3 19 | -------------------------------------------------------------------------------- /Line-Chart_3_Final1/Pods/Pods.xcodeproj/xcuserdata/mallikarjun.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | Charts.xcscheme 8 | 9 | isShown 10 | 11 | orderHint 12 | 0 13 | 14 | Pods-Line-Chart.xcscheme 15 | 16 | isShown 17 | 18 | orderHint 19 | 1 20 | 21 | 22 | SuppressBuildableAutocreation 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /Line-Chart_3_Final1/Pods/Target Support Files/Charts/Charts-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Charts : NSObject 3 | @end 4 | @implementation PodsDummy_Charts 5 | @end 6 | -------------------------------------------------------------------------------- /Line-Chart_3_Final1/Pods/Target Support Files/Charts/Charts-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /Line-Chart_3_Final1/Pods/Target Support Files/Charts/Charts-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double ChartsVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char ChartsVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Line-Chart_3_Final1/Pods/Target Support Files/Charts/Charts.modulemap: -------------------------------------------------------------------------------- 1 | framework module Charts { 2 | umbrella header "Charts-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Line-Chart_3_Final1/Pods/Target Support Files/Charts/Charts.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/Charts 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 4 | PODS_BUILD_DIR = ${BUILD_DIR} 5 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 6 | PODS_ROOT = ${SRCROOT} 7 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/Charts 8 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 9 | SKIP_INSTALL = YES 10 | -------------------------------------------------------------------------------- /Line-Chart_3_Final1/Pods/Target Support Files/Pods-Line-Chart/Pods-Line-Chart-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_Line_Chart : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_Line_Chart 5 | @end 6 | -------------------------------------------------------------------------------- /Line-Chart_3_Final1/Pods/Target Support Files/Pods-Line-Chart/Pods-Line-Chart-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double Pods_Line_ChartVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_Line_ChartVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Line-Chart_3_Final1/Pods/Target Support Files/Pods-Line-Chart/Pods-Line-Chart.debug.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Charts" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 5 | OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/Charts/Charts.framework/Headers" 6 | OTHER_LDFLAGS = $(inherited) -framework "Charts" 7 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 8 | PODS_BUILD_DIR = ${BUILD_DIR} 9 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 10 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 11 | PODS_ROOT = ${SRCROOT}/Pods 12 | -------------------------------------------------------------------------------- /Line-Chart_3_Final1/Pods/Target Support Files/Pods-Line-Chart/Pods-Line-Chart.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_Line_Chart { 2 | umbrella header "Pods-Line-Chart-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Line-Chart_3_Final1/Pods/Target Support Files/Pods-Line-Chart/Pods-Line-Chart.release.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Charts" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 5 | OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/Charts/Charts.framework/Headers" 6 | OTHER_LDFLAGS = $(inherited) -framework "Charts" 7 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 8 | PODS_BUILD_DIR = ${BUILD_DIR} 9 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 10 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 11 | PODS_ROOT = ${SRCROOT}/Pods 12 | -------------------------------------------------------------------------------- /Line-Chart_3_Final2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MallikarjunH/Charts_Examples/aae88f5b4f3845598f6e0584e7158484bf428df8/Line-Chart_3_Final2.png -------------------------------------------------------------------------------- /Line-Chart_3_Final2/Line-Chart.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Line-Chart_3_Final2/Line-Chart.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Line-Chart_3_Final2/Line-Chart.xcodeproj/project.xcworkspace/xcuserdata/mallikarjun.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MallikarjunH/Charts_Examples/aae88f5b4f3845598f6e0584e7158484bf428df8/Line-Chart_3_Final2/Line-Chart.xcodeproj/project.xcworkspace/xcuserdata/mallikarjun.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /Line-Chart_3_Final2/Line-Chart.xcodeproj/xcuserdata/mallikarjun.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | Line-Chart.xcscheme_^#shared#^_ 8 | 9 | orderHint 10 | 2 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /Line-Chart_3_Final2/Line-Chart.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Line-Chart_3_Final2/Line-Chart.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Line-Chart_3_Final2/Line-Chart.xcworkspace/xcuserdata/mallikarjun.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MallikarjunH/Charts_Examples/aae88f5b4f3845598f6e0584e7158484bf428df8/Line-Chart_3_Final2/Line-Chart.xcworkspace/xcuserdata/mallikarjun.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /Line-Chart_3_Final2/Line-Chart/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /Line-Chart_3_Final2/Podfile: -------------------------------------------------------------------------------- 1 | # Uncomment the next line to define a global platform for your project 2 | # platform :ios, '9.0' 3 | 4 | target 'Line-Chart' do 5 | use_frameworks! 6 | 7 | pod 'Charts' 8 | 9 | end 10 | -------------------------------------------------------------------------------- /Line-Chart_3_Final2/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - Charts (3.3.0): 3 | - Charts/Core (= 3.3.0) 4 | - Charts/Core (3.3.0) 5 | 6 | DEPENDENCIES: 7 | - Charts 8 | 9 | SPEC REPOS: 10 | https://github.com/cocoapods/specs.git: 11 | - Charts 12 | 13 | SPEC CHECKSUMS: 14 | Charts: ec1f57f9340054155691e84d4544a1d239d382c5 15 | 16 | PODFILE CHECKSUM: 00021cc410a42d5a2fd994bcc5986addab9bdb93 17 | 18 | COCOAPODS: 1.5.3 19 | -------------------------------------------------------------------------------- /Line-Chart_3_Final2/Pods/Charts/Source/Charts/Charts/BubbleChartView.swift: -------------------------------------------------------------------------------- 1 | // 2 | // BubbleChartView.swift 3 | // Charts 4 | // 5 | // Bubble chart implementation: 6 | // Copyright 2015 Pierre-Marc Airoldi 7 | // Licensed under Apache License 2.0 8 | // 9 | // https://github.com/danielgindi/Charts 10 | // 11 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | open class BubbleChartView: BarLineChartViewBase, BubbleChartDataProvider 16 | { 17 | open override func initialize() 18 | { 19 | super.initialize() 20 | 21 | renderer = BubbleChartRenderer(dataProvider: self, animator: _animator, viewPortHandler: _viewPortHandler) 22 | } 23 | 24 | // MARK: - BubbleChartDataProvider 25 | 26 | open var bubbleData: BubbleChartData? { return _data as? BubbleChartData } 27 | } 28 | -------------------------------------------------------------------------------- /Line-Chart_3_Final2/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarLineScatterCandleBubbleChartData.swift: -------------------------------------------------------------------------------- 1 | // 2 | // BarLineScatterCandleBubbleChartData.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 | 12 | import Foundation 13 | 14 | open class BarLineScatterCandleBubbleChartData: ChartData 15 | { 16 | public override init() 17 | { 18 | super.init() 19 | } 20 | 21 | public override init(dataSets: [IChartDataSet]?) 22 | { 23 | super.init(dataSets: dataSets) 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /Line-Chart_3_Final2/Pods/Charts/Source/Charts/Data/Implementations/Standard/CandleChartData.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CandleChartData.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 | 12 | import Foundation 13 | 14 | open class CandleChartData: BarLineScatterCandleBubbleChartData 15 | { 16 | public override init() 17 | { 18 | super.init() 19 | } 20 | 21 | public override init(dataSets: [IChartDataSet]?) 22 | { 23 | super.init(dataSets: dataSets) 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /Line-Chart_3_Final2/Pods/Charts/Source/Charts/Data/Implementations/Standard/LineChartData.swift: -------------------------------------------------------------------------------- 1 | // 2 | // LineChartData.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 | 12 | import Foundation 13 | 14 | /// Data object that encapsulates all data associated with a LineChart. 15 | open class LineChartData: ChartData 16 | { 17 | public override init() 18 | { 19 | super.init() 20 | } 21 | 22 | public override init(dataSets: [IChartDataSet]?) 23 | { 24 | super.init(dataSets: dataSets) 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /Line-Chart_3_Final2/Pods/Charts/Source/Charts/Data/Interfaces/IBarLineScatterCandleBubbleChartDataSet.swift: -------------------------------------------------------------------------------- 1 | // 2 | // IBarLineScatterCandleBubbleChartDataSet.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol IBarLineScatterCandleBubbleChartDataSet: IChartDataSet 17 | { 18 | // MARK: - Data functions and accessors 19 | 20 | // MARK: - Styling functions and accessors 21 | 22 | var highlightColor: NSUIColor { get set } 23 | var highlightLineWidth: CGFloat { get set } 24 | var highlightLineDashPhase: CGFloat { get set } 25 | var highlightLineDashLengths: [CGFloat]? { get set } 26 | } 27 | -------------------------------------------------------------------------------- /Line-Chart_3_Final2/Pods/Charts/Source/Charts/Data/Interfaces/IBubbleChartDataSet.swift: -------------------------------------------------------------------------------- 1 | // 2 | // IBubbleChartDataSet.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol IBubbleChartDataSet: IBarLineScatterCandleBubbleChartDataSet 17 | { 18 | // MARK: - Data functions and accessors 19 | 20 | var maxSize: CGFloat { get } 21 | var isNormalizeSizeEnabled: Bool { get } 22 | 23 | // MARK: - Styling functions and accessors 24 | 25 | /// Sets/gets the width of the circle that surrounds the bubble when highlighted 26 | var highlightCircleWidth: CGFloat { get set } 27 | } 28 | -------------------------------------------------------------------------------- /Line-Chart_3_Final2/Pods/Charts/Source/Charts/Formatters/IFillFormatter.swift: -------------------------------------------------------------------------------- 1 | // 2 | // IFillFormatter.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | /// Protocol for providing a custom logic to where the filling line of a LineDataSet should end. This of course only works if setFillEnabled(...) is set to true. 16 | @objc(IChartFillFormatter) 17 | public protocol IFillFormatter 18 | { 19 | /// - Returns: The vertical (y-axis) position where the filled-line of the LineDataSet should end. 20 | func getFillLinePosition(dataSet: ILineChartDataSet, dataProvider: LineChartDataProvider) -> CGFloat 21 | } 22 | -------------------------------------------------------------------------------- /Line-Chart_3_Final2/Pods/Charts/Source/Charts/Highlight/IHighlighter.swift: -------------------------------------------------------------------------------- 1 | // 2 | // IHighlighter.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc(IChartHighlighter) 16 | public protocol IHighlighter: class 17 | { 18 | /// - Parameters: 19 | /// - x: 20 | /// - y: 21 | /// - Returns: A Highlight object corresponding to the given x- and y- touch positions in pixels. 22 | func getHighlight(x: CGFloat, y: CGFloat) -> Highlight? 23 | } 24 | -------------------------------------------------------------------------------- /Line-Chart_3_Final2/Pods/Charts/Source/Charts/Interfaces/BarChartDataProvider.swift: -------------------------------------------------------------------------------- 1 | // 2 | // BarChartDataProvider.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol BarChartDataProvider: BarLineScatterCandleBubbleChartDataProvider 17 | { 18 | var barData: BarChartData? { get } 19 | 20 | var isDrawBarShadowEnabled: Bool { get } 21 | var isDrawValueAboveBarEnabled: Bool { get } 22 | var isHighlightFullBarEnabled: Bool { get } 23 | } -------------------------------------------------------------------------------- /Line-Chart_3_Final2/Pods/Charts/Source/Charts/Interfaces/BarLineScatterCandleBubbleChartDataProvider.swift: -------------------------------------------------------------------------------- 1 | // 2 | // BarLineScatterCandleBubbleChartDataProvider.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol BarLineScatterCandleBubbleChartDataProvider: ChartDataProvider 17 | { 18 | func getTransformer(forAxis: YAxis.AxisDependency) -> Transformer 19 | func isInverted(axis: YAxis.AxisDependency) -> Bool 20 | 21 | var lowestVisibleX: Double { get } 22 | var highestVisibleX: Double { get } 23 | } 24 | -------------------------------------------------------------------------------- /Line-Chart_3_Final2/Pods/Charts/Source/Charts/Interfaces/BubbleChartDataProvider.swift: -------------------------------------------------------------------------------- 1 | // 2 | // BubbleChartDataProvider.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol BubbleChartDataProvider: BarLineScatterCandleBubbleChartDataProvider 17 | { 18 | var bubbleData: BubbleChartData? { get } 19 | } -------------------------------------------------------------------------------- /Line-Chart_3_Final2/Pods/Charts/Source/Charts/Interfaces/CandleChartDataProvider.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CandleChartDataProvider.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol CandleChartDataProvider: BarLineScatterCandleBubbleChartDataProvider 17 | { 18 | var candleData: CandleChartData? { get } 19 | } -------------------------------------------------------------------------------- /Line-Chart_3_Final2/Pods/Charts/Source/Charts/Interfaces/CombinedChartDataProvider.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CombinedChartDataProvider.swoft 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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol CombinedChartDataProvider: LineChartDataProvider, BarChartDataProvider, BubbleChartDataProvider, CandleChartDataProvider, ScatterChartDataProvider 17 | { 18 | var combinedData: CombinedChartData? { get } 19 | } -------------------------------------------------------------------------------- /Line-Chart_3_Final2/Pods/Charts/Source/Charts/Interfaces/LineChartDataProvider.swift: -------------------------------------------------------------------------------- 1 | // 2 | // LineChartDataProvider.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol LineChartDataProvider: BarLineScatterCandleBubbleChartDataProvider 17 | { 18 | var lineData: LineChartData? { get } 19 | 20 | func getAxis(_ axis: YAxis.AxisDependency) -> YAxis 21 | } 22 | -------------------------------------------------------------------------------- /Line-Chart_3_Final2/Pods/Charts/Source/Charts/Interfaces/ScatterChartDataProvider.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ScatterChartDataProvider.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol ScatterChartDataProvider: BarLineScatterCandleBubbleChartDataProvider 17 | { 18 | var scatterData: ScatterChartData? { get } 19 | } -------------------------------------------------------------------------------- /Line-Chart_3_Final2/Pods/Charts/Source/Charts/Renderers/Renderer.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Renderer.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc(ChartRenderer) 16 | open class Renderer: NSObject 17 | { 18 | /// the component that handles the drawing area of the chart and it's offsets 19 | @objc public let viewPortHandler: ViewPortHandler 20 | 21 | @objc public init(viewPortHandler: ViewPortHandler) 22 | { 23 | self.viewPortHandler = viewPortHandler 24 | super.init() 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /Line-Chart_3_Final2/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - Charts (3.3.0): 3 | - Charts/Core (= 3.3.0) 4 | - Charts/Core (3.3.0) 5 | 6 | DEPENDENCIES: 7 | - Charts 8 | 9 | SPEC REPOS: 10 | https://github.com/cocoapods/specs.git: 11 | - Charts 12 | 13 | SPEC CHECKSUMS: 14 | Charts: ec1f57f9340054155691e84d4544a1d239d382c5 15 | 16 | PODFILE CHECKSUM: 00021cc410a42d5a2fd994bcc5986addab9bdb93 17 | 18 | COCOAPODS: 1.5.3 19 | -------------------------------------------------------------------------------- /Line-Chart_3_Final2/Pods/Pods.xcodeproj/xcuserdata/mallikarjun.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | Charts.xcscheme 8 | 9 | isShown 10 | 11 | orderHint 12 | 0 13 | 14 | Pods-Line-Chart.xcscheme 15 | 16 | isShown 17 | 18 | orderHint 19 | 1 20 | 21 | 22 | SuppressBuildableAutocreation 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /Line-Chart_3_Final2/Pods/Target Support Files/Charts/Charts-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Charts : NSObject 3 | @end 4 | @implementation PodsDummy_Charts 5 | @end 6 | -------------------------------------------------------------------------------- /Line-Chart_3_Final2/Pods/Target Support Files/Charts/Charts-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /Line-Chart_3_Final2/Pods/Target Support Files/Charts/Charts-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double ChartsVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char ChartsVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Line-Chart_3_Final2/Pods/Target Support Files/Charts/Charts.modulemap: -------------------------------------------------------------------------------- 1 | framework module Charts { 2 | umbrella header "Charts-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Line-Chart_3_Final2/Pods/Target Support Files/Charts/Charts.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/Charts 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 4 | PODS_BUILD_DIR = ${BUILD_DIR} 5 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 6 | PODS_ROOT = ${SRCROOT} 7 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/Charts 8 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 9 | SKIP_INSTALL = YES 10 | -------------------------------------------------------------------------------- /Line-Chart_3_Final2/Pods/Target Support Files/Pods-Line-Chart/Pods-Line-Chart-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_Line_Chart : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_Line_Chart 5 | @end 6 | -------------------------------------------------------------------------------- /Line-Chart_3_Final2/Pods/Target Support Files/Pods-Line-Chart/Pods-Line-Chart-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double Pods_Line_ChartVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_Line_ChartVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Line-Chart_3_Final2/Pods/Target Support Files/Pods-Line-Chart/Pods-Line-Chart.debug.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Charts" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 5 | OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/Charts/Charts.framework/Headers" 6 | OTHER_LDFLAGS = $(inherited) -framework "Charts" 7 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 8 | PODS_BUILD_DIR = ${BUILD_DIR} 9 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 10 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 11 | PODS_ROOT = ${SRCROOT}/Pods 12 | -------------------------------------------------------------------------------- /Line-Chart_3_Final2/Pods/Target Support Files/Pods-Line-Chart/Pods-Line-Chart.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_Line_Chart { 2 | umbrella header "Pods-Line-Chart-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Line-Chart_3_Final2/Pods/Target Support Files/Pods-Line-Chart/Pods-Line-Chart.release.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Charts" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 5 | OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/Charts/Charts.framework/Headers" 6 | OTHER_LDFLAGS = $(inherited) -framework "Charts" 7 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 8 | PODS_BUILD_DIR = ${BUILD_DIR} 9 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 10 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 11 | PODS_ROOT = ${SRCROOT}/Pods 12 | -------------------------------------------------------------------------------- /Line-Chart_3_Final3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MallikarjunH/Charts_Examples/aae88f5b4f3845598f6e0584e7158484bf428df8/Line-Chart_3_Final3.png -------------------------------------------------------------------------------- /Line-Chart_3_Final3/Line-Chart.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Line-Chart_3_Final3/Line-Chart.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Line-Chart_3_Final3/Line-Chart.xcodeproj/project.xcworkspace/xcuserdata/mallikarjun.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MallikarjunH/Charts_Examples/aae88f5b4f3845598f6e0584e7158484bf428df8/Line-Chart_3_Final3/Line-Chart.xcodeproj/project.xcworkspace/xcuserdata/mallikarjun.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /Line-Chart_3_Final3/Line-Chart.xcodeproj/xcuserdata/mallikarjun.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | Line-Chart.xcscheme_^#shared#^_ 8 | 9 | orderHint 10 | 2 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /Line-Chart_3_Final3/Line-Chart.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Line-Chart_3_Final3/Line-Chart.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Line-Chart_3_Final3/Line-Chart.xcworkspace/xcuserdata/mallikarjun.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MallikarjunH/Charts_Examples/aae88f5b4f3845598f6e0584e7158484bf428df8/Line-Chart_3_Final3/Line-Chart.xcworkspace/xcuserdata/mallikarjun.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /Line-Chart_3_Final3/Line-Chart/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /Line-Chart_3_Final3/Podfile: -------------------------------------------------------------------------------- 1 | # Uncomment the next line to define a global platform for your project 2 | # platform :ios, '9.0' 3 | 4 | target 'Line-Chart' do 5 | use_frameworks! 6 | 7 | pod 'Charts' 8 | 9 | end 10 | -------------------------------------------------------------------------------- /Line-Chart_3_Final3/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - Charts (3.3.0): 3 | - Charts/Core (= 3.3.0) 4 | - Charts/Core (3.3.0) 5 | 6 | DEPENDENCIES: 7 | - Charts 8 | 9 | SPEC REPOS: 10 | https://github.com/cocoapods/specs.git: 11 | - Charts 12 | 13 | SPEC CHECKSUMS: 14 | Charts: ec1f57f9340054155691e84d4544a1d239d382c5 15 | 16 | PODFILE CHECKSUM: 00021cc410a42d5a2fd994bcc5986addab9bdb93 17 | 18 | COCOAPODS: 1.5.3 19 | -------------------------------------------------------------------------------- /Line-Chart_3_Final3/Pods/Charts/Source/Charts/Charts/BubbleChartView.swift: -------------------------------------------------------------------------------- 1 | // 2 | // BubbleChartView.swift 3 | // Charts 4 | // 5 | // Bubble chart implementation: 6 | // Copyright 2015 Pierre-Marc Airoldi 7 | // Licensed under Apache License 2.0 8 | // 9 | // https://github.com/danielgindi/Charts 10 | // 11 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | open class BubbleChartView: BarLineChartViewBase, BubbleChartDataProvider 16 | { 17 | open override func initialize() 18 | { 19 | super.initialize() 20 | 21 | renderer = BubbleChartRenderer(dataProvider: self, animator: _animator, viewPortHandler: _viewPortHandler) 22 | } 23 | 24 | // MARK: - BubbleChartDataProvider 25 | 26 | open var bubbleData: BubbleChartData? { return _data as? BubbleChartData } 27 | } 28 | -------------------------------------------------------------------------------- /Line-Chart_3_Final3/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarLineScatterCandleBubbleChartData.swift: -------------------------------------------------------------------------------- 1 | // 2 | // BarLineScatterCandleBubbleChartData.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 | 12 | import Foundation 13 | 14 | open class BarLineScatterCandleBubbleChartData: ChartData 15 | { 16 | public override init() 17 | { 18 | super.init() 19 | } 20 | 21 | public override init(dataSets: [IChartDataSet]?) 22 | { 23 | super.init(dataSets: dataSets) 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /Line-Chart_3_Final3/Pods/Charts/Source/Charts/Data/Implementations/Standard/CandleChartData.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CandleChartData.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 | 12 | import Foundation 13 | 14 | open class CandleChartData: BarLineScatterCandleBubbleChartData 15 | { 16 | public override init() 17 | { 18 | super.init() 19 | } 20 | 21 | public override init(dataSets: [IChartDataSet]?) 22 | { 23 | super.init(dataSets: dataSets) 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /Line-Chart_3_Final3/Pods/Charts/Source/Charts/Data/Implementations/Standard/LineChartData.swift: -------------------------------------------------------------------------------- 1 | // 2 | // LineChartData.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 | 12 | import Foundation 13 | 14 | /// Data object that encapsulates all data associated with a LineChart. 15 | open class LineChartData: ChartData 16 | { 17 | public override init() 18 | { 19 | super.init() 20 | } 21 | 22 | public override init(dataSets: [IChartDataSet]?) 23 | { 24 | super.init(dataSets: dataSets) 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /Line-Chart_3_Final3/Pods/Charts/Source/Charts/Data/Interfaces/IBarLineScatterCandleBubbleChartDataSet.swift: -------------------------------------------------------------------------------- 1 | // 2 | // IBarLineScatterCandleBubbleChartDataSet.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol IBarLineScatterCandleBubbleChartDataSet: IChartDataSet 17 | { 18 | // MARK: - Data functions and accessors 19 | 20 | // MARK: - Styling functions and accessors 21 | 22 | var highlightColor: NSUIColor { get set } 23 | var highlightLineWidth: CGFloat { get set } 24 | var highlightLineDashPhase: CGFloat { get set } 25 | var highlightLineDashLengths: [CGFloat]? { get set } 26 | } 27 | -------------------------------------------------------------------------------- /Line-Chart_3_Final3/Pods/Charts/Source/Charts/Data/Interfaces/IBubbleChartDataSet.swift: -------------------------------------------------------------------------------- 1 | // 2 | // IBubbleChartDataSet.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol IBubbleChartDataSet: IBarLineScatterCandleBubbleChartDataSet 17 | { 18 | // MARK: - Data functions and accessors 19 | 20 | var maxSize: CGFloat { get } 21 | var isNormalizeSizeEnabled: Bool { get } 22 | 23 | // MARK: - Styling functions and accessors 24 | 25 | /// Sets/gets the width of the circle that surrounds the bubble when highlighted 26 | var highlightCircleWidth: CGFloat { get set } 27 | } 28 | -------------------------------------------------------------------------------- /Line-Chart_3_Final3/Pods/Charts/Source/Charts/Formatters/IFillFormatter.swift: -------------------------------------------------------------------------------- 1 | // 2 | // IFillFormatter.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | /// Protocol for providing a custom logic to where the filling line of a LineDataSet should end. This of course only works if setFillEnabled(...) is set to true. 16 | @objc(IChartFillFormatter) 17 | public protocol IFillFormatter 18 | { 19 | /// - Returns: The vertical (y-axis) position where the filled-line of the LineDataSet should end. 20 | func getFillLinePosition(dataSet: ILineChartDataSet, dataProvider: LineChartDataProvider) -> CGFloat 21 | } 22 | -------------------------------------------------------------------------------- /Line-Chart_3_Final3/Pods/Charts/Source/Charts/Highlight/IHighlighter.swift: -------------------------------------------------------------------------------- 1 | // 2 | // IHighlighter.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc(IChartHighlighter) 16 | public protocol IHighlighter: class 17 | { 18 | /// - Parameters: 19 | /// - x: 20 | /// - y: 21 | /// - Returns: A Highlight object corresponding to the given x- and y- touch positions in pixels. 22 | func getHighlight(x: CGFloat, y: CGFloat) -> Highlight? 23 | } 24 | -------------------------------------------------------------------------------- /Line-Chart_3_Final3/Pods/Charts/Source/Charts/Interfaces/BarChartDataProvider.swift: -------------------------------------------------------------------------------- 1 | // 2 | // BarChartDataProvider.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol BarChartDataProvider: BarLineScatterCandleBubbleChartDataProvider 17 | { 18 | var barData: BarChartData? { get } 19 | 20 | var isDrawBarShadowEnabled: Bool { get } 21 | var isDrawValueAboveBarEnabled: Bool { get } 22 | var isHighlightFullBarEnabled: Bool { get } 23 | } -------------------------------------------------------------------------------- /Line-Chart_3_Final3/Pods/Charts/Source/Charts/Interfaces/BarLineScatterCandleBubbleChartDataProvider.swift: -------------------------------------------------------------------------------- 1 | // 2 | // BarLineScatterCandleBubbleChartDataProvider.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol BarLineScatterCandleBubbleChartDataProvider: ChartDataProvider 17 | { 18 | func getTransformer(forAxis: YAxis.AxisDependency) -> Transformer 19 | func isInverted(axis: YAxis.AxisDependency) -> Bool 20 | 21 | var lowestVisibleX: Double { get } 22 | var highestVisibleX: Double { get } 23 | } 24 | -------------------------------------------------------------------------------- /Line-Chart_3_Final3/Pods/Charts/Source/Charts/Interfaces/BubbleChartDataProvider.swift: -------------------------------------------------------------------------------- 1 | // 2 | // BubbleChartDataProvider.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol BubbleChartDataProvider: BarLineScatterCandleBubbleChartDataProvider 17 | { 18 | var bubbleData: BubbleChartData? { get } 19 | } -------------------------------------------------------------------------------- /Line-Chart_3_Final3/Pods/Charts/Source/Charts/Interfaces/CandleChartDataProvider.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CandleChartDataProvider.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol CandleChartDataProvider: BarLineScatterCandleBubbleChartDataProvider 17 | { 18 | var candleData: CandleChartData? { get } 19 | } -------------------------------------------------------------------------------- /Line-Chart_3_Final3/Pods/Charts/Source/Charts/Interfaces/CombinedChartDataProvider.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CombinedChartDataProvider.swoft 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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol CombinedChartDataProvider: LineChartDataProvider, BarChartDataProvider, BubbleChartDataProvider, CandleChartDataProvider, ScatterChartDataProvider 17 | { 18 | var combinedData: CombinedChartData? { get } 19 | } -------------------------------------------------------------------------------- /Line-Chart_3_Final3/Pods/Charts/Source/Charts/Interfaces/LineChartDataProvider.swift: -------------------------------------------------------------------------------- 1 | // 2 | // LineChartDataProvider.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol LineChartDataProvider: BarLineScatterCandleBubbleChartDataProvider 17 | { 18 | var lineData: LineChartData? { get } 19 | 20 | func getAxis(_ axis: YAxis.AxisDependency) -> YAxis 21 | } 22 | -------------------------------------------------------------------------------- /Line-Chart_3_Final3/Pods/Charts/Source/Charts/Interfaces/ScatterChartDataProvider.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ScatterChartDataProvider.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol ScatterChartDataProvider: BarLineScatterCandleBubbleChartDataProvider 17 | { 18 | var scatterData: ScatterChartData? { get } 19 | } -------------------------------------------------------------------------------- /Line-Chart_3_Final3/Pods/Charts/Source/Charts/Renderers/Renderer.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Renderer.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc(ChartRenderer) 16 | open class Renderer: NSObject 17 | { 18 | /// the component that handles the drawing area of the chart and it's offsets 19 | @objc public let viewPortHandler: ViewPortHandler 20 | 21 | @objc public init(viewPortHandler: ViewPortHandler) 22 | { 23 | self.viewPortHandler = viewPortHandler 24 | super.init() 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /Line-Chart_3_Final3/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - Charts (3.3.0): 3 | - Charts/Core (= 3.3.0) 4 | - Charts/Core (3.3.0) 5 | 6 | DEPENDENCIES: 7 | - Charts 8 | 9 | SPEC REPOS: 10 | https://github.com/cocoapods/specs.git: 11 | - Charts 12 | 13 | SPEC CHECKSUMS: 14 | Charts: ec1f57f9340054155691e84d4544a1d239d382c5 15 | 16 | PODFILE CHECKSUM: 00021cc410a42d5a2fd994bcc5986addab9bdb93 17 | 18 | COCOAPODS: 1.5.3 19 | -------------------------------------------------------------------------------- /Line-Chart_3_Final3/Pods/Pods.xcodeproj/xcuserdata/mallikarjun.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | Charts.xcscheme 8 | 9 | isShown 10 | 11 | orderHint 12 | 0 13 | 14 | Pods-Line-Chart.xcscheme 15 | 16 | isShown 17 | 18 | orderHint 19 | 1 20 | 21 | 22 | SuppressBuildableAutocreation 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /Line-Chart_3_Final3/Pods/Target Support Files/Charts/Charts-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Charts : NSObject 3 | @end 4 | @implementation PodsDummy_Charts 5 | @end 6 | -------------------------------------------------------------------------------- /Line-Chart_3_Final3/Pods/Target Support Files/Charts/Charts-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /Line-Chart_3_Final3/Pods/Target Support Files/Charts/Charts-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double ChartsVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char ChartsVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Line-Chart_3_Final3/Pods/Target Support Files/Charts/Charts.modulemap: -------------------------------------------------------------------------------- 1 | framework module Charts { 2 | umbrella header "Charts-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Line-Chart_3_Final3/Pods/Target Support Files/Charts/Charts.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/Charts 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 4 | PODS_BUILD_DIR = ${BUILD_DIR} 5 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 6 | PODS_ROOT = ${SRCROOT} 7 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/Charts 8 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 9 | SKIP_INSTALL = YES 10 | -------------------------------------------------------------------------------- /Line-Chart_3_Final3/Pods/Target Support Files/Pods-Line-Chart/Pods-Line-Chart-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_Line_Chart : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_Line_Chart 5 | @end 6 | -------------------------------------------------------------------------------- /Line-Chart_3_Final3/Pods/Target Support Files/Pods-Line-Chart/Pods-Line-Chart-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double Pods_Line_ChartVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_Line_ChartVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Line-Chart_3_Final3/Pods/Target Support Files/Pods-Line-Chart/Pods-Line-Chart.debug.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Charts" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 5 | OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/Charts/Charts.framework/Headers" 6 | OTHER_LDFLAGS = $(inherited) -framework "Charts" 7 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 8 | PODS_BUILD_DIR = ${BUILD_DIR} 9 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 10 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 11 | PODS_ROOT = ${SRCROOT}/Pods 12 | -------------------------------------------------------------------------------- /Line-Chart_3_Final3/Pods/Target Support Files/Pods-Line-Chart/Pods-Line-Chart.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_Line_Chart { 2 | umbrella header "Pods-Line-Chart-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Line-Chart_3_Final3/Pods/Target Support Files/Pods-Line-Chart/Pods-Line-Chart.release.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Charts" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 5 | OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/Charts/Charts.framework/Headers" 6 | OTHER_LDFLAGS = $(inherited) -framework "Charts" 7 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 8 | PODS_BUILD_DIR = ${BUILD_DIR} 9 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 10 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 11 | PODS_ROOT = ${SRCROOT}/Pods 12 | -------------------------------------------------------------------------------- /Line-Chart_3_Final4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MallikarjunH/Charts_Examples/aae88f5b4f3845598f6e0584e7158484bf428df8/Line-Chart_3_Final4.png -------------------------------------------------------------------------------- /Line-Chart_3_Final4/Line-Chart.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Line-Chart_3_Final4/Line-Chart.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Line-Chart_3_Final4/Line-Chart.xcodeproj/project.xcworkspace/xcuserdata/mallikarjun.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MallikarjunH/Charts_Examples/aae88f5b4f3845598f6e0584e7158484bf428df8/Line-Chart_3_Final4/Line-Chart.xcodeproj/project.xcworkspace/xcuserdata/mallikarjun.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /Line-Chart_3_Final4/Line-Chart.xcodeproj/xcuserdata/mallikarjun.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | Line-Chart.xcscheme_^#shared#^_ 8 | 9 | orderHint 10 | 2 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /Line-Chart_3_Final4/Line-Chart.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Line-Chart_3_Final4/Line-Chart.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Line-Chart_3_Final4/Line-Chart.xcworkspace/xcuserdata/mallikarjun.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MallikarjunH/Charts_Examples/aae88f5b4f3845598f6e0584e7158484bf428df8/Line-Chart_3_Final4/Line-Chart.xcworkspace/xcuserdata/mallikarjun.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /Line-Chart_3_Final4/Line-Chart/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /Line-Chart_3_Final4/Podfile: -------------------------------------------------------------------------------- 1 | # Uncomment the next line to define a global platform for your project 2 | # platform :ios, '9.0' 3 | 4 | target 'Line-Chart' do 5 | use_frameworks! 6 | 7 | pod 'Charts' 8 | 9 | end 10 | -------------------------------------------------------------------------------- /Line-Chart_3_Final4/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - Charts (3.3.0): 3 | - Charts/Core (= 3.3.0) 4 | - Charts/Core (3.3.0) 5 | 6 | DEPENDENCIES: 7 | - Charts 8 | 9 | SPEC REPOS: 10 | https://github.com/cocoapods/specs.git: 11 | - Charts 12 | 13 | SPEC CHECKSUMS: 14 | Charts: ec1f57f9340054155691e84d4544a1d239d382c5 15 | 16 | PODFILE CHECKSUM: 00021cc410a42d5a2fd994bcc5986addab9bdb93 17 | 18 | COCOAPODS: 1.5.3 19 | -------------------------------------------------------------------------------- /Line-Chart_3_Final4/Pods/Charts/Source/Charts/Charts/BubbleChartView.swift: -------------------------------------------------------------------------------- 1 | // 2 | // BubbleChartView.swift 3 | // Charts 4 | // 5 | // Bubble chart implementation: 6 | // Copyright 2015 Pierre-Marc Airoldi 7 | // Licensed under Apache License 2.0 8 | // 9 | // https://github.com/danielgindi/Charts 10 | // 11 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | open class BubbleChartView: BarLineChartViewBase, BubbleChartDataProvider 16 | { 17 | open override func initialize() 18 | { 19 | super.initialize() 20 | 21 | renderer = BubbleChartRenderer(dataProvider: self, animator: _animator, viewPortHandler: _viewPortHandler) 22 | } 23 | 24 | // MARK: - BubbleChartDataProvider 25 | 26 | open var bubbleData: BubbleChartData? { return _data as? BubbleChartData } 27 | } 28 | -------------------------------------------------------------------------------- /Line-Chart_3_Final4/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarLineScatterCandleBubbleChartData.swift: -------------------------------------------------------------------------------- 1 | // 2 | // BarLineScatterCandleBubbleChartData.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 | 12 | import Foundation 13 | 14 | open class BarLineScatterCandleBubbleChartData: ChartData 15 | { 16 | public override init() 17 | { 18 | super.init() 19 | } 20 | 21 | public override init(dataSets: [IChartDataSet]?) 22 | { 23 | super.init(dataSets: dataSets) 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /Line-Chart_3_Final4/Pods/Charts/Source/Charts/Data/Implementations/Standard/CandleChartData.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CandleChartData.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 | 12 | import Foundation 13 | 14 | open class CandleChartData: BarLineScatterCandleBubbleChartData 15 | { 16 | public override init() 17 | { 18 | super.init() 19 | } 20 | 21 | public override init(dataSets: [IChartDataSet]?) 22 | { 23 | super.init(dataSets: dataSets) 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /Line-Chart_3_Final4/Pods/Charts/Source/Charts/Data/Implementations/Standard/LineChartData.swift: -------------------------------------------------------------------------------- 1 | // 2 | // LineChartData.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 | 12 | import Foundation 13 | 14 | /// Data object that encapsulates all data associated with a LineChart. 15 | open class LineChartData: ChartData 16 | { 17 | public override init() 18 | { 19 | super.init() 20 | } 21 | 22 | public override init(dataSets: [IChartDataSet]?) 23 | { 24 | super.init(dataSets: dataSets) 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /Line-Chart_3_Final4/Pods/Charts/Source/Charts/Data/Interfaces/IBarLineScatterCandleBubbleChartDataSet.swift: -------------------------------------------------------------------------------- 1 | // 2 | // IBarLineScatterCandleBubbleChartDataSet.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol IBarLineScatterCandleBubbleChartDataSet: IChartDataSet 17 | { 18 | // MARK: - Data functions and accessors 19 | 20 | // MARK: - Styling functions and accessors 21 | 22 | var highlightColor: NSUIColor { get set } 23 | var highlightLineWidth: CGFloat { get set } 24 | var highlightLineDashPhase: CGFloat { get set } 25 | var highlightLineDashLengths: [CGFloat]? { get set } 26 | } 27 | -------------------------------------------------------------------------------- /Line-Chart_3_Final4/Pods/Charts/Source/Charts/Data/Interfaces/IBubbleChartDataSet.swift: -------------------------------------------------------------------------------- 1 | // 2 | // IBubbleChartDataSet.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol IBubbleChartDataSet: IBarLineScatterCandleBubbleChartDataSet 17 | { 18 | // MARK: - Data functions and accessors 19 | 20 | var maxSize: CGFloat { get } 21 | var isNormalizeSizeEnabled: Bool { get } 22 | 23 | // MARK: - Styling functions and accessors 24 | 25 | /// Sets/gets the width of the circle that surrounds the bubble when highlighted 26 | var highlightCircleWidth: CGFloat { get set } 27 | } 28 | -------------------------------------------------------------------------------- /Line-Chart_3_Final4/Pods/Charts/Source/Charts/Formatters/IFillFormatter.swift: -------------------------------------------------------------------------------- 1 | // 2 | // IFillFormatter.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | /// Protocol for providing a custom logic to where the filling line of a LineDataSet should end. This of course only works if setFillEnabled(...) is set to true. 16 | @objc(IChartFillFormatter) 17 | public protocol IFillFormatter 18 | { 19 | /// - Returns: The vertical (y-axis) position where the filled-line of the LineDataSet should end. 20 | func getFillLinePosition(dataSet: ILineChartDataSet, dataProvider: LineChartDataProvider) -> CGFloat 21 | } 22 | -------------------------------------------------------------------------------- /Line-Chart_3_Final4/Pods/Charts/Source/Charts/Highlight/IHighlighter.swift: -------------------------------------------------------------------------------- 1 | // 2 | // IHighlighter.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc(IChartHighlighter) 16 | public protocol IHighlighter: class 17 | { 18 | /// - Parameters: 19 | /// - x: 20 | /// - y: 21 | /// - Returns: A Highlight object corresponding to the given x- and y- touch positions in pixels. 22 | func getHighlight(x: CGFloat, y: CGFloat) -> Highlight? 23 | } 24 | -------------------------------------------------------------------------------- /Line-Chart_3_Final4/Pods/Charts/Source/Charts/Interfaces/BarChartDataProvider.swift: -------------------------------------------------------------------------------- 1 | // 2 | // BarChartDataProvider.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol BarChartDataProvider: BarLineScatterCandleBubbleChartDataProvider 17 | { 18 | var barData: BarChartData? { get } 19 | 20 | var isDrawBarShadowEnabled: Bool { get } 21 | var isDrawValueAboveBarEnabled: Bool { get } 22 | var isHighlightFullBarEnabled: Bool { get } 23 | } -------------------------------------------------------------------------------- /Line-Chart_3_Final4/Pods/Charts/Source/Charts/Interfaces/BarLineScatterCandleBubbleChartDataProvider.swift: -------------------------------------------------------------------------------- 1 | // 2 | // BarLineScatterCandleBubbleChartDataProvider.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol BarLineScatterCandleBubbleChartDataProvider: ChartDataProvider 17 | { 18 | func getTransformer(forAxis: YAxis.AxisDependency) -> Transformer 19 | func isInverted(axis: YAxis.AxisDependency) -> Bool 20 | 21 | var lowestVisibleX: Double { get } 22 | var highestVisibleX: Double { get } 23 | } 24 | -------------------------------------------------------------------------------- /Line-Chart_3_Final4/Pods/Charts/Source/Charts/Interfaces/BubbleChartDataProvider.swift: -------------------------------------------------------------------------------- 1 | // 2 | // BubbleChartDataProvider.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol BubbleChartDataProvider: BarLineScatterCandleBubbleChartDataProvider 17 | { 18 | var bubbleData: BubbleChartData? { get } 19 | } -------------------------------------------------------------------------------- /Line-Chart_3_Final4/Pods/Charts/Source/Charts/Interfaces/CandleChartDataProvider.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CandleChartDataProvider.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol CandleChartDataProvider: BarLineScatterCandleBubbleChartDataProvider 17 | { 18 | var candleData: CandleChartData? { get } 19 | } -------------------------------------------------------------------------------- /Line-Chart_3_Final4/Pods/Charts/Source/Charts/Interfaces/CombinedChartDataProvider.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CombinedChartDataProvider.swoft 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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol CombinedChartDataProvider: LineChartDataProvider, BarChartDataProvider, BubbleChartDataProvider, CandleChartDataProvider, ScatterChartDataProvider 17 | { 18 | var combinedData: CombinedChartData? { get } 19 | } -------------------------------------------------------------------------------- /Line-Chart_3_Final4/Pods/Charts/Source/Charts/Interfaces/LineChartDataProvider.swift: -------------------------------------------------------------------------------- 1 | // 2 | // LineChartDataProvider.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol LineChartDataProvider: BarLineScatterCandleBubbleChartDataProvider 17 | { 18 | var lineData: LineChartData? { get } 19 | 20 | func getAxis(_ axis: YAxis.AxisDependency) -> YAxis 21 | } 22 | -------------------------------------------------------------------------------- /Line-Chart_3_Final4/Pods/Charts/Source/Charts/Interfaces/ScatterChartDataProvider.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ScatterChartDataProvider.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol ScatterChartDataProvider: BarLineScatterCandleBubbleChartDataProvider 17 | { 18 | var scatterData: ScatterChartData? { get } 19 | } -------------------------------------------------------------------------------- /Line-Chart_3_Final4/Pods/Charts/Source/Charts/Renderers/Renderer.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Renderer.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc(ChartRenderer) 16 | open class Renderer: NSObject 17 | { 18 | /// the component that handles the drawing area of the chart and it's offsets 19 | @objc public let viewPortHandler: ViewPortHandler 20 | 21 | @objc public init(viewPortHandler: ViewPortHandler) 22 | { 23 | self.viewPortHandler = viewPortHandler 24 | super.init() 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /Line-Chart_3_Final4/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - Charts (3.3.0): 3 | - Charts/Core (= 3.3.0) 4 | - Charts/Core (3.3.0) 5 | 6 | DEPENDENCIES: 7 | - Charts 8 | 9 | SPEC REPOS: 10 | https://github.com/cocoapods/specs.git: 11 | - Charts 12 | 13 | SPEC CHECKSUMS: 14 | Charts: ec1f57f9340054155691e84d4544a1d239d382c5 15 | 16 | PODFILE CHECKSUM: 00021cc410a42d5a2fd994bcc5986addab9bdb93 17 | 18 | COCOAPODS: 1.5.3 19 | -------------------------------------------------------------------------------- /Line-Chart_3_Final4/Pods/Pods.xcodeproj/xcuserdata/mallikarjun.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | Charts.xcscheme 8 | 9 | isShown 10 | 11 | orderHint 12 | 0 13 | 14 | Pods-Line-Chart.xcscheme 15 | 16 | isShown 17 | 18 | orderHint 19 | 1 20 | 21 | 22 | SuppressBuildableAutocreation 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /Line-Chart_3_Final4/Pods/Target Support Files/Charts/Charts-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Charts : NSObject 3 | @end 4 | @implementation PodsDummy_Charts 5 | @end 6 | -------------------------------------------------------------------------------- /Line-Chart_3_Final4/Pods/Target Support Files/Charts/Charts-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /Line-Chart_3_Final4/Pods/Target Support Files/Charts/Charts-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double ChartsVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char ChartsVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Line-Chart_3_Final4/Pods/Target Support Files/Charts/Charts.modulemap: -------------------------------------------------------------------------------- 1 | framework module Charts { 2 | umbrella header "Charts-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Line-Chart_3_Final4/Pods/Target Support Files/Charts/Charts.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/Charts 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 4 | PODS_BUILD_DIR = ${BUILD_DIR} 5 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 6 | PODS_ROOT = ${SRCROOT} 7 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/Charts 8 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 9 | SKIP_INSTALL = YES 10 | -------------------------------------------------------------------------------- /Line-Chart_3_Final4/Pods/Target Support Files/Pods-Line-Chart/Pods-Line-Chart-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_Line_Chart : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_Line_Chart 5 | @end 6 | -------------------------------------------------------------------------------- /Line-Chart_3_Final4/Pods/Target Support Files/Pods-Line-Chart/Pods-Line-Chart-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double Pods_Line_ChartVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_Line_ChartVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Line-Chart_3_Final4/Pods/Target Support Files/Pods-Line-Chart/Pods-Line-Chart.debug.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Charts" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 5 | OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/Charts/Charts.framework/Headers" 6 | OTHER_LDFLAGS = $(inherited) -framework "Charts" 7 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 8 | PODS_BUILD_DIR = ${BUILD_DIR} 9 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 10 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 11 | PODS_ROOT = ${SRCROOT}/Pods 12 | -------------------------------------------------------------------------------- /Line-Chart_3_Final4/Pods/Target Support Files/Pods-Line-Chart/Pods-Line-Chart.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_Line_Chart { 2 | umbrella header "Pods-Line-Chart-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Line-Chart_3_Final4/Pods/Target Support Files/Pods-Line-Chart/Pods-Line-Chart.release.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Charts" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 5 | OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/Charts/Charts.framework/Headers" 6 | OTHER_LDFLAGS = $(inherited) -framework "Charts" 7 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 8 | PODS_BUILD_DIR = ${BUILD_DIR} 9 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 10 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 11 | PODS_ROOT = ${SRCROOT}/Pods 12 | -------------------------------------------------------------------------------- /Line-Chart_3_Final4_Swift_4/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MallikarjunH/Charts_Examples/aae88f5b4f3845598f6e0584e7158484bf428df8/Line-Chart_3_Final4_Swift_4/.DS_Store -------------------------------------------------------------------------------- /Line-Chart_3_Final4_Swift_4/Line-Chart.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Line-Chart_3_Final4_Swift_4/Line-Chart.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Line-Chart_3_Final4_Swift_4/Line-Chart.xcodeproj/project.xcworkspace/xcuserdata/mallikarjun.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MallikarjunH/Charts_Examples/aae88f5b4f3845598f6e0584e7158484bf428df8/Line-Chart_3_Final4_Swift_4/Line-Chart.xcodeproj/project.xcworkspace/xcuserdata/mallikarjun.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /Line-Chart_3_Final4_Swift_4/Line-Chart.xcodeproj/xcuserdata/mallikarjun.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | Line-Chart.xcscheme_^#shared#^_ 8 | 9 | orderHint 10 | 2 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /Line-Chart_3_Final4_Swift_4/Line-Chart.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Line-Chart_3_Final4_Swift_4/Line-Chart.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Line-Chart_3_Final4_Swift_4/Line-Chart.xcworkspace/xcuserdata/mallikarjun.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MallikarjunH/Charts_Examples/aae88f5b4f3845598f6e0584e7158484bf428df8/Line-Chart_3_Final4_Swift_4/Line-Chart.xcworkspace/xcuserdata/mallikarjun.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /Line-Chart_3_Final4_Swift_4/Line-Chart/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /Line-Chart_3_Final4_Swift_4/Podfile: -------------------------------------------------------------------------------- 1 | # Uncomment the next line to define a global platform for your project 2 | # platform :ios, '9.0' 3 | 4 | target 'Line-Chart' do 5 | use_frameworks! 6 | 7 | pod 'Charts', '~> 3.0.4' 8 | 9 | end 10 | -------------------------------------------------------------------------------- /Line-Chart_3_Final4_Swift_4/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - Charts (3.0.5): 3 | - Charts/Core (= 3.0.5) 4 | - Charts/Core (3.0.5) 5 | 6 | DEPENDENCIES: 7 | - Charts (~> 3.0.4) 8 | 9 | SPEC REPOS: 10 | https://github.com/cocoapods/specs.git: 11 | - Charts 12 | 13 | SPEC CHECKSUMS: 14 | Charts: 45cdc985b764c838b35ee47eb1365d15735f6d1a 15 | 16 | PODFILE CHECKSUM: f27fbe6542200f56f37809efc029fb2ea61fd25a 17 | 18 | COCOAPODS: 1.5.3 19 | -------------------------------------------------------------------------------- /Line-Chart_3_Final4_Swift_4/Pods/Charts/Source/Charts/Charts/BubbleChartView.swift: -------------------------------------------------------------------------------- 1 | // 2 | // BubbleChartView.swift 3 | // Charts 4 | // 5 | // Bubble chart implementation: 6 | // Copyright 2015 Pierre-Marc Airoldi 7 | // Licensed under Apache License 2.0 8 | // 9 | // https://github.com/danielgindi/Charts 10 | // 11 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | open class BubbleChartView: BarLineChartViewBase, BubbleChartDataProvider 16 | { 17 | open override func initialize() 18 | { 19 | super.initialize() 20 | 21 | renderer = BubbleChartRenderer(dataProvider: self, animator: _animator, viewPortHandler: _viewPortHandler) 22 | } 23 | 24 | // MARK: - BubbleChartDataProvider 25 | 26 | open var bubbleData: BubbleChartData? { return _data as? BubbleChartData } 27 | } 28 | -------------------------------------------------------------------------------- /Line-Chart_3_Final4_Swift_4/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarLineScatterCandleBubbleChartData.swift: -------------------------------------------------------------------------------- 1 | // 2 | // BarLineScatterCandleBubbleChartData.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 | 12 | import Foundation 13 | 14 | open class BarLineScatterCandleBubbleChartData: ChartData 15 | { 16 | public override init() 17 | { 18 | super.init() 19 | } 20 | 21 | public override init(dataSets: [IChartDataSet]?) 22 | { 23 | super.init(dataSets: dataSets) 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /Line-Chart_3_Final4_Swift_4/Pods/Charts/Source/Charts/Data/Implementations/Standard/CandleChartData.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CandleChartData.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 | 12 | import Foundation 13 | 14 | open class CandleChartData: BarLineScatterCandleBubbleChartData 15 | { 16 | public override init() 17 | { 18 | super.init() 19 | } 20 | 21 | public override init(dataSets: [IChartDataSet]?) 22 | { 23 | super.init(dataSets: dataSets) 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /Line-Chart_3_Final4_Swift_4/Pods/Charts/Source/Charts/Data/Implementations/Standard/LineChartData.swift: -------------------------------------------------------------------------------- 1 | // 2 | // LineChartData.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 | 12 | import Foundation 13 | 14 | /// Data object that encapsulates all data associated with a LineChart. 15 | open class LineChartData: ChartData 16 | { 17 | public override init() 18 | { 19 | super.init() 20 | } 21 | 22 | public override init(dataSets: [IChartDataSet]?) 23 | { 24 | super.init(dataSets: dataSets) 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /Line-Chart_3_Final4_Swift_4/Pods/Charts/Source/Charts/Data/Interfaces/IBubbleChartDataSet.swift: -------------------------------------------------------------------------------- 1 | // 2 | // IBubbleChartDataSet.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol IBubbleChartDataSet: IBarLineScatterCandleBubbleChartDataSet 17 | { 18 | // MARK: - Data functions and accessors 19 | 20 | var maxSize: CGFloat { get } 21 | var isNormalizeSizeEnabled: Bool { get } 22 | 23 | // MARK: - Styling functions and accessors 24 | 25 | /// Sets/gets the width of the circle that surrounds the bubble when highlighted 26 | var highlightCircleWidth: CGFloat { get set } 27 | } 28 | -------------------------------------------------------------------------------- /Line-Chart_3_Final4_Swift_4/Pods/Charts/Source/Charts/Formatters/IFillFormatter.swift: -------------------------------------------------------------------------------- 1 | // 2 | // IFillFormatter.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | /// Protocol for providing a custom logic to where the filling line of a LineDataSet should end. This of course only works if setFillEnabled(...) is set to true. 16 | @objc(IChartFillFormatter) 17 | public protocol IFillFormatter 18 | { 19 | /// - returns: The vertical (y-axis) position where the filled-line of the LineDataSet should end. 20 | func getFillLinePosition(dataSet: ILineChartDataSet, dataProvider: LineChartDataProvider) -> CGFloat 21 | } 22 | -------------------------------------------------------------------------------- /Line-Chart_3_Final4_Swift_4/Pods/Charts/Source/Charts/Highlight/IHighlighter.swift: -------------------------------------------------------------------------------- 1 | // 2 | // IHighlighter.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc(IChartHighlighter) 16 | public protocol IHighlighter: class 17 | { 18 | /// - returns: A Highlight object corresponding to the given x- and y- touch positions in pixels. 19 | /// - parameter x: 20 | /// - parameter y: 21 | /// - returns: 22 | func getHighlight(x: CGFloat, y: CGFloat) -> Highlight? 23 | } 24 | -------------------------------------------------------------------------------- /Line-Chart_3_Final4_Swift_4/Pods/Charts/Source/Charts/Interfaces/BarChartDataProvider.swift: -------------------------------------------------------------------------------- 1 | // 2 | // BarChartDataProvider.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol BarChartDataProvider: BarLineScatterCandleBubbleChartDataProvider 17 | { 18 | var barData: BarChartData? { get } 19 | 20 | var isDrawBarShadowEnabled: Bool { get } 21 | var isDrawValueAboveBarEnabled: Bool { get } 22 | var isHighlightFullBarEnabled: Bool { get } 23 | } -------------------------------------------------------------------------------- /Line-Chart_3_Final4_Swift_4/Pods/Charts/Source/Charts/Interfaces/BarLineScatterCandleBubbleChartDataProvider.swift: -------------------------------------------------------------------------------- 1 | // 2 | // BarLineScatterCandleBubbleChartDataProvider.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol BarLineScatterCandleBubbleChartDataProvider: ChartDataProvider 17 | { 18 | func getTransformer(forAxis: YAxis.AxisDependency) -> Transformer 19 | func isInverted(axis: YAxis.AxisDependency) -> Bool 20 | 21 | var lowestVisibleX: Double { get } 22 | var highestVisibleX: Double { get } 23 | } 24 | -------------------------------------------------------------------------------- /Line-Chart_3_Final4_Swift_4/Pods/Charts/Source/Charts/Interfaces/BubbleChartDataProvider.swift: -------------------------------------------------------------------------------- 1 | // 2 | // BubbleChartDataProvider.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol BubbleChartDataProvider: BarLineScatterCandleBubbleChartDataProvider 17 | { 18 | var bubbleData: BubbleChartData? { get } 19 | } -------------------------------------------------------------------------------- /Line-Chart_3_Final4_Swift_4/Pods/Charts/Source/Charts/Interfaces/CandleChartDataProvider.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CandleChartDataProvider.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol CandleChartDataProvider: BarLineScatterCandleBubbleChartDataProvider 17 | { 18 | var candleData: CandleChartData? { get } 19 | } -------------------------------------------------------------------------------- /Line-Chart_3_Final4_Swift_4/Pods/Charts/Source/Charts/Interfaces/CombinedChartDataProvider.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CombinedChartDataProvider.swoft 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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol CombinedChartDataProvider: LineChartDataProvider, BarChartDataProvider, BubbleChartDataProvider, CandleChartDataProvider, ScatterChartDataProvider 17 | { 18 | var combinedData: CombinedChartData? { get } 19 | } -------------------------------------------------------------------------------- /Line-Chart_3_Final4_Swift_4/Pods/Charts/Source/Charts/Interfaces/LineChartDataProvider.swift: -------------------------------------------------------------------------------- 1 | // 2 | // LineChartDataProvider.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol LineChartDataProvider: BarLineScatterCandleBubbleChartDataProvider 17 | { 18 | var lineData: LineChartData? { get } 19 | 20 | func getAxis(_ axis: YAxis.AxisDependency) -> YAxis 21 | } 22 | -------------------------------------------------------------------------------- /Line-Chart_3_Final4_Swift_4/Pods/Charts/Source/Charts/Interfaces/ScatterChartDataProvider.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ScatterChartDataProvider.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol ScatterChartDataProvider: BarLineScatterCandleBubbleChartDataProvider 17 | { 18 | var scatterData: ScatterChartData? { get } 19 | } -------------------------------------------------------------------------------- /Line-Chart_3_Final4_Swift_4/Pods/Charts/Source/Charts/Renderers/Renderer.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Renderer.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 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc(ChartRenderer) 16 | open class Renderer: NSObject 17 | { 18 | /// the component that handles the drawing area of the chart and it's offsets 19 | @objc open let viewPortHandler: ViewPortHandler 20 | 21 | @objc public init(viewPortHandler: ViewPortHandler) 22 | { 23 | self.viewPortHandler = viewPortHandler 24 | super.init() 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /Line-Chart_3_Final4_Swift_4/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - Charts (3.0.5): 3 | - Charts/Core (= 3.0.5) 4 | - Charts/Core (3.0.5) 5 | 6 | DEPENDENCIES: 7 | - Charts (~> 3.0.4) 8 | 9 | SPEC REPOS: 10 | https://github.com/cocoapods/specs.git: 11 | - Charts 12 | 13 | SPEC CHECKSUMS: 14 | Charts: 45cdc985b764c838b35ee47eb1365d15735f6d1a 15 | 16 | PODFILE CHECKSUM: f27fbe6542200f56f37809efc029fb2ea61fd25a 17 | 18 | COCOAPODS: 1.5.3 19 | -------------------------------------------------------------------------------- /Line-Chart_3_Final4_Swift_4/Pods/Pods.xcodeproj/xcuserdata/mallikarjun.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | Charts.xcscheme 8 | 9 | isShown 10 | 11 | orderHint 12 | 0 13 | 14 | Pods-Line-Chart.xcscheme 15 | 16 | isShown 17 | 18 | orderHint 19 | 1 20 | 21 | 22 | SuppressBuildableAutocreation 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /Line-Chart_3_Final4_Swift_4/Pods/Target Support Files/Charts/Charts-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Charts : NSObject 3 | @end 4 | @implementation PodsDummy_Charts 5 | @end 6 | -------------------------------------------------------------------------------- /Line-Chart_3_Final4_Swift_4/Pods/Target Support Files/Charts/Charts-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /Line-Chart_3_Final4_Swift_4/Pods/Target Support Files/Charts/Charts-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double ChartsVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char ChartsVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Line-Chart_3_Final4_Swift_4/Pods/Target Support Files/Charts/Charts.modulemap: -------------------------------------------------------------------------------- 1 | framework module Charts { 2 | umbrella header "Charts-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Line-Chart_3_Final4_Swift_4/Pods/Target Support Files/Charts/Charts.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/Charts 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 4 | PODS_BUILD_DIR = ${BUILD_DIR} 5 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 6 | PODS_ROOT = ${SRCROOT} 7 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/Charts 8 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 9 | SKIP_INSTALL = YES 10 | -------------------------------------------------------------------------------- /Line-Chart_3_Final4_Swift_4/Pods/Target Support Files/Pods-Line-Chart/Pods-Line-Chart-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_Line_Chart : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_Line_Chart 5 | @end 6 | -------------------------------------------------------------------------------- /Line-Chart_3_Final4_Swift_4/Pods/Target Support Files/Pods-Line-Chart/Pods-Line-Chart-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double Pods_Line_ChartVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_Line_ChartVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Line-Chart_3_Final4_Swift_4/Pods/Target Support Files/Pods-Line-Chart/Pods-Line-Chart.debug.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Charts" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 5 | OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/Charts/Charts.framework/Headers" 6 | OTHER_LDFLAGS = $(inherited) -framework "Charts" 7 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 8 | PODS_BUILD_DIR = ${BUILD_DIR} 9 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 10 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 11 | PODS_ROOT = ${SRCROOT}/Pods 12 | -------------------------------------------------------------------------------- /Line-Chart_3_Final4_Swift_4/Pods/Target Support Files/Pods-Line-Chart/Pods-Line-Chart.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_Line_Chart { 2 | umbrella header "Pods-Line-Chart-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Line-Chart_3_Final4_Swift_4/Pods/Target Support Files/Pods-Line-Chart/Pods-Line-Chart.release.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Charts" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 5 | OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/Charts/Charts.framework/Headers" 6 | OTHER_LDFLAGS = $(inherited) -framework "Charts" 7 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 8 | PODS_BUILD_DIR = ${BUILD_DIR} 9 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 10 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 11 | PODS_ROOT = ${SRCROOT}/Pods 12 | --------------------------------------------------------------------------------