rn-native-ios-charts 0.2.1 → 0.2.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.
@@ -858,10 +858,14 @@ private extension View {
858
858
  /// Trading-chart X mode: 0pt plot-dimension padding so the first
859
859
  /// and last data points sit flush against the chart's edges. Use
860
860
  /// when the axis is hidden and you want the line to bleed.
861
+ /// `plotDimension` takes separate `startPadding` / `endPadding` —
862
+ /// there's no single `padding:` form on this API.
861
863
  @ViewBuilder
862
864
  func conditionalTightX(enabled: Bool) -> some View {
863
865
  if enabled {
864
- self.chartXScale(range: .plotDimension(padding: 0))
866
+ self.chartXScale(
867
+ range: .plotDimension(startPadding: 0, endPadding: 0)
868
+ )
865
869
  } else {
866
870
  self
867
871
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rn-native-ios-charts",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "Native SwiftUI Charts for React Native / Expo. iOS-only, zero-compromise charts that bypass the limitations of cross-platform chart libraries.",
5
5
  "main": "src/index.ts",
6
6
  "types": "src/index.ts",