// // NoDataChartView.swift // HPlusFit // // Created by lemo. on 2019/9/24. // Copyright © 2019 lemo. All rights reserved. // import UIKit class NoDataChartView: UIView { override init(frame: CGRect) { super.init(frame: frame) let noDataLabel = UILabel() noDataLabel.frame = self.bounds noDataLabel.text = MultiLanguageKey_FB.noDataTipFB.localized noDataLabel.textAlignment = .center noDataLabel.font = SystemRegularFont(15.0) noDataLabel.textColor = kRGBA(50.0, 50.0, 50.0, 0.5) addSubview(noDataLabel) } required init?(coder aDecoder: NSCoder) { fatalError("init(coder:) has not been implemented") } }