Skip to content

Commit

Permalink
Chart style protocol refactored
Browse files Browse the repository at this point in the history
  • Loading branch information
mecid committed May 5, 2022
1 parent e008a8a commit b184fb9
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions Sources/SwiftUICharts/Model/ChartStyle.swift
Original file line number Diff line number Diff line change
@@ -1,19 +1,13 @@
//
// File.swift
//
// ChartStyle.swift
// SwiftUICharts
//
// Created by Majid Jabrayilov on 08.12.20.
//
import SwiftUI

/// Protocol type that defines general chart styling options
public protocol ChartStyle {
/// Boolean value indicating whenever show chart labels
var showLabels: Bool { get }

/// Boolean value indicating whenever show chart axis
var showAxis: Bool { get }

/// Boolean value indicating whenever show chart legends
var showLegends: Bool { get }
}
Expand Down

0 comments on commit b184fb9

Please sign in to comment.