Mercurial > public > stock-charts
comparison Sources/StockCharts/LineChart/Helpers/ChartLabel.swift @ 99:ff09f5279e06
Update font
author | Dennis Concepción Martín <dennisconcepcionmartin@gmail.com> |
---|---|
date | Tue, 22 Jun 2021 16:22:40 +0200 |
parents | 127af64e264e |
children | 721885770d23 |
comparison
equal
deleted
inserted
replaced
98:46e874c1f459 | 99:ff09f5279e06 |
---|---|
26 Text(hour) | 26 Text(hour) |
27 } | 27 } |
28 Text("\(data[indexPosition], specifier: "%.2f")") | 28 Text("\(data[indexPosition], specifier: "%.2f")") |
29 .foregroundColor(Color(.systemBlue)) | 29 .foregroundColor(Color(.systemBlue)) |
30 } | 30 } |
31 .font(.headline) | 31 .font(.callout) |
32 } | 32 } |
33 } | 33 } |
34 | 34 |
35 /* | 35 /* |
36 Take string in format yy-MM-dd (2021-01-01) and transform it | 36 Take string in format yy-MM-dd (2021-01-01) and transform it |