Mercurial > public > stock-charts
comparison Sources/StockCharts/LineChart/LineChartView.swift @ 98:46e874c1f459 1.2.4
Remove padding
author | Dennis Concepción Martín <dennisconcepcionmartin@gmail.com> |
---|---|
date | Tue, 22 Jun 2021 16:11:26 +0200 |
parents | b9aa9d7b030d |
children | f53d8b9ca92b |
comparison
equal
deleted
inserted
replaced
97:7601dfc0d1f5 | 98:46e874c1f459 |
---|---|
27 if !data.isEmpty { | 27 if !data.isEmpty { |
28 VStack { | 28 VStack { |
29 if dragGesture ?? true { | 29 if dragGesture ?? true { |
30 ChartLabel(data: data, dates: dates, hours: hours, indexPosition: $indexPosition) | 30 ChartLabel(data: data, dates: dates, hours: hours, indexPosition: $indexPosition) |
31 .opacity(showingIndicators ? 1: 0) | 31 .opacity(showingIndicators ? 1: 0) |
32 .padding(.vertical) | |
33 } | 32 } |
34 | 33 |
35 LineView(data: data, dates: dates, hours: hours, dragGesture: dragGesture, showingIndicators: $showingIndicators, indexPosition: $indexPosition) | 34 LineView(data: data, dates: dates, hours: hours, dragGesture: dragGesture, showingIndicators: $showingIndicators, indexPosition: $indexPosition) |
36 } | 35 } |
37 } | 36 } |