Graphics update

master
Laurent 6 years ago
parent 3705fdeb08
commit 9fca41a8db
  1. 2
      TournamentStats/UI/components/PieChart.swift
  2. 2
      TournamentStats/UI/reports/InfographyView.swift
  3. 6
      TournamentStats/UI/reports/InfographyView.xib

@ -14,7 +14,7 @@ class PieChart : PieChartView {
override init(frame: CGRect) { override init(frame: CGRect) {
super.init(frame: frame) super.init(frame: frame)
self.backgroundColor = UIColor.gray // self.backgroundColor = UIColor.gray
self.holeColor = UIColor.clear self.holeColor = UIColor.clear
self.usePercentValuesEnabled = true self.usePercentValuesEnabled = true

@ -154,7 +154,7 @@ class InfographyView: UIView {
self.container42.addSubview(holdemDistributionPie) self.container42.addSubview(holdemDistributionPie)
self.container42.addMaxConstraints(view: holdemDistributionPie) self.container42.addMaxConstraints(view: holdemDistributionPie)
self.label51.text = "Average WSOP 2019 Event".uppercased() self.label51.text = "Average event"
let ds = generator.averageEvent.first let ds = generator.averageEvent.first
self.collectionView51.register(UINib(nibName: "StatCollectionViewCell", bundle: Bundle.main), forCellWithReuseIdentifier: "Stat") self.collectionView51.register(UINib(nibName: "StatCollectionViewCell", bundle: Bundle.main), forCellWithReuseIdentifier: "Stat")
self.collectionView51.dataSource = ds self.collectionView51.dataSource = ds

@ -40,7 +40,7 @@
<rect key="frame" x="0.0" y="170" width="1300" height="500"/> <rect key="frame" x="0.0" y="170" width="1300" height="500"/>
<subviews> <subviews>
<collectionView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" contentInsetAdjustmentBehavior="always" dataMode="none" translatesAutoresizingMaskIntoConstraints="NO" id="Vh3-97-zuO"> <collectionView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" contentInsetAdjustmentBehavior="always" dataMode="none" translatesAutoresizingMaskIntoConstraints="NO" id="Vh3-97-zuO">
<rect key="frame" x="0.0" y="0.0" width="571.5" height="500"/> <rect key="frame" x="0.0" y="0.0" width="575.5" height="500"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<inset key="scrollIndicatorInsets" minX="0.0" minY="40" maxX="0.0" maxY="0.0"/> <inset key="scrollIndicatorInsets" minX="0.0" minY="40" maxX="0.0" maxY="0.0"/>
<collectionViewFlowLayout key="collectionViewLayout" minimumLineSpacing="10" minimumInteritemSpacing="10" sectionInsetReference="safeArea" id="O06-sl-CBC"> <collectionViewFlowLayout key="collectionViewLayout" minimumLineSpacing="10" minimumInteritemSpacing="10" sectionInsetReference="safeArea" id="O06-sl-CBC">
@ -51,11 +51,11 @@
</collectionViewFlowLayout> </collectionViewFlowLayout>
</collectionView> </collectionView>
<tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" style="grouped" separatorStyle="default" rowHeight="-1" estimatedRowHeight="-1" sectionHeaderHeight="18" sectionFooterHeight="18" translatesAutoresizingMaskIntoConstraints="NO" id="HbR-TC-HeD" customClass="TableView" customModule="TournamentStats" customModuleProvider="target"> <tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" style="grouped" separatorStyle="default" rowHeight="-1" estimatedRowHeight="-1" sectionHeaderHeight="18" sectionFooterHeight="18" translatesAutoresizingMaskIntoConstraints="NO" id="HbR-TC-HeD" customClass="TableView" customModule="TournamentStats" customModuleProvider="target">
<rect key="frame" x="587.5" y="0.0" width="572" height="500"/> <rect key="frame" x="591.5" y="0.0" width="576.5" height="500"/>
<color key="backgroundColor" cocoaTouchSystemColor="groupTableViewBackgroundColor"/> <color key="backgroundColor" cocoaTouchSystemColor="groupTableViewBackgroundColor"/>
</tableView> </tableView>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="IqT-2X-roS"> <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="IqT-2X-roS">
<rect key="frame" x="1175.5" y="0.0" width="124.5" height="500"/> <rect key="frame" x="1184" y="0.0" width="116" height="500"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
</view> </view>
</subviews> </subviews>

Loading…
Cancel
Save