@urvish-procare/react-native-charts-wrapper 0.6.0 → 0.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/android/build.gradle +1 -1
- package/ios/ReactNativeCharts/bar/RNBarChartView.swift +0 -6
- package/ios/ReactNativeCharts/bar/RNHorizontalBarChartView.swift +0 -6
- package/ios/ReactNativeCharts/bubble/RNBubbleChartView.swift +1 -4
- package/ios/ReactNativeCharts/candlestick/RNCandleStickChartView.swift +0 -5
- package/ios/ReactNativeCharts/combine/RNCombinedChartView.swift +0 -5
- package/ios/ReactNativeCharts/pie/RNPieChartView.swift +0 -5
- package/ios/ReactNativeCharts/radar/RNRadarChartView.swift +0 -5
- package/ios/ReactNativeCharts/scatter/RNScatterChartView.swift +0 -5
- package/package.json +3 -3
- package/react-native-charts-wrapper.podspec +2 -2
package/android/build.gradle
CHANGED
|
@@ -29,12 +29,6 @@ class RNBarChartView: RNBarChartViewBase {
|
|
|
29
29
|
self.addSubview(_chart)
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
override func layoutSubviews() {
|
|
33
|
-
super.layoutSubviews()
|
|
34
|
-
_chart.frame = self.bounds // Adjust the chart's frame to fill the entire component's bounds
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
|
|
38
32
|
required init?(coder aDecoder: NSCoder) {
|
|
39
33
|
fatalError("init(coder:) has not been implemented")
|
|
40
34
|
}
|
|
@@ -29,12 +29,6 @@ class RNHorizontalBarChartView: RNBarChartViewBase {
|
|
|
29
29
|
self.addSubview(_chart)
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
override func layoutSubviews() {
|
|
33
|
-
super.layoutSubviews()
|
|
34
|
-
_chart.frame = self.bounds // Adjust the chart's frame to fill the entire component's bounds
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
|
|
38
32
|
required init?(coder aDecoder: NSCoder) {
|
|
39
33
|
fatalError("init(coder:) has not been implemented")
|
|
40
34
|
}
|
|
@@ -29,10 +29,7 @@ class RNBubbleChartView: RNBarLineChartViewBase {
|
|
|
29
29
|
self.addSubview(_chart)
|
|
30
30
|
|
|
31
31
|
}
|
|
32
|
-
|
|
33
|
-
super.layoutSubviews()
|
|
34
|
-
_chart.frame = self.bounds // Adjust the chart's frame to fill the entire component's bounds
|
|
35
|
-
}
|
|
32
|
+
|
|
36
33
|
required public init?(coder aDecoder: NSCoder) {
|
|
37
34
|
fatalError("init(coder:) has not been implemented")
|
|
38
35
|
}
|
|
@@ -30,11 +30,6 @@ class RNCandleStickChartView: RNBarLineChartViewBase {
|
|
|
30
30
|
self.addSubview(_chart);
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
override func layoutSubviews() {
|
|
34
|
-
super.layoutSubviews()
|
|
35
|
-
_chart.frame = self.bounds // Adjust the chart's frame to fill the entire component's bounds
|
|
36
|
-
}
|
|
37
|
-
|
|
38
33
|
required init?(coder aDecoder: NSCoder) {
|
|
39
34
|
fatalError("init(coder:) has not been implemented")
|
|
40
35
|
}
|
|
@@ -29,11 +29,6 @@ class RNCombinedChartView: RNBarLineChartViewBase {
|
|
|
29
29
|
self.addSubview(_chart)
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
override func layoutSubviews() {
|
|
33
|
-
super.layoutSubviews()
|
|
34
|
-
_chart.frame = self.bounds // Adjust the chart's frame to fill the entire component's bounds
|
|
35
|
-
}
|
|
36
|
-
|
|
37
32
|
required init?(coder aDecoder: NSCoder) {
|
|
38
33
|
fatalError("init(coder:) has not been implemented")
|
|
39
34
|
}
|
|
@@ -29,11 +29,6 @@ class RNPieChartView: RNChartViewBase {
|
|
|
29
29
|
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
override func layoutSubviews() {
|
|
33
|
-
super.layoutSubviews()
|
|
34
|
-
_chart.frame = self.bounds // Adjust the chart's frame to fill the entire component's bounds
|
|
35
|
-
}
|
|
36
|
-
|
|
37
32
|
required init?(coder aDecoder: NSCoder) {
|
|
38
33
|
fatalError("init(coder:) has not been implemented")
|
|
39
34
|
}
|
|
@@ -37,11 +37,6 @@ class RNRadarChartView: RNYAxisChartViewBase {
|
|
|
37
37
|
self.addSubview(_chart)
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
override func layoutSubviews() {
|
|
41
|
-
super.layoutSubviews()
|
|
42
|
-
_chart.frame = self.bounds // Adjust the chart's frame to fill the entire component's bounds
|
|
43
|
-
}
|
|
44
|
-
|
|
45
40
|
required init?(coder aDecoder: NSCoder) {
|
|
46
41
|
fatalError("init(coder:) has not been implemented")
|
|
47
42
|
}
|
|
@@ -29,11 +29,6 @@ class RNScatterChartView: RNBarLineChartViewBase {
|
|
|
29
29
|
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
override func layoutSubviews() {
|
|
33
|
-
super.layoutSubviews()
|
|
34
|
-
_chart.frame = self.bounds // Adjust the chart's frame to fill the entire component's bounds
|
|
35
|
-
}
|
|
36
|
-
|
|
37
32
|
required init?(coder aDecoder: NSCoder) {
|
|
38
33
|
fatalError("init(coder:) has not been implemented")
|
|
39
34
|
}
|
package/package.json
CHANGED
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
"name": "@urvish-procare/react-native-charts-wrapper",
|
|
3
3
|
"repository": {
|
|
4
4
|
"type": "git",
|
|
5
|
-
"url": "https://github.com/
|
|
5
|
+
"url": "https://github.com/urvish-procare/react-native-charts-wrapper.git"
|
|
6
6
|
},
|
|
7
|
-
"version": "0.6.
|
|
7
|
+
"version": "0.6.2",
|
|
8
8
|
"description": "A react-native charts support both android and iOS.",
|
|
9
9
|
"author": "wuxudong",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"nativePackage": true,
|
|
12
|
-
"homepage": "https://github.com/
|
|
12
|
+
"homepage": "https://github.com/urvish-procare/react-native-charts-wrapper",
|
|
13
13
|
"keywords": [
|
|
14
14
|
"react native",
|
|
15
15
|
"chart",
|
|
@@ -3,7 +3,7 @@ require "json"
|
|
|
3
3
|
package = JSON.parse(File.read(File.join(__dir__, "package.json")))
|
|
4
4
|
|
|
5
5
|
Pod::Spec.new do |s|
|
|
6
|
-
s.name = 'react-native-charts-wrapper'
|
|
6
|
+
s.name = '@urvish-procare/react-native-charts-wrapper'
|
|
7
7
|
s.version = package["version"]
|
|
8
8
|
s.summary = package["description"]
|
|
9
9
|
s.author = package["author"]
|
|
@@ -13,7 +13,7 @@ Pod::Spec.new do |s|
|
|
|
13
13
|
s.license = package["license"]
|
|
14
14
|
s.platform = :ios, "12.0"
|
|
15
15
|
|
|
16
|
-
s.source = { :git => "https://github.com/
|
|
16
|
+
s.source = { :git => "https://github.com/urvish-procare/react-native-charts-wrapper.git", :tag => "#{s.version}" }
|
|
17
17
|
s.source_files = "ios/ReactNativeCharts/**/*.{h,m,swift}"
|
|
18
18
|
s.static_framework = true
|
|
19
19
|
|