view Sources/StockCharts/LineChart/Helpers/IndicatorPoint.swift @ 108:f53d8b9ca92b

Custom style implemented
author Dennis Concepción Martín <dennisconcepcionmartin@gmail.com>
date Sun, 04 Jul 2021 16:40:24 +0100
parents 0c0d38dca6d8
children 5057c45046c1
line wrap: on
line source

//
//  IndicatorPoint.swift
//  StockCharts
//
//  Created by Dennis Concepción Martín on 30/4/21.
//

import SwiftUI

public struct IndicatorPoint: View {
    public var style: LineChartStyle
    
    public var body: some View {
        Circle()
            .frame(width: 20, height: 20)
            .foregroundColor(style.indicatorPointColor)
    }
}