Mercurial > public > stock-charts
comparison Sources/StockCharts/LineChart/Helpers/ChartLabel.swift @ 100:721885770d23
Change font
author | Dennis Concepción Martín <dennisconcepcionmartin@gmail.com> |
---|---|
date | Tue, 22 Jun 2021 16:34:31 +0200 |
parents | ff09f5279e06 |
children | ffc7731f7206 |
comparison
equal
deleted
inserted
replaced
99:ff09f5279e06 | 100:721885770d23 |
---|---|
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(.callout) | 31 .font(.caption) |
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 |