Compare commits

..

2 Commits

Author SHA1 Message Date
Andras Samu 4512fd0d3e Added midnight green color styles 2019-09-19 14:56:03 +02:00
Andras Samu 8a54155e47 Added public modifier 2019-09-11 22:08:33 +02:00
3 changed files with 17 additions and 1 deletions
+16
View File
@@ -64,6 +64,22 @@ public struct Styles {
textColor: Color.white,
legendTextColor: Color.gray)
public static let barChartMidnightGreen = ChartStyle(
backgroundColor: Color(hexString: "#3B5147"), //3B5147, 313D34
accentColor: Color(hexString: "#FFD603"),
secondGradientColor: Color(hexString: "#FFCA04"),
chartFormSize: Form.medium,
textColor: Color.white,
legendTextColor: Color(hexString: "#D2E5E1"))
public static let barChartMidnightGreenLight = ChartStyle(
backgroundColor: Color.white,
accentColor: Color(hexString: "#84A094"), //84A094 , 698378
secondGradientColor: Color(hexString: "#50675D"),
chartFormSize: Form.medium,
textColor: Color.black,
legendTextColor:Color.gray)
public static let pieChartStyleOne = ChartStyle(
backgroundColor: Color.white,
accentColor: Colors.OrangeStart,
@@ -8,7 +8,7 @@
import SwiftUI
struct LineChartView: View {
public struct LineChartView: View {
let selectionFeedbackGenerator = UISelectionFeedbackGenerator()
@ObservedObject var data:ChartData
public var title: String