Mercurial > public > stock-charts
diff InteractiveCharts/LineChart/Helpers/IndicatorPoint.swift @ 5:f828c7c408d4
Add source code
author | Dennis Concepción Martín <66180929+denniscm190@users.noreply.github.com> |
---|---|
date | Mon, 26 Apr 2021 19:02:46 +0200 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/InteractiveCharts/LineChart/Helpers/IndicatorPoint.swift Mon Apr 26 19:02:46 2021 +0200 @@ -0,0 +1,23 @@ +// +// IndicatorPoint.swift +// InteractiveCharts +// +// Created by Dennis Concepción Martín on 26/4/21. +// + +import SwiftUI + +struct IndicatorPoint: View { + var body: some View { + Circle() + .frame(width: 20, height: 20) + .foregroundColor(Color(.systemBlue)) + + } +} + +struct IndicatorPoint_Previews: PreviewProvider { + static var previews: some View { + IndicatorPoint() + } +}