Skip to content

Commit

Permalink
Documentation improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
mecid committed May 5, 2022
1 parent 15ec655 commit e008a8a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Sources/SwiftUICharts/BarChartView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,14 @@ import SwiftUI
public struct BarChartStyle: ChartStyle {
/// Minimal height for a bar chart view
public let barMinHeight: CGFloat

/// Boolean value indicating whenever show chart axis
public let showAxis: Bool
/// Leading padding for the value axis displayed in the chart
public let axisLeadingPadding: CGFloat

/// Boolean value indicating whenever show chart labels
public let showLabels: Bool
/// The count of labels that should be shown below the chart. Nil value shows all the labels.
public let labelCount: Int?

public let showLegends: Bool
/**
Creates new bar chart style with the following parameters.
Expand Down
2 changes: 2 additions & 0 deletions Sources/SwiftUICharts/LineChartView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,11 @@ import SwiftUI
public struct LineChartStyle: ChartStyle {
/// Minimal height for a line chart view
public let lineMinHeight: CGFloat
/// Boolean value indicating whenever show chart axis
public let showAxis: Bool
/// Leading padding for the value axis displayed in the chart
public let axisLeadingPadding: CGFloat
/// Boolean value indicating whenever show chart labels
public let showLabels: Bool
/// The count of labels that should be shown below the chart. Nil value shows all the labels.
public let labelCount: Int?
Expand Down

0 comments on commit e008a8a

Please sign in to comment.