diff --git a/docs/.nojekyll b/docs/.nojekyll new file mode 100644 index 00000000..e69de29b diff --git a/docs/Classes.html b/docs/Classes.html new file mode 100644 index 00000000..597b6550 --- /dev/null +++ b/docs/Classes.html @@ -0,0 +1,895 @@ + + + + Classes Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

Classes

+

The following classes are available globally.

+ +
+
+ +
+
+
+ +
+
+
+ +
+
+ + + diff --git a/docs/Classes/BarChartData.html b/docs/Classes/BarChartData.html new file mode 100644 index 00000000..fa7fe15d --- /dev/null +++ b/docs/Classes/BarChartData.html @@ -0,0 +1,1355 @@ + + + + BarChartData Class Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

BarChartData

+
+
+ +
public final class BarChartData : CTBarChartDataProtocol, GetDataProtocol, Publishable, PointOfInterestProtocol
+ +
+
+

Data for drawing and styling a standard Bar Chart.

+ +
+
+ +
+
+
+
+ + +
+ +

Properties +

+
+
+
    +
  • +
    + + + + id + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let id: UUID
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + dataSets + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var dataSets: BarDataSet { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + metadata + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var metadata: ChartMetadata { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + xAxisLabels + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var xAxisLabels: [String]? { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + yAxisLabels + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var yAxisLabels: [String]? { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + barStyle + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var barStyle: BarStyle { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + chartStyle + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var chartStyle: BarChartStyle { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + legends + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var legends: [LegendData] { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + viewData + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var viewData: ChartViewData { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + infoView + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var infoView: InfoViewData<BarChartDataPoint> { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + extraLineData + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var extraLineData: ExtraLineData? { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + subscription + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var subscription: Set<AnyCancellable>
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let touchedDataPointPublisher: PassthroughSubject<BarChartData.DataPoint, Never>
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + noDataText + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final var noDataText: Text
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + chartType + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final let chartType: (chartType: ChartType, dataSetType: DataSetType)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + disableAnimation + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var disableAnimation: Bool
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Initializer +

+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Initialises a standard Bar Chart.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    dataSets: BarDataSet,
    +    metadata: ChartMetadata = ChartMetadata(),
    +    xAxisLabels: [String]? = nil,
    +    yAxisLabels: [String]? = nil,
    +    barStyle: BarStyle = BarStyle(),
    +    chartStyle: BarChartStyle = BarChartStyle(),
    +    noDataText: Text = Text("No Data")
    +)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + dataSets + + +
    +

    Data to draw and style the bars.

    +
    +
    + + metadata + + +
    +

    Data model containing the charts Title, Subtitle and the Title for Legend.

    +
    +
    + + xAxisLabels + + +
    +

    Labels for the X axis instead of the labels in the data points.

    +
    +
    + + yAxisLabels + + +
    +

    Labels for the Y axis instead of the labels generated from data point values.

    +
    +
    + + barStyle + + +
    +

    Control for the aesthetic of the bar chart.

    +
    +
    + + chartStyle + + +
    +

    The style data for the aesthetic of the chart.

    +
    +
    + + noDataText + + +
    +

    Customisable Text to display when where is not enough data to draw the chart.

    +
    +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Labels +

+
+
+
    +
  • +
    + + + + getXAxisLabels() + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final func getXAxisLabels() -> some View
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Touch +

+
+
+ +
+
+
+ +
+
+ + + diff --git a/docs/Classes/ChartImageController.html b/docs/Classes/ChartImageController.html new file mode 100644 index 00000000..51975e14 --- /dev/null +++ b/docs/Classes/ChartImageController.html @@ -0,0 +1,599 @@ + + + + ChartImageController Class Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

ChartImageController

+ +
+
+ +
+
+
+
    +
  • +
    + + + + controller + +
    +
    +
    +
    +
    +
    + +
    +
    +
    +
  • +
  • +
    + + + + init() + +
    +
    +
    +
    +
    +
    + +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Classes/ChartImageHostingController.html b/docs/Classes/ChartImageHostingController.html new file mode 100644 index 00000000..6112fc66 --- /dev/null +++ b/docs/Classes/ChartImageHostingController.html @@ -0,0 +1,635 @@ + + + + ChartImageHostingController Class Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

ChartImageHostingController

+ +
+
+ +
+
+
+ +
+
+
+ +
+
+ + + diff --git a/docs/Classes/DoughnutChartData.html b/docs/Classes/DoughnutChartData.html new file mode 100644 index 00000000..8750b3f5 --- /dev/null +++ b/docs/Classes/DoughnutChartData.html @@ -0,0 +1,1144 @@ + + + + DoughnutChartData Class Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

DoughnutChartData

+
+
+ +
public final class DoughnutChartData : CTDoughnutChartDataProtocol, Publishable
+ +
+
+

Data for drawing and styling a doughnut chart.

+ +

This model contains the data and styling information for a doughnut chart.

+ +
+
+ +
+
+
+
+ + +
+ +

Properties +

+
+
+
    +
  • +
    + + + + id + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var id: UUID
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + dataSets + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var dataSets: PieDataSet { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + metadata + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var metadata: ChartMetadata { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + chartStyle + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var chartStyle: DoughnutChartStyle { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + legends + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var legends: [LegendData] { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + infoView + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var infoView: InfoViewData<PieChartDataPoint> { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + subscription + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var subscription: Set<AnyCancellable>
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let touchedDataPointPublisher: PassthroughSubject<DoughnutChartData.DataPoint, Never>
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + noDataText + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final var noDataText: Text
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + chartType + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final var chartType: (chartType: ChartType, dataSetType: DataSetType)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + disableAnimation + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var disableAnimation: Bool
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Initializer +

+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Initialises Doughnut Chart data.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    dataSets: PieDataSet,
    +    metadata: ChartMetadata,
    +    chartStyle: DoughnutChartStyle = DoughnutChartStyle(),
    +    noDataText: Text
    +)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + +
    + + dataSets + + +
    +

    Data to draw and style the chart.

    +
    +
    + + metadata + + +
    +

    Data model containing the charts Title, Subtitle and the Title for Legend.

    +
    +
    + + chartStyle + + +
    +

    The style data for the aesthetic of the chart.

    +
    +
    + + noDataText + + +
    +

    Customisable Text to display when where is not enough data to draw the chart.

    +
    +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final func getTouchInteraction(touchLocation: CGPoint, chartSize: CGRect) -> some View
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + SetType + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias SetType = PieDataSet
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + DataPoint + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias DataPoint = PieChartDataPoint
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + CTStyle + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias CTStyle = DoughnutChartStyle
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Touch +

+
+
+ +
+
+
+ +
+
+ + + diff --git a/docs/Classes/GroupedBarChartData.html b/docs/Classes/GroupedBarChartData.html new file mode 100644 index 00000000..531c1be7 --- /dev/null +++ b/docs/Classes/GroupedBarChartData.html @@ -0,0 +1,1398 @@ + + + + GroupedBarChartData Class Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

GroupedBarChartData

+
+
+ +
public final class GroupedBarChartData : CTMultiBarChartDataProtocol, GetDataProtocol, Publishable, PointOfInterestProtocol
+ +
+
+

Data model for drawing and styling a Grouped Bar Chart.

+ +

The grouping data informs the model as to how the datapoints are linked.

+
+ +
+
+ +
+
+
+
+ + +
+ +

Properties +

+
+
+
    +
  • +
    + + + + id + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let id: UUID
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + dataSets + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var dataSets: GroupedBarDataSets { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + metadata + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var metadata: ChartMetadata { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + xAxisLabels + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var xAxisLabels: [String]? { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + yAxisLabels + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var yAxisLabels: [String]? { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + barStyle + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var barStyle: BarStyle { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + chartStyle + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var chartStyle: BarChartStyle { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + legends + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var legends: [LegendData] { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + viewData + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var viewData: ChartViewData { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + infoView + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var infoView: InfoViewData<GroupedBarDataPoint> { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + groups + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var groups: [GroupingData] { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + extraLineData + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var extraLineData: ExtraLineData? { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + subscription + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var subscription: Set<AnyCancellable>
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let touchedDataPointPublisher: PassthroughSubject<GroupedBarChartData.DataPoint, Never>
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + noDataText + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final var noDataText: Text
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + chartType + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final var chartType: (chartType: ChartType, dataSetType: DataSetType)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + disableAnimation + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var disableAnimation: Bool
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Initializer +

+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Initialises a Grouped Bar Chart.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    dataSets: GroupedBarDataSets,
    +    groups: [GroupingData],
    +    metadata: ChartMetadata = ChartMetadata(),
    +    xAxisLabels: [String]? = nil,
    +    yAxisLabels: [String]? = nil,
    +    barStyle: BarStyle = BarStyle(),
    +    chartStyle: BarChartStyle = BarChartStyle(),
    +    noDataText: Text = Text("No Data")
    +)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + dataSets + + +
    +

    Data to draw and style the bars.

    +
    +
    + + groups + + +
    +

    Information for how to group the data points.

    +
    +
    + + metadata + + +
    +

    Data model containing the charts Title, Subtitle and the Title for Legend.

    +
    +
    + + xAxisLabels + + +
    +

    Labels for the X axis instead of the labels in the data points.

    +
    +
    + + yAxisLabels + + +
    +

    Labels for the Y axis instead of the labels generated from data point values.

    +
    +
    + + barStyle + + +
    +

    Control for the aesthetic of the bar chart.

    +
    +
    + + chartStyle + + +
    +

    The style data for the aesthetic of the chart.

    +
    +
    + + noDataText + + +
    +

    Customisable Text to display when where is not enough data to draw the chart.

    +
    +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Labels +

+
+
+
    +
  • +
    + + + + getXAxisLabels() + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final func getXAxisLabels() -> some View
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Touch +

+
+
+ +
+
+
+ +
+
+ + + diff --git a/docs/Classes/HorizontalBarChartData.html b/docs/Classes/HorizontalBarChartData.html new file mode 100644 index 00000000..3852e09e --- /dev/null +++ b/docs/Classes/HorizontalBarChartData.html @@ -0,0 +1,1381 @@ + + + + HorizontalBarChartData Class Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

HorizontalBarChartData

+
+
+ +
public final class HorizontalBarChartData : CTHorizontalBarChartDataProtocol, GetDataProtocol, Publishable, PointOfInterestProtocol
+ +
+
+

Data for drawing and styling a standard Bar Chart.

+ +
+
+ +
+
+
+
+ + +
+ +

Properties +

+
+
+
    +
  • +
    + + + + id + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let id: UUID
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + dataSets + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var dataSets: BarDataSet { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + metadata + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var metadata: ChartMetadata { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + xAxisLabels + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var xAxisLabels: [String]? { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + yAxisLabels + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var yAxisLabels: [String]? { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + barStyle + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var barStyle: BarStyle { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + chartStyle + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var chartStyle: BarChartStyle { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + legends + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var legends: [LegendData] { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + viewData + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var viewData: ChartViewData { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + infoView + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var infoView: InfoViewData<BarChartDataPoint> { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + extraLineData + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var extraLineData: ExtraLineData? { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + subscription + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var subscription: Set<AnyCancellable>
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let touchedDataPointPublisher: PassthroughSubject<HorizontalBarChartData.DataPoint, Never>
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + noDataText + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final var noDataText: Text
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + chartType + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final let chartType: (chartType: ChartType, dataSetType: DataSetType)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + disableAnimation + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var disableAnimation: Bool
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Initializer +

+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Initialises a standard Bar Chart.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    dataSets: BarDataSet,
    +    metadata: ChartMetadata = ChartMetadata(),
    +    xAxisLabels: [String]? = nil,
    +    yAxisLabels: [String]? = nil,
    +    barStyle: BarStyle = BarStyle(),
    +    chartStyle: BarChartStyle = BarChartStyle(),
    +    noDataText: Text = Text("No Data")
    +)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + dataSets + + +
    +

    Data to draw and style the bars.

    +
    +
    + + metadata + + +
    +

    Data model containing the charts Title, Subtitle and the Title for Legend.

    +
    +
    + + xAxisLabels + + +
    +

    Labels for the X axis instead of the labels in the data points.

    +
    +
    + + yAxisLabels + + +
    +

    Labels for the Y axis instead of the labels generated from data point values.

    +
    +
    + + barStyle + + +
    +

    Control for the aesthetic of the bar chart.

    +
    +
    + + chartStyle + + +
    +

    The style data for the aesthetic of the chart.

    +
    +
    + + noDataText + + +
    +

    Customisable Text to display when where is not enough data to draw the chart.

    +
    +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Labels +

+
+
+
    +
  • +
    + + + + getXAxisLabels() + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final func getXAxisLabels() -> some View
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + getYAxisLabels() + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final func getYAxisLabels() -> some View
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Touch +

+
+
+ +
+
+
+ +
+
+ + + diff --git a/docs/Classes/LineChartData.html b/docs/Classes/LineChartData.html new file mode 100644 index 00000000..f819cc7e --- /dev/null +++ b/docs/Classes/LineChartData.html @@ -0,0 +1,1330 @@ + + + + LineChartData Class Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

LineChartData

+
+
+ +
public final class LineChartData : CTLineChartDataProtocol, GetDataProtocol, Publishable, PointOfInterestProtocol
+ +
+
+

Data for drawing and styling a single line, line chart.

+ +

This model contains the data and styling information for a single line, line chart.

+ +
+
+ +
+
+
+
+ + +
+ +

Properties +

+
+
+
    +
  • +
    + + + + id + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final let id: UUID
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + dataSets + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var dataSets: LineDataSet { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + metadata + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var metadata: ChartMetadata { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + xAxisLabels + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var xAxisLabels: [String]? { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + yAxisLabels + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var yAxisLabels: [String]? { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + chartStyle + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var chartStyle: LineChartStyle { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + legends + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var legends: [LegendData] { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + viewData + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var viewData: ChartViewData { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + infoView + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var infoView: InfoViewData<LineChartDataPoint> { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + noDataText + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final var noDataText: Text
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + chartType + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final var chartType: (chartType: ChartType, dataSetType: DataSetType)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + extraLineData + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var extraLineData: ExtraLineData? { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + subscription + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var subscription: Set<AnyCancellable>
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let touchedDataPointPublisher: PassthroughSubject<LineChartData.DataPoint, Never>
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + disableAnimation + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var disableAnimation: Bool
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Initializer +

+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Initialises a Single Line Chart.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    dataSets: LineDataSet,
    +    metadata: ChartMetadata = ChartMetadata(),
    +    xAxisLabels: [String]? = nil,
    +    yAxisLabels: [String]? = nil,
    +    chartStyle: LineChartStyle = LineChartStyle(),
    +    noDataText: Text = Text("No Data")
    +)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + dataSets + + +
    +

    Data to draw and style a line.

    +
    +
    + + metadata + + +
    +

    Data model containing the charts Title, Subtitle and the Title for Legend.

    +
    +
    + + xAxisLabels + + +
    +

    Labels for the X axis instead of the labels in the data points.

    +
    +
    + + yAxisLabels + + +
    +

    Labels for the Y axis instead of the labels generated from data point values.

    +
    +
    + + chartStyle + + +
    +

    The style data for the aesthetic of the chart.

    +
    +
    + + noDataText + + +
    +

    Customisable Text to display when where is not enough data to draw the chart.

    +
    +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Labels +

+
+
+
    +
  • +
    + + + + getXAxisLabels() + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final func getXAxisLabels() -> some View
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Points +

+
+
+
    +
  • +
    + + + + getPointMarker() + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final func getPointMarker() -> some View
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final func getTouchInteraction(touchLocation: CGPoint, chartSize: CGRect) -> some View
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + SetType + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias SetType = LineDataSet
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + DataPoint + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias DataPoint = LineChartDataPoint
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Touch +

+
+
+ +
+
+
+ +
+
+ + + diff --git a/docs/Classes/MultiLineChartData.html b/docs/Classes/MultiLineChartData.html new file mode 100644 index 00000000..9d35acf2 --- /dev/null +++ b/docs/Classes/MultiLineChartData.html @@ -0,0 +1,1395 @@ + + + + MultiLineChartData Class Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

MultiLineChartData

+
+
+ +
public final class MultiLineChartData : CTLineChartDataProtocol, GetDataProtocol, Publishable, PointOfInterestProtocol
+ +
+
+

Data for drawing and styling a multi line, line chart.

+ +

This model contains all the data and styling information for a single line, line chart.

+ +
+
+ +
+
+
+
+ + +
+ +

Properties +

+
+
+
    +
  • +
    + + + + id + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let id: UUID
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + dataSets + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var dataSets: MultiLineDataSet { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + metadata + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var metadata: ChartMetadata { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + xAxisLabels + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var xAxisLabels: [String]? { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + yAxisLabels + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var yAxisLabels: [String]? { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + chartStyle + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var chartStyle: LineChartStyle { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + legends + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var legends: [LegendData] { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + viewData + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var viewData: ChartViewData { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + infoView + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var infoView: InfoViewData<LineChartDataPoint> { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + noDataText + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final var noDataText: Text
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + chartType + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final var chartType: (chartType: ChartType, dataSetType: DataSetType)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + extraLineData + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var extraLineData: ExtraLineData? { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + subscription + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var subscription: Set<AnyCancellable>
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let touchedDataPointPublisher: PassthroughSubject<MultiLineChartData.DataPoint, Never>
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + disableAnimation + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var disableAnimation: Bool
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Initializers +

+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Initialises a Multi Line Chart.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    dataSets: MultiLineDataSet,
    +    metadata: ChartMetadata = ChartMetadata(),
    +    xAxisLabels: [String]? = nil,
    +    yAxisLabels: [String]? = nil,
    +    chartStyle: LineChartStyle = LineChartStyle(),
    +    noDataText: Text = Text("No Data")
    +)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + dataSets + + +
    +

    Data to draw and style the lines.

    +
    +
    + + metadata + + +
    +

    Data model containing the charts Title, Subtitle and the Title for Legend.

    +
    +
    + + xAxisLabels + + +
    +

    Labels for the X axis instead of the labels in the data points.

    +
    +
    + + yAxisLabels + + +
    +

    Labels for the Y axis instead of the labels generated from data point values.

    +
    +
    + + chartStyle + + +
    +

    The style data for the aesthetic of the chart.

    +
    +
    + + noDataText + + +
    +

    Customisable Text to display when where is not enough data to draw the chart.

    +
    +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Labels +

+
+
+
    +
  • +
    + + + + getXAxisLabels() + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final func getXAxisLabels() -> some View
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Points +

+
+
+
    +
  • +
    + + + + getPointMarker() + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final func getPointMarker() -> some View
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final func getTouchInteraction(touchLocation: CGPoint, chartSize: CGRect) -> some View
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Accessibility +

+
+
+
    +
  • +
    + + + + getAccessibility() + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func getAccessibility() -> some View
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + SetType + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias SetType = MultiLineDataSet
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + DataPoint + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias DataPoint = LineChartDataPoint
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + CTStyle + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias CTStyle = LineChartStyle
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Touch +

+
+
+ +
+
+
+ +
+
+ + + diff --git a/docs/Classes/PieChartData.html b/docs/Classes/PieChartData.html new file mode 100644 index 00000000..7df68c93 --- /dev/null +++ b/docs/Classes/PieChartData.html @@ -0,0 +1,1144 @@ + + + + PieChartData Class Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

PieChartData

+
+
+ +
public final class PieChartData : CTPieChartDataProtocol, Publishable
+ +
+
+

Data for drawing and styling a pie chart.

+ +

This model contains the data and styling information for a pie chart.

+ +
+
+ +
+
+
+
+ + +
+ +

Properties +

+
+
+
    +
  • +
    + + + + id + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var id: UUID
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + dataSets + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var dataSets: PieDataSet { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + metadata + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var metadata: ChartMetadata { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + chartStyle + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var chartStyle: PieChartStyle { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + legends + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var legends: [LegendData] { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + infoView + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var infoView: InfoViewData<PieChartDataPoint> { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + subscription + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var subscription: Set<AnyCancellable>
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let touchedDataPointPublisher: PassthroughSubject<PieChartData.DataPoint, Never>
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + noDataText + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final var noDataText: Text
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + chartType + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final var chartType: (chartType: ChartType, dataSetType: DataSetType)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + disableAnimation + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var disableAnimation: Bool
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Initializer +

+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Initialises Pie Chart data.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    dataSets: PieDataSet,
    +    metadata: ChartMetadata,
    +    chartStyle: PieChartStyle = PieChartStyle(),
    +    noDataText: Text = Text("No Data")
    +)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + +
    + + dataSets + + +
    +

    Data to draw and style the chart.

    +
    +
    + + metadata + + +
    +

    Data model containing the charts Title, Subtitle and the Title for Legend.

    +
    +
    + + chartStyle + + +
    +

    The style data for the aesthetic of the chart.

    +
    +
    + + noDataText + + +
    +

    Customisable Text to display when where is not enough data to draw the chart.

    +
    +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final func getTouchInteraction(touchLocation: CGPoint, chartSize: CGRect) -> some View
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + SetType + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias SetType = PieDataSet
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + DataPoint + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias DataPoint = PieChartDataPoint
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + CTStyle + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias CTStyle = PieChartStyle
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Touch +

+
+
+ +
+
+
+ +
+
+ + + diff --git a/docs/Classes/RangedBarChartData.html b/docs/Classes/RangedBarChartData.html new file mode 100644 index 00000000..123cfe12 --- /dev/null +++ b/docs/Classes/RangedBarChartData.html @@ -0,0 +1,1381 @@ + + + + RangedBarChartData Class Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

RangedBarChartData

+
+
+ +
public final class RangedBarChartData : CTRangedBarChartDataProtocol, GetDataProtocol, Publishable, PointOfInterestProtocol
+ +
+
+

Data for drawing and styling a ranged Bar Chart.

+ +
+
+ +
+
+
+
+ + +
+ +

Properties +

+
+
+
    +
  • +
    + + + + id + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let id: UUID
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + dataSets + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var dataSets: RangedBarDataSet { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + metadata + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var metadata: ChartMetadata { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + xAxisLabels + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var xAxisLabels: [String]? { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + yAxisLabels + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var yAxisLabels: [String]? { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + barStyle + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var barStyle: BarStyle { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + chartStyle + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var chartStyle: BarChartStyle { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + legends + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var legends: [LegendData] { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + viewData + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var viewData: ChartViewData { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + infoView + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var infoView: InfoViewData<RangedBarDataPoint> { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + extraLineData + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var extraLineData: ExtraLineData? { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + subscription + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var subscription: Set<AnyCancellable>
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let touchedDataPointPublisher: PassthroughSubject<RangedBarChartData.DataPoint, Never>
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + noDataText + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final var noDataText: Text
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + chartType + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final let chartType: (chartType: ChartType, dataSetType: DataSetType)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + disableAnimation + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var disableAnimation: Bool
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Initializer +

+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Initialises a Ranged Bar Chart.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    dataSets: RangedBarDataSet,
    +    metadata: ChartMetadata = ChartMetadata(),
    +    xAxisLabels: [String]? = nil,
    +    yAxisLabels: [String]? = nil,
    +    barStyle: BarStyle = BarStyle(),
    +    chartStyle: BarChartStyle = BarChartStyle(),
    +    noDataText: Text = Text("No Data")
    +)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + dataSets + + +
    +

    Data to draw and style the bars.

    +
    +
    + + metadata + + +
    +

    Data model containing the charts Title, Subtitle and the Title for Legend.

    +
    +
    + + xAxisLabels + + +
    +

    Labels for the X axis instead of the labels in the data points.

    +
    +
    + + yAxisLabels + + +
    +

    Labels for the Y axis instead of the labels generated from data point values.

    +
    +
    + + barStyle + + +
    +

    Control for the aesthetic of the bar chart.

    +
    +
    + + chartStyle + + +
    +

    The style data for the aesthetic of the chart.

    +
    +
    + + noDataText + + +
    +

    Customisable Text to display when where is not enough data to draw the chart.

    +
    +
    +
    +
    +
    +
  • +
  • +
    + + + + average + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final var average: Double { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Labels +

+
+
+
    +
  • +
    + + + + getXAxisLabels() + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final func getXAxisLabels() -> some View
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Touch +

+
+
+ +
+
+
+ +
+
+ + + diff --git a/docs/Classes/RangedLineChartData.html b/docs/Classes/RangedLineChartData.html new file mode 100644 index 00000000..51b0ea59 --- /dev/null +++ b/docs/Classes/RangedLineChartData.html @@ -0,0 +1,1343 @@ + + + + RangedLineChartData Class Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

RangedLineChartData

+
+
+ +
public final class RangedLineChartData : CTLineChartDataProtocol, GetDataProtocol, Publishable, PointOfInterestProtocol
+ +
+
+

Data for drawing and styling ranged line chart.

+ +

This model contains the data and styling information for a ranged line chart.

+ +
+
+ +
+
+
+
+ + +
+ +

Properties +

+
+
+
    +
  • +
    + + + + id + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let id: UUID
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + dataSets + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var dataSets: RangedLineDataSet { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + metadata + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var metadata: ChartMetadata { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + xAxisLabels + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var xAxisLabels: [String]? { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + yAxisLabels + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var yAxisLabels: [String]? { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + chartStyle + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var chartStyle: LineChartStyle { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + legends + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var legends: [LegendData] { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + viewData + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var viewData: ChartViewData { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + infoView + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var infoView: InfoViewData<RangedLineChartDataPoint> { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + noDataText + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final var noDataText: Text
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + chartType + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final var chartType: (chartType: ChartType, dataSetType: DataSetType)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + extraLineData + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var extraLineData: ExtraLineData? { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + subscription + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var subscription: Set<AnyCancellable>
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let touchedDataPointPublisher: PassthroughSubject<RangedLineChartData.DataPoint, Never>
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + disableAnimation + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var disableAnimation: Bool
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Initializer +

+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Initialises a ranged line chart.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    dataSets: RangedLineDataSet,
    +    metadata: ChartMetadata = ChartMetadata(),
    +    xAxisLabels: [String]? = nil,
    +    yAxisLabels: [String]? = nil,
    +    chartStyle: LineChartStyle = LineChartStyle(),
    +    noDataText: Text = Text("No Data")
    +)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + dataSets + + +
    +

    Data to draw and style a line.

    +
    +
    + + metadata + + +
    +

    Data model containing the charts Title, Subtitle and the Title for Legend.

    +
    +
    + + xAxisLabels + + +
    +

    Labels for the X axis instead of the labels in the data points.

    +
    +
    + + yAxisLabels + + +
    +

    Labels for the Y axis instead of the labels generated from data point values.

    +
    +
    + + chartStyle + + +
    +

    The style data for the aesthetic of the chart.

    +
    +
    + + noDataText + + +
    +

    Customisable Text to display when where is not enough data to draw the chart.

    +
    +
    +
    +
    +
    +
  • +
  • +
    + + + + average + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final var average: Double { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Labels +

+
+
+
    +
  • +
    + + + + getXAxisLabels() + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final func getXAxisLabels() -> some View
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Points +

+
+
+ +
+
+
+ +
+
+ + + diff --git a/docs/Classes/StackedBarChartData.html b/docs/Classes/StackedBarChartData.html new file mode 100644 index 00000000..d20bf824 --- /dev/null +++ b/docs/Classes/StackedBarChartData.html @@ -0,0 +1,1397 @@ + + + + StackedBarChartData Class Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

StackedBarChartData

+
+
+ +
public final class StackedBarChartData : CTMultiBarChartDataProtocol, GetDataProtocol, Publishable, PointOfInterestProtocol
+ +
+
+

Data model for drawing and styling a Stacked Bar Chart.

+ +

The grouping data informs the model as to how the datapoints are linked.

+ +
+
+ +
+
+
+
+ + +
+ +

Properties +

+
+
+
    +
  • +
    + + + + id + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let id: UUID
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + dataSets + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var dataSets: StackedBarDataSets { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + metadata + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var metadata: ChartMetadata { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + xAxisLabels + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var xAxisLabels: [String]? { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + yAxisLabels + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var yAxisLabels: [String]? { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + barStyle + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var barStyle: BarStyle { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + chartStyle + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var chartStyle: BarChartStyle { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + legends + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var legends: [LegendData] { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + viewData + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var viewData: ChartViewData { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + infoView + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var infoView: InfoViewData<StackedBarDataPoint> { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + groups + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var groups: [GroupingData] { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + extraLineData + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var extraLineData: ExtraLineData? { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + subscription + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var subscription: Set<AnyCancellable>
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let touchedDataPointPublisher: PassthroughSubject<StackedBarChartData.DataPoint, Never>
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + noDataText + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final var noDataText: Text
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + chartType + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final var chartType: (chartType: ChartType, dataSetType: DataSetType)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + disableAnimation + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var disableAnimation: Bool
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Initializer +

+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Initialises a Stacked Bar Chart.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    dataSets: StackedBarDataSets,
    +    groups: [GroupingData],
    +    metadata: ChartMetadata = ChartMetadata(),
    +    xAxisLabels: [String]? = nil,
    +    yAxisLabels: [String]? = nil,
    +    barStyle: BarStyle = BarStyle(),
    +    chartStyle: BarChartStyle = BarChartStyle(),
    +    noDataText: Text = Text("No Data")
    +)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + dataSets + + +
    +

    Data to draw and style the bars.

    +
    +
    + + groups + + +
    +

    Information for how to group the data points.

    +
    +
    + + metadata + + +
    +

    Data model containing the charts Title, Subtitle and the Title for Legend.

    +
    +
    + + xAxisLabels + + +
    +

    Labels for the X axis instead of the labels in the data points.

    +
    +
    + + yAxisLabels + + +
    +

    Labels for the Y axis instead of the labels generated from data point values.

    +
    +
    + + barStyle + + +
    +

    Control for the aesthetic of the bar chart.

    +
    +
    + + chartStyle + + +
    +

    The style data for the aesthetic of the chart.

    +
    +
    + + noDataText + + +
    +

    Customisable Text to display when where is not enough data to draw the chart.

    +
    +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Labels +

+
+
+
    +
  • +
    + + + + getXAxisLabels() + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final func getXAxisLabels() -> some View
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Touch +

+
+
+ +
+
+
+ +
+
+ + + diff --git a/docs/Enums.html b/docs/Enums.html new file mode 100644 index 00000000..380a48a7 --- /dev/null +++ b/docs/Enums.html @@ -0,0 +1,1383 @@ + + + + Enumerations Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

Enumerations

+

The following enumerations are available globally.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + ColourFrom + +
    +
    +
    +
    +
    +
    +

    Where to get the colour data from.

    +
    case barStyle // From BarStyle data model
    +case dataPoints // From each data point
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum ColourFrom
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + BarMarkerType + +
    +
    +
    +
    +
    +
    +

    Where the marker lines come from to meet at a specified point.

    +
    case none // No overlay markers.
    +case vertical // Vertical line from top to bottom.
    +case full // Full width and height of view intersecting at a specified point.
    +case bottomLeading // From bottom and leading edges meeting at a specified point.
    +case bottomTrailing // From bottom and trailing edges meeting at a specified point.
    +case topLeading // From top and leading edges meeting at a specified point.
    +case topTrailing // From top and trailing edges meeting at a specified point.
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum BarMarkerType : MarkerType
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + LineType + +
    +
    +
    +
    +
    +
    +

    Drawing style of the line

    +
    case line // Straight line from point to point
    +case curvedLine // Dual control point curved line
    +case stepped // Stepped line from point to point
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum LineType
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + PointType + +
    +
    +
    +
    +
    +
    +

    Style of the point marks

    +
    case filled // Just fill
    +case outline // Just stroke
    +case filledOutLine // Both fill and stroke
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum PointType
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + PointShape + +
    +
    +
    +
    +
    +
    +

    Shape of the points

    +
    case circle
    +case square
    +case roundSquare
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum PointShape
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + MarkerAttachment + +
    +
    +
    +
    +
    +
    +

    Where the Y and X touch markers should attach themselves to.

    +
    case line(dot: Dot) // Attached to the line.
    +case point // Attached to the data points.
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum MarkerAttachment
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + LineMarkerType + +
    +
    +
    +
    +
    +
    +

    Where the marker lines come from to meet at a specified point.

    +
    case none // No overlay markers.
    +case indicator(style: DotStyle) // Dot that follows the path.
    +case vertical(attachment: MarkerAttachment) // Vertical line from top to bottom.
    +case full(attachment: MarkerAttachment) // Full width and height of view intersecting at a specified point.
    +case bottomLeading(attachment: MarkerAttachment) // From bottom and leading edges meeting at a specified point.
    +case bottomTrailing(attachment: MarkerAttachment) // From bottom and trailing edges meeting at a specified point.
    +case topLeading(attachment: MarkerAttachment) // From top and leading edges meeting at a specified point.
    +case topTrailing(attachment: MarkerAttachment) // From top and trailing edges meeting at a specified point.
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum LineMarkerType : MarkerType
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Dot + +
    +
    +
    +
    +
    +
    +

    Whether or not to show a dot on the line

    +
    case none // No Dot
    +case style(_ style: DotStyle) // Adds a dot the line at point of touch.
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum Dot
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + OverlayType + +
    +
    +
    +
    +
    +
    +

    Option to add overlays on top of the segment.

    +
    case none // No overlay
    +case barStyle // Text overlay
    +case dataPoints // System icon overlay
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum OverlayType : Hashable
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

ChartViewData +

+
+
+
    +
  • +
    + + + + DataSetType + +
    +
    +
    +
    +
    +
    +

    The type of DataSet being used

    +
    case single // Single data set - i.e LineDataSet
    +case multi // Multi data set - i.e MultiLineDataSet
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum DataSetType
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + ChartType + +
    +
    +
    +
    +
    +
    +

    The type of chart being used.

    +
    case line // Line Chart Type
    +case bar // Bar Chart Type
    +case pie // Pie Chart Type
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum ChartType
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Style +

+
+
+
    +
  • +
    + + + + ColourType + +
    +
    +
    +
    +
    +
    +

    Type of colour styling.

    +
    case colour // Single Colour
    +case gradientColour // Colour Gradient
    +case gradientStops // Colour Gradient with stop control
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum ColourType
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

TouchOverlay +

+
+
+
    +
  • +
    + + + + InfoBoxPlacement + +
    +
    +
    +
    +
    +
    +

    Placement of the data point information panel when touch overlay modifier is applied.

    +
    case floating // Follows input across the chart.
    +case infoBox(isStatic: Bool)  // Display in the InfoBox. Must have .infoBox()
    +case header // Fix in the Header box. Must have .headerBox().
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum InfoBoxPlacement
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + InfoBoxAlignment + +
    +
    +
    +
    +
    +
    +

    Alignment of the content inside of the information box

    +
    case vertical // Puts the legend, value and description verticaly
    +case horizontal // Puts the legend, value and description horizontaly
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum InfoBoxAlignment
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + TouchUnit + +
    +
    +
    +
    +
    +
    +

    Option to display units before or after values.

    +
    case none // No unit
    +case prefix(of: String) // Before value
    +case suffix(of: String) // After value
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum TouchUnit
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

XAxisLabels +

+
+
+
    +
  • +
    + + + + XAxisLabelPosistion + +
    +
    +
    +
    +
    +
    +

    Location of the X axis labels

    +
    case top
    +case bottom
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum XAxisLabelPosistion
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + LabelsFrom + +
    +
    +
    +
    +
    +
    +

    Where the label data come from.

    + +

    xAxisLabel comes from ChartData –> DataPoint model.

    + +

    xAxisLabels comes from ChartData –> xAxisLabels

    +
    case dataPoint // ChartData --> DataPoint --> xAxisLabel
    +case chartData // ChartData --> xAxisLabels
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum LabelsFrom
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

YAxisLabels +

+
+
+
    +
  • +
    + + + + YAxisLabelPosistion + +
    +
    +
    +
    +
    +
    +

    Location of the Y axis labels

    +
    case leading
    +case trailing
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum YAxisLabelPosistion
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + DisplayValue + +
    +
    +
    +
    +
    +
    +

    Option to display the markers’ value inline with the marker..

    +
    case none // No label.
    +case yAxis(specifier: String, formatter: NumberFormatter? = nil) // Places the label in the yAxis labels.
    +case center(specifier: String, formatter: NumberFormatter? = nil) // Places the label in the center of chart.
    +case position(location: CGFloat, specifier: String, formatter: NumberFormatter? = nil) // Places the label at a relative position from leading edge.
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum DisplayValue
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Baseline + +
    +
    +
    +
    +
    +
    +

    Where to start drawing the line chart from.

    +
    case minimumValue // Lowest value in the data set(s)
    +case minimumWithMaximum(of: Double) // Set a custom baseline
    +case zero // Set 0 as the lowest value
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum Baseline : Hashable
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Topline + +
    +
    +
    +
    +
    +
    +

    Where to end drawing the chart.

    +
    case maximumValue // Highest value in the data set(s)
    +case maximum(of: Double) // Set a custom topline
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum Topline : Hashable
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + YAxisLabelType + +
    +
    +
    +
    +
    +
    +

    Option to choose between auto generated, numeric labels +or custum array of strings.

    + +

    Custom is set from ChartData -> yAxisLabels

    +
    case numeric // Auto generated, numeric labels.
    +case custom // Custom labels array -- `ChartData -> yAxisLabels`
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum YAxisLabelType
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Extra Y Axis +

+
+
+
    +
  • +
    + + + + AxisColour + +
    +
    +
    +
    +
    +
    +

    Controls how second Y Axis will be styled.

    +
    case none // No colour marker.
    +case style(size: CGFloat) // Get style from data model.
    +case custom(colour: ColourStyle, size: CGFloat) // Set custom style.
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum AxisColour
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Enums/AxisColour.html b/docs/Enums/AxisColour.html new file mode 100644 index 00000000..df11bdd9 --- /dev/null +++ b/docs/Enums/AxisColour.html @@ -0,0 +1,656 @@ + + + + AxisColour Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

AxisColour

+
+
+ +
public enum AxisColour
+ +
+
+

Controls how second Y Axis will be styled.

+
case none // No colour marker.
+case style(size: CGFloat) // Get style from data model.
+case custom(colour: ColourStyle, size: CGFloat) // Set custom style.
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + none + +
    +
    +
    +
    +
    +
    +

    No colour marker.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case none
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + style(size:) + +
    +
    +
    +
    +
    +
    +

    Get style from data model.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case style(size: CGFloat)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + custom(colour:size:) + +
    +
    +
    +
    +
    +
    +

    Set custom style.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case custom(colour: ColourStyle, size: CGFloat)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Enums/BarMarkerType.html b/docs/Enums/BarMarkerType.html new file mode 100644 index 00000000..044efa7c --- /dev/null +++ b/docs/Enums/BarMarkerType.html @@ -0,0 +1,768 @@ + + + + BarMarkerType Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

BarMarkerType

+
+
+ +
public enum BarMarkerType : MarkerType
+ +
+
+

Where the marker lines come from to meet at a specified point.

+
case none // No overlay markers.
+case vertical // Vertical line from top to bottom.
+case full // Full width and height of view intersecting at a specified point.
+case bottomLeading // From bottom and leading edges meeting at a specified point.
+case bottomTrailing // From bottom and trailing edges meeting at a specified point.
+case topLeading // From top and leading edges meeting at a specified point.
+case topTrailing // From top and trailing edges meeting at a specified point.
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + none + +
    +
    +
    +
    +
    +
    +

    No overlay markers.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case none
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Vertical line from top to bottom.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case vertical(colour: Color = Color.primary, style: StrokeStyle = StrokeStyle())
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + full(colour:style:) + +
    +
    +
    +
    +
    +
    +

    Full width and height of view intersecting at a specified point.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case full(colour: Color = Color.primary, style: StrokeStyle = StrokeStyle())
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    From bottom and leading edges meeting at a specified point.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case bottomLeading(colour: Color = Color.primary, style: StrokeStyle = StrokeStyle())
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    From bottom and trailing edges meeting at a specified point.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case bottomTrailing(colour: Color = Color.primary, style: StrokeStyle = StrokeStyle())
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    From top and leading edges meeting at a specified point.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case topLeading(colour: Color = Color.primary, style: StrokeStyle = StrokeStyle())
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    From top and trailing edges meeting at a specified point.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case topTrailing(colour: Color = Color.primary, style: StrokeStyle = StrokeStyle())
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Enums/Baseline.html b/docs/Enums/Baseline.html new file mode 100644 index 00000000..3e93c342 --- /dev/null +++ b/docs/Enums/Baseline.html @@ -0,0 +1,656 @@ + + + + Baseline Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

Baseline

+
+
+ +
public enum Baseline : Hashable
+ +
+
+

Where to start drawing the line chart from.

+
case minimumValue // Lowest value in the data set(s)
+case minimumWithMaximum(of: Double) // Set a custom baseline
+case zero // Set 0 as the lowest value
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + minimumValue + +
    +
    +
    +
    +
    +
    +

    Lowest value in the data set(s)

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case minimumValue
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Set a custom baseline

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case minimumWithMaximum(of: Double)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + zero + +
    +
    +
    +
    +
    +
    +

    Set 0 as the lowest value

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case zero
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Enums/ChartType.html b/docs/Enums/ChartType.html new file mode 100644 index 00000000..f616e2cd --- /dev/null +++ b/docs/Enums/ChartType.html @@ -0,0 +1,656 @@ + + + + ChartType Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

ChartType

+
+
+ +
public enum ChartType
+ +
+
+

The type of chart being used.

+
case line // Line Chart Type
+case bar // Bar Chart Type
+case pie // Pie Chart Type
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + line + +
    +
    +
    +
    +
    +
    +

    Line Chart Type

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case line
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + bar + +
    +
    +
    +
    +
    +
    +

    Bar Chart Type

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case bar
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + pie + +
    +
    +
    +
    +
    +
    +

    Pie Chart Type

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case pie
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Enums/ColourFrom.html b/docs/Enums/ColourFrom.html new file mode 100644 index 00000000..a54a00a5 --- /dev/null +++ b/docs/Enums/ColourFrom.html @@ -0,0 +1,628 @@ + + + + ColourFrom Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

ColourFrom

+
+
+ +
public enum ColourFrom
+ +
+
+

Where to get the colour data from.

+
case barStyle // From BarStyle data model
+case dataPoints // From each data point
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + barStyle + +
    +
    +
    +
    +
    +
    +

    From BarStyle data model

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case barStyle
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + dataPoints + +
    +
    +
    +
    +
    +
    +

    From each data point

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case dataPoints
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Enums/ColourType.html b/docs/Enums/ColourType.html new file mode 100644 index 00000000..37d178aa --- /dev/null +++ b/docs/Enums/ColourType.html @@ -0,0 +1,656 @@ + + + + ColourType Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

ColourType

+
+
+ +
public enum ColourType
+ +
+
+

Type of colour styling.

+
case colour // Single Colour
+case gradientColour // Colour Gradient
+case gradientStops // Colour Gradient with stop control
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + colour + +
    +
    +
    +
    +
    +
    +

    Single Colour

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case colour
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + gradientColour + +
    +
    +
    +
    +
    +
    +

    Colour Gradient

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case gradientColour
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + gradientStops + +
    +
    +
    +
    +
    +
    +

    Colour Gradient with stop control

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case gradientStops
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Enums/DataSetType.html b/docs/Enums/DataSetType.html new file mode 100644 index 00000000..0eac22c7 --- /dev/null +++ b/docs/Enums/DataSetType.html @@ -0,0 +1,628 @@ + + + + DataSetType Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

DataSetType

+
+
+ +
public enum DataSetType
+ +
+
+

The type of DataSet being used

+
case single // Single data set - i.e LineDataSet
+case multi // Multi data set - i.e MultiLineDataSet
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + single + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case single
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + multi + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case multi
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Enums/DisplayValue.html b/docs/Enums/DisplayValue.html new file mode 100644 index 00000000..38393a5f --- /dev/null +++ b/docs/Enums/DisplayValue.html @@ -0,0 +1,684 @@ + + + + DisplayValue Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

DisplayValue

+
+
+ +
public enum DisplayValue
+ +
+
+

Option to display the markers’ value inline with the marker..

+
case none // No label.
+case yAxis(specifier: String, formatter: NumberFormatter? = nil) // Places the label in the yAxis labels.
+case center(specifier: String, formatter: NumberFormatter? = nil) // Places the label in the center of chart.
+case position(location: CGFloat, specifier: String, formatter: NumberFormatter? = nil) // Places the label at a relative position from leading edge.
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + none + +
    +
    +
    +
    +
    +
    +

    No label.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case none
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Places the label in the yAxis labels.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case yAxis(specifier: String, formatter: NumberFormatter? = nil)
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Places the label in the center of chart.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case center(specifier: String, formatter: NumberFormatter? = nil)
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Places the label in between the graph at a certain distance from the axis, i.e. 0 places it on the leading edge and 1 places it on the trailing edge. Defaults to 0.5 if location >1 or <0

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case position(location: CGFloat, specifier: String, formatter: NumberFormatter? = nil)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Enums/Dot.html b/docs/Enums/Dot.html new file mode 100644 index 00000000..7b83869e --- /dev/null +++ b/docs/Enums/Dot.html @@ -0,0 +1,628 @@ + + + + Dot Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

Dot

+
+
+ +
public enum Dot
+ +
+
+

Whether or not to show a dot on the line

+
case none // No Dot
+case style(_ style: DotStyle) // Adds a dot the line at point of touch.
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + none + +
    +
    +
    +
    +
    +
    +

    No Dot

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case none
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + style(_:) + +
    +
    +
    +
    +
    +
    +

    Adds a dot the line at point of touch.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case style(_: DotStyle)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Enums/InfoBoxAlignment.html b/docs/Enums/InfoBoxAlignment.html new file mode 100644 index 00000000..4f6b3e0d --- /dev/null +++ b/docs/Enums/InfoBoxAlignment.html @@ -0,0 +1,628 @@ + + + + InfoBoxAlignment Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

InfoBoxAlignment

+
+
+ +
public enum InfoBoxAlignment
+ +
+
+

Alignment of the content inside of the information box

+
case vertical // Puts the legend, value and description verticaly
+case horizontal // Puts the legend, value and description horizontaly
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + vertical + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case vertical
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + horizontal + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case horizontal
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Enums/InfoBoxPlacement.html b/docs/Enums/InfoBoxPlacement.html new file mode 100644 index 00000000..5c66e20a --- /dev/null +++ b/docs/Enums/InfoBoxPlacement.html @@ -0,0 +1,656 @@ + + + + InfoBoxPlacement Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

InfoBoxPlacement

+
+
+ +
public enum InfoBoxPlacement
+ +
+
+

Placement of the data point information panel when touch overlay modifier is applied.

+
case floating // Follows input across the chart.
+case infoBox(isStatic: Bool)  // Display in the InfoBox. Must have .infoBox()
+case header // Fix in the Header box. Must have .headerBox().
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + floating + +
    +
    +
    +
    +
    +
    +

    Follows input across the chart.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case floating
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + infoBox(isStatic:) + +
    +
    +
    +
    +
    +
    +

    Display in the InfoBox. Must have .infoBox()

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case infoBox(isStatic: Bool = false)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + header + +
    +
    +
    +
    +
    +
    +

    Display in the Header box. Must have .headerBox().

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case header
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Enums/LabelsFrom.html b/docs/Enums/LabelsFrom.html new file mode 100644 index 00000000..87f0dc31 --- /dev/null +++ b/docs/Enums/LabelsFrom.html @@ -0,0 +1,632 @@ + + + + LabelsFrom Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

LabelsFrom

+
+
+ +
public enum LabelsFrom
+ +
+
+

Where the label data come from.

+ +

xAxisLabel comes from ChartData –> DataPoint model.

+ +

xAxisLabels comes from ChartData –> xAxisLabels

+
case dataPoint // ChartData --> DataPoint --> xAxisLabel
+case chartData // ChartData --> xAxisLabels
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + dataPoint(rotation:) + +
    +
    +
    +
    +
    +
    +

    ChartData –> DataPoint –> xAxisLabel

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case dataPoint(rotation: Angle = Angle.degrees(0))
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + chartData(rotation:) + +
    +
    +
    +
    +
    +
    +

    ChartData –> xAxisLabels

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case chartData(rotation: Angle = Angle.degrees(0))
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Enums/LineMarkerType.html b/docs/Enums/LineMarkerType.html new file mode 100644 index 00000000..4dd9ad62 --- /dev/null +++ b/docs/Enums/LineMarkerType.html @@ -0,0 +1,796 @@ + + + + LineMarkerType Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

LineMarkerType

+
+
+ +
public enum LineMarkerType : MarkerType
+ +
+
+

Where the marker lines come from to meet at a specified point.

+
case none // No overlay markers.
+case indicator(style: DotStyle) // Dot that follows the path.
+case vertical(attachment: MarkerAttachment) // Vertical line from top to bottom.
+case full(attachment: MarkerAttachment) // Full width and height of view intersecting at a specified point.
+case bottomLeading(attachment: MarkerAttachment) // From bottom and leading edges meeting at a specified point.
+case bottomTrailing(attachment: MarkerAttachment) // From bottom and trailing edges meeting at a specified point.
+case topLeading(attachment: MarkerAttachment) // From top and leading edges meeting at a specified point.
+case topTrailing(attachment: MarkerAttachment) // From top and trailing edges meeting at a specified point.
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + none + +
    +
    +
    +
    +
    +
    +

    No overlay markers.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case none
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + indicator(style:) + +
    +
    +
    +
    +
    +
    +

    Dot that follows the path.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case indicator(style: DotStyle)
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Vertical line from top to bottom.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case vertical(attachment: MarkerAttachment, colour: Color = Color.primary, style: StrokeStyle = StrokeStyle())
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Full width and height of view intersecting at a specified point.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case full(attachment: MarkerAttachment, colour: Color = Color.primary, style: StrokeStyle = StrokeStyle())
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    From bottom and leading edges meeting at a specified point.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case bottomLeading(attachment: MarkerAttachment, colour: Color = Color.primary, style: StrokeStyle = StrokeStyle())
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    From bottom and trailing edges meeting at a specified point.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case bottomTrailing(attachment: MarkerAttachment, colour: Color = Color.primary, style: StrokeStyle = StrokeStyle())
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    From top and leading edges meeting at a specified point.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case topLeading(attachment: MarkerAttachment, colour: Color = Color.primary, style: StrokeStyle = StrokeStyle())
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    From top and trailing edges meeting at a specified point.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case topTrailing(attachment: MarkerAttachment, colour: Color = Color.primary, style: StrokeStyle = StrokeStyle())
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Enums/LineType.html b/docs/Enums/LineType.html new file mode 100644 index 00000000..d781482b --- /dev/null +++ b/docs/Enums/LineType.html @@ -0,0 +1,656 @@ + + + + LineType Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

LineType

+
+
+ +
public enum LineType
+ +
+
+

Drawing style of the line

+
case line // Straight line from point to point
+case curvedLine // Dual control point curved line
+case stepped // Stepped line from point to point
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + line + +
    +
    +
    +
    +
    +
    +

    Straight line from point to point

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case line
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + curvedLine + +
    +
    +
    +
    +
    +
    +

    Dual control point curved line

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case curvedLine
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + stepped + +
    +
    +
    +
    +
    +
    +

    Stepped line from point to point

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case stepped
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Enums/MarkerAttachment.html b/docs/Enums/MarkerAttachment.html new file mode 100644 index 00000000..097244d1 --- /dev/null +++ b/docs/Enums/MarkerAttachment.html @@ -0,0 +1,628 @@ + + + + MarkerAttachment Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

MarkerAttachment

+
+
+ +
public enum MarkerAttachment
+ +
+
+

Where the Y and X touch markers should attach themselves to.

+
case line(dot: Dot) // Attached to the line.
+case point // Attached to the data points.
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + line(dot:) + +
    +
    +
    +
    +
    +
    +

    Attached to the line.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case line(dot: Dot)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + point + +
    +
    +
    +
    +
    +
    +

    Attached to the data points.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case point
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Enums/OverlayType.html b/docs/Enums/OverlayType.html new file mode 100644 index 00000000..c496e44d --- /dev/null +++ b/docs/Enums/OverlayType.html @@ -0,0 +1,676 @@ + + + + OverlayType Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

OverlayType

+
+
+ +
public enum OverlayType : Hashable
+ +
+
+

Option to add overlays on top of the segment.

+
case none // No overlay
+case barStyle // Text overlay
+case dataPoints // System icon overlay
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + none + +
    +
    +
    +
    +
    +
    +

    No overlay

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case none
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Text overlay

    +

    Parameters:

    + +
      +
    • text: Text the use as label.
    • +
    • colour: Foreground colour.
    • +
    • font: System font.
    • +
    • rFactor: Distance the from center of chart. +0 is center, 1 is perimeter. It can go beyond 1 to +place it outside.
    • +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case label(text: String, colour: Color = .primary, font: Font = .caption, rFactor: CGFloat = 0.75)
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    System icon overlay

    +

    Parameters:

    + +
      +
    • systemName: SF Symbols name.
    • +
    • colour: Foreground colour.
    • +
    • size: Image frame size.
    • +
    • rFactor: Distance the from center of chart. +0 is center, 1 is perimeter. It can go beyond 1 to +place it outside.
    • +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case icon(systemName: String, colour: Color = .primary, size: CGFloat = 30, rFactor: CGFloat = 0.75)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Enums/PointShape.html b/docs/Enums/PointShape.html new file mode 100644 index 00000000..996c4fd5 --- /dev/null +++ b/docs/Enums/PointShape.html @@ -0,0 +1,656 @@ + + + + PointShape Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

PointShape

+
+
+ +
public enum PointShape
+ +
+
+

Shape of the points

+
case circle
+case square
+case roundSquare
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + circle + +
    +
    +
    +
    +
    +
    +

    Circle Shape

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case circle
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + square + +
    +
    +
    +
    +
    +
    +

    Square Shape

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case square
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + roundSquare + +
    +
    +
    +
    +
    +
    +

    Rounded Square Shape

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case roundSquare
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Enums/PointType.html b/docs/Enums/PointType.html new file mode 100644 index 00000000..31cb1ae9 --- /dev/null +++ b/docs/Enums/PointType.html @@ -0,0 +1,656 @@ + + + + PointType Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

PointType

+
+
+ +
public enum PointType
+ +
+
+

Style of the point marks

+
case filled // Just fill
+case outline // Just stroke
+case filledOutLine // Both fill and stroke
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + filled + +
    +
    +
    +
    +
    +
    +

    Just fill

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case filled
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + outline + +
    +
    +
    +
    +
    +
    +

    Just stroke

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case outline
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + filledOutLine + +
    +
    +
    +
    +
    +
    +

    Both fill and stroke

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case filledOutLine
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Enums/Topline.html b/docs/Enums/Topline.html new file mode 100644 index 00000000..5df665a9 --- /dev/null +++ b/docs/Enums/Topline.html @@ -0,0 +1,628 @@ + + + + Topline Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

Topline

+
+
+ +
public enum Topline : Hashable
+ +
+
+

Where to end drawing the chart.

+
case maximumValue // Highest value in the data set(s)
+case maximum(of: Double) // Set a custom topline
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + maximumValue + +
    +
    +
    +
    +
    +
    +

    Highest value in the data set(s)

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case maximumValue
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + maximum(of:) + +
    +
    +
    +
    +
    +
    +

    Set a custom topline

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case maximum(of: Double)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Enums/TouchUnit.html b/docs/Enums/TouchUnit.html new file mode 100644 index 00000000..cd6899bc --- /dev/null +++ b/docs/Enums/TouchUnit.html @@ -0,0 +1,656 @@ + + + + TouchUnit Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

TouchUnit

+
+
+ +
public enum TouchUnit
+ +
+
+

Option to display units before or after values.

+
case none // No unit
+case prefix(of: String) // Before value
+case suffix(of: String) // After value
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + none + +
    +
    +
    +
    +
    +
    +

    No units

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case none
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + prefix(of:) + +
    +
    +
    +
    +
    +
    +

    Before value

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case prefix(of: String)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + suffix(of:) + +
    +
    +
    +
    +
    +
    +

    After value

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case suffix(of: String)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Enums/XAxisLabelPosistion.html b/docs/Enums/XAxisLabelPosistion.html new file mode 100644 index 00000000..92549843 --- /dev/null +++ b/docs/Enums/XAxisLabelPosistion.html @@ -0,0 +1,628 @@ + + + + XAxisLabelPosistion Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

XAxisLabelPosistion

+
+
+ +
public enum XAxisLabelPosistion
+ +
+
+

Location of the X axis labels

+
case top
+case bottom
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + top + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case top
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + bottom + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case bottom
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Enums/YAxisLabelPosistion.html b/docs/Enums/YAxisLabelPosistion.html new file mode 100644 index 00000000..8fdddf5e --- /dev/null +++ b/docs/Enums/YAxisLabelPosistion.html @@ -0,0 +1,628 @@ + + + + YAxisLabelPosistion Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

YAxisLabelPosistion

+
+
+ +
public enum YAxisLabelPosistion
+ +
+
+

Location of the Y axis labels

+
case leading
+case trailing
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + leading + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case leading
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + trailing + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case trailing
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Enums/YAxisLabelType.html b/docs/Enums/YAxisLabelType.html new file mode 100644 index 00000000..cd30b713 --- /dev/null +++ b/docs/Enums/YAxisLabelType.html @@ -0,0 +1,631 @@ + + + + YAxisLabelType Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

YAxisLabelType

+
+
+ +
public enum YAxisLabelType
+ +
+
+

Option to choose between auto generated, numeric labels +or custum array of strings.

+ +

Custom is set from ChartData -> yAxisLabels

+
case numeric // Auto generated, numeric labels.
+case custom // Custom labels array -- `ChartData -> yAxisLabels`
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + numeric + +
    +
    +
    +
    +
    +
    +

    Auto generated, numeric labels.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case numeric
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + custom + +
    +
    +
    +
    +
    +
    +

    Custom labels array

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case custom
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Extensions.html b/docs/Extensions.html new file mode 100644 index 00000000..94961f83 --- /dev/null +++ b/docs/Extensions.html @@ -0,0 +1,635 @@ + + + + Extensions Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

Extensions

+

The following extensions are available globally.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + View + +
    +
    +
    +
    +
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    extension View
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + NSNotification + +
    +
    +
    +
    +
    +
    + + See more +
    +
    +
    +
  • +
  • +
    + + + + Color + +
    +
    +
    +
    +
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    extension Color
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Extensions/Color.html b/docs/Extensions/Color.html new file mode 100644 index 00000000..f0ce1ac3 --- /dev/null +++ b/docs/Extensions/Color.html @@ -0,0 +1,597 @@ + + + + Color Extension Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

Color

+
+
+ +
extension Color
+ +
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + systemsBackground + +
    +
    +
    +
    +
    +
    +

    Returns the relevant system background colour for the device.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var systemsBackground: Color { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Extensions/NSNotification.html b/docs/Extensions/NSNotification.html new file mode 100644 index 00000000..9bb16794 --- /dev/null +++ b/docs/Extensions/NSNotification.html @@ -0,0 +1,590 @@ + + + + NSNotification Extension Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

NSNotification

+ +
+
+ +
+
+
+
    +
  • +
    + + + + Name + +
    +
    +
    +
    +
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    extension NSNotification.Name
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Extensions/NSNotification/Name.html b/docs/Extensions/NSNotification/Name.html new file mode 100644 index 00000000..7a2670a1 --- /dev/null +++ b/docs/Extensions/NSNotification/Name.html @@ -0,0 +1,599 @@ + + + + Name Extension Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

Name

+
+
+ +
extension NSNotification.Name
+ +
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + updateLayoutDidFinish + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var updateLayoutDidFinish: NSNotification.Name
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Extensions/View.html b/docs/Extensions/View.html new file mode 100644 index 00000000..6b941374 --- /dev/null +++ b/docs/Extensions/View.html @@ -0,0 +1,2757 @@ + + + + View Extension Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

View

+
+
+ +
extension View
+ +
+
+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Adds an independent line on top of FilledLineChart.

    + +

    Allows for a hard line over the data point with a semi opaque fill.

    +
    +

    Requires

    + Chart Data to conform to CTLineChartDataProtocol. + +
      +
    • LineChartData
    • +
    +

    Available for:

    + +
      +
    • Filled Line Chart
    • +
    +

    Unavailable for:

    + +
      +
    • Line Chart
    • +
    • Multi Line Chart
    • +
    • Ranged Line Chart
    • +
    • Bar Chart
    • +
    • Grouped Bar Chart
    • +
    • Stacked Bar Chart
    • +
    • Ranged Bar Chart
    • +
    • Pie Chart
    • +
    • Doughnut Chart

    • +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func filledTopLine<T: LineChartData>(
    +    chartData: T,
    +    lineColour: ColourStyle = ColourStyle(),
    +    strokeStyle: StrokeStyle = StrokeStyle()
    +) -> some View
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + +
    + + chartData + + +
    +

    Chart data model.

    +
    +
    + + lineColour + + +
    +

    Line Colour

    +
    +
    + + strokeStyle + + +
    +

    Stroke Style

    +
    +
    +
    +
    +

    Return Value

    +

    A new view containing the chart with point markers.

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Lays out markers over each of the data point.

    + +

    The style of the markers is set in the PointStyle data model as parameter in the Chart Data.

    +
    +

    Requires

    + Chart Data to conform to CTLineChartDataProtocol. + +
      +
    • LineChartData
    • +
    • MultiLineChartData
    • +
    +

    Available for:

    + +
      +
    • Line Chart
    • +
    • Multi Line Chart
    • +
    • Filled Line Chart
    • +
    • Ranged Line Chart
    • +
    +

    Unavailable for:

    + +
      +
    • Bar Chart
    • +
    • Grouped Bar Chart
    • +
    • Stacked Bar Chart
    • +
    • Ranged Bar Chart
    • +
    • Pie Chart
    • +
    • Doughnut Chart

    • +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func pointMarkers<T>(chartData: T) -> some View where T : CTLineChartDataProtocol, T : GetDataProtocol
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + chartData + + +
    +

    Chart data model.

    +
    +
    +
    +
    +

    Return Value

    +

    A new view containing the chart with point markers.

    +
    +
    +
    +
  • +
  • +
    + + + + headerBox(chartData:) + +
    +
    +
    +
    +
    +
    +

    Displays the metadata about the chart.

    + +

    Adds a view above the chart that displays the title and subtitle. +If infoBoxPlacement is set to .header then the datapoint info will +be displayed here as well.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func headerBox<T>(chartData: T) -> some View where T : CTChartData
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + chartData + + +
    +

    Chart data model.

    +
    +
    +
    +
    +

    Return Value

    +

    A new view containing the chart with a view above +to display metadata.

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Displays legends under the chart.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func legends<T:CTChartData>(
    +    chartData: T,
    +    columns: [GridItem] = [GridItem(.flexible())],
    +    iconWidth: CGFloat = 40,
    +    font: Font = .caption,
    +    textColor: Color = Color.primary,
    +    topPadding: CGFloat = 18
    +) -> some View
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + +
    + + chartData + + +
    +

    Chart data model.

    +
    +
    + + columns + + +
    +

    How to layout the legends.

    +
    +
    + + textColor + + +
    +

    Colour of the text.

    +
    +
    +
    +
    +

    Return Value

    +

    A new view containing the chart with chart legends under.

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Adds touch interaction with the chart.

    + +

    Adds an overlay to detect touch and display the relivent information from the nearest data point.

    +
    +

    Requires

    + If ChartStyle –> infoBoxPlacement is set to .header +then .headerBox is required. + +
    + +

    If ChartStyle –> infoBoxPlacement is set to .infoBox +then .infoBox is required.

    + +

    If ChartStyle –> infoBoxPlacement is set to .floating +then .floatingInfoBox is required.

    +
    +

    Attention

    +

    Unavailable in tvOS

    + +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func touchOverlay<T: CTChartData>(
    +    chartData: T,
    +    specifier: String = "%.0f",
    +    formatter: NumberFormatter? = nil,
    +    unit: TouchUnit = .none,
    +    minDistance: CGFloat = 0
    +) -> some View
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + +
    + + chartData + + +
    +

    Chart data model.

    +
    +
    + + specifier + + +
    +

    Decimal precision for labels.

    +
    +
    + + unit + + +
    +

    Unit to put before or after the value.

    +
    +
    + + minDistance + + +
    +

    The distance that the touch event needs to travel to register.

    +
    +
    +
    +
    +

    Return Value

    +

    A new view containing the chart with a touch overlay.

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Adds touch interaction with the chart.

    +
    +

    Attention

    + Unavailable in tvOS + +
    + +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func disableAnimation<ChartData>(chartData: ChartData, _ value: Bool = true) -> some View where ChartData : CTChartData
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

View Extension +

+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Adds an seperate line that is over-layed on top of a other chart.

    +
    +

    Requires

    +

    Chart Data to conform to CTLineBarChartDataProtocol.

    + +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func extraLine<T: CTLineBarChartDataProtocol>(
    +    chartData: T,
    +    legendTitle: String,
    +    datapoints: @escaping () -> ([ExtraLineDataPoint]),
    +    style: @escaping () -> (ExtraLineStyle)
    +) -> some View
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + +
    + + chartData + + +
    +

    Data that conforms to CTLineBarChartDataProtocol.

    +
    +
    + + legendTitle + + +
    +

    Title of the extra line to display in the legends.

    +
    +
    + + datapoints + + +
    +

    Data point to create the line.

    +
    +
    + + style + + +
    +

    Styling data for the line.

    +
    +
    +
    +
    +

    Return Value

    +

    The chart with an extra line stacked on top.

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Adds an seperate line that is over-layed on top of a other chart.

    +
    +

    Requires

    +

    Chart Data to conform to CTLineBarChartDataProtocol.

    + +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func extraLine<T: CTLineBarChartDataProtocol>(
    +    chartData: T,
    +    legendTitle: String,
    +    datapoints: @escaping @autoclosure () -> ([ExtraLineDataPoint]),
    +    style: @escaping @autoclosure () -> (ExtraLineStyle)
    +) -> some View
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + +
    + + chartData + + +
    +

    Data that conforms to CTLineBarChartDataProtocol.

    +
    +
    + + legendTitle + + +
    +

    Title of the extra line to display in the legends.

    +
    +
    + + datapoints + + +
    +

    Data point to create the line.

    +
    +
    + + style + + +
    +

    Styling data for the line.

    +
    +
    +
    +
    +

    Return Value

    +

    The chart with an extra line stacked on top.

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Adds a second set of Y axis labels.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func extraYAxisLabels<T: CTLineBarChartDataProtocol>(
    +    chartData: T,
    +    specifier: String = "%.0f",
    +    colourIndicator: AxisColour = .none
    +) -> some View
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + +
    + + chartData + + +
    +

    Data that conforms to CTLineBarChartDataProtocol.

    +
    +
    + + specifier + + +
    +

    Decimal precision for labels.

    +
    +
    + + colourIndicator + + +
    +

    Second Y Axis style.

    +
    +
    +
    +
    +

    Return Value

    +

    A View with second set of Y axis labels.

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    A view that displays information from TouchOverlay.

    + +

    Places the info box on top of the chart.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func floatingInfoBox<T>(chartData: T) -> some View where T : CTLineBarChartDataProtocol
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + chartData + + +
    +

    Chart data model.

    +
    +
    +
    +
    +

    Return Value

    +

    A new view containing the chart with a view to +display touch overlay information.

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    A view that displays information from TouchOverlay.

    + +

    Places the info box on top of the chart.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func floatingInfoBox<T>(chartData: T) -> some View where T : CTLineBarChartDataProtocol, T : isHorizontal
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + chartData + + +
    +

    Chart data model.

    +
    +
    +
    +
    +

    Return Value

    +

    A new view containing the chart with a view to +display touch overlay information.

    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Horizontal +

+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    A view that displays information from TouchOverlay.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func infoBox<T: CTLineBarChartDataProtocol>(
    +    chartData: T,
    +    height: CGFloat = 70
    +) -> some View
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + chartData + + +
    +

    Chart data model.

    +
    +
    +
    +
    +

    Return Value

    +

    A new view containing the chart with a view to +display touch overlay information.

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    A view that displays information from TouchOverlay.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func infoBox<T: CTLineBarChartDataProtocol & isHorizontal>(
    +    chartData: T,
    +    width: CGFloat = 70
    +) -> some View
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + +
    + + chartData + + +
    +

    Chart data model.

    +
    +
    + + width + + +
    +

    Width of the view.

    +
    +
    +
    +
    +

    Return Value

    +

    A new view containing the chart with a view to +display touch overlay information.

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Draws a line across the chart to show the the trend in the data.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func linearTrendLine<T: CTLineBarChartDataProtocol & GetDataProtocol>(
    +    chartData: T,
    +    firstValue: Double,
    +    lastValue: Double,
    +    lineColour: ColourStyle = ColourStyle(),
    +    strokeStyle: StrokeStyle = StrokeStyle()
    +) -> some View
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + + + +
    + + chartData + + +
    +

    Chart data model.

    +
    +
    + + firstValue + + +
    +

    The value of the leading data point.

    +
    +
    + + lastValue + + +
    +

    The value of the trailnig data point.

    +
    +
    + + lineColour + + +
    +

    Line Colour.

    +
    +
    + + strokeStyle + + +
    +

    Stroke Style.

    +
    +
    +
    +
    +

    Return Value

    +

    A new view containing the chart with a trend line.

    +
    +
    +
    +
  • +
  • +
    + + + + xAxisGrid(chartData:) + +
    +
    +
    +
    +
    +
    +

    Adds vertical lines along the X axis.

    + +

    The style is set in ChartData –> ChartStyle –> xAxisGridStyle

    +
    +

    Requires

    + Chart Data to conform to CTLineBarChartDataProtocol. + +
    +

    Available for:

    + +
      +
    • Line Chart
    • +
    • Multi Line Chart
    • +
    • Filled Line Chart
    • +
    • Ranged Line Chart
    • +
    • Bar Chart
    • +
    • Grouped Bar Chart
    • +
    • Stacked Bar Chart
    • +
    • Ranged Bar Chart
    • +
    +

    Unavailable for:

    + +
      +
    • Pie Chart
    • +
    • Doughnut Chart

    • +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func xAxisGrid<T>(chartData: T) -> some View where T : CTLineBarChartDataProtocol
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + chartData + + +
    +

    Chart data model.

    +
    +
    +
    +
    +

    Return Value

    +

    A new view containing the chart with vertical lines under it.

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Labels for the X axis.

    + +

    The labels can either come from ChartData –> xAxisLabels +or ChartData –> DataSets –> DataPoints

    +
    +

    Requires

    +

    Chart Data to conform to CTLineBarChartDataProtocol.

    + +
    +

    Requires

    +

    Chart Data to conform to CTLineBarChartDataProtocol.

    + +
    +

    Available for:

    + +
      +
    • Line Chart
    • +
    • Multi Line Chart
    • +
    • Filled Line Chart
    • +
    • Ranged Line Chart
    • +
    • Bar Chart
    • +
    • Grouped Bar Chart
    • +
    • Stacked Bar Chart
    • +
    • Ranged Bar Chart
    • +
    +

    Unavailable for:

    + +
      +
    • Pie Chart
    • +
    • Doughnut Chart

    • +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func xAxisLabels<T>(chartData: T) -> some View where T : CTLineBarChartDataProtocol
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + chartData + + +
    +

    Chart data model.

    +
    +
    +
    +
    +

    Return Value

    +

    A new view containing the chart with labels marking the x axis.

    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Extension +

+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Vertical line marking a custom value.

    + +

    Shows a marker line at a specified value.

    +
    +

    Requires

    + +
    + +

    Chart Data to conform to CTLineBarChartDataProtocol.

    +

    Available for:

    + +
      +
    • Line Chart
    • +
    • Multi Line Chart
    • +
    • Filled Line Chart
    • +
    • Ranged Line Chart
    • +
    • Bar Chart
    • +
    • Grouped Bar Chart
    • +
    • Stacked Bar Chart
    • +
    • Ranged Bar Chart
    • +
    +

    Unavailable for:

    + +
      +
    • Pie Chart
    • +
    • Doughnut Chart

    • +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func xAxisPOI<T:CTLineBarChartDataProtocol & GetDataProtocol & PointOfInterestProtocol>(
    +    chartData: T,
    +    markerName: String,
    +    markerValue: Int,
    +    dataPointCount: Int,
    +    lineColour: Color = Color(.blue),
    +    labelBorderColor: Color? = nil,
    +    strokeStyle: StrokeStyle = StrokeStyle(lineWidth: 2, lineCap: .round, lineJoin: .round, miterLimit: 10, dash: [CGFloat](), dashPhase: 0),
    +    labelPosition: DisplayValue = .center(specifier: "%.0f"),
    +    labelFont: Font = .caption,
    +    labelColour: Color = Color.primary,
    +    labelBackground: Color = Color.systemsBackground,
    +    customLabelShape: CustomLabelShape? = nil,
    +    padding: CGFloat? = nil,
    +    addToLegends: Bool = true
    +) -> some View
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + chartData + + +
    +

    Chart data model.

    +
    +
    + + markerName + + +
    +

    Title of marker, for the legend.

    +
    +
    + + markerValue + + +
    +

    Value to mark.

    +
    +
    + + dataPointCount + + +
    +

    Total number of data points in data set.

    +
    +
    + + labelPosition + + +
    +

    Option to display the markers’ value inline with the marker.

    +
    +
    + + labelFont + + +
    +

    Font for the label.

    +
    +
    + + labelColour + + +
    +

    Colour of the Text.

    +
    +
    + + labelBackground + + +
    +

    Colour of the background.

    +
    +
    + + lineColour + + +
    +

    Line Colour.

    +
    +
    + + labelBorderColor + + +
    +

    Custom Color for the label border, if not provided lineColor will be used.

    +
    +
    + + strokeStyle + + +
    +

    Style of Stroke.

    +
    +
    + + customLabelShape + + +
    +

    Custom Shape for POI Label.

    +
    +
    + + padding + + +
    +

    Custom Padding between Shape and Text.

    +
    +
    + + addToLegends + + +
    +

    Whether or not to add this to the legends.

    +
    +
    +
    +
    +

    Return Value

    +

    A new view containing the chart with a marker line at a specified value.

    +
    +
    +
    +
  • +
  • +
    + + + + yAxisGrid(chartData:) + +
    +
    +
    +
    +
    +
    +

    Adds horizontal lines along the X axis.

    + +

    The style is set in ChartData –> LineChartStyle –> yAxisGridStyle

    +
    +

    Requires

    + Chart Data to conform to CTLineBarChartDataProtocol. + +
    +

    Available for:

    + +
      +
    • Line Chart
    • +
    • Multi Line Chart
    • +
    • Filled Line Chart
    • +
    • Ranged Line Chart
    • +
    • Bar Chart
    • +
    • Grouped Bar Chart
    • +
    • Stacked Bar Chart
    • +
    • Ranged Bar Chart
    • +
    +

    Unavailable for:

    + +
      +
    • Pie Chart
    • +
    • Doughnut Chart

    • +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func yAxisGrid<T>(chartData: T) -> some View where T : CTLineBarChartDataProtocol
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + chartData + + +
    +

    Chart data model.

    +
    +
    +
    +
    +

    Return Value

    +

    A new view containing the chart with horizontal lines under it.

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Automatically generated labels for the Y axis.

    + +

    Controls are in ChartData –> ChartStyle

    +
    +

    Requires

    + Chart Data to conform to CTLineBarChartDataProtocol. + +
    +

    Available for:

    + +
      +
    • Line Chart
    • +
    • Multi Line Chart
    • +
    • Filled Line Chart
    • +
    • Ranged Line Chart
    • +
    • Bar Chart
    • +
    • Grouped Bar Chart
    • +
    • Stacked Bar Chart
    • +
    • Ranged Bar Chart
    • +
    +

    Unavailable for:

    + +
      +
    • Pie Chart
    • +
    • Doughnut Chart

    • +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func yAxisLabels<T: CTLineBarChartDataProtocol>(
    +    chartData: T,
    +    specifier: String = "%.0f",
    +    formatter: NumberFormatter? = nil,
    +    colourIndicator: AxisColour = .none
    +) -> some View
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + +
    + + chartData + + +
    +

    Data that conforms to CTLineBarChartDataProtocol

    +
    +
    + + specifier + + +
    +

    Decimal precision specifier

    +
    +
    +
    +
    +

    Return Value

    +

    HStack of labels

    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Extensions +

+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Horizontal line marking a custom value.

    + +

    Shows a marker line at a specified value.

    +

    Example

    +
    .yAxisPOI(chartData: data,
    +             markerName: "Marker",
    +             markerValue: 110,
    +             labelPosition: .center(specifier: "%.0f"),
    +             labelColour: Color.white,
    +             labelBackground: Color.red,
    +             lineColour: .blue,
    +             strokeStyle: StrokeStyle(lineWidth: 2,
    +                                      lineCap: .round,
    +                                      lineJoin: .round,
    +                                      miterLimit: 10,
    +                                      dash: [8],
    +                                      dashPhase: 0))
    +
    +
    +

    Requires

    + +
    + +

    Chart Data to conform to CTLineBarChartDataProtocol.

    +

    Available for:

    + +
      +
    • Line Chart
    • +
    • Multi Line Chart
    • +
    • Filled Line Chart
    • +
    • Ranged Line Chart
    • +
    • Bar Chart
    • +
    • Grouped Bar Chart
    • +
    • Stacked Bar Chart
    • +
    • Ranged Bar Chart
    • +
    +

    Unavailable for:

    + +
      +
    • Pie Chart
    • +
    • Doughnut Chart

    • +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func yAxisPOI<T:CTLineBarChartDataProtocol & GetDataProtocol & PointOfInterestProtocol>(
    +    chartData: T,
    +    markerName: String,
    +    markerValue: Double,
    +    labelPosition: DisplayValue = .center(specifier: "%.0f"),
    +    labelFont: Font = .caption,
    +    labelColour: Color = Color.primary,
    +    labelBackground: Color = Color.systemsBackground,
    +    lineColour: Color = Color(.blue),
    +    labelBorderColor: Color? = nil,
    +    strokeStyle: StrokeStyle = StrokeStyle(lineWidth: 2, lineCap: .round, lineJoin: .round, miterLimit: 10, dash: [CGFloat](), dashPhase: 0),
    +    customLabelShape: CustomLabelShape? = nil,
    +    padding: CGFloat? = nil,
    +    addToLegends: Bool = true
    +) -> some View
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + chartData + + +
    +

    Chart data model.

    +
    +
    + + markerName + + +
    +

    Title of marker, for the legend.

    +
    +
    + + markerValue + + +
    +

    Value to mark

    +
    +
    + + labelPosition + + +
    +

    Option to display the markers’ value inline with the marker.

    +
    +
    + + labelFont + + +
    +

    Font for the label.

    +
    +
    + + labelColour + + +
    +

    Colour of the Text.

    +
    +
    + + labelBackground + + +
    +

    Colour of the background.

    +
    +
    + + lineColour + + +
    +

    Line Colour.

    +
    +
    + + labelBorderColor + + +
    +

    Custom Color for the label border, if not provided lineColor will be used.

    +
    +
    + + strokeStyle + + +
    +

    Style of Stroke.

    +
    +
    + + customLabelShape + + +
    +

    Custom Shape for POI Label.

    +
    +
    + + padding + + +
    +

    Custom Padding between Shape and Text.

    +
    +
    + + addToLegends + + +
    +

    Whether or not to add this to the legends.

    +
    +
    +
    +
    +

    Return Value

    +

    A new view containing the chart with a marker line at a specified value.

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Horizontal line marking the average.

    + +

    Shows a marker line at the average of all the data points within +the relevant data set(s).

    +

    Example

    +
    .averageLine(chartData: data,
    +             markerName: "Average",
    +             labelPosition: .center(specifier: "%.0f"),
    +             labelColour: Color.white,
    +             labelBackground: Color.red,
    +             lineColour: .primary,
    +             strokeStyle: StrokeStyle(lineWidth: 2,
    +                                      lineCap: .round,
    +                                      lineJoin: .round,
    +                                      miterLimit: 10,
    +                                      dash: [8],
    +                                      dashPhase: 0))
    +
    +
    +

    Requires

    + +
    + +

    Chart Data to conform to CTLineBarChartDataProtocol.

    +

    Available for:

    + +
      +
    • Line Chart
    • +
    • Multi Line Chart
    • +
    • Filled Line Chart
    • +
    • Ranged Line Chart
    • +
    • Bar Chart
    • +
    • Grouped Bar Chart
    • +
    • Stacked Bar Chart
    • +
    • Ranged Bar Chart
    • +
    +

    Unavailable for:

    + +
      +
    • Pie Chart
    • +
    • Doughnut Chart

    • +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func averageLine<T:CTLineBarChartDataProtocol & GetDataProtocol & PointOfInterestProtocol>(
    +    chartData: T,
    +    markerName: String = "Average",
    +    labelPosition: DisplayValue = .yAxis(specifier: "%.0f"),
    +    labelFont: Font = .caption,
    +    labelColour: Color = Color.primary,
    +    labelBackground: Color = Color.systemsBackground,
    +    lineColour: Color = Color.primary,
    +    labelBorderColor: Color? = nil,
    +    strokeStyle: StrokeStyle = StrokeStyle(lineWidth: 2, lineCap: .round, lineJoin: .round, miterLimit: 10, dash: [CGFloat](), dashPhase: 0),
    +    customLabelShape: CustomLabelShape? = nil,
    +    padding: CGFloat? = nil,
    +    addToLegends: Bool = true
    +) -> some View
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + chartData + + +
    +

    Chart data model.

    +
    +
    + + markerName + + +
    +

    Title of marker, for the legend.

    +
    +
    + + labelPosition + + +
    +

    Option to display the markers’ value inline with the marker.

    +
    +
    + + labelFont + + +
    +

    Font for the label.

    +
    +
    + + labelColour + + +
    +

    Colour of the Text.

    +
    +
    + + labelBackground + + +
    +

    Colour of the background.

    +
    +
    + + lineColour + + +
    +

    Line Colour.

    +
    +
    + + labelBorderColor + + +
    +

    Custom Color for the label border, if not provided lineColor will be used.

    +
    +
    + + strokeStyle + + +
    +

    Style of Stroke.

    +
    +
    + + customLabelShape + + +
    +

    Custom Shape for POI Label.

    +
    +
    + + padding + + +
    +

    Custom Padding between Shape and Text.

    +
    +
    + + addToLegends + + +
    +

    Whether or not to add this to the legends.

    +
    +
    +
    +
    +

    Return Value

    +

    A new view containing the chart with a marker line at the average.

    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Protocols.html b/docs/Protocols.html new file mode 100644 index 00000000..c5b8f816 --- /dev/null +++ b/docs/Protocols.html @@ -0,0 +1,2225 @@ + + + + Protocols Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

Protocols

+

The following protocols are available globally.

+ +
+
+ +
+
+
+
+ + +
+ +

Chart Data +

+
+
+ +
+
+
+ + +
+ +

Style +

+
+
+ +
+
+
+ + +
+ +

DataSet +

+
+
+ +
+
+
+ + +
+ +

DataPoints +

+
+
+ +
+
+
+ + +
+ +

Chart Data +

+
+
+ +
+
+
+ + +
+ +

Style +

+
+
+
    +
  • +
    + + + + CTLineChartStyle + +
    +
    +
    +
    +
    +
    +

    A protocol to extend functionality of CTLineBarChartStyle specifically for Line Charts.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public protocol CTLineChartStyle : CTLineBarChartStyle
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + CTLineStyle + +
    +
    +
    +
    +
    +
    +

    Protocol to set up the styling for individual lines.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public protocol CTLineStyle
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + CTRangedLineStyle + +
    +
    +
    +
    +
    +
    +

    A protocol to extend functionality of CTLineStyle specifically for Ranged Line Charts.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public protocol CTRangedLineStyle : CTLineStyle
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

DataSet +

+
+
+ +
+
+
+ + +
+ +

Data Point +

+
+
+ +
+
+
+ + +
+ +

Chart Data +

+
+
+ +
+
+
+ + +
+ +

DataPoints +

+
+
+ +
+
+
+ + +
+ +

Style +

+
+
+ +
+
+
+ + +
+ +

Chart Data +

+
+
+
    +
  • +
    + + + + CTChartData + +
    +
    +
    +
    +
    +
    +

    Main protocol for passing data around library.

    + +

    All Chart Data models ultimately conform to this.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public protocol CTChartData : ObservableObject, Identifiable
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Data Sets +

+
+
+
    +
  • +
    + + + + CTDataSetProtocol + +
    +
    +
    +
    +
    +
    +

    Main protocol to set conformace for types of Data Sets.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public protocol CTDataSetProtocol : Hashable, Identifiable
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Protocol for data sets that only require a single set of data .

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public protocol CTSingleDataSetProtocol : CTDataSetProtocol
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Protocol for data sets that require a multiple sets of data .

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public protocol CTMultiDataSetProtocol : CTDataSetProtocol
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Data Points +

+
+
+ +
+
+
+ + +
+ +

Styles +

+
+
+
    +
  • +
    + + + + CTChartStyle + +
    +
    +
    +
    +
    +
    +

    Protocol to set the styling data for the chart.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public protocol CTChartStyle
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + CTColourStyle + +
    +
    +
    +
    +
    +
    +

    A protocol to set colour styling.

    + +

    Allows for single colour, gradient or gradient with stops control.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public protocol CTColourStyle
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + CTisRanged + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public protocol CTisRanged
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + CTnotRanged + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public protocol CTnotRanged
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + DataFunctionsProtocol + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public protocol DataFunctionsProtocol
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + GetDataProtocol + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public protocol GetDataProtocol
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Style +

+
+
+
    +
  • +
    + + + + MarkerType + +
    +
    +
    +
    +
    +
    +

    A protocol to get the correct touch overlay marker.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public protocol MarkerType
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + CTLineBarChartStyle + +
    +
    +
    +
    +
    +
    +

    A protocol to extend functionality of CTChartStyle specifically for Line and Bar Charts.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public protocol CTLineBarChartStyle : CTChartStyle
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

DataPoints +

+
+
+ +
+
+
+ +
+
+ + + diff --git a/docs/Protocols/CTBarChartDataProtocol.html b/docs/Protocols/CTBarChartDataProtocol.html new file mode 100644 index 00000000..5566cc9b --- /dev/null +++ b/docs/Protocols/CTBarChartDataProtocol.html @@ -0,0 +1,625 @@ + + + + CTBarChartDataProtocol Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

CTBarChartDataProtocol

+
+
+ +
public protocol CTBarChartDataProtocol : CTLineBarChartDataProtocol
+ +
+
+

A protocol to extend functionality of CTLineBarChartDataProtocol specifically for Bar Charts.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + BarStyle + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    associatedtype BarStyle : CTBarStyle
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + barStyle + +
    +
    +
    +
    +
    +
    +

    Overall styling for the bars

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var barStyle: BarStyle { get set }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Protocols/CTBarColourProtocol.html b/docs/Protocols/CTBarColourProtocol.html new file mode 100644 index 00000000..3a23ef16 --- /dev/null +++ b/docs/Protocols/CTBarColourProtocol.html @@ -0,0 +1,598 @@ + + + + CTBarColourProtocol Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

CTBarColourProtocol

+
+
+ +
public protocol CTBarColourProtocol
+ +
+
+

A protocol to a standard colour scheme for bar charts.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + colour + +
    +
    +
    +
    +
    +
    +

    Drawing style of the range fill.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var colour: ColourStyle { get set }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Protocols/CTBarStyle.html b/docs/Protocols/CTBarStyle.html new file mode 100644 index 00000000..967b529b --- /dev/null +++ b/docs/Protocols/CTBarStyle.html @@ -0,0 +1,679 @@ + + + + CTBarStyle Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

CTBarStyle

+
+
+ +
public protocol CTBarStyle : Hashable, CTBarColourProtocol
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + barWidth + +
    +
    +
    +
    +
    +
    +

    How much of the available width to use. 0…1

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var barWidth: CGFloat { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + cornerRadius + +
    +
    +
    +
    +
    +
    +

    Corner radius of the bar shape.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var cornerRadius: CornerRadius { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + colourFrom + +
    +
    +
    +
    +
    +
    +

    Where to get the colour data from.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var colourFrom: ColourFrom { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + colour + +
    +
    +
    +
    +
    +
    +

    Drawing style of the fill.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var colour: ColourStyle { get set }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Protocols/CTChartData.html b/docs/Protocols/CTChartData.html new file mode 100644 index 00000000..490527d9 --- /dev/null +++ b/docs/Protocols/CTChartData.html @@ -0,0 +1,1414 @@ + + + + CTChartData Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

CTChartData

+
+
+ +
public protocol CTChartData : ObservableObject, Identifiable
+ +
+
+

Main protocol for passing data around library.

+ +

All Chart Data models ultimately conform to this.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + SetType + +
    +
    +
    +
    +
    +
    +

    A type representing a data set. – CTDataSetProtocol

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    associatedtype SetType : CTDataSetProtocol
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + SetPoint + +
    +
    +
    +
    +
    +
    +

    A type representing a data set. – CTDataSetProtocol

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    associatedtype SetPoint : CTDataSetProtocol
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + DataPoint + +
    +
    +
    +
    +
    +
    +

    A type representing a data point. – CTChartDataPoint

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    associatedtype DataPoint : CTDataPointBaseProtocol
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + CTStyle + +
    +
    +
    +
    +
    +
    +

    A type representing the chart style. – CTChartStyle

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    associatedtype CTStyle : CTChartStyle
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Touch + +
    +
    +
    +
    +
    +
    +

    A type representing a view for the results of the touch interaction.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    associatedtype Touch : View
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + id + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var id: ID { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + dataSets + +
    +
    +
    +
    +
    +
    +

    Data model containing datapoints and styling information.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var dataSets: SetType { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + metadata + +
    +
    +
    +
    +
    +
    +

    Data model containing the charts Title, Subtitle and the Title for Legend.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var metadata: ChartMetadata { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + legends + +
    +
    +
    +
    +
    +
    +

    Array of LegendData to populate the charts legend.

    + +

    This is populated automatically from within each view.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var legends: [LegendData] { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + infoView + +
    +
    +
    +
    +
    +
    +

    Data model pass data from TouchOverlay ViewModifier to +HeaderBox or InfoBox for display.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var infoView: InfoViewData<DataPoint> { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + chartStyle + +
    +
    +
    +
    +
    +
    +

    Data model conatining the style data for the chart.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var chartStyle: CTStyle { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + noDataText + +
    +
    +
    +
    +
    +
    +

    Customisable Text to display when where is not enough data to draw the chart.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var noDataText: Text { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + chartType + +
    +
    +
    +
    +
    +
    +

    Holds data about the charts type.

    + +

    Allows for internal logic based on the type of chart.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var chartType: (chartType: ChartType, dataSetType: DataSetType) { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + disableAnimation + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var disableAnimation: Bool { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + isGreaterThanTwo() + +
    +
    +
    +
    +
    +
    +

    Returns whether there are two or more data points.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func isGreaterThanTwo() -> Bool
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Touch +

+
+
+
    +
  • +
    + + + + setTouchInteraction(touchLocation:chartSize:) + + + Default implementation + +
    +
    +
    +
    +
    +
    +

    Takes in the required data to set up all the touch interactions.

    + +

    Output via getTouchInteraction(touchLocation: CGPoint, chartSize: CGRect) -> Touch

    + +
      +
    • touchLocation: Current location of the touch
    • +
    • chartSize: The size of the chart view as the parent view.
    • +
    + +
    +

    Default Implementation

    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func setTouchInteraction(touchLocation: CGPoint, chartSize: CGRect)
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Takes touch location and return a view based on the chart type and configuration.

    + +

    Inputs from setTouchInteraction(touchLocation: CGPoint, chartSize: CGRect)

    + +
      +
    • touchLocation: Current location of the touch
    • +
    • chartSize: The size of the chart view as the parent view.
    • +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func getTouchInteraction(touchLocation: CGPoint, chartSize: CGRect) -> Touch
    + +
    +
    +
    +

    Return Value

    +

    The relevent view for the chart type and options.

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Gets the nearest data points to the touch location.

    + +
      +
    • touchLocation: Current location of the touch.
    • +
    • chartSize: The size of the chart view as the parent view.
    • +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func getDataPoint(touchLocation: CGPoint, chartSize: CGRect)
    + +
    +
    +
    +

    Return Value

    +

    Array of data points.

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Gets the location of the data point in the view.

    + +
      +
    • dataSet: Data set to work with.
    • +
    • touchLocation: Current location of the touch.
    • +
    • chartSize: The size of the chart view as the parent view.
    • +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func getPointLocation(dataSet: SetPoint, touchLocation: CGPoint, chartSize: CGRect) -> CGPoint?
    + +
    +
    +
    +

    Return Value

    +

    Array of points with the location on screen of data points.

    +
    +
    +
    +
  • +
  • +
    + + + + infoValueUnit(info:) + + + Extension method + +
    +
    +
    +
    +
    +
    +

    Displays the data points value with the unit.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func infoValueUnit(info: DataPoint) -> some View
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + info + + +
    +

    A data point

    +
    +
    +
    +
    +

    Return Value

    +

    Text View with the value with relevent info.

    +
    +
    +
    +
  • +
  • +
    + + + + infoValue(info:) + + + Extension method + +
    +
    +
    +
    +
    +
    +

    Displays the data points value without the unit.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func infoValue(info: DataPoint) -> some View
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + info + + +
    +

    A data point

    +
    +
    +
    +
    +

    Return Value

    +

    Text View with the value with relevent info.

    +
    +
    +
    +
  • +
  • +
    + + + + infoUnit() + + + Extension method + +
    +
    +
    +
    +
    +
    +

    Displays the unit.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func infoUnit() -> some View
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + info + + +
    +

    A data point

    +
    +
    +
    +
    +

    Return Value

    +

    Text View of the unit.

    +
    +
    +
    +
  • +
  • +
    + + + + infoDescription(info:) + + + Extension method + +
    +
    +
    +
    +
    +
    +

    Displays the data points description.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func infoDescription(info: DataPoint) -> some View
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + info + + +
    +

    A data point

    +
    +
    +
    +
    +

    Return Value

    +

    Text View with the points description.

    +
    +
    +
    +
  • +
  • +
    + + + + infoLegend(info:) + + + Extension method + +
    +
    +
    +
    +
    +
    +

    Displays the relevent Legend for the data point.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @ViewBuilder
    +public func infoLegend(info: DataPoint) -> some View
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + info + + +
    +

    A data point

    +
    +
    +
    +
    +

    Return Value

    +

    A View of a Legend.

    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Protocols/CTChartStyle.html b/docs/Protocols/CTChartStyle.html new file mode 100644 index 00000000..d82fcd62 --- /dev/null +++ b/docs/Protocols/CTChartStyle.html @@ -0,0 +1,843 @@ + + + + CTChartStyle Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

CTChartStyle

+
+
+ +
public protocol CTChartStyle
+ +
+
+

Protocol to set the styling data for the chart.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + infoBoxPlacement + +
    +
    +
    +
    +
    +
    +

    Placement of the information box that appears on touch input.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var infoBoxPlacement: InfoBoxPlacement { get set }
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Placement of the information box that appears on touch input.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var infoBoxContentAlignment: InfoBoxAlignment { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + infoBoxValueFont + +
    +
    +
    +
    +
    +
    +

    Font for the value part of the touch info.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var infoBoxValueFont: Font { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + infoBoxValueColour + +
    +
    +
    +
    +
    +
    +

    Colour of the value part of the touch info.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var infoBoxValueColour: Color { get set }
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Font for the description part of the touch info.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var infoBoxDescriptionFont: Font { get set }
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Colour of the description part of the touch info.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var infoBoxDescriptionColour: Color { get set }
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Colour of the background of the touch info.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var infoBoxBackgroundColour: Color { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + infoBoxBorderColour + +
    +
    +
    +
    +
    +
    +

    Border colour of the touch info.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var infoBoxBorderColour: Color { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + infoBoxBorderStyle + +
    +
    +
    +
    +
    +
    +

    Border style of the touch info.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var infoBoxBorderStyle: StrokeStyle { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + globalAnimation + +
    +
    +
    +
    +
    +
    +

    Global control of animations.

    +
    Animation.linear(duration: 1)
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var globalAnimation: Animation { get set }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Protocols/CTColourStyle.html b/docs/Protocols/CTColourStyle.html new file mode 100644 index 00000000..8eec936e --- /dev/null +++ b/docs/Protocols/CTColourStyle.html @@ -0,0 +1,737 @@ + + + + CTColourStyle Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

CTColourStyle

+
+
+ +
public protocol CTColourStyle
+ +
+
+

A protocol to set colour styling.

+ +

Allows for single colour, gradient or gradient with stops control.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + colourType + +
    +
    +
    +
    +
    +
    +

    Selection for the style of colour.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var colourType: ColourType { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + colour + +
    +
    +
    +
    +
    +
    +

    Single Colour

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var colour: Color? { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + colours + +
    +
    +
    +
    +
    +
    +

    Array of colours for gradient

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var colours: [Color]? { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + stops + +
    +
    +
    +
    +
    +
    +

    Array of Gradient Stops.

    + +

    GradientStop is a Hashable version of Gradient.Stop

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var stops: [GradientStop]? { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + startPoint + +
    +
    +
    +
    +
    +
    +

    Start point for the gradient

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var startPoint: UnitPoint? { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + endPoint + +
    +
    +
    +
    +
    +
    +

    End point for the gradient

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var endPoint: UnitPoint? { get set }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Protocols/CTDataPointBaseProtocol.html b/docs/Protocols/CTDataPointBaseProtocol.html new file mode 100644 index 00000000..4ce4b570 --- /dev/null +++ b/docs/Protocols/CTDataPointBaseProtocol.html @@ -0,0 +1,780 @@ + + + + CTDataPointBaseProtocol Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

CTDataPointBaseProtocol

+
+
+ +
public protocol CTDataPointBaseProtocol : Hashable, Identifiable
+ +
+
+

Protocol to set base configuration for data points.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + id + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var id: ID { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + description + +
    +
    +
    +
    +
    +
    +

    A label that can be displayed on touch input

    + +

    It can be displayed in a floating box that tracks the users input location +or placed in the header.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var description: String? { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + date + +
    +
    +
    +
    +
    +
    +

    Date can be used for optionally performing additional calculations.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var date: Date? { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + legendTag + +
    +
    +
    +
    +
    +
    +

    Internal property that has to be exposed publicly through the protocol.

    + +

    This is used for displaying legends outside of the .legends() +view modifier.

    + +

    Do Not Use.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var legendTag: String { get set }
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Gets the relevant value(s) from the data point.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func valueAsString(specifier: String, formatter: NumberFormatter?) -> String
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + specifier + + +
    +

    Specifier

    +
    +
    +
    +
    +

    Return Value

    +

    Value as a string.

    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Data Point +

+
+
+
    +
  • +
    + + + + wrappedDescription + + + Extension method + +
    +
    +
    +
    +
    +
    +

    Unwraps description

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var wrappedDescription: String { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Protocols/CTDataSetProtocol.html b/docs/Protocols/CTDataSetProtocol.html new file mode 100644 index 00000000..794e6475 --- /dev/null +++ b/docs/Protocols/CTDataSetProtocol.html @@ -0,0 +1,598 @@ + + + + CTDataSetProtocol Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

CTDataSetProtocol

+
+
+ +
public protocol CTDataSetProtocol : Hashable, Identifiable
+ +
+
+

Main protocol to set conformace for types of Data Sets.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + id + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var id: ID { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Protocols/CTDoughnutChartStyle.html b/docs/Protocols/CTDoughnutChartStyle.html new file mode 100644 index 00000000..c3062897 --- /dev/null +++ b/docs/Protocols/CTDoughnutChartStyle.html @@ -0,0 +1,598 @@ + + + + CTDoughnutChartStyle Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

CTDoughnutChartStyle

+
+
+ +
public protocol CTDoughnutChartStyle : CTPieAndDoughnutChartStyle
+ +
+
+

A protocol to extend functionality of CTPieAndDoughnutChartStyle specifically for Doughnut Charts.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + strokeWidth + +
    +
    +
    +
    +
    +
    +

    Width / Delta of the Doughnut Chart

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var strokeWidth: CGFloat { get set }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Protocols/CTLineBarChartDataProtocol.html b/docs/Protocols/CTLineBarChartDataProtocol.html new file mode 100644 index 00000000..8dd94360 --- /dev/null +++ b/docs/Protocols/CTLineBarChartDataProtocol.html @@ -0,0 +1,2454 @@ + + + + CTLineBarChartDataProtocol Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

CTLineBarChartDataProtocol

+
+
+ +
public protocol CTLineBarChartDataProtocol : CTChartData where Self.CTStyle : CTLineBarChartStyle
+ +
+
+

A protocol to extend functionality of CTChartData specifically for Line and Bar Charts.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + xAxisLabels + +
    +
    +
    +
    +
    +
    +

    Array of strings for the labels on the X Axis instead of the labels in the data points.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var xAxisLabels: [String]? { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + yAxisLabels + +
    +
    +
    +
    +
    +
    +

    Array of strings for the labels on the Y Axis instead of the labels generated +from data point values.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var yAxisLabels: [String]? { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + viewData + +
    +
    +
    +
    +
    +
    +

    Data model to hold data about the Views layout.

    + +

    This informs some ViewModifiers whether the chart has X and/or Y +axis labels so they can configure thier layouts appropriately.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var viewData: ChartViewData { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + extraLineData + +
    +
    +
    +
    +
    +
    +

    A data model for the ExtraLine View Modifier

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var extraLineData: ExtraLineData? { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + ExtraYLabels + +
    +
    +
    +
    +
    +
    +

    A type representing a View for displaying second set of labels on the Y axis.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    associatedtype ExtraYLabels : View
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + getExtraYAxisLabels() + + + Default implementation + +
    +
    +
    +
    +
    +
    +

    View for displaying second set of labels on the Y axis.

    + +
    +

    Default Implementation

    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func getExtraYAxisLabels() -> ExtraYLabels
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + getColour() + +
    +
    +
    +
    +
    +
    +

    Get the relevant colour indicator for the y axis labels.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func getColour() -> ColourStyle
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + XLabels + +
    +
    +
    +
    +
    +
    +

    A type representing a View for displaying labels on the X axis.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    associatedtype XLabels : View
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + getXAxisLabels() + +
    +
    +
    +
    +
    +
    +

    Displays a view for the labels on the X Axis.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func getXAxisLabels() -> XLabels
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + YLabels + +
    +
    +
    +
    +
    +
    +

    A type representing a View for displaying labels on the X axis.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    associatedtype YLabels : View
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + getYAxisLabels() + +
    +
    +
    +
    +
    +
    +

    Displays a view for the labels on the Y Axis.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func getYAxisLabels() -> YLabels
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + setBoxLocation(touchLocation:boxFrame:chartSize:) + + + Default implementation + +
    +
    +
    +
    +
    +
    +

    Sets the data point info box location while keeping it within the parent view.

    + +
    +

    Default Implementation

    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func setBoxLocation(touchLocation: CGFloat, boxFrame: CGRect, chartSize: CGRect) -> CGFloat
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + +
    + + touchLocation + + +
    +

    Location the user has pressed.

    +
    +
    + + boxFrame + + +
    +

    The size of the point info box.

    +
    +
    + + chartSize + + +
    +

    The size of the chart view as the parent view.

    +
    +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Box Location +

+
+
+
    +
  • +
    + + + + setBoxLocationation(touchLocation:boxFrame:chartSize:) + + + Extension method + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func setBoxLocationation(touchLocation: CGFloat, boxFrame: CGRect, chartSize: CGRect) -> CGFloat
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Axes Titles +

+
+
+
    +
  • +
    + + + + getYAxisTitle(colour:) + + + Extension method + +
    +
    +
    +
    +
    +
    +

    Returns the title for y axis.

    + +

    This also informs ViewData of it width so +that the positioning of the views in the x axis +can be calculated.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func getYAxisTitle(colour: AxisColour) -> some View
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Extra Y Axis Labels +

+
+
+
    +
  • +
    + + + + getExtraYAxisTitle(colour:) + + + Extension method + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func getExtraYAxisTitle(colour: AxisColour) -> some View
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Available where Self: isHorizontal +

+
+
+
    +
  • +
    + + + + setBoxLocationation(touchLocation:boxFrame:chartSize:) + + + Extension method + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func setBoxLocationation(touchLocation: CGFloat, boxFrame: CGRect, chartSize: CGRect) -> CGFloat
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Available where Self: GetDataProtocol, SetType: DataFunctionsProtocol +

+
+
+
    +
  • +
    + + + + range + + + Extension method + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var range: Double { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + minValue + + + Extension method + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var minValue: Double { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + maxValue + + + Extension method + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var maxValue: Double { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + average + + + Extension method + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var average: Double { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Available where Self: PointOfInterestProtocol +

+
+
+ +
+
+
+ + +
+ +

Available where Self: PointOfInterestProtocol & isHorizontal +

+
+
+ +
+
+
+ + +
+ +

Available where Self: CTLineChartDataProtocol & PointOfInterestProtocol +

+
+
+ +
+
+
+ + +
+ +

Available where Self: CTBarChartDataProtocol & PointOfInterestProtocol +

+
+
+ +
+
+
+ + +
+ +

Available where Self: CTBarChartDataProtocol & PointOfInterestProtocol, Self: isHorizontal +

+
+
+ +
+
+
+ + +
+ +

Available where Self: PointOfInterestProtocol +

+
+
+ +
+
+
+ + +
+ +

Available where Self: PointOfInterestProtocol & isHorizontal +

+
+
+ +
+
+
+ + +
+ +

Available where Self: CTLineChartDataProtocol & PointOfInterestProtocol +

+
+
+ +
+
+
+ + +
+ +

Available where Self: CTBarChartDataProtocol & PointOfInterestProtocol +

+
+
+ +
+
+
+ + +
+ +

Available where Self: CTBarChartDataProtocol & PointOfInterestProtocol, Self: isHorizontal +

+
+
+ +
+
+
+ +
+
+ + + diff --git a/docs/Protocols/CTLineBarChartStyle.html b/docs/Protocols/CTLineBarChartStyle.html new file mode 100644 index 00000000..97628e50 --- /dev/null +++ b/docs/Protocols/CTLineBarChartStyle.html @@ -0,0 +1,1193 @@ + + + + CTLineBarChartStyle Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

CTLineBarChartStyle

+
+
+ +
public protocol CTLineBarChartStyle : CTChartStyle
+ +
+
+

A protocol to extend functionality of CTChartStyle specifically for Line and Bar Charts.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + Mark + +
    +
    +
    +
    +
    +
    +

    A type representing touch overlay marker type. – MarkerType

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    associatedtype Mark : MarkerType
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + markerType + +
    +
    +
    +
    +
    +
    +

    Where the marker lines come from to meet at a specified point.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var markerType: Mark { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + xAxisGridStyle + +
    +
    +
    +
    +
    +
    +

    Style of the vertical lines breaking up the chart.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var xAxisGridStyle: GridStyle { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + xAxisLabelPosition + +
    +
    +
    +
    +
    +
    +

    Location of the X axis labels - Top or Bottom.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var xAxisLabelPosition: XAxisLabelPosistion { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + xAxisLabelFont + +
    +
    +
    +
    +
    +
    +

    Font of the labels on the X axis.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var xAxisLabelFont: Font { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + xAxisLabelColour + +
    +
    +
    +
    +
    +
    +

    Text Colour for the labels on the X axis.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var xAxisLabelColour: Color { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + xAxisLabelsFrom + +
    +
    +
    +
    +
    +
    +

    Where the label data come from. DataPoint or ChartData.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var xAxisLabelsFrom: LabelsFrom { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + xAxisTitle + +
    +
    +
    +
    +
    +
    +

    Label to display next to the chart giving info about the axis.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var xAxisTitle: String? { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + xAxisTitleFont + +
    +
    +
    +
    +
    +
    +

    Font of the x axis title.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var xAxisTitleFont: Font { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + xAxisTitleColour + +
    +
    +
    +
    +
    +
    +

    Colour of the x axis title.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var xAxisTitleColour: Color { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + xAxisBorderColour + +
    +
    +
    +
    +
    +
    +

    Colour of the x axis border.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var xAxisBorderColour: Color? { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + yAxisGridStyle + +
    +
    +
    +
    +
    +
    +

    Style of the horizontal lines breaking up the chart.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var yAxisGridStyle: GridStyle { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + yAxisLabelPosition + +
    +
    +
    +
    +
    +
    +

    Location of the X axis labels - Leading or Trailing.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var yAxisLabelPosition: YAxisLabelPosistion { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + yAxisLabelFont + +
    +
    +
    +
    +
    +
    +

    Font of the labels on the Y axis.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var yAxisLabelFont: Font { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + yAxisLabelColour + +
    +
    +
    +
    +
    +
    +

    Text Colour for the labels on the Y axis.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var yAxisLabelColour: Color { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + yAxisNumberOfLabels + +
    +
    +
    +
    +
    +
    +

    Number Of Labels on Y Axis.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var yAxisNumberOfLabels: Int { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + yAxisLabelType + +
    +
    +
    +
    +
    +
    +

    Option to add custom Strings to Y axis rather than +auto generated numbers.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var yAxisLabelType: YAxisLabelType { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + yAxisTitle + +
    +
    +
    +
    +
    +
    +

    Label to display next to the chart giving info about the axis.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var yAxisTitle: String? { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + yAxisTitleFont + +
    +
    +
    +
    +
    +
    +

    Font of the y axis title.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var yAxisTitleFont: Font { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + yAxisTitleColour + +
    +
    +
    +
    +
    +
    +

    Font of the y axis title.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var yAxisTitleColour: Color { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + yAxisBorderColour + +
    +
    +
    +
    +
    +
    +

    Colour of the y axis border.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var yAxisBorderColour: Color? { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + baseline + +
    +
    +
    +
    +
    +
    +

    Where to start drawing the line chart from. Zero, data set minium or custom.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var baseline: Baseline { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + topLine + +
    +
    +
    +
    +
    +
    +

    Where to finish drawing the chart from. Data set maximum or custom.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var topLine: Topline { get set }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Protocols/CTLineBarDataPointProtocol.html b/docs/Protocols/CTLineBarDataPointProtocol.html new file mode 100644 index 00000000..6a2b911b --- /dev/null +++ b/docs/Protocols/CTLineBarDataPointProtocol.html @@ -0,0 +1,598 @@ + + + + CTLineBarDataPointProtocol Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

CTLineBarDataPointProtocol

+
+
+ +
public protocol CTLineBarDataPointProtocol : CTDataPointBaseProtocol
+ +
+
+

A protocol to extend functionality of CTStandardDataPointProtocol specifically for Line and Bar Charts.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + xAxisLabel + +
    +
    +
    +
    +
    +
    +

    Data points label for the X axis.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var xAxisLabel: String? { get set }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Protocols/CTLineChartDataProtocol.html b/docs/Protocols/CTLineChartDataProtocol.html new file mode 100644 index 00000000..6fbbbb77 --- /dev/null +++ b/docs/Protocols/CTLineChartDataProtocol.html @@ -0,0 +1,687 @@ + + + + CTLineChartDataProtocol Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

CTLineChartDataProtocol

+
+
+ +
public protocol CTLineChartDataProtocol : CTLineBarChartDataProtocol
+ +
+
+

A protocol to extend functionality of CTLineBarChartDataProtocol specifically for Line Charts.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + Points + +
    +
    +
    +
    +
    +
    +

    A type representing opaque View

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    associatedtype Points : View
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Access + +
    +
    +
    +
    +
    +
    +

    A type representing opaque View

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    associatedtype Access : View
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + getPointMarker() + +
    +
    +
    +
    +
    +
    +

    Displays Shapes over the data points.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func getPointMarker() -> Points
    + +
    +
    +
    +

    Return Value

    +

    Relevent view containing point markers based the chosen parameters.

    +
    +
    +
    +
  • +
  • +
    + + + + getAccessibility() + +
    +
    +
    +
    +
    +
    +

    Ensures that line charts have an accessibility layer.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func getAccessibility() -> Access
    + +
    +
    +
    +

    Return Value

    +

    A view with invisible rectangles over the data point.

    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Protocols/CTLineChartDataSet.html b/docs/Protocols/CTLineChartDataSet.html new file mode 100644 index 00000000..280ad714 --- /dev/null +++ b/docs/Protocols/CTLineChartDataSet.html @@ -0,0 +1,682 @@ + + + + CTLineChartDataSet Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

CTLineChartDataSet

+
+
+ +
public protocol CTLineChartDataSet : CTSingleDataSetProtocol
+ +
+
+

A protocol to extend functionality of SingleDataSet specifically for Line Charts.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + Styling + +
    +
    +
    +
    +
    +
    +

    A type representing colour styling

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    associatedtype Styling : CTLineStyle
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + legendTitle + +
    +
    +
    +
    +
    +
    +

    Label to display in the legend.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var legendTitle: String { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + style + +
    +
    +
    +
    +
    +
    +

    Sets the style for the Data Set (as opposed to Chart Data Style).

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var style: Styling { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + pointStyle + +
    +
    +
    +
    +
    +
    +

    Sets the look of the markers over the data points.

    + +

    The markers are layed out when the ViewModifier PointMarkers +is applied.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var pointStyle: PointStyle { get set }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Protocols/CTLineDataPointProtocol.html b/docs/Protocols/CTLineDataPointProtocol.html new file mode 100644 index 00000000..1f03c156 --- /dev/null +++ b/docs/Protocols/CTLineDataPointProtocol.html @@ -0,0 +1,598 @@ + + + + CTLineDataPointProtocol Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

CTLineDataPointProtocol

+
+
+ +
public protocol CTLineDataPointProtocol : CTLineBarDataPointProtocol
+ +
+
+

A protocol to extend functionality of CTLineBarDataPointProtocol specifically for Line and Bar Charts.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + pointColour + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var pointColour: PointColour? { get set }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Protocols/CTLineStyle.html b/docs/Protocols/CTLineStyle.html new file mode 100644 index 00000000..db2d5cdc --- /dev/null +++ b/docs/Protocols/CTLineStyle.html @@ -0,0 +1,685 @@ + + + + CTLineStyle Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

CTLineStyle

+
+
+ +
public protocol CTLineStyle
+ +
+
+

Protocol to set up the styling for individual lines.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + lineType + +
    +
    +
    +
    +
    +
    +

    Drawing style of the line.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var lineType: LineType { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + lineColour + +
    +
    +
    +
    +
    +
    +

    Colour styling of the line.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var lineColour: ColourStyle { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + strokeStyle + +
    +
    +
    +
    +
    +
    +

    Styling for stroke

    + +

    Replica of Apple’s StrokeStyle that conforms to Hashable

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var strokeStyle: Stroke { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + ignoreZero + +
    +
    +
    +
    +
    +
    +

    Whether the chart should skip data points who’s value is 0.

    + +

    This might be useful when showing trends over time but each day does not necessarily have data.

    + +

    The default is false.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var ignoreZero: Bool { get set }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Protocols/CTMultiBarChartDataProtocol.html b/docs/Protocols/CTMultiBarChartDataProtocol.html new file mode 100644 index 00000000..8e9409ee --- /dev/null +++ b/docs/Protocols/CTMultiBarChartDataProtocol.html @@ -0,0 +1,598 @@ + + + + CTMultiBarChartDataProtocol Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

CTMultiBarChartDataProtocol

+
+
+ +
public protocol CTMultiBarChartDataProtocol : CTBarChartDataProtocol
+ +
+
+

A protocol to extend functionality of CTBarChartDataProtocol specifically for Multi Part Bar Charts.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + groups + +
    +
    +
    +
    +
    +
    +

    Grouping data to inform the chart about the relationship between the datapoints.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var groups: [GroupingData] { get set }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Protocols/CTMultiBarChartDataSet.html b/docs/Protocols/CTMultiBarChartDataSet.html new file mode 100644 index 00000000..e9fcd6f2 --- /dev/null +++ b/docs/Protocols/CTMultiBarChartDataSet.html @@ -0,0 +1,654 @@ + + + + CTMultiBarChartDataSet Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

CTMultiBarChartDataSet

+
+
+ +
public protocol CTMultiBarChartDataSet : CTSingleDataSetProtocol
+ +
+
+

A protocol to extend functionality of CTSingleDataSetProtocol specifically for Multi Part Bar Charts.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + setTitle + +
    +
    +
    +
    +
    +
    +

    Title of the data set.

    + +

    This is used as an x axis label.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var setTitle: String { get set }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Available where Self == StackedBarDataSet +

+
+
+
    +
  • +
    + + + + maxValue() + + + Extension method + +
    +
    +
    +
    +
    +
    +

    Returns the highest sum value in the data set.

    +
    +

    Note

    +

    This differs from other charts, as Stacked Bar Charts +need to consider the sum value for each data set, instead of the +max value of a data point.

    + +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func maxValue() -> Double
    + +
    +
    +
    +

    Return Value

    +

    Highest sum value in data set.

    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Protocols/CTMultiBarDataPoint.html b/docs/Protocols/CTMultiBarDataPoint.html new file mode 100644 index 00000000..9aa66d79 --- /dev/null +++ b/docs/Protocols/CTMultiBarDataPoint.html @@ -0,0 +1,599 @@ + + + + CTMultiBarDataPoint Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

CTMultiBarDataPoint

+
+
+ +
public protocol CTMultiBarDataPoint : CTBarDataPointBaseProtocol, CTStandardDataPointProtocol, CTnotRanged
+ +
+
+

A protocol to extend functionality of CTBarDataPointBaseProtocol specifically for multi part Bar Charts. +i.e: Grouped or Stacked

+ +
+
+ +
+
+
+
    +
  • +
    + + + + group + +
    +
    +
    +
    +
    +
    +

    For grouping data points together so they can be drawn in the correct groupings.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var group: GroupingData { get set }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Protocols/CTMultiDataSetProtocol.html b/docs/Protocols/CTMultiDataSetProtocol.html new file mode 100644 index 00000000..3c18d2fe --- /dev/null +++ b/docs/Protocols/CTMultiDataSetProtocol.html @@ -0,0 +1,825 @@ + + + + CTMultiDataSetProtocol Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

CTMultiDataSetProtocol

+
+
+ +
public protocol CTMultiDataSetProtocol : CTDataSetProtocol
+ +
+
+

Protocol for data sets that require a multiple sets of data .

+ +
+
+ +
+
+
+
    +
  • +
    + + + + DataSet + +
    +
    +
    +
    +
    +
    +

    A type representing a single data set – SingleDataSet

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    associatedtype DataSet : CTSingleDataSetProtocol
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + dataSets + +
    +
    +
    +
    +
    +
    +

    Array of single data sets.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var dataSets: [DataSet] { get set }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Available where Self.DataSet.DataPoint: CTStandardDataPointProtocol +

+
+
+
    +
  • +
    + + + + maxValue() + + + Extension method + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func maxValue() -> Double
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + minValue() + + + Extension method + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func minValue() -> Double
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + average() + + + Extension method + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func average() -> Double
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Available where Self == StackedBarDataSets +

+
+
+
    +
  • +
    + + + + maxValue() + + + Extension method + +
    +
    +
    +
    +
    +
    +

    Returns the highest sum value in the data sets

    +
    +

    Note

    +

    This differs from other charts, as Stacked Bar Charts +need to consider the sum value for each data set, instead of the +max value of a data point.

    + +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func maxValue() -> Double
    + +
    +
    +
    +

    Return Value

    +

    Highest sum value in data sets.

    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Available where Self.DataSet: CTLineChartDataSet, Self.DataSet.DataPoint: CTStandardDataPointProtocol +

+
+
+
    +
  • +
    + + + + minValue() + + + Extension method + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func minValue() -> Double
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Protocols/CTPieDataPoint.html b/docs/Protocols/CTPieDataPoint.html new file mode 100644 index 00000000..0f52c1f3 --- /dev/null +++ b/docs/Protocols/CTPieDataPoint.html @@ -0,0 +1,682 @@ + + + + CTPieDataPoint Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

CTPieDataPoint

+
+
+ +
public protocol CTPieDataPoint : CTStandardDataPointProtocol, CTnotRanged
+ +
+
+

A protocol to extend functionality of CTStandardDataPointProtocol specifically for Pie and Doughnut Charts.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + colour + +
    +
    +
    +
    +
    +
    +

    Colour of the segment

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var colour: Color { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + startAngle + +
    +
    +
    +
    +
    +
    +

    Where the data point should start drawing from +based on where the prvious one finished.

    + +

    In radians.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var startAngle: Double { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + amount + +
    +
    +
    +
    +
    +
    +

    The data points value in radians.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var amount: Double { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + label + +
    +
    +
    +
    +
    +
    +

    Option to add overlays on top of the segment.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var label: OverlayType { get set }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Protocols/CTRangeDataPointProtocol.html b/docs/Protocols/CTRangeDataPointProtocol.html new file mode 100644 index 00000000..f33f3cee --- /dev/null +++ b/docs/Protocols/CTRangeDataPointProtocol.html @@ -0,0 +1,669 @@ + + + + CTRangeDataPointProtocol Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

CTRangeDataPointProtocol

+
+
+ +
public protocol CTRangeDataPointProtocol : CTDataPointBaseProtocol
+ +
+
+

A protocol to extend functionality of CTDataPointBaseProtocol for any chart +type that needs a upper and lower values.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + upperValue + +
    +
    +
    +
    +
    +
    +

    Value of the upper range of the data point.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var upperValue: Double { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + lowerValue + +
    +
    +
    +
    +
    +
    +

    Value of the lower range of the data point.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var lowerValue: Double { get set }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Available where Self == RangedBarDataPoint +

+
+
+
    +
  • +
    + + + + valueAsString(specifier:formatter:) + + + Extension method + +
    +
    +
    +
    +
    +
    +

    Data point’s value as a string

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func valueAsString(specifier: String, formatter: NumberFormatter?) -> String
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Protocols/CTRangedLineChartDataSet.html b/docs/Protocols/CTRangedLineChartDataSet.html new file mode 100644 index 00000000..7b5546d3 --- /dev/null +++ b/docs/Protocols/CTRangedLineChartDataSet.html @@ -0,0 +1,598 @@ + + + + CTRangedLineChartDataSet Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

CTRangedLineChartDataSet

+
+
+ +
public protocol CTRangedLineChartDataSet : CTLineChartDataSet
+ +
+
+

A protocol to extend functionality of CTLineChartDataSet specifically for Ranged Line Charts.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + legendFillTitle + +
    +
    +
    +
    +
    +
    +

    Label to display in the legend for the range area..

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var legendFillTitle: String { get set }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Protocols/CTRangedLineDataPoint.html b/docs/Protocols/CTRangedLineDataPoint.html new file mode 100644 index 00000000..11d195b7 --- /dev/null +++ b/docs/Protocols/CTRangedLineDataPoint.html @@ -0,0 +1,610 @@ + + + + CTRangedLineDataPoint Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

CTRangedLineDataPoint

+
+
+ +
public protocol CTRangedLineDataPoint : CTLineDataPointProtocol, CTRangeDataPointProtocol, CTStandardDataPointProtocol, CTisRanged
+ +
+
+

A protocol to extend functionality of CTStandardDataPointProtocol specifically for Ranged Line Charts.

+ +
+
+ +
+
+
+
+ + +
+ +

Available where Self == RangedLineChartDataPoint +

+
+
+
    +
  • +
    + + + + valueAsString(specifier:formatter:) + + + Extension method + +
    +
    +
    +
    +
    +
    +

    Data point’s value as a string

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func valueAsString(specifier: String, formatter: NumberFormatter?) -> String
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Protocols/CTRangedLineStyle.html b/docs/Protocols/CTRangedLineStyle.html new file mode 100644 index 00000000..a8c52586 --- /dev/null +++ b/docs/Protocols/CTRangedLineStyle.html @@ -0,0 +1,598 @@ + + + + CTRangedLineStyle Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

CTRangedLineStyle

+
+
+ +
public protocol CTRangedLineStyle : CTLineStyle
+ +
+
+

A protocol to extend functionality of CTLineStyle specifically for Ranged Line Charts.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + fillColour + +
    +
    +
    +
    +
    +
    +

    Drawing style of the range fill.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var fillColour: ColourStyle { get set }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Protocols/CTSingleDataSetProtocol.html b/docs/Protocols/CTSingleDataSetProtocol.html new file mode 100644 index 00000000..00ecfcdc --- /dev/null +++ b/docs/Protocols/CTSingleDataSetProtocol.html @@ -0,0 +1,874 @@ + + + + CTSingleDataSetProtocol Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

CTSingleDataSetProtocol

+
+
+ +
public protocol CTSingleDataSetProtocol : CTDataSetProtocol
+ +
+
+

Protocol for data sets that only require a single set of data .

+ +
+
+ +
+
+
+
    +
  • +
    + + + + DataPoint + +
    +
    +
    +
    +
    +
    +

    A type representing a data point. – CTChartDataPoint

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    associatedtype DataPoint : CTDataPointBaseProtocol
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + dataPoints + +
    +
    +
    +
    +
    +
    +

    Array of data points.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var dataPoints: [DataPoint] { get set }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Available where Self.DataPoint: CTStandardDataPointProtocol & CTnotRanged +

+
+
+
    +
  • +
    + + + + maxValue() + + + Extension method + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func maxValue() -> Double
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + minValue() + + + Extension method + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func minValue() -> Double
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + average() + + + Extension method + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func average() -> Double
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Available where Self.DataPoint: CTRangeDataPointProtocol & CTisRanged +

+
+
+
    +
  • +
    + + + + maxValue() + + + Extension method + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func maxValue() -> Double
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + minValue() + + + Extension method + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func minValue() -> Double
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + average() + + + Extension method + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func average() -> Double
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Available where Self.DataPoint: CTStandardDataPointProtocol & CTnotRanged, Self: CTLineChartDataSet +

+
+
+
    +
  • +
    + + + + minValue() + + + Extension method + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func minValue() -> Double
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Protocols/CTStandardBarChartDataSet.html b/docs/Protocols/CTStandardBarChartDataSet.html new file mode 100644 index 00000000..4d0305b7 --- /dev/null +++ b/docs/Protocols/CTStandardBarChartDataSet.html @@ -0,0 +1,598 @@ + + + + CTStandardBarChartDataSet Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

CTStandardBarChartDataSet

+
+
+ +
public protocol CTStandardBarChartDataSet : CTSingleDataSetProtocol
+ +
+
+

A protocol to extend functionality of CTSingleDataSetProtocol specifically for Standard Bar Charts.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + legendTitle + +
    +
    +
    +
    +
    +
    +

    Label to display in the legend.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var legendTitle: String { get set }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Protocols/CTStandardDataPointProtocol.html b/docs/Protocols/CTStandardDataPointProtocol.html new file mode 100644 index 00000000..c14f96fd --- /dev/null +++ b/docs/Protocols/CTStandardDataPointProtocol.html @@ -0,0 +1,728 @@ + + + + CTStandardDataPointProtocol Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

CTStandardDataPointProtocol

+
+
+ +
public protocol CTStandardDataPointProtocol : CTDataPointBaseProtocol
+ +
+
+

A protocol to extend functionality of CTDataPointBaseProtocol for any chart +type that needs a value.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + value + +
    +
    +
    +
    +
    +
    +

    Value of the data point

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var value: Double { get set }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Available where Self: CTBarDataPointBaseProtocol +

+
+
+
    +
  • +
    + + + + valueAsString(specifier:formatter:) + + + Extension method + +
    +
    +
    +
    +
    +
    +

    Data point’s value as a string

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func valueAsString(specifier: String, formatter: NumberFormatter?) -> String
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Available where Self: CTLineDataPointProtocol & IgnoreMe +

+
+
+
    +
  • +
    + + + + valueAsString(specifier:formatter:) + + + Extension method + +
    +
    +
    +
    +
    +
    +

    Data point’s value as a string

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func valueAsString(specifier: String, formatter: NumberFormatter?) -> String
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Available where Self: CTPieDataPoint +

+
+
+
    +
  • +
    + + + + valueAsString(specifier:formatter:) + + + Extension method + +
    +
    +
    +
    +
    +
    +

    Data point’s value as a string

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func valueAsString(specifier: String, formatter: NumberFormatter?) -> String
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Protocols/DataFunctionsProtocol.html b/docs/Protocols/DataFunctionsProtocol.html new file mode 100644 index 00000000..eed6901b --- /dev/null +++ b/docs/Protocols/DataFunctionsProtocol.html @@ -0,0 +1,664 @@ + + + + DataFunctionsProtocol Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

DataFunctionsProtocol

+
+
+ +
public protocol DataFunctionsProtocol
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + maxValue() + +
    +
    +
    +
    +
    +
    +

    Returns the highest value in the data set.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func maxValue() -> Double
    + +
    +
    +
    +

    Return Value

    +

    Highest value in data set.

    +
    +
    +
    +
  • +
  • +
    + + + + minValue() + +
    +
    +
    +
    +
    +
    +

    Returns the lowest value in the data set.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func minValue() -> Double
    + +
    +
    +
    +

    Return Value

    +

    Lowest value in data set.

    +
    +
    +
    +
  • +
  • +
    + + + + average() + +
    +
    +
    +
    +
    +
    +

    Returns the average value from the data set.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func average() -> Double
    + +
    +
    +
    +

    Return Value

    +

    Average of values in data set.

    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Protocols/GetDataProtocol.html b/docs/Protocols/GetDataProtocol.html new file mode 100644 index 00000000..c911baa3 --- /dev/null +++ b/docs/Protocols/GetDataProtocol.html @@ -0,0 +1,679 @@ + + + + GetDataProtocol Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

GetDataProtocol

+
+
+ +
public protocol GetDataProtocol
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + range + +
    +
    +
    +
    +
    +
    +

    Returns the difference between the highest and lowest numbers in the data set or data sets.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var range: Double { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + minValue + +
    +
    +
    +
    +
    +
    +

    Returns the lowest value in the data set or data sets.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var minValue: Double { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + maxValue + +
    +
    +
    +
    +
    +
    +

    Returns the highest value in the data set or data sets

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var maxValue: Double { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + average + +
    +
    +
    +
    +
    +
    +

    Returns the average value from the data set or data sets.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var average: Double { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Protocols/IgnoreMe.html b/docs/Protocols/IgnoreMe.html new file mode 100644 index 00000000..5b1355da --- /dev/null +++ b/docs/Protocols/IgnoreMe.html @@ -0,0 +1,598 @@ + + + + IgnoreMe Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

IgnoreMe

+
+
+ +
public protocol IgnoreMe
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + ignoreMe + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var ignoreMe: Bool { get set }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Protocols/PointOfInterestProtocol.html b/docs/Protocols/PointOfInterestProtocol.html new file mode 100644 index 00000000..1677e5d4 --- /dev/null +++ b/docs/Protocols/PointOfInterestProtocol.html @@ -0,0 +1,1679 @@ + + + + PointOfInterestProtocol Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

PointOfInterestProtocol

+
+
+ +
public protocol PointOfInterestProtocol
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
+ + +
+ +

Ordinate +

+
+
+
    +
  • +
    + + + + MarkerShape + +
    +
    +
    +
    +
    +
    +

    A type representing a Shape for displaying a line +as a POI.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    associatedtype MarkerShape : Shape
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Displays a line marking a Point Of Interest.

    + +

    In standard charts this will return a horizontal line. +In horizontal charts this will return a vertical line.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func poiMarker(value: Double, range: Double, minValue: Double) -> MarkerShape
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + +
    + + value + + +
    +

    Value of of the POI.

    +
    +
    + + range + + +
    +

    Difference between the highest and lowest values in the data set.

    +
    +
    + + minValue + + +
    +

    Lowest value in the data set.

    +
    +
    +
    +
    +

    Return Value

    +

    A line shape at a specified point.

    +
    +
    +
    +
  • +
  • +
    + + + + LabelAxis + +
    +
    +
    +
    +
    +
    +

    A type representing a View for displaying a label +as a POI in an axis.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    associatedtype LabelAxis : View
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Displays a label and box that mark a Point Of Interest +in an axis.

    + +

    In standard charts this will display leading or trailing. +In horizontal charts this will display bottom or top.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func poiLabelAxis(markerValue: Double, specifier: String, formatter: NumberFormatter?, labelFont: Font, labelColour: Color, labelBackground: Color, labelBorderColor: Color, customLabelShape: CustomLabelShape?, padding: CGFloat?) -> LabelAxis
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + LabelCenter + +
    +
    +
    +
    +
    +
    +

    A type representing a View for displaying a label +as a POI in the center.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    associatedtype LabelCenter : View
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Displays a label and box that mark a Point Of Interest +in the center.

    + +

    In standard charts this will display leading or trailing. +In horizontal charts this will display bottom or top.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func poiLabelCenter(markerValue: Double, specifier: String, formatter: NumberFormatter?, labelFont: Font, labelColour: Color, labelBackground: Color, labelBorderColor: Color, strokeStyle: StrokeStyle, customLabelShape: CustomLabelShape?, padding: CGFloat?) -> LabelCenter
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + LabelPosition + +
    +
    +
    +
    +
    +
    +

    A type representing a View for displaying a label +as a POI at a relative location from the leading axis.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    associatedtype LabelPosition : View
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Displays a label and box that mark a Point Of Interest +at a relative location from the axis.

    + +

    In standard charts this will display leading or trailing. +In horizontal charts this will display bottom or top.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func poiLabelPosition(location: CGFloat, markerValue: Double, specifier: String, formatter: NumberFormatter?, labelFont: Font, labelColour: Color, labelBackground: Color, labelBorderColor: Color, strokeStyle: StrokeStyle, customLabelShape: CustomLabelShape?, padding: CGFloat?) -> LabelPosition
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Sets the position of the POI Label when it’s over +one of the axes.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func poiValueLabelPositionAxis(frame: CGRect, markerValue: Double, minValue: Double, range: Double) -> CGPoint
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + +
    + + frame + + +
    +

    Size of the chart.

    +
    +
    + + markerValue + + +
    +

    Value of the POI marker.

    +
    +
    + + minValue + + +
    +

    Lowest value in the data set.

    +
    +
    + + range + + +
    +

    Difference between the highest and lowest values in the data set.

    +
    +
    +
    +
    +

    Return Value

    +

    Position of label.

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Sets the position of the POI Label when it’s in +the center of the view.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func poiValueLabelPositionCenter(frame: CGRect, markerValue: Double, minValue: Double, range: Double) -> CGPoint
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + +
    + + frame + + +
    +

    Size of the chart.

    +
    +
    + + markerValue + + +
    +

    Value of the POI marker.

    +
    +
    + + minValue + + +
    +

    Lowest value in the data set.

    +
    +
    + + range + + +
    +

    Difference between the highest and lowest values in the data set.

    +
    +
    +
    +
    +

    Return Value

    +

    Position of label.

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Sets the position of the POI Label when it’s at +a relative location from the leading axis.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func poiValueLabelRelativePosition(frame: CGRect, markerValue: Double, minValue: Double, range: Double) -> CGPoint
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + +
    + + frame + + +
    +

    Size of the chart.

    +
    +
    + + markerValue + + +
    +

    Value of the POI marker.

    +
    +
    + + minValue + + +
    +

    Lowest value in the data set.

    +
    +
    + + range + + +
    +

    Difference between the highest and lowest values in the data set.

    +
    +
    +
    +
    +

    Return Value

    +

    Position of label.

    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Abscissa +

+
+
+
    +
  • +
    + + + + AbscissaMarkerShape + +
    +
    +
    +
    +
    +
    +

    A type representing a Shape for displaying a line +as a POI.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    associatedtype AbscissaMarkerShape : Shape
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Displays a line marking a Point Of Interest.

    + +

    In standard charts this will return a horizontal line. +In horizontal charts this will return a vertical line.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func poiAbscissaMarker(markerValue: Int, dataPointCount: Int) -> AbscissaMarkerShape
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + +
    + + value + + +
    +

    Value of of the POI.

    +
    +
    + + range + + +
    +

    Difference between the highest and lowest values in the data set.

    +
    +
    + + minValue + + +
    +

    Lowest value in the data set.

    +
    +
    +
    +
    +

    Return Value

    +

    A line shape at a specified point.

    +
    +
    +
    +
  • +
  • +
    + + + + AbscissaLabelAxis + +
    +
    +
    +
    +
    +
    +

    A type representing a View for displaying a label +as a POI in an axis.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    associatedtype AbscissaLabelAxis : View
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Displays a label and box that mark a Point Of Interest +in an axis.

    + +

    In standard charts this will display leading or trailing. +In horizontal charts this will display bottom or top.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func poiAbscissaLabelAxis(marker: String, labelFont: Font, labelColour: Color, labelBackground: Color, labelBorderColor: Color, customLabelShape: CustomLabelShape?, padding: CGFloat?) -> AbscissaLabelAxis
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + AbscissaLabelCenter + +
    +
    +
    +
    +
    +
    +

    A type representing a View for displaying a label +as a POI in an axis.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    associatedtype AbscissaLabelCenter : View
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Displays a label and box that mark a Point Of Interest +in an axis.

    + +

    In standard charts this will display leading or trailing. +In horizontal charts this will display bottom or top.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func poiAbscissaLabelCenter(marker: String, labelFont: Font, labelColour: Color, labelBackground: Color, labelBorderColor: Color, strokeStyle: StrokeStyle, customLabelShape: CustomLabelShape?, padding: CGFloat?) -> AbscissaLabelCenter
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + AbscissaLabelPosition + +
    +
    +
    +
    +
    +
    +

    A type representing a View for displaying a label +as a POI at a relative location from the leading axis.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    associatedtype AbscissaLabelPosition : View
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Displays a label and box that mark a Point Of Interest +at a relative location from the leading axis.

    + +

    In standard charts this will display leading or trailing. +In horizontal charts this will display bottom or top.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func poiAbscissaLabelPosition(location: CGFloat, marker: String, labelFont: Font, labelColour: Color, labelBackground: Color, labelBorderColor: Color, strokeStyle: StrokeStyle, customLabelShape: CustomLabelShape?, padding: CGFloat?) -> AbscissaLabelPosition
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Sets the position of the POI Label when it’s over +one of the axes.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func poiAbscissaValueLabelPositionAxis(frame: CGRect, markerValue: Int, count: Int) -> CGPoint
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + +
    + + frame + + +
    +

    Size of the chart.

    +
    +
    + + markerValue + + +
    +

    Value of the POI marker.

    +
    +
    + + minValue + + +
    +

    Lowest value in the data set.

    +
    +
    + + range + + +
    +

    Difference between the highest and lowest values in the data set.

    +
    +
    +
    +
    +

    Return Value

    +

    Position of label.

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Sets the position of the POI Label when it’s in +the center of the view.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func poiAbscissaValueLabelPositionCenter(frame: CGRect, markerValue: Int, count: Int) -> CGPoint
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + +
    + + frame + + +
    +

    Size of the chart.

    +
    +
    + + markerValue + + +
    +

    Value of the POI marker.

    +
    +
    + + minValue + + +
    +

    Lowest value in the data set.

    +
    +
    + + range + + +
    +

    Difference between the highest and lowest values in the data set.

    +
    +
    +
    +
    +

    Return Value

    +

    Position of label.

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Sets the position of the POI Label when it’s at +a relative location from the leading axis.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func poiAbscissaValueLabelRelativePosition(frame: CGRect, markerValue: Int, count: Int) -> CGPoint
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + +
    + + frame + + +
    +

    Size of the chart.

    +
    +
    + + markerValue + + +
    +

    Value of the POI marker.

    +
    +
    + + minValue + + +
    +

    Lowest value in the data set.

    +
    +
    + + range + + +
    +

    Difference between the highest and lowest values in the data set.

    +
    +
    +
    +
    +

    Return Value

    +

    Position of label.

    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Protocols/Publishable.html b/docs/Protocols/Publishable.html new file mode 100644 index 00000000..c250ea07 --- /dev/null +++ b/docs/Protocols/Publishable.html @@ -0,0 +1,654 @@ + + + + Publishable Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

Publishable

+
+
+ +
public protocol Publishable
+ +
+
+

Protocol to enable publishing data streams over the Combine framework

+ +
+
+ +
+
+
+
    +
  • +
    + + + + DataPoint + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    associatedtype DataPoint : CTDataPointBaseProtocol
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + subscription + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var subscription: Set<AnyCancellable> { get set }
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Streams the data points from touch overlay.

    + +

    Uses Combine

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var touchedDataPointPublisher: PassthroughSubject<DataPoint, Never> { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Structs.html b/docs/Structs.html new file mode 100644 index 00000000..8a1beb91 --- /dev/null +++ b/docs/Structs.html @@ -0,0 +1,2563 @@ + + + + Structures Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

Structures

+

The following structures are available globally.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + CornerRadius + +
    +
    +
    +
    +
    +
    +

    Corner radius of the bar shape.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct CornerRadius : Hashable
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + BarDataSet + +
    +
    +
    +
    +
    +
    +

    Data set for a bar chart.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct BarDataSet : CTStandardBarChartDataSet, DataFunctionsProtocol
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + GroupedBarDataSets + +
    +
    +
    +
    +
    +
    +

    Main data set for a grouped bar charts.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct GroupedBarDataSets : CTMultiDataSetProtocol, DataFunctionsProtocol
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + GroupedBarDataSet + +
    +
    +
    +
    +
    +
    +

    Individual data sets for grouped bars charts.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct GroupedBarDataSet : CTMultiBarChartDataSet
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + RangedBarDataSet + +
    +
    +
    +
    +
    +
    +

    Data set for ranged bar charts.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct RangedBarDataSet : CTRangedBarChartDataSet, DataFunctionsProtocol
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + StackedBarDataSets + +
    +
    +
    +
    +
    +
    +

    Main data set for a stacked bar chart.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct StackedBarDataSets : CTMultiDataSetProtocol, DataFunctionsProtocol
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + StackedBarDataSet + +
    +
    +
    +
    +
    +
    +

    Individual data sets for stacked bars charts.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct StackedBarDataSet : CTMultiBarChartDataSet
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + BarChartDataPoint + +
    +
    +
    +
    +
    +
    +

    Data for a single bar chart data point.

    + +

    Colour can be solid or gradient.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct BarChartDataPoint : CTStandardBarDataPoint
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + GroupedBarDataPoint + +
    +
    +
    +
    +
    +
    +

    Data for a single grouped bar chart data point.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct GroupedBarDataPoint : CTMultiBarDataPoint
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + RangedBarDataPoint + +
    +
    +
    +
    +
    +
    +

    Data for a single ranged bar chart data point.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct RangedBarDataPoint : CTRangedBarDataPoint
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + StackedBarDataPoint + +
    +
    +
    +
    +
    +
    +

    Data for a single stacked chart data point.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct StackedBarDataPoint : CTMultiBarDataPoint
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + GroupingData + +
    +
    +
    +
    +
    +
    +

    Model for grouping data points together so they can be drawn in the correct groupings.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct GroupingData : CTBarColourProtocol, Hashable, Identifiable
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + BarChartStyle + +
    +
    +
    +
    +
    +
    +

    Control of the overall aesthetic of the bar chart.

    + +

    Controls the look of the chart as a whole, not including any styling +specific to the data set(s),

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct BarChartStyle : CTBarChartStyle
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + BarStyle + +
    +
    +
    +
    +
    +
    +

    Model for controlling the aesthetic of the bars.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct BarStyle : CTBarStyle
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + BarChart + +
    +
    +
    +
    +
    +
    +

    View for creating a bar chart.

    + +

    Uses BarChartData data model.

    +

    Declaration

    +
    BarChart(chartData: data)
    +
    +

    View Modifiers

    + +

    The order of the view modifiers is some what important +as the modifiers are various types for stacks that wrap +around the previous views.

    +
    .touchOverlay(chartData: data)
    +.averageLine(chartData: data,
    +             strokeStyle: StrokeStyle(lineWidth: 3,dash: [5,10]))
    +.yAxisPOI(chartData: data,
    +          markerName: "50",
    +          markerValue: 50,
    +          lineColour: Color.blue,
    +          strokeStyle: StrokeStyle(lineWidth: 3, dash: [5,10]))
    +.xAxisGrid(chartData: data)
    +.yAxisGrid(chartData: data)
    +.xAxisLabels(chartData: data)
    +.yAxisLabels(chartData: data)
    +.infoBox(chartData: data)
    +.floatingInfoBox(chartData: data)
    +.headerBox(chartData: data)
    +.legends(chartData: data)
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct BarChart<ChartData> : View where ChartData : BarChartData
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + GroupedBarChart + +
    +
    +
    +
    +
    +
    +

    View for creating a grouped bar chart.

    + +

    Uses GroupedBarChartData data model.

    +

    Declaration

    +
    GroupedBarChart(chartData: data, groupSpacing: 25)
    +
    +

    View Modifiers

    + +

    The order of the view modifiers is some what important +as the modifiers are various types for stacks that wrap +around the previous views.

    +
    .touchOverlay(chartData: data)
    +.averageLine(chartData: data,
    +strokeStyle: StrokeStyle(lineWidth: 3,dash: [5,10]))
    +.yAxisPOI(chartData: data,
    +          markerName: "50",
    +          markerValue: 50,
    +          lineColour: Color.blue,
    +          strokeStyle: StrokeStyle(lineWidth: 3, dash: [5,10]))
    +.xAxisGrid(chartData: data)
    +.yAxisGrid(chartData: data)
    +.xAxisLabels(chartData: data)
    +.yAxisLabels(chartData: data)
    +.infoBox(chartData: data)
    +.floatingInfoBox(chartData: data)
    +.headerBox(chartData: data)
    +.legends(chartData: data)
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct GroupedBarChart<ChartData> : View where ChartData : GroupedBarChartData
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + HorizontalBarChart + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct HorizontalBarChart<ChartData> : View where ChartData : HorizontalBarChartData
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + RangedBarChart + +
    +
    +
    +
    +
    +
    +

    View for creating a grouped bar chart.

    + +

    Uses RangedBarChartData data model.

    +

    Declaration

    +
    RangedBarChart(chartData: data)
    +
    +

    View Modifiers

    + +

    The order of the view modifiers is some what important +as the modifiers are various types for stacks that wrap +around the previous views.

    +
    .touchOverlay(chartData: data)
    +.averageLine(chartData: data,
    +             strokeStyle: StrokeStyle(lineWidth: 3,dash: [5,10]))
    +.yAxisPOI(chartData: data,
    +          markerName: "50",
    +          markerValue: 50,
    +          lineColour: Color.blue,
    +          strokeStyle: StrokeStyle(lineWidth: 3, dash: [5,10]))
    +.xAxisGrid(chartData: data)
    +.yAxisGrid(chartData: data)
    +.xAxisLabels(chartData: data)
    +.yAxisLabels(chartData: data)
    +.infoBox(chartData: data)
    +.floatingInfoBox(chartData: data)
    +.headerBox(chartData: data)
    +.legends(chartData: data)
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct RangedBarChart<ChartData> : View where ChartData : RangedBarChartData
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + StackedBarChart + +
    +
    +
    +
    +
    +
    +

    View for creating a stacked bar chart.

    + +

    Uses StackedBarChartData data model.

    +

    Declaration

    +
    StackedBarChart(chartData: data)
    +
    +

    View Modifiers

    + +

    The order of the view modifiers is some what important +as the modifiers are various types for stacks that wrap +around the previous views.

    +
    .touchOverlay(chartData: data)
    +.averageLine(chartData: data,
    +             strokeStyle: StrokeStyle(lineWidth: 3,dash: [5,10]))
    +.yAxisPOI(chartData: data,
    +          markerName: "50",
    +          markerValue: 50,
    +          lineColour: Color.blue,
    +          strokeStyle: StrokeStyle(lineWidth: 3, dash: [5,10]))
    +.xAxisGrid(chartData: data)
    +.yAxisGrid(chartData: data)
    +.xAxisLabels(chartData: data)
    +.yAxisLabels(chartData: data)
    +.infoBox(chartData: data)
    +.floatingInfoBox(chartData: data)
    +.headerBox(chartData: data)
    +.legends(chartData: data)
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct StackedBarChart<ChartData> : View where ChartData : StackedBarChartData
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + LineChartDataPoint + +
    +
    +
    +
    +
    +
    +

    Data for a single data point.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct LineChartDataPoint : CTStandardLineDataPoint, IgnoreMe
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Data for a single ranged data point.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct RangedLineChartDataPoint : CTRangedLineDataPoint, IgnoreMe
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + LineDataSet + +
    +
    +
    +
    +
    +
    +

    Data set for a single line

    + +

    Contains information specific to each line within the chart .

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct LineDataSet : CTLineChartDataSet, DataFunctionsProtocol
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + MultiLineDataSet + +
    +
    +
    +
    +
    +
    +

    Data set containing multiple data sets for multiple lines

    + +

    Contains information about each of lines within the chart.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct MultiLineDataSet : CTMultiLineChartDataSet, DataFunctionsProtocol
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + RangedLineDataSet + +
    +
    +
    +
    +
    +
    +

    Data set for a ranged line.

    + +

    Contains information specific to the line and range fill.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct RangedLineDataSet : CTRangedLineChartDataSet, DataFunctionsProtocol
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + LineChartStyle + +
    +
    +
    +
    +
    +
    +

    Control of the overall aesthetic of the line chart.

    + +

    Controls the look of the chart as a whole, not including any styling +specific to the data set(s),

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct LineChartStyle : CTLineChartStyle
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + LineStyle + +
    +
    +
    +
    +
    +
    +

    Model for controlling the styling for individual lines.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct LineStyle : CTLineStyle, Hashable
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + PointStyle + +
    +
    +
    +
    +
    +
    +

    Model for controlling the aesthetic of the point markers.

    + +

    Point markers are placed on top of the line, marking where the data points are.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct PointStyle : Hashable
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + PointColour + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct PointColour : Hashable
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + RangedLineStyle + +
    +
    +
    +
    +
    +
    +

    Model for controlling the aesthetic of the ranged line chart.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct RangedLineStyle : CTRangedLineStyle, Hashable
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + FilledLineChart + +
    +
    +
    +
    +
    +
    +

    View for creating a filled line chart.

    + +

    Uses LineChartData data model.

    +

    Declaration

    +
    FilledLineChart(chartData: data)
    +
    +

    View Modifiers

    + +

    The order of the view modifiers is some what important +as the modifiers are various types for stacks that wrap +around the previous views.

    +
    .touchOverlay(chartData: data)
    +.pointMarkers(chartData: data)
    +.averageLine(chartData: data,
    +             strokeStyle: StrokeStyle(lineWidth: 3,dash: [5,10]))
    +.yAxisPOI(chartData: data,
    +          markerName: "50",
    +          markerValue: 50,
    +          lineColour: Color.blue,
    +          strokeStyle: StrokeStyle(lineWidth: 3, dash: [5,10]))
    +.xAxisGrid(chartData: data)
    +.yAxisGrid(chartData: data)
    +.xAxisLabels(chartData: data)
    +.yAxisLabels(chartData: data)
    +.infoBox(chartData: data)
    +.floatingInfoBox(chartData: data)
    +.headerBox(chartData: data)
    +.legends(chartData: data)
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct FilledLineChart<ChartData> : View where ChartData : LineChartData
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + LineChart + +
    +
    +
    +
    +
    +
    +

    View for drawing a line chart.

    + +

    Uses LineChartData data model.

    +

    Declaration

    +
    LineChart(chartData: data)
    +
    +

    View Modifiers

    + +

    The order of the view modifiers is some what important +as the modifiers are various types for stacks that wrap +around the previous views.

    +
    .pointMarkers(chartData: data)
    +.touchOverlay(chartData: data, specifier: "%.0f")
    +.yAxisPOI(chartData: data,
    +          markerName: "Something",
    +          markerValue: 110,
    +          labelPosition: .center(specifier: "%.0f"),
    +          labelColour: Color.white,
    +          labelBackground: Color.blue,
    +          lineColour: Color.blue,
    +          strokeStyle: StrokeStyle(lineWidth: 3, dash: [5,10]))
    +.averageLine(chartData: data,
    +             strokeStyle: StrokeStyle(lineWidth: 3, dash: [5,10]))
    +.xAxisGrid(chartData: data)
    +.yAxisGrid(chartData: data)
    +.xAxisLabels(chartData: data)
    +.yAxisLabels(chartData: data)
    +.infoBox(chartData: data)
    +.floatingInfoBox(chartData: data)
    +.headerBox(chartData: data)
    +.legends(chartData: data, columns: [GridItem(.flexible()), GridItem(.flexible())])
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct LineChart<ChartData> : View where ChartData : LineChartData
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + MultiLineChart + +
    +
    +
    +
    +
    +
    +

    View for drawing a multi-line, line chart.

    + +

    Uses MultiLineChartData data model.

    +

    Declaration

    +
    MultiLineChart(chartData: data)
    +
    +

    View Modifiers

    + +

    The order of the view modifiers is some what important +as the modifiers are various types for stacks that wrap +around the previous views.

    +
    .touchOverlay(chartData: data)
    +.pointMarkers(chartData: data)
    +.averageLine(chartData: data,
    +             strokeStyle: StrokeStyle(lineWidth: 3, dash: [5,10]))
    +.yAxisPOI(chartData: data,
    +          markerName: "50",
    +          markerValue: 50,
    +          lineColour: Color.blue,
    +          strokeStyle: StrokeStyle(lineWidth: 3, dash: [5,10]))
    +.xAxisGrid(chartData: data)
    +.yAxisGrid(chartData: data)
    +.xAxisLabels(chartData: data)
    +.yAxisLabels(chartData: data)
    +.infoBox(chartData: data)
    +.floatingInfoBox(chartData: data)
    +.headerBox(chartData: data)
    +.legends(chartData: data)
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct MultiLineChart<ChartData> : View where ChartData : MultiLineChartData
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + RangedLineChart + +
    +
    +
    +
    +
    +
    +

    View for drawing a line chart with upper and lower range values .

    + +

    Uses RangedLineChartData data model.

    +

    Declaration

    +
    RangedLineChart(chartData: data)
    +
    +

    View Modifiers

    + +

    The order of the view modifiers is some what important +as the modifiers are various types for stacks that wrap +around the previous views.

    +
    .pointMarkers(chartData: data)
    +.touchOverlay(chartData: data, specifier: "%.0f")
    +.yAxisPOI(chartData: data,
    +          markerName: "Something",
    +          markerValue: 110,
    +          labelPosition: .center(specifier: "%.0f"),
    +          labelColour: Color.white,
    +          labelBackground: Color.blue,
    +          lineColour: Color.blue,
    +          strokeStyle: StrokeStyle(lineWidth: 3, dash: [5,10]))
    +.averageLine(chartData: data,
    +             strokeStyle: StrokeStyle(lineWidth: 3, dash: [5,10]))
    +.xAxisGrid(chartData: data)
    +.yAxisGrid(chartData: data)
    +.xAxisLabels(chartData: data)
    +.yAxisLabels(chartData: data)
    +.infoBox(chartData: data)
    +.floatingInfoBox(chartData: data)
    +.headerBox(chartData: data)
    +.legends(chartData: data, columns: [GridItem(.flexible()), GridItem(.flexible())])
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct RangedLineChart<ChartData> : View where ChartData : RangedLineChartData
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + DotStyle + +
    +
    +
    +
    +
    +
    +

    Styling of the dot that follows the line on touch events.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct DotStyle
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + PieChartDataPoint + +
    +
    +
    +
    +
    +
    +

    Data for a single segement of a pie chart.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct PieChartDataPoint : CTPieDataPoint
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + PieDataSet + +
    +
    +
    +
    +
    +
    +

    Data set for a pie chart.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct PieDataSet : CTSingleDataSetProtocol
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + DoughnutChartStyle + +
    +
    +
    +
    +
    +
    +

    Model for controlling the overall aesthetic of the chart.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct DoughnutChartStyle : CTDoughnutChartStyle
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + PieChartStyle + +
    +
    +
    +
    +
    +
    +

    Model for controlling the overall aesthetic of the chart.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct PieChartStyle : CTPieChartStyle
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + DoughnutChart + +
    +
    +
    +
    +
    +
    +

    View for creating a doughnut chart.

    + +

    Uses DoughnutChartData data model.

    +

    Declaration

    +
    DoughnutChart(chartData: data)
    +
    +

    View Modifiers

    + +

    The order of the view modifiers is some what important +as the modifiers are various types for stacks that wrap +around the previous views.

    +
    .touchOverlay(chartData: data)
    +.infoBox(chartData: data)
    +.floatingInfoBox(chartData: data)
    +.headerBox(chartData: data)
    +.legends(chartData: data)
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct DoughnutChart<ChartData> : View where ChartData : DoughnutChartData
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + PieChart + +
    +
    +
    +
    +
    +
    +

    View for creating a pie chart.

    + +

    Uses PieChartData data model.

    +

    Declaration

    +
    PieChart(chartData: data)
    +
    +

    View Modifiers

    + +

    The order of the view modifiers is some what important +as the modifiers are various types for stacks that wrap +around the previous views.

    +
    .touchOverlay(chartData: data)
    +.infoBox(chartData: data)
    +.floatingInfoBox(chartData: data)
    +.headerBox(chartData: data)
    +.legends(chartData: data)
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct PieChart<ChartData> : View where ChartData : PieChartData
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + InfoValue + +
    +
    +
    +
    +
    +
    +

    Displays the data points value with the unit.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct InfoValue<T> : View where T : CTChartData
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + InfoDescription + +
    +
    +
    +
    +
    +
    +

    Displays the data points description.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct InfoDescription<T> : View where T : CTChartData
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + InfoExtra + +
    +
    +
    +
    +
    +
    +

    Option the as a String between the Value and the Description.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct InfoExtra<T> : View where T : CTChartData
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + LegendData + +
    +
    +
    +
    +
    +
    +

    Data model to hold data for Legends

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct LegendData : Hashable, Identifiable
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + ChartMetadata + +
    +
    +
    +
    +
    +
    +

    Data model for the chart’s metadata

    + +

    Contains the Title, Subtitle and colour information for them.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct ChartMetadata
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + ColourStyle + +
    +
    +
    +
    +
    +
    +

    Model for setting up colour styling.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct ColourStyle : CTColourStyle, Hashable
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + InfoViewData + +
    +
    +
    +
    +
    +
    +

    Data model to pass view information internally for the InfoBox, FloatingInfoBox and HeaderBox.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct InfoViewData<DP> where DP : CTDataPointBaseProtocol
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + GradientStop + +
    +
    +
    +
    +
    +
    +

    A mediator for Gradient.Stop to allow it to be stored in LegendData.

    + +

    Gradient.Stop doesn’t conform to Hashable.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct GradientStop : Hashable
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Stroke + +
    +
    +
    +
    +
    +
    +

    A hashable version of StrokeStyle

    + +

    StrokeStyle doesn’t conform to Hashable.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct Stroke : Hashable, Identifiable
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + CustomNoDataView + +
    +
    +
    +
    +
    +
    +

    View to display text if there is not enough data to draw the chart.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct CustomNoDataView<T> : View where T : CTChartData
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + ChartViewData + +
    +
    +
    +
    +
    +
    +

    Data model to pass view information internally so the layout can configure its self.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct ChartViewData
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + ExtraLineData + +
    +
    +
    +
    +
    +
    +

    Data for drawing and styling the Extra Line view modifier.

    + +

    This model contains the data and styling information for a single line, line chart.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct ExtraLineData : Identifiable
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + ExtraLineDataPoint + +
    +
    +
    +
    +
    +
    +

    Data point for Extra line View Modifier.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct ExtraLineDataPoint : Hashable, Identifiable
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + GridStyle + +
    +
    +
    +
    +
    +
    +

    Control for the look of the Grid

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct GridStyle
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + DiamondShape + +
    +
    +
    +
    +
    +
    +

    Shape used in POI Markers when displaying value in the center.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct DiamondShape : Shape
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Ordinate +

+
+
+
    +
  • +
    + + + + CustomLabelShape + +
    +
    +
    +
    +
    +
    +

    Custom Label Shape used in POI Markers when displaying POI values.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct CustomLabelShape : Shape
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + LeadingLabelShape + +
    +
    +
    +
    +
    +
    +

    Shape used in POI Markers when displaying value in the Y axis labels on the leading edge.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct LeadingLabelShape : Shape
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + TrailingLabelShape + +
    +
    +
    +
    +
    +
    +

    Shape used in POI Markers when displaying value in the Y axis labels on the trailing edge.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct TrailingLabelShape : Shape
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + BottomLabelShape + +
    +
    +
    +
    +
    +
    +

    Shape used in POI Markers when displaying value in the X axis labels on the bottom edge.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct BottomLabelShape : Shape
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + TopLabelShape + +
    +
    +
    +
    +
    +
    +

    Shape used in POI Markers when displaying value in the X axis labels on the top edge.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct TopLabelShape : Shape
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + ExtraLineStyle + +
    +
    +
    +
    +
    +
    +

    Control of the styling of the Extra Line.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct ExtraLineStyle
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Structs/BarChart.html b/docs/Structs/BarChart.html new file mode 100644 index 00000000..493d8c3d --- /dev/null +++ b/docs/Structs/BarChart.html @@ -0,0 +1,670 @@ + + + + BarChart Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

BarChart

+
+
+ +
public struct BarChart<ChartData> : View where ChartData : BarChartData
+ +
+
+

View for creating a bar chart.

+ +

Uses BarChartData data model.

+

Declaration

+
BarChart(chartData: data)
+
+

View Modifiers

+ +

The order of the view modifiers is some what important +as the modifiers are various types for stacks that wrap +around the previous views.

+
.touchOverlay(chartData: data)
+.averageLine(chartData: data,
+             strokeStyle: StrokeStyle(lineWidth: 3,dash: [5,10]))
+.yAxisPOI(chartData: data,
+          markerName: "50",
+          markerValue: 50,
+          lineColour: Color.blue,
+          strokeStyle: StrokeStyle(lineWidth: 3, dash: [5,10]))
+.xAxisGrid(chartData: data)
+.yAxisGrid(chartData: data)
+.xAxisLabels(chartData: data)
+.yAxisLabels(chartData: data)
+.infoBox(chartData: data)
+.floatingInfoBox(chartData: data)
+.headerBox(chartData: data)
+.legends(chartData: data)
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + init(chartData:) + +
    +
    +
    +
    +
    +
    +

    Initialises a bar chart view.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(chartData: ChartData)
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + chartData + + +
    +

    Must be BarChartData model.

    +
    +
    +
    +
    +
    +
  • +
  • +
    + + + + body + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var body: some View { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Structs/BarChartDataPoint.html b/docs/Structs/BarChartDataPoint.html new file mode 100644 index 00000000..5d6bf84e --- /dev/null +++ b/docs/Structs/BarChartDataPoint.html @@ -0,0 +1,894 @@ + + + + BarChartDataPoint Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

BarChartDataPoint

+
+
+ +
public struct BarChartDataPoint : CTStandardBarDataPoint
+ +
+
+

Data for a single bar chart data point.

+ +

Colour can be solid or gradient.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + id + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let id: UUID
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + value + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var value: Double
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + xAxisLabel + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var xAxisLabel: String?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + description + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var description: String?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + date + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var date: Date?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + colour + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var colour: ColourStyle
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + legendTag + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var legendTag: String
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Single colour +

+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Data model for a single data point with colour for use with a bar chart.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    value: Double,
    +    xAxisLabel: String? = nil,
    +    description: String? = nil,
    +    date: Date? = nil,
    +    colour: ColourStyle = ColourStyle(colour: .red)
    +)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + + + +
    + + value + + +
    +

    Value of the data point.

    +
    +
    + + xAxisLabel + + +
    +

    Label that can be shown on the X axis.

    +
    +
    + + description + + +
    +

    A longer label that can be shown on touch input.

    +
    +
    + + date + + +
    +

    Date of the data point if any data based calculations are required.

    +
    +
    + + colour + + +
    +

    Colour styling for the fill.

    +
    +
    +
    +
    +
    +
  • +
  • +
    + + + + ID + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias ID = UUID
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Structs/BarChartStyle.html b/docs/Structs/BarChartStyle.html new file mode 100644 index 00000000..b4d67c68 --- /dev/null +++ b/docs/Structs/BarChartStyle.html @@ -0,0 +1,1843 @@ + + + + BarChartStyle Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

BarChartStyle

+
+
+ +
public struct BarChartStyle : CTBarChartStyle
+ +
+
+

Control of the overall aesthetic of the bar chart.

+ +

Controls the look of the chart as a whole, not including any styling +specific to the data set(s),

+ +
+
+ +
+
+
+
    +
  • +
    + + + + infoBoxPlacement + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var infoBoxPlacement: InfoBoxPlacement
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var infoBoxContentAlignment: InfoBoxAlignment
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + infoBoxValueFont + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var infoBoxValueFont: Font
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + infoBoxValueColour + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var infoBoxValueColour: Color
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var infoBoxDescriptionFont: Font
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var infoBoxDescriptionColour: Color
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var infoBoxBackgroundColour: Color
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + infoBoxBorderColour + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var infoBoxBorderColour: Color
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + infoBoxBorderStyle + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var infoBoxBorderStyle: StrokeStyle
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + markerType + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var markerType: BarMarkerType
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + xAxisGridStyle + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var xAxisGridStyle: GridStyle
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + xAxisLabelPosition + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var xAxisLabelPosition: XAxisLabelPosistion
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + xAxisLabelFont + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var xAxisLabelFont: Font
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + xAxisLabelColour + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var xAxisLabelColour: Color
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + xAxisLabelsFrom + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var xAxisLabelsFrom: LabelsFrom
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + xAxisTitle + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var xAxisTitle: String?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + xAxisTitleFont + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var xAxisTitleFont: Font
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + xAxisTitleColour + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var xAxisTitleColour: Color
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + xAxisBorderColour + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var xAxisBorderColour: Color?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + yAxisGridStyle + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var yAxisGridStyle: GridStyle
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + yAxisLabelPosition + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var yAxisLabelPosition: YAxisLabelPosistion
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + yAxisLabelFont + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var yAxisLabelFont: Font
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + yAxisLabelColour + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var yAxisLabelColour: Color
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + yAxisNumberOfLabels + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var yAxisNumberOfLabels: Int
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + yAxisLabelType + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var yAxisLabelType: YAxisLabelType
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + yAxisTitle + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var yAxisTitle: String?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + yAxisTitleFont + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var yAxisTitleFont: Font
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + yAxisTitleColour + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var yAxisTitleColour: Color
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + yAxisBorderColour + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var yAxisBorderColour: Color?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + baseline + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var baseline: Baseline
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + topLine + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var topLine: Topline
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + globalAnimation + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var globalAnimation: Animation
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Model for controlling the overall aesthetic of the Bar Chart.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    infoBoxPlacement: InfoBoxPlacement  = .floating,
    +    infoBoxContentAlignment: InfoBoxAlignment  = .vertical,
    +    
    +    infoBoxValueFont: Font = .title3,
    +    infoBoxValueColour: Color = Color.primary,
    +    
    +    infoBoxDescriptionFont: Font = .caption,
    +    infoBoxDescriptionColour: Color = Color.primary,
    +    
    +    infoBoxBackgroundColour: Color = Color.systemsBackground,
    +    infoBoxBorderColour: Color = Color.clear,
    +    infoBoxBorderStyle: StrokeStyle = StrokeStyle(lineWidth: 0),
    +    
    +    markerType: BarMarkerType = .full(),
    +    
    +    xAxisGridStyle: GridStyle = GridStyle(),
    +    
    +    xAxisLabelPosition: XAxisLabelPosistion = .bottom,
    +    xAxisLabelFont: Font = .caption,
    +    xAxisLabelColour: Color = Color.primary,
    +    xAxisLabelsFrom: LabelsFrom = .dataPoint(rotation: .degrees(0)),
    +    
    +    xAxisTitle: String? = nil,
    +    xAxisTitleFont: Font = .caption,
    +    xAxisTitleColour: Color = .primary,
    +    
    +    yAxisGridStyle: GridStyle = GridStyle(),
    +    
    +    yAxisLabelPosition: YAxisLabelPosistion = .leading,
    +    yAxisLabelFont: Font = .caption,
    +    yAxisLabelColour: Color = Color.primary,
    +    yAxisNumberOfLabels: Int = 10,
    +    yAxisLabelType: YAxisLabelType = .numeric,
    +    
    +    yAxisTitle: String? = nil,
    +    yAxisTitleFont: Font = .caption,
    +    yAxisTitleColour: Color = .primary,
    +    
    +    baseline: Baseline = .minimumValue,
    +    topLine: Topline = .maximumValue,
    +    
    +    globalAnimation: Animation = Animation.linear(duration: 1)
    +)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + infoBoxPlacement + + +
    +

    Placement of the information box that appears on touch input.

    +
    +
    + + infoBoxContentAlignment + + +
    +

    Alignment of the content inside of the information box

    +
    +
    + + infoBoxValueFont + + +
    +

    Font for the value part of the touch info.

    +
    +
    + + infoBoxValueColour + + +
    +

    Colour of the value part of the touch info.

    +
    +
    + + infoBoxDescriptionFont + + +
    +

    Font for the description part of the touch info.

    +
    +
    + + infoBoxDescriptionColour + + +
    +

    Colour of the description part of the touch info.

    +
    +
    + + infoBoxBackgroundColour + + +
    +

    Background colour of touch info.

    +
    +
    + + infoBoxBorderColour + + +
    +

    Border colour of the touch info.

    +
    +
    + + infoBoxBorderStyle + + +
    +

    Border style of the touch info.

    +
    +
    + + markerType + + +
    +

    Where the marker lines come from to meet at a specified point.

    +
    +
    + + xAxisGridStyle + + +
    +

    Style of the vertical lines breaking up the chart.

    +
    +
    + + xAxisLabelPosition + + +
    +

    Location of the X axis labels - Top or Bottom.

    +
    +
    + + xAxisLabelFont + + +
    +

    Font of the labels on the X axis.

    +
    +
    + + xAxisLabelsFrom + + +
    +

    Where the label data come from. DataPoint or xAxisLabels.

    +
    +
    + + xAxisLabelColour + + +
    +

    Text Colour for the labels on the X axis.

    +
    +
    + + xAxisTitle + + +
    +

    Label to display next to the chart giving info about the axis.

    +
    +
    + + xAxisTitleFont + + +
    +

    Font of the x axis title.

    +
    +
    + + xAxisTitleColour + + +
    +

    Colour of the x axis title.

    +
    +
    + + yAxisGridStyle + + +
    +

    Style of the horizontal lines breaking up the chart.

    +
    +
    + + yAxisLabelPosition + + +
    +

    Location of the X axis labels - Leading or Trailing.

    +
    +
    + + yAxisLabelFont + + +
    +

    Font of the labels on the Y axis.

    +
    +
    + + yAxisLabelColour + + +
    +

    Text Colour for the labels on the Y axis.

    +
    +
    + + yAxisNumberOfLabels + + +
    +

    Number Of Labels on Y Axis.

    +
    +
    + + yAxisLabelType + + +
    +

    Option to choose between auto generated, numeric labels or custum array of strings.

    +
    +
    + + yAxisTitle + + +
    +

    Label to display next to the chart giving info about the axis.

    +
    +
    + + yAxisTitleFont + + +
    +

    Font of the y axis title.

    +
    +
    + + yAxisTitleColour + + +
    +

    Colour of the y axis title.

    +
    +
    + + baseline + + +
    +

    Whether the chart is drawn from baseline of zero or the minimum datapoint value.

    +
    +
    + + topLine + + +
    +

    Where to finish drawing the chart from. Data set maximum or custom.

    +
    +
    + + globalAnimation + + +
    +

    Global control of animations.

    +
    +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Structs/BarDataSet.html b/docs/Structs/BarDataSet.html new file mode 100644 index 00000000..a5546922 --- /dev/null +++ b/docs/Structs/BarDataSet.html @@ -0,0 +1,762 @@ + + + + BarDataSet Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

BarDataSet

+
+
+ +
public struct BarDataSet : CTStandardBarChartDataSet, DataFunctionsProtocol
+ +
+
+

Data set for a bar chart.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + id + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let id: UUID
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + dataPoints + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var dataPoints: [BarChartDataPoint]
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + legendTitle + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var legendTitle: String
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Initialises a new data set for standard Bar Charts.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    dataPoints: [BarChartDataPoint],
    +    legendTitle: String = ""
    +)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + +
    + + dataPoints + + +
    +

    Array of elements.

    +
    +
    + + legendTitle + + +
    +

    label for the data in legend.

    +
    +
    +
    +
    +
    +
  • +
  • +
    + + + + ID + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias ID = UUID
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + DataPoint + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias DataPoint = BarChartDataPoint
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Structs/BarStyle.html b/docs/Structs/BarStyle.html new file mode 100644 index 00000000..b99a6c72 --- /dev/null +++ b/docs/Structs/BarStyle.html @@ -0,0 +1,775 @@ + + + + BarStyle Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

BarStyle

+
+
+ +
public struct BarStyle : CTBarStyle
+ +
+
+

Model for controlling the aesthetic of the bars.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + barWidth + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var barWidth: CGFloat
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + cornerRadius + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var cornerRadius: CornerRadius
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + colourFrom + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var colourFrom: ColourFrom
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + colour + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var colour: ColourStyle
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Single colour +

+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Bar Chart with single colour

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    barWidth: CGFloat = 1,
    +    cornerRadius: CornerRadius = CornerRadius(top: 5.0, bottom: 0.0),
    +    colourFrom: ColourFrom = .barStyle,
    +    colour: ColourStyle = ColourStyle(colour: .red)
    +)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + +
    + + barWidth + + +
    +

    How much of the available width to use. 0…1

    +
    +
    + + cornerRadius + + +
    +

    Corner radius of the bar shape.

    +
    +
    + + colourFrom + + +
    +

    Where to get the colour data from.

    +
    +
    + + colour + + +
    +

    Set up colour styling.

    +
    +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Structs/BottomLabelShape.html b/docs/Structs/BottomLabelShape.html new file mode 100644 index 00000000..c2adb367 --- /dev/null +++ b/docs/Structs/BottomLabelShape.html @@ -0,0 +1,597 @@ + + + + BottomLabelShape Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

BottomLabelShape

+
+
+ +
public struct BottomLabelShape : Shape
+ +
+
+

Shape used in POI Markers when displaying value in the X axis labels on the bottom edge.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + path(in:) + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func path(in rect: CGRect) -> Path
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Structs/ChartMetadata.html b/docs/Structs/ChartMetadata.html new file mode 100644 index 00000000..84cb3e75 --- /dev/null +++ b/docs/Structs/ChartMetadata.html @@ -0,0 +1,848 @@ + + + + ChartMetadata Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

ChartMetadata

+
+
+ +
public struct ChartMetadata
+ +
+
+

Data model for the chart’s metadata

+ +

Contains the Title, Subtitle and colour information for them.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + title + +
    +
    +
    +
    +
    +
    +

    The charts title

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var title: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + titleFont + +
    +
    +
    +
    +
    +
    +

    Font of the title

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var titleFont: Font
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + titleColour + +
    +
    +
    +
    +
    +
    +

    Color of the title

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var titleColour: Color
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + subtitle + +
    +
    +
    +
    +
    +
    +

    The charts subtitle

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var subtitle: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + subtitleFont + +
    +
    +
    +
    +
    +
    +

    Font of the subtitle

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var subtitleFont: Font
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + subtitleColour + +
    +
    +
    +
    +
    +
    +

    Color of the subtitle

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var subtitleColour: Color
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Model to hold the metadata for the chart.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    title: String = "",
    +    subtitle: String = "",
    +    titleFont: Font = .title3,
    +    titleColour: Color = Color.primary,
    +    subtitleFont: Font = .subheadline,
    +    subtitleColour: Color = Color.primary
    +)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + title + + +
    +

    The charts title.

    +
    +
    + + subtitle + + +
    +

    The charts subtitle.

    +
    +
    + + titleFont + + +
    +

    Font of the title.

    +
    +
    + + titleColour + + +
    +

    Color of the title.

    +
    +
    + + subtitleFont + + +
    +

    Font of the subtitle.

    +
    +
    + + subtitleColour + + +
    +

    Color of the subtitle.

    +
    +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Structs/ColourStyle.html b/docs/Structs/ColourStyle.html new file mode 100644 index 00000000..52fedd6d --- /dev/null +++ b/docs/Structs/ColourStyle.html @@ -0,0 +1,960 @@ + + + + ColourStyle Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

ColourStyle

+
+
+ +
public struct ColourStyle : CTColourStyle, Hashable
+ +
+
+

Model for setting up colour styling.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + colourType + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var colourType: ColourType
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + colour + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var colour: Color?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + colours + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var colours: [Color]?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + stops + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var stops: [GradientStop]?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + startPoint + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var startPoint: UnitPoint?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + endPoint + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var endPoint: UnitPoint?
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Single colour +

+
+
+
    +
  • +
    + + + + init(colour:) + +
    +
    +
    +
    +
    +
    +

    Single Colour

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(colour: Color = Color(.red))
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + colour + + +
    +

    Single Colour

    +
    +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Gradient colour +

+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Gradient Colour Line

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    colours: [Color] =  [Color(.red), Color(.blue)],
    +    startPoint: UnitPoint =  .leading,
    +    endPoint: UnitPoint =  .trailing
    +)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + +
    + + colours + + +
    +

    Colours for Gradient.

    +
    +
    + + startPoint + + +
    +

    Start point for Gradient.

    +
    +
    + + endPoint + + +
    +

    End point for Gradient.

    +
    +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Gradient with stops +

+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Gradient with Stops Line

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    stops: [GradientStop] = [GradientStop(color: Color(.red), location: 0.0)],
    +    startPoint: UnitPoint = .leading,
    +    endPoint: UnitPoint = .trailing
    +)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + +
    + + stops + + +
    +

    Colours and Stops for Gradient with stop control.

    +
    +
    + + startPoint + + +
    +

    Start point for Gradient.

    +
    +
    + + endPoint + + +
    +

    End point for Gradient.

    +
    +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Structs/CornerRadius.html b/docs/Structs/CornerRadius.html new file mode 100644 index 00000000..3dbb1875 --- /dev/null +++ b/docs/Structs/CornerRadius.html @@ -0,0 +1,771 @@ + + + + CornerRadius Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

CornerRadius

+
+
+ +
public struct CornerRadius : Hashable
+ +
+
+

Corner radius of the bar shape.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + topLeft + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let topLeft: CGFloat
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + topRight + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let topRight: CGFloat
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + bottomLeft + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let bottomLeft: CGFloat
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + bottomRight + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let bottomRight: CGFloat
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(top:bottom:) + +
    +
    +
    +
    +
    +
    +

    Set the coner radius for the bar shapes for top and bottom

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    top: CGFloat = 15.0,
    +    bottom: CGFloat = 0.0
    +)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(left:right:) + +
    +
    +
    +
    +
    +
    +

    Set the coner radius for the bar shapes for left and right

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    left: CGFloat = 0.0,
    +    right: CGFloat = 0.0
    +)
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Set the coner radius for the bar shapes for all corners

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    topLeft: CGFloat = 0,
    +    topRight: CGFloat = 0,
    +    bottomLeft: CGFloat = 0,
    +    bottomRight: CGFloat = 0
    +)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Structs/CustomLabelShape.html b/docs/Structs/CustomLabelShape.html new file mode 100644 index 00000000..d1cec4cb --- /dev/null +++ b/docs/Structs/CustomLabelShape.html @@ -0,0 +1,624 @@ + + + + CustomLabelShape Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

CustomLabelShape

+
+
+ +
public struct CustomLabelShape : Shape
+ +
+
+

Custom Label Shape used in POI Markers when displaying POI values.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + init(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init<S>(_ wrapped: S) where S : Shape
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + path(in:) + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func path(in rect: CGRect) -> Path
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Structs/CustomNoDataView.html b/docs/Structs/CustomNoDataView.html new file mode 100644 index 00000000..471d8c59 --- /dev/null +++ b/docs/Structs/CustomNoDataView.html @@ -0,0 +1,597 @@ + + + + CustomNoDataView Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

CustomNoDataView

+
+
+ +
public struct CustomNoDataView<T> : View where T : CTChartData
+ +
+
+

View to display text if there is not enough data to draw the chart.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + body + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var body: some View { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Structs/DiamondShape.html b/docs/Structs/DiamondShape.html new file mode 100644 index 00000000..b75d1e94 --- /dev/null +++ b/docs/Structs/DiamondShape.html @@ -0,0 +1,597 @@ + + + + DiamondShape Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

DiamondShape

+
+
+ +
public struct DiamondShape : Shape
+ +
+
+

Shape used in POI Markers when displaying value in the center.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + path(in:) + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func path(in rect: CGRect) -> Path
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Structs/DotStyle.html b/docs/Structs/DotStyle.html new file mode 100644 index 00000000..23a0c717 --- /dev/null +++ b/docs/Structs/DotStyle.html @@ -0,0 +1,658 @@ + + + + DotStyle Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

DotStyle

+
+
+ +
public struct DotStyle
+ +
+
+

Styling of the dot that follows the line on touch events.

+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Sets the style of the Posistion Indicator

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    size: CGFloat = 15,
    +    fillColour: Color = Color.primary,
    +    lineColour: Color = Color.blue,
    +    lineWidth: CGFloat = 3
    +)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + +
    + + size + + +
    +

    Size of the Indicator.

    +
    +
    + + fillColour + + +
    +

    Fill colour.

    +
    +
    + + lineColour + + +
    +

    Border colour.

    +
    +
    + + lineWidth + + +
    +

    Border width.

    +
    +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Structs/DoughnutChart.html b/docs/Structs/DoughnutChart.html new file mode 100644 index 00000000..4780fe2f --- /dev/null +++ b/docs/Structs/DoughnutChart.html @@ -0,0 +1,659 @@ + + + + DoughnutChart Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

DoughnutChart

+
+
+ +
public struct DoughnutChart<ChartData> : View where ChartData : DoughnutChartData
+ +
+
+

View for creating a doughnut chart.

+ +

Uses DoughnutChartData data model.

+

Declaration

+
DoughnutChart(chartData: data)
+
+

View Modifiers

+ +

The order of the view modifiers is some what important +as the modifiers are various types for stacks that wrap +around the previous views.

+
.touchOverlay(chartData: data)
+.infoBox(chartData: data)
+.floatingInfoBox(chartData: data)
+.headerBox(chartData: data)
+.legends(chartData: data)
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + init(chartData:) + +
    +
    +
    +
    +
    +
    +

    Initialises a bar chart view.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(chartData: ChartData)
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + chartData + + +
    +

    Must be DoughnutChartData.

    +
    +
    +
    +
    +
    +
  • +
  • +
    + + + + body + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var body: some View { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Structs/DoughnutChartStyle.html b/docs/Structs/DoughnutChartStyle.html new file mode 100644 index 00000000..2453515e --- /dev/null +++ b/docs/Structs/DoughnutChartStyle.html @@ -0,0 +1,1038 @@ + + + + DoughnutChartStyle Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

DoughnutChartStyle

+
+
+ +
public struct DoughnutChartStyle : CTDoughnutChartStyle
+ +
+
+

Model for controlling the overall aesthetic of the chart.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + infoBoxPlacement + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var infoBoxPlacement: InfoBoxPlacement
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var infoBoxContentAlignment: InfoBoxAlignment
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + infoBoxValueFont + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var infoBoxValueFont: Font
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + infoBoxValueColour + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var infoBoxValueColour: Color
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var infoBoxDescriptionFont: Font
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var infoBoxDescriptionColour: Color
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var infoBoxBackgroundColour: Color
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + infoBoxBorderColour + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var infoBoxBorderColour: Color
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + infoBoxBorderStyle + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var infoBoxBorderStyle: StrokeStyle
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + globalAnimation + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var globalAnimation: Animation
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + strokeWidth + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var strokeWidth: CGFloat
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Model for controlling the overall aesthetic of the chart.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    infoBoxPlacement: InfoBoxPlacement = .floating,
    +    infoBoxContentAlignment: InfoBoxAlignment = .vertical,
    +    infoBoxValueFont: Font = .title3,
    +    infoBoxValueColour: Color = Color.primary,
    +    
    +    infoBoxDescriptionFont: Font = .caption,
    +    infoBoxDescriptionColour: Color = Color.primary,
    +    
    +    infoBoxBackgroundColour: Color = Color.systemsBackground,
    +    infoBoxBorderColour: Color = Color.clear,
    +    infoBoxBorderStyle: StrokeStyle = StrokeStyle(lineWidth: 0),
    +    
    +    globalAnimation: Animation = Animation.linear(duration: 1),
    +    strokeWidth: CGFloat = 30
    +)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + infoBoxPlacement + + +
    +

    Placement of the information box that appears on touch input.

    +
    +
    + + infoBoxContentAlignment + + +
    +

    Alignment of the content inside of the information box

    +
    +
    + + infoBoxValueFont + + +
    +

    Font for the value part of the touch info.

    +
    +
    + + infoBoxValueColour + + +
    +

    Colour of the value part of the touch info.

    +
    +
    + + infoBoxDescriptionFont + + +
    +

    Font for the description part of the touch info.

    +
    +
    + + infoBoxDescriptionColour + + +
    +

    Colour of the description part of the touch info.

    +
    +
    + + infoBoxBackgroundColour + + +
    +

    Background colour of touch info.

    +
    +
    + + infoBoxBorderColour + + +
    +

    Border colour of the touch info.

    +
    +
    + + infoBoxBorderStyle + + +
    +

    Border style of the touch info.

    +
    +
    + + globalAnimation + + +
    +

    Global control of animations.

    +
    +
    + + strokeWidth + + +
    +

    Width / Delta of the Doughnut Chart

    +
    +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Structs/ExtraLineData.html b/docs/Structs/ExtraLineData.html new file mode 100644 index 00000000..17657d23 --- /dev/null +++ b/docs/Structs/ExtraLineData.html @@ -0,0 +1,711 @@ + + + + ExtraLineData Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

ExtraLineData

+
+
+ +
public struct ExtraLineData : Identifiable
+ +
+
+

Data for drawing and styling the Extra Line view modifier.

+ +

This model contains the data and styling information for a single line, line chart.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + id + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let id: UUID
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + dataPoints + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var dataPoints: [ExtraLineDataPoint]
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + style + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var style: ExtraLineStyle
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + legendTitle + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var legendTitle: String
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    legendTitle: String,
    +    dataPoints: () -> ([ExtraLineDataPoint]),
    +    style: () -> (ExtraLineStyle)
    +)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Structs/ExtraLineDataPoint.html b/docs/Structs/ExtraLineDataPoint.html new file mode 100644 index 00000000..5d66aae2 --- /dev/null +++ b/docs/Structs/ExtraLineDataPoint.html @@ -0,0 +1,709 @@ + + + + ExtraLineDataPoint Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

ExtraLineDataPoint

+
+
+ +
public struct ExtraLineDataPoint : Hashable, Identifiable
+ +
+
+

Data point for Extra line View Modifier.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + id + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let id: UUID
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + value + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var value: Double
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + pointColour + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var pointColour: PointColour?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + pointDescription + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var pointDescription: String?
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    value: Double,
    +    pointColour: PointColour? = nil,
    +    pointDescription: String? = nil
    +)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Structs/ExtraLineStyle.html b/docs/Structs/ExtraLineStyle.html new file mode 100644 index 00000000..c2f9455e --- /dev/null +++ b/docs/Structs/ExtraLineStyle.html @@ -0,0 +1,979 @@ + + + + ExtraLineStyle Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

ExtraLineStyle

+
+
+ +
public struct ExtraLineStyle
+ +
+
+

Control of the styling of the Extra Line.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + lineColour + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var lineColour: ColourStyle
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + lineType + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var lineType: LineType
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + lineSpacing + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var lineSpacing: SpacingType
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + markerType + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var markerType: LineMarkerType
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + strokeStyle + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var strokeStyle: Stroke
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + pointStyle + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var pointStyle: PointStyle
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + yAxisTitle + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var yAxisTitle: String?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + yAxisNumberOfLabels + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var yAxisNumberOfLabels: Int
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + animationType + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var animationType: AnimationType
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + baseline + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var baseline: Baseline
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + topLine + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var topLine: Topline
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    lineColour: ColourStyle = ColourStyle(colour: .red),
    +    lineType: LineType = .curvedLine,
    +    lineSpacing: SpacingType = .line,
    +    markerType: LineMarkerType = .indicator(style: DotStyle()),
    +    
    +    strokeStyle: Stroke = Stroke(),
    +    pointStyle: PointStyle = PointStyle(pointSize: 0, borderColour: .clear, fillColour: .clear),
    +    
    +    yAxisTitle: String? = nil,
    +    yAxisNumberOfLabels: Int = 7,
    +    
    +    animationType: AnimationType = .draw,
    +    
    +    baseline: Baseline = .minimumValue,
    +    topLine: Topline = .maximumValue
    +)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + AnimationType + +
    +
    +
    +
    +
    +
    +

    Controls which animations will be used.

    + +

    When using a line chart .draw is probably the +right one to choose.

    + +

    When using on a filled line chart or on bar charts +.raise is probably the right one to choose.

    +
    case draw // Draws the line using `.trim`.
    +case raise // Animates using `.scale`.
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum AnimationType : Hashable
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + SpacingType + +
    +
    +
    +
    +
    +
    +

    Sets what type of chart is being used.

    + +

    There is different spacing for line charts and bar charts, +this sets that up.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum SpacingType : Hashable
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Structs/ExtraLineStyle/AnimationType.html b/docs/Structs/ExtraLineStyle/AnimationType.html new file mode 100644 index 00000000..3749b75a --- /dev/null +++ b/docs/Structs/ExtraLineStyle/AnimationType.html @@ -0,0 +1,636 @@ + + + + AnimationType Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

AnimationType

+
+
+ +
public enum AnimationType : Hashable
+ +
+
+

Controls which animations will be used.

+ +

When using a line chart .draw is probably the +right one to choose.

+ +

When using on a filled line chart or on bar charts +.raise is probably the right one to choose.

+
case draw // Draws the line using `.trim`.
+case raise // Animates using `.scale`.
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + draw + +
    +
    +
    +
    +
    +
    +

    Draws the line using .trim.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case draw
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + raise + +
    +
    +
    +
    +
    +
    +

    Animates using .scale.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case raise
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Structs/ExtraLineStyle/SpacingType.html b/docs/Structs/ExtraLineStyle/SpacingType.html new file mode 100644 index 00000000..85c888a0 --- /dev/null +++ b/docs/Structs/ExtraLineStyle/SpacingType.html @@ -0,0 +1,630 @@ + + + + SpacingType Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

SpacingType

+
+
+ +
public enum SpacingType : Hashable
+ +
+
+

Sets what type of chart is being used.

+ +

There is different spacing for line charts and bar charts, +this sets that up.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + line + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case line
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + bar + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case bar
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Structs/FilledLineChart.html b/docs/Structs/FilledLineChart.html new file mode 100644 index 00000000..f40cc0b4 --- /dev/null +++ b/docs/Structs/FilledLineChart.html @@ -0,0 +1,671 @@ + + + + FilledLineChart Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

FilledLineChart

+
+
+ +
public struct FilledLineChart<ChartData> : View where ChartData : LineChartData
+ +
+
+

View for creating a filled line chart.

+ +

Uses LineChartData data model.

+

Declaration

+
FilledLineChart(chartData: data)
+
+

View Modifiers

+ +

The order of the view modifiers is some what important +as the modifiers are various types for stacks that wrap +around the previous views.

+
.touchOverlay(chartData: data)
+.pointMarkers(chartData: data)
+.averageLine(chartData: data,
+             strokeStyle: StrokeStyle(lineWidth: 3,dash: [5,10]))
+.yAxisPOI(chartData: data,
+          markerName: "50",
+          markerValue: 50,
+          lineColour: Color.blue,
+          strokeStyle: StrokeStyle(lineWidth: 3, dash: [5,10]))
+.xAxisGrid(chartData: data)
+.yAxisGrid(chartData: data)
+.xAxisLabels(chartData: data)
+.yAxisLabels(chartData: data)
+.infoBox(chartData: data)
+.floatingInfoBox(chartData: data)
+.headerBox(chartData: data)
+.legends(chartData: data)
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + init(chartData:) + +
    +
    +
    +
    +
    +
    +

    Initialises a filled line chart

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(chartData: ChartData)
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + chartData + + +
    +

    Must be LineChartData model.

    +
    +
    +
    +
    +
    +
  • +
  • +
    + + + + body + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var body: some View { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Structs/GradientStop.html b/docs/Structs/GradientStop.html new file mode 100644 index 00000000..ebea99c5 --- /dev/null +++ b/docs/Structs/GradientStop.html @@ -0,0 +1,657 @@ + + + + GradientStop Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

GradientStop

+
+
+ +
public struct GradientStop : Hashable
+ +
+
+

A mediator for Gradient.Stop to allow it to be stored in LegendData.

+ +

Gradient.Stop doesn’t conform to Hashable.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + color + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var color: Color
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + location + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var location: CGFloat
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(color:location:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    color: Color,
    +    location: CGFloat
    +)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Structs/GridStyle.html b/docs/Structs/GridStyle.html new file mode 100644 index 00000000..1f49f5d0 --- /dev/null +++ b/docs/Structs/GridStyle.html @@ -0,0 +1,806 @@ + + + + GridStyle Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

GridStyle

+
+
+ +
public struct GridStyle
+ +
+
+

Control for the look of the Grid

+ +
+
+ +
+
+
+
    +
  • +
    + + + + numberOfLines + +
    +
    +
    +
    +
    +
    +

    Number of lines to break up the axis

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var numberOfLines: Int
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + lineColour + +
    +
    +
    +
    +
    +
    +

    Line Colour

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var lineColour: Color
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + lineWidth + +
    +
    +
    +
    +
    +
    +

    Line Width

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var lineWidth: CGFloat
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + dash + +
    +
    +
    +
    +
    +
    +

    Dash

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var dash: [CGFloat]
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + dashPhase + +
    +
    +
    +
    +
    +
    +

    Dash Phase

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var dashPhase: CGFloat
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Model for controlling the look of the Grid

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    numberOfLines: Int = 10,
    +    lineColour: Color = Color(.gray).opacity(0.25),
    +    lineWidth: CGFloat = 1,
    +    dash: [CGFloat] = [10],
    +    dashPhase: CGFloat = 0
    +)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + + + +
    + + numberOfLines + + +
    +

    Number of lines to break up the axis

    +
    +
    + + lineColour + + +
    +

    Line Colour

    +
    +
    + + lineWidth + + +
    +

    Line Width

    +
    +
    + + dash + + +
    +

    Dash

    +
    +
    + + dashPhase + + +
    +

    Dash Phase

    +
    +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Structs/GroupedBarChart.html b/docs/Structs/GroupedBarChart.html new file mode 100644 index 00000000..cb6c0e70 --- /dev/null +++ b/docs/Structs/GroupedBarChart.html @@ -0,0 +1,685 @@ + + + + GroupedBarChart Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

GroupedBarChart

+
+
+ +
public struct GroupedBarChart<ChartData> : View where ChartData : GroupedBarChartData
+ +
+
+

View for creating a grouped bar chart.

+ +

Uses GroupedBarChartData data model.

+

Declaration

+
GroupedBarChart(chartData: data, groupSpacing: 25)
+
+

View Modifiers

+ +

The order of the view modifiers is some what important +as the modifiers are various types for stacks that wrap +around the previous views.

+
.touchOverlay(chartData: data)
+.averageLine(chartData: data,
+strokeStyle: StrokeStyle(lineWidth: 3,dash: [5,10]))
+.yAxisPOI(chartData: data,
+          markerName: "50",
+          markerValue: 50,
+          lineColour: Color.blue,
+          strokeStyle: StrokeStyle(lineWidth: 3, dash: [5,10]))
+.xAxisGrid(chartData: data)
+.yAxisGrid(chartData: data)
+.xAxisLabels(chartData: data)
+.yAxisLabels(chartData: data)
+.infoBox(chartData: data)
+.floatingInfoBox(chartData: data)
+.headerBox(chartData: data)
+.legends(chartData: data)
+
+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Initialises a grouped bar chart view.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    chartData: ChartData,
    +    groupSpacing: CGFloat
    +)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + +
    + + chartData + + +
    +

    Must be GroupedBarChartData model.

    +
    +
    + + groupSpacing + + +
    +

    Spacing between groups of bars.

    +
    +
    +
    +
    +
    +
  • +
  • +
    + + + + body + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var body: some View { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Structs/GroupedBarDataPoint.html b/docs/Structs/GroupedBarDataPoint.html new file mode 100644 index 00000000..a1db73c7 --- /dev/null +++ b/docs/Structs/GroupedBarDataPoint.html @@ -0,0 +1,866 @@ + + + + GroupedBarDataPoint Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

GroupedBarDataPoint

+
+
+ +
public struct GroupedBarDataPoint : CTMultiBarDataPoint
+ +
+
+

Data for a single grouped bar chart data point.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + id + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let id: UUID
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + value + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var value: Double
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + xAxisLabel + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var xAxisLabel: String?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + description + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var description: String?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + date + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var date: Date?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + group + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var group: GroupingData
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + legendTag + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var legendTag: String
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Data model for a single data point with colour info for use with a grouped bar chart.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    value: Double,
    +    description: String? = nil,
    +    date: Date? = nil,
    +    group: GroupingData
    +)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + +
    + + value + + +
    +

    Value of the data point.

    +
    +
    + + description + + +
    +

    A longer label that can be shown on touch input.

    +
    +
    + + date + + +
    +

    Date of the data point if any data based calculations are required.

    +
    +
    + + group + + +
    +

    Group data informs the data models how the data point are linked.

    +
    +
    +
    +
    +
    +
  • +
  • +
    + + + + ID + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias ID = UUID
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Structs/GroupedBarDataSet.html b/docs/Structs/GroupedBarDataSet.html new file mode 100644 index 00000000..b6f918bf --- /dev/null +++ b/docs/Structs/GroupedBarDataSet.html @@ -0,0 +1,731 @@ + + + + GroupedBarDataSet Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

GroupedBarDataSet

+
+
+ +
public struct GroupedBarDataSet : CTMultiBarChartDataSet
+ +
+
+

Individual data sets for grouped bars charts.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + id + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let id: UUID
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + dataPoints + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var dataPoints: [GroupedBarDataPoint]
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + setTitle + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var setTitle: String
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Initialises a new data set for a Bar Chart.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    dataPoints: [GroupedBarDataPoint],
    +    setTitle: String = ""
    +)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + ID + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias ID = UUID
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + DataPoint + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias DataPoint = GroupedBarDataPoint
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Structs/GroupedBarDataSets.html b/docs/Structs/GroupedBarDataSets.html new file mode 100644 index 00000000..f17dd257 --- /dev/null +++ b/docs/Structs/GroupedBarDataSets.html @@ -0,0 +1,650 @@ + + + + GroupedBarDataSets Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

GroupedBarDataSets

+
+
+ +
public struct GroupedBarDataSets : CTMultiDataSetProtocol, DataFunctionsProtocol
+ +
+
+

Main data set for a grouped bar charts.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + id + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let id: UUID
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + dataSets + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var dataSets: [GroupedBarDataSet]
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(dataSets:) + +
    +
    +
    +
    +
    +
    +

    Initialises a new data set for Grouped Bar Chart.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(dataSets: [GroupedBarDataSet])
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Structs/GroupingData.html b/docs/Structs/GroupingData.html new file mode 100644 index 00000000..9a087609 --- /dev/null +++ b/docs/Structs/GroupingData.html @@ -0,0 +1,711 @@ + + + + GroupingData Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

GroupingData

+
+
+ +
public struct GroupingData : CTBarColourProtocol, Hashable, Identifiable
+ +
+
+

Model for grouping data points together so they can be drawn in the correct groupings.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + id + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let id: UUID
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + title + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var title: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + colour + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var colour: ColourStyle
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(title:colour:) + +
    +
    +
    +
    +
    +
    +

    Group with single colour

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    title: String,
    +    colour: ColourStyle
    +)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + +
    + + title + + +
    +

    Title for legends

    +
    +
    + + colour + + +
    +

    Colour styling for the bars.

    +
    +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Structs/HorizontalBarChart.html b/docs/Structs/HorizontalBarChart.html new file mode 100644 index 00000000..7a445cd0 --- /dev/null +++ b/docs/Structs/HorizontalBarChart.html @@ -0,0 +1,643 @@ + + + + HorizontalBarChart Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

HorizontalBarChart

+
+
+ +
public struct HorizontalBarChart<ChartData> : View where ChartData : HorizontalBarChartData
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + init(chartData:) + +
    +
    +
    +
    +
    +
    +

    Initialises a bar chart view.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(chartData: ChartData)
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + chartData + + +
    +

    Must be BarChartData model.

    +
    +
    +
    +
    +
    +
  • +
  • +
    + + + + body + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var body: some View { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Structs/InfoDescription.html b/docs/Structs/InfoDescription.html new file mode 100644 index 00000000..087e5bbf --- /dev/null +++ b/docs/Structs/InfoDescription.html @@ -0,0 +1,624 @@ + + + + InfoDescription Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

InfoDescription

+
+
+ +
public struct InfoDescription<T> : View where T : CTChartData
+ +
+
+

Displays the data points description.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + init(chartData:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(chartData: T)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + body + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var body: some View { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Structs/InfoExtra.html b/docs/Structs/InfoExtra.html new file mode 100644 index 00000000..85285dbd --- /dev/null +++ b/docs/Structs/InfoExtra.html @@ -0,0 +1,624 @@ + + + + InfoExtra Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

InfoExtra

+
+
+ +
public struct InfoExtra<T> : View where T : CTChartData
+ +
+
+

Option the as a String between the Value and the Description.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + init(chartData:text:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(chartData: T, text: String)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + body + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var body: some View { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Structs/InfoValue.html b/docs/Structs/InfoValue.html new file mode 100644 index 00000000..899c1f3f --- /dev/null +++ b/docs/Structs/InfoValue.html @@ -0,0 +1,624 @@ + + + + InfoValue Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

InfoValue

+
+
+ +
public struct InfoValue<T> : View where T : CTChartData
+ +
+
+

Displays the data points value with the unit.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + init(chartData:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(chartData: T)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + body + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var body: some View { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Structs/LeadingLabelShape.html b/docs/Structs/LeadingLabelShape.html new file mode 100644 index 00000000..3f07723d --- /dev/null +++ b/docs/Structs/LeadingLabelShape.html @@ -0,0 +1,597 @@ + + + + LeadingLabelShape Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

LeadingLabelShape

+
+
+ +
public struct LeadingLabelShape : Shape
+ +
+
+

Shape used in POI Markers when displaying value in the Y axis labels on the leading edge.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + path(in:) + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func path(in rect: CGRect) -> Path
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Structs/LegendData.html b/docs/Structs/LegendData.html new file mode 100644 index 00000000..2f1d59e0 --- /dev/null +++ b/docs/Structs/LegendData.html @@ -0,0 +1,940 @@ + + + + LegendData Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

LegendData

+
+
+ +
public struct LegendData : Hashable, Identifiable
+ +
+
+

Data model to hold data for Legends

+ +
+
+ +
+
+
+
    +
  • +
    + + + + id + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var id: UUID
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + chartType + +
    +
    +
    +
    +
    +
    +

    The type of chart being used.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var chartType: ChartType
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + legend + +
    +
    +
    +
    +
    +
    +

    Text to be displayed

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var legend: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + strokeStyle + +
    +
    +
    +
    +
    +
    +

    Style of the stroke

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var strokeStyle: Stroke?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + prioity + +
    +
    +
    +
    +
    +
    +

    Used to make sure the charts data legend is first

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let prioity: Int
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + colour + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var colour: ColourStyle
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Legend.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(id: UUID,
    +            legend: String,
    +            colour: ColourStyle,
    +            strokeStyle: Stroke?,
    +            prioity: Int,
    +            chartType: ChartType
    +)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + + + +
    + + legend + + +
    +

    Text to be displayed.

    +
    +
    + + colour + + +
    +

    Colour styling.

    +
    +
    + + strokeStyle + + +
    +

    Stroke Style.

    +
    +
    + + prioity + + +
    +

    Used to make sure the charts data legend is first.

    +
    +
    + + chartType + + +
    +

    Type of chart being used.

    +
    +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Get the legend as a view.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func getLegend(
    +    width: CGFloat = 40,
    +    font: Font = .caption,
    +    textColor: Color = .primary
    +) -> some View
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + textColor + + +
    +

    Colour of the text

    +
    +
    +
    +
    +

    Return Value

    +

    The relevent legend as a view.

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Get the legend as a view where the colour is indicated by a Circle.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func getLegendAsCircle(
    +    width: CGFloat = 12,
    +    font: Font = .caption,
    +    textColor: Color
    +) -> some View
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + textColor + + +
    +

    Colour of the text

    +
    +
    +
    +
    +

    Return Value

    +

    The relevent legend as a view.

    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Structs/LineChart.html b/docs/Structs/LineChart.html new file mode 100644 index 00000000..94f2f788 --- /dev/null +++ b/docs/Structs/LineChart.html @@ -0,0 +1,674 @@ + + + + LineChart Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

LineChart

+
+
+ +
public struct LineChart<ChartData> : View where ChartData : LineChartData
+ +
+
+

View for drawing a line chart.

+ +

Uses LineChartData data model.

+

Declaration

+
LineChart(chartData: data)
+
+

View Modifiers

+ +

The order of the view modifiers is some what important +as the modifiers are various types for stacks that wrap +around the previous views.

+
.pointMarkers(chartData: data)
+.touchOverlay(chartData: data, specifier: "%.0f")
+.yAxisPOI(chartData: data,
+          markerName: "Something",
+          markerValue: 110,
+          labelPosition: .center(specifier: "%.0f"),
+          labelColour: Color.white,
+          labelBackground: Color.blue,
+          lineColour: Color.blue,
+          strokeStyle: StrokeStyle(lineWidth: 3, dash: [5,10]))
+.averageLine(chartData: data,
+             strokeStyle: StrokeStyle(lineWidth: 3, dash: [5,10]))
+.xAxisGrid(chartData: data)
+.yAxisGrid(chartData: data)
+.xAxisLabels(chartData: data)
+.yAxisLabels(chartData: data)
+.infoBox(chartData: data)
+.floatingInfoBox(chartData: data)
+.headerBox(chartData: data)
+.legends(chartData: data, columns: [GridItem(.flexible()), GridItem(.flexible())])
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + init(chartData:) + +
    +
    +
    +
    +
    +
    +

    Initialises a line chart view.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(chartData: ChartData)
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + chartData + + +
    +

    Must be LineChartData model.

    +
    +
    +
    +
    +
    +
  • +
  • +
    + + + + body + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var body: some View { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Structs/LineChartDataPoint.html b/docs/Structs/LineChartDataPoint.html new file mode 100644 index 00000000..4cda3ec7 --- /dev/null +++ b/docs/Structs/LineChartDataPoint.html @@ -0,0 +1,881 @@ + + + + LineChartDataPoint Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

LineChartDataPoint

+
+
+ +
public struct LineChartDataPoint : CTStandardLineDataPoint, IgnoreMe
+ +
+
+

Data for a single data point.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + id + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let id: UUID
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + value + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var value: Double
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + xAxisLabel + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var xAxisLabel: String?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + description + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var description: String?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + date + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var date: Date?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + pointColour + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var pointColour: PointColour?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + ignoreMe + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var ignoreMe: Bool
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + legendTag + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var legendTag: String
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Data model for a single data point with colour for use with a line chart.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    value: Double,
    +    xAxisLabel: String? = nil,
    +    description: String? = nil,
    +    date: Date? = nil,
    +    pointColour: PointColour? = nil
    +)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + + + +
    + + value + + +
    +

    Value of the data point

    +
    +
    + + xAxisLabel + + +
    +

    Label that can be shown on the X axis.

    +
    +
    + + description + + +
    +

    A longer label that can be shown on touch input.

    +
    +
    + + date + + +
    +

    Date of the data point if any data based calculations are required.

    +
    +
    + + pointColour + + +
    +

    Colour of the point markers.

    +
    +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Structs/LineChartStyle.html b/docs/Structs/LineChartStyle.html new file mode 100644 index 00000000..934195e5 --- /dev/null +++ b/docs/Structs/LineChartStyle.html @@ -0,0 +1,1869 @@ + + + + LineChartStyle Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

LineChartStyle

+
+
+ +
public struct LineChartStyle : CTLineChartStyle
+ +
+
+

Control of the overall aesthetic of the line chart.

+ +

Controls the look of the chart as a whole, not including any styling +specific to the data set(s),

+ +
+
+ +
+
+
+
    +
  • +
    + + + + infoBoxPlacement + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var infoBoxPlacement: InfoBoxPlacement
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var infoBoxContentAlignment: InfoBoxAlignment
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + infoBoxValueFont + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var infoBoxValueFont: Font
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + infoBoxValueColour + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var infoBoxValueColour: Color
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var infoBoxDescriptionFont: Font
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var infoBoxDescriptionColour: Color
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var infoBoxBackgroundColour: Color
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + infoBoxBorderColour + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var infoBoxBorderColour: Color
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + infoBoxBorderStyle + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var infoBoxBorderStyle: StrokeStyle
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + markerType + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var markerType: LineMarkerType
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + xAxisGridStyle + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var xAxisGridStyle: GridStyle
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + xAxisLabelPosition + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var xAxisLabelPosition: XAxisLabelPosistion
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + xAxisLabelFont + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var xAxisLabelFont: Font
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + xAxisLabelColour + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var xAxisLabelColour: Color
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + xAxisLabelsFrom + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var xAxisLabelsFrom: LabelsFrom
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + xAxisTitle + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var xAxisTitle: String?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + xAxisTitleFont + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var xAxisTitleFont: Font
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + xAxisTitleColour + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var xAxisTitleColour: Color
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + xAxisBorderColour + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var xAxisBorderColour: Color?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + yAxisGridStyle + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var yAxisGridStyle: GridStyle
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + yAxisLabelPosition + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var yAxisLabelPosition: YAxisLabelPosistion
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + yAxisLabelFont + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var yAxisLabelFont: Font
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + yAxisLabelColour + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var yAxisLabelColour: Color
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + yAxisNumberOfLabels + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var yAxisNumberOfLabels: Int
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + yAxisLabelType + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var yAxisLabelType: YAxisLabelType
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + yAxisTitle + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var yAxisTitle: String?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + yAxisTitleFont + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var yAxisTitleFont: Font
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + yAxisTitleColour + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var yAxisTitleColour: Color
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + yAxisBorderColour + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var yAxisBorderColour: Color?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + baseline + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var baseline: Baseline
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + topLine + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var topLine: Topline
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + globalAnimation + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var globalAnimation: Animation
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Model for controlling the overall aesthetic of the chart.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    infoBoxPlacement: InfoBoxPlacement = .floating,
    +    infoBoxContentAlignment: InfoBoxAlignment = .vertical,
    +    
    +    infoBoxValueFont: Font = .title3,
    +    infoBoxValueColour: Color = Color.primary,
    +    
    +    infoBoxDescriptionFont: Font = .caption,
    +    infoBoxDescriptionColour: Color = Color.primary,
    +    
    +    infoBoxBackgroundColour: Color = Color.systemsBackground,
    +    infoBoxBorderColour: Color = Color.clear,
    +    infoBoxBorderStyle: StrokeStyle = StrokeStyle(lineWidth: 0),
    +    
    +    markerType: LineMarkerType = .indicator(style: DotStyle()),
    +    
    +    xAxisGridStyle: GridStyle = GridStyle(),
    +    
    +    xAxisLabelPosition: XAxisLabelPosistion = .bottom,
    +    xAxisLabelFont: Font = .caption,
    +    xAxisLabelColour: Color = Color.primary,
    +    xAxisLabelsFrom: LabelsFrom = .dataPoint(rotation: .degrees(0)),
    +    
    +    xAxisTitle: String? = nil,
    +    xAxisTitleFont: Font = .caption,
    +    xAxisTitleColour: Color = .primary,
    +    xAxisBorderColour: Color? = nil,
    +
    +    yAxisGridStyle: GridStyle = GridStyle(),
    +    
    +    yAxisLabelPosition: YAxisLabelPosistion = .leading,
    +    yAxisLabelFont: Font = .caption,
    +    yAxisLabelColour: Color = Color.primary,
    +    yAxisNumberOfLabels: Int = 10,
    +    yAxisLabelType: YAxisLabelType = .numeric,
    +    
    +    yAxisTitle: String? = nil,
    +    yAxisTitleFont: Font = .caption,
    +    yAxisTitleColour: Color = .primary,
    +    yAxisBorderColour: Color? = nil,
    +
    +    baseline: Baseline = .minimumValue,
    +    topLine: Topline = .maximumValue,
    +    
    +    globalAnimation: Animation = Animation.linear(duration: 1)
    +)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + infoBoxPlacement + + +
    +

    Placement of the information box that appears on touch input.

    +
    +
    + + infoBoxContentAlignment + + +
    +

    Placement of the content inside the information box

    +
    +
    + + infoBoxValueFont + + +
    +

    Font for the value part of the touch info.

    +
    +
    + + infoBoxValueColour + + +
    +

    Colour of the value part of the touch info.

    +
    +
    + + infoBoxDescriptionFont + + +
    +

    Font for the description part of the touch info.

    +
    +
    + + infoBoxDescriptionColour + + +
    +

    Colour of the description part of the touch info.

    +
    +
    + + infoBoxBackgroundColour + + +
    +

    Background colour of touch info.

    +
    +
    + + infoBoxBorderColour + + +
    +

    Border colour of the touch info.

    +
    +
    + + infoBoxBorderStyle + + +
    +

    Border style of the touch info.

    +
    +
    + + markerType + + +
    +

    Where the marker lines come from to meet at a specified point.

    +
    +
    + + xAxisGridStyle + + +
    +

    Style of the vertical lines breaking up the chart.

    +
    +
    + + xAxisLabelPosition + + +
    +

    Location of the X axis labels - Top or Bottom.

    +
    +
    + + xAxisLabelFont + + +
    +

    Font of the labels on the X axis.

    +
    +
    + + xAxisLabelColour + + +
    +

    Text Colour for the labels on the X axis.

    +
    +
    + + xAxisLabelsFrom + + +
    +

    Where the label data come from. DataPoint or xAxisLabels.

    +
    +
    + + xAxisTitle + + +
    +

    Label to display next to the chart giving info about the axis.

    +
    +
    + + xAxisTitleFont + + +
    +

    Font of the x axis title.

    +
    +
    + + xAxisTitleColour + + +
    +

    Colour of the x axis title.

    +
    +
    + + xAxisBorderColour + + +
    +

    Colour of the x axis border.

    +
    +
    + + yAxisGridStyle + + +
    +

    Style of the horizontal lines breaking up the chart.

    +
    +
    + + yAxisLabelPosition + + +
    +

    Location of the X axis labels - Leading or Trailing.

    +
    +
    + + yAxisLabelFont + + +
    +

    Font of the labels on the Y axis.

    +
    +
    + + yAxisLabelColour + + +
    +

    Text Colour for the labels on the Y axis.

    +
    +
    + + yAxisNumberOfLabels + + +
    +

    Number Of Labels on Y Axis.

    +
    +
    + + yAxisLabelType + + +
    +

    Option to add custom Strings to Y axis rather than auto generated numbers.

    +
    +
    + + yAxisTitle + + +
    +

    Label to display next to the chart giving info about the axis.

    +
    +
    + + yAxisTitleFont + + +
    +

    Font of the y axis title.

    +
    +
    + + yAxisTitleColour + + +
    +

    Colour of the y axis title.

    +
    +
    + + yAxisBorderColour + + +
    +

    Colour of the y axis border.

    +
    +
    + + baseline + + +
    +

    Whether the chart is drawn from baseline of zero or the minimum datapoint value.

    +
    +
    + + topLine + + +
    +

    Where to finish drawing the chart from. Data set maximum or custom.

    +
    +
    + + globalAnimation + + +
    +

    Global control of animations.

    +
    +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Structs/LineDataSet.html b/docs/Structs/LineDataSet.html new file mode 100644 index 00000000..94d6c8e6 --- /dev/null +++ b/docs/Structs/LineDataSet.html @@ -0,0 +1,842 @@ + + + + LineDataSet Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

LineDataSet

+
+
+ +
public struct LineDataSet : CTLineChartDataSet, DataFunctionsProtocol
+ +
+
+

Data set for a single line

+ +

Contains information specific to each line within the chart .

+ +
+
+ +
+
+
+
    +
  • +
    + + + + id + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let id: UUID
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + dataPoints + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var dataPoints: [LineChartDataPoint]
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + legendTitle + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var legendTitle: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + pointStyle + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var pointStyle: PointStyle
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + style + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var style: LineStyle
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Initialises a data set for a line in a Line Chart.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    dataPoints: [LineChartDataPoint],
    +    legendTitle: String = "",
    +    pointStyle: PointStyle = PointStyle(),
    +    style: LineStyle = LineStyle()
    +)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + +
    + + dataPoints + + +
    +

    Array of elements.

    +
    +
    + + legendTitle + + +
    +

    Label for the data in legend.

    +
    +
    + + pointStyle + + +
    +

    Styling information for the data point markers.

    +
    +
    + + style + + +
    +

    Styling for how the line will be draw in.

    +
    +
    +
    +
    +
    +
  • +
  • +
    + + + + ID + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias ID = UUID
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Styling + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias Styling = LineStyle
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Structs/LineStyle.html b/docs/Structs/LineStyle.html new file mode 100644 index 00000000..5f2b8e06 --- /dev/null +++ b/docs/Structs/LineStyle.html @@ -0,0 +1,762 @@ + + + + LineStyle Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

LineStyle

+
+
+ +
public struct LineStyle : CTLineStyle, Hashable
+ +
+
+

Model for controlling the styling for individual lines.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + lineColour + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var lineColour: ColourStyle
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + lineType + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var lineType: LineType
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + strokeStyle + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var strokeStyle: Stroke
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + ignoreZero + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var ignoreZero: Bool
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Style of the line.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    lineColour: ColourStyle = ColourStyle(colour: .red),
    +    lineType: LineType = .curvedLine,
    +    strokeStyle: Stroke = Stroke(),
    +    ignoreZero: Bool = false
    +)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + +
    + + lineColour + + +
    +

    Colour styling of the line.

    +
    +
    + + lineType + + +
    +

    Drawing style of the line

    +
    +
    + + strokeStyle + + +
    +

    Stroke Style

    +
    +
    + + ignoreZero + + +
    +

    Whether the chart should skip data points who’s value is 0.

    +
    +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Structs/MultiLineChart.html b/docs/Structs/MultiLineChart.html new file mode 100644 index 00000000..ff5fa977 --- /dev/null +++ b/docs/Structs/MultiLineChart.html @@ -0,0 +1,671 @@ + + + + MultiLineChart Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

MultiLineChart

+
+
+ +
public struct MultiLineChart<ChartData> : View where ChartData : MultiLineChartData
+ +
+
+

View for drawing a multi-line, line chart.

+ +

Uses MultiLineChartData data model.

+

Declaration

+
MultiLineChart(chartData: data)
+
+

View Modifiers

+ +

The order of the view modifiers is some what important +as the modifiers are various types for stacks that wrap +around the previous views.

+
.touchOverlay(chartData: data)
+.pointMarkers(chartData: data)
+.averageLine(chartData: data,
+             strokeStyle: StrokeStyle(lineWidth: 3, dash: [5,10]))
+.yAxisPOI(chartData: data,
+          markerName: "50",
+          markerValue: 50,
+          lineColour: Color.blue,
+          strokeStyle: StrokeStyle(lineWidth: 3, dash: [5,10]))
+.xAxisGrid(chartData: data)
+.yAxisGrid(chartData: data)
+.xAxisLabels(chartData: data)
+.yAxisLabels(chartData: data)
+.infoBox(chartData: data)
+.floatingInfoBox(chartData: data)
+.headerBox(chartData: data)
+.legends(chartData: data)
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + init(chartData:) + +
    +
    +
    +
    +
    +
    +

    Initialises a multi-line, line chart.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(chartData: ChartData)
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + chartData + + +
    +

    Must be MultiLineChartData model.

    +
    +
    +
    +
    +
    +
  • +
  • +
    + + + + body + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var body: some View { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Structs/MultiLineDataSet.html b/docs/Structs/MultiLineDataSet.html new file mode 100644 index 00000000..8c18661c --- /dev/null +++ b/docs/Structs/MultiLineDataSet.html @@ -0,0 +1,652 @@ + + + + MultiLineDataSet Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

MultiLineDataSet

+
+
+ +
public struct MultiLineDataSet : CTMultiLineChartDataSet, DataFunctionsProtocol
+ +
+
+

Data set containing multiple data sets for multiple lines

+ +

Contains information about each of lines within the chart.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + id + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let id: UUID
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + dataSets + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var dataSets: [LineDataSet]
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(dataSets:) + +
    +
    +
    +
    +
    +
    +

    Initialises a new data set for multi-line Line Charts.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(dataSets: [LineDataSet])
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Structs/PieChart.html b/docs/Structs/PieChart.html new file mode 100644 index 00000000..36724626 --- /dev/null +++ b/docs/Structs/PieChart.html @@ -0,0 +1,659 @@ + + + + PieChart Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

PieChart

+
+
+ +
public struct PieChart<ChartData> : View where ChartData : PieChartData
+ +
+
+

View for creating a pie chart.

+ +

Uses PieChartData data model.

+

Declaration

+
PieChart(chartData: data)
+
+

View Modifiers

+ +

The order of the view modifiers is some what important +as the modifiers are various types for stacks that wrap +around the previous views.

+
.touchOverlay(chartData: data)
+.infoBox(chartData: data)
+.floatingInfoBox(chartData: data)
+.headerBox(chartData: data)
+.legends(chartData: data)
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + init(chartData:) + +
    +
    +
    +
    +
    +
    +

    Initialises a bar chart view.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(chartData: ChartData)
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + chartData + + +
    +

    Must be PieChartData.

    +
    +
    +
    +
    +
    +
  • +
  • +
    + + + + body + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var body: some View { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Structs/PieChartDataPoint.html b/docs/Structs/PieChartDataPoint.html new file mode 100644 index 00000000..d9943bfc --- /dev/null +++ b/docs/Structs/PieChartDataPoint.html @@ -0,0 +1,931 @@ + + + + PieChartDataPoint Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

PieChartDataPoint

+
+
+ +
public struct PieChartDataPoint : CTPieDataPoint
+ +
+
+

Data for a single segement of a pie chart.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + id + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var id: UUID
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + value + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var value: Double
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + description + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var description: String?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + date + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var date: Date?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + colour + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var colour: Color
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + label + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var label: OverlayType
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + startAngle + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var startAngle: Double
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + amount + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var amount: Double
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + legendTag + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var legendTag: String
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Data model for a single data point for a pie chart.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    value: Double,
    +    description: String? = nil,
    +    date: Date? = nil,
    +    colour: Color = Color.red,
    +    label: OverlayType = .none
    +)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + + + +
    + + value + + +
    +

    Value of the data point

    +
    +
    + + description + + +
    +

    A longer label that can be shown on touch input.

    +
    +
    + + date + + +
    +

    Date of the data point if any data based calculations are required.

    +
    +
    + + colour + + +
    +

    Colour of the segment.

    +
    +
    + + label + + +
    +

    Option to add overlays on top of the segment.

    +
    +
    +
    +
    +
    +
  • +
  • +
    + + + + ==(_:_:) + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func == (left: PieChartDataPoint, right: PieChartDataPoint) -> Bool
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Structs/PieChartStyle.html b/docs/Structs/PieChartStyle.html new file mode 100644 index 00000000..e6eecfb3 --- /dev/null +++ b/docs/Structs/PieChartStyle.html @@ -0,0 +1,999 @@ + + + + PieChartStyle Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

PieChartStyle

+
+
+ +
public struct PieChartStyle : CTPieChartStyle
+ +
+
+

Model for controlling the overall aesthetic of the chart.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + infoBoxPlacement + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var infoBoxPlacement: InfoBoxPlacement
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var infoBoxContentAlignment: InfoBoxAlignment
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + infoBoxValueFont + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var infoBoxValueFont: Font
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + infoBoxValueColour + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var infoBoxValueColour: Color
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var infoBoxDescriptionFont: Font
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var infoBoxDescriptionColour: Color
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var infoBoxBackgroundColour: Color
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + infoBoxBorderColour + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var infoBoxBorderColour: Color
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + infoBoxBorderStyle + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var infoBoxBorderStyle: StrokeStyle
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + globalAnimation + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var globalAnimation: Animation
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Model for controlling the overall aesthetic of the chart.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    infoBoxPlacement: InfoBoxPlacement = .floating,
    +    infoBoxContentAlignment: InfoBoxAlignment = .vertical,
    +    
    +    infoBoxValueFont: Font = .title3,
    +    infoBoxValueColour: Color = Color.primary,
    +    
    +    infoBoxDescriptionFont: Font = .caption,
    +    infoBoxDescriptionColour: Color = Color.primary,
    +    
    +    infoBoxBackgroundColour: Color = Color.systemsBackground,
    +    infoBoxBorderColour: Color = Color.clear,
    +    infoBoxBorderStyle: StrokeStyle = StrokeStyle(lineWidth: 0),
    +    globalAnimation: Animation = Animation.linear(duration: 1)
    +)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + infoBoxPlacement + + +
    +

    Placement of the information box that appears on touch input.

    +
    +
    + + infoBoxContentAlignment + + +
    +

    Alignment of the content inside of the information box

    +
    +
    + + infoBoxValueFont + + +
    +

    Font for the value part of the touch info.

    +
    +
    + + infoBoxValueColour + + +
    +

    Colour of the value part of the touch info.

    +
    +
    + + infoBoxDescriptionFont + + +
    +

    Font for the description part of the touch info.

    +
    +
    + + infoBoxDescriptionColour + + +
    +

    Colour of the description part of the touch info.

    +
    +
    + + infoBoxBackgroundColour + + +
    +

    Background colour of touch info.

    +
    +
    + + infoBoxBorderColour + + +
    +

    Border colour of the touch info.

    +
    +
    + + infoBoxBorderStyle + + +
    +

    Border style of the touch info.

    +
    +
    + + globalAnimation + + +
    +

    Global control of animations.

    +
    +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Structs/PieDataSet.html b/docs/Structs/PieDataSet.html new file mode 100644 index 00000000..1cbfc962 --- /dev/null +++ b/docs/Structs/PieDataSet.html @@ -0,0 +1,763 @@ + + + + PieDataSet Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

PieDataSet

+
+
+ +
public struct PieDataSet : CTSingleDataSetProtocol
+ +
+
+

Data set for a pie chart.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + id + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var id: UUID
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + dataPoints + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var dataPoints: [PieChartDataPoint]
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + legendTitle + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var legendTitle: String
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Initialises a new data set for a standard pie chart.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    dataPoints: [PieChartDataPoint],
    +    legendTitle: String
    +)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + +
    + + dataPoints + + +
    +

    Array of elements.

    +
    +
    + + legendTitle + + +
    +

    Label for the data in legend.

    +
    +
    +
    +
    +
    +
  • +
  • +
    + + + + ID + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias ID = UUID
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + DataPoint + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias DataPoint = PieChartDataPoint
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Structs/PointColour.html b/docs/Structs/PointColour.html new file mode 100644 index 00000000..11165223 --- /dev/null +++ b/docs/Structs/PointColour.html @@ -0,0 +1,655 @@ + + + + PointColour Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

PointColour

+
+
+ +
public struct PointColour : Hashable
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + border + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let border: Color
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + fill + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let fill: Color
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(border:fill:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    border: Color = .primary,
    +    fill: Color = .primary
    +)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Structs/PointStyle.html b/docs/Structs/PointStyle.html new file mode 100644 index 00000000..582e393a --- /dev/null +++ b/docs/Structs/PointStyle.html @@ -0,0 +1,848 @@ + + + + PointStyle Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

PointStyle

+
+
+ +
public struct PointStyle : Hashable
+ +
+
+

Model for controlling the aesthetic of the point markers.

+ +

Point markers are placed on top of the line, marking where the data points are.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + pointSize + +
    +
    +
    +
    +
    +
    +

    Overall size of the mark

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var pointSize: CGFloat
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + borderColour + +
    +
    +
    +
    +
    +
    +

    Outter ring colour

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var borderColour: Color
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + fillColour + +
    +
    +
    +
    +
    +
    +

    Center fill colour

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var fillColour: Color
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + lineWidth + +
    +
    +
    +
    +
    +
    +

    Outter ring line width

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var lineWidth: CGFloat
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + pointType + +
    +
    +
    +
    +
    +
    +

    Style of the point marks

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var pointType: PointType
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + pointShape + +
    +
    +
    +
    +
    +
    +

    Shape of the points

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var pointShape: PointShape
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Styling for the point markers.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    pointSize: CGFloat = 9,
    +    borderColour: Color = .primary,
    +    fillColour: Color = Color(.gray),
    +    lineWidth: CGFloat = 3,
    +    pointType: PointType = .outline,
    +    pointShape: PointShape = .circle
    +)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + pointSize + + +
    +

    Overall size of the mark

    +
    +
    + + borderColour + + +
    +

    Outter ring colour

    +
    +
    + + fillColour + + +
    +

    Center fill colour

    +
    +
    + + lineWidth + + +
    +

    Outter ring line width

    +
    +
    + + pointType + + +
    +

    Style of the point marks

    +
    +
    + + pointShape + + +
    +

    Shape of the points

    +
    +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Structs/RangedBarChart.html b/docs/Structs/RangedBarChart.html new file mode 100644 index 00000000..7eb408f9 --- /dev/null +++ b/docs/Structs/RangedBarChart.html @@ -0,0 +1,670 @@ + + + + RangedBarChart Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

RangedBarChart

+
+
+ +
public struct RangedBarChart<ChartData> : View where ChartData : RangedBarChartData
+ +
+
+

View for creating a grouped bar chart.

+ +

Uses RangedBarChartData data model.

+

Declaration

+
RangedBarChart(chartData: data)
+
+

View Modifiers

+ +

The order of the view modifiers is some what important +as the modifiers are various types for stacks that wrap +around the previous views.

+
.touchOverlay(chartData: data)
+.averageLine(chartData: data,
+             strokeStyle: StrokeStyle(lineWidth: 3,dash: [5,10]))
+.yAxisPOI(chartData: data,
+          markerName: "50",
+          markerValue: 50,
+          lineColour: Color.blue,
+          strokeStyle: StrokeStyle(lineWidth: 3, dash: [5,10]))
+.xAxisGrid(chartData: data)
+.yAxisGrid(chartData: data)
+.xAxisLabels(chartData: data)
+.yAxisLabels(chartData: data)
+.infoBox(chartData: data)
+.floatingInfoBox(chartData: data)
+.headerBox(chartData: data)
+.legends(chartData: data)
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + init(chartData:) + +
    +
    +
    +
    +
    +
    +

    Initialises a bar chart view.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(chartData: ChartData)
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + chartData + + +
    +

    Must be RangedBarChartData model.

    +
    +
    +
    +
    +
    +
  • +
  • +
    + + + + body + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var body: some View { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Structs/RangedBarDataPoint.html b/docs/Structs/RangedBarDataPoint.html new file mode 100644 index 00000000..41e0a53f --- /dev/null +++ b/docs/Structs/RangedBarDataPoint.html @@ -0,0 +1,918 @@ + + + + RangedBarDataPoint Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

RangedBarDataPoint

+
+
+ +
public struct RangedBarDataPoint : CTRangedBarDataPoint
+ +
+
+

Data for a single ranged bar chart data point.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + id + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let id: UUID
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + upperValue + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var upperValue: Double
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + lowerValue + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var lowerValue: Double
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + xAxisLabel + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var xAxisLabel: String?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + description + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var description: String?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + date + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var date: Date?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + colour + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var colour: ColourStyle
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + legendTag + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var legendTag: String
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Data model for a single data point with colour for use with a ranged bar chart.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    lowerValue: Double,
    +    upperValue: Double,
    +    xAxisLabel: String? = nil,
    +    description: String? = nil,
    +    date: Date? = nil,
    +    colour: ColourStyle = ColourStyle(colour: .red)
    +)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + lowerValue + + +
    +

    Value of the lower range of the data point.

    +
    +
    + + upperValue + + +
    +

    Value of the upper range of the data point.

    +
    +
    + + xAxisLabel + + +
    +

    Label that can be shown on the X axis.

    +
    +
    + + description + + +
    +

    A longer label that can be shown on touch input.

    +
    +
    + + date + + +
    +

    Date of the data point if any data based calculations are required.

    +
    +
    + + colour + + +
    +

    Colour styling for the fill.

    +
    +
    +
    +
    +
    +
  • +
  • +
    + + + + ID + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias ID = UUID
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Structs/RangedBarDataSet.html b/docs/Structs/RangedBarDataSet.html new file mode 100644 index 00000000..336602bf --- /dev/null +++ b/docs/Structs/RangedBarDataSet.html @@ -0,0 +1,762 @@ + + + + RangedBarDataSet Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

RangedBarDataSet

+
+
+ +
public struct RangedBarDataSet : CTRangedBarChartDataSet, DataFunctionsProtocol
+ +
+
+

Data set for ranged bar charts.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + id + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var id: UUID
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + dataPoints + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var dataPoints: [RangedBarDataPoint]
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + legendTitle + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var legendTitle: String
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Initialises a new data set for ranged bar chart.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    dataPoints: [RangedBarDataPoint],
    +    legendTitle: String = ""
    +)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + +
    + + dataPoints + + +
    +

    Array of elements.

    +
    +
    + + legendTitle + + +
    +

    Label for the data in legend.

    +
    +
    +
    +
    +
    +
  • +
  • +
    + + + + ID + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias ID = UUID
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + DataPoint + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias DataPoint = RangedBarDataPoint
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Structs/RangedLineChart.html b/docs/Structs/RangedLineChart.html new file mode 100644 index 00000000..5343c0f8 --- /dev/null +++ b/docs/Structs/RangedLineChart.html @@ -0,0 +1,674 @@ + + + + RangedLineChart Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

RangedLineChart

+
+
+ +
public struct RangedLineChart<ChartData> : View where ChartData : RangedLineChartData
+ +
+
+

View for drawing a line chart with upper and lower range values .

+ +

Uses RangedLineChartData data model.

+

Declaration

+
RangedLineChart(chartData: data)
+
+

View Modifiers

+ +

The order of the view modifiers is some what important +as the modifiers are various types for stacks that wrap +around the previous views.

+
.pointMarkers(chartData: data)
+.touchOverlay(chartData: data, specifier: "%.0f")
+.yAxisPOI(chartData: data,
+          markerName: "Something",
+          markerValue: 110,
+          labelPosition: .center(specifier: "%.0f"),
+          labelColour: Color.white,
+          labelBackground: Color.blue,
+          lineColour: Color.blue,
+          strokeStyle: StrokeStyle(lineWidth: 3, dash: [5,10]))
+.averageLine(chartData: data,
+             strokeStyle: StrokeStyle(lineWidth: 3, dash: [5,10]))
+.xAxisGrid(chartData: data)
+.yAxisGrid(chartData: data)
+.xAxisLabels(chartData: data)
+.yAxisLabels(chartData: data)
+.infoBox(chartData: data)
+.floatingInfoBox(chartData: data)
+.headerBox(chartData: data)
+.legends(chartData: data, columns: [GridItem(.flexible()), GridItem(.flexible())])
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + init(chartData:) + +
    +
    +
    +
    +
    +
    +

    Initialises a line chart view.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(chartData: ChartData)
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + chartData + + +
    +

    Must be RangedLineChartData model.

    +
    +
    +
    +
    +
    +
  • +
  • +
    + + + + body + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var body: some View { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Structs/RangedLineChartDataPoint.html b/docs/Structs/RangedLineChartDataPoint.html new file mode 100644 index 00000000..2bdcd687 --- /dev/null +++ b/docs/Structs/RangedLineChartDataPoint.html @@ -0,0 +1,959 @@ + + + + RangedLineChartDataPoint Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

RangedLineChartDataPoint

+
+
+ +
public struct RangedLineChartDataPoint : CTRangedLineDataPoint, IgnoreMe
+ +
+
+

Data for a single ranged data point.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + id + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let id: UUID
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + value + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var value: Double
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + upperValue + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var upperValue: Double
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + lowerValue + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var lowerValue: Double
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + xAxisLabel + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var xAxisLabel: String?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + description + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var description: String?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + date + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var date: Date?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + pointColour + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var pointColour: PointColour?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + ignoreMe + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var ignoreMe: Bool
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + legendTag + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var legendTag: String
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Data model for a single data point with colour for use with a ranged line chart.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    value: Double,
    +    upperValue: Double,
    +    lowerValue: Double,
    +    xAxisLabel: String? = nil,
    +    description: String? = nil,
    +    date: Date? = nil,
    +    pointColour: PointColour? = nil
    +)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + value + + +
    +

    Value of the data point.

    +
    +
    + + upperValue + + +
    +

    Value of the upper range of the data point.

    +
    +
    + + lowerValue + + +
    +

    Value of the lower range of the data point.

    +
    +
    + + xAxisLabel + + +
    +

    Label that can be shown on the X axis.

    +
    +
    + + description + + +
    +

    A longer label that can be shown on touch input.

    +
    +
    + + date + + +
    +

    Date of the data point if any data based calculations are required.

    +
    +
    + + pointColour + + +
    +

    Colour of the point markers.

    +
    +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Structs/RangedLineDataSet.html b/docs/Structs/RangedLineDataSet.html new file mode 100644 index 00000000..90e98ea1 --- /dev/null +++ b/docs/Structs/RangedLineDataSet.html @@ -0,0 +1,881 @@ + + + + RangedLineDataSet Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

RangedLineDataSet

+
+
+ +
public struct RangedLineDataSet : CTRangedLineChartDataSet, DataFunctionsProtocol
+ +
+
+

Data set for a ranged line.

+ +

Contains information specific to the line and range fill.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + id + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let id: UUID
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + dataPoints + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var dataPoints: [RangedLineChartDataPoint]
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + legendTitle + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var legendTitle: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + legendFillTitle + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var legendFillTitle: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + pointStyle + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var pointStyle: PointStyle
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + style + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var style: RangedLineStyle
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Initialises a data set for a line in a ranged line chart.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    dataPoints: [RangedLineChartDataPoint],
    +    legendTitle: String = "",
    +    legendFillTitle: String = "",
    +    pointStyle: PointStyle = PointStyle(),
    +    style: RangedLineStyle = RangedLineStyle()
    +)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + + + +
    + + dataPoints + + +
    +

    Array of elements.

    +
    +
    + + legendTitle + + +
    +

    Label for the data in legend.

    +
    +
    + + legendFillTitle + + +
    +

    Label for the range data in legend.

    +
    +
    + + pointStyle + + +
    +

    Styling information for the data point markers.

    +
    +
    + + style + + +
    +

    Styling for how the line will be draw in.

    +
    +
    +
    +
    +
    +
  • +
  • +
    + + + + ID + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias ID = UUID
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Styling + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias Styling = RangedLineStyle
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Structs/RangedLineStyle.html b/docs/Structs/RangedLineStyle.html new file mode 100644 index 00000000..1c7294f8 --- /dev/null +++ b/docs/Structs/RangedLineStyle.html @@ -0,0 +1,801 @@ + + + + RangedLineStyle Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

RangedLineStyle

+
+
+ +
public struct RangedLineStyle : CTRangedLineStyle, Hashable
+ +
+
+

Model for controlling the aesthetic of the ranged line chart.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + lineColour + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var lineColour: ColourStyle
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + fillColour + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var fillColour: ColourStyle
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + lineType + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var lineType: LineType
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + strokeStyle + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var strokeStyle: Stroke
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + ignoreZero + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var ignoreZero: Bool
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Initializer +

+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Initialize the styling for ranged line chart.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(lineColour: ColourStyle = ColourStyle(),
    +            fillColour: ColourStyle = ColourStyle(),
    +            lineType: LineType = .curvedLine,
    +            strokeStyle: Stroke = Stroke(),
    +            ignoreZero: Bool = false
    +)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + +
    + + colour + + +
    +

    Single Colour

    +
    +
    + + lineType + + +
    +

    Drawing style of the line

    +
    +
    + + strokeStyle + + +
    +

    Stroke Style

    +
    +
    + + ignoreZero + + +
    +

    Whether the chart should skip data points who’s value is 0.

    +
    +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Structs/StackedBarChart.html b/docs/Structs/StackedBarChart.html new file mode 100644 index 00000000..488400b3 --- /dev/null +++ b/docs/Structs/StackedBarChart.html @@ -0,0 +1,670 @@ + + + + StackedBarChart Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

StackedBarChart

+
+
+ +
public struct StackedBarChart<ChartData> : View where ChartData : StackedBarChartData
+ +
+
+

View for creating a stacked bar chart.

+ +

Uses StackedBarChartData data model.

+

Declaration

+
StackedBarChart(chartData: data)
+
+

View Modifiers

+ +

The order of the view modifiers is some what important +as the modifiers are various types for stacks that wrap +around the previous views.

+
.touchOverlay(chartData: data)
+.averageLine(chartData: data,
+             strokeStyle: StrokeStyle(lineWidth: 3,dash: [5,10]))
+.yAxisPOI(chartData: data,
+          markerName: "50",
+          markerValue: 50,
+          lineColour: Color.blue,
+          strokeStyle: StrokeStyle(lineWidth: 3, dash: [5,10]))
+.xAxisGrid(chartData: data)
+.yAxisGrid(chartData: data)
+.xAxisLabels(chartData: data)
+.yAxisLabels(chartData: data)
+.infoBox(chartData: data)
+.floatingInfoBox(chartData: data)
+.headerBox(chartData: data)
+.legends(chartData: data)
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + init(chartData:) + +
    +
    +
    +
    +
    +
    +

    Initialises a stacked bar chart view.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(chartData: ChartData)
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + chartData + + +
    +

    Must be StackedBarChartData model.

    +
    +
    +
    +
    +
    +
  • +
  • +
    + + + + body + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var body: some View { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Structs/StackedBarDataPoint.html b/docs/Structs/StackedBarDataPoint.html new file mode 100644 index 00000000..2fa15bf8 --- /dev/null +++ b/docs/Structs/StackedBarDataPoint.html @@ -0,0 +1,866 @@ + + + + StackedBarDataPoint Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

StackedBarDataPoint

+
+
+ +
public struct StackedBarDataPoint : CTMultiBarDataPoint
+ +
+
+

Data for a single stacked chart data point.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + id + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let id: UUID
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + value + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var value: Double
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + xAxisLabel + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var xAxisLabel: String?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + description + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var description: String?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + date + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var date: Date?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + group + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var group: GroupingData
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + legendTag + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var legendTag: String
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Data model for a single data point with colour info for use with a stacked bar chart.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    value: Double,
    +    description: String? = nil,
    +    date: Date? = nil,
    +    group: GroupingData
    +)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + +
    + + value + + +
    +

    Value of the data point.

    +
    +
    + + description + + +
    +

    A longer label that can be shown on touch input.

    +
    +
    + + date + + +
    +

    Date of the data point if any data based calculations are required.

    +
    +
    + + group + + +
    +

    Group data informs the data models how the data point are linked.

    +
    +
    +
    +
    +
    +
  • +
  • +
    + + + + ID + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias ID = UUID
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Structs/StackedBarDataSet.html b/docs/Structs/StackedBarDataSet.html new file mode 100644 index 00000000..cde6106e --- /dev/null +++ b/docs/Structs/StackedBarDataSet.html @@ -0,0 +1,731 @@ + + + + StackedBarDataSet Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

StackedBarDataSet

+
+
+ +
public struct StackedBarDataSet : CTMultiBarChartDataSet
+ +
+
+

Individual data sets for stacked bars charts.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + id + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let id: UUID
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + dataPoints + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var dataPoints: [StackedBarDataPoint]
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + setTitle + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var setTitle: String
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Initialises a new data set for a Stacked Bar Chart.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    dataPoints: [StackedBarDataPoint],
    +    setTitle: String = ""
    +)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + ID + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias ID = UUID
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + DataPoint + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias DataPoint = StackedBarDataPoint
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Structs/StackedBarDataSets.html b/docs/Structs/StackedBarDataSets.html new file mode 100644 index 00000000..81b80b30 --- /dev/null +++ b/docs/Structs/StackedBarDataSets.html @@ -0,0 +1,650 @@ + + + + StackedBarDataSets Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

StackedBarDataSets

+
+
+ +
public struct StackedBarDataSets : CTMultiDataSetProtocol, DataFunctionsProtocol
+ +
+
+

Main data set for a stacked bar chart.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + id + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let id: UUID
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + dataSets + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var dataSets: [StackedBarDataSet]
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(dataSets:) + +
    +
    +
    +
    +
    +
    +

    Initialises a new data set for a Stacked Bar Chart.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(dataSets: [StackedBarDataSet])
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Structs/Stroke.html b/docs/Structs/Stroke.html new file mode 100644 index 00000000..64bb0cfd --- /dev/null +++ b/docs/Structs/Stroke.html @@ -0,0 +1,633 @@ + + + + Stroke Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

Stroke

+
+
+ +
public struct Stroke : Hashable, Identifiable
+ +
+
+

A hashable version of StrokeStyle

+ +

StrokeStyle doesn’t conform to Hashable.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + id + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let id: UUID
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    lineWidth: CGFloat = 3,
    +    lineCap: CGLineCap = .round,
    +    lineJoin: CGLineJoin = .round,
    +    miterLimit: CGFloat = 10,
    +    dash: [CGFloat] = [CGFloat](),
    +    dashPhase: CGFloat = 0
    +)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Structs/TopLabelShape.html b/docs/Structs/TopLabelShape.html new file mode 100644 index 00000000..c7c331d3 --- /dev/null +++ b/docs/Structs/TopLabelShape.html @@ -0,0 +1,597 @@ + + + + TopLabelShape Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

TopLabelShape

+
+
+ +
public struct TopLabelShape : Shape
+ +
+
+

Shape used in POI Markers when displaying value in the X axis labels on the top edge.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + path(in:) + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func path(in rect: CGRect) -> Path
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Structs/TrailingLabelShape.html b/docs/Structs/TrailingLabelShape.html new file mode 100644 index 00000000..ae5baa93 --- /dev/null +++ b/docs/Structs/TrailingLabelShape.html @@ -0,0 +1,597 @@ + + + + TrailingLabelShape Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

TrailingLabelShape

+
+
+ +
public struct TrailingLabelShape : Shape
+ +
+
+

Shape used in POI Markers when displaying value in the Y axis labels on the trailing edge.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + path(in:) + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func path(in rect: CGRect) -> Path
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/badge.svg b/docs/badge.svg new file mode 100644 index 00000000..883955db --- /dev/null +++ b/docs/badge.svg @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + documentation + + + documentation + + + 87% + + + 87% + + + diff --git a/docs/css/highlight.css b/docs/css/highlight.css new file mode 100644 index 00000000..c170357c --- /dev/null +++ b/docs/css/highlight.css @@ -0,0 +1,202 @@ +/*! Jazzy - https://github.com/realm/jazzy + * Copyright Realm Inc. + * SPDX-License-Identifier: MIT + */ +/* Credit to https://gist.github.com/wataru420/2048287 */ +.highlight .c { + color: #999988; + font-style: italic; } + +.highlight .err { + color: #a61717; + background-color: #e3d2d2; } + +.highlight .k { + color: #000000; + font-weight: bold; } + +.highlight .o { + color: #000000; + font-weight: bold; } + +.highlight .cm { + color: #999988; + font-style: italic; } + +.highlight .cp { + color: #999999; + font-weight: bold; } + +.highlight .c1 { + color: #999988; + font-style: italic; } + +.highlight .cs { + color: #999999; + font-weight: bold; + font-style: italic; } + +.highlight .gd { + color: #000000; + background-color: #ffdddd; } + +.highlight .gd .x { + color: #000000; + background-color: #ffaaaa; } + +.highlight .ge { + color: #000000; + font-style: italic; } + +.highlight .gr { + color: #aa0000; } + +.highlight .gh { + color: #999999; } + +.highlight .gi { + color: #000000; + background-color: #ddffdd; } + +.highlight .gi .x { + color: #000000; + background-color: #aaffaa; } + +.highlight .go { + color: #888888; } + +.highlight .gp { + color: #555555; } + +.highlight .gs { + font-weight: bold; } + +.highlight .gu { + color: #aaaaaa; } + +.highlight .gt { + color: #aa0000; } + +.highlight .kc { + color: #000000; + font-weight: bold; } + +.highlight .kd { + color: #000000; + font-weight: bold; } + +.highlight .kp { + color: #000000; + font-weight: bold; } + +.highlight .kr { + color: #000000; + font-weight: bold; } + +.highlight .kt { + color: #445588; } + +.highlight .m { + color: #009999; } + +.highlight .s { + color: #d14; } + +.highlight .na { + color: #008080; } + +.highlight .nb { + color: #0086B3; } + +.highlight .nc { + color: #445588; + font-weight: bold; } + +.highlight .no { + color: #008080; } + +.highlight .ni { + color: #800080; } + +.highlight .ne { + color: #990000; + font-weight: bold; } + +.highlight .nf { + color: #990000; } + +.highlight .nn { + color: #555555; } + +.highlight .nt { + color: #000080; } + +.highlight .nv { + color: #008080; } + +.highlight .ow { + color: #000000; + font-weight: bold; } + +.highlight .w { + color: #bbbbbb; } + +.highlight .mf { + color: #009999; } + +.highlight .mh { + color: #009999; } + +.highlight .mi { + color: #009999; } + +.highlight .mo { + color: #009999; } + +.highlight .sb { + color: #d14; } + +.highlight .sc { + color: #d14; } + +.highlight .sd { + color: #d14; } + +.highlight .s2 { + color: #d14; } + +.highlight .se { + color: #d14; } + +.highlight .sh { + color: #d14; } + +.highlight .si { + color: #d14; } + +.highlight .sx { + color: #d14; } + +.highlight .sr { + color: #009926; } + +.highlight .s1 { + color: #d14; } + +.highlight .ss { + color: #990073; } + +.highlight .bp { + color: #999999; } + +.highlight .vc { + color: #008080; } + +.highlight .vg { + color: #008080; } + +.highlight .vi { + color: #008080; } + +.highlight .il { + color: #009999; } diff --git a/docs/css/jazzy.css b/docs/css/jazzy.css new file mode 100644 index 00000000..9d4b08b8 --- /dev/null +++ b/docs/css/jazzy.css @@ -0,0 +1,405 @@ +/*! Jazzy - https://github.com/realm/jazzy + * Copyright Realm Inc. + * SPDX-License-Identifier: MIT + */ +*, *:before, *:after { + box-sizing: inherit; } + +body { + margin: 0; + background: #fff; + color: #333; + font: 16px/1.7 "Helvetica Neue", Helvetica, Arial, sans-serif; + letter-spacing: .2px; + -webkit-font-smoothing: antialiased; + box-sizing: border-box; } + +h1 { + font-size: 2rem; + font-weight: 700; + margin: 1.275em 0 0.6em; } + +h2 { + font-size: 1.75rem; + font-weight: 700; + margin: 1.275em 0 0.3em; } + +h3 { + font-size: 1.5rem; + font-weight: 700; + margin: 1em 0 0.3em; } + +h4 { + font-size: 1.25rem; + font-weight: 700; + margin: 1.275em 0 0.85em; } + +h5 { + font-size: 1rem; + font-weight: 700; + margin: 1.275em 0 0.85em; } + +h6 { + font-size: 1rem; + font-weight: 700; + margin: 1.275em 0 0.85em; + color: #777; } + +p { + margin: 0 0 1em; } + +ul, ol { + padding: 0 0 0 2em; + margin: 0 0 0.85em; } + +blockquote { + margin: 0 0 0.85em; + padding: 0 15px; + color: #858585; + border-left: 4px solid #e5e5e5; } + +img { + max-width: 100%; } + +a { + color: #4183c4; + text-decoration: none; } + a:hover, a:focus { + outline: 0; + text-decoration: underline; } + a.discouraged { + text-decoration: line-through; } + a.discouraged:hover, a.discouraged:focus { + text-decoration: underline line-through; } + +table { + background: #fff; + width: 100%; + border-collapse: collapse; + border-spacing: 0; + overflow: auto; + margin: 0 0 0.85em; } + +tr:nth-child(2n) { + background-color: #fbfbfb; } + +th, td { + padding: 6px 13px; + border: 1px solid #ddd; } + +hr { + height: 1px; + border: none; + background-color: #ddd; } + +pre { + margin: 0 0 1.275em; + padding: .85em 1em; + overflow: auto; + background: #f7f7f7; + font-size: .85em; + font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; } + +code { + font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; } + +.item-container p > code, .item-container li > code, .top-matter p > code, .top-matter li > code { + background: #f7f7f7; + padding: .2em; } + .item-container p > code:before, .item-container p > code:after, .item-container li > code:before, .item-container li > code:after, .top-matter p > code:before, .top-matter p > code:after, .top-matter li > code:before, .top-matter li > code:after { + letter-spacing: -.2em; + content: "\00a0"; } + +pre code { + padding: 0; + white-space: pre; } + +.content-wrapper { + display: flex; + flex-direction: column; } + @media (min-width: 768px) { + .content-wrapper { + flex-direction: row; } } +.header { + display: flex; + padding: 8px; + font-size: 0.875em; + background: #444; + color: #999; } + +.header-col { + margin: 0; + padding: 0 8px; } + +.header-col--primary { + flex: 1; } + +.header-link { + color: #fff; } + +.header-icon { + padding-right: 2px; + vertical-align: -3px; + height: 16px; } + +.breadcrumbs { + font-size: 0.875em; + padding: 8px 16px; + margin: 0; + background: #fbfbfb; + border-bottom: 1px solid #ddd; } + +.carat { + height: 10px; + margin: 0 5px; } + +.navigation { + order: 2; } + @media (min-width: 768px) { + .navigation { + order: 1; + width: 25%; + max-width: 300px; + padding-bottom: 64px; + overflow: hidden; + word-wrap: normal; + background: #fbfbfb; + border-right: 1px solid #ddd; } } +.nav-groups { + list-style-type: none; + padding-left: 0; } + +.nav-group-name { + border-bottom: 1px solid #ddd; + padding: 8px 0 8px 16px; } + +.nav-group-name-link { + color: #333; } + +.nav-group-tasks { + margin: 8px 0; + padding: 0 0 0 8px; } + +.nav-group-task { + font-size: 1em; + list-style-type: none; + white-space: nowrap; } + +.nav-group-task-link { + color: #808080; } + +.main-content { + order: 1; } + @media (min-width: 768px) { + .main-content { + order: 2; + flex: 1; + padding-bottom: 60px; } } +.section { + padding: 0 32px; + border-bottom: 1px solid #ddd; } + +.section-content { + max-width: 834px; + margin: 0 auto; + padding: 16px 0; } + +.section-name { + color: #666; + display: block; } + .section-name p { + margin-bottom: inherit; } + +.declaration .highlight { + overflow-x: initial; + padding: 8px 0; + margin: 0; + background-color: transparent; + border: none; } + +.task-group-section { + border-top: 1px solid #ddd; } + +.task-group { + padding-top: 0px; } + +.task-name-container a[name]:before { + content: ""; + display: block; } + +.section-name-container { + position: relative; } + .section-name-container .section-name-link { + position: absolute; + top: 0; + left: 0; + bottom: 0; + right: 0; + margin-bottom: 0; } + .section-name-container .section-name { + position: relative; + pointer-events: none; + z-index: 1; } + .section-name-container .section-name a { + pointer-events: auto; } + +.item-container { + padding: 0; } + +.item { + padding-top: 8px; + width: 100%; + list-style-type: none; } + .item a[name]:before { + content: ""; + display: block; } + .item .token, .item .direct-link { + display: inline-block; + text-indent: -20px; + padding-left: 3px; + margin-left: 20px; + font-size: 1rem; } + +.declaration-note { + font-size: .85em; + color: #808080; + font-style: italic; } + +.pointer-container { + border-bottom: 1px solid #ddd; + left: -23px; + padding-bottom: 13px; + position: relative; + width: 110%; } + +.pointer { + left: 21px; + top: 7px; + display: block; + position: absolute; + width: 12px; + height: 12px; + border-left: 1px solid #ddd; + border-top: 1px solid #ddd; + background: #fff; + transform: rotate(45deg); } + +.height-container { + display: none; + position: relative; + width: 100%; + overflow: hidden; } + .height-container .section { + background: #fff; + border: 1px solid #ddd; + border-top-width: 0; + padding-top: 10px; + padding-bottom: 5px; + padding: 8px 16px; } + +.aside, .language { + padding: 6px 12px; + margin: 12px 0; + border-left: 5px solid #dddddd; + overflow-y: hidden; } + .aside .aside-title, .language .aside-title { + font-size: 9px; + letter-spacing: 2px; + text-transform: uppercase; + padding-bottom: 0; + margin: 0; + color: #aaa; + -webkit-user-select: none; } + .aside p:last-child, .language p:last-child { + margin-bottom: 0; } + +.language { + border-left: 5px solid #cde9f4; } + .language .aside-title { + color: #4183c4; } + +.aside-warning, .aside-deprecated, .aside-unavailable { + border-left: 5px solid #ff6666; } + .aside-warning .aside-title, .aside-deprecated .aside-title, .aside-unavailable .aside-title { + color: #ff0000; } + +.graybox { + border-collapse: collapse; + width: 100%; } + .graybox p { + margin: 0; + word-break: break-word; + min-width: 50px; } + .graybox td { + border: 1px solid #ddd; + padding: 5px 25px 5px 10px; + vertical-align: middle; } + .graybox tr td:first-of-type { + text-align: right; + padding: 7px; + vertical-align: top; + word-break: normal; + width: 40px; } + +.slightly-smaller { + font-size: 0.9em; } + +.footer { + padding: 8px 16px; + background: #444; + color: #ddd; + font-size: 0.8em; } + .footer p { + margin: 8px 0; } + .footer a { + color: #fff; } + +html.dash .header, html.dash .breadcrumbs, html.dash .navigation { + display: none; } + +html.dash .height-container { + display: block; } + +form[role=search] input { + font: 16px/1.7 "Helvetica Neue", Helvetica, Arial, sans-serif; + font-size: 14px; + line-height: 24px; + padding: 0 10px; + margin: 0; + border: none; + border-radius: 1em; } + .loading form[role=search] input { + background: white url(../img/spinner.gif) center right 4px no-repeat; } + +form[role=search] .tt-menu { + margin: 0; + min-width: 300px; + background: #fbfbfb; + color: #333; + border: 1px solid #ddd; } + +form[role=search] .tt-highlight { + font-weight: bold; } + +form[role=search] .tt-suggestion { + font: 16px/1.7 "Helvetica Neue", Helvetica, Arial, sans-serif; + padding: 0 8px; } + form[role=search] .tt-suggestion span { + display: table-cell; + white-space: nowrap; } + form[role=search] .tt-suggestion .doc-parent-name { + width: 100%; + text-align: right; + font-weight: normal; + font-size: 0.9em; + padding-left: 16px; } + +form[role=search] .tt-suggestion:hover, +form[role=search] .tt-suggestion.tt-cursor { + cursor: pointer; + background-color: #4183c4; + color: #fff; } + +form[role=search] .tt-suggestion:hover .doc-parent-name, +form[role=search] .tt-suggestion.tt-cursor .doc-parent-name { + color: #fff; } diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Info.plist b/docs/docsets/SwiftUICharts.docset/Contents/Info.plist new file mode 100644 index 00000000..38a6d3d3 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Info.plist @@ -0,0 +1,20 @@ + + + + + CFBundleIdentifier + com.jazzy.swiftuicharts + CFBundleName + SwiftUICharts + DocSetPlatformFamily + swiftuicharts + isDashDocset + + dashIndexFilePath + index.html + isJavaScriptEnabled + + DashDocSetFamily + dashtoc + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Classes.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Classes.html new file mode 100644 index 00000000..597b6550 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Classes.html @@ -0,0 +1,895 @@ + + + + Classes Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

Classes

+

The following classes are available globally.

+ +
+
+ +
+
+
+ +
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Classes/BarChartData.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Classes/BarChartData.html new file mode 100644 index 00000000..fa7fe15d --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Classes/BarChartData.html @@ -0,0 +1,1355 @@ + + + + BarChartData Class Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

BarChartData

+
+
+ +
public final class BarChartData : CTBarChartDataProtocol, GetDataProtocol, Publishable, PointOfInterestProtocol
+ +
+
+

Data for drawing and styling a standard Bar Chart.

+ +
+
+ +
+
+
+
+ + +
+ +

Properties +

+
+
+
    +
  • +
    + + + + id + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let id: UUID
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + dataSets + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var dataSets: BarDataSet { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + metadata + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var metadata: ChartMetadata { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + xAxisLabels + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var xAxisLabels: [String]? { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + yAxisLabels + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var yAxisLabels: [String]? { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + barStyle + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var barStyle: BarStyle { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + chartStyle + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var chartStyle: BarChartStyle { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + legends + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var legends: [LegendData] { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + viewData + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var viewData: ChartViewData { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + infoView + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var infoView: InfoViewData<BarChartDataPoint> { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + extraLineData + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var extraLineData: ExtraLineData? { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + subscription + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var subscription: Set<AnyCancellable>
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let touchedDataPointPublisher: PassthroughSubject<BarChartData.DataPoint, Never>
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + noDataText + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final var noDataText: Text
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + chartType + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final let chartType: (chartType: ChartType, dataSetType: DataSetType)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + disableAnimation + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var disableAnimation: Bool
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Initializer +

+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Initialises a standard Bar Chart.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    dataSets: BarDataSet,
    +    metadata: ChartMetadata = ChartMetadata(),
    +    xAxisLabels: [String]? = nil,
    +    yAxisLabels: [String]? = nil,
    +    barStyle: BarStyle = BarStyle(),
    +    chartStyle: BarChartStyle = BarChartStyle(),
    +    noDataText: Text = Text("No Data")
    +)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + dataSets + + +
    +

    Data to draw and style the bars.

    +
    +
    + + metadata + + +
    +

    Data model containing the charts Title, Subtitle and the Title for Legend.

    +
    +
    + + xAxisLabels + + +
    +

    Labels for the X axis instead of the labels in the data points.

    +
    +
    + + yAxisLabels + + +
    +

    Labels for the Y axis instead of the labels generated from data point values.

    +
    +
    + + barStyle + + +
    +

    Control for the aesthetic of the bar chart.

    +
    +
    + + chartStyle + + +
    +

    The style data for the aesthetic of the chart.

    +
    +
    + + noDataText + + +
    +

    Customisable Text to display when where is not enough data to draw the chart.

    +
    +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Labels +

+
+
+
    +
  • +
    + + + + getXAxisLabels() + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final func getXAxisLabels() -> some View
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Touch +

+
+
+ +
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Classes/ChartImageController.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Classes/ChartImageController.html new file mode 100644 index 00000000..51975e14 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Classes/ChartImageController.html @@ -0,0 +1,599 @@ + + + + ChartImageController Class Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

ChartImageController

+ +
+
+ +
+
+
+
    +
  • +
    + + + + controller + +
    +
    +
    +
    +
    +
    + +
    +
    +
    +
  • +
  • +
    + + + + init() + +
    +
    +
    +
    +
    +
    + +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Classes/ChartImageHostingController.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Classes/ChartImageHostingController.html new file mode 100644 index 00000000..6112fc66 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Classes/ChartImageHostingController.html @@ -0,0 +1,635 @@ + + + + ChartImageHostingController Class Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

ChartImageHostingController

+ +
+
+ +
+
+
+ +
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Classes/DoughnutChartData.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Classes/DoughnutChartData.html new file mode 100644 index 00000000..8750b3f5 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Classes/DoughnutChartData.html @@ -0,0 +1,1144 @@ + + + + DoughnutChartData Class Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

DoughnutChartData

+
+
+ +
public final class DoughnutChartData : CTDoughnutChartDataProtocol, Publishable
+ +
+
+

Data for drawing and styling a doughnut chart.

+ +

This model contains the data and styling information for a doughnut chart.

+ +
+
+ +
+
+
+
+ + +
+ +

Properties +

+
+
+
    +
  • +
    + + + + id + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var id: UUID
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + dataSets + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var dataSets: PieDataSet { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + metadata + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var metadata: ChartMetadata { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + chartStyle + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var chartStyle: DoughnutChartStyle { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + legends + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var legends: [LegendData] { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + infoView + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var infoView: InfoViewData<PieChartDataPoint> { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + subscription + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var subscription: Set<AnyCancellable>
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let touchedDataPointPublisher: PassthroughSubject<DoughnutChartData.DataPoint, Never>
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + noDataText + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final var noDataText: Text
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + chartType + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final var chartType: (chartType: ChartType, dataSetType: DataSetType)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + disableAnimation + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var disableAnimation: Bool
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Initializer +

+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Initialises Doughnut Chart data.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    dataSets: PieDataSet,
    +    metadata: ChartMetadata,
    +    chartStyle: DoughnutChartStyle = DoughnutChartStyle(),
    +    noDataText: Text
    +)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + +
    + + dataSets + + +
    +

    Data to draw and style the chart.

    +
    +
    + + metadata + + +
    +

    Data model containing the charts Title, Subtitle and the Title for Legend.

    +
    +
    + + chartStyle + + +
    +

    The style data for the aesthetic of the chart.

    +
    +
    + + noDataText + + +
    +

    Customisable Text to display when where is not enough data to draw the chart.

    +
    +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final func getTouchInteraction(touchLocation: CGPoint, chartSize: CGRect) -> some View
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + SetType + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias SetType = PieDataSet
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + DataPoint + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias DataPoint = PieChartDataPoint
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + CTStyle + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias CTStyle = DoughnutChartStyle
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Touch +

+
+
+ +
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Classes/GroupedBarChartData.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Classes/GroupedBarChartData.html new file mode 100644 index 00000000..531c1be7 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Classes/GroupedBarChartData.html @@ -0,0 +1,1398 @@ + + + + GroupedBarChartData Class Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

GroupedBarChartData

+
+
+ +
public final class GroupedBarChartData : CTMultiBarChartDataProtocol, GetDataProtocol, Publishable, PointOfInterestProtocol
+ +
+
+

Data model for drawing and styling a Grouped Bar Chart.

+ +

The grouping data informs the model as to how the datapoints are linked.

+
+ +
+
+ +
+
+
+
+ + +
+ +

Properties +

+
+
+
    +
  • +
    + + + + id + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let id: UUID
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + dataSets + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var dataSets: GroupedBarDataSets { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + metadata + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var metadata: ChartMetadata { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + xAxisLabels + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var xAxisLabels: [String]? { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + yAxisLabels + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var yAxisLabels: [String]? { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + barStyle + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var barStyle: BarStyle { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + chartStyle + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var chartStyle: BarChartStyle { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + legends + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var legends: [LegendData] { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + viewData + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var viewData: ChartViewData { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + infoView + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var infoView: InfoViewData<GroupedBarDataPoint> { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + groups + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var groups: [GroupingData] { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + extraLineData + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var extraLineData: ExtraLineData? { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + subscription + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var subscription: Set<AnyCancellable>
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let touchedDataPointPublisher: PassthroughSubject<GroupedBarChartData.DataPoint, Never>
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + noDataText + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final var noDataText: Text
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + chartType + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final var chartType: (chartType: ChartType, dataSetType: DataSetType)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + disableAnimation + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var disableAnimation: Bool
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Initializer +

+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Initialises a Grouped Bar Chart.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    dataSets: GroupedBarDataSets,
    +    groups: [GroupingData],
    +    metadata: ChartMetadata = ChartMetadata(),
    +    xAxisLabels: [String]? = nil,
    +    yAxisLabels: [String]? = nil,
    +    barStyle: BarStyle = BarStyle(),
    +    chartStyle: BarChartStyle = BarChartStyle(),
    +    noDataText: Text = Text("No Data")
    +)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + dataSets + + +
    +

    Data to draw and style the bars.

    +
    +
    + + groups + + +
    +

    Information for how to group the data points.

    +
    +
    + + metadata + + +
    +

    Data model containing the charts Title, Subtitle and the Title for Legend.

    +
    +
    + + xAxisLabels + + +
    +

    Labels for the X axis instead of the labels in the data points.

    +
    +
    + + yAxisLabels + + +
    +

    Labels for the Y axis instead of the labels generated from data point values.

    +
    +
    + + barStyle + + +
    +

    Control for the aesthetic of the bar chart.

    +
    +
    + + chartStyle + + +
    +

    The style data for the aesthetic of the chart.

    +
    +
    + + noDataText + + +
    +

    Customisable Text to display when where is not enough data to draw the chart.

    +
    +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Labels +

+
+
+
    +
  • +
    + + + + getXAxisLabels() + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final func getXAxisLabels() -> some View
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Touch +

+
+
+ +
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Classes/HorizontalBarChartData.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Classes/HorizontalBarChartData.html new file mode 100644 index 00000000..3852e09e --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Classes/HorizontalBarChartData.html @@ -0,0 +1,1381 @@ + + + + HorizontalBarChartData Class Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

HorizontalBarChartData

+
+
+ +
public final class HorizontalBarChartData : CTHorizontalBarChartDataProtocol, GetDataProtocol, Publishable, PointOfInterestProtocol
+ +
+
+

Data for drawing and styling a standard Bar Chart.

+ +
+
+ +
+
+
+
+ + +
+ +

Properties +

+
+
+
    +
  • +
    + + + + id + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let id: UUID
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + dataSets + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var dataSets: BarDataSet { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + metadata + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var metadata: ChartMetadata { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + xAxisLabels + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var xAxisLabels: [String]? { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + yAxisLabels + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var yAxisLabels: [String]? { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + barStyle + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var barStyle: BarStyle { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + chartStyle + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var chartStyle: BarChartStyle { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + legends + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var legends: [LegendData] { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + viewData + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var viewData: ChartViewData { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + infoView + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var infoView: InfoViewData<BarChartDataPoint> { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + extraLineData + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var extraLineData: ExtraLineData? { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + subscription + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var subscription: Set<AnyCancellable>
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let touchedDataPointPublisher: PassthroughSubject<HorizontalBarChartData.DataPoint, Never>
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + noDataText + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final var noDataText: Text
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + chartType + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final let chartType: (chartType: ChartType, dataSetType: DataSetType)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + disableAnimation + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var disableAnimation: Bool
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Initializer +

+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Initialises a standard Bar Chart.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    dataSets: BarDataSet,
    +    metadata: ChartMetadata = ChartMetadata(),
    +    xAxisLabels: [String]? = nil,
    +    yAxisLabels: [String]? = nil,
    +    barStyle: BarStyle = BarStyle(),
    +    chartStyle: BarChartStyle = BarChartStyle(),
    +    noDataText: Text = Text("No Data")
    +)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + dataSets + + +
    +

    Data to draw and style the bars.

    +
    +
    + + metadata + + +
    +

    Data model containing the charts Title, Subtitle and the Title for Legend.

    +
    +
    + + xAxisLabels + + +
    +

    Labels for the X axis instead of the labels in the data points.

    +
    +
    + + yAxisLabels + + +
    +

    Labels for the Y axis instead of the labels generated from data point values.

    +
    +
    + + barStyle + + +
    +

    Control for the aesthetic of the bar chart.

    +
    +
    + + chartStyle + + +
    +

    The style data for the aesthetic of the chart.

    +
    +
    + + noDataText + + +
    +

    Customisable Text to display when where is not enough data to draw the chart.

    +
    +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Labels +

+
+
+
    +
  • +
    + + + + getXAxisLabels() + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final func getXAxisLabels() -> some View
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + getYAxisLabels() + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final func getYAxisLabels() -> some View
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Touch +

+
+
+ +
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Classes/LineChartData.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Classes/LineChartData.html new file mode 100644 index 00000000..f819cc7e --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Classes/LineChartData.html @@ -0,0 +1,1330 @@ + + + + LineChartData Class Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

LineChartData

+
+
+ +
public final class LineChartData : CTLineChartDataProtocol, GetDataProtocol, Publishable, PointOfInterestProtocol
+ +
+
+

Data for drawing and styling a single line, line chart.

+ +

This model contains the data and styling information for a single line, line chart.

+ +
+
+ +
+
+
+
+ + +
+ +

Properties +

+
+
+
    +
  • +
    + + + + id + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final let id: UUID
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + dataSets + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var dataSets: LineDataSet { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + metadata + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var metadata: ChartMetadata { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + xAxisLabels + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var xAxisLabels: [String]? { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + yAxisLabels + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var yAxisLabels: [String]? { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + chartStyle + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var chartStyle: LineChartStyle { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + legends + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var legends: [LegendData] { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + viewData + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var viewData: ChartViewData { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + infoView + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var infoView: InfoViewData<LineChartDataPoint> { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + noDataText + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final var noDataText: Text
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + chartType + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final var chartType: (chartType: ChartType, dataSetType: DataSetType)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + extraLineData + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var extraLineData: ExtraLineData? { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + subscription + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var subscription: Set<AnyCancellable>
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let touchedDataPointPublisher: PassthroughSubject<LineChartData.DataPoint, Never>
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + disableAnimation + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var disableAnimation: Bool
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Initializer +

+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Initialises a Single Line Chart.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    dataSets: LineDataSet,
    +    metadata: ChartMetadata = ChartMetadata(),
    +    xAxisLabels: [String]? = nil,
    +    yAxisLabels: [String]? = nil,
    +    chartStyle: LineChartStyle = LineChartStyle(),
    +    noDataText: Text = Text("No Data")
    +)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + dataSets + + +
    +

    Data to draw and style a line.

    +
    +
    + + metadata + + +
    +

    Data model containing the charts Title, Subtitle and the Title for Legend.

    +
    +
    + + xAxisLabels + + +
    +

    Labels for the X axis instead of the labels in the data points.

    +
    +
    + + yAxisLabels + + +
    +

    Labels for the Y axis instead of the labels generated from data point values.

    +
    +
    + + chartStyle + + +
    +

    The style data for the aesthetic of the chart.

    +
    +
    + + noDataText + + +
    +

    Customisable Text to display when where is not enough data to draw the chart.

    +
    +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Labels +

+
+
+
    +
  • +
    + + + + getXAxisLabels() + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final func getXAxisLabels() -> some View
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Points +

+
+
+
    +
  • +
    + + + + getPointMarker() + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final func getPointMarker() -> some View
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final func getTouchInteraction(touchLocation: CGPoint, chartSize: CGRect) -> some View
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + SetType + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias SetType = LineDataSet
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + DataPoint + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias DataPoint = LineChartDataPoint
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Touch +

+
+
+ +
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Classes/MultiLineChartData.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Classes/MultiLineChartData.html new file mode 100644 index 00000000..9d35acf2 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Classes/MultiLineChartData.html @@ -0,0 +1,1395 @@ + + + + MultiLineChartData Class Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

MultiLineChartData

+
+
+ +
public final class MultiLineChartData : CTLineChartDataProtocol, GetDataProtocol, Publishable, PointOfInterestProtocol
+ +
+
+

Data for drawing and styling a multi line, line chart.

+ +

This model contains all the data and styling information for a single line, line chart.

+ +
+
+ +
+
+
+
+ + +
+ +

Properties +

+
+
+
    +
  • +
    + + + + id + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let id: UUID
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + dataSets + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var dataSets: MultiLineDataSet { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + metadata + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var metadata: ChartMetadata { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + xAxisLabels + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var xAxisLabels: [String]? { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + yAxisLabels + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var yAxisLabels: [String]? { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + chartStyle + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var chartStyle: LineChartStyle { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + legends + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var legends: [LegendData] { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + viewData + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var viewData: ChartViewData { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + infoView + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var infoView: InfoViewData<LineChartDataPoint> { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + noDataText + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final var noDataText: Text
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + chartType + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final var chartType: (chartType: ChartType, dataSetType: DataSetType)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + extraLineData + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var extraLineData: ExtraLineData? { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + subscription + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var subscription: Set<AnyCancellable>
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let touchedDataPointPublisher: PassthroughSubject<MultiLineChartData.DataPoint, Never>
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + disableAnimation + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var disableAnimation: Bool
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Initializers +

+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Initialises a Multi Line Chart.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    dataSets: MultiLineDataSet,
    +    metadata: ChartMetadata = ChartMetadata(),
    +    xAxisLabels: [String]? = nil,
    +    yAxisLabels: [String]? = nil,
    +    chartStyle: LineChartStyle = LineChartStyle(),
    +    noDataText: Text = Text("No Data")
    +)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + dataSets + + +
    +

    Data to draw and style the lines.

    +
    +
    + + metadata + + +
    +

    Data model containing the charts Title, Subtitle and the Title for Legend.

    +
    +
    + + xAxisLabels + + +
    +

    Labels for the X axis instead of the labels in the data points.

    +
    +
    + + yAxisLabels + + +
    +

    Labels for the Y axis instead of the labels generated from data point values.

    +
    +
    + + chartStyle + + +
    +

    The style data for the aesthetic of the chart.

    +
    +
    + + noDataText + + +
    +

    Customisable Text to display when where is not enough data to draw the chart.

    +
    +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Labels +

+
+
+
    +
  • +
    + + + + getXAxisLabels() + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final func getXAxisLabels() -> some View
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Points +

+
+
+
    +
  • +
    + + + + getPointMarker() + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final func getPointMarker() -> some View
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final func getTouchInteraction(touchLocation: CGPoint, chartSize: CGRect) -> some View
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Accessibility +

+
+
+
    +
  • +
    + + + + getAccessibility() + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func getAccessibility() -> some View
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + SetType + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias SetType = MultiLineDataSet
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + DataPoint + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias DataPoint = LineChartDataPoint
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + CTStyle + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias CTStyle = LineChartStyle
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Touch +

+
+
+ +
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Classes/PieChartData.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Classes/PieChartData.html new file mode 100644 index 00000000..7df68c93 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Classes/PieChartData.html @@ -0,0 +1,1144 @@ + + + + PieChartData Class Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

PieChartData

+
+
+ +
public final class PieChartData : CTPieChartDataProtocol, Publishable
+ +
+
+

Data for drawing and styling a pie chart.

+ +

This model contains the data and styling information for a pie chart.

+ +
+
+ +
+
+
+
+ + +
+ +

Properties +

+
+
+
    +
  • +
    + + + + id + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var id: UUID
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + dataSets + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var dataSets: PieDataSet { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + metadata + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var metadata: ChartMetadata { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + chartStyle + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var chartStyle: PieChartStyle { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + legends + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var legends: [LegendData] { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + infoView + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var infoView: InfoViewData<PieChartDataPoint> { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + subscription + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var subscription: Set<AnyCancellable>
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let touchedDataPointPublisher: PassthroughSubject<PieChartData.DataPoint, Never>
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + noDataText + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final var noDataText: Text
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + chartType + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final var chartType: (chartType: ChartType, dataSetType: DataSetType)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + disableAnimation + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var disableAnimation: Bool
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Initializer +

+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Initialises Pie Chart data.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    dataSets: PieDataSet,
    +    metadata: ChartMetadata,
    +    chartStyle: PieChartStyle = PieChartStyle(),
    +    noDataText: Text = Text("No Data")
    +)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + +
    + + dataSets + + +
    +

    Data to draw and style the chart.

    +
    +
    + + metadata + + +
    +

    Data model containing the charts Title, Subtitle and the Title for Legend.

    +
    +
    + + chartStyle + + +
    +

    The style data for the aesthetic of the chart.

    +
    +
    + + noDataText + + +
    +

    Customisable Text to display when where is not enough data to draw the chart.

    +
    +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final func getTouchInteraction(touchLocation: CGPoint, chartSize: CGRect) -> some View
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + SetType + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias SetType = PieDataSet
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + DataPoint + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias DataPoint = PieChartDataPoint
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + CTStyle + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias CTStyle = PieChartStyle
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Touch +

+
+
+ +
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Classes/RangedBarChartData.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Classes/RangedBarChartData.html new file mode 100644 index 00000000..123cfe12 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Classes/RangedBarChartData.html @@ -0,0 +1,1381 @@ + + + + RangedBarChartData Class Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

RangedBarChartData

+
+
+ +
public final class RangedBarChartData : CTRangedBarChartDataProtocol, GetDataProtocol, Publishable, PointOfInterestProtocol
+ +
+
+

Data for drawing and styling a ranged Bar Chart.

+ +
+
+ +
+
+
+
+ + +
+ +

Properties +

+
+
+
    +
  • +
    + + + + id + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let id: UUID
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + dataSets + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var dataSets: RangedBarDataSet { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + metadata + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var metadata: ChartMetadata { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + xAxisLabels + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var xAxisLabels: [String]? { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + yAxisLabels + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var yAxisLabels: [String]? { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + barStyle + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var barStyle: BarStyle { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + chartStyle + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var chartStyle: BarChartStyle { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + legends + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var legends: [LegendData] { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + viewData + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var viewData: ChartViewData { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + infoView + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var infoView: InfoViewData<RangedBarDataPoint> { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + extraLineData + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var extraLineData: ExtraLineData? { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + subscription + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var subscription: Set<AnyCancellable>
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let touchedDataPointPublisher: PassthroughSubject<RangedBarChartData.DataPoint, Never>
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + noDataText + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final var noDataText: Text
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + chartType + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final let chartType: (chartType: ChartType, dataSetType: DataSetType)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + disableAnimation + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var disableAnimation: Bool
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Initializer +

+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Initialises a Ranged Bar Chart.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    dataSets: RangedBarDataSet,
    +    metadata: ChartMetadata = ChartMetadata(),
    +    xAxisLabels: [String]? = nil,
    +    yAxisLabels: [String]? = nil,
    +    barStyle: BarStyle = BarStyle(),
    +    chartStyle: BarChartStyle = BarChartStyle(),
    +    noDataText: Text = Text("No Data")
    +)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + dataSets + + +
    +

    Data to draw and style the bars.

    +
    +
    + + metadata + + +
    +

    Data model containing the charts Title, Subtitle and the Title for Legend.

    +
    +
    + + xAxisLabels + + +
    +

    Labels for the X axis instead of the labels in the data points.

    +
    +
    + + yAxisLabels + + +
    +

    Labels for the Y axis instead of the labels generated from data point values.

    +
    +
    + + barStyle + + +
    +

    Control for the aesthetic of the bar chart.

    +
    +
    + + chartStyle + + +
    +

    The style data for the aesthetic of the chart.

    +
    +
    + + noDataText + + +
    +

    Customisable Text to display when where is not enough data to draw the chart.

    +
    +
    +
    +
    +
    +
  • +
  • +
    + + + + average + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final var average: Double { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Labels +

+
+
+
    +
  • +
    + + + + getXAxisLabels() + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final func getXAxisLabels() -> some View
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Touch +

+
+
+ +
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Classes/RangedLineChartData.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Classes/RangedLineChartData.html new file mode 100644 index 00000000..51b0ea59 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Classes/RangedLineChartData.html @@ -0,0 +1,1343 @@ + + + + RangedLineChartData Class Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

RangedLineChartData

+
+
+ +
public final class RangedLineChartData : CTLineChartDataProtocol, GetDataProtocol, Publishable, PointOfInterestProtocol
+ +
+
+

Data for drawing and styling ranged line chart.

+ +

This model contains the data and styling information for a ranged line chart.

+ +
+
+ +
+
+
+
+ + +
+ +

Properties +

+
+
+
    +
  • +
    + + + + id + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let id: UUID
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + dataSets + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var dataSets: RangedLineDataSet { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + metadata + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var metadata: ChartMetadata { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + xAxisLabels + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var xAxisLabels: [String]? { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + yAxisLabels + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var yAxisLabels: [String]? { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + chartStyle + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var chartStyle: LineChartStyle { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + legends + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var legends: [LegendData] { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + viewData + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var viewData: ChartViewData { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + infoView + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var infoView: InfoViewData<RangedLineChartDataPoint> { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + noDataText + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final var noDataText: Text
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + chartType + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final var chartType: (chartType: ChartType, dataSetType: DataSetType)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + extraLineData + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var extraLineData: ExtraLineData? { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + subscription + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var subscription: Set<AnyCancellable>
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let touchedDataPointPublisher: PassthroughSubject<RangedLineChartData.DataPoint, Never>
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + disableAnimation + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var disableAnimation: Bool
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Initializer +

+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Initialises a ranged line chart.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    dataSets: RangedLineDataSet,
    +    metadata: ChartMetadata = ChartMetadata(),
    +    xAxisLabels: [String]? = nil,
    +    yAxisLabels: [String]? = nil,
    +    chartStyle: LineChartStyle = LineChartStyle(),
    +    noDataText: Text = Text("No Data")
    +)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + dataSets + + +
    +

    Data to draw and style a line.

    +
    +
    + + metadata + + +
    +

    Data model containing the charts Title, Subtitle and the Title for Legend.

    +
    +
    + + xAxisLabels + + +
    +

    Labels for the X axis instead of the labels in the data points.

    +
    +
    + + yAxisLabels + + +
    +

    Labels for the Y axis instead of the labels generated from data point values.

    +
    +
    + + chartStyle + + +
    +

    The style data for the aesthetic of the chart.

    +
    +
    + + noDataText + + +
    +

    Customisable Text to display when where is not enough data to draw the chart.

    +
    +
    +
    +
    +
    +
  • +
  • +
    + + + + average + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final var average: Double { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Labels +

+
+
+
    +
  • +
    + + + + getXAxisLabels() + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final func getXAxisLabels() -> some View
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Points +

+
+
+ +
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Classes/StackedBarChartData.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Classes/StackedBarChartData.html new file mode 100644 index 00000000..d20bf824 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Classes/StackedBarChartData.html @@ -0,0 +1,1397 @@ + + + + StackedBarChartData Class Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

StackedBarChartData

+
+
+ +
public final class StackedBarChartData : CTMultiBarChartDataProtocol, GetDataProtocol, Publishable, PointOfInterestProtocol
+ +
+
+

Data model for drawing and styling a Stacked Bar Chart.

+ +

The grouping data informs the model as to how the datapoints are linked.

+ +
+
+ +
+
+
+
+ + +
+ +

Properties +

+
+
+
    +
  • +
    + + + + id + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let id: UUID
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + dataSets + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var dataSets: StackedBarDataSets { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + metadata + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var metadata: ChartMetadata { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + xAxisLabels + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var xAxisLabels: [String]? { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + yAxisLabels + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var yAxisLabels: [String]? { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + barStyle + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var barStyle: BarStyle { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + chartStyle + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var chartStyle: BarChartStyle { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + legends + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var legends: [LegendData] { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + viewData + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var viewData: ChartViewData { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + infoView + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var infoView: InfoViewData<StackedBarDataPoint> { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + groups + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var groups: [GroupingData] { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + extraLineData + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @Published
    +public final var extraLineData: ExtraLineData? { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + subscription + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var subscription: Set<AnyCancellable>
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let touchedDataPointPublisher: PassthroughSubject<StackedBarChartData.DataPoint, Never>
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + noDataText + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final var noDataText: Text
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + chartType + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final var chartType: (chartType: ChartType, dataSetType: DataSetType)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + disableAnimation + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var disableAnimation: Bool
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Initializer +

+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Initialises a Stacked Bar Chart.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    dataSets: StackedBarDataSets,
    +    groups: [GroupingData],
    +    metadata: ChartMetadata = ChartMetadata(),
    +    xAxisLabels: [String]? = nil,
    +    yAxisLabels: [String]? = nil,
    +    barStyle: BarStyle = BarStyle(),
    +    chartStyle: BarChartStyle = BarChartStyle(),
    +    noDataText: Text = Text("No Data")
    +)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + dataSets + + +
    +

    Data to draw and style the bars.

    +
    +
    + + groups + + +
    +

    Information for how to group the data points.

    +
    +
    + + metadata + + +
    +

    Data model containing the charts Title, Subtitle and the Title for Legend.

    +
    +
    + + xAxisLabels + + +
    +

    Labels for the X axis instead of the labels in the data points.

    +
    +
    + + yAxisLabels + + +
    +

    Labels for the Y axis instead of the labels generated from data point values.

    +
    +
    + + barStyle + + +
    +

    Control for the aesthetic of the bar chart.

    +
    +
    + + chartStyle + + +
    +

    The style data for the aesthetic of the chart.

    +
    +
    + + noDataText + + +
    +

    Customisable Text to display when where is not enough data to draw the chart.

    +
    +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Labels +

+
+
+
    +
  • +
    + + + + getXAxisLabels() + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final func getXAxisLabels() -> some View
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Touch +

+
+
+ +
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Enums.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Enums.html new file mode 100644 index 00000000..380a48a7 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Enums.html @@ -0,0 +1,1383 @@ + + + + Enumerations Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

Enumerations

+

The following enumerations are available globally.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + ColourFrom + +
    +
    +
    +
    +
    +
    +

    Where to get the colour data from.

    +
    case barStyle // From BarStyle data model
    +case dataPoints // From each data point
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum ColourFrom
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + BarMarkerType + +
    +
    +
    +
    +
    +
    +

    Where the marker lines come from to meet at a specified point.

    +
    case none // No overlay markers.
    +case vertical // Vertical line from top to bottom.
    +case full // Full width and height of view intersecting at a specified point.
    +case bottomLeading // From bottom and leading edges meeting at a specified point.
    +case bottomTrailing // From bottom and trailing edges meeting at a specified point.
    +case topLeading // From top and leading edges meeting at a specified point.
    +case topTrailing // From top and trailing edges meeting at a specified point.
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum BarMarkerType : MarkerType
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + LineType + +
    +
    +
    +
    +
    +
    +

    Drawing style of the line

    +
    case line // Straight line from point to point
    +case curvedLine // Dual control point curved line
    +case stepped // Stepped line from point to point
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum LineType
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + PointType + +
    +
    +
    +
    +
    +
    +

    Style of the point marks

    +
    case filled // Just fill
    +case outline // Just stroke
    +case filledOutLine // Both fill and stroke
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum PointType
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + PointShape + +
    +
    +
    +
    +
    +
    +

    Shape of the points

    +
    case circle
    +case square
    +case roundSquare
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum PointShape
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + MarkerAttachment + +
    +
    +
    +
    +
    +
    +

    Where the Y and X touch markers should attach themselves to.

    +
    case line(dot: Dot) // Attached to the line.
    +case point // Attached to the data points.
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum MarkerAttachment
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + LineMarkerType + +
    +
    +
    +
    +
    +
    +

    Where the marker lines come from to meet at a specified point.

    +
    case none // No overlay markers.
    +case indicator(style: DotStyle) // Dot that follows the path.
    +case vertical(attachment: MarkerAttachment) // Vertical line from top to bottom.
    +case full(attachment: MarkerAttachment) // Full width and height of view intersecting at a specified point.
    +case bottomLeading(attachment: MarkerAttachment) // From bottom and leading edges meeting at a specified point.
    +case bottomTrailing(attachment: MarkerAttachment) // From bottom and trailing edges meeting at a specified point.
    +case topLeading(attachment: MarkerAttachment) // From top and leading edges meeting at a specified point.
    +case topTrailing(attachment: MarkerAttachment) // From top and trailing edges meeting at a specified point.
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum LineMarkerType : MarkerType
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Dot + +
    +
    +
    +
    +
    +
    +

    Whether or not to show a dot on the line

    +
    case none // No Dot
    +case style(_ style: DotStyle) // Adds a dot the line at point of touch.
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum Dot
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + OverlayType + +
    +
    +
    +
    +
    +
    +

    Option to add overlays on top of the segment.

    +
    case none // No overlay
    +case barStyle // Text overlay
    +case dataPoints // System icon overlay
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum OverlayType : Hashable
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

ChartViewData +

+
+
+
    +
  • +
    + + + + DataSetType + +
    +
    +
    +
    +
    +
    +

    The type of DataSet being used

    +
    case single // Single data set - i.e LineDataSet
    +case multi // Multi data set - i.e MultiLineDataSet
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum DataSetType
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + ChartType + +
    +
    +
    +
    +
    +
    +

    The type of chart being used.

    +
    case line // Line Chart Type
    +case bar // Bar Chart Type
    +case pie // Pie Chart Type
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum ChartType
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Style +

+
+
+
    +
  • +
    + + + + ColourType + +
    +
    +
    +
    +
    +
    +

    Type of colour styling.

    +
    case colour // Single Colour
    +case gradientColour // Colour Gradient
    +case gradientStops // Colour Gradient with stop control
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum ColourType
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

TouchOverlay +

+
+
+
    +
  • +
    + + + + InfoBoxPlacement + +
    +
    +
    +
    +
    +
    +

    Placement of the data point information panel when touch overlay modifier is applied.

    +
    case floating // Follows input across the chart.
    +case infoBox(isStatic: Bool)  // Display in the InfoBox. Must have .infoBox()
    +case header // Fix in the Header box. Must have .headerBox().
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum InfoBoxPlacement
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + InfoBoxAlignment + +
    +
    +
    +
    +
    +
    +

    Alignment of the content inside of the information box

    +
    case vertical // Puts the legend, value and description verticaly
    +case horizontal // Puts the legend, value and description horizontaly
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum InfoBoxAlignment
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + TouchUnit + +
    +
    +
    +
    +
    +
    +

    Option to display units before or after values.

    +
    case none // No unit
    +case prefix(of: String) // Before value
    +case suffix(of: String) // After value
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum TouchUnit
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

XAxisLabels +

+
+
+
    +
  • +
    + + + + XAxisLabelPosistion + +
    +
    +
    +
    +
    +
    +

    Location of the X axis labels

    +
    case top
    +case bottom
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum XAxisLabelPosistion
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + LabelsFrom + +
    +
    +
    +
    +
    +
    +

    Where the label data come from.

    + +

    xAxisLabel comes from ChartData –> DataPoint model.

    + +

    xAxisLabels comes from ChartData –> xAxisLabels

    +
    case dataPoint // ChartData --> DataPoint --> xAxisLabel
    +case chartData // ChartData --> xAxisLabels
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum LabelsFrom
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

YAxisLabels +

+
+
+
    +
  • +
    + + + + YAxisLabelPosistion + +
    +
    +
    +
    +
    +
    +

    Location of the Y axis labels

    +
    case leading
    +case trailing
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum YAxisLabelPosistion
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + DisplayValue + +
    +
    +
    +
    +
    +
    +

    Option to display the markers’ value inline with the marker..

    +
    case none // No label.
    +case yAxis(specifier: String, formatter: NumberFormatter? = nil) // Places the label in the yAxis labels.
    +case center(specifier: String, formatter: NumberFormatter? = nil) // Places the label in the center of chart.
    +case position(location: CGFloat, specifier: String, formatter: NumberFormatter? = nil) // Places the label at a relative position from leading edge.
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum DisplayValue
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Baseline + +
    +
    +
    +
    +
    +
    +

    Where to start drawing the line chart from.

    +
    case minimumValue // Lowest value in the data set(s)
    +case minimumWithMaximum(of: Double) // Set a custom baseline
    +case zero // Set 0 as the lowest value
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum Baseline : Hashable
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Topline + +
    +
    +
    +
    +
    +
    +

    Where to end drawing the chart.

    +
    case maximumValue // Highest value in the data set(s)
    +case maximum(of: Double) // Set a custom topline
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum Topline : Hashable
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + YAxisLabelType + +
    +
    +
    +
    +
    +
    +

    Option to choose between auto generated, numeric labels +or custum array of strings.

    + +

    Custom is set from ChartData -> yAxisLabels

    +
    case numeric // Auto generated, numeric labels.
    +case custom // Custom labels array -- `ChartData -> yAxisLabels`
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum YAxisLabelType
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Extra Y Axis +

+
+
+
    +
  • +
    + + + + AxisColour + +
    +
    +
    +
    +
    +
    +

    Controls how second Y Axis will be styled.

    +
    case none // No colour marker.
    +case style(size: CGFloat) // Get style from data model.
    +case custom(colour: ColourStyle, size: CGFloat) // Set custom style.
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum AxisColour
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Enums/AxisColour.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Enums/AxisColour.html new file mode 100644 index 00000000..df11bdd9 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Enums/AxisColour.html @@ -0,0 +1,656 @@ + + + + AxisColour Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

AxisColour

+
+
+ +
public enum AxisColour
+ +
+
+

Controls how second Y Axis will be styled.

+
case none // No colour marker.
+case style(size: CGFloat) // Get style from data model.
+case custom(colour: ColourStyle, size: CGFloat) // Set custom style.
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + none + +
    +
    +
    +
    +
    +
    +

    No colour marker.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case none
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + style(size:) + +
    +
    +
    +
    +
    +
    +

    Get style from data model.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case style(size: CGFloat)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + custom(colour:size:) + +
    +
    +
    +
    +
    +
    +

    Set custom style.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case custom(colour: ColourStyle, size: CGFloat)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Enums/BarMarkerType.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Enums/BarMarkerType.html new file mode 100644 index 00000000..044efa7c --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Enums/BarMarkerType.html @@ -0,0 +1,768 @@ + + + + BarMarkerType Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

BarMarkerType

+
+
+ +
public enum BarMarkerType : MarkerType
+ +
+
+

Where the marker lines come from to meet at a specified point.

+
case none // No overlay markers.
+case vertical // Vertical line from top to bottom.
+case full // Full width and height of view intersecting at a specified point.
+case bottomLeading // From bottom and leading edges meeting at a specified point.
+case bottomTrailing // From bottom and trailing edges meeting at a specified point.
+case topLeading // From top and leading edges meeting at a specified point.
+case topTrailing // From top and trailing edges meeting at a specified point.
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + none + +
    +
    +
    +
    +
    +
    +

    No overlay markers.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case none
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Vertical line from top to bottom.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case vertical(colour: Color = Color.primary, style: StrokeStyle = StrokeStyle())
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + full(colour:style:) + +
    +
    +
    +
    +
    +
    +

    Full width and height of view intersecting at a specified point.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case full(colour: Color = Color.primary, style: StrokeStyle = StrokeStyle())
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    From bottom and leading edges meeting at a specified point.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case bottomLeading(colour: Color = Color.primary, style: StrokeStyle = StrokeStyle())
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    From bottom and trailing edges meeting at a specified point.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case bottomTrailing(colour: Color = Color.primary, style: StrokeStyle = StrokeStyle())
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    From top and leading edges meeting at a specified point.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case topLeading(colour: Color = Color.primary, style: StrokeStyle = StrokeStyle())
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    From top and trailing edges meeting at a specified point.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case topTrailing(colour: Color = Color.primary, style: StrokeStyle = StrokeStyle())
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Enums/Baseline.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Enums/Baseline.html new file mode 100644 index 00000000..3e93c342 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Enums/Baseline.html @@ -0,0 +1,656 @@ + + + + Baseline Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

Baseline

+
+
+ +
public enum Baseline : Hashable
+ +
+
+

Where to start drawing the line chart from.

+
case minimumValue // Lowest value in the data set(s)
+case minimumWithMaximum(of: Double) // Set a custom baseline
+case zero // Set 0 as the lowest value
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + minimumValue + +
    +
    +
    +
    +
    +
    +

    Lowest value in the data set(s)

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case minimumValue
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Set a custom baseline

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case minimumWithMaximum(of: Double)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + zero + +
    +
    +
    +
    +
    +
    +

    Set 0 as the lowest value

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case zero
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Enums/ChartType.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Enums/ChartType.html new file mode 100644 index 00000000..f616e2cd --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Enums/ChartType.html @@ -0,0 +1,656 @@ + + + + ChartType Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

ChartType

+
+
+ +
public enum ChartType
+ +
+
+

The type of chart being used.

+
case line // Line Chart Type
+case bar // Bar Chart Type
+case pie // Pie Chart Type
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + line + +
    +
    +
    +
    +
    +
    +

    Line Chart Type

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case line
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + bar + +
    +
    +
    +
    +
    +
    +

    Bar Chart Type

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case bar
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + pie + +
    +
    +
    +
    +
    +
    +

    Pie Chart Type

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case pie
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Enums/ColourFrom.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Enums/ColourFrom.html new file mode 100644 index 00000000..a54a00a5 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Enums/ColourFrom.html @@ -0,0 +1,628 @@ + + + + ColourFrom Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

ColourFrom

+
+
+ +
public enum ColourFrom
+ +
+
+

Where to get the colour data from.

+
case barStyle // From BarStyle data model
+case dataPoints // From each data point
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + barStyle + +
    +
    +
    +
    +
    +
    +

    From BarStyle data model

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case barStyle
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + dataPoints + +
    +
    +
    +
    +
    +
    +

    From each data point

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case dataPoints
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Enums/ColourType.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Enums/ColourType.html new file mode 100644 index 00000000..37d178aa --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Enums/ColourType.html @@ -0,0 +1,656 @@ + + + + ColourType Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

ColourType

+
+
+ +
public enum ColourType
+ +
+
+

Type of colour styling.

+
case colour // Single Colour
+case gradientColour // Colour Gradient
+case gradientStops // Colour Gradient with stop control
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + colour + +
    +
    +
    +
    +
    +
    +

    Single Colour

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case colour
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + gradientColour + +
    +
    +
    +
    +
    +
    +

    Colour Gradient

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case gradientColour
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + gradientStops + +
    +
    +
    +
    +
    +
    +

    Colour Gradient with stop control

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case gradientStops
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Enums/DataSetType.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Enums/DataSetType.html new file mode 100644 index 00000000..0eac22c7 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Enums/DataSetType.html @@ -0,0 +1,628 @@ + + + + DataSetType Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

DataSetType

+
+
+ +
public enum DataSetType
+ +
+
+

The type of DataSet being used

+
case single // Single data set - i.e LineDataSet
+case multi // Multi data set - i.e MultiLineDataSet
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + single + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case single
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + multi + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case multi
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Enums/DisplayValue.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Enums/DisplayValue.html new file mode 100644 index 00000000..38393a5f --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Enums/DisplayValue.html @@ -0,0 +1,684 @@ + + + + DisplayValue Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

DisplayValue

+
+
+ +
public enum DisplayValue
+ +
+
+

Option to display the markers’ value inline with the marker..

+
case none // No label.
+case yAxis(specifier: String, formatter: NumberFormatter? = nil) // Places the label in the yAxis labels.
+case center(specifier: String, formatter: NumberFormatter? = nil) // Places the label in the center of chart.
+case position(location: CGFloat, specifier: String, formatter: NumberFormatter? = nil) // Places the label at a relative position from leading edge.
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + none + +
    +
    +
    +
    +
    +
    +

    No label.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case none
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Places the label in the yAxis labels.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case yAxis(specifier: String, formatter: NumberFormatter? = nil)
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Places the label in the center of chart.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case center(specifier: String, formatter: NumberFormatter? = nil)
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Places the label in between the graph at a certain distance from the axis, i.e. 0 places it on the leading edge and 1 places it on the trailing edge. Defaults to 0.5 if location >1 or <0

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case position(location: CGFloat, specifier: String, formatter: NumberFormatter? = nil)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Enums/Dot.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Enums/Dot.html new file mode 100644 index 00000000..7b83869e --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Enums/Dot.html @@ -0,0 +1,628 @@ + + + + Dot Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

Dot

+
+
+ +
public enum Dot
+ +
+
+

Whether or not to show a dot on the line

+
case none // No Dot
+case style(_ style: DotStyle) // Adds a dot the line at point of touch.
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + none + +
    +
    +
    +
    +
    +
    +

    No Dot

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case none
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + style(_:) + +
    +
    +
    +
    +
    +
    +

    Adds a dot the line at point of touch.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case style(_: DotStyle)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Enums/InfoBoxAlignment.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Enums/InfoBoxAlignment.html new file mode 100644 index 00000000..4f6b3e0d --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Enums/InfoBoxAlignment.html @@ -0,0 +1,628 @@ + + + + InfoBoxAlignment Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

InfoBoxAlignment

+
+
+ +
public enum InfoBoxAlignment
+ +
+
+

Alignment of the content inside of the information box

+
case vertical // Puts the legend, value and description verticaly
+case horizontal // Puts the legend, value and description horizontaly
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + vertical + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case vertical
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + horizontal + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case horizontal
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Enums/InfoBoxPlacement.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Enums/InfoBoxPlacement.html new file mode 100644 index 00000000..5c66e20a --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Enums/InfoBoxPlacement.html @@ -0,0 +1,656 @@ + + + + InfoBoxPlacement Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

InfoBoxPlacement

+
+
+ +
public enum InfoBoxPlacement
+ +
+
+

Placement of the data point information panel when touch overlay modifier is applied.

+
case floating // Follows input across the chart.
+case infoBox(isStatic: Bool)  // Display in the InfoBox. Must have .infoBox()
+case header // Fix in the Header box. Must have .headerBox().
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + floating + +
    +
    +
    +
    +
    +
    +

    Follows input across the chart.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case floating
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + infoBox(isStatic:) + +
    +
    +
    +
    +
    +
    +

    Display in the InfoBox. Must have .infoBox()

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case infoBox(isStatic: Bool = false)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + header + +
    +
    +
    +
    +
    +
    +

    Display in the Header box. Must have .headerBox().

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case header
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Enums/LabelsFrom.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Enums/LabelsFrom.html new file mode 100644 index 00000000..87f0dc31 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Enums/LabelsFrom.html @@ -0,0 +1,632 @@ + + + + LabelsFrom Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

LabelsFrom

+
+
+ +
public enum LabelsFrom
+ +
+
+

Where the label data come from.

+ +

xAxisLabel comes from ChartData –> DataPoint model.

+ +

xAxisLabels comes from ChartData –> xAxisLabels

+
case dataPoint // ChartData --> DataPoint --> xAxisLabel
+case chartData // ChartData --> xAxisLabels
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + dataPoint(rotation:) + +
    +
    +
    +
    +
    +
    +

    ChartData –> DataPoint –> xAxisLabel

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case dataPoint(rotation: Angle = Angle.degrees(0))
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + chartData(rotation:) + +
    +
    +
    +
    +
    +
    +

    ChartData –> xAxisLabels

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case chartData(rotation: Angle = Angle.degrees(0))
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Enums/LineMarkerType.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Enums/LineMarkerType.html new file mode 100644 index 00000000..4dd9ad62 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Enums/LineMarkerType.html @@ -0,0 +1,796 @@ + + + + LineMarkerType Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

LineMarkerType

+
+
+ +
public enum LineMarkerType : MarkerType
+ +
+
+

Where the marker lines come from to meet at a specified point.

+
case none // No overlay markers.
+case indicator(style: DotStyle) // Dot that follows the path.
+case vertical(attachment: MarkerAttachment) // Vertical line from top to bottom.
+case full(attachment: MarkerAttachment) // Full width and height of view intersecting at a specified point.
+case bottomLeading(attachment: MarkerAttachment) // From bottom and leading edges meeting at a specified point.
+case bottomTrailing(attachment: MarkerAttachment) // From bottom and trailing edges meeting at a specified point.
+case topLeading(attachment: MarkerAttachment) // From top and leading edges meeting at a specified point.
+case topTrailing(attachment: MarkerAttachment) // From top and trailing edges meeting at a specified point.
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + none + +
    +
    +
    +
    +
    +
    +

    No overlay markers.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case none
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + indicator(style:) + +
    +
    +
    +
    +
    +
    +

    Dot that follows the path.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case indicator(style: DotStyle)
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Vertical line from top to bottom.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case vertical(attachment: MarkerAttachment, colour: Color = Color.primary, style: StrokeStyle = StrokeStyle())
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Full width and height of view intersecting at a specified point.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case full(attachment: MarkerAttachment, colour: Color = Color.primary, style: StrokeStyle = StrokeStyle())
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    From bottom and leading edges meeting at a specified point.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case bottomLeading(attachment: MarkerAttachment, colour: Color = Color.primary, style: StrokeStyle = StrokeStyle())
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    From bottom and trailing edges meeting at a specified point.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case bottomTrailing(attachment: MarkerAttachment, colour: Color = Color.primary, style: StrokeStyle = StrokeStyle())
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    From top and leading edges meeting at a specified point.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case topLeading(attachment: MarkerAttachment, colour: Color = Color.primary, style: StrokeStyle = StrokeStyle())
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    From top and trailing edges meeting at a specified point.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case topTrailing(attachment: MarkerAttachment, colour: Color = Color.primary, style: StrokeStyle = StrokeStyle())
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Enums/LineType.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Enums/LineType.html new file mode 100644 index 00000000..d781482b --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Enums/LineType.html @@ -0,0 +1,656 @@ + + + + LineType Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

LineType

+
+
+ +
public enum LineType
+ +
+
+

Drawing style of the line

+
case line // Straight line from point to point
+case curvedLine // Dual control point curved line
+case stepped // Stepped line from point to point
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + line + +
    +
    +
    +
    +
    +
    +

    Straight line from point to point

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case line
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + curvedLine + +
    +
    +
    +
    +
    +
    +

    Dual control point curved line

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case curvedLine
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + stepped + +
    +
    +
    +
    +
    +
    +

    Stepped line from point to point

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case stepped
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Enums/MarkerAttachment.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Enums/MarkerAttachment.html new file mode 100644 index 00000000..097244d1 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Enums/MarkerAttachment.html @@ -0,0 +1,628 @@ + + + + MarkerAttachment Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

MarkerAttachment

+
+
+ +
public enum MarkerAttachment
+ +
+
+

Where the Y and X touch markers should attach themselves to.

+
case line(dot: Dot) // Attached to the line.
+case point // Attached to the data points.
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + line(dot:) + +
    +
    +
    +
    +
    +
    +

    Attached to the line.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case line(dot: Dot)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + point + +
    +
    +
    +
    +
    +
    +

    Attached to the data points.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case point
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Enums/OverlayType.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Enums/OverlayType.html new file mode 100644 index 00000000..c496e44d --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Enums/OverlayType.html @@ -0,0 +1,676 @@ + + + + OverlayType Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

OverlayType

+
+
+ +
public enum OverlayType : Hashable
+ +
+
+

Option to add overlays on top of the segment.

+
case none // No overlay
+case barStyle // Text overlay
+case dataPoints // System icon overlay
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + none + +
    +
    +
    +
    +
    +
    +

    No overlay

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case none
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Text overlay

    +

    Parameters:

    + +
      +
    • text: Text the use as label.
    • +
    • colour: Foreground colour.
    • +
    • font: System font.
    • +
    • rFactor: Distance the from center of chart. +0 is center, 1 is perimeter. It can go beyond 1 to +place it outside.
    • +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case label(text: String, colour: Color = .primary, font: Font = .caption, rFactor: CGFloat = 0.75)
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    System icon overlay

    +

    Parameters:

    + +
      +
    • systemName: SF Symbols name.
    • +
    • colour: Foreground colour.
    • +
    • size: Image frame size.
    • +
    • rFactor: Distance the from center of chart. +0 is center, 1 is perimeter. It can go beyond 1 to +place it outside.
    • +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case icon(systemName: String, colour: Color = .primary, size: CGFloat = 30, rFactor: CGFloat = 0.75)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Enums/PointShape.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Enums/PointShape.html new file mode 100644 index 00000000..996c4fd5 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Enums/PointShape.html @@ -0,0 +1,656 @@ + + + + PointShape Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

PointShape

+
+
+ +
public enum PointShape
+ +
+
+

Shape of the points

+
case circle
+case square
+case roundSquare
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + circle + +
    +
    +
    +
    +
    +
    +

    Circle Shape

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case circle
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + square + +
    +
    +
    +
    +
    +
    +

    Square Shape

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case square
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + roundSquare + +
    +
    +
    +
    +
    +
    +

    Rounded Square Shape

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case roundSquare
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Enums/PointType.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Enums/PointType.html new file mode 100644 index 00000000..31cb1ae9 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Enums/PointType.html @@ -0,0 +1,656 @@ + + + + PointType Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

PointType

+
+
+ +
public enum PointType
+ +
+
+

Style of the point marks

+
case filled // Just fill
+case outline // Just stroke
+case filledOutLine // Both fill and stroke
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + filled + +
    +
    +
    +
    +
    +
    +

    Just fill

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case filled
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + outline + +
    +
    +
    +
    +
    +
    +

    Just stroke

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case outline
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + filledOutLine + +
    +
    +
    +
    +
    +
    +

    Both fill and stroke

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case filledOutLine
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Enums/Topline.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Enums/Topline.html new file mode 100644 index 00000000..5df665a9 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Enums/Topline.html @@ -0,0 +1,628 @@ + + + + Topline Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

Topline

+
+
+ +
public enum Topline : Hashable
+ +
+
+

Where to end drawing the chart.

+
case maximumValue // Highest value in the data set(s)
+case maximum(of: Double) // Set a custom topline
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + maximumValue + +
    +
    +
    +
    +
    +
    +

    Highest value in the data set(s)

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case maximumValue
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + maximum(of:) + +
    +
    +
    +
    +
    +
    +

    Set a custom topline

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case maximum(of: Double)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Enums/TouchUnit.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Enums/TouchUnit.html new file mode 100644 index 00000000..cd6899bc --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Enums/TouchUnit.html @@ -0,0 +1,656 @@ + + + + TouchUnit Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

TouchUnit

+
+
+ +
public enum TouchUnit
+ +
+
+

Option to display units before or after values.

+
case none // No unit
+case prefix(of: String) // Before value
+case suffix(of: String) // After value
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + none + +
    +
    +
    +
    +
    +
    +

    No units

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case none
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + prefix(of:) + +
    +
    +
    +
    +
    +
    +

    Before value

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case prefix(of: String)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + suffix(of:) + +
    +
    +
    +
    +
    +
    +

    After value

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case suffix(of: String)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Enums/XAxisLabelPosistion.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Enums/XAxisLabelPosistion.html new file mode 100644 index 00000000..92549843 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Enums/XAxisLabelPosistion.html @@ -0,0 +1,628 @@ + + + + XAxisLabelPosistion Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

XAxisLabelPosistion

+
+
+ +
public enum XAxisLabelPosistion
+ +
+
+

Location of the X axis labels

+
case top
+case bottom
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + top + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case top
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + bottom + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case bottom
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Enums/YAxisLabelPosistion.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Enums/YAxisLabelPosistion.html new file mode 100644 index 00000000..8fdddf5e --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Enums/YAxisLabelPosistion.html @@ -0,0 +1,628 @@ + + + + YAxisLabelPosistion Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

YAxisLabelPosistion

+
+
+ +
public enum YAxisLabelPosistion
+ +
+
+

Location of the Y axis labels

+
case leading
+case trailing
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + leading + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case leading
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + trailing + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case trailing
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Enums/YAxisLabelType.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Enums/YAxisLabelType.html new file mode 100644 index 00000000..cd30b713 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Enums/YAxisLabelType.html @@ -0,0 +1,631 @@ + + + + YAxisLabelType Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

YAxisLabelType

+
+
+ +
public enum YAxisLabelType
+ +
+
+

Option to choose between auto generated, numeric labels +or custum array of strings.

+ +

Custom is set from ChartData -> yAxisLabels

+
case numeric // Auto generated, numeric labels.
+case custom // Custom labels array -- `ChartData -> yAxisLabels`
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + numeric + +
    +
    +
    +
    +
    +
    +

    Auto generated, numeric labels.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case numeric
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + custom + +
    +
    +
    +
    +
    +
    +

    Custom labels array

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case custom
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Extensions.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Extensions.html new file mode 100644 index 00000000..94961f83 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Extensions.html @@ -0,0 +1,635 @@ + + + + Extensions Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

Extensions

+

The following extensions are available globally.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + View + +
    +
    +
    +
    +
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    extension View
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + NSNotification + +
    +
    +
    +
    +
    +
    + + See more +
    +
    +
    +
  • +
  • +
    + + + + Color + +
    +
    +
    +
    +
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    extension Color
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Extensions/Color.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Extensions/Color.html new file mode 100644 index 00000000..f0ce1ac3 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Extensions/Color.html @@ -0,0 +1,597 @@ + + + + Color Extension Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

Color

+
+
+ +
extension Color
+ +
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + systemsBackground + +
    +
    +
    +
    +
    +
    +

    Returns the relevant system background colour for the device.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var systemsBackground: Color { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Extensions/NSNotification.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Extensions/NSNotification.html new file mode 100644 index 00000000..9bb16794 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Extensions/NSNotification.html @@ -0,0 +1,590 @@ + + + + NSNotification Extension Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

NSNotification

+ +
+
+ +
+
+
+
    +
  • +
    + + + + Name + +
    +
    +
    +
    +
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    extension NSNotification.Name
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Extensions/NSNotification/Name.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Extensions/NSNotification/Name.html new file mode 100644 index 00000000..7a2670a1 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Extensions/NSNotification/Name.html @@ -0,0 +1,599 @@ + + + + Name Extension Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

Name

+
+
+ +
extension NSNotification.Name
+ +
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + updateLayoutDidFinish + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var updateLayoutDidFinish: NSNotification.Name
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Extensions/View.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Extensions/View.html new file mode 100644 index 00000000..6b941374 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Extensions/View.html @@ -0,0 +1,2757 @@ + + + + View Extension Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

View

+
+
+ +
extension View
+ +
+
+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Adds an independent line on top of FilledLineChart.

    + +

    Allows for a hard line over the data point with a semi opaque fill.

    +
    +

    Requires

    + Chart Data to conform to CTLineChartDataProtocol. + +
      +
    • LineChartData
    • +
    +

    Available for:

    + +
      +
    • Filled Line Chart
    • +
    +

    Unavailable for:

    + +
      +
    • Line Chart
    • +
    • Multi Line Chart
    • +
    • Ranged Line Chart
    • +
    • Bar Chart
    • +
    • Grouped Bar Chart
    • +
    • Stacked Bar Chart
    • +
    • Ranged Bar Chart
    • +
    • Pie Chart
    • +
    • Doughnut Chart

    • +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func filledTopLine<T: LineChartData>(
    +    chartData: T,
    +    lineColour: ColourStyle = ColourStyle(),
    +    strokeStyle: StrokeStyle = StrokeStyle()
    +) -> some View
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + +
    + + chartData + + +
    +

    Chart data model.

    +
    +
    + + lineColour + + +
    +

    Line Colour

    +
    +
    + + strokeStyle + + +
    +

    Stroke Style

    +
    +
    +
    +
    +

    Return Value

    +

    A new view containing the chart with point markers.

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Lays out markers over each of the data point.

    + +

    The style of the markers is set in the PointStyle data model as parameter in the Chart Data.

    +
    +

    Requires

    + Chart Data to conform to CTLineChartDataProtocol. + +
      +
    • LineChartData
    • +
    • MultiLineChartData
    • +
    +

    Available for:

    + +
      +
    • Line Chart
    • +
    • Multi Line Chart
    • +
    • Filled Line Chart
    • +
    • Ranged Line Chart
    • +
    +

    Unavailable for:

    + +
      +
    • Bar Chart
    • +
    • Grouped Bar Chart
    • +
    • Stacked Bar Chart
    • +
    • Ranged Bar Chart
    • +
    • Pie Chart
    • +
    • Doughnut Chart

    • +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func pointMarkers<T>(chartData: T) -> some View where T : CTLineChartDataProtocol, T : GetDataProtocol
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + chartData + + +
    +

    Chart data model.

    +
    +
    +
    +
    +

    Return Value

    +

    A new view containing the chart with point markers.

    +
    +
    +
    +
  • +
  • +
    + + + + headerBox(chartData:) + +
    +
    +
    +
    +
    +
    +

    Displays the metadata about the chart.

    + +

    Adds a view above the chart that displays the title and subtitle. +If infoBoxPlacement is set to .header then the datapoint info will +be displayed here as well.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func headerBox<T>(chartData: T) -> some View where T : CTChartData
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + chartData + + +
    +

    Chart data model.

    +
    +
    +
    +
    +

    Return Value

    +

    A new view containing the chart with a view above +to display metadata.

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Displays legends under the chart.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func legends<T:CTChartData>(
    +    chartData: T,
    +    columns: [GridItem] = [GridItem(.flexible())],
    +    iconWidth: CGFloat = 40,
    +    font: Font = .caption,
    +    textColor: Color = Color.primary,
    +    topPadding: CGFloat = 18
    +) -> some View
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + +
    + + chartData + + +
    +

    Chart data model.

    +
    +
    + + columns + + +
    +

    How to layout the legends.

    +
    +
    + + textColor + + +
    +

    Colour of the text.

    +
    +
    +
    +
    +

    Return Value

    +

    A new view containing the chart with chart legends under.

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Adds touch interaction with the chart.

    + +

    Adds an overlay to detect touch and display the relivent information from the nearest data point.

    +
    +

    Requires

    + If ChartStyle –> infoBoxPlacement is set to .header +then .headerBox is required. + +
    + +

    If ChartStyle –> infoBoxPlacement is set to .infoBox +then .infoBox is required.

    + +

    If ChartStyle –> infoBoxPlacement is set to .floating +then .floatingInfoBox is required.

    +
    +

    Attention

    +

    Unavailable in tvOS

    + +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func touchOverlay<T: CTChartData>(
    +    chartData: T,
    +    specifier: String = "%.0f",
    +    formatter: NumberFormatter? = nil,
    +    unit: TouchUnit = .none,
    +    minDistance: CGFloat = 0
    +) -> some View
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + +
    + + chartData + + +
    +

    Chart data model.

    +
    +
    + + specifier + + +
    +

    Decimal precision for labels.

    +
    +
    + + unit + + +
    +

    Unit to put before or after the value.

    +
    +
    + + minDistance + + +
    +

    The distance that the touch event needs to travel to register.

    +
    +
    +
    +
    +

    Return Value

    +

    A new view containing the chart with a touch overlay.

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Adds touch interaction with the chart.

    +
    +

    Attention

    + Unavailable in tvOS + +
    + +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func disableAnimation<ChartData>(chartData: ChartData, _ value: Bool = true) -> some View where ChartData : CTChartData
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

View Extension +

+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Adds an seperate line that is over-layed on top of a other chart.

    +
    +

    Requires

    +

    Chart Data to conform to CTLineBarChartDataProtocol.

    + +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func extraLine<T: CTLineBarChartDataProtocol>(
    +    chartData: T,
    +    legendTitle: String,
    +    datapoints: @escaping () -> ([ExtraLineDataPoint]),
    +    style: @escaping () -> (ExtraLineStyle)
    +) -> some View
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + +
    + + chartData + + +
    +

    Data that conforms to CTLineBarChartDataProtocol.

    +
    +
    + + legendTitle + + +
    +

    Title of the extra line to display in the legends.

    +
    +
    + + datapoints + + +
    +

    Data point to create the line.

    +
    +
    + + style + + +
    +

    Styling data for the line.

    +
    +
    +
    +
    +

    Return Value

    +

    The chart with an extra line stacked on top.

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Adds an seperate line that is over-layed on top of a other chart.

    +
    +

    Requires

    +

    Chart Data to conform to CTLineBarChartDataProtocol.

    + +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func extraLine<T: CTLineBarChartDataProtocol>(
    +    chartData: T,
    +    legendTitle: String,
    +    datapoints: @escaping @autoclosure () -> ([ExtraLineDataPoint]),
    +    style: @escaping @autoclosure () -> (ExtraLineStyle)
    +) -> some View
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + +
    + + chartData + + +
    +

    Data that conforms to CTLineBarChartDataProtocol.

    +
    +
    + + legendTitle + + +
    +

    Title of the extra line to display in the legends.

    +
    +
    + + datapoints + + +
    +

    Data point to create the line.

    +
    +
    + + style + + +
    +

    Styling data for the line.

    +
    +
    +
    +
    +

    Return Value

    +

    The chart with an extra line stacked on top.

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Adds a second set of Y axis labels.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func extraYAxisLabels<T: CTLineBarChartDataProtocol>(
    +    chartData: T,
    +    specifier: String = "%.0f",
    +    colourIndicator: AxisColour = .none
    +) -> some View
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + +
    + + chartData + + +
    +

    Data that conforms to CTLineBarChartDataProtocol.

    +
    +
    + + specifier + + +
    +

    Decimal precision for labels.

    +
    +
    + + colourIndicator + + +
    +

    Second Y Axis style.

    +
    +
    +
    +
    +

    Return Value

    +

    A View with second set of Y axis labels.

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    A view that displays information from TouchOverlay.

    + +

    Places the info box on top of the chart.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func floatingInfoBox<T>(chartData: T) -> some View where T : CTLineBarChartDataProtocol
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + chartData + + +
    +

    Chart data model.

    +
    +
    +
    +
    +

    Return Value

    +

    A new view containing the chart with a view to +display touch overlay information.

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    A view that displays information from TouchOverlay.

    + +

    Places the info box on top of the chart.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func floatingInfoBox<T>(chartData: T) -> some View where T : CTLineBarChartDataProtocol, T : isHorizontal
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + chartData + + +
    +

    Chart data model.

    +
    +
    +
    +
    +

    Return Value

    +

    A new view containing the chart with a view to +display touch overlay information.

    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Horizontal +

+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    A view that displays information from TouchOverlay.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func infoBox<T: CTLineBarChartDataProtocol>(
    +    chartData: T,
    +    height: CGFloat = 70
    +) -> some View
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + chartData + + +
    +

    Chart data model.

    +
    +
    +
    +
    +

    Return Value

    +

    A new view containing the chart with a view to +display touch overlay information.

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    A view that displays information from TouchOverlay.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func infoBox<T: CTLineBarChartDataProtocol & isHorizontal>(
    +    chartData: T,
    +    width: CGFloat = 70
    +) -> some View
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + +
    + + chartData + + +
    +

    Chart data model.

    +
    +
    + + width + + +
    +

    Width of the view.

    +
    +
    +
    +
    +

    Return Value

    +

    A new view containing the chart with a view to +display touch overlay information.

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Draws a line across the chart to show the the trend in the data.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func linearTrendLine<T: CTLineBarChartDataProtocol & GetDataProtocol>(
    +    chartData: T,
    +    firstValue: Double,
    +    lastValue: Double,
    +    lineColour: ColourStyle = ColourStyle(),
    +    strokeStyle: StrokeStyle = StrokeStyle()
    +) -> some View
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + + + +
    + + chartData + + +
    +

    Chart data model.

    +
    +
    + + firstValue + + +
    +

    The value of the leading data point.

    +
    +
    + + lastValue + + +
    +

    The value of the trailnig data point.

    +
    +
    + + lineColour + + +
    +

    Line Colour.

    +
    +
    + + strokeStyle + + +
    +

    Stroke Style.

    +
    +
    +
    +
    +

    Return Value

    +

    A new view containing the chart with a trend line.

    +
    +
    +
    +
  • +
  • +
    + + + + xAxisGrid(chartData:) + +
    +
    +
    +
    +
    +
    +

    Adds vertical lines along the X axis.

    + +

    The style is set in ChartData –> ChartStyle –> xAxisGridStyle

    +
    +

    Requires

    + Chart Data to conform to CTLineBarChartDataProtocol. + +
    +

    Available for:

    + +
      +
    • Line Chart
    • +
    • Multi Line Chart
    • +
    • Filled Line Chart
    • +
    • Ranged Line Chart
    • +
    • Bar Chart
    • +
    • Grouped Bar Chart
    • +
    • Stacked Bar Chart
    • +
    • Ranged Bar Chart
    • +
    +

    Unavailable for:

    + +
      +
    • Pie Chart
    • +
    • Doughnut Chart

    • +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func xAxisGrid<T>(chartData: T) -> some View where T : CTLineBarChartDataProtocol
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + chartData + + +
    +

    Chart data model.

    +
    +
    +
    +
    +

    Return Value

    +

    A new view containing the chart with vertical lines under it.

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Labels for the X axis.

    + +

    The labels can either come from ChartData –> xAxisLabels +or ChartData –> DataSets –> DataPoints

    +
    +

    Requires

    +

    Chart Data to conform to CTLineBarChartDataProtocol.

    + +
    +

    Requires

    +

    Chart Data to conform to CTLineBarChartDataProtocol.

    + +
    +

    Available for:

    + +
      +
    • Line Chart
    • +
    • Multi Line Chart
    • +
    • Filled Line Chart
    • +
    • Ranged Line Chart
    • +
    • Bar Chart
    • +
    • Grouped Bar Chart
    • +
    • Stacked Bar Chart
    • +
    • Ranged Bar Chart
    • +
    +

    Unavailable for:

    + +
      +
    • Pie Chart
    • +
    • Doughnut Chart

    • +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func xAxisLabels<T>(chartData: T) -> some View where T : CTLineBarChartDataProtocol
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + chartData + + +
    +

    Chart data model.

    +
    +
    +
    +
    +

    Return Value

    +

    A new view containing the chart with labels marking the x axis.

    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Extension +

+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Vertical line marking a custom value.

    + +

    Shows a marker line at a specified value.

    +
    +

    Requires

    + +
    + +

    Chart Data to conform to CTLineBarChartDataProtocol.

    +

    Available for:

    + +
      +
    • Line Chart
    • +
    • Multi Line Chart
    • +
    • Filled Line Chart
    • +
    • Ranged Line Chart
    • +
    • Bar Chart
    • +
    • Grouped Bar Chart
    • +
    • Stacked Bar Chart
    • +
    • Ranged Bar Chart
    • +
    +

    Unavailable for:

    + +
      +
    • Pie Chart
    • +
    • Doughnut Chart

    • +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func xAxisPOI<T:CTLineBarChartDataProtocol & GetDataProtocol & PointOfInterestProtocol>(
    +    chartData: T,
    +    markerName: String,
    +    markerValue: Int,
    +    dataPointCount: Int,
    +    lineColour: Color = Color(.blue),
    +    labelBorderColor: Color? = nil,
    +    strokeStyle: StrokeStyle = StrokeStyle(lineWidth: 2, lineCap: .round, lineJoin: .round, miterLimit: 10, dash: [CGFloat](), dashPhase: 0),
    +    labelPosition: DisplayValue = .center(specifier: "%.0f"),
    +    labelFont: Font = .caption,
    +    labelColour: Color = Color.primary,
    +    labelBackground: Color = Color.systemsBackground,
    +    customLabelShape: CustomLabelShape? = nil,
    +    padding: CGFloat? = nil,
    +    addToLegends: Bool = true
    +) -> some View
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + chartData + + +
    +

    Chart data model.

    +
    +
    + + markerName + + +
    +

    Title of marker, for the legend.

    +
    +
    + + markerValue + + +
    +

    Value to mark.

    +
    +
    + + dataPointCount + + +
    +

    Total number of data points in data set.

    +
    +
    + + labelPosition + + +
    +

    Option to display the markers’ value inline with the marker.

    +
    +
    + + labelFont + + +
    +

    Font for the label.

    +
    +
    + + labelColour + + +
    +

    Colour of the Text.

    +
    +
    + + labelBackground + + +
    +

    Colour of the background.

    +
    +
    + + lineColour + + +
    +

    Line Colour.

    +
    +
    + + labelBorderColor + + +
    +

    Custom Color for the label border, if not provided lineColor will be used.

    +
    +
    + + strokeStyle + + +
    +

    Style of Stroke.

    +
    +
    + + customLabelShape + + +
    +

    Custom Shape for POI Label.

    +
    +
    + + padding + + +
    +

    Custom Padding between Shape and Text.

    +
    +
    + + addToLegends + + +
    +

    Whether or not to add this to the legends.

    +
    +
    +
    +
    +

    Return Value

    +

    A new view containing the chart with a marker line at a specified value.

    +
    +
    +
    +
  • +
  • +
    + + + + yAxisGrid(chartData:) + +
    +
    +
    +
    +
    +
    +

    Adds horizontal lines along the X axis.

    + +

    The style is set in ChartData –> LineChartStyle –> yAxisGridStyle

    +
    +

    Requires

    + Chart Data to conform to CTLineBarChartDataProtocol. + +
    +

    Available for:

    + +
      +
    • Line Chart
    • +
    • Multi Line Chart
    • +
    • Filled Line Chart
    • +
    • Ranged Line Chart
    • +
    • Bar Chart
    • +
    • Grouped Bar Chart
    • +
    • Stacked Bar Chart
    • +
    • Ranged Bar Chart
    • +
    +

    Unavailable for:

    + +
      +
    • Pie Chart
    • +
    • Doughnut Chart

    • +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func yAxisGrid<T>(chartData: T) -> some View where T : CTLineBarChartDataProtocol
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + chartData + + +
    +

    Chart data model.

    +
    +
    +
    +
    +

    Return Value

    +

    A new view containing the chart with horizontal lines under it.

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Automatically generated labels for the Y axis.

    + +

    Controls are in ChartData –> ChartStyle

    +
    +

    Requires

    + Chart Data to conform to CTLineBarChartDataProtocol. + +
    +

    Available for:

    + +
      +
    • Line Chart
    • +
    • Multi Line Chart
    • +
    • Filled Line Chart
    • +
    • Ranged Line Chart
    • +
    • Bar Chart
    • +
    • Grouped Bar Chart
    • +
    • Stacked Bar Chart
    • +
    • Ranged Bar Chart
    • +
    +

    Unavailable for:

    + +
      +
    • Pie Chart
    • +
    • Doughnut Chart

    • +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func yAxisLabels<T: CTLineBarChartDataProtocol>(
    +    chartData: T,
    +    specifier: String = "%.0f",
    +    formatter: NumberFormatter? = nil,
    +    colourIndicator: AxisColour = .none
    +) -> some View
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + +
    + + chartData + + +
    +

    Data that conforms to CTLineBarChartDataProtocol

    +
    +
    + + specifier + + +
    +

    Decimal precision specifier

    +
    +
    +
    +
    +

    Return Value

    +

    HStack of labels

    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Extensions +

+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Horizontal line marking a custom value.

    + +

    Shows a marker line at a specified value.

    +

    Example

    +
    .yAxisPOI(chartData: data,
    +             markerName: "Marker",
    +             markerValue: 110,
    +             labelPosition: .center(specifier: "%.0f"),
    +             labelColour: Color.white,
    +             labelBackground: Color.red,
    +             lineColour: .blue,
    +             strokeStyle: StrokeStyle(lineWidth: 2,
    +                                      lineCap: .round,
    +                                      lineJoin: .round,
    +                                      miterLimit: 10,
    +                                      dash: [8],
    +                                      dashPhase: 0))
    +
    +
    +

    Requires

    + +
    + +

    Chart Data to conform to CTLineBarChartDataProtocol.

    +

    Available for:

    + +
      +
    • Line Chart
    • +
    • Multi Line Chart
    • +
    • Filled Line Chart
    • +
    • Ranged Line Chart
    • +
    • Bar Chart
    • +
    • Grouped Bar Chart
    • +
    • Stacked Bar Chart
    • +
    • Ranged Bar Chart
    • +
    +

    Unavailable for:

    + +
      +
    • Pie Chart
    • +
    • Doughnut Chart

    • +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func yAxisPOI<T:CTLineBarChartDataProtocol & GetDataProtocol & PointOfInterestProtocol>(
    +    chartData: T,
    +    markerName: String,
    +    markerValue: Double,
    +    labelPosition: DisplayValue = .center(specifier: "%.0f"),
    +    labelFont: Font = .caption,
    +    labelColour: Color = Color.primary,
    +    labelBackground: Color = Color.systemsBackground,
    +    lineColour: Color = Color(.blue),
    +    labelBorderColor: Color? = nil,
    +    strokeStyle: StrokeStyle = StrokeStyle(lineWidth: 2, lineCap: .round, lineJoin: .round, miterLimit: 10, dash: [CGFloat](), dashPhase: 0),
    +    customLabelShape: CustomLabelShape? = nil,
    +    padding: CGFloat? = nil,
    +    addToLegends: Bool = true
    +) -> some View
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + chartData + + +
    +

    Chart data model.

    +
    +
    + + markerName + + +
    +

    Title of marker, for the legend.

    +
    +
    + + markerValue + + +
    +

    Value to mark

    +
    +
    + + labelPosition + + +
    +

    Option to display the markers’ value inline with the marker.

    +
    +
    + + labelFont + + +
    +

    Font for the label.

    +
    +
    + + labelColour + + +
    +

    Colour of the Text.

    +
    +
    + + labelBackground + + +
    +

    Colour of the background.

    +
    +
    + + lineColour + + +
    +

    Line Colour.

    +
    +
    + + labelBorderColor + + +
    +

    Custom Color for the label border, if not provided lineColor will be used.

    +
    +
    + + strokeStyle + + +
    +

    Style of Stroke.

    +
    +
    + + customLabelShape + + +
    +

    Custom Shape for POI Label.

    +
    +
    + + padding + + +
    +

    Custom Padding between Shape and Text.

    +
    +
    + + addToLegends + + +
    +

    Whether or not to add this to the legends.

    +
    +
    +
    +
    +

    Return Value

    +

    A new view containing the chart with a marker line at a specified value.

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Horizontal line marking the average.

    + +

    Shows a marker line at the average of all the data points within +the relevant data set(s).

    +

    Example

    +
    .averageLine(chartData: data,
    +             markerName: "Average",
    +             labelPosition: .center(specifier: "%.0f"),
    +             labelColour: Color.white,
    +             labelBackground: Color.red,
    +             lineColour: .primary,
    +             strokeStyle: StrokeStyle(lineWidth: 2,
    +                                      lineCap: .round,
    +                                      lineJoin: .round,
    +                                      miterLimit: 10,
    +                                      dash: [8],
    +                                      dashPhase: 0))
    +
    +
    +

    Requires

    + +
    + +

    Chart Data to conform to CTLineBarChartDataProtocol.

    +

    Available for:

    + +
      +
    • Line Chart
    • +
    • Multi Line Chart
    • +
    • Filled Line Chart
    • +
    • Ranged Line Chart
    • +
    • Bar Chart
    • +
    • Grouped Bar Chart
    • +
    • Stacked Bar Chart
    • +
    • Ranged Bar Chart
    • +
    +

    Unavailable for:

    + +
      +
    • Pie Chart
    • +
    • Doughnut Chart

    • +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func averageLine<T:CTLineBarChartDataProtocol & GetDataProtocol & PointOfInterestProtocol>(
    +    chartData: T,
    +    markerName: String = "Average",
    +    labelPosition: DisplayValue = .yAxis(specifier: "%.0f"),
    +    labelFont: Font = .caption,
    +    labelColour: Color = Color.primary,
    +    labelBackground: Color = Color.systemsBackground,
    +    lineColour: Color = Color.primary,
    +    labelBorderColor: Color? = nil,
    +    strokeStyle: StrokeStyle = StrokeStyle(lineWidth: 2, lineCap: .round, lineJoin: .round, miterLimit: 10, dash: [CGFloat](), dashPhase: 0),
    +    customLabelShape: CustomLabelShape? = nil,
    +    padding: CGFloat? = nil,
    +    addToLegends: Bool = true
    +) -> some View
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + chartData + + +
    +

    Chart data model.

    +
    +
    + + markerName + + +
    +

    Title of marker, for the legend.

    +
    +
    + + labelPosition + + +
    +

    Option to display the markers’ value inline with the marker.

    +
    +
    + + labelFont + + +
    +

    Font for the label.

    +
    +
    + + labelColour + + +
    +

    Colour of the Text.

    +
    +
    + + labelBackground + + +
    +

    Colour of the background.

    +
    +
    + + lineColour + + +
    +

    Line Colour.

    +
    +
    + + labelBorderColor + + +
    +

    Custom Color for the label border, if not provided lineColor will be used.

    +
    +
    + + strokeStyle + + +
    +

    Style of Stroke.

    +
    +
    + + customLabelShape + + +
    +

    Custom Shape for POI Label.

    +
    +
    + + padding + + +
    +

    Custom Padding between Shape and Text.

    +
    +
    + + addToLegends + + +
    +

    Whether or not to add this to the legends.

    +
    +
    +
    +
    +

    Return Value

    +

    A new view containing the chart with a marker line at the average.

    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols.html new file mode 100644 index 00000000..c5b8f816 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols.html @@ -0,0 +1,2225 @@ + + + + Protocols Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

Protocols

+

The following protocols are available globally.

+ +
+
+ +
+
+
+
+ + +
+ +

Chart Data +

+
+
+ +
+
+
+ + +
+ +

Style +

+
+
+ +
+
+
+ + +
+ +

DataSet +

+
+
+ +
+
+
+ + +
+ +

DataPoints +

+
+
+ +
+
+
+ + +
+ +

Chart Data +

+
+
+ +
+
+
+ + +
+ +

Style +

+
+
+
    +
  • +
    + + + + CTLineChartStyle + +
    +
    +
    +
    +
    +
    +

    A protocol to extend functionality of CTLineBarChartStyle specifically for Line Charts.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public protocol CTLineChartStyle : CTLineBarChartStyle
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + CTLineStyle + +
    +
    +
    +
    +
    +
    +

    Protocol to set up the styling for individual lines.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public protocol CTLineStyle
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + CTRangedLineStyle + +
    +
    +
    +
    +
    +
    +

    A protocol to extend functionality of CTLineStyle specifically for Ranged Line Charts.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public protocol CTRangedLineStyle : CTLineStyle
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

DataSet +

+
+
+ +
+
+
+ + +
+ +

Data Point +

+
+
+ +
+
+
+ + +
+ +

Chart Data +

+
+
+ +
+
+
+ + +
+ +

DataPoints +

+
+
+ +
+
+
+ + +
+ +

Style +

+
+
+ +
+
+
+ + +
+ +

Chart Data +

+
+
+
    +
  • +
    + + + + CTChartData + +
    +
    +
    +
    +
    +
    +

    Main protocol for passing data around library.

    + +

    All Chart Data models ultimately conform to this.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public protocol CTChartData : ObservableObject, Identifiable
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Data Sets +

+
+
+
    +
  • +
    + + + + CTDataSetProtocol + +
    +
    +
    +
    +
    +
    +

    Main protocol to set conformace for types of Data Sets.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public protocol CTDataSetProtocol : Hashable, Identifiable
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Protocol for data sets that only require a single set of data .

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public protocol CTSingleDataSetProtocol : CTDataSetProtocol
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Protocol for data sets that require a multiple sets of data .

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public protocol CTMultiDataSetProtocol : CTDataSetProtocol
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Data Points +

+
+
+ +
+
+
+ + +
+ +

Styles +

+
+
+
    +
  • +
    + + + + CTChartStyle + +
    +
    +
    +
    +
    +
    +

    Protocol to set the styling data for the chart.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public protocol CTChartStyle
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + CTColourStyle + +
    +
    +
    +
    +
    +
    +

    A protocol to set colour styling.

    + +

    Allows for single colour, gradient or gradient with stops control.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public protocol CTColourStyle
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + CTisRanged + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public protocol CTisRanged
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + CTnotRanged + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public protocol CTnotRanged
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + DataFunctionsProtocol + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public protocol DataFunctionsProtocol
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + GetDataProtocol + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public protocol GetDataProtocol
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Style +

+
+
+
    +
  • +
    + + + + MarkerType + +
    +
    +
    +
    +
    +
    +

    A protocol to get the correct touch overlay marker.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public protocol MarkerType
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + CTLineBarChartStyle + +
    +
    +
    +
    +
    +
    +

    A protocol to extend functionality of CTChartStyle specifically for Line and Bar Charts.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public protocol CTLineBarChartStyle : CTChartStyle
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

DataPoints +

+
+
+ +
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/CTBarChartDataProtocol.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/CTBarChartDataProtocol.html new file mode 100644 index 00000000..5566cc9b --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/CTBarChartDataProtocol.html @@ -0,0 +1,625 @@ + + + + CTBarChartDataProtocol Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

CTBarChartDataProtocol

+
+
+ +
public protocol CTBarChartDataProtocol : CTLineBarChartDataProtocol
+ +
+
+

A protocol to extend functionality of CTLineBarChartDataProtocol specifically for Bar Charts.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + BarStyle + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    associatedtype BarStyle : CTBarStyle
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + barStyle + +
    +
    +
    +
    +
    +
    +

    Overall styling for the bars

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var barStyle: BarStyle { get set }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/CTBarColourProtocol.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/CTBarColourProtocol.html new file mode 100644 index 00000000..3a23ef16 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/CTBarColourProtocol.html @@ -0,0 +1,598 @@ + + + + CTBarColourProtocol Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

CTBarColourProtocol

+
+
+ +
public protocol CTBarColourProtocol
+ +
+
+

A protocol to a standard colour scheme for bar charts.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + colour + +
    +
    +
    +
    +
    +
    +

    Drawing style of the range fill.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var colour: ColourStyle { get set }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/CTBarStyle.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/CTBarStyle.html new file mode 100644 index 00000000..967b529b --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/CTBarStyle.html @@ -0,0 +1,679 @@ + + + + CTBarStyle Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

CTBarStyle

+
+
+ +
public protocol CTBarStyle : Hashable, CTBarColourProtocol
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + barWidth + +
    +
    +
    +
    +
    +
    +

    How much of the available width to use. 0…1

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var barWidth: CGFloat { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + cornerRadius + +
    +
    +
    +
    +
    +
    +

    Corner radius of the bar shape.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var cornerRadius: CornerRadius { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + colourFrom + +
    +
    +
    +
    +
    +
    +

    Where to get the colour data from.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var colourFrom: ColourFrom { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + colour + +
    +
    +
    +
    +
    +
    +

    Drawing style of the fill.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var colour: ColourStyle { get set }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/CTChartData.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/CTChartData.html new file mode 100644 index 00000000..490527d9 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/CTChartData.html @@ -0,0 +1,1414 @@ + + + + CTChartData Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

CTChartData

+
+
+ +
public protocol CTChartData : ObservableObject, Identifiable
+ +
+
+

Main protocol for passing data around library.

+ +

All Chart Data models ultimately conform to this.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + SetType + +
    +
    +
    +
    +
    +
    +

    A type representing a data set. – CTDataSetProtocol

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    associatedtype SetType : CTDataSetProtocol
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + SetPoint + +
    +
    +
    +
    +
    +
    +

    A type representing a data set. – CTDataSetProtocol

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    associatedtype SetPoint : CTDataSetProtocol
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + DataPoint + +
    +
    +
    +
    +
    +
    +

    A type representing a data point. – CTChartDataPoint

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    associatedtype DataPoint : CTDataPointBaseProtocol
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + CTStyle + +
    +
    +
    +
    +
    +
    +

    A type representing the chart style. – CTChartStyle

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    associatedtype CTStyle : CTChartStyle
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Touch + +
    +
    +
    +
    +
    +
    +

    A type representing a view for the results of the touch interaction.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    associatedtype Touch : View
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + id + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var id: ID { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + dataSets + +
    +
    +
    +
    +
    +
    +

    Data model containing datapoints and styling information.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var dataSets: SetType { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + metadata + +
    +
    +
    +
    +
    +
    +

    Data model containing the charts Title, Subtitle and the Title for Legend.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var metadata: ChartMetadata { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + legends + +
    +
    +
    +
    +
    +
    +

    Array of LegendData to populate the charts legend.

    + +

    This is populated automatically from within each view.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var legends: [LegendData] { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + infoView + +
    +
    +
    +
    +
    +
    +

    Data model pass data from TouchOverlay ViewModifier to +HeaderBox or InfoBox for display.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var infoView: InfoViewData<DataPoint> { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + chartStyle + +
    +
    +
    +
    +
    +
    +

    Data model conatining the style data for the chart.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var chartStyle: CTStyle { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + noDataText + +
    +
    +
    +
    +
    +
    +

    Customisable Text to display when where is not enough data to draw the chart.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var noDataText: Text { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + chartType + +
    +
    +
    +
    +
    +
    +

    Holds data about the charts type.

    + +

    Allows for internal logic based on the type of chart.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var chartType: (chartType: ChartType, dataSetType: DataSetType) { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + disableAnimation + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var disableAnimation: Bool { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + isGreaterThanTwo() + +
    +
    +
    +
    +
    +
    +

    Returns whether there are two or more data points.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func isGreaterThanTwo() -> Bool
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Touch +

+
+
+
    +
  • +
    + + + + setTouchInteraction(touchLocation:chartSize:) + + + Default implementation + +
    +
    +
    +
    +
    +
    +

    Takes in the required data to set up all the touch interactions.

    + +

    Output via getTouchInteraction(touchLocation: CGPoint, chartSize: CGRect) -> Touch

    + +
      +
    • touchLocation: Current location of the touch
    • +
    • chartSize: The size of the chart view as the parent view.
    • +
    + +
    +

    Default Implementation

    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func setTouchInteraction(touchLocation: CGPoint, chartSize: CGRect)
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Takes touch location and return a view based on the chart type and configuration.

    + +

    Inputs from setTouchInteraction(touchLocation: CGPoint, chartSize: CGRect)

    + +
      +
    • touchLocation: Current location of the touch
    • +
    • chartSize: The size of the chart view as the parent view.
    • +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func getTouchInteraction(touchLocation: CGPoint, chartSize: CGRect) -> Touch
    + +
    +
    +
    +

    Return Value

    +

    The relevent view for the chart type and options.

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Gets the nearest data points to the touch location.

    + +
      +
    • touchLocation: Current location of the touch.
    • +
    • chartSize: The size of the chart view as the parent view.
    • +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func getDataPoint(touchLocation: CGPoint, chartSize: CGRect)
    + +
    +
    +
    +

    Return Value

    +

    Array of data points.

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Gets the location of the data point in the view.

    + +
      +
    • dataSet: Data set to work with.
    • +
    • touchLocation: Current location of the touch.
    • +
    • chartSize: The size of the chart view as the parent view.
    • +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func getPointLocation(dataSet: SetPoint, touchLocation: CGPoint, chartSize: CGRect) -> CGPoint?
    + +
    +
    +
    +

    Return Value

    +

    Array of points with the location on screen of data points.

    +
    +
    +
    +
  • +
  • +
    + + + + infoValueUnit(info:) + + + Extension method + +
    +
    +
    +
    +
    +
    +

    Displays the data points value with the unit.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func infoValueUnit(info: DataPoint) -> some View
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + info + + +
    +

    A data point

    +
    +
    +
    +
    +

    Return Value

    +

    Text View with the value with relevent info.

    +
    +
    +
    +
  • +
  • +
    + + + + infoValue(info:) + + + Extension method + +
    +
    +
    +
    +
    +
    +

    Displays the data points value without the unit.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func infoValue(info: DataPoint) -> some View
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + info + + +
    +

    A data point

    +
    +
    +
    +
    +

    Return Value

    +

    Text View with the value with relevent info.

    +
    +
    +
    +
  • +
  • +
    + + + + infoUnit() + + + Extension method + +
    +
    +
    +
    +
    +
    +

    Displays the unit.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func infoUnit() -> some View
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + info + + +
    +

    A data point

    +
    +
    +
    +
    +

    Return Value

    +

    Text View of the unit.

    +
    +
    +
    +
  • +
  • +
    + + + + infoDescription(info:) + + + Extension method + +
    +
    +
    +
    +
    +
    +

    Displays the data points description.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func infoDescription(info: DataPoint) -> some View
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + info + + +
    +

    A data point

    +
    +
    +
    +
    +

    Return Value

    +

    Text View with the points description.

    +
    +
    +
    +
  • +
  • +
    + + + + infoLegend(info:) + + + Extension method + +
    +
    +
    +
    +
    +
    +

    Displays the relevent Legend for the data point.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @ViewBuilder
    +public func infoLegend(info: DataPoint) -> some View
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + info + + +
    +

    A data point

    +
    +
    +
    +
    +

    Return Value

    +

    A View of a Legend.

    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/CTChartStyle.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/CTChartStyle.html new file mode 100644 index 00000000..d82fcd62 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/CTChartStyle.html @@ -0,0 +1,843 @@ + + + + CTChartStyle Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

CTChartStyle

+
+
+ +
public protocol CTChartStyle
+ +
+
+

Protocol to set the styling data for the chart.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + infoBoxPlacement + +
    +
    +
    +
    +
    +
    +

    Placement of the information box that appears on touch input.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var infoBoxPlacement: InfoBoxPlacement { get set }
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Placement of the information box that appears on touch input.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var infoBoxContentAlignment: InfoBoxAlignment { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + infoBoxValueFont + +
    +
    +
    +
    +
    +
    +

    Font for the value part of the touch info.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var infoBoxValueFont: Font { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + infoBoxValueColour + +
    +
    +
    +
    +
    +
    +

    Colour of the value part of the touch info.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var infoBoxValueColour: Color { get set }
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Font for the description part of the touch info.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var infoBoxDescriptionFont: Font { get set }
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Colour of the description part of the touch info.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var infoBoxDescriptionColour: Color { get set }
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Colour of the background of the touch info.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var infoBoxBackgroundColour: Color { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + infoBoxBorderColour + +
    +
    +
    +
    +
    +
    +

    Border colour of the touch info.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var infoBoxBorderColour: Color { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + infoBoxBorderStyle + +
    +
    +
    +
    +
    +
    +

    Border style of the touch info.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var infoBoxBorderStyle: StrokeStyle { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + globalAnimation + +
    +
    +
    +
    +
    +
    +

    Global control of animations.

    +
    Animation.linear(duration: 1)
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var globalAnimation: Animation { get set }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/CTColourStyle.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/CTColourStyle.html new file mode 100644 index 00000000..8eec936e --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/CTColourStyle.html @@ -0,0 +1,737 @@ + + + + CTColourStyle Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

CTColourStyle

+
+
+ +
public protocol CTColourStyle
+ +
+
+

A protocol to set colour styling.

+ +

Allows for single colour, gradient or gradient with stops control.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + colourType + +
    +
    +
    +
    +
    +
    +

    Selection for the style of colour.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var colourType: ColourType { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + colour + +
    +
    +
    +
    +
    +
    +

    Single Colour

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var colour: Color? { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + colours + +
    +
    +
    +
    +
    +
    +

    Array of colours for gradient

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var colours: [Color]? { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + stops + +
    +
    +
    +
    +
    +
    +

    Array of Gradient Stops.

    + +

    GradientStop is a Hashable version of Gradient.Stop

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var stops: [GradientStop]? { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + startPoint + +
    +
    +
    +
    +
    +
    +

    Start point for the gradient

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var startPoint: UnitPoint? { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + endPoint + +
    +
    +
    +
    +
    +
    +

    End point for the gradient

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var endPoint: UnitPoint? { get set }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/CTDataPointBaseProtocol.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/CTDataPointBaseProtocol.html new file mode 100644 index 00000000..4ce4b570 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/CTDataPointBaseProtocol.html @@ -0,0 +1,780 @@ + + + + CTDataPointBaseProtocol Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

CTDataPointBaseProtocol

+
+
+ +
public protocol CTDataPointBaseProtocol : Hashable, Identifiable
+ +
+
+

Protocol to set base configuration for data points.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + id + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var id: ID { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + description + +
    +
    +
    +
    +
    +
    +

    A label that can be displayed on touch input

    + +

    It can be displayed in a floating box that tracks the users input location +or placed in the header.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var description: String? { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + date + +
    +
    +
    +
    +
    +
    +

    Date can be used for optionally performing additional calculations.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var date: Date? { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + legendTag + +
    +
    +
    +
    +
    +
    +

    Internal property that has to be exposed publicly through the protocol.

    + +

    This is used for displaying legends outside of the .legends() +view modifier.

    + +

    Do Not Use.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var legendTag: String { get set }
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Gets the relevant value(s) from the data point.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func valueAsString(specifier: String, formatter: NumberFormatter?) -> String
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + specifier + + +
    +

    Specifier

    +
    +
    +
    +
    +

    Return Value

    +

    Value as a string.

    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Data Point +

+
+
+
    +
  • +
    + + + + wrappedDescription + + + Extension method + +
    +
    +
    +
    +
    +
    +

    Unwraps description

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var wrappedDescription: String { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/CTDataSetProtocol.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/CTDataSetProtocol.html new file mode 100644 index 00000000..794e6475 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/CTDataSetProtocol.html @@ -0,0 +1,598 @@ + + + + CTDataSetProtocol Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

CTDataSetProtocol

+
+
+ +
public protocol CTDataSetProtocol : Hashable, Identifiable
+ +
+
+

Main protocol to set conformace for types of Data Sets.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + id + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var id: ID { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/CTDoughnutChartStyle.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/CTDoughnutChartStyle.html new file mode 100644 index 00000000..c3062897 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/CTDoughnutChartStyle.html @@ -0,0 +1,598 @@ + + + + CTDoughnutChartStyle Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

CTDoughnutChartStyle

+
+
+ +
public protocol CTDoughnutChartStyle : CTPieAndDoughnutChartStyle
+ +
+
+

A protocol to extend functionality of CTPieAndDoughnutChartStyle specifically for Doughnut Charts.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + strokeWidth + +
    +
    +
    +
    +
    +
    +

    Width / Delta of the Doughnut Chart

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var strokeWidth: CGFloat { get set }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/CTLineBarChartDataProtocol.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/CTLineBarChartDataProtocol.html new file mode 100644 index 00000000..8dd94360 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/CTLineBarChartDataProtocol.html @@ -0,0 +1,2454 @@ + + + + CTLineBarChartDataProtocol Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

CTLineBarChartDataProtocol

+
+
+ +
public protocol CTLineBarChartDataProtocol : CTChartData where Self.CTStyle : CTLineBarChartStyle
+ +
+
+

A protocol to extend functionality of CTChartData specifically for Line and Bar Charts.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + xAxisLabels + +
    +
    +
    +
    +
    +
    +

    Array of strings for the labels on the X Axis instead of the labels in the data points.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var xAxisLabels: [String]? { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + yAxisLabels + +
    +
    +
    +
    +
    +
    +

    Array of strings for the labels on the Y Axis instead of the labels generated +from data point values.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var yAxisLabels: [String]? { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + viewData + +
    +
    +
    +
    +
    +
    +

    Data model to hold data about the Views layout.

    + +

    This informs some ViewModifiers whether the chart has X and/or Y +axis labels so they can configure thier layouts appropriately.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var viewData: ChartViewData { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + extraLineData + +
    +
    +
    +
    +
    +
    +

    A data model for the ExtraLine View Modifier

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var extraLineData: ExtraLineData? { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + ExtraYLabels + +
    +
    +
    +
    +
    +
    +

    A type representing a View for displaying second set of labels on the Y axis.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    associatedtype ExtraYLabels : View
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + getExtraYAxisLabels() + + + Default implementation + +
    +
    +
    +
    +
    +
    +

    View for displaying second set of labels on the Y axis.

    + +
    +

    Default Implementation

    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func getExtraYAxisLabels() -> ExtraYLabels
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + getColour() + +
    +
    +
    +
    +
    +
    +

    Get the relevant colour indicator for the y axis labels.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func getColour() -> ColourStyle
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + XLabels + +
    +
    +
    +
    +
    +
    +

    A type representing a View for displaying labels on the X axis.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    associatedtype XLabels : View
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + getXAxisLabels() + +
    +
    +
    +
    +
    +
    +

    Displays a view for the labels on the X Axis.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func getXAxisLabels() -> XLabels
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + YLabels + +
    +
    +
    +
    +
    +
    +

    A type representing a View for displaying labels on the X axis.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    associatedtype YLabels : View
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + getYAxisLabels() + +
    +
    +
    +
    +
    +
    +

    Displays a view for the labels on the Y Axis.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func getYAxisLabels() -> YLabels
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + setBoxLocation(touchLocation:boxFrame:chartSize:) + + + Default implementation + +
    +
    +
    +
    +
    +
    +

    Sets the data point info box location while keeping it within the parent view.

    + +
    +

    Default Implementation

    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func setBoxLocation(touchLocation: CGFloat, boxFrame: CGRect, chartSize: CGRect) -> CGFloat
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + +
    + + touchLocation + + +
    +

    Location the user has pressed.

    +
    +
    + + boxFrame + + +
    +

    The size of the point info box.

    +
    +
    + + chartSize + + +
    +

    The size of the chart view as the parent view.

    +
    +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Box Location +

+
+
+
    +
  • +
    + + + + setBoxLocationation(touchLocation:boxFrame:chartSize:) + + + Extension method + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func setBoxLocationation(touchLocation: CGFloat, boxFrame: CGRect, chartSize: CGRect) -> CGFloat
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Axes Titles +

+
+
+
    +
  • +
    + + + + getYAxisTitle(colour:) + + + Extension method + +
    +
    +
    +
    +
    +
    +

    Returns the title for y axis.

    + +

    This also informs ViewData of it width so +that the positioning of the views in the x axis +can be calculated.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func getYAxisTitle(colour: AxisColour) -> some View
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Extra Y Axis Labels +

+
+
+
    +
  • +
    + + + + getExtraYAxisTitle(colour:) + + + Extension method + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func getExtraYAxisTitle(colour: AxisColour) -> some View
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Available where Self: isHorizontal +

+
+
+
    +
  • +
    + + + + setBoxLocationation(touchLocation:boxFrame:chartSize:) + + + Extension method + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func setBoxLocationation(touchLocation: CGFloat, boxFrame: CGRect, chartSize: CGRect) -> CGFloat
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Available where Self: GetDataProtocol, SetType: DataFunctionsProtocol +

+
+
+
    +
  • +
    + + + + range + + + Extension method + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var range: Double { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + minValue + + + Extension method + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var minValue: Double { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + maxValue + + + Extension method + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var maxValue: Double { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + average + + + Extension method + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var average: Double { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Available where Self: PointOfInterestProtocol +

+
+
+ +
+
+
+ + +
+ +

Available where Self: PointOfInterestProtocol & isHorizontal +

+
+
+ +
+
+
+ + +
+ +

Available where Self: CTLineChartDataProtocol & PointOfInterestProtocol +

+
+
+ +
+
+
+ + +
+ +

Available where Self: CTBarChartDataProtocol & PointOfInterestProtocol +

+
+
+ +
+
+
+ + +
+ +

Available where Self: CTBarChartDataProtocol & PointOfInterestProtocol, Self: isHorizontal +

+
+
+ +
+
+
+ + +
+ +

Available where Self: PointOfInterestProtocol +

+
+
+ +
+
+
+ + +
+ +

Available where Self: PointOfInterestProtocol & isHorizontal +

+
+
+ +
+
+
+ + +
+ +

Available where Self: CTLineChartDataProtocol & PointOfInterestProtocol +

+
+
+ +
+
+
+ + +
+ +

Available where Self: CTBarChartDataProtocol & PointOfInterestProtocol +

+
+
+ +
+
+
+ + +
+ +

Available where Self: CTBarChartDataProtocol & PointOfInterestProtocol, Self: isHorizontal +

+
+
+ +
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/CTLineBarChartStyle.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/CTLineBarChartStyle.html new file mode 100644 index 00000000..97628e50 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/CTLineBarChartStyle.html @@ -0,0 +1,1193 @@ + + + + CTLineBarChartStyle Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

CTLineBarChartStyle

+
+
+ +
public protocol CTLineBarChartStyle : CTChartStyle
+ +
+
+

A protocol to extend functionality of CTChartStyle specifically for Line and Bar Charts.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + Mark + +
    +
    +
    +
    +
    +
    +

    A type representing touch overlay marker type. – MarkerType

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    associatedtype Mark : MarkerType
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + markerType + +
    +
    +
    +
    +
    +
    +

    Where the marker lines come from to meet at a specified point.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var markerType: Mark { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + xAxisGridStyle + +
    +
    +
    +
    +
    +
    +

    Style of the vertical lines breaking up the chart.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var xAxisGridStyle: GridStyle { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + xAxisLabelPosition + +
    +
    +
    +
    +
    +
    +

    Location of the X axis labels - Top or Bottom.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var xAxisLabelPosition: XAxisLabelPosistion { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + xAxisLabelFont + +
    +
    +
    +
    +
    +
    +

    Font of the labels on the X axis.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var xAxisLabelFont: Font { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + xAxisLabelColour + +
    +
    +
    +
    +
    +
    +

    Text Colour for the labels on the X axis.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var xAxisLabelColour: Color { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + xAxisLabelsFrom + +
    +
    +
    +
    +
    +
    +

    Where the label data come from. DataPoint or ChartData.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var xAxisLabelsFrom: LabelsFrom { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + xAxisTitle + +
    +
    +
    +
    +
    +
    +

    Label to display next to the chart giving info about the axis.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var xAxisTitle: String? { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + xAxisTitleFont + +
    +
    +
    +
    +
    +
    +

    Font of the x axis title.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var xAxisTitleFont: Font { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + xAxisTitleColour + +
    +
    +
    +
    +
    +
    +

    Colour of the x axis title.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var xAxisTitleColour: Color { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + xAxisBorderColour + +
    +
    +
    +
    +
    +
    +

    Colour of the x axis border.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var xAxisBorderColour: Color? { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + yAxisGridStyle + +
    +
    +
    +
    +
    +
    +

    Style of the horizontal lines breaking up the chart.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var yAxisGridStyle: GridStyle { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + yAxisLabelPosition + +
    +
    +
    +
    +
    +
    +

    Location of the X axis labels - Leading or Trailing.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var yAxisLabelPosition: YAxisLabelPosistion { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + yAxisLabelFont + +
    +
    +
    +
    +
    +
    +

    Font of the labels on the Y axis.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var yAxisLabelFont: Font { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + yAxisLabelColour + +
    +
    +
    +
    +
    +
    +

    Text Colour for the labels on the Y axis.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var yAxisLabelColour: Color { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + yAxisNumberOfLabels + +
    +
    +
    +
    +
    +
    +

    Number Of Labels on Y Axis.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var yAxisNumberOfLabels: Int { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + yAxisLabelType + +
    +
    +
    +
    +
    +
    +

    Option to add custom Strings to Y axis rather than +auto generated numbers.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var yAxisLabelType: YAxisLabelType { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + yAxisTitle + +
    +
    +
    +
    +
    +
    +

    Label to display next to the chart giving info about the axis.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var yAxisTitle: String? { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + yAxisTitleFont + +
    +
    +
    +
    +
    +
    +

    Font of the y axis title.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var yAxisTitleFont: Font { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + yAxisTitleColour + +
    +
    +
    +
    +
    +
    +

    Font of the y axis title.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var yAxisTitleColour: Color { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + yAxisBorderColour + +
    +
    +
    +
    +
    +
    +

    Colour of the y axis border.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var yAxisBorderColour: Color? { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + baseline + +
    +
    +
    +
    +
    +
    +

    Where to start drawing the line chart from. Zero, data set minium or custom.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var baseline: Baseline { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + topLine + +
    +
    +
    +
    +
    +
    +

    Where to finish drawing the chart from. Data set maximum or custom.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var topLine: Topline { get set }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/CTLineBarDataPointProtocol.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/CTLineBarDataPointProtocol.html new file mode 100644 index 00000000..6a2b911b --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/CTLineBarDataPointProtocol.html @@ -0,0 +1,598 @@ + + + + CTLineBarDataPointProtocol Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

CTLineBarDataPointProtocol

+
+
+ +
public protocol CTLineBarDataPointProtocol : CTDataPointBaseProtocol
+ +
+
+

A protocol to extend functionality of CTStandardDataPointProtocol specifically for Line and Bar Charts.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + xAxisLabel + +
    +
    +
    +
    +
    +
    +

    Data points label for the X axis.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var xAxisLabel: String? { get set }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/CTLineChartDataProtocol.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/CTLineChartDataProtocol.html new file mode 100644 index 00000000..6fbbbb77 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/CTLineChartDataProtocol.html @@ -0,0 +1,687 @@ + + + + CTLineChartDataProtocol Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

CTLineChartDataProtocol

+
+
+ +
public protocol CTLineChartDataProtocol : CTLineBarChartDataProtocol
+ +
+
+

A protocol to extend functionality of CTLineBarChartDataProtocol specifically for Line Charts.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + Points + +
    +
    +
    +
    +
    +
    +

    A type representing opaque View

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    associatedtype Points : View
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Access + +
    +
    +
    +
    +
    +
    +

    A type representing opaque View

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    associatedtype Access : View
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + getPointMarker() + +
    +
    +
    +
    +
    +
    +

    Displays Shapes over the data points.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func getPointMarker() -> Points
    + +
    +
    +
    +

    Return Value

    +

    Relevent view containing point markers based the chosen parameters.

    +
    +
    +
    +
  • +
  • +
    + + + + getAccessibility() + +
    +
    +
    +
    +
    +
    +

    Ensures that line charts have an accessibility layer.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func getAccessibility() -> Access
    + +
    +
    +
    +

    Return Value

    +

    A view with invisible rectangles over the data point.

    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/CTLineChartDataSet.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/CTLineChartDataSet.html new file mode 100644 index 00000000..280ad714 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/CTLineChartDataSet.html @@ -0,0 +1,682 @@ + + + + CTLineChartDataSet Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

CTLineChartDataSet

+
+
+ +
public protocol CTLineChartDataSet : CTSingleDataSetProtocol
+ +
+
+

A protocol to extend functionality of SingleDataSet specifically for Line Charts.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + Styling + +
    +
    +
    +
    +
    +
    +

    A type representing colour styling

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    associatedtype Styling : CTLineStyle
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + legendTitle + +
    +
    +
    +
    +
    +
    +

    Label to display in the legend.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var legendTitle: String { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + style + +
    +
    +
    +
    +
    +
    +

    Sets the style for the Data Set (as opposed to Chart Data Style).

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var style: Styling { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + pointStyle + +
    +
    +
    +
    +
    +
    +

    Sets the look of the markers over the data points.

    + +

    The markers are layed out when the ViewModifier PointMarkers +is applied.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var pointStyle: PointStyle { get set }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/CTLineDataPointProtocol.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/CTLineDataPointProtocol.html new file mode 100644 index 00000000..1f03c156 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/CTLineDataPointProtocol.html @@ -0,0 +1,598 @@ + + + + CTLineDataPointProtocol Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

CTLineDataPointProtocol

+
+
+ +
public protocol CTLineDataPointProtocol : CTLineBarDataPointProtocol
+ +
+
+

A protocol to extend functionality of CTLineBarDataPointProtocol specifically for Line and Bar Charts.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + pointColour + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var pointColour: PointColour? { get set }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/CTLineStyle.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/CTLineStyle.html new file mode 100644 index 00000000..db2d5cdc --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/CTLineStyle.html @@ -0,0 +1,685 @@ + + + + CTLineStyle Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

CTLineStyle

+
+
+ +
public protocol CTLineStyle
+ +
+
+

Protocol to set up the styling for individual lines.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + lineType + +
    +
    +
    +
    +
    +
    +

    Drawing style of the line.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var lineType: LineType { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + lineColour + +
    +
    +
    +
    +
    +
    +

    Colour styling of the line.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var lineColour: ColourStyle { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + strokeStyle + +
    +
    +
    +
    +
    +
    +

    Styling for stroke

    + +

    Replica of Apple’s StrokeStyle that conforms to Hashable

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var strokeStyle: Stroke { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + ignoreZero + +
    +
    +
    +
    +
    +
    +

    Whether the chart should skip data points who’s value is 0.

    + +

    This might be useful when showing trends over time but each day does not necessarily have data.

    + +

    The default is false.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var ignoreZero: Bool { get set }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/CTMultiBarChartDataProtocol.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/CTMultiBarChartDataProtocol.html new file mode 100644 index 00000000..8e9409ee --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/CTMultiBarChartDataProtocol.html @@ -0,0 +1,598 @@ + + + + CTMultiBarChartDataProtocol Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

CTMultiBarChartDataProtocol

+
+
+ +
public protocol CTMultiBarChartDataProtocol : CTBarChartDataProtocol
+ +
+
+

A protocol to extend functionality of CTBarChartDataProtocol specifically for Multi Part Bar Charts.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + groups + +
    +
    +
    +
    +
    +
    +

    Grouping data to inform the chart about the relationship between the datapoints.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var groups: [GroupingData] { get set }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/CTMultiBarChartDataSet.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/CTMultiBarChartDataSet.html new file mode 100644 index 00000000..e9fcd6f2 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/CTMultiBarChartDataSet.html @@ -0,0 +1,654 @@ + + + + CTMultiBarChartDataSet Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

CTMultiBarChartDataSet

+
+
+ +
public protocol CTMultiBarChartDataSet : CTSingleDataSetProtocol
+ +
+
+

A protocol to extend functionality of CTSingleDataSetProtocol specifically for Multi Part Bar Charts.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + setTitle + +
    +
    +
    +
    +
    +
    +

    Title of the data set.

    + +

    This is used as an x axis label.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var setTitle: String { get set }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Available where Self == StackedBarDataSet +

+
+
+
    +
  • +
    + + + + maxValue() + + + Extension method + +
    +
    +
    +
    +
    +
    +

    Returns the highest sum value in the data set.

    +
    +

    Note

    +

    This differs from other charts, as Stacked Bar Charts +need to consider the sum value for each data set, instead of the +max value of a data point.

    + +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func maxValue() -> Double
    + +
    +
    +
    +

    Return Value

    +

    Highest sum value in data set.

    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/CTMultiBarDataPoint.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/CTMultiBarDataPoint.html new file mode 100644 index 00000000..9aa66d79 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/CTMultiBarDataPoint.html @@ -0,0 +1,599 @@ + + + + CTMultiBarDataPoint Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

CTMultiBarDataPoint

+
+
+ +
public protocol CTMultiBarDataPoint : CTBarDataPointBaseProtocol, CTStandardDataPointProtocol, CTnotRanged
+ +
+
+

A protocol to extend functionality of CTBarDataPointBaseProtocol specifically for multi part Bar Charts. +i.e: Grouped or Stacked

+ +
+
+ +
+
+
+
    +
  • +
    + + + + group + +
    +
    +
    +
    +
    +
    +

    For grouping data points together so they can be drawn in the correct groupings.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var group: GroupingData { get set }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/CTMultiDataSetProtocol.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/CTMultiDataSetProtocol.html new file mode 100644 index 00000000..3c18d2fe --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/CTMultiDataSetProtocol.html @@ -0,0 +1,825 @@ + + + + CTMultiDataSetProtocol Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

CTMultiDataSetProtocol

+
+
+ +
public protocol CTMultiDataSetProtocol : CTDataSetProtocol
+ +
+
+

Protocol for data sets that require a multiple sets of data .

+ +
+
+ +
+
+
+
    +
  • +
    + + + + DataSet + +
    +
    +
    +
    +
    +
    +

    A type representing a single data set – SingleDataSet

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    associatedtype DataSet : CTSingleDataSetProtocol
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + dataSets + +
    +
    +
    +
    +
    +
    +

    Array of single data sets.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var dataSets: [DataSet] { get set }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Available where Self.DataSet.DataPoint: CTStandardDataPointProtocol +

+
+
+
    +
  • +
    + + + + maxValue() + + + Extension method + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func maxValue() -> Double
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + minValue() + + + Extension method + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func minValue() -> Double
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + average() + + + Extension method + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func average() -> Double
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Available where Self == StackedBarDataSets +

+
+
+
    +
  • +
    + + + + maxValue() + + + Extension method + +
    +
    +
    +
    +
    +
    +

    Returns the highest sum value in the data sets

    +
    +

    Note

    +

    This differs from other charts, as Stacked Bar Charts +need to consider the sum value for each data set, instead of the +max value of a data point.

    + +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func maxValue() -> Double
    + +
    +
    +
    +

    Return Value

    +

    Highest sum value in data sets.

    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Available where Self.DataSet: CTLineChartDataSet, Self.DataSet.DataPoint: CTStandardDataPointProtocol +

+
+
+
    +
  • +
    + + + + minValue() + + + Extension method + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func minValue() -> Double
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/CTPieDataPoint.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/CTPieDataPoint.html new file mode 100644 index 00000000..0f52c1f3 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/CTPieDataPoint.html @@ -0,0 +1,682 @@ + + + + CTPieDataPoint Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

CTPieDataPoint

+
+
+ +
public protocol CTPieDataPoint : CTStandardDataPointProtocol, CTnotRanged
+ +
+
+

A protocol to extend functionality of CTStandardDataPointProtocol specifically for Pie and Doughnut Charts.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + colour + +
    +
    +
    +
    +
    +
    +

    Colour of the segment

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var colour: Color { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + startAngle + +
    +
    +
    +
    +
    +
    +

    Where the data point should start drawing from +based on where the prvious one finished.

    + +

    In radians.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var startAngle: Double { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + amount + +
    +
    +
    +
    +
    +
    +

    The data points value in radians.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var amount: Double { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + label + +
    +
    +
    +
    +
    +
    +

    Option to add overlays on top of the segment.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var label: OverlayType { get set }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/CTRangeDataPointProtocol.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/CTRangeDataPointProtocol.html new file mode 100644 index 00000000..f33f3cee --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/CTRangeDataPointProtocol.html @@ -0,0 +1,669 @@ + + + + CTRangeDataPointProtocol Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

CTRangeDataPointProtocol

+
+
+ +
public protocol CTRangeDataPointProtocol : CTDataPointBaseProtocol
+ +
+
+

A protocol to extend functionality of CTDataPointBaseProtocol for any chart +type that needs a upper and lower values.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + upperValue + +
    +
    +
    +
    +
    +
    +

    Value of the upper range of the data point.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var upperValue: Double { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + lowerValue + +
    +
    +
    +
    +
    +
    +

    Value of the lower range of the data point.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var lowerValue: Double { get set }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Available where Self == RangedBarDataPoint +

+
+
+
    +
  • +
    + + + + valueAsString(specifier:formatter:) + + + Extension method + +
    +
    +
    +
    +
    +
    +

    Data point’s value as a string

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func valueAsString(specifier: String, formatter: NumberFormatter?) -> String
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/CTRangedLineChartDataSet.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/CTRangedLineChartDataSet.html new file mode 100644 index 00000000..7b5546d3 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/CTRangedLineChartDataSet.html @@ -0,0 +1,598 @@ + + + + CTRangedLineChartDataSet Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

CTRangedLineChartDataSet

+
+
+ +
public protocol CTRangedLineChartDataSet : CTLineChartDataSet
+ +
+
+

A protocol to extend functionality of CTLineChartDataSet specifically for Ranged Line Charts.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + legendFillTitle + +
    +
    +
    +
    +
    +
    +

    Label to display in the legend for the range area..

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var legendFillTitle: String { get set }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/CTRangedLineDataPoint.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/CTRangedLineDataPoint.html new file mode 100644 index 00000000..11d195b7 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/CTRangedLineDataPoint.html @@ -0,0 +1,610 @@ + + + + CTRangedLineDataPoint Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

CTRangedLineDataPoint

+
+
+ +
public protocol CTRangedLineDataPoint : CTLineDataPointProtocol, CTRangeDataPointProtocol, CTStandardDataPointProtocol, CTisRanged
+ +
+
+

A protocol to extend functionality of CTStandardDataPointProtocol specifically for Ranged Line Charts.

+ +
+
+ +
+
+
+
+ + +
+ +

Available where Self == RangedLineChartDataPoint +

+
+
+
    +
  • +
    + + + + valueAsString(specifier:formatter:) + + + Extension method + +
    +
    +
    +
    +
    +
    +

    Data point’s value as a string

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func valueAsString(specifier: String, formatter: NumberFormatter?) -> String
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/CTRangedLineStyle.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/CTRangedLineStyle.html new file mode 100644 index 00000000..a8c52586 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/CTRangedLineStyle.html @@ -0,0 +1,598 @@ + + + + CTRangedLineStyle Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

CTRangedLineStyle

+
+
+ +
public protocol CTRangedLineStyle : CTLineStyle
+ +
+
+

A protocol to extend functionality of CTLineStyle specifically for Ranged Line Charts.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + fillColour + +
    +
    +
    +
    +
    +
    +

    Drawing style of the range fill.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var fillColour: ColourStyle { get set }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/CTSingleDataSetProtocol.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/CTSingleDataSetProtocol.html new file mode 100644 index 00000000..00ecfcdc --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/CTSingleDataSetProtocol.html @@ -0,0 +1,874 @@ + + + + CTSingleDataSetProtocol Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

CTSingleDataSetProtocol

+
+
+ +
public protocol CTSingleDataSetProtocol : CTDataSetProtocol
+ +
+
+

Protocol for data sets that only require a single set of data .

+ +
+
+ +
+
+
+
    +
  • +
    + + + + DataPoint + +
    +
    +
    +
    +
    +
    +

    A type representing a data point. – CTChartDataPoint

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    associatedtype DataPoint : CTDataPointBaseProtocol
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + dataPoints + +
    +
    +
    +
    +
    +
    +

    Array of data points.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var dataPoints: [DataPoint] { get set }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Available where Self.DataPoint: CTStandardDataPointProtocol & CTnotRanged +

+
+
+
    +
  • +
    + + + + maxValue() + + + Extension method + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func maxValue() -> Double
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + minValue() + + + Extension method + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func minValue() -> Double
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + average() + + + Extension method + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func average() -> Double
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Available where Self.DataPoint: CTRangeDataPointProtocol & CTisRanged +

+
+
+
    +
  • +
    + + + + maxValue() + + + Extension method + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func maxValue() -> Double
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + minValue() + + + Extension method + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func minValue() -> Double
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + average() + + + Extension method + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func average() -> Double
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Available where Self.DataPoint: CTStandardDataPointProtocol & CTnotRanged, Self: CTLineChartDataSet +

+
+
+
    +
  • +
    + + + + minValue() + + + Extension method + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func minValue() -> Double
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/CTStandardBarChartDataSet.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/CTStandardBarChartDataSet.html new file mode 100644 index 00000000..4d0305b7 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/CTStandardBarChartDataSet.html @@ -0,0 +1,598 @@ + + + + CTStandardBarChartDataSet Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

CTStandardBarChartDataSet

+
+
+ +
public protocol CTStandardBarChartDataSet : CTSingleDataSetProtocol
+ +
+
+

A protocol to extend functionality of CTSingleDataSetProtocol specifically for Standard Bar Charts.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + legendTitle + +
    +
    +
    +
    +
    +
    +

    Label to display in the legend.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var legendTitle: String { get set }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/CTStandardDataPointProtocol.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/CTStandardDataPointProtocol.html new file mode 100644 index 00000000..c14f96fd --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/CTStandardDataPointProtocol.html @@ -0,0 +1,728 @@ + + + + CTStandardDataPointProtocol Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

CTStandardDataPointProtocol

+
+
+ +
public protocol CTStandardDataPointProtocol : CTDataPointBaseProtocol
+ +
+
+

A protocol to extend functionality of CTDataPointBaseProtocol for any chart +type that needs a value.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + value + +
    +
    +
    +
    +
    +
    +

    Value of the data point

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var value: Double { get set }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Available where Self: CTBarDataPointBaseProtocol +

+
+
+
    +
  • +
    + + + + valueAsString(specifier:formatter:) + + + Extension method + +
    +
    +
    +
    +
    +
    +

    Data point’s value as a string

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func valueAsString(specifier: String, formatter: NumberFormatter?) -> String
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Available where Self: CTLineDataPointProtocol & IgnoreMe +

+
+
+
    +
  • +
    + + + + valueAsString(specifier:formatter:) + + + Extension method + +
    +
    +
    +
    +
    +
    +

    Data point’s value as a string

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func valueAsString(specifier: String, formatter: NumberFormatter?) -> String
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Available where Self: CTPieDataPoint +

+
+
+
    +
  • +
    + + + + valueAsString(specifier:formatter:) + + + Extension method + +
    +
    +
    +
    +
    +
    +

    Data point’s value as a string

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func valueAsString(specifier: String, formatter: NumberFormatter?) -> String
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/DataFunctionsProtocol.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/DataFunctionsProtocol.html new file mode 100644 index 00000000..eed6901b --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/DataFunctionsProtocol.html @@ -0,0 +1,664 @@ + + + + DataFunctionsProtocol Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

DataFunctionsProtocol

+
+
+ +
public protocol DataFunctionsProtocol
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + maxValue() + +
    +
    +
    +
    +
    +
    +

    Returns the highest value in the data set.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func maxValue() -> Double
    + +
    +
    +
    +

    Return Value

    +

    Highest value in data set.

    +
    +
    +
    +
  • +
  • +
    + + + + minValue() + +
    +
    +
    +
    +
    +
    +

    Returns the lowest value in the data set.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func minValue() -> Double
    + +
    +
    +
    +

    Return Value

    +

    Lowest value in data set.

    +
    +
    +
    +
  • +
  • +
    + + + + average() + +
    +
    +
    +
    +
    +
    +

    Returns the average value from the data set.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func average() -> Double
    + +
    +
    +
    +

    Return Value

    +

    Average of values in data set.

    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/GetDataProtocol.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/GetDataProtocol.html new file mode 100644 index 00000000..c911baa3 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/GetDataProtocol.html @@ -0,0 +1,679 @@ + + + + GetDataProtocol Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

GetDataProtocol

+
+
+ +
public protocol GetDataProtocol
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + range + +
    +
    +
    +
    +
    +
    +

    Returns the difference between the highest and lowest numbers in the data set or data sets.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var range: Double { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + minValue + +
    +
    +
    +
    +
    +
    +

    Returns the lowest value in the data set or data sets.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var minValue: Double { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + maxValue + +
    +
    +
    +
    +
    +
    +

    Returns the highest value in the data set or data sets

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var maxValue: Double { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + average + +
    +
    +
    +
    +
    +
    +

    Returns the average value from the data set or data sets.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var average: Double { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/IgnoreMe.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/IgnoreMe.html new file mode 100644 index 00000000..5b1355da --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/IgnoreMe.html @@ -0,0 +1,598 @@ + + + + IgnoreMe Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

IgnoreMe

+
+
+ +
public protocol IgnoreMe
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + ignoreMe + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var ignoreMe: Bool { get set }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/PointOfInterestProtocol.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/PointOfInterestProtocol.html new file mode 100644 index 00000000..1677e5d4 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/PointOfInterestProtocol.html @@ -0,0 +1,1679 @@ + + + + PointOfInterestProtocol Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

PointOfInterestProtocol

+
+
+ +
public protocol PointOfInterestProtocol
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
+ + +
+ +

Ordinate +

+
+
+
    +
  • +
    + + + + MarkerShape + +
    +
    +
    +
    +
    +
    +

    A type representing a Shape for displaying a line +as a POI.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    associatedtype MarkerShape : Shape
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Displays a line marking a Point Of Interest.

    + +

    In standard charts this will return a horizontal line. +In horizontal charts this will return a vertical line.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func poiMarker(value: Double, range: Double, minValue: Double) -> MarkerShape
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + +
    + + value + + +
    +

    Value of of the POI.

    +
    +
    + + range + + +
    +

    Difference between the highest and lowest values in the data set.

    +
    +
    + + minValue + + +
    +

    Lowest value in the data set.

    +
    +
    +
    +
    +

    Return Value

    +

    A line shape at a specified point.

    +
    +
    +
    +
  • +
  • +
    + + + + LabelAxis + +
    +
    +
    +
    +
    +
    +

    A type representing a View for displaying a label +as a POI in an axis.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    associatedtype LabelAxis : View
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Displays a label and box that mark a Point Of Interest +in an axis.

    + +

    In standard charts this will display leading or trailing. +In horizontal charts this will display bottom or top.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func poiLabelAxis(markerValue: Double, specifier: String, formatter: NumberFormatter?, labelFont: Font, labelColour: Color, labelBackground: Color, labelBorderColor: Color, customLabelShape: CustomLabelShape?, padding: CGFloat?) -> LabelAxis
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + LabelCenter + +
    +
    +
    +
    +
    +
    +

    A type representing a View for displaying a label +as a POI in the center.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    associatedtype LabelCenter : View
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Displays a label and box that mark a Point Of Interest +in the center.

    + +

    In standard charts this will display leading or trailing. +In horizontal charts this will display bottom or top.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func poiLabelCenter(markerValue: Double, specifier: String, formatter: NumberFormatter?, labelFont: Font, labelColour: Color, labelBackground: Color, labelBorderColor: Color, strokeStyle: StrokeStyle, customLabelShape: CustomLabelShape?, padding: CGFloat?) -> LabelCenter
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + LabelPosition + +
    +
    +
    +
    +
    +
    +

    A type representing a View for displaying a label +as a POI at a relative location from the leading axis.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    associatedtype LabelPosition : View
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Displays a label and box that mark a Point Of Interest +at a relative location from the axis.

    + +

    In standard charts this will display leading or trailing. +In horizontal charts this will display bottom or top.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func poiLabelPosition(location: CGFloat, markerValue: Double, specifier: String, formatter: NumberFormatter?, labelFont: Font, labelColour: Color, labelBackground: Color, labelBorderColor: Color, strokeStyle: StrokeStyle, customLabelShape: CustomLabelShape?, padding: CGFloat?) -> LabelPosition
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Sets the position of the POI Label when it’s over +one of the axes.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func poiValueLabelPositionAxis(frame: CGRect, markerValue: Double, minValue: Double, range: Double) -> CGPoint
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + +
    + + frame + + +
    +

    Size of the chart.

    +
    +
    + + markerValue + + +
    +

    Value of the POI marker.

    +
    +
    + + minValue + + +
    +

    Lowest value in the data set.

    +
    +
    + + range + + +
    +

    Difference between the highest and lowest values in the data set.

    +
    +
    +
    +
    +

    Return Value

    +

    Position of label.

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Sets the position of the POI Label when it’s in +the center of the view.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func poiValueLabelPositionCenter(frame: CGRect, markerValue: Double, minValue: Double, range: Double) -> CGPoint
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + +
    + + frame + + +
    +

    Size of the chart.

    +
    +
    + + markerValue + + +
    +

    Value of the POI marker.

    +
    +
    + + minValue + + +
    +

    Lowest value in the data set.

    +
    +
    + + range + + +
    +

    Difference between the highest and lowest values in the data set.

    +
    +
    +
    +
    +

    Return Value

    +

    Position of label.

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Sets the position of the POI Label when it’s at +a relative location from the leading axis.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func poiValueLabelRelativePosition(frame: CGRect, markerValue: Double, minValue: Double, range: Double) -> CGPoint
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + +
    + + frame + + +
    +

    Size of the chart.

    +
    +
    + + markerValue + + +
    +

    Value of the POI marker.

    +
    +
    + + minValue + + +
    +

    Lowest value in the data set.

    +
    +
    + + range + + +
    +

    Difference between the highest and lowest values in the data set.

    +
    +
    +
    +
    +

    Return Value

    +

    Position of label.

    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Abscissa +

+
+
+
    +
  • +
    + + + + AbscissaMarkerShape + +
    +
    +
    +
    +
    +
    +

    A type representing a Shape for displaying a line +as a POI.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    associatedtype AbscissaMarkerShape : Shape
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Displays a line marking a Point Of Interest.

    + +

    In standard charts this will return a horizontal line. +In horizontal charts this will return a vertical line.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func poiAbscissaMarker(markerValue: Int, dataPointCount: Int) -> AbscissaMarkerShape
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + +
    + + value + + +
    +

    Value of of the POI.

    +
    +
    + + range + + +
    +

    Difference between the highest and lowest values in the data set.

    +
    +
    + + minValue + + +
    +

    Lowest value in the data set.

    +
    +
    +
    +
    +

    Return Value

    +

    A line shape at a specified point.

    +
    +
    +
    +
  • +
  • +
    + + + + AbscissaLabelAxis + +
    +
    +
    +
    +
    +
    +

    A type representing a View for displaying a label +as a POI in an axis.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    associatedtype AbscissaLabelAxis : View
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Displays a label and box that mark a Point Of Interest +in an axis.

    + +

    In standard charts this will display leading or trailing. +In horizontal charts this will display bottom or top.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func poiAbscissaLabelAxis(marker: String, labelFont: Font, labelColour: Color, labelBackground: Color, labelBorderColor: Color, customLabelShape: CustomLabelShape?, padding: CGFloat?) -> AbscissaLabelAxis
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + AbscissaLabelCenter + +
    +
    +
    +
    +
    +
    +

    A type representing a View for displaying a label +as a POI in an axis.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    associatedtype AbscissaLabelCenter : View
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Displays a label and box that mark a Point Of Interest +in an axis.

    + +

    In standard charts this will display leading or trailing. +In horizontal charts this will display bottom or top.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func poiAbscissaLabelCenter(marker: String, labelFont: Font, labelColour: Color, labelBackground: Color, labelBorderColor: Color, strokeStyle: StrokeStyle, customLabelShape: CustomLabelShape?, padding: CGFloat?) -> AbscissaLabelCenter
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + AbscissaLabelPosition + +
    +
    +
    +
    +
    +
    +

    A type representing a View for displaying a label +as a POI at a relative location from the leading axis.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    associatedtype AbscissaLabelPosition : View
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Displays a label and box that mark a Point Of Interest +at a relative location from the leading axis.

    + +

    In standard charts this will display leading or trailing. +In horizontal charts this will display bottom or top.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func poiAbscissaLabelPosition(location: CGFloat, marker: String, labelFont: Font, labelColour: Color, labelBackground: Color, labelBorderColor: Color, strokeStyle: StrokeStyle, customLabelShape: CustomLabelShape?, padding: CGFloat?) -> AbscissaLabelPosition
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Sets the position of the POI Label when it’s over +one of the axes.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func poiAbscissaValueLabelPositionAxis(frame: CGRect, markerValue: Int, count: Int) -> CGPoint
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + +
    + + frame + + +
    +

    Size of the chart.

    +
    +
    + + markerValue + + +
    +

    Value of the POI marker.

    +
    +
    + + minValue + + +
    +

    Lowest value in the data set.

    +
    +
    + + range + + +
    +

    Difference between the highest and lowest values in the data set.

    +
    +
    +
    +
    +

    Return Value

    +

    Position of label.

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Sets the position of the POI Label when it’s in +the center of the view.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func poiAbscissaValueLabelPositionCenter(frame: CGRect, markerValue: Int, count: Int) -> CGPoint
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + +
    + + frame + + +
    +

    Size of the chart.

    +
    +
    + + markerValue + + +
    +

    Value of the POI marker.

    +
    +
    + + minValue + + +
    +

    Lowest value in the data set.

    +
    +
    + + range + + +
    +

    Difference between the highest and lowest values in the data set.

    +
    +
    +
    +
    +

    Return Value

    +

    Position of label.

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Sets the position of the POI Label when it’s at +a relative location from the leading axis.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func poiAbscissaValueLabelRelativePosition(frame: CGRect, markerValue: Int, count: Int) -> CGPoint
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + +
    + + frame + + +
    +

    Size of the chart.

    +
    +
    + + markerValue + + +
    +

    Value of the POI marker.

    +
    +
    + + minValue + + +
    +

    Lowest value in the data set.

    +
    +
    + + range + + +
    +

    Difference between the highest and lowest values in the data set.

    +
    +
    +
    +
    +

    Return Value

    +

    Position of label.

    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/Publishable.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/Publishable.html new file mode 100644 index 00000000..c250ea07 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Protocols/Publishable.html @@ -0,0 +1,654 @@ + + + + Publishable Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

Publishable

+
+
+ +
public protocol Publishable
+ +
+
+

Protocol to enable publishing data streams over the Combine framework

+ +
+
+ +
+
+
+
    +
  • +
    + + + + DataPoint + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    associatedtype DataPoint : CTDataPointBaseProtocol
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + subscription + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var subscription: Set<AnyCancellable> { get set }
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Streams the data points from touch overlay.

    + +

    Uses Combine

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var touchedDataPointPublisher: PassthroughSubject<DataPoint, Never> { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs.html new file mode 100644 index 00000000..8a1beb91 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs.html @@ -0,0 +1,2563 @@ + + + + Structures Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

Structures

+

The following structures are available globally.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + CornerRadius + +
    +
    +
    +
    +
    +
    +

    Corner radius of the bar shape.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct CornerRadius : Hashable
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + BarDataSet + +
    +
    +
    +
    +
    +
    +

    Data set for a bar chart.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct BarDataSet : CTStandardBarChartDataSet, DataFunctionsProtocol
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + GroupedBarDataSets + +
    +
    +
    +
    +
    +
    +

    Main data set for a grouped bar charts.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct GroupedBarDataSets : CTMultiDataSetProtocol, DataFunctionsProtocol
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + GroupedBarDataSet + +
    +
    +
    +
    +
    +
    +

    Individual data sets for grouped bars charts.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct GroupedBarDataSet : CTMultiBarChartDataSet
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + RangedBarDataSet + +
    +
    +
    +
    +
    +
    +

    Data set for ranged bar charts.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct RangedBarDataSet : CTRangedBarChartDataSet, DataFunctionsProtocol
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + StackedBarDataSets + +
    +
    +
    +
    +
    +
    +

    Main data set for a stacked bar chart.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct StackedBarDataSets : CTMultiDataSetProtocol, DataFunctionsProtocol
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + StackedBarDataSet + +
    +
    +
    +
    +
    +
    +

    Individual data sets for stacked bars charts.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct StackedBarDataSet : CTMultiBarChartDataSet
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + BarChartDataPoint + +
    +
    +
    +
    +
    +
    +

    Data for a single bar chart data point.

    + +

    Colour can be solid or gradient.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct BarChartDataPoint : CTStandardBarDataPoint
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + GroupedBarDataPoint + +
    +
    +
    +
    +
    +
    +

    Data for a single grouped bar chart data point.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct GroupedBarDataPoint : CTMultiBarDataPoint
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + RangedBarDataPoint + +
    +
    +
    +
    +
    +
    +

    Data for a single ranged bar chart data point.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct RangedBarDataPoint : CTRangedBarDataPoint
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + StackedBarDataPoint + +
    +
    +
    +
    +
    +
    +

    Data for a single stacked chart data point.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct StackedBarDataPoint : CTMultiBarDataPoint
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + GroupingData + +
    +
    +
    +
    +
    +
    +

    Model for grouping data points together so they can be drawn in the correct groupings.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct GroupingData : CTBarColourProtocol, Hashable, Identifiable
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + BarChartStyle + +
    +
    +
    +
    +
    +
    +

    Control of the overall aesthetic of the bar chart.

    + +

    Controls the look of the chart as a whole, not including any styling +specific to the data set(s),

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct BarChartStyle : CTBarChartStyle
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + BarStyle + +
    +
    +
    +
    +
    +
    +

    Model for controlling the aesthetic of the bars.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct BarStyle : CTBarStyle
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + BarChart + +
    +
    +
    +
    +
    +
    +

    View for creating a bar chart.

    + +

    Uses BarChartData data model.

    +

    Declaration

    +
    BarChart(chartData: data)
    +
    +

    View Modifiers

    + +

    The order of the view modifiers is some what important +as the modifiers are various types for stacks that wrap +around the previous views.

    +
    .touchOverlay(chartData: data)
    +.averageLine(chartData: data,
    +             strokeStyle: StrokeStyle(lineWidth: 3,dash: [5,10]))
    +.yAxisPOI(chartData: data,
    +          markerName: "50",
    +          markerValue: 50,
    +          lineColour: Color.blue,
    +          strokeStyle: StrokeStyle(lineWidth: 3, dash: [5,10]))
    +.xAxisGrid(chartData: data)
    +.yAxisGrid(chartData: data)
    +.xAxisLabels(chartData: data)
    +.yAxisLabels(chartData: data)
    +.infoBox(chartData: data)
    +.floatingInfoBox(chartData: data)
    +.headerBox(chartData: data)
    +.legends(chartData: data)
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct BarChart<ChartData> : View where ChartData : BarChartData
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + GroupedBarChart + +
    +
    +
    +
    +
    +
    +

    View for creating a grouped bar chart.

    + +

    Uses GroupedBarChartData data model.

    +

    Declaration

    +
    GroupedBarChart(chartData: data, groupSpacing: 25)
    +
    +

    View Modifiers

    + +

    The order of the view modifiers is some what important +as the modifiers are various types for stacks that wrap +around the previous views.

    +
    .touchOverlay(chartData: data)
    +.averageLine(chartData: data,
    +strokeStyle: StrokeStyle(lineWidth: 3,dash: [5,10]))
    +.yAxisPOI(chartData: data,
    +          markerName: "50",
    +          markerValue: 50,
    +          lineColour: Color.blue,
    +          strokeStyle: StrokeStyle(lineWidth: 3, dash: [5,10]))
    +.xAxisGrid(chartData: data)
    +.yAxisGrid(chartData: data)
    +.xAxisLabels(chartData: data)
    +.yAxisLabels(chartData: data)
    +.infoBox(chartData: data)
    +.floatingInfoBox(chartData: data)
    +.headerBox(chartData: data)
    +.legends(chartData: data)
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct GroupedBarChart<ChartData> : View where ChartData : GroupedBarChartData
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + HorizontalBarChart + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct HorizontalBarChart<ChartData> : View where ChartData : HorizontalBarChartData
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + RangedBarChart + +
    +
    +
    +
    +
    +
    +

    View for creating a grouped bar chart.

    + +

    Uses RangedBarChartData data model.

    +

    Declaration

    +
    RangedBarChart(chartData: data)
    +
    +

    View Modifiers

    + +

    The order of the view modifiers is some what important +as the modifiers are various types for stacks that wrap +around the previous views.

    +
    .touchOverlay(chartData: data)
    +.averageLine(chartData: data,
    +             strokeStyle: StrokeStyle(lineWidth: 3,dash: [5,10]))
    +.yAxisPOI(chartData: data,
    +          markerName: "50",
    +          markerValue: 50,
    +          lineColour: Color.blue,
    +          strokeStyle: StrokeStyle(lineWidth: 3, dash: [5,10]))
    +.xAxisGrid(chartData: data)
    +.yAxisGrid(chartData: data)
    +.xAxisLabels(chartData: data)
    +.yAxisLabels(chartData: data)
    +.infoBox(chartData: data)
    +.floatingInfoBox(chartData: data)
    +.headerBox(chartData: data)
    +.legends(chartData: data)
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct RangedBarChart<ChartData> : View where ChartData : RangedBarChartData
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + StackedBarChart + +
    +
    +
    +
    +
    +
    +

    View for creating a stacked bar chart.

    + +

    Uses StackedBarChartData data model.

    +

    Declaration

    +
    StackedBarChart(chartData: data)
    +
    +

    View Modifiers

    + +

    The order of the view modifiers is some what important +as the modifiers are various types for stacks that wrap +around the previous views.

    +
    .touchOverlay(chartData: data)
    +.averageLine(chartData: data,
    +             strokeStyle: StrokeStyle(lineWidth: 3,dash: [5,10]))
    +.yAxisPOI(chartData: data,
    +          markerName: "50",
    +          markerValue: 50,
    +          lineColour: Color.blue,
    +          strokeStyle: StrokeStyle(lineWidth: 3, dash: [5,10]))
    +.xAxisGrid(chartData: data)
    +.yAxisGrid(chartData: data)
    +.xAxisLabels(chartData: data)
    +.yAxisLabels(chartData: data)
    +.infoBox(chartData: data)
    +.floatingInfoBox(chartData: data)
    +.headerBox(chartData: data)
    +.legends(chartData: data)
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct StackedBarChart<ChartData> : View where ChartData : StackedBarChartData
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + LineChartDataPoint + +
    +
    +
    +
    +
    +
    +

    Data for a single data point.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct LineChartDataPoint : CTStandardLineDataPoint, IgnoreMe
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Data for a single ranged data point.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct RangedLineChartDataPoint : CTRangedLineDataPoint, IgnoreMe
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + LineDataSet + +
    +
    +
    +
    +
    +
    +

    Data set for a single line

    + +

    Contains information specific to each line within the chart .

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct LineDataSet : CTLineChartDataSet, DataFunctionsProtocol
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + MultiLineDataSet + +
    +
    +
    +
    +
    +
    +

    Data set containing multiple data sets for multiple lines

    + +

    Contains information about each of lines within the chart.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct MultiLineDataSet : CTMultiLineChartDataSet, DataFunctionsProtocol
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + RangedLineDataSet + +
    +
    +
    +
    +
    +
    +

    Data set for a ranged line.

    + +

    Contains information specific to the line and range fill.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct RangedLineDataSet : CTRangedLineChartDataSet, DataFunctionsProtocol
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + LineChartStyle + +
    +
    +
    +
    +
    +
    +

    Control of the overall aesthetic of the line chart.

    + +

    Controls the look of the chart as a whole, not including any styling +specific to the data set(s),

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct LineChartStyle : CTLineChartStyle
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + LineStyle + +
    +
    +
    +
    +
    +
    +

    Model for controlling the styling for individual lines.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct LineStyle : CTLineStyle, Hashable
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + PointStyle + +
    +
    +
    +
    +
    +
    +

    Model for controlling the aesthetic of the point markers.

    + +

    Point markers are placed on top of the line, marking where the data points are.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct PointStyle : Hashable
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + PointColour + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct PointColour : Hashable
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + RangedLineStyle + +
    +
    +
    +
    +
    +
    +

    Model for controlling the aesthetic of the ranged line chart.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct RangedLineStyle : CTRangedLineStyle, Hashable
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + FilledLineChart + +
    +
    +
    +
    +
    +
    +

    View for creating a filled line chart.

    + +

    Uses LineChartData data model.

    +

    Declaration

    +
    FilledLineChart(chartData: data)
    +
    +

    View Modifiers

    + +

    The order of the view modifiers is some what important +as the modifiers are various types for stacks that wrap +around the previous views.

    +
    .touchOverlay(chartData: data)
    +.pointMarkers(chartData: data)
    +.averageLine(chartData: data,
    +             strokeStyle: StrokeStyle(lineWidth: 3,dash: [5,10]))
    +.yAxisPOI(chartData: data,
    +          markerName: "50",
    +          markerValue: 50,
    +          lineColour: Color.blue,
    +          strokeStyle: StrokeStyle(lineWidth: 3, dash: [5,10]))
    +.xAxisGrid(chartData: data)
    +.yAxisGrid(chartData: data)
    +.xAxisLabels(chartData: data)
    +.yAxisLabels(chartData: data)
    +.infoBox(chartData: data)
    +.floatingInfoBox(chartData: data)
    +.headerBox(chartData: data)
    +.legends(chartData: data)
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct FilledLineChart<ChartData> : View where ChartData : LineChartData
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + LineChart + +
    +
    +
    +
    +
    +
    +

    View for drawing a line chart.

    + +

    Uses LineChartData data model.

    +

    Declaration

    +
    LineChart(chartData: data)
    +
    +

    View Modifiers

    + +

    The order of the view modifiers is some what important +as the modifiers are various types for stacks that wrap +around the previous views.

    +
    .pointMarkers(chartData: data)
    +.touchOverlay(chartData: data, specifier: "%.0f")
    +.yAxisPOI(chartData: data,
    +          markerName: "Something",
    +          markerValue: 110,
    +          labelPosition: .center(specifier: "%.0f"),
    +          labelColour: Color.white,
    +          labelBackground: Color.blue,
    +          lineColour: Color.blue,
    +          strokeStyle: StrokeStyle(lineWidth: 3, dash: [5,10]))
    +.averageLine(chartData: data,
    +             strokeStyle: StrokeStyle(lineWidth: 3, dash: [5,10]))
    +.xAxisGrid(chartData: data)
    +.yAxisGrid(chartData: data)
    +.xAxisLabels(chartData: data)
    +.yAxisLabels(chartData: data)
    +.infoBox(chartData: data)
    +.floatingInfoBox(chartData: data)
    +.headerBox(chartData: data)
    +.legends(chartData: data, columns: [GridItem(.flexible()), GridItem(.flexible())])
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct LineChart<ChartData> : View where ChartData : LineChartData
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + MultiLineChart + +
    +
    +
    +
    +
    +
    +

    View for drawing a multi-line, line chart.

    + +

    Uses MultiLineChartData data model.

    +

    Declaration

    +
    MultiLineChart(chartData: data)
    +
    +

    View Modifiers

    + +

    The order of the view modifiers is some what important +as the modifiers are various types for stacks that wrap +around the previous views.

    +
    .touchOverlay(chartData: data)
    +.pointMarkers(chartData: data)
    +.averageLine(chartData: data,
    +             strokeStyle: StrokeStyle(lineWidth: 3, dash: [5,10]))
    +.yAxisPOI(chartData: data,
    +          markerName: "50",
    +          markerValue: 50,
    +          lineColour: Color.blue,
    +          strokeStyle: StrokeStyle(lineWidth: 3, dash: [5,10]))
    +.xAxisGrid(chartData: data)
    +.yAxisGrid(chartData: data)
    +.xAxisLabels(chartData: data)
    +.yAxisLabels(chartData: data)
    +.infoBox(chartData: data)
    +.floatingInfoBox(chartData: data)
    +.headerBox(chartData: data)
    +.legends(chartData: data)
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct MultiLineChart<ChartData> : View where ChartData : MultiLineChartData
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + RangedLineChart + +
    +
    +
    +
    +
    +
    +

    View for drawing a line chart with upper and lower range values .

    + +

    Uses RangedLineChartData data model.

    +

    Declaration

    +
    RangedLineChart(chartData: data)
    +
    +

    View Modifiers

    + +

    The order of the view modifiers is some what important +as the modifiers are various types for stacks that wrap +around the previous views.

    +
    .pointMarkers(chartData: data)
    +.touchOverlay(chartData: data, specifier: "%.0f")
    +.yAxisPOI(chartData: data,
    +          markerName: "Something",
    +          markerValue: 110,
    +          labelPosition: .center(specifier: "%.0f"),
    +          labelColour: Color.white,
    +          labelBackground: Color.blue,
    +          lineColour: Color.blue,
    +          strokeStyle: StrokeStyle(lineWidth: 3, dash: [5,10]))
    +.averageLine(chartData: data,
    +             strokeStyle: StrokeStyle(lineWidth: 3, dash: [5,10]))
    +.xAxisGrid(chartData: data)
    +.yAxisGrid(chartData: data)
    +.xAxisLabels(chartData: data)
    +.yAxisLabels(chartData: data)
    +.infoBox(chartData: data)
    +.floatingInfoBox(chartData: data)
    +.headerBox(chartData: data)
    +.legends(chartData: data, columns: [GridItem(.flexible()), GridItem(.flexible())])
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct RangedLineChart<ChartData> : View where ChartData : RangedLineChartData
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + DotStyle + +
    +
    +
    +
    +
    +
    +

    Styling of the dot that follows the line on touch events.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct DotStyle
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + PieChartDataPoint + +
    +
    +
    +
    +
    +
    +

    Data for a single segement of a pie chart.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct PieChartDataPoint : CTPieDataPoint
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + PieDataSet + +
    +
    +
    +
    +
    +
    +

    Data set for a pie chart.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct PieDataSet : CTSingleDataSetProtocol
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + DoughnutChartStyle + +
    +
    +
    +
    +
    +
    +

    Model for controlling the overall aesthetic of the chart.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct DoughnutChartStyle : CTDoughnutChartStyle
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + PieChartStyle + +
    +
    +
    +
    +
    +
    +

    Model for controlling the overall aesthetic of the chart.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct PieChartStyle : CTPieChartStyle
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + DoughnutChart + +
    +
    +
    +
    +
    +
    +

    View for creating a doughnut chart.

    + +

    Uses DoughnutChartData data model.

    +

    Declaration

    +
    DoughnutChart(chartData: data)
    +
    +

    View Modifiers

    + +

    The order of the view modifiers is some what important +as the modifiers are various types for stacks that wrap +around the previous views.

    +
    .touchOverlay(chartData: data)
    +.infoBox(chartData: data)
    +.floatingInfoBox(chartData: data)
    +.headerBox(chartData: data)
    +.legends(chartData: data)
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct DoughnutChart<ChartData> : View where ChartData : DoughnutChartData
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + PieChart + +
    +
    +
    +
    +
    +
    +

    View for creating a pie chart.

    + +

    Uses PieChartData data model.

    +

    Declaration

    +
    PieChart(chartData: data)
    +
    +

    View Modifiers

    + +

    The order of the view modifiers is some what important +as the modifiers are various types for stacks that wrap +around the previous views.

    +
    .touchOverlay(chartData: data)
    +.infoBox(chartData: data)
    +.floatingInfoBox(chartData: data)
    +.headerBox(chartData: data)
    +.legends(chartData: data)
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct PieChart<ChartData> : View where ChartData : PieChartData
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + InfoValue + +
    +
    +
    +
    +
    +
    +

    Displays the data points value with the unit.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct InfoValue<T> : View where T : CTChartData
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + InfoDescription + +
    +
    +
    +
    +
    +
    +

    Displays the data points description.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct InfoDescription<T> : View where T : CTChartData
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + InfoExtra + +
    +
    +
    +
    +
    +
    +

    Option the as a String between the Value and the Description.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct InfoExtra<T> : View where T : CTChartData
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + LegendData + +
    +
    +
    +
    +
    +
    +

    Data model to hold data for Legends

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct LegendData : Hashable, Identifiable
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + ChartMetadata + +
    +
    +
    +
    +
    +
    +

    Data model for the chart’s metadata

    + +

    Contains the Title, Subtitle and colour information for them.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct ChartMetadata
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + ColourStyle + +
    +
    +
    +
    +
    +
    +

    Model for setting up colour styling.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct ColourStyle : CTColourStyle, Hashable
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + InfoViewData + +
    +
    +
    +
    +
    +
    +

    Data model to pass view information internally for the InfoBox, FloatingInfoBox and HeaderBox.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct InfoViewData<DP> where DP : CTDataPointBaseProtocol
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + GradientStop + +
    +
    +
    +
    +
    +
    +

    A mediator for Gradient.Stop to allow it to be stored in LegendData.

    + +

    Gradient.Stop doesn’t conform to Hashable.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct GradientStop : Hashable
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Stroke + +
    +
    +
    +
    +
    +
    +

    A hashable version of StrokeStyle

    + +

    StrokeStyle doesn’t conform to Hashable.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct Stroke : Hashable, Identifiable
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + CustomNoDataView + +
    +
    +
    +
    +
    +
    +

    View to display text if there is not enough data to draw the chart.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct CustomNoDataView<T> : View where T : CTChartData
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + ChartViewData + +
    +
    +
    +
    +
    +
    +

    Data model to pass view information internally so the layout can configure its self.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct ChartViewData
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + ExtraLineData + +
    +
    +
    +
    +
    +
    +

    Data for drawing and styling the Extra Line view modifier.

    + +

    This model contains the data and styling information for a single line, line chart.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct ExtraLineData : Identifiable
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + ExtraLineDataPoint + +
    +
    +
    +
    +
    +
    +

    Data point for Extra line View Modifier.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct ExtraLineDataPoint : Hashable, Identifiable
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + GridStyle + +
    +
    +
    +
    +
    +
    +

    Control for the look of the Grid

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct GridStyle
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + DiamondShape + +
    +
    +
    +
    +
    +
    +

    Shape used in POI Markers when displaying value in the center.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct DiamondShape : Shape
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Ordinate +

+
+
+
    +
  • +
    + + + + CustomLabelShape + +
    +
    +
    +
    +
    +
    +

    Custom Label Shape used in POI Markers when displaying POI values.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct CustomLabelShape : Shape
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + LeadingLabelShape + +
    +
    +
    +
    +
    +
    +

    Shape used in POI Markers when displaying value in the Y axis labels on the leading edge.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct LeadingLabelShape : Shape
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + TrailingLabelShape + +
    +
    +
    +
    +
    +
    +

    Shape used in POI Markers when displaying value in the Y axis labels on the trailing edge.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct TrailingLabelShape : Shape
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + BottomLabelShape + +
    +
    +
    +
    +
    +
    +

    Shape used in POI Markers when displaying value in the X axis labels on the bottom edge.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct BottomLabelShape : Shape
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + TopLabelShape + +
    +
    +
    +
    +
    +
    +

    Shape used in POI Markers when displaying value in the X axis labels on the top edge.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct TopLabelShape : Shape
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + ExtraLineStyle + +
    +
    +
    +
    +
    +
    +

    Control of the styling of the Extra Line.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct ExtraLineStyle
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/BarChart.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/BarChart.html new file mode 100644 index 00000000..493d8c3d --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/BarChart.html @@ -0,0 +1,670 @@ + + + + BarChart Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

BarChart

+
+
+ +
public struct BarChart<ChartData> : View where ChartData : BarChartData
+ +
+
+

View for creating a bar chart.

+ +

Uses BarChartData data model.

+

Declaration

+
BarChart(chartData: data)
+
+

View Modifiers

+ +

The order of the view modifiers is some what important +as the modifiers are various types for stacks that wrap +around the previous views.

+
.touchOverlay(chartData: data)
+.averageLine(chartData: data,
+             strokeStyle: StrokeStyle(lineWidth: 3,dash: [5,10]))
+.yAxisPOI(chartData: data,
+          markerName: "50",
+          markerValue: 50,
+          lineColour: Color.blue,
+          strokeStyle: StrokeStyle(lineWidth: 3, dash: [5,10]))
+.xAxisGrid(chartData: data)
+.yAxisGrid(chartData: data)
+.xAxisLabels(chartData: data)
+.yAxisLabels(chartData: data)
+.infoBox(chartData: data)
+.floatingInfoBox(chartData: data)
+.headerBox(chartData: data)
+.legends(chartData: data)
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + init(chartData:) + +
    +
    +
    +
    +
    +
    +

    Initialises a bar chart view.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(chartData: ChartData)
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + chartData + + +
    +

    Must be BarChartData model.

    +
    +
    +
    +
    +
    +
  • +
  • +
    + + + + body + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var body: some View { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/BarChartDataPoint.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/BarChartDataPoint.html new file mode 100644 index 00000000..5d6bf84e --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/BarChartDataPoint.html @@ -0,0 +1,894 @@ + + + + BarChartDataPoint Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

BarChartDataPoint

+
+
+ +
public struct BarChartDataPoint : CTStandardBarDataPoint
+ +
+
+

Data for a single bar chart data point.

+ +

Colour can be solid or gradient.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + id + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let id: UUID
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + value + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var value: Double
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + xAxisLabel + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var xAxisLabel: String?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + description + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var description: String?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + date + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var date: Date?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + colour + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var colour: ColourStyle
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + legendTag + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var legendTag: String
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Single colour +

+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Data model for a single data point with colour for use with a bar chart.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    value: Double,
    +    xAxisLabel: String? = nil,
    +    description: String? = nil,
    +    date: Date? = nil,
    +    colour: ColourStyle = ColourStyle(colour: .red)
    +)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + + + +
    + + value + + +
    +

    Value of the data point.

    +
    +
    + + xAxisLabel + + +
    +

    Label that can be shown on the X axis.

    +
    +
    + + description + + +
    +

    A longer label that can be shown on touch input.

    +
    +
    + + date + + +
    +

    Date of the data point if any data based calculations are required.

    +
    +
    + + colour + + +
    +

    Colour styling for the fill.

    +
    +
    +
    +
    +
    +
  • +
  • +
    + + + + ID + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias ID = UUID
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/BarChartStyle.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/BarChartStyle.html new file mode 100644 index 00000000..b4d67c68 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/BarChartStyle.html @@ -0,0 +1,1843 @@ + + + + BarChartStyle Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

BarChartStyle

+
+
+ +
public struct BarChartStyle : CTBarChartStyle
+ +
+
+

Control of the overall aesthetic of the bar chart.

+ +

Controls the look of the chart as a whole, not including any styling +specific to the data set(s),

+ +
+
+ +
+
+
+
    +
  • +
    + + + + infoBoxPlacement + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var infoBoxPlacement: InfoBoxPlacement
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var infoBoxContentAlignment: InfoBoxAlignment
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + infoBoxValueFont + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var infoBoxValueFont: Font
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + infoBoxValueColour + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var infoBoxValueColour: Color
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var infoBoxDescriptionFont: Font
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var infoBoxDescriptionColour: Color
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var infoBoxBackgroundColour: Color
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + infoBoxBorderColour + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var infoBoxBorderColour: Color
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + infoBoxBorderStyle + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var infoBoxBorderStyle: StrokeStyle
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + markerType + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var markerType: BarMarkerType
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + xAxisGridStyle + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var xAxisGridStyle: GridStyle
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + xAxisLabelPosition + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var xAxisLabelPosition: XAxisLabelPosistion
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + xAxisLabelFont + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var xAxisLabelFont: Font
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + xAxisLabelColour + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var xAxisLabelColour: Color
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + xAxisLabelsFrom + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var xAxisLabelsFrom: LabelsFrom
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + xAxisTitle + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var xAxisTitle: String?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + xAxisTitleFont + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var xAxisTitleFont: Font
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + xAxisTitleColour + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var xAxisTitleColour: Color
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + xAxisBorderColour + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var xAxisBorderColour: Color?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + yAxisGridStyle + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var yAxisGridStyle: GridStyle
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + yAxisLabelPosition + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var yAxisLabelPosition: YAxisLabelPosistion
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + yAxisLabelFont + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var yAxisLabelFont: Font
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + yAxisLabelColour + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var yAxisLabelColour: Color
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + yAxisNumberOfLabels + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var yAxisNumberOfLabels: Int
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + yAxisLabelType + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var yAxisLabelType: YAxisLabelType
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + yAxisTitle + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var yAxisTitle: String?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + yAxisTitleFont + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var yAxisTitleFont: Font
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + yAxisTitleColour + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var yAxisTitleColour: Color
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + yAxisBorderColour + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var yAxisBorderColour: Color?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + baseline + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var baseline: Baseline
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + topLine + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var topLine: Topline
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + globalAnimation + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var globalAnimation: Animation
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Model for controlling the overall aesthetic of the Bar Chart.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    infoBoxPlacement: InfoBoxPlacement  = .floating,
    +    infoBoxContentAlignment: InfoBoxAlignment  = .vertical,
    +    
    +    infoBoxValueFont: Font = .title3,
    +    infoBoxValueColour: Color = Color.primary,
    +    
    +    infoBoxDescriptionFont: Font = .caption,
    +    infoBoxDescriptionColour: Color = Color.primary,
    +    
    +    infoBoxBackgroundColour: Color = Color.systemsBackground,
    +    infoBoxBorderColour: Color = Color.clear,
    +    infoBoxBorderStyle: StrokeStyle = StrokeStyle(lineWidth: 0),
    +    
    +    markerType: BarMarkerType = .full(),
    +    
    +    xAxisGridStyle: GridStyle = GridStyle(),
    +    
    +    xAxisLabelPosition: XAxisLabelPosistion = .bottom,
    +    xAxisLabelFont: Font = .caption,
    +    xAxisLabelColour: Color = Color.primary,
    +    xAxisLabelsFrom: LabelsFrom = .dataPoint(rotation: .degrees(0)),
    +    
    +    xAxisTitle: String? = nil,
    +    xAxisTitleFont: Font = .caption,
    +    xAxisTitleColour: Color = .primary,
    +    
    +    yAxisGridStyle: GridStyle = GridStyle(),
    +    
    +    yAxisLabelPosition: YAxisLabelPosistion = .leading,
    +    yAxisLabelFont: Font = .caption,
    +    yAxisLabelColour: Color = Color.primary,
    +    yAxisNumberOfLabels: Int = 10,
    +    yAxisLabelType: YAxisLabelType = .numeric,
    +    
    +    yAxisTitle: String? = nil,
    +    yAxisTitleFont: Font = .caption,
    +    yAxisTitleColour: Color = .primary,
    +    
    +    baseline: Baseline = .minimumValue,
    +    topLine: Topline = .maximumValue,
    +    
    +    globalAnimation: Animation = Animation.linear(duration: 1)
    +)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + infoBoxPlacement + + +
    +

    Placement of the information box that appears on touch input.

    +
    +
    + + infoBoxContentAlignment + + +
    +

    Alignment of the content inside of the information box

    +
    +
    + + infoBoxValueFont + + +
    +

    Font for the value part of the touch info.

    +
    +
    + + infoBoxValueColour + + +
    +

    Colour of the value part of the touch info.

    +
    +
    + + infoBoxDescriptionFont + + +
    +

    Font for the description part of the touch info.

    +
    +
    + + infoBoxDescriptionColour + + +
    +

    Colour of the description part of the touch info.

    +
    +
    + + infoBoxBackgroundColour + + +
    +

    Background colour of touch info.

    +
    +
    + + infoBoxBorderColour + + +
    +

    Border colour of the touch info.

    +
    +
    + + infoBoxBorderStyle + + +
    +

    Border style of the touch info.

    +
    +
    + + markerType + + +
    +

    Where the marker lines come from to meet at a specified point.

    +
    +
    + + xAxisGridStyle + + +
    +

    Style of the vertical lines breaking up the chart.

    +
    +
    + + xAxisLabelPosition + + +
    +

    Location of the X axis labels - Top or Bottom.

    +
    +
    + + xAxisLabelFont + + +
    +

    Font of the labels on the X axis.

    +
    +
    + + xAxisLabelsFrom + + +
    +

    Where the label data come from. DataPoint or xAxisLabels.

    +
    +
    + + xAxisLabelColour + + +
    +

    Text Colour for the labels on the X axis.

    +
    +
    + + xAxisTitle + + +
    +

    Label to display next to the chart giving info about the axis.

    +
    +
    + + xAxisTitleFont + + +
    +

    Font of the x axis title.

    +
    +
    + + xAxisTitleColour + + +
    +

    Colour of the x axis title.

    +
    +
    + + yAxisGridStyle + + +
    +

    Style of the horizontal lines breaking up the chart.

    +
    +
    + + yAxisLabelPosition + + +
    +

    Location of the X axis labels - Leading or Trailing.

    +
    +
    + + yAxisLabelFont + + +
    +

    Font of the labels on the Y axis.

    +
    +
    + + yAxisLabelColour + + +
    +

    Text Colour for the labels on the Y axis.

    +
    +
    + + yAxisNumberOfLabels + + +
    +

    Number Of Labels on Y Axis.

    +
    +
    + + yAxisLabelType + + +
    +

    Option to choose between auto generated, numeric labels or custum array of strings.

    +
    +
    + + yAxisTitle + + +
    +

    Label to display next to the chart giving info about the axis.

    +
    +
    + + yAxisTitleFont + + +
    +

    Font of the y axis title.

    +
    +
    + + yAxisTitleColour + + +
    +

    Colour of the y axis title.

    +
    +
    + + baseline + + +
    +

    Whether the chart is drawn from baseline of zero or the minimum datapoint value.

    +
    +
    + + topLine + + +
    +

    Where to finish drawing the chart from. Data set maximum or custom.

    +
    +
    + + globalAnimation + + +
    +

    Global control of animations.

    +
    +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/BarDataSet.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/BarDataSet.html new file mode 100644 index 00000000..a5546922 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/BarDataSet.html @@ -0,0 +1,762 @@ + + + + BarDataSet Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

BarDataSet

+
+
+ +
public struct BarDataSet : CTStandardBarChartDataSet, DataFunctionsProtocol
+ +
+
+

Data set for a bar chart.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + id + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let id: UUID
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + dataPoints + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var dataPoints: [BarChartDataPoint]
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + legendTitle + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var legendTitle: String
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Initialises a new data set for standard Bar Charts.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    dataPoints: [BarChartDataPoint],
    +    legendTitle: String = ""
    +)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + +
    + + dataPoints + + +
    +

    Array of elements.

    +
    +
    + + legendTitle + + +
    +

    label for the data in legend.

    +
    +
    +
    +
    +
    +
  • +
  • +
    + + + + ID + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias ID = UUID
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + DataPoint + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias DataPoint = BarChartDataPoint
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/BarStyle.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/BarStyle.html new file mode 100644 index 00000000..b99a6c72 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/BarStyle.html @@ -0,0 +1,775 @@ + + + + BarStyle Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

BarStyle

+
+
+ +
public struct BarStyle : CTBarStyle
+ +
+
+

Model for controlling the aesthetic of the bars.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + barWidth + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var barWidth: CGFloat
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + cornerRadius + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var cornerRadius: CornerRadius
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + colourFrom + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var colourFrom: ColourFrom
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + colour + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var colour: ColourStyle
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Single colour +

+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Bar Chart with single colour

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    barWidth: CGFloat = 1,
    +    cornerRadius: CornerRadius = CornerRadius(top: 5.0, bottom: 0.0),
    +    colourFrom: ColourFrom = .barStyle,
    +    colour: ColourStyle = ColourStyle(colour: .red)
    +)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + +
    + + barWidth + + +
    +

    How much of the available width to use. 0…1

    +
    +
    + + cornerRadius + + +
    +

    Corner radius of the bar shape.

    +
    +
    + + colourFrom + + +
    +

    Where to get the colour data from.

    +
    +
    + + colour + + +
    +

    Set up colour styling.

    +
    +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/BottomLabelShape.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/BottomLabelShape.html new file mode 100644 index 00000000..c2adb367 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/BottomLabelShape.html @@ -0,0 +1,597 @@ + + + + BottomLabelShape Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

BottomLabelShape

+
+
+ +
public struct BottomLabelShape : Shape
+ +
+
+

Shape used in POI Markers when displaying value in the X axis labels on the bottom edge.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + path(in:) + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func path(in rect: CGRect) -> Path
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/ChartMetadata.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/ChartMetadata.html new file mode 100644 index 00000000..84cb3e75 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/ChartMetadata.html @@ -0,0 +1,848 @@ + + + + ChartMetadata Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

ChartMetadata

+
+
+ +
public struct ChartMetadata
+ +
+
+

Data model for the chart’s metadata

+ +

Contains the Title, Subtitle and colour information for them.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + title + +
    +
    +
    +
    +
    +
    +

    The charts title

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var title: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + titleFont + +
    +
    +
    +
    +
    +
    +

    Font of the title

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var titleFont: Font
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + titleColour + +
    +
    +
    +
    +
    +
    +

    Color of the title

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var titleColour: Color
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + subtitle + +
    +
    +
    +
    +
    +
    +

    The charts subtitle

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var subtitle: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + subtitleFont + +
    +
    +
    +
    +
    +
    +

    Font of the subtitle

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var subtitleFont: Font
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + subtitleColour + +
    +
    +
    +
    +
    +
    +

    Color of the subtitle

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var subtitleColour: Color
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Model to hold the metadata for the chart.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    title: String = "",
    +    subtitle: String = "",
    +    titleFont: Font = .title3,
    +    titleColour: Color = Color.primary,
    +    subtitleFont: Font = .subheadline,
    +    subtitleColour: Color = Color.primary
    +)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + title + + +
    +

    The charts title.

    +
    +
    + + subtitle + + +
    +

    The charts subtitle.

    +
    +
    + + titleFont + + +
    +

    Font of the title.

    +
    +
    + + titleColour + + +
    +

    Color of the title.

    +
    +
    + + subtitleFont + + +
    +

    Font of the subtitle.

    +
    +
    + + subtitleColour + + +
    +

    Color of the subtitle.

    +
    +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/ColourStyle.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/ColourStyle.html new file mode 100644 index 00000000..52fedd6d --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/ColourStyle.html @@ -0,0 +1,960 @@ + + + + ColourStyle Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

ColourStyle

+
+
+ +
public struct ColourStyle : CTColourStyle, Hashable
+ +
+
+

Model for setting up colour styling.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + colourType + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var colourType: ColourType
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + colour + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var colour: Color?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + colours + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var colours: [Color]?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + stops + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var stops: [GradientStop]?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + startPoint + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var startPoint: UnitPoint?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + endPoint + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var endPoint: UnitPoint?
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Single colour +

+
+
+
    +
  • +
    + + + + init(colour:) + +
    +
    +
    +
    +
    +
    +

    Single Colour

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(colour: Color = Color(.red))
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + colour + + +
    +

    Single Colour

    +
    +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Gradient colour +

+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Gradient Colour Line

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    colours: [Color] =  [Color(.red), Color(.blue)],
    +    startPoint: UnitPoint =  .leading,
    +    endPoint: UnitPoint =  .trailing
    +)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + +
    + + colours + + +
    +

    Colours for Gradient.

    +
    +
    + + startPoint + + +
    +

    Start point for Gradient.

    +
    +
    + + endPoint + + +
    +

    End point for Gradient.

    +
    +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Gradient with stops +

+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Gradient with Stops Line

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    stops: [GradientStop] = [GradientStop(color: Color(.red), location: 0.0)],
    +    startPoint: UnitPoint = .leading,
    +    endPoint: UnitPoint = .trailing
    +)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + +
    + + stops + + +
    +

    Colours and Stops for Gradient with stop control.

    +
    +
    + + startPoint + + +
    +

    Start point for Gradient.

    +
    +
    + + endPoint + + +
    +

    End point for Gradient.

    +
    +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/CornerRadius.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/CornerRadius.html new file mode 100644 index 00000000..3dbb1875 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/CornerRadius.html @@ -0,0 +1,771 @@ + + + + CornerRadius Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

CornerRadius

+
+
+ +
public struct CornerRadius : Hashable
+ +
+
+

Corner radius of the bar shape.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + topLeft + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let topLeft: CGFloat
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + topRight + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let topRight: CGFloat
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + bottomLeft + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let bottomLeft: CGFloat
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + bottomRight + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let bottomRight: CGFloat
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(top:bottom:) + +
    +
    +
    +
    +
    +
    +

    Set the coner radius for the bar shapes for top and bottom

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    top: CGFloat = 15.0,
    +    bottom: CGFloat = 0.0
    +)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(left:right:) + +
    +
    +
    +
    +
    +
    +

    Set the coner radius for the bar shapes for left and right

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    left: CGFloat = 0.0,
    +    right: CGFloat = 0.0
    +)
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Set the coner radius for the bar shapes for all corners

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    topLeft: CGFloat = 0,
    +    topRight: CGFloat = 0,
    +    bottomLeft: CGFloat = 0,
    +    bottomRight: CGFloat = 0
    +)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/CustomLabelShape.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/CustomLabelShape.html new file mode 100644 index 00000000..d1cec4cb --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/CustomLabelShape.html @@ -0,0 +1,624 @@ + + + + CustomLabelShape Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

CustomLabelShape

+
+
+ +
public struct CustomLabelShape : Shape
+ +
+
+

Custom Label Shape used in POI Markers when displaying POI values.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + init(_:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init<S>(_ wrapped: S) where S : Shape
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + path(in:) + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func path(in rect: CGRect) -> Path
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/CustomNoDataView.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/CustomNoDataView.html new file mode 100644 index 00000000..471d8c59 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/CustomNoDataView.html @@ -0,0 +1,597 @@ + + + + CustomNoDataView Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

CustomNoDataView

+
+
+ +
public struct CustomNoDataView<T> : View where T : CTChartData
+ +
+
+

View to display text if there is not enough data to draw the chart.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + body + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var body: some View { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/DiamondShape.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/DiamondShape.html new file mode 100644 index 00000000..b75d1e94 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/DiamondShape.html @@ -0,0 +1,597 @@ + + + + DiamondShape Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

DiamondShape

+
+
+ +
public struct DiamondShape : Shape
+ +
+
+

Shape used in POI Markers when displaying value in the center.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + path(in:) + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func path(in rect: CGRect) -> Path
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/DotStyle.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/DotStyle.html new file mode 100644 index 00000000..23a0c717 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/DotStyle.html @@ -0,0 +1,658 @@ + + + + DotStyle Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

DotStyle

+
+
+ +
public struct DotStyle
+ +
+
+

Styling of the dot that follows the line on touch events.

+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Sets the style of the Posistion Indicator

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    size: CGFloat = 15,
    +    fillColour: Color = Color.primary,
    +    lineColour: Color = Color.blue,
    +    lineWidth: CGFloat = 3
    +)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + +
    + + size + + +
    +

    Size of the Indicator.

    +
    +
    + + fillColour + + +
    +

    Fill colour.

    +
    +
    + + lineColour + + +
    +

    Border colour.

    +
    +
    + + lineWidth + + +
    +

    Border width.

    +
    +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/DoughnutChart.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/DoughnutChart.html new file mode 100644 index 00000000..4780fe2f --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/DoughnutChart.html @@ -0,0 +1,659 @@ + + + + DoughnutChart Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

DoughnutChart

+
+
+ +
public struct DoughnutChart<ChartData> : View where ChartData : DoughnutChartData
+ +
+
+

View for creating a doughnut chart.

+ +

Uses DoughnutChartData data model.

+

Declaration

+
DoughnutChart(chartData: data)
+
+

View Modifiers

+ +

The order of the view modifiers is some what important +as the modifiers are various types for stacks that wrap +around the previous views.

+
.touchOverlay(chartData: data)
+.infoBox(chartData: data)
+.floatingInfoBox(chartData: data)
+.headerBox(chartData: data)
+.legends(chartData: data)
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + init(chartData:) + +
    +
    +
    +
    +
    +
    +

    Initialises a bar chart view.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(chartData: ChartData)
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + chartData + + +
    +

    Must be DoughnutChartData.

    +
    +
    +
    +
    +
    +
  • +
  • +
    + + + + body + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var body: some View { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/DoughnutChartStyle.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/DoughnutChartStyle.html new file mode 100644 index 00000000..2453515e --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/DoughnutChartStyle.html @@ -0,0 +1,1038 @@ + + + + DoughnutChartStyle Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

DoughnutChartStyle

+
+
+ +
public struct DoughnutChartStyle : CTDoughnutChartStyle
+ +
+
+

Model for controlling the overall aesthetic of the chart.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + infoBoxPlacement + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var infoBoxPlacement: InfoBoxPlacement
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var infoBoxContentAlignment: InfoBoxAlignment
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + infoBoxValueFont + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var infoBoxValueFont: Font
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + infoBoxValueColour + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var infoBoxValueColour: Color
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var infoBoxDescriptionFont: Font
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var infoBoxDescriptionColour: Color
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var infoBoxBackgroundColour: Color
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + infoBoxBorderColour + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var infoBoxBorderColour: Color
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + infoBoxBorderStyle + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var infoBoxBorderStyle: StrokeStyle
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + globalAnimation + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var globalAnimation: Animation
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + strokeWidth + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var strokeWidth: CGFloat
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Model for controlling the overall aesthetic of the chart.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    infoBoxPlacement: InfoBoxPlacement = .floating,
    +    infoBoxContentAlignment: InfoBoxAlignment = .vertical,
    +    infoBoxValueFont: Font = .title3,
    +    infoBoxValueColour: Color = Color.primary,
    +    
    +    infoBoxDescriptionFont: Font = .caption,
    +    infoBoxDescriptionColour: Color = Color.primary,
    +    
    +    infoBoxBackgroundColour: Color = Color.systemsBackground,
    +    infoBoxBorderColour: Color = Color.clear,
    +    infoBoxBorderStyle: StrokeStyle = StrokeStyle(lineWidth: 0),
    +    
    +    globalAnimation: Animation = Animation.linear(duration: 1),
    +    strokeWidth: CGFloat = 30
    +)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + infoBoxPlacement + + +
    +

    Placement of the information box that appears on touch input.

    +
    +
    + + infoBoxContentAlignment + + +
    +

    Alignment of the content inside of the information box

    +
    +
    + + infoBoxValueFont + + +
    +

    Font for the value part of the touch info.

    +
    +
    + + infoBoxValueColour + + +
    +

    Colour of the value part of the touch info.

    +
    +
    + + infoBoxDescriptionFont + + +
    +

    Font for the description part of the touch info.

    +
    +
    + + infoBoxDescriptionColour + + +
    +

    Colour of the description part of the touch info.

    +
    +
    + + infoBoxBackgroundColour + + +
    +

    Background colour of touch info.

    +
    +
    + + infoBoxBorderColour + + +
    +

    Border colour of the touch info.

    +
    +
    + + infoBoxBorderStyle + + +
    +

    Border style of the touch info.

    +
    +
    + + globalAnimation + + +
    +

    Global control of animations.

    +
    +
    + + strokeWidth + + +
    +

    Width / Delta of the Doughnut Chart

    +
    +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/ExtraLineData.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/ExtraLineData.html new file mode 100644 index 00000000..17657d23 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/ExtraLineData.html @@ -0,0 +1,711 @@ + + + + ExtraLineData Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

ExtraLineData

+
+
+ +
public struct ExtraLineData : Identifiable
+ +
+
+

Data for drawing and styling the Extra Line view modifier.

+ +

This model contains the data and styling information for a single line, line chart.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + id + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let id: UUID
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + dataPoints + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var dataPoints: [ExtraLineDataPoint]
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + style + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var style: ExtraLineStyle
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + legendTitle + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var legendTitle: String
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    legendTitle: String,
    +    dataPoints: () -> ([ExtraLineDataPoint]),
    +    style: () -> (ExtraLineStyle)
    +)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/ExtraLineDataPoint.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/ExtraLineDataPoint.html new file mode 100644 index 00000000..5d66aae2 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/ExtraLineDataPoint.html @@ -0,0 +1,709 @@ + + + + ExtraLineDataPoint Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

ExtraLineDataPoint

+
+
+ +
public struct ExtraLineDataPoint : Hashable, Identifiable
+ +
+
+

Data point for Extra line View Modifier.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + id + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let id: UUID
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + value + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var value: Double
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + pointColour + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var pointColour: PointColour?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + pointDescription + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var pointDescription: String?
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    value: Double,
    +    pointColour: PointColour? = nil,
    +    pointDescription: String? = nil
    +)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/ExtraLineStyle.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/ExtraLineStyle.html new file mode 100644 index 00000000..c2f9455e --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/ExtraLineStyle.html @@ -0,0 +1,979 @@ + + + + ExtraLineStyle Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

ExtraLineStyle

+
+
+ +
public struct ExtraLineStyle
+ +
+
+

Control of the styling of the Extra Line.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + lineColour + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var lineColour: ColourStyle
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + lineType + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var lineType: LineType
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + lineSpacing + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var lineSpacing: SpacingType
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + markerType + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var markerType: LineMarkerType
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + strokeStyle + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var strokeStyle: Stroke
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + pointStyle + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var pointStyle: PointStyle
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + yAxisTitle + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var yAxisTitle: String?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + yAxisNumberOfLabels + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var yAxisNumberOfLabels: Int
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + animationType + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var animationType: AnimationType
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + baseline + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var baseline: Baseline
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + topLine + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var topLine: Topline
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    lineColour: ColourStyle = ColourStyle(colour: .red),
    +    lineType: LineType = .curvedLine,
    +    lineSpacing: SpacingType = .line,
    +    markerType: LineMarkerType = .indicator(style: DotStyle()),
    +    
    +    strokeStyle: Stroke = Stroke(),
    +    pointStyle: PointStyle = PointStyle(pointSize: 0, borderColour: .clear, fillColour: .clear),
    +    
    +    yAxisTitle: String? = nil,
    +    yAxisNumberOfLabels: Int = 7,
    +    
    +    animationType: AnimationType = .draw,
    +    
    +    baseline: Baseline = .minimumValue,
    +    topLine: Topline = .maximumValue
    +)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + AnimationType + +
    +
    +
    +
    +
    +
    +

    Controls which animations will be used.

    + +

    When using a line chart .draw is probably the +right one to choose.

    + +

    When using on a filled line chart or on bar charts +.raise is probably the right one to choose.

    +
    case draw // Draws the line using `.trim`.
    +case raise // Animates using `.scale`.
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum AnimationType : Hashable
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + SpacingType + +
    +
    +
    +
    +
    +
    +

    Sets what type of chart is being used.

    + +

    There is different spacing for line charts and bar charts, +this sets that up.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum SpacingType : Hashable
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/ExtraLineStyle/AnimationType.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/ExtraLineStyle/AnimationType.html new file mode 100644 index 00000000..3749b75a --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/ExtraLineStyle/AnimationType.html @@ -0,0 +1,636 @@ + + + + AnimationType Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

AnimationType

+
+
+ +
public enum AnimationType : Hashable
+ +
+
+

Controls which animations will be used.

+ +

When using a line chart .draw is probably the +right one to choose.

+ +

When using on a filled line chart or on bar charts +.raise is probably the right one to choose.

+
case draw // Draws the line using `.trim`.
+case raise // Animates using `.scale`.
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + draw + +
    +
    +
    +
    +
    +
    +

    Draws the line using .trim.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case draw
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + raise + +
    +
    +
    +
    +
    +
    +

    Animates using .scale.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case raise
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/ExtraLineStyle/SpacingType.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/ExtraLineStyle/SpacingType.html new file mode 100644 index 00000000..85c888a0 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/ExtraLineStyle/SpacingType.html @@ -0,0 +1,630 @@ + + + + SpacingType Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

SpacingType

+
+
+ +
public enum SpacingType : Hashable
+ +
+
+

Sets what type of chart is being used.

+ +

There is different spacing for line charts and bar charts, +this sets that up.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + line + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case line
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + bar + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case bar
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/FilledLineChart.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/FilledLineChart.html new file mode 100644 index 00000000..f40cc0b4 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/FilledLineChart.html @@ -0,0 +1,671 @@ + + + + FilledLineChart Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

FilledLineChart

+
+
+ +
public struct FilledLineChart<ChartData> : View where ChartData : LineChartData
+ +
+
+

View for creating a filled line chart.

+ +

Uses LineChartData data model.

+

Declaration

+
FilledLineChart(chartData: data)
+
+

View Modifiers

+ +

The order of the view modifiers is some what important +as the modifiers are various types for stacks that wrap +around the previous views.

+
.touchOverlay(chartData: data)
+.pointMarkers(chartData: data)
+.averageLine(chartData: data,
+             strokeStyle: StrokeStyle(lineWidth: 3,dash: [5,10]))
+.yAxisPOI(chartData: data,
+          markerName: "50",
+          markerValue: 50,
+          lineColour: Color.blue,
+          strokeStyle: StrokeStyle(lineWidth: 3, dash: [5,10]))
+.xAxisGrid(chartData: data)
+.yAxisGrid(chartData: data)
+.xAxisLabels(chartData: data)
+.yAxisLabels(chartData: data)
+.infoBox(chartData: data)
+.floatingInfoBox(chartData: data)
+.headerBox(chartData: data)
+.legends(chartData: data)
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + init(chartData:) + +
    +
    +
    +
    +
    +
    +

    Initialises a filled line chart

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(chartData: ChartData)
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + chartData + + +
    +

    Must be LineChartData model.

    +
    +
    +
    +
    +
    +
  • +
  • +
    + + + + body + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var body: some View { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/GradientStop.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/GradientStop.html new file mode 100644 index 00000000..ebea99c5 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/GradientStop.html @@ -0,0 +1,657 @@ + + + + GradientStop Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

GradientStop

+
+
+ +
public struct GradientStop : Hashable
+ +
+
+

A mediator for Gradient.Stop to allow it to be stored in LegendData.

+ +

Gradient.Stop doesn’t conform to Hashable.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + color + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var color: Color
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + location + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var location: CGFloat
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(color:location:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    color: Color,
    +    location: CGFloat
    +)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/GridStyle.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/GridStyle.html new file mode 100644 index 00000000..1f49f5d0 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/GridStyle.html @@ -0,0 +1,806 @@ + + + + GridStyle Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

GridStyle

+
+
+ +
public struct GridStyle
+ +
+
+

Control for the look of the Grid

+ +
+
+ +
+
+
+
    +
  • +
    + + + + numberOfLines + +
    +
    +
    +
    +
    +
    +

    Number of lines to break up the axis

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var numberOfLines: Int
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + lineColour + +
    +
    +
    +
    +
    +
    +

    Line Colour

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var lineColour: Color
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + lineWidth + +
    +
    +
    +
    +
    +
    +

    Line Width

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var lineWidth: CGFloat
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + dash + +
    +
    +
    +
    +
    +
    +

    Dash

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var dash: [CGFloat]
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + dashPhase + +
    +
    +
    +
    +
    +
    +

    Dash Phase

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var dashPhase: CGFloat
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Model for controlling the look of the Grid

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    numberOfLines: Int = 10,
    +    lineColour: Color = Color(.gray).opacity(0.25),
    +    lineWidth: CGFloat = 1,
    +    dash: [CGFloat] = [10],
    +    dashPhase: CGFloat = 0
    +)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + + + +
    + + numberOfLines + + +
    +

    Number of lines to break up the axis

    +
    +
    + + lineColour + + +
    +

    Line Colour

    +
    +
    + + lineWidth + + +
    +

    Line Width

    +
    +
    + + dash + + +
    +

    Dash

    +
    +
    + + dashPhase + + +
    +

    Dash Phase

    +
    +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/GroupedBarChart.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/GroupedBarChart.html new file mode 100644 index 00000000..cb6c0e70 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/GroupedBarChart.html @@ -0,0 +1,685 @@ + + + + GroupedBarChart Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

GroupedBarChart

+
+
+ +
public struct GroupedBarChart<ChartData> : View where ChartData : GroupedBarChartData
+ +
+
+

View for creating a grouped bar chart.

+ +

Uses GroupedBarChartData data model.

+

Declaration

+
GroupedBarChart(chartData: data, groupSpacing: 25)
+
+

View Modifiers

+ +

The order of the view modifiers is some what important +as the modifiers are various types for stacks that wrap +around the previous views.

+
.touchOverlay(chartData: data)
+.averageLine(chartData: data,
+strokeStyle: StrokeStyle(lineWidth: 3,dash: [5,10]))
+.yAxisPOI(chartData: data,
+          markerName: "50",
+          markerValue: 50,
+          lineColour: Color.blue,
+          strokeStyle: StrokeStyle(lineWidth: 3, dash: [5,10]))
+.xAxisGrid(chartData: data)
+.yAxisGrid(chartData: data)
+.xAxisLabels(chartData: data)
+.yAxisLabels(chartData: data)
+.infoBox(chartData: data)
+.floatingInfoBox(chartData: data)
+.headerBox(chartData: data)
+.legends(chartData: data)
+
+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Initialises a grouped bar chart view.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    chartData: ChartData,
    +    groupSpacing: CGFloat
    +)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + +
    + + chartData + + +
    +

    Must be GroupedBarChartData model.

    +
    +
    + + groupSpacing + + +
    +

    Spacing between groups of bars.

    +
    +
    +
    +
    +
    +
  • +
  • +
    + + + + body + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var body: some View { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/GroupedBarDataPoint.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/GroupedBarDataPoint.html new file mode 100644 index 00000000..a1db73c7 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/GroupedBarDataPoint.html @@ -0,0 +1,866 @@ + + + + GroupedBarDataPoint Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

GroupedBarDataPoint

+
+
+ +
public struct GroupedBarDataPoint : CTMultiBarDataPoint
+ +
+
+

Data for a single grouped bar chart data point.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + id + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let id: UUID
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + value + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var value: Double
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + xAxisLabel + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var xAxisLabel: String?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + description + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var description: String?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + date + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var date: Date?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + group + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var group: GroupingData
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + legendTag + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var legendTag: String
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Data model for a single data point with colour info for use with a grouped bar chart.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    value: Double,
    +    description: String? = nil,
    +    date: Date? = nil,
    +    group: GroupingData
    +)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + +
    + + value + + +
    +

    Value of the data point.

    +
    +
    + + description + + +
    +

    A longer label that can be shown on touch input.

    +
    +
    + + date + + +
    +

    Date of the data point if any data based calculations are required.

    +
    +
    + + group + + +
    +

    Group data informs the data models how the data point are linked.

    +
    +
    +
    +
    +
    +
  • +
  • +
    + + + + ID + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias ID = UUID
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/GroupedBarDataSet.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/GroupedBarDataSet.html new file mode 100644 index 00000000..b6f918bf --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/GroupedBarDataSet.html @@ -0,0 +1,731 @@ + + + + GroupedBarDataSet Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

GroupedBarDataSet

+
+
+ +
public struct GroupedBarDataSet : CTMultiBarChartDataSet
+ +
+
+

Individual data sets for grouped bars charts.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + id + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let id: UUID
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + dataPoints + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var dataPoints: [GroupedBarDataPoint]
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + setTitle + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var setTitle: String
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Initialises a new data set for a Bar Chart.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    dataPoints: [GroupedBarDataPoint],
    +    setTitle: String = ""
    +)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + ID + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias ID = UUID
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + DataPoint + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias DataPoint = GroupedBarDataPoint
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/GroupedBarDataSets.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/GroupedBarDataSets.html new file mode 100644 index 00000000..f17dd257 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/GroupedBarDataSets.html @@ -0,0 +1,650 @@ + + + + GroupedBarDataSets Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

GroupedBarDataSets

+
+
+ +
public struct GroupedBarDataSets : CTMultiDataSetProtocol, DataFunctionsProtocol
+ +
+
+

Main data set for a grouped bar charts.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + id + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let id: UUID
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + dataSets + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var dataSets: [GroupedBarDataSet]
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(dataSets:) + +
    +
    +
    +
    +
    +
    +

    Initialises a new data set for Grouped Bar Chart.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(dataSets: [GroupedBarDataSet])
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/GroupingData.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/GroupingData.html new file mode 100644 index 00000000..9a087609 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/GroupingData.html @@ -0,0 +1,711 @@ + + + + GroupingData Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

GroupingData

+
+
+ +
public struct GroupingData : CTBarColourProtocol, Hashable, Identifiable
+ +
+
+

Model for grouping data points together so they can be drawn in the correct groupings.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + id + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let id: UUID
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + title + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var title: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + colour + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var colour: ColourStyle
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(title:colour:) + +
    +
    +
    +
    +
    +
    +

    Group with single colour

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    title: String,
    +    colour: ColourStyle
    +)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + +
    + + title + + +
    +

    Title for legends

    +
    +
    + + colour + + +
    +

    Colour styling for the bars.

    +
    +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/HorizontalBarChart.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/HorizontalBarChart.html new file mode 100644 index 00000000..7a445cd0 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/HorizontalBarChart.html @@ -0,0 +1,643 @@ + + + + HorizontalBarChart Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

HorizontalBarChart

+
+
+ +
public struct HorizontalBarChart<ChartData> : View where ChartData : HorizontalBarChartData
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + init(chartData:) + +
    +
    +
    +
    +
    +
    +

    Initialises a bar chart view.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(chartData: ChartData)
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + chartData + + +
    +

    Must be BarChartData model.

    +
    +
    +
    +
    +
    +
  • +
  • +
    + + + + body + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var body: some View { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/InfoDescription.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/InfoDescription.html new file mode 100644 index 00000000..087e5bbf --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/InfoDescription.html @@ -0,0 +1,624 @@ + + + + InfoDescription Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

InfoDescription

+
+
+ +
public struct InfoDescription<T> : View where T : CTChartData
+ +
+
+

Displays the data points description.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + init(chartData:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(chartData: T)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + body + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var body: some View { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/InfoExtra.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/InfoExtra.html new file mode 100644 index 00000000..85285dbd --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/InfoExtra.html @@ -0,0 +1,624 @@ + + + + InfoExtra Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

InfoExtra

+
+
+ +
public struct InfoExtra<T> : View where T : CTChartData
+ +
+
+

Option the as a String between the Value and the Description.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + init(chartData:text:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(chartData: T, text: String)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + body + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var body: some View { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/InfoValue.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/InfoValue.html new file mode 100644 index 00000000..899c1f3f --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/InfoValue.html @@ -0,0 +1,624 @@ + + + + InfoValue Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

InfoValue

+
+
+ +
public struct InfoValue<T> : View where T : CTChartData
+ +
+
+

Displays the data points value with the unit.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + init(chartData:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(chartData: T)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + body + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var body: some View { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/LeadingLabelShape.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/LeadingLabelShape.html new file mode 100644 index 00000000..3f07723d --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/LeadingLabelShape.html @@ -0,0 +1,597 @@ + + + + LeadingLabelShape Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

LeadingLabelShape

+
+
+ +
public struct LeadingLabelShape : Shape
+ +
+
+

Shape used in POI Markers when displaying value in the Y axis labels on the leading edge.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + path(in:) + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func path(in rect: CGRect) -> Path
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/LegendData.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/LegendData.html new file mode 100644 index 00000000..2f1d59e0 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/LegendData.html @@ -0,0 +1,940 @@ + + + + LegendData Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

LegendData

+
+
+ +
public struct LegendData : Hashable, Identifiable
+ +
+
+

Data model to hold data for Legends

+ +
+
+ +
+
+
+
    +
  • +
    + + + + id + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var id: UUID
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + chartType + +
    +
    +
    +
    +
    +
    +

    The type of chart being used.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var chartType: ChartType
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + legend + +
    +
    +
    +
    +
    +
    +

    Text to be displayed

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var legend: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + strokeStyle + +
    +
    +
    +
    +
    +
    +

    Style of the stroke

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var strokeStyle: Stroke?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + prioity + +
    +
    +
    +
    +
    +
    +

    Used to make sure the charts data legend is first

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let prioity: Int
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + colour + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var colour: ColourStyle
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Legend.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(id: UUID,
    +            legend: String,
    +            colour: ColourStyle,
    +            strokeStyle: Stroke?,
    +            prioity: Int,
    +            chartType: ChartType
    +)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + + + +
    + + legend + + +
    +

    Text to be displayed.

    +
    +
    + + colour + + +
    +

    Colour styling.

    +
    +
    + + strokeStyle + + +
    +

    Stroke Style.

    +
    +
    + + prioity + + +
    +

    Used to make sure the charts data legend is first.

    +
    +
    + + chartType + + +
    +

    Type of chart being used.

    +
    +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Get the legend as a view.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func getLegend(
    +    width: CGFloat = 40,
    +    font: Font = .caption,
    +    textColor: Color = .primary
    +) -> some View
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + textColor + + +
    +

    Colour of the text

    +
    +
    +
    +
    +

    Return Value

    +

    The relevent legend as a view.

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Get the legend as a view where the colour is indicated by a Circle.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func getLegendAsCircle(
    +    width: CGFloat = 12,
    +    font: Font = .caption,
    +    textColor: Color
    +) -> some View
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + textColor + + +
    +

    Colour of the text

    +
    +
    +
    +
    +

    Return Value

    +

    The relevent legend as a view.

    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/LineChart.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/LineChart.html new file mode 100644 index 00000000..94f2f788 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/LineChart.html @@ -0,0 +1,674 @@ + + + + LineChart Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

LineChart

+
+
+ +
public struct LineChart<ChartData> : View where ChartData : LineChartData
+ +
+
+

View for drawing a line chart.

+ +

Uses LineChartData data model.

+

Declaration

+
LineChart(chartData: data)
+
+

View Modifiers

+ +

The order of the view modifiers is some what important +as the modifiers are various types for stacks that wrap +around the previous views.

+
.pointMarkers(chartData: data)
+.touchOverlay(chartData: data, specifier: "%.0f")
+.yAxisPOI(chartData: data,
+          markerName: "Something",
+          markerValue: 110,
+          labelPosition: .center(specifier: "%.0f"),
+          labelColour: Color.white,
+          labelBackground: Color.blue,
+          lineColour: Color.blue,
+          strokeStyle: StrokeStyle(lineWidth: 3, dash: [5,10]))
+.averageLine(chartData: data,
+             strokeStyle: StrokeStyle(lineWidth: 3, dash: [5,10]))
+.xAxisGrid(chartData: data)
+.yAxisGrid(chartData: data)
+.xAxisLabels(chartData: data)
+.yAxisLabels(chartData: data)
+.infoBox(chartData: data)
+.floatingInfoBox(chartData: data)
+.headerBox(chartData: data)
+.legends(chartData: data, columns: [GridItem(.flexible()), GridItem(.flexible())])
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + init(chartData:) + +
    +
    +
    +
    +
    +
    +

    Initialises a line chart view.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(chartData: ChartData)
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + chartData + + +
    +

    Must be LineChartData model.

    +
    +
    +
    +
    +
    +
  • +
  • +
    + + + + body + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var body: some View { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/LineChartDataPoint.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/LineChartDataPoint.html new file mode 100644 index 00000000..4cda3ec7 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/LineChartDataPoint.html @@ -0,0 +1,881 @@ + + + + LineChartDataPoint Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

LineChartDataPoint

+
+
+ +
public struct LineChartDataPoint : CTStandardLineDataPoint, IgnoreMe
+ +
+
+

Data for a single data point.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + id + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let id: UUID
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + value + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var value: Double
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + xAxisLabel + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var xAxisLabel: String?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + description + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var description: String?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + date + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var date: Date?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + pointColour + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var pointColour: PointColour?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + ignoreMe + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var ignoreMe: Bool
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + legendTag + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var legendTag: String
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Data model for a single data point with colour for use with a line chart.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    value: Double,
    +    xAxisLabel: String? = nil,
    +    description: String? = nil,
    +    date: Date? = nil,
    +    pointColour: PointColour? = nil
    +)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + + + +
    + + value + + +
    +

    Value of the data point

    +
    +
    + + xAxisLabel + + +
    +

    Label that can be shown on the X axis.

    +
    +
    + + description + + +
    +

    A longer label that can be shown on touch input.

    +
    +
    + + date + + +
    +

    Date of the data point if any data based calculations are required.

    +
    +
    + + pointColour + + +
    +

    Colour of the point markers.

    +
    +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/LineChartStyle.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/LineChartStyle.html new file mode 100644 index 00000000..934195e5 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/LineChartStyle.html @@ -0,0 +1,1869 @@ + + + + LineChartStyle Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

LineChartStyle

+
+
+ +
public struct LineChartStyle : CTLineChartStyle
+ +
+
+

Control of the overall aesthetic of the line chart.

+ +

Controls the look of the chart as a whole, not including any styling +specific to the data set(s),

+ +
+
+ +
+
+
+
    +
  • +
    + + + + infoBoxPlacement + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var infoBoxPlacement: InfoBoxPlacement
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var infoBoxContentAlignment: InfoBoxAlignment
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + infoBoxValueFont + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var infoBoxValueFont: Font
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + infoBoxValueColour + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var infoBoxValueColour: Color
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var infoBoxDescriptionFont: Font
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var infoBoxDescriptionColour: Color
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var infoBoxBackgroundColour: Color
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + infoBoxBorderColour + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var infoBoxBorderColour: Color
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + infoBoxBorderStyle + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var infoBoxBorderStyle: StrokeStyle
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + markerType + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var markerType: LineMarkerType
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + xAxisGridStyle + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var xAxisGridStyle: GridStyle
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + xAxisLabelPosition + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var xAxisLabelPosition: XAxisLabelPosistion
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + xAxisLabelFont + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var xAxisLabelFont: Font
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + xAxisLabelColour + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var xAxisLabelColour: Color
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + xAxisLabelsFrom + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var xAxisLabelsFrom: LabelsFrom
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + xAxisTitle + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var xAxisTitle: String?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + xAxisTitleFont + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var xAxisTitleFont: Font
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + xAxisTitleColour + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var xAxisTitleColour: Color
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + xAxisBorderColour + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var xAxisBorderColour: Color?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + yAxisGridStyle + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var yAxisGridStyle: GridStyle
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + yAxisLabelPosition + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var yAxisLabelPosition: YAxisLabelPosistion
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + yAxisLabelFont + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var yAxisLabelFont: Font
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + yAxisLabelColour + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var yAxisLabelColour: Color
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + yAxisNumberOfLabels + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var yAxisNumberOfLabels: Int
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + yAxisLabelType + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var yAxisLabelType: YAxisLabelType
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + yAxisTitle + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var yAxisTitle: String?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + yAxisTitleFont + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var yAxisTitleFont: Font
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + yAxisTitleColour + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var yAxisTitleColour: Color
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + yAxisBorderColour + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var yAxisBorderColour: Color?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + baseline + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var baseline: Baseline
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + topLine + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var topLine: Topline
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + globalAnimation + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var globalAnimation: Animation
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Model for controlling the overall aesthetic of the chart.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    infoBoxPlacement: InfoBoxPlacement = .floating,
    +    infoBoxContentAlignment: InfoBoxAlignment = .vertical,
    +    
    +    infoBoxValueFont: Font = .title3,
    +    infoBoxValueColour: Color = Color.primary,
    +    
    +    infoBoxDescriptionFont: Font = .caption,
    +    infoBoxDescriptionColour: Color = Color.primary,
    +    
    +    infoBoxBackgroundColour: Color = Color.systemsBackground,
    +    infoBoxBorderColour: Color = Color.clear,
    +    infoBoxBorderStyle: StrokeStyle = StrokeStyle(lineWidth: 0),
    +    
    +    markerType: LineMarkerType = .indicator(style: DotStyle()),
    +    
    +    xAxisGridStyle: GridStyle = GridStyle(),
    +    
    +    xAxisLabelPosition: XAxisLabelPosistion = .bottom,
    +    xAxisLabelFont: Font = .caption,
    +    xAxisLabelColour: Color = Color.primary,
    +    xAxisLabelsFrom: LabelsFrom = .dataPoint(rotation: .degrees(0)),
    +    
    +    xAxisTitle: String? = nil,
    +    xAxisTitleFont: Font = .caption,
    +    xAxisTitleColour: Color = .primary,
    +    xAxisBorderColour: Color? = nil,
    +
    +    yAxisGridStyle: GridStyle = GridStyle(),
    +    
    +    yAxisLabelPosition: YAxisLabelPosistion = .leading,
    +    yAxisLabelFont: Font = .caption,
    +    yAxisLabelColour: Color = Color.primary,
    +    yAxisNumberOfLabels: Int = 10,
    +    yAxisLabelType: YAxisLabelType = .numeric,
    +    
    +    yAxisTitle: String? = nil,
    +    yAxisTitleFont: Font = .caption,
    +    yAxisTitleColour: Color = .primary,
    +    yAxisBorderColour: Color? = nil,
    +
    +    baseline: Baseline = .minimumValue,
    +    topLine: Topline = .maximumValue,
    +    
    +    globalAnimation: Animation = Animation.linear(duration: 1)
    +)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + infoBoxPlacement + + +
    +

    Placement of the information box that appears on touch input.

    +
    +
    + + infoBoxContentAlignment + + +
    +

    Placement of the content inside the information box

    +
    +
    + + infoBoxValueFont + + +
    +

    Font for the value part of the touch info.

    +
    +
    + + infoBoxValueColour + + +
    +

    Colour of the value part of the touch info.

    +
    +
    + + infoBoxDescriptionFont + + +
    +

    Font for the description part of the touch info.

    +
    +
    + + infoBoxDescriptionColour + + +
    +

    Colour of the description part of the touch info.

    +
    +
    + + infoBoxBackgroundColour + + +
    +

    Background colour of touch info.

    +
    +
    + + infoBoxBorderColour + + +
    +

    Border colour of the touch info.

    +
    +
    + + infoBoxBorderStyle + + +
    +

    Border style of the touch info.

    +
    +
    + + markerType + + +
    +

    Where the marker lines come from to meet at a specified point.

    +
    +
    + + xAxisGridStyle + + +
    +

    Style of the vertical lines breaking up the chart.

    +
    +
    + + xAxisLabelPosition + + +
    +

    Location of the X axis labels - Top or Bottom.

    +
    +
    + + xAxisLabelFont + + +
    +

    Font of the labels on the X axis.

    +
    +
    + + xAxisLabelColour + + +
    +

    Text Colour for the labels on the X axis.

    +
    +
    + + xAxisLabelsFrom + + +
    +

    Where the label data come from. DataPoint or xAxisLabels.

    +
    +
    + + xAxisTitle + + +
    +

    Label to display next to the chart giving info about the axis.

    +
    +
    + + xAxisTitleFont + + +
    +

    Font of the x axis title.

    +
    +
    + + xAxisTitleColour + + +
    +

    Colour of the x axis title.

    +
    +
    + + xAxisBorderColour + + +
    +

    Colour of the x axis border.

    +
    +
    + + yAxisGridStyle + + +
    +

    Style of the horizontal lines breaking up the chart.

    +
    +
    + + yAxisLabelPosition + + +
    +

    Location of the X axis labels - Leading or Trailing.

    +
    +
    + + yAxisLabelFont + + +
    +

    Font of the labels on the Y axis.

    +
    +
    + + yAxisLabelColour + + +
    +

    Text Colour for the labels on the Y axis.

    +
    +
    + + yAxisNumberOfLabels + + +
    +

    Number Of Labels on Y Axis.

    +
    +
    + + yAxisLabelType + + +
    +

    Option to add custom Strings to Y axis rather than auto generated numbers.

    +
    +
    + + yAxisTitle + + +
    +

    Label to display next to the chart giving info about the axis.

    +
    +
    + + yAxisTitleFont + + +
    +

    Font of the y axis title.

    +
    +
    + + yAxisTitleColour + + +
    +

    Colour of the y axis title.

    +
    +
    + + yAxisBorderColour + + +
    +

    Colour of the y axis border.

    +
    +
    + + baseline + + +
    +

    Whether the chart is drawn from baseline of zero or the minimum datapoint value.

    +
    +
    + + topLine + + +
    +

    Where to finish drawing the chart from. Data set maximum or custom.

    +
    +
    + + globalAnimation + + +
    +

    Global control of animations.

    +
    +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/LineDataSet.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/LineDataSet.html new file mode 100644 index 00000000..94d6c8e6 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/LineDataSet.html @@ -0,0 +1,842 @@ + + + + LineDataSet Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

LineDataSet

+
+
+ +
public struct LineDataSet : CTLineChartDataSet, DataFunctionsProtocol
+ +
+
+

Data set for a single line

+ +

Contains information specific to each line within the chart .

+ +
+
+ +
+
+
+
    +
  • +
    + + + + id + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let id: UUID
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + dataPoints + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var dataPoints: [LineChartDataPoint]
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + legendTitle + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var legendTitle: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + pointStyle + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var pointStyle: PointStyle
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + style + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var style: LineStyle
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Initialises a data set for a line in a Line Chart.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    dataPoints: [LineChartDataPoint],
    +    legendTitle: String = "",
    +    pointStyle: PointStyle = PointStyle(),
    +    style: LineStyle = LineStyle()
    +)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + +
    + + dataPoints + + +
    +

    Array of elements.

    +
    +
    + + legendTitle + + +
    +

    Label for the data in legend.

    +
    +
    + + pointStyle + + +
    +

    Styling information for the data point markers.

    +
    +
    + + style + + +
    +

    Styling for how the line will be draw in.

    +
    +
    +
    +
    +
    +
  • +
  • +
    + + + + ID + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias ID = UUID
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Styling + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias Styling = LineStyle
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/LineStyle.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/LineStyle.html new file mode 100644 index 00000000..5f2b8e06 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/LineStyle.html @@ -0,0 +1,762 @@ + + + + LineStyle Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

LineStyle

+
+
+ +
public struct LineStyle : CTLineStyle, Hashable
+ +
+
+

Model for controlling the styling for individual lines.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + lineColour + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var lineColour: ColourStyle
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + lineType + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var lineType: LineType
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + strokeStyle + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var strokeStyle: Stroke
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + ignoreZero + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var ignoreZero: Bool
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Style of the line.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    lineColour: ColourStyle = ColourStyle(colour: .red),
    +    lineType: LineType = .curvedLine,
    +    strokeStyle: Stroke = Stroke(),
    +    ignoreZero: Bool = false
    +)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + +
    + + lineColour + + +
    +

    Colour styling of the line.

    +
    +
    + + lineType + + +
    +

    Drawing style of the line

    +
    +
    + + strokeStyle + + +
    +

    Stroke Style

    +
    +
    + + ignoreZero + + +
    +

    Whether the chart should skip data points who’s value is 0.

    +
    +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/MultiLineChart.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/MultiLineChart.html new file mode 100644 index 00000000..ff5fa977 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/MultiLineChart.html @@ -0,0 +1,671 @@ + + + + MultiLineChart Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

MultiLineChart

+
+
+ +
public struct MultiLineChart<ChartData> : View where ChartData : MultiLineChartData
+ +
+
+

View for drawing a multi-line, line chart.

+ +

Uses MultiLineChartData data model.

+

Declaration

+
MultiLineChart(chartData: data)
+
+

View Modifiers

+ +

The order of the view modifiers is some what important +as the modifiers are various types for stacks that wrap +around the previous views.

+
.touchOverlay(chartData: data)
+.pointMarkers(chartData: data)
+.averageLine(chartData: data,
+             strokeStyle: StrokeStyle(lineWidth: 3, dash: [5,10]))
+.yAxisPOI(chartData: data,
+          markerName: "50",
+          markerValue: 50,
+          lineColour: Color.blue,
+          strokeStyle: StrokeStyle(lineWidth: 3, dash: [5,10]))
+.xAxisGrid(chartData: data)
+.yAxisGrid(chartData: data)
+.xAxisLabels(chartData: data)
+.yAxisLabels(chartData: data)
+.infoBox(chartData: data)
+.floatingInfoBox(chartData: data)
+.headerBox(chartData: data)
+.legends(chartData: data)
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + init(chartData:) + +
    +
    +
    +
    +
    +
    +

    Initialises a multi-line, line chart.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(chartData: ChartData)
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + chartData + + +
    +

    Must be MultiLineChartData model.

    +
    +
    +
    +
    +
    +
  • +
  • +
    + + + + body + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var body: some View { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/MultiLineDataSet.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/MultiLineDataSet.html new file mode 100644 index 00000000..8c18661c --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/MultiLineDataSet.html @@ -0,0 +1,652 @@ + + + + MultiLineDataSet Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

MultiLineDataSet

+
+
+ +
public struct MultiLineDataSet : CTMultiLineChartDataSet, DataFunctionsProtocol
+ +
+
+

Data set containing multiple data sets for multiple lines

+ +

Contains information about each of lines within the chart.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + id + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let id: UUID
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + dataSets + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var dataSets: [LineDataSet]
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(dataSets:) + +
    +
    +
    +
    +
    +
    +

    Initialises a new data set for multi-line Line Charts.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(dataSets: [LineDataSet])
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/PieChart.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/PieChart.html new file mode 100644 index 00000000..36724626 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/PieChart.html @@ -0,0 +1,659 @@ + + + + PieChart Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

PieChart

+
+
+ +
public struct PieChart<ChartData> : View where ChartData : PieChartData
+ +
+
+

View for creating a pie chart.

+ +

Uses PieChartData data model.

+

Declaration

+
PieChart(chartData: data)
+
+

View Modifiers

+ +

The order of the view modifiers is some what important +as the modifiers are various types for stacks that wrap +around the previous views.

+
.touchOverlay(chartData: data)
+.infoBox(chartData: data)
+.floatingInfoBox(chartData: data)
+.headerBox(chartData: data)
+.legends(chartData: data)
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + init(chartData:) + +
    +
    +
    +
    +
    +
    +

    Initialises a bar chart view.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(chartData: ChartData)
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + chartData + + +
    +

    Must be PieChartData.

    +
    +
    +
    +
    +
    +
  • +
  • +
    + + + + body + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var body: some View { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/PieChartDataPoint.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/PieChartDataPoint.html new file mode 100644 index 00000000..d9943bfc --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/PieChartDataPoint.html @@ -0,0 +1,931 @@ + + + + PieChartDataPoint Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

PieChartDataPoint

+
+
+ +
public struct PieChartDataPoint : CTPieDataPoint
+ +
+
+

Data for a single segement of a pie chart.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + id + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var id: UUID
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + value + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var value: Double
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + description + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var description: String?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + date + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var date: Date?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + colour + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var colour: Color
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + label + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var label: OverlayType
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + startAngle + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var startAngle: Double
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + amount + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var amount: Double
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + legendTag + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var legendTag: String
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Data model for a single data point for a pie chart.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    value: Double,
    +    description: String? = nil,
    +    date: Date? = nil,
    +    colour: Color = Color.red,
    +    label: OverlayType = .none
    +)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + + + +
    + + value + + +
    +

    Value of the data point

    +
    +
    + + description + + +
    +

    A longer label that can be shown on touch input.

    +
    +
    + + date + + +
    +

    Date of the data point if any data based calculations are required.

    +
    +
    + + colour + + +
    +

    Colour of the segment.

    +
    +
    + + label + + +
    +

    Option to add overlays on top of the segment.

    +
    +
    +
    +
    +
    +
  • +
  • +
    + + + + ==(_:_:) + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func == (left: PieChartDataPoint, right: PieChartDataPoint) -> Bool
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/PieChartStyle.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/PieChartStyle.html new file mode 100644 index 00000000..e6eecfb3 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/PieChartStyle.html @@ -0,0 +1,999 @@ + + + + PieChartStyle Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

PieChartStyle

+
+
+ +
public struct PieChartStyle : CTPieChartStyle
+ +
+
+

Model for controlling the overall aesthetic of the chart.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + infoBoxPlacement + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var infoBoxPlacement: InfoBoxPlacement
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var infoBoxContentAlignment: InfoBoxAlignment
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + infoBoxValueFont + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var infoBoxValueFont: Font
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + infoBoxValueColour + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var infoBoxValueColour: Color
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var infoBoxDescriptionFont: Font
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var infoBoxDescriptionColour: Color
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var infoBoxBackgroundColour: Color
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + infoBoxBorderColour + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var infoBoxBorderColour: Color
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + infoBoxBorderStyle + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var infoBoxBorderStyle: StrokeStyle
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + globalAnimation + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var globalAnimation: Animation
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Model for controlling the overall aesthetic of the chart.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    infoBoxPlacement: InfoBoxPlacement = .floating,
    +    infoBoxContentAlignment: InfoBoxAlignment = .vertical,
    +    
    +    infoBoxValueFont: Font = .title3,
    +    infoBoxValueColour: Color = Color.primary,
    +    
    +    infoBoxDescriptionFont: Font = .caption,
    +    infoBoxDescriptionColour: Color = Color.primary,
    +    
    +    infoBoxBackgroundColour: Color = Color.systemsBackground,
    +    infoBoxBorderColour: Color = Color.clear,
    +    infoBoxBorderStyle: StrokeStyle = StrokeStyle(lineWidth: 0),
    +    globalAnimation: Animation = Animation.linear(duration: 1)
    +)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + infoBoxPlacement + + +
    +

    Placement of the information box that appears on touch input.

    +
    +
    + + infoBoxContentAlignment + + +
    +

    Alignment of the content inside of the information box

    +
    +
    + + infoBoxValueFont + + +
    +

    Font for the value part of the touch info.

    +
    +
    + + infoBoxValueColour + + +
    +

    Colour of the value part of the touch info.

    +
    +
    + + infoBoxDescriptionFont + + +
    +

    Font for the description part of the touch info.

    +
    +
    + + infoBoxDescriptionColour + + +
    +

    Colour of the description part of the touch info.

    +
    +
    + + infoBoxBackgroundColour + + +
    +

    Background colour of touch info.

    +
    +
    + + infoBoxBorderColour + + +
    +

    Border colour of the touch info.

    +
    +
    + + infoBoxBorderStyle + + +
    +

    Border style of the touch info.

    +
    +
    + + globalAnimation + + +
    +

    Global control of animations.

    +
    +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/PieDataSet.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/PieDataSet.html new file mode 100644 index 00000000..1cbfc962 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/PieDataSet.html @@ -0,0 +1,763 @@ + + + + PieDataSet Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

PieDataSet

+
+
+ +
public struct PieDataSet : CTSingleDataSetProtocol
+ +
+
+

Data set for a pie chart.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + id + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var id: UUID
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + dataPoints + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var dataPoints: [PieChartDataPoint]
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + legendTitle + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var legendTitle: String
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Initialises a new data set for a standard pie chart.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    dataPoints: [PieChartDataPoint],
    +    legendTitle: String
    +)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + +
    + + dataPoints + + +
    +

    Array of elements.

    +
    +
    + + legendTitle + + +
    +

    Label for the data in legend.

    +
    +
    +
    +
    +
    +
  • +
  • +
    + + + + ID + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias ID = UUID
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + DataPoint + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias DataPoint = PieChartDataPoint
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/PointColour.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/PointColour.html new file mode 100644 index 00000000..11165223 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/PointColour.html @@ -0,0 +1,655 @@ + + + + PointColour Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

PointColour

+
+
+ +
public struct PointColour : Hashable
+ +
+
+

Undocumented

+ +
+
+ +
+
+
+
    +
  • +
    + + + + border + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let border: Color
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + fill + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let fill: Color
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(border:fill:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    border: Color = .primary,
    +    fill: Color = .primary
    +)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/PointStyle.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/PointStyle.html new file mode 100644 index 00000000..582e393a --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/PointStyle.html @@ -0,0 +1,848 @@ + + + + PointStyle Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

PointStyle

+
+
+ +
public struct PointStyle : Hashable
+ +
+
+

Model for controlling the aesthetic of the point markers.

+ +

Point markers are placed on top of the line, marking where the data points are.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + pointSize + +
    +
    +
    +
    +
    +
    +

    Overall size of the mark

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var pointSize: CGFloat
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + borderColour + +
    +
    +
    +
    +
    +
    +

    Outter ring colour

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var borderColour: Color
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + fillColour + +
    +
    +
    +
    +
    +
    +

    Center fill colour

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var fillColour: Color
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + lineWidth + +
    +
    +
    +
    +
    +
    +

    Outter ring line width

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var lineWidth: CGFloat
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + pointType + +
    +
    +
    +
    +
    +
    +

    Style of the point marks

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var pointType: PointType
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + pointShape + +
    +
    +
    +
    +
    +
    +

    Shape of the points

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var pointShape: PointShape
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Styling for the point markers.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    pointSize: CGFloat = 9,
    +    borderColour: Color = .primary,
    +    fillColour: Color = Color(.gray),
    +    lineWidth: CGFloat = 3,
    +    pointType: PointType = .outline,
    +    pointShape: PointShape = .circle
    +)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + pointSize + + +
    +

    Overall size of the mark

    +
    +
    + + borderColour + + +
    +

    Outter ring colour

    +
    +
    + + fillColour + + +
    +

    Center fill colour

    +
    +
    + + lineWidth + + +
    +

    Outter ring line width

    +
    +
    + + pointType + + +
    +

    Style of the point marks

    +
    +
    + + pointShape + + +
    +

    Shape of the points

    +
    +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/RangedBarChart.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/RangedBarChart.html new file mode 100644 index 00000000..7eb408f9 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/RangedBarChart.html @@ -0,0 +1,670 @@ + + + + RangedBarChart Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

RangedBarChart

+
+
+ +
public struct RangedBarChart<ChartData> : View where ChartData : RangedBarChartData
+ +
+
+

View for creating a grouped bar chart.

+ +

Uses RangedBarChartData data model.

+

Declaration

+
RangedBarChart(chartData: data)
+
+

View Modifiers

+ +

The order of the view modifiers is some what important +as the modifiers are various types for stacks that wrap +around the previous views.

+
.touchOverlay(chartData: data)
+.averageLine(chartData: data,
+             strokeStyle: StrokeStyle(lineWidth: 3,dash: [5,10]))
+.yAxisPOI(chartData: data,
+          markerName: "50",
+          markerValue: 50,
+          lineColour: Color.blue,
+          strokeStyle: StrokeStyle(lineWidth: 3, dash: [5,10]))
+.xAxisGrid(chartData: data)
+.yAxisGrid(chartData: data)
+.xAxisLabels(chartData: data)
+.yAxisLabels(chartData: data)
+.infoBox(chartData: data)
+.floatingInfoBox(chartData: data)
+.headerBox(chartData: data)
+.legends(chartData: data)
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + init(chartData:) + +
    +
    +
    +
    +
    +
    +

    Initialises a bar chart view.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(chartData: ChartData)
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + chartData + + +
    +

    Must be RangedBarChartData model.

    +
    +
    +
    +
    +
    +
  • +
  • +
    + + + + body + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var body: some View { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/RangedBarDataPoint.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/RangedBarDataPoint.html new file mode 100644 index 00000000..41e0a53f --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/RangedBarDataPoint.html @@ -0,0 +1,918 @@ + + + + RangedBarDataPoint Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

RangedBarDataPoint

+
+
+ +
public struct RangedBarDataPoint : CTRangedBarDataPoint
+ +
+
+

Data for a single ranged bar chart data point.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + id + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let id: UUID
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + upperValue + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var upperValue: Double
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + lowerValue + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var lowerValue: Double
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + xAxisLabel + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var xAxisLabel: String?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + description + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var description: String?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + date + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var date: Date?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + colour + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var colour: ColourStyle
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + legendTag + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var legendTag: String
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Data model for a single data point with colour for use with a ranged bar chart.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    lowerValue: Double,
    +    upperValue: Double,
    +    xAxisLabel: String? = nil,
    +    description: String? = nil,
    +    date: Date? = nil,
    +    colour: ColourStyle = ColourStyle(colour: .red)
    +)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + lowerValue + + +
    +

    Value of the lower range of the data point.

    +
    +
    + + upperValue + + +
    +

    Value of the upper range of the data point.

    +
    +
    + + xAxisLabel + + +
    +

    Label that can be shown on the X axis.

    +
    +
    + + description + + +
    +

    A longer label that can be shown on touch input.

    +
    +
    + + date + + +
    +

    Date of the data point if any data based calculations are required.

    +
    +
    + + colour + + +
    +

    Colour styling for the fill.

    +
    +
    +
    +
    +
    +
  • +
  • +
    + + + + ID + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias ID = UUID
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/RangedBarDataSet.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/RangedBarDataSet.html new file mode 100644 index 00000000..336602bf --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/RangedBarDataSet.html @@ -0,0 +1,762 @@ + + + + RangedBarDataSet Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

RangedBarDataSet

+
+
+ +
public struct RangedBarDataSet : CTRangedBarChartDataSet, DataFunctionsProtocol
+ +
+
+

Data set for ranged bar charts.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + id + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var id: UUID
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + dataPoints + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var dataPoints: [RangedBarDataPoint]
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + legendTitle + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var legendTitle: String
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Initialises a new data set for ranged bar chart.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    dataPoints: [RangedBarDataPoint],
    +    legendTitle: String = ""
    +)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + +
    + + dataPoints + + +
    +

    Array of elements.

    +
    +
    + + legendTitle + + +
    +

    Label for the data in legend.

    +
    +
    +
    +
    +
    +
  • +
  • +
    + + + + ID + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias ID = UUID
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + DataPoint + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias DataPoint = RangedBarDataPoint
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/RangedLineChart.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/RangedLineChart.html new file mode 100644 index 00000000..5343c0f8 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/RangedLineChart.html @@ -0,0 +1,674 @@ + + + + RangedLineChart Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

RangedLineChart

+
+
+ +
public struct RangedLineChart<ChartData> : View where ChartData : RangedLineChartData
+ +
+
+

View for drawing a line chart with upper and lower range values .

+ +

Uses RangedLineChartData data model.

+

Declaration

+
RangedLineChart(chartData: data)
+
+

View Modifiers

+ +

The order of the view modifiers is some what important +as the modifiers are various types for stacks that wrap +around the previous views.

+
.pointMarkers(chartData: data)
+.touchOverlay(chartData: data, specifier: "%.0f")
+.yAxisPOI(chartData: data,
+          markerName: "Something",
+          markerValue: 110,
+          labelPosition: .center(specifier: "%.0f"),
+          labelColour: Color.white,
+          labelBackground: Color.blue,
+          lineColour: Color.blue,
+          strokeStyle: StrokeStyle(lineWidth: 3, dash: [5,10]))
+.averageLine(chartData: data,
+             strokeStyle: StrokeStyle(lineWidth: 3, dash: [5,10]))
+.xAxisGrid(chartData: data)
+.yAxisGrid(chartData: data)
+.xAxisLabels(chartData: data)
+.yAxisLabels(chartData: data)
+.infoBox(chartData: data)
+.floatingInfoBox(chartData: data)
+.headerBox(chartData: data)
+.legends(chartData: data, columns: [GridItem(.flexible()), GridItem(.flexible())])
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + init(chartData:) + +
    +
    +
    +
    +
    +
    +

    Initialises a line chart view.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(chartData: ChartData)
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + chartData + + +
    +

    Must be RangedLineChartData model.

    +
    +
    +
    +
    +
    +
  • +
  • +
    + + + + body + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var body: some View { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/RangedLineChartDataPoint.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/RangedLineChartDataPoint.html new file mode 100644 index 00000000..2bdcd687 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/RangedLineChartDataPoint.html @@ -0,0 +1,959 @@ + + + + RangedLineChartDataPoint Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

RangedLineChartDataPoint

+
+
+ +
public struct RangedLineChartDataPoint : CTRangedLineDataPoint, IgnoreMe
+ +
+
+

Data for a single ranged data point.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + id + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let id: UUID
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + value + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var value: Double
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + upperValue + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var upperValue: Double
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + lowerValue + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var lowerValue: Double
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + xAxisLabel + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var xAxisLabel: String?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + description + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var description: String?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + date + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var date: Date?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + pointColour + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var pointColour: PointColour?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + ignoreMe + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var ignoreMe: Bool
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + legendTag + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var legendTag: String
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Data model for a single data point with colour for use with a ranged line chart.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    value: Double,
    +    upperValue: Double,
    +    lowerValue: Double,
    +    xAxisLabel: String? = nil,
    +    description: String? = nil,
    +    date: Date? = nil,
    +    pointColour: PointColour? = nil
    +)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + value + + +
    +

    Value of the data point.

    +
    +
    + + upperValue + + +
    +

    Value of the upper range of the data point.

    +
    +
    + + lowerValue + + +
    +

    Value of the lower range of the data point.

    +
    +
    + + xAxisLabel + + +
    +

    Label that can be shown on the X axis.

    +
    +
    + + description + + +
    +

    A longer label that can be shown on touch input.

    +
    +
    + + date + + +
    +

    Date of the data point if any data based calculations are required.

    +
    +
    + + pointColour + + +
    +

    Colour of the point markers.

    +
    +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/RangedLineDataSet.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/RangedLineDataSet.html new file mode 100644 index 00000000..90e98ea1 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/RangedLineDataSet.html @@ -0,0 +1,881 @@ + + + + RangedLineDataSet Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

RangedLineDataSet

+
+
+ +
public struct RangedLineDataSet : CTRangedLineChartDataSet, DataFunctionsProtocol
+ +
+
+

Data set for a ranged line.

+ +

Contains information specific to the line and range fill.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + id + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let id: UUID
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + dataPoints + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var dataPoints: [RangedLineChartDataPoint]
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + legendTitle + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var legendTitle: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + legendFillTitle + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var legendFillTitle: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + pointStyle + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var pointStyle: PointStyle
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + style + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var style: RangedLineStyle
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Initialises a data set for a line in a ranged line chart.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    dataPoints: [RangedLineChartDataPoint],
    +    legendTitle: String = "",
    +    legendFillTitle: String = "",
    +    pointStyle: PointStyle = PointStyle(),
    +    style: RangedLineStyle = RangedLineStyle()
    +)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + + + +
    + + dataPoints + + +
    +

    Array of elements.

    +
    +
    + + legendTitle + + +
    +

    Label for the data in legend.

    +
    +
    + + legendFillTitle + + +
    +

    Label for the range data in legend.

    +
    +
    + + pointStyle + + +
    +

    Styling information for the data point markers.

    +
    +
    + + style + + +
    +

    Styling for how the line will be draw in.

    +
    +
    +
    +
    +
    +
  • +
  • +
    + + + + ID + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias ID = UUID
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Styling + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias Styling = RangedLineStyle
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/RangedLineStyle.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/RangedLineStyle.html new file mode 100644 index 00000000..1c7294f8 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/RangedLineStyle.html @@ -0,0 +1,801 @@ + + + + RangedLineStyle Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

RangedLineStyle

+
+
+ +
public struct RangedLineStyle : CTRangedLineStyle, Hashable
+ +
+
+

Model for controlling the aesthetic of the ranged line chart.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + lineColour + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var lineColour: ColourStyle
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + fillColour + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var fillColour: ColourStyle
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + lineType + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var lineType: LineType
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + strokeStyle + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var strokeStyle: Stroke
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + ignoreZero + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var ignoreZero: Bool
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Initializer +

+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Initialize the styling for ranged line chart.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(lineColour: ColourStyle = ColourStyle(),
    +            fillColour: ColourStyle = ColourStyle(),
    +            lineType: LineType = .curvedLine,
    +            strokeStyle: Stroke = Stroke(),
    +            ignoreZero: Bool = false
    +)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + +
    + + colour + + +
    +

    Single Colour

    +
    +
    + + lineType + + +
    +

    Drawing style of the line

    +
    +
    + + strokeStyle + + +
    +

    Stroke Style

    +
    +
    + + ignoreZero + + +
    +

    Whether the chart should skip data points who’s value is 0.

    +
    +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/StackedBarChart.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/StackedBarChart.html new file mode 100644 index 00000000..488400b3 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/StackedBarChart.html @@ -0,0 +1,670 @@ + + + + StackedBarChart Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

StackedBarChart

+
+
+ +
public struct StackedBarChart<ChartData> : View where ChartData : StackedBarChartData
+ +
+
+

View for creating a stacked bar chart.

+ +

Uses StackedBarChartData data model.

+

Declaration

+
StackedBarChart(chartData: data)
+
+

View Modifiers

+ +

The order of the view modifiers is some what important +as the modifiers are various types for stacks that wrap +around the previous views.

+
.touchOverlay(chartData: data)
+.averageLine(chartData: data,
+             strokeStyle: StrokeStyle(lineWidth: 3,dash: [5,10]))
+.yAxisPOI(chartData: data,
+          markerName: "50",
+          markerValue: 50,
+          lineColour: Color.blue,
+          strokeStyle: StrokeStyle(lineWidth: 3, dash: [5,10]))
+.xAxisGrid(chartData: data)
+.yAxisGrid(chartData: data)
+.xAxisLabels(chartData: data)
+.yAxisLabels(chartData: data)
+.infoBox(chartData: data)
+.floatingInfoBox(chartData: data)
+.headerBox(chartData: data)
+.legends(chartData: data)
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + init(chartData:) + +
    +
    +
    +
    +
    +
    +

    Initialises a stacked bar chart view.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(chartData: ChartData)
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + chartData + + +
    +

    Must be StackedBarChartData model.

    +
    +
    +
    +
    +
    +
  • +
  • +
    + + + + body + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var body: some View { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/StackedBarDataPoint.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/StackedBarDataPoint.html new file mode 100644 index 00000000..2fa15bf8 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/StackedBarDataPoint.html @@ -0,0 +1,866 @@ + + + + StackedBarDataPoint Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

StackedBarDataPoint

+
+
+ +
public struct StackedBarDataPoint : CTMultiBarDataPoint
+ +
+
+

Data for a single stacked chart data point.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + id + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let id: UUID
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + value + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var value: Double
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + xAxisLabel + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var xAxisLabel: String?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + description + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var description: String?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + date + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var date: Date?
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + group + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var group: GroupingData
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + legendTag + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var legendTag: String
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Data model for a single data point with colour info for use with a stacked bar chart.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    value: Double,
    +    description: String? = nil,
    +    date: Date? = nil,
    +    group: GroupingData
    +)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + +
    + + value + + +
    +

    Value of the data point.

    +
    +
    + + description + + +
    +

    A longer label that can be shown on touch input.

    +
    +
    + + date + + +
    +

    Date of the data point if any data based calculations are required.

    +
    +
    + + group + + +
    +

    Group data informs the data models how the data point are linked.

    +
    +
    +
    +
    +
    +
  • +
  • +
    + + + + ID + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias ID = UUID
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/StackedBarDataSet.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/StackedBarDataSet.html new file mode 100644 index 00000000..cde6106e --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/StackedBarDataSet.html @@ -0,0 +1,731 @@ + + + + StackedBarDataSet Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

StackedBarDataSet

+
+
+ +
public struct StackedBarDataSet : CTMultiBarChartDataSet
+ +
+
+

Individual data sets for stacked bars charts.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + id + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let id: UUID
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + dataPoints + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var dataPoints: [StackedBarDataPoint]
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + setTitle + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var setTitle: String
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Initialises a new data set for a Stacked Bar Chart.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    dataPoints: [StackedBarDataPoint],
    +    setTitle: String = ""
    +)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + ID + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias ID = UUID
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + DataPoint + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias DataPoint = StackedBarDataPoint
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/StackedBarDataSets.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/StackedBarDataSets.html new file mode 100644 index 00000000..81b80b30 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/StackedBarDataSets.html @@ -0,0 +1,650 @@ + + + + StackedBarDataSets Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

StackedBarDataSets

+
+
+ +
public struct StackedBarDataSets : CTMultiDataSetProtocol, DataFunctionsProtocol
+ +
+
+

Main data set for a stacked bar chart.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + id + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let id: UUID
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + dataSets + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var dataSets: [StackedBarDataSet]
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(dataSets:) + +
    +
    +
    +
    +
    +
    +

    Initialises a new data set for a Stacked Bar Chart.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(dataSets: [StackedBarDataSet])
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/Stroke.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/Stroke.html new file mode 100644 index 00000000..64bb0cfd --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/Stroke.html @@ -0,0 +1,633 @@ + + + + Stroke Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

Stroke

+
+
+ +
public struct Stroke : Hashable, Identifiable
+ +
+
+

A hashable version of StrokeStyle

+ +

StrokeStyle doesn’t conform to Hashable.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + id + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let id: UUID
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(
    +    lineWidth: CGFloat = 3,
    +    lineCap: CGLineCap = .round,
    +    lineJoin: CGLineJoin = .round,
    +    miterLimit: CGFloat = 10,
    +    dash: [CGFloat] = [CGFloat](),
    +    dashPhase: CGFloat = 0
    +)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/TopLabelShape.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/TopLabelShape.html new file mode 100644 index 00000000..c7c331d3 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/TopLabelShape.html @@ -0,0 +1,597 @@ + + + + TopLabelShape Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

TopLabelShape

+
+
+ +
public struct TopLabelShape : Shape
+ +
+
+

Shape used in POI Markers when displaying value in the X axis labels on the top edge.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + path(in:) + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func path(in rect: CGRect) -> Path
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/TrailingLabelShape.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/TrailingLabelShape.html new file mode 100644 index 00000000..ae5baa93 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/Structs/TrailingLabelShape.html @@ -0,0 +1,597 @@ + + + + TrailingLabelShape Structure Reference + + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+

TrailingLabelShape

+
+
+ +
public struct TrailingLabelShape : Shape
+ +
+
+

Shape used in POI Markers when displaying value in the Y axis labels on the trailing edge.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + path(in:) + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func path(in rect: CGRect) -> Path
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/css/highlight.css b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/css/highlight.css new file mode 100644 index 00000000..c170357c --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/css/highlight.css @@ -0,0 +1,202 @@ +/*! Jazzy - https://github.com/realm/jazzy + * Copyright Realm Inc. + * SPDX-License-Identifier: MIT + */ +/* Credit to https://gist.github.com/wataru420/2048287 */ +.highlight .c { + color: #999988; + font-style: italic; } + +.highlight .err { + color: #a61717; + background-color: #e3d2d2; } + +.highlight .k { + color: #000000; + font-weight: bold; } + +.highlight .o { + color: #000000; + font-weight: bold; } + +.highlight .cm { + color: #999988; + font-style: italic; } + +.highlight .cp { + color: #999999; + font-weight: bold; } + +.highlight .c1 { + color: #999988; + font-style: italic; } + +.highlight .cs { + color: #999999; + font-weight: bold; + font-style: italic; } + +.highlight .gd { + color: #000000; + background-color: #ffdddd; } + +.highlight .gd .x { + color: #000000; + background-color: #ffaaaa; } + +.highlight .ge { + color: #000000; + font-style: italic; } + +.highlight .gr { + color: #aa0000; } + +.highlight .gh { + color: #999999; } + +.highlight .gi { + color: #000000; + background-color: #ddffdd; } + +.highlight .gi .x { + color: #000000; + background-color: #aaffaa; } + +.highlight .go { + color: #888888; } + +.highlight .gp { + color: #555555; } + +.highlight .gs { + font-weight: bold; } + +.highlight .gu { + color: #aaaaaa; } + +.highlight .gt { + color: #aa0000; } + +.highlight .kc { + color: #000000; + font-weight: bold; } + +.highlight .kd { + color: #000000; + font-weight: bold; } + +.highlight .kp { + color: #000000; + font-weight: bold; } + +.highlight .kr { + color: #000000; + font-weight: bold; } + +.highlight .kt { + color: #445588; } + +.highlight .m { + color: #009999; } + +.highlight .s { + color: #d14; } + +.highlight .na { + color: #008080; } + +.highlight .nb { + color: #0086B3; } + +.highlight .nc { + color: #445588; + font-weight: bold; } + +.highlight .no { + color: #008080; } + +.highlight .ni { + color: #800080; } + +.highlight .ne { + color: #990000; + font-weight: bold; } + +.highlight .nf { + color: #990000; } + +.highlight .nn { + color: #555555; } + +.highlight .nt { + color: #000080; } + +.highlight .nv { + color: #008080; } + +.highlight .ow { + color: #000000; + font-weight: bold; } + +.highlight .w { + color: #bbbbbb; } + +.highlight .mf { + color: #009999; } + +.highlight .mh { + color: #009999; } + +.highlight .mi { + color: #009999; } + +.highlight .mo { + color: #009999; } + +.highlight .sb { + color: #d14; } + +.highlight .sc { + color: #d14; } + +.highlight .sd { + color: #d14; } + +.highlight .s2 { + color: #d14; } + +.highlight .se { + color: #d14; } + +.highlight .sh { + color: #d14; } + +.highlight .si { + color: #d14; } + +.highlight .sx { + color: #d14; } + +.highlight .sr { + color: #009926; } + +.highlight .s1 { + color: #d14; } + +.highlight .ss { + color: #990073; } + +.highlight .bp { + color: #999999; } + +.highlight .vc { + color: #008080; } + +.highlight .vg { + color: #008080; } + +.highlight .vi { + color: #008080; } + +.highlight .il { + color: #009999; } diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/css/jazzy.css b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/css/jazzy.css new file mode 100644 index 00000000..9d4b08b8 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/css/jazzy.css @@ -0,0 +1,405 @@ +/*! Jazzy - https://github.com/realm/jazzy + * Copyright Realm Inc. + * SPDX-License-Identifier: MIT + */ +*, *:before, *:after { + box-sizing: inherit; } + +body { + margin: 0; + background: #fff; + color: #333; + font: 16px/1.7 "Helvetica Neue", Helvetica, Arial, sans-serif; + letter-spacing: .2px; + -webkit-font-smoothing: antialiased; + box-sizing: border-box; } + +h1 { + font-size: 2rem; + font-weight: 700; + margin: 1.275em 0 0.6em; } + +h2 { + font-size: 1.75rem; + font-weight: 700; + margin: 1.275em 0 0.3em; } + +h3 { + font-size: 1.5rem; + font-weight: 700; + margin: 1em 0 0.3em; } + +h4 { + font-size: 1.25rem; + font-weight: 700; + margin: 1.275em 0 0.85em; } + +h5 { + font-size: 1rem; + font-weight: 700; + margin: 1.275em 0 0.85em; } + +h6 { + font-size: 1rem; + font-weight: 700; + margin: 1.275em 0 0.85em; + color: #777; } + +p { + margin: 0 0 1em; } + +ul, ol { + padding: 0 0 0 2em; + margin: 0 0 0.85em; } + +blockquote { + margin: 0 0 0.85em; + padding: 0 15px; + color: #858585; + border-left: 4px solid #e5e5e5; } + +img { + max-width: 100%; } + +a { + color: #4183c4; + text-decoration: none; } + a:hover, a:focus { + outline: 0; + text-decoration: underline; } + a.discouraged { + text-decoration: line-through; } + a.discouraged:hover, a.discouraged:focus { + text-decoration: underline line-through; } + +table { + background: #fff; + width: 100%; + border-collapse: collapse; + border-spacing: 0; + overflow: auto; + margin: 0 0 0.85em; } + +tr:nth-child(2n) { + background-color: #fbfbfb; } + +th, td { + padding: 6px 13px; + border: 1px solid #ddd; } + +hr { + height: 1px; + border: none; + background-color: #ddd; } + +pre { + margin: 0 0 1.275em; + padding: .85em 1em; + overflow: auto; + background: #f7f7f7; + font-size: .85em; + font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; } + +code { + font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; } + +.item-container p > code, .item-container li > code, .top-matter p > code, .top-matter li > code { + background: #f7f7f7; + padding: .2em; } + .item-container p > code:before, .item-container p > code:after, .item-container li > code:before, .item-container li > code:after, .top-matter p > code:before, .top-matter p > code:after, .top-matter li > code:before, .top-matter li > code:after { + letter-spacing: -.2em; + content: "\00a0"; } + +pre code { + padding: 0; + white-space: pre; } + +.content-wrapper { + display: flex; + flex-direction: column; } + @media (min-width: 768px) { + .content-wrapper { + flex-direction: row; } } +.header { + display: flex; + padding: 8px; + font-size: 0.875em; + background: #444; + color: #999; } + +.header-col { + margin: 0; + padding: 0 8px; } + +.header-col--primary { + flex: 1; } + +.header-link { + color: #fff; } + +.header-icon { + padding-right: 2px; + vertical-align: -3px; + height: 16px; } + +.breadcrumbs { + font-size: 0.875em; + padding: 8px 16px; + margin: 0; + background: #fbfbfb; + border-bottom: 1px solid #ddd; } + +.carat { + height: 10px; + margin: 0 5px; } + +.navigation { + order: 2; } + @media (min-width: 768px) { + .navigation { + order: 1; + width: 25%; + max-width: 300px; + padding-bottom: 64px; + overflow: hidden; + word-wrap: normal; + background: #fbfbfb; + border-right: 1px solid #ddd; } } +.nav-groups { + list-style-type: none; + padding-left: 0; } + +.nav-group-name { + border-bottom: 1px solid #ddd; + padding: 8px 0 8px 16px; } + +.nav-group-name-link { + color: #333; } + +.nav-group-tasks { + margin: 8px 0; + padding: 0 0 0 8px; } + +.nav-group-task { + font-size: 1em; + list-style-type: none; + white-space: nowrap; } + +.nav-group-task-link { + color: #808080; } + +.main-content { + order: 1; } + @media (min-width: 768px) { + .main-content { + order: 2; + flex: 1; + padding-bottom: 60px; } } +.section { + padding: 0 32px; + border-bottom: 1px solid #ddd; } + +.section-content { + max-width: 834px; + margin: 0 auto; + padding: 16px 0; } + +.section-name { + color: #666; + display: block; } + .section-name p { + margin-bottom: inherit; } + +.declaration .highlight { + overflow-x: initial; + padding: 8px 0; + margin: 0; + background-color: transparent; + border: none; } + +.task-group-section { + border-top: 1px solid #ddd; } + +.task-group { + padding-top: 0px; } + +.task-name-container a[name]:before { + content: ""; + display: block; } + +.section-name-container { + position: relative; } + .section-name-container .section-name-link { + position: absolute; + top: 0; + left: 0; + bottom: 0; + right: 0; + margin-bottom: 0; } + .section-name-container .section-name { + position: relative; + pointer-events: none; + z-index: 1; } + .section-name-container .section-name a { + pointer-events: auto; } + +.item-container { + padding: 0; } + +.item { + padding-top: 8px; + width: 100%; + list-style-type: none; } + .item a[name]:before { + content: ""; + display: block; } + .item .token, .item .direct-link { + display: inline-block; + text-indent: -20px; + padding-left: 3px; + margin-left: 20px; + font-size: 1rem; } + +.declaration-note { + font-size: .85em; + color: #808080; + font-style: italic; } + +.pointer-container { + border-bottom: 1px solid #ddd; + left: -23px; + padding-bottom: 13px; + position: relative; + width: 110%; } + +.pointer { + left: 21px; + top: 7px; + display: block; + position: absolute; + width: 12px; + height: 12px; + border-left: 1px solid #ddd; + border-top: 1px solid #ddd; + background: #fff; + transform: rotate(45deg); } + +.height-container { + display: none; + position: relative; + width: 100%; + overflow: hidden; } + .height-container .section { + background: #fff; + border: 1px solid #ddd; + border-top-width: 0; + padding-top: 10px; + padding-bottom: 5px; + padding: 8px 16px; } + +.aside, .language { + padding: 6px 12px; + margin: 12px 0; + border-left: 5px solid #dddddd; + overflow-y: hidden; } + .aside .aside-title, .language .aside-title { + font-size: 9px; + letter-spacing: 2px; + text-transform: uppercase; + padding-bottom: 0; + margin: 0; + color: #aaa; + -webkit-user-select: none; } + .aside p:last-child, .language p:last-child { + margin-bottom: 0; } + +.language { + border-left: 5px solid #cde9f4; } + .language .aside-title { + color: #4183c4; } + +.aside-warning, .aside-deprecated, .aside-unavailable { + border-left: 5px solid #ff6666; } + .aside-warning .aside-title, .aside-deprecated .aside-title, .aside-unavailable .aside-title { + color: #ff0000; } + +.graybox { + border-collapse: collapse; + width: 100%; } + .graybox p { + margin: 0; + word-break: break-word; + min-width: 50px; } + .graybox td { + border: 1px solid #ddd; + padding: 5px 25px 5px 10px; + vertical-align: middle; } + .graybox tr td:first-of-type { + text-align: right; + padding: 7px; + vertical-align: top; + word-break: normal; + width: 40px; } + +.slightly-smaller { + font-size: 0.9em; } + +.footer { + padding: 8px 16px; + background: #444; + color: #ddd; + font-size: 0.8em; } + .footer p { + margin: 8px 0; } + .footer a { + color: #fff; } + +html.dash .header, html.dash .breadcrumbs, html.dash .navigation { + display: none; } + +html.dash .height-container { + display: block; } + +form[role=search] input { + font: 16px/1.7 "Helvetica Neue", Helvetica, Arial, sans-serif; + font-size: 14px; + line-height: 24px; + padding: 0 10px; + margin: 0; + border: none; + border-radius: 1em; } + .loading form[role=search] input { + background: white url(../img/spinner.gif) center right 4px no-repeat; } + +form[role=search] .tt-menu { + margin: 0; + min-width: 300px; + background: #fbfbfb; + color: #333; + border: 1px solid #ddd; } + +form[role=search] .tt-highlight { + font-weight: bold; } + +form[role=search] .tt-suggestion { + font: 16px/1.7 "Helvetica Neue", Helvetica, Arial, sans-serif; + padding: 0 8px; } + form[role=search] .tt-suggestion span { + display: table-cell; + white-space: nowrap; } + form[role=search] .tt-suggestion .doc-parent-name { + width: 100%; + text-align: right; + font-weight: normal; + font-size: 0.9em; + padding-left: 16px; } + +form[role=search] .tt-suggestion:hover, +form[role=search] .tt-suggestion.tt-cursor { + cursor: pointer; + background-color: #4183c4; + color: #fff; } + +form[role=search] .tt-suggestion:hover .doc-parent-name, +form[role=search] .tt-suggestion.tt-cursor .doc-parent-name { + color: #fff; } diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/img/carat.png b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/img/carat.png new file mode 100755 index 00000000..29d2f7fd Binary files /dev/null and b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/img/carat.png differ diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/img/dash.png b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/img/dash.png new file mode 100755 index 00000000..6f694c7a Binary files /dev/null and b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/img/dash.png differ diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/img/spinner.gif b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/img/spinner.gif new file mode 100644 index 00000000..e3038d0a Binary files /dev/null and b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/img/spinner.gif differ diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/index.html b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/index.html new file mode 100644 index 00000000..ce9b92af --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/index.html @@ -0,0 +1,1029 @@ + + + + SwiftUICharts Reference + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+ +

SwiftUICharts

+ +

A charts / plotting library for SwiftUI. Works on macOS, iOS, watchOS, and tvOS and has accessibility and Localization features built in.

+ +

Demo Project

+ +

Documentation

+ +

Working on a Version 3 with a more SwiftUI feel to the API.

+

Chart Types

+ + +

Line Charts

+

Line Chart

+ +

Example of Line Chart

+ +

Uses LineChartData data model.

+
LineChart(chartData: LineChartData)
+
+ +
+

Filled Line Chart

+ +

Example of Filled Line Chart

+ +

Uses LineChartData data model.

+
FilledLineChart(chartData: LineChartData)
+
+ +
+

Multi Line Chart

+ +

Example of Multi Line Chart

+ +

Uses MultiLineChartData data model.

+
MultiLineChart(chartData: MultiLineChartData)
+
+ +
+

Ranged Line Chart

+ +

Example of Ranged Line Chart

+ +

Uses RangedLineChart data model.

+
RangedLineChart(chartData: RangedLineChartData)
+
+ +
+

Bar Charts

+

Bar Chart

+ +

Example of Bar Chart

+ +

Uses BarChartData data model.

+
BarChart(chartData: BarChartData)
+
+ +
+

Range Bar Chart

+ +

Example of Range Bar Chart

+ +

Uses RangedBarChartData data model.

+
RangedBarChart(chartData: RangedBarChartData)
+
+ +
+

Grouped Bar Chart

+ +

Example of Grouped Bar Chart

+ +

Uses GroupedBarChartData data model.

+
GroupedBarChart(chartData: GroupedBarChartData)
+
+ +
+

Stacked Bar Chart

+ +

Example of Stacked Bar Chart

+ +

Uses StackedBarChartData data model.

+
StackedBarChart(chartData: StackedBarChartData)
+
+ +
+

Pie Charts

+

Pie Chart

+ +

Example of Pie Chart

+ +

Uses PieChartData data model.

+
PieChart(chartData: PieChartData)
+
+ +
+

Doughnut Chart

+ +

Example of Doughnut Chart

+ +

Uses DoughnutChartData data model.

+
DoughnutChart(chartData: DoughnutChartData)
+
+ +
+

Documentation

+

Installation

+ +

Swift Package Manager

+
File > Swift Packages > Add Package Dependency...
+
+
import SwiftUICharts
+
+ +

If you have trouble with views not updating correctly, add .id() to your View.

+
LineChart(chartData: LineChartData)
+    .id(LineChartData.id)
+
+ +
+

View Modifiers

+ + + +

The order of the view modifiers is some what important as the modifiers are various types of stacks that wrap around the previous views.

+ +
+

All Chart Types

+

Touch Overlay

+ +

Detects input either from touch of pointer. Finds the nearest data point and displays the relevent information where specified.

+ +

The location of the info box is set in ChartStyle -> infoBoxPlacement.

+
.touchOverlay(chartData: CTChartData, specifier: String, unit: TouchUnit)
+
+ +
    +
  • chartData: Chart data model.
  • +
  • specifier: Decimal precision for labels.
  • +
  • unit: Unit to put before or after the value.
  • +
+ +

Setup within Chart Data –> Chart Style

+ +
+

Info Box

+ +

Displays the information from Touch Overlay if InfoBoxPlacement is set to .infoBox.

+ +

The location of the info box is set in ChartStyle -> infoBoxPlacement.

+
.infoBox(chartData: CTChartData)
+
+ +
    +
  • chartData: Chart data model.
  • +
+ +
+

Floating Info Box

+ +

Displays the information from Touch Overlay if InfoBoxPlacement is set to .floating.

+ +

The location of the info box is set in ChartStyle -> infoBoxPlacement.

+
.floatingInfoBox(chartData: CTChartData)
+
+ +
    +
  • chartData: Chart data model.
  • +
+ +
+

Header Box

+ +

Displays the metadata about the chart, set in Chart Data -> ChartMetadata

+ +

Displays the information from Touch Overlay if InfoBoxPlacement is set to .header.

+ +

The location of the info box is set in ChartStyle -> infoBoxPlacement.

+
.headerBox(chartData: CTChartData)
+
+ +
+

Legends

+ +

Displays legends.

+
.legends()
+
+ +

Lays out markers over each of the data point.

+ +
+

Line and Bar Charts

+

Average Line

+ +

Shows a marker line at the average of all the data points.

+
.averageLine(chartData: CTLineBarChartDataProtocol,
+             markerName: "Average",
+             labelPosition: .yAxis(specifier: "%.0f"),
+             lineColour: .primary,
+             strokeStyle: StrokeStyle(lineWidth: 3, dash: [5,10]))
+
+ +
    +
  • chartData: Chart data model.
  • +
  • markerName: Title of marker, for the legend.
  • +
  • labelPosition: Option to display the markers’ value inline with the marker.
  • +
  • labelColour: Colour of the Text.
  • +
  • labelBackground: Colour of the background.
  • +
  • lineColour: Line Colour.
  • +
  • strokeStyle: Style of Stroke.
  • +
+ +
+

Y Axis Point Of Interest

+ +

Configurable Point of interest

+
.yAxisPOI(chartData: CTLineBarChartDataProtocol,
+          markerName: "Marker",
+          markerValue: 123,
+          labelPosition: .center(specifier: "%.0f"),
+          labelColour: Color.black,
+          labelBackground: Color.orange,
+          lineColour: Color.orange,
+          strokeStyle: StrokeStyle(lineWidth: 3, dash: [5,10]))
+
+ +
    +
  • chartData: Chart data model.
  • +
  • markerName: Title of marker, for the legend.
  • +
  • markerValue: Value to mark
  • +
  • labelPosition: Option to display the markers’ value inline with the marker.
  • +
  • labelColour: Colour of the Text.
  • +
  • labelBackground: Colour of the background.
  • +
  • lineColour: Line Colour.
  • +
  • strokeStyle: Style of Stroke.
  • +
+ +
+

X Axis Grid

+ +

Adds vertical lines along the X axis.

+
.xAxisGrid(chartData: CTLineBarChartDataProtocol)
+
+ +

Setup within ChartData -> ChartStyle.

+ +
+

Y Axis Grid

+ +

Adds horizontal lines along the Y axis.

+
.yAxisGrid(chartData: CTLineBarChartDataProtocol)
+
+ +

Setup within ChartData -> ChartStyle.

+ +
+

X Axis Labels

+ +

Labels for the X axis.

+
.xAxisLabels(chartData: CTLineBarChartDataProtocol)
+
+ +

Setup within ChartData -> ChartStyle.

+ +
+

Y Axis Labels

+ +

Automatically generated labels for the Y axis

+
.yAxisLabels(chartData: CTLineBarChartDataProtocol, specifier: "%.0f")
+
+ +
    +
  • specifier: Decimal precision specifier.
  • +
+ +

Setup within ChartData -> ChartStyle.

+ +

yAxisLabelType:

+
case numeric // Auto generated, numeric labels.
+case custom // Custom labels array
+
+ +

Custom is set from ChartData -> yAxisLabels

+ +
+

Linear Trend Line

+ +

A line across the chart to show the trend in the data.

+
.linearTrendLine(chartData: CTLineBarChartDataProtocol,
+                 firstValue: Double,
+                 lastValue: Double,
+                 lineColour: ColourStyle,
+                 strokeStyle: StrokeStyle)
+
+ +
+

Line Charts

+

Point Markers

+ +

Lays out markers over each of the data point.

+
.pointMarkers(chartData: CTLineChartDataProtocol)
+
+ +

Setup within Data Set -> PointStyle.

+ +
+

Filled Top Line

+ +

Adds an independent line on top of FilledLineChart.

+
.filledTopLine(chartData: LineChartData,
+               lineColour: ColourStyle,
+               strokeStyle: StrokeStyle)
+
+ +

Allows for a hard line over the data point with a semi opaque fill.

+ +
+

Examples

+

Line Chart

+
struct LineChartDemoView: View {
+
+    let data : LineChartData = weekOfData()
+
+    var body: some View {
+        VStack {
+            LineChart(chartData: data)
+                .pointMarkers(chartData: data)
+                .touchOverlay(chartData: data, specifier: "%.0f")
+                .yAxisPOI(chartData: data,
+                          markerName: "Step Count Aim",
+                          markerValue: 15_000,
+                          labelPosition: .center(specifier: "%.0f"),
+                          labelColour: Color.black,
+                          labelBackground: Color(red: 1.0, green: 0.75, blue: 0.25),
+                          lineColour: Color(red: 1.0, green: 0.75, blue: 0.25),
+                          strokeStyle: StrokeStyle(lineWidth: 3, dash: [5,10]))
+                .yAxisPOI(chartData: data,
+                          markerName: "Minimum Recommended",
+                          markerValue: 10_000,
+                          labelPosition: .center(specifier: "%.0f"),
+                          labelColour: Color.white,
+                          labelBackground: Color(red: 0.25, green: 0.75, blue: 1.0),
+                          lineColour: Color(red: 0.25, green: 0.75, blue: 1.0),
+                          strokeStyle: StrokeStyle(lineWidth: 3, dash: [5,10]))
+                .averageLine(chartData: data,
+                             strokeStyle: StrokeStyle(lineWidth: 3, dash: [5,10]))
+                .xAxisGrid(chartData: data)
+                .yAxisGrid(chartData: data)
+                .xAxisLabels(chartData: data)
+                .yAxisLabels(chartData: data)
+                .infoBox(chartData: data)
+                .headerBox(chartData: data)
+                .legends(chartData: data, columns: [GridItem(.flexible()), GridItem(.flexible())])
+                .id(data.id)
+                .frame(minWidth: 150, maxWidth: 900, minHeight: 150, idealHeight: 250, maxHeight: 400, alignment: .center)
+        }
+        .navigationTitle("Week of Data")
+    }
+
+    static func weekOfData() -> LineChartData {
+        let data = LineDataSet(dataPoints: [
+            LineChartDataPoint(value: 12000, xAxisLabel: "M", description: "Monday"),
+            LineChartDataPoint(value: 10000, xAxisLabel: "T", description: "Tuesday"),
+            LineChartDataPoint(value: 8000,  xAxisLabel: "W", description: "Wednesday"),
+            LineChartDataPoint(value: 17500, xAxisLabel: "T", description: "Thursday"),
+            LineChartDataPoint(value: 16000, xAxisLabel: "F", description: "Friday"),
+            LineChartDataPoint(value: 11000, xAxisLabel: "S", description: "Saturday"),
+            LineChartDataPoint(value: 9000,  xAxisLabel: "S", description: "Sunday")
+        ],
+        legendTitle: "Steps",
+        pointStyle: PointStyle(),
+        style: LineStyle(lineColour: ColourStyle(colour: .red), lineType: .curvedLine))
+
+        let metadata   = ChartMetadata(title: "Step Count", subtitle: "Over a Week")
+
+        let gridStyle  = GridStyle(numberOfLines: 7,
+                                   lineColour   : Color(.lightGray).opacity(0.5),
+                                   lineWidth    : 1,
+                                   dash         : [8],
+                                   dashPhase    : 0)
+
+        let chartStyle = LineChartStyle(infoBoxPlacement    : .infoBox(isStatic: false),
+                                        infoBoxBorderColour : Color.primary,
+                                        infoBoxBorderStyle  : StrokeStyle(lineWidth: 1),
+
+                                        markerType          : .vertical(attachment: .line(dot: .style(DotStyle()))),
+
+                                        xAxisGridStyle      : gridStyle,
+                                        xAxisLabelPosition  : .bottom,
+                                        xAxisLabelColour    : Color.primary,
+                                        xAxisLabelsFrom     : .dataPoint(rotation: .degrees(0)),
+
+                                        yAxisGridStyle      : gridStyle,
+                                        yAxisLabelPosition  : .leading,
+                                        yAxisLabelColour    : Color.primary,
+                                        yAxisNumberOfLabels : 7,
+
+                                        baseline            : .minimumWithMaximum(of: 5000),
+                                        topLine             : .maximum(of: 20000),
+
+                                        globalAnimation     : .easeOut(duration: 1))
+
+        return LineChartData(dataSets       : data,
+                             metadata       : metadata,
+                             chartStyle     : chartStyle)
+
+    }
+}
+
+

Accessibility

+ +

Inside certain elements are additional tags to help describe the chart for VoiceOver.

+ +

See Localization of Accessibility

+

Localization

+ +

All labels support localization. There are, however, some hidden labels that are there to support VoiceOver. See Localization of Accessibility

+

Localization of Accessibility

+ +

See the localization demo in the Demo Project.

+ +
+ +

Voice over description of a datapoint when the user touches the area closest to the data point. +The VoiceOver will say <chart title>, <data point value>, <data point description>.

+
"%@ <local_description_of_a_data_point>" = "%@, <Description of a data point>";
+
+ +

Read out before a poiMarker. +The VoiceOver will say <p o i marker>, <marker legend title>, <marker value>.

+
"P-O-I-Marker" = "P O I Marker";
+"Average" = "Average";
+
+ +

Voice over description of a poiMarker. +The VoiceOver will say <P-O-I-Marker>, <marker legend title>, <marker value>.

+
"<local_marker_legend_title> %@" = "local_marker_legend_title, %@";
+
+ +

Read out before a axisLabel. +The VoiceOver will say <axisLabel>, <marker value>.

+
"X-Axis-Label" = "X Axis Label";
+"Y-Axis-Label" = "Y Axis Label";
+
+ +

Read out before a legend. +The VoiceOver will say <chart type legend>, <legend title>.

+
"Line-Chart-Legend" = "Line Chart Legend";
+"P-O-I-Marker-Legend" = "P O I Marker Legend";
+"Bar-Chart-Legend" = "Bar Chart Legend";
+"P-O-I-Marker-Legend" = "P O I Marker Legend";
+"Pie-Chart-Legend" = "Pie Chart Legend";
+"P-O-I-Marker-Legend" = "P O I Marker Legend";
+
+ +
+
+ + +
+
+ + + diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/js/jazzy.js b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/js/jazzy.js new file mode 100755 index 00000000..1ac86992 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/js/jazzy.js @@ -0,0 +1,74 @@ +// Jazzy - https://github.com/realm/jazzy +// Copyright Realm Inc. +// SPDX-License-Identifier: MIT + +window.jazzy = {'docset': false} +if (typeof window.dash != 'undefined') { + document.documentElement.className += ' dash' + window.jazzy.docset = true +} +if (navigator.userAgent.match(/xcode/i)) { + document.documentElement.className += ' xcode' + window.jazzy.docset = true +} + +function toggleItem($link, $content) { + var animationDuration = 300; + $link.toggleClass('token-open'); + $content.slideToggle(animationDuration); +} + +function itemLinkToContent($link) { + return $link.parent().parent().next(); +} + +// On doc load + hash-change, open any targeted item +function openCurrentItemIfClosed() { + if (window.jazzy.docset) { + return; + } + var $link = $(`a[name="${location.hash.substring(1)}"]`).nextAll('.token'); + $content = itemLinkToContent($link); + if ($content.is(':hidden')) { + toggleItem($link, $content); + } +} + +$(openCurrentItemIfClosed); +$(window).on('hashchange', openCurrentItemIfClosed); + +// On item link ('token') click, toggle its discussion +$('.token').on('click', function(event) { + if (window.jazzy.docset) { + return; + } + var $link = $(this); + toggleItem($link, itemLinkToContent($link)); + + // Keeps the document from jumping to the hash. + var href = $link.attr('href'); + if (history.pushState) { + history.pushState({}, '', href); + } else { + location.hash = href; + } + event.preventDefault(); +}); + +// Clicks on links to the current, closed, item need to open the item +$("a:not('.token')").on('click', function() { + if (location == this.href) { + openCurrentItemIfClosed(); + } +}); + +// KaTeX rendering +if ("katex" in window) { + $($('.math').each( (_, element) => { + katex.render(element.textContent, element, { + displayMode: $(element).hasClass('m-block'), + throwOnError: false, + trust: true + }); + })) +} diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/js/jazzy.search.js b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/js/jazzy.search.js new file mode 100644 index 00000000..359cdbb8 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/js/jazzy.search.js @@ -0,0 +1,74 @@ +// Jazzy - https://github.com/realm/jazzy +// Copyright Realm Inc. +// SPDX-License-Identifier: MIT + +$(function(){ + var $typeahead = $('[data-typeahead]'); + var $form = $typeahead.parents('form'); + var searchURL = $form.attr('action'); + + function displayTemplate(result) { + return result.name; + } + + function suggestionTemplate(result) { + var t = '
'; + t += '' + result.name + ''; + if (result.parent_name) { + t += '' + result.parent_name + ''; + } + t += '
'; + return t; + } + + $typeahead.one('focus', function() { + $form.addClass('loading'); + + $.getJSON(searchURL).then(function(searchData) { + const searchIndex = lunr(function() { + this.ref('url'); + this.field('name'); + this.field('abstract'); + for (const [url, doc] of Object.entries(searchData)) { + this.add({url: url, name: doc.name, abstract: doc.abstract}); + } + }); + + $typeahead.typeahead( + { + highlight: true, + minLength: 3, + autoselect: true + }, + { + limit: 10, + display: displayTemplate, + templates: { suggestion: suggestionTemplate }, + source: function(query, sync) { + const lcSearch = query.toLowerCase(); + const results = searchIndex.query(function(q) { + q.term(lcSearch, { boost: 100 }); + q.term(lcSearch, { + boost: 10, + wildcard: lunr.Query.wildcard.TRAILING + }); + }).map(function(result) { + var doc = searchData[result.ref]; + doc.url = result.ref; + return doc; + }); + sync(results); + } + } + ); + $form.removeClass('loading'); + $typeahead.trigger('focus'); + }); + }); + + var baseURL = searchURL.slice(0, -"search.json".length); + + $typeahead.on('typeahead:select', function(e, result) { + window.location = baseURL + result.url; + }); +}); diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/js/jquery.min.js b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/js/jquery.min.js new file mode 100644 index 00000000..7f37b5d9 --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/js/jquery.min.js @@ -0,0 +1,2 @@ +/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */ +!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(ie,e){"use strict";var oe=[],r=Object.getPrototypeOf,ae=oe.slice,g=oe.flat?function(e){return oe.flat.call(e)}:function(e){return oe.concat.apply([],e)},s=oe.push,se=oe.indexOf,n={},i=n.toString,ue=n.hasOwnProperty,o=ue.toString,a=o.call(Object),le={},v=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},y=function(e){return null!=e&&e===e.window},C=ie.document,u={type:!0,src:!0,nonce:!0,noModule:!0};function m(e,t,n){var r,i,o=(n=n||C).createElement("script");if(o.text=e,t)for(r in u)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function x(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[i.call(e)]||"object":typeof e}var t="3.7.1",l=/HTML$/i,ce=function(e,t){return new ce.fn.init(e,t)};function c(e){var t=!!e&&"length"in e&&e.length,n=x(e);return!v(e)&&!y(e)&&("array"===n||0===t||"number"==typeof t&&0+~]|"+ge+")"+ge+"*"),x=new RegExp(ge+"|>"),j=new RegExp(g),A=new RegExp("^"+t+"$"),D={ID:new RegExp("^#("+t+")"),CLASS:new RegExp("^\\.("+t+")"),TAG:new RegExp("^("+t+"|[*])"),ATTR:new RegExp("^"+p),PSEUDO:new RegExp("^"+g),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ge+"*(even|odd|(([+-]|)(\\d*)n|)"+ge+"*(?:([+-]|)"+ge+"*(\\d+)|))"+ge+"*\\)|)","i"),bool:new RegExp("^(?:"+f+")$","i"),needsContext:new RegExp("^"+ge+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ge+"*((?:-\\d)?\\d*)"+ge+"*\\)|)(?=[^-]|$)","i")},N=/^(?:input|select|textarea|button)$/i,q=/^h\d$/i,L=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,H=/[+~]/,O=new RegExp("\\\\[\\da-fA-F]{1,6}"+ge+"?|\\\\([^\\r\\n\\f])","g"),P=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},M=function(){V()},R=J(function(e){return!0===e.disabled&&fe(e,"fieldset")},{dir:"parentNode",next:"legend"});try{k.apply(oe=ae.call(ye.childNodes),ye.childNodes),oe[ye.childNodes.length].nodeType}catch(e){k={apply:function(e,t){me.apply(e,ae.call(t))},call:function(e){me.apply(e,ae.call(arguments,1))}}}function I(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&(V(e),e=e||T,C)){if(11!==p&&(u=L.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return k.call(n,a),n}else if(f&&(a=f.getElementById(i))&&I.contains(e,a)&&a.id===i)return k.call(n,a),n}else{if(u[2])return k.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&e.getElementsByClassName)return k.apply(n,e.getElementsByClassName(i)),n}if(!(h[t+" "]||d&&d.test(t))){if(c=t,f=e,1===p&&(x.test(t)||m.test(t))){(f=H.test(t)&&U(e.parentNode)||e)==e&&le.scope||((s=e.getAttribute("id"))?s=ce.escapeSelector(s):e.setAttribute("id",s=S)),o=(l=Y(t)).length;while(o--)l[o]=(s?"#"+s:":scope")+" "+Q(l[o]);c=l.join(",")}try{return k.apply(n,f.querySelectorAll(c)),n}catch(e){h(t,!0)}finally{s===S&&e.removeAttribute("id")}}}return re(t.replace(ve,"$1"),e,n,r)}function W(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function F(e){return e[S]=!0,e}function $(e){var t=T.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function B(t){return function(e){return fe(e,"input")&&e.type===t}}function _(t){return function(e){return(fe(e,"input")||fe(e,"button"))&&e.type===t}}function z(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&R(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function X(a){return F(function(o){return o=+o,F(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function U(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function V(e){var t,n=e?e.ownerDocument||e:ye;return n!=T&&9===n.nodeType&&n.documentElement&&(r=(T=n).documentElement,C=!ce.isXMLDoc(T),i=r.matches||r.webkitMatchesSelector||r.msMatchesSelector,r.msMatchesSelector&&ye!=T&&(t=T.defaultView)&&t.top!==t&&t.addEventListener("unload",M),le.getById=$(function(e){return r.appendChild(e).id=ce.expando,!T.getElementsByName||!T.getElementsByName(ce.expando).length}),le.disconnectedMatch=$(function(e){return i.call(e,"*")}),le.scope=$(function(){return T.querySelectorAll(":scope")}),le.cssHas=$(function(){try{return T.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}}),le.getById?(b.filter.ID=function(e){var t=e.replace(O,P);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&C){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(O,P);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&C){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},b.find.CLASS=function(e,t){if("undefined"!=typeof t.getElementsByClassName&&C)return t.getElementsByClassName(e)},d=[],$(function(e){var t;r.appendChild(e).innerHTML="",e.querySelectorAll("[selected]").length||d.push("\\["+ge+"*(?:value|"+f+")"),e.querySelectorAll("[id~="+S+"-]").length||d.push("~="),e.querySelectorAll("a#"+S+"+*").length||d.push(".#.+[+~]"),e.querySelectorAll(":checked").length||d.push(":checked"),(t=T.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),r.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&d.push(":enabled",":disabled"),(t=T.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||d.push("\\["+ge+"*name"+ge+"*="+ge+"*(?:''|\"\")")}),le.cssHas||d.push(":has"),d=d.length&&new RegExp(d.join("|")),l=function(e,t){if(e===t)return a=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!le.sortDetached&&t.compareDocumentPosition(e)===n?e===T||e.ownerDocument==ye&&I.contains(ye,e)?-1:t===T||t.ownerDocument==ye&&I.contains(ye,t)?1:o?se.call(o,e)-se.call(o,t):0:4&n?-1:1)}),T}for(e in I.matches=function(e,t){return I(e,null,null,t)},I.matchesSelector=function(e,t){if(V(e),C&&!h[t+" "]&&(!d||!d.test(t)))try{var n=i.call(e,t);if(n||le.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){h(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(O,P),e[3]=(e[3]||e[4]||e[5]||"").replace(O,P),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||I.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&I.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return D.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&j.test(n)&&(t=Y(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(O,P).toLowerCase();return"*"===e?function(){return!0}:function(e){return fe(e,t)}},CLASS:function(e){var t=s[e+" "];return t||(t=new RegExp("(^|"+ge+")"+e+"("+ge+"|$)"))&&s(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=I.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function T(e,n,r){return v(n)?ce.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?ce.grep(e,function(e){return e===n!==r}):"string"!=typeof n?ce.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(ce.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||k,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:S.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof ce?t[0]:t,ce.merge(this,ce.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:C,!0)),w.test(r[1])&&ce.isPlainObject(t))for(r in t)v(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=C.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):v(e)?void 0!==n.ready?n.ready(e):e(ce):ce.makeArray(e,this)}).prototype=ce.fn,k=ce(C);var E=/^(?:parents|prev(?:Until|All))/,j={children:!0,contents:!0,next:!0,prev:!0};function A(e,t){while((e=e[t])&&1!==e.nodeType);return e}ce.fn.extend({has:function(e){var t=ce(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,Ce=/^$|^module$|\/(?:java|ecma)script/i;xe=C.createDocumentFragment().appendChild(C.createElement("div")),(be=C.createElement("input")).setAttribute("type","radio"),be.setAttribute("checked","checked"),be.setAttribute("name","t"),xe.appendChild(be),le.checkClone=xe.cloneNode(!0).cloneNode(!0).lastChild.checked,xe.innerHTML="",le.noCloneChecked=!!xe.cloneNode(!0).lastChild.defaultValue,xe.innerHTML="",le.option=!!xe.lastChild;var ke={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function Se(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&fe(e,t)?ce.merge([e],n):n}function Ee(e,t){for(var n=0,r=e.length;n",""]);var je=/<|&#?\w+;/;function Ae(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d\s*$/g;function Re(e,t){return fe(e,"table")&&fe(11!==t.nodeType?t:t.firstChild,"tr")&&ce(e).children("tbody")[0]||e}function Ie(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function We(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Fe(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(_.hasData(e)&&(s=_.get(e).events))for(i in _.remove(t,"handle events"),s)for(n=0,r=s[i].length;n").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),C.head.appendChild(r[0])},abort:function(){i&&i()}}});var Jt,Kt=[],Zt=/(=)\?(?=&|$)|\?\?/;ce.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Kt.pop()||ce.expando+"_"+jt.guid++;return this[e]=!0,e}}),ce.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Zt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Zt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=v(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Zt,"$1"+r):!1!==e.jsonp&&(e.url+=(At.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||ce.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=ie[r],ie[r]=function(){o=arguments},n.always(function(){void 0===i?ce(ie).removeProp(r):ie[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Kt.push(r)),o&&v(i)&&i(o[0]),o=i=void 0}),"script"}),le.createHTMLDocument=((Jt=C.implementation.createHTMLDocument("").body).innerHTML="
",2===Jt.childNodes.length),ce.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(le.createHTMLDocument?((r=(t=C.implementation.createHTMLDocument("")).createElement("base")).href=C.location.href,t.head.appendChild(r)):t=C),o=!n&&[],(i=w.exec(e))?[t.createElement(i[1])]:(i=Ae([e],t,o),o&&o.length&&ce(o).remove(),ce.merge([],i.childNodes)));var r,i,o},ce.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1").append(ce.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},ce.expr.pseudos.animated=function(t){return ce.grep(ce.timers,function(e){return t===e.elem}).length},ce.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=ce.css(e,"position"),c=ce(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=ce.css(e,"top"),u=ce.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),v(t)&&(t=t.call(e,n,ce.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},ce.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){ce.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===ce.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===ce.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=ce(e).offset()).top+=ce.css(e,"borderTopWidth",!0),i.left+=ce.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-ce.css(r,"marginTop",!0),left:t.left-i.left-ce.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===ce.css(e,"position"))e=e.offsetParent;return e||J})}}),ce.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;ce.fn[t]=function(e){return M(this,function(e,t,n){var r;if(y(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),ce.each(["top","left"],function(e,n){ce.cssHooks[n]=Ye(le.pixelPosition,function(e,t){if(t)return t=Ge(e,n),_e.test(t)?ce(e).position()[n]+"px":t})}),ce.each({Height:"height",Width:"width"},function(a,s){ce.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){ce.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return M(this,function(e,t,n){var r;return y(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?ce.css(e,t,i):ce.style(e,t,n,i)},s,n?e:void 0,n)}})}),ce.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){ce.fn[t]=function(e){return this.on(t,e)}}),ce.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)}}),ce.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){ce.fn[n]=function(e,t){return 00){var c=e.utils.clone(r)||{};c.position=[a,l],c.index=s.length,s.push(new e.Token(i.slice(a,o),c))}a=o+1}}return s},e.tokenizer.separator=/[\s\-]+/,e.Pipeline=function(){this._stack=[]},e.Pipeline.registeredFunctions=Object.create(null),e.Pipeline.registerFunction=function(t,r){r in this.registeredFunctions&&e.utils.warn("Overwriting existing registered function: "+r),t.label=r,e.Pipeline.registeredFunctions[t.label]=t},e.Pipeline.warnIfFunctionNotRegistered=function(t){var r=t.label&&t.label in this.registeredFunctions;r||e.utils.warn("Function is not registered with pipeline. This may cause problems when serialising the index.\n",t)},e.Pipeline.load=function(t){var r=new e.Pipeline;return t.forEach(function(t){var i=e.Pipeline.registeredFunctions[t];if(!i)throw new Error("Cannot load unregistered function: "+t);r.add(i)}),r},e.Pipeline.prototype.add=function(){var t=Array.prototype.slice.call(arguments);t.forEach(function(t){e.Pipeline.warnIfFunctionNotRegistered(t),this._stack.push(t)},this)},e.Pipeline.prototype.after=function(t,r){e.Pipeline.warnIfFunctionNotRegistered(r);var i=this._stack.indexOf(t);if(i==-1)throw new Error("Cannot find existingFn");i+=1,this._stack.splice(i,0,r)},e.Pipeline.prototype.before=function(t,r){e.Pipeline.warnIfFunctionNotRegistered(r);var i=this._stack.indexOf(t);if(i==-1)throw new Error("Cannot find existingFn");this._stack.splice(i,0,r)},e.Pipeline.prototype.remove=function(e){var t=this._stack.indexOf(e);t!=-1&&this._stack.splice(t,1)},e.Pipeline.prototype.run=function(e){for(var t=this._stack.length,r=0;r1&&(se&&(r=n),s!=e);)i=r-t,n=t+Math.floor(i/2),s=this.elements[2*n];return s==e?2*n:s>e?2*n:sa?l+=2:o==a&&(t+=r[u+1]*i[l+1],u+=2,l+=2);return t},e.Vector.prototype.similarity=function(e){return this.dot(e)/this.magnitude()||0},e.Vector.prototype.toArray=function(){for(var e=new Array(this.elements.length/2),t=1,r=0;t0){var o,a=s.str.charAt(0);a in s.node.edges?o=s.node.edges[a]:(o=new e.TokenSet,s.node.edges[a]=o),1==s.str.length&&(o["final"]=!0),n.push({node:o,editsRemaining:s.editsRemaining,str:s.str.slice(1)})}if(0!=s.editsRemaining){if("*"in s.node.edges)var u=s.node.edges["*"];else{var u=new e.TokenSet;s.node.edges["*"]=u}if(0==s.str.length&&(u["final"]=!0),n.push({node:u,editsRemaining:s.editsRemaining-1,str:s.str}),s.str.length>1&&n.push({node:s.node,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)}),1==s.str.length&&(s.node["final"]=!0),s.str.length>=1){if("*"in s.node.edges)var l=s.node.edges["*"];else{var l=new e.TokenSet;s.node.edges["*"]=l}1==s.str.length&&(l["final"]=!0),n.push({node:l,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)})}if(s.str.length>1){var c,h=s.str.charAt(0),d=s.str.charAt(1);d in s.node.edges?c=s.node.edges[d]:(c=new e.TokenSet,s.node.edges[d]=c),1==s.str.length&&(c["final"]=!0),n.push({node:c,editsRemaining:s.editsRemaining-1,str:h+s.str.slice(2)})}}}return i},e.TokenSet.fromString=function(t){for(var r=new e.TokenSet,i=r,n=0,s=t.length;n=e;t--){var r=this.uncheckedNodes[t],i=r.child.toString();i in this.minimizedNodes?r.parent.edges[r["char"]]=this.minimizedNodes[i]:(r.child._str=i,this.minimizedNodes[i]=r.child),this.uncheckedNodes.pop()}},e.Index=function(e){this.invertedIndex=e.invertedIndex,this.fieldVectors=e.fieldVectors,this.tokenSet=e.tokenSet,this.fields=e.fields,this.pipeline=e.pipeline},e.Index.prototype.search=function(t){return this.query(function(r){var i=new e.QueryParser(t,r);i.parse()})},e.Index.prototype.query=function(t){for(var r=new e.Query(this.fields),i=Object.create(null),n=Object.create(null),s=Object.create(null),o=Object.create(null),a=Object.create(null),u=0;u1?this._b=1:this._b=e},e.Builder.prototype.k1=function(e){this._k1=e},e.Builder.prototype.add=function(t,r){var i=t[this._ref],n=Object.keys(this._fields);this._documents[i]=r||{},this.documentCount+=1;for(var s=0;s=this.length)return e.QueryLexer.EOS;var t=this.str.charAt(this.pos);return this.pos+=1,t},e.QueryLexer.prototype.width=function(){return this.pos-this.start},e.QueryLexer.prototype.ignore=function(){this.start==this.pos&&(this.pos+=1),this.start=this.pos},e.QueryLexer.prototype.backup=function(){this.pos-=1},e.QueryLexer.prototype.acceptDigitRun=function(){var t,r;do t=this.next(),r=t.charCodeAt(0);while(r>47&&r<58);t!=e.QueryLexer.EOS&&this.backup()},e.QueryLexer.prototype.more=function(){return this.pos1&&(t.backup(),t.emit(e.QueryLexer.TERM)),t.ignore(),t.more())return e.QueryLexer.lexText},e.QueryLexer.lexEditDistance=function(t){return t.ignore(),t.acceptDigitRun(),t.emit(e.QueryLexer.EDIT_DISTANCE),e.QueryLexer.lexText},e.QueryLexer.lexBoost=function(t){return t.ignore(),t.acceptDigitRun(),t.emit(e.QueryLexer.BOOST),e.QueryLexer.lexText},e.QueryLexer.lexEOS=function(t){t.width()>0&&t.emit(e.QueryLexer.TERM)},e.QueryLexer.termSeparator=e.tokenizer.separator,e.QueryLexer.lexText=function(t){for(;;){var r=t.next();if(r==e.QueryLexer.EOS)return e.QueryLexer.lexEOS;if(92!=r.charCodeAt(0)){if(":"==r)return e.QueryLexer.lexField;if("~"==r)return t.backup(),t.width()>0&&t.emit(e.QueryLexer.TERM),e.QueryLexer.lexEditDistance;if("^"==r)return t.backup(),t.width()>0&&t.emit(e.QueryLexer.TERM),e.QueryLexer.lexBoost;if("+"==r&&1===t.width())return t.emit(e.QueryLexer.PRESENCE),e.QueryLexer.lexText;if("-"==r&&1===t.width())return t.emit(e.QueryLexer.PRESENCE),e.QueryLexer.lexText;if(r.match(e.QueryLexer.termSeparator))return e.QueryLexer.lexTerm}else t.escapeCharacter()}},e.QueryParser=function(t,r){this.lexer=new e.QueryLexer(t),this.query=r,this.currentClause={},this.lexemeIdx=0},e.QueryParser.prototype.parse=function(){this.lexer.run(),this.lexemes=this.lexer.lexemes;for(var t=e.QueryParser.parseClause;t;)t=t(this);return this.query},e.QueryParser.prototype.peekLexeme=function(){return this.lexemes[this.lexemeIdx]},e.QueryParser.prototype.consumeLexeme=function(){var e=this.peekLexeme();return this.lexemeIdx+=1,e},e.QueryParser.prototype.nextClause=function(){var e=this.currentClause;this.query.clause(e),this.currentClause={}},e.QueryParser.parseClause=function(t){var r=t.peekLexeme();if(void 0!=r)switch(r.type){case e.QueryLexer.PRESENCE:return e.QueryParser.parsePresence;case e.QueryLexer.FIELD:return e.QueryParser.parseField;case e.QueryLexer.TERM:return e.QueryParser.parseTerm;default:var i="expected either a field or a term, found "+r.type;throw r.str.length>=1&&(i+=" with value '"+r.str+"'"),new e.QueryParseError(i,r.start,r.end)}},e.QueryParser.parsePresence=function(t){var r=t.consumeLexeme();if(void 0!=r){switch(r.str){case"-":t.currentClause.presence=e.Query.presence.PROHIBITED;break;case"+":t.currentClause.presence=e.Query.presence.REQUIRED;break;default:var i="unrecognised presence operator'"+r.str+"'";throw new e.QueryParseError(i,r.start,r.end)}var n=t.peekLexeme();if(void 0==n){var i="expecting term or field, found nothing";throw new e.QueryParseError(i,r.start,r.end)}switch(n.type){case e.QueryLexer.FIELD:return e.QueryParser.parseField;case e.QueryLexer.TERM:return e.QueryParser.parseTerm;default:var i="expecting term or field, found '"+n.type+"'";throw new e.QueryParseError(i,n.start,n.end)}}},e.QueryParser.parseField=function(t){var r=t.consumeLexeme();if(void 0!=r){if(t.query.allFields.indexOf(r.str)==-1){var i=t.query.allFields.map(function(e){return"'"+e+"'"}).join(", "),n="unrecognised field '"+r.str+"', possible fields: "+i;throw new e.QueryParseError(n,r.start,r.end)}t.currentClause.fields=[r.str];var s=t.peekLexeme();if(void 0==s){var n="expecting term, found nothing";throw new e.QueryParseError(n,r.start,r.end)}switch(s.type){case e.QueryLexer.TERM:return e.QueryParser.parseTerm;default:var n="expecting term, found '"+s.type+"'";throw new e.QueryParseError(n,s.start,s.end)}}},e.QueryParser.parseTerm=function(t){var r=t.consumeLexeme();if(void 0!=r){t.currentClause.term=r.str.toLowerCase(),r.str.indexOf("*")!=-1&&(t.currentClause.usePipeline=!1);var i=t.peekLexeme();if(void 0==i)return void t.nextClause();switch(i.type){case e.QueryLexer.TERM:return t.nextClause(),e.QueryParser.parseTerm;case e.QueryLexer.FIELD:return t.nextClause(),e.QueryParser.parseField;case e.QueryLexer.EDIT_DISTANCE:return e.QueryParser.parseEditDistance;case e.QueryLexer.BOOST:return e.QueryParser.parseBoost;case e.QueryLexer.PRESENCE:return t.nextClause(),e.QueryParser.parsePresence;default:var n="Unexpected lexeme type '"+i.type+"'";throw new e.QueryParseError(n,i.start,i.end)}}},e.QueryParser.parseEditDistance=function(t){var r=t.consumeLexeme();if(void 0!=r){var i=parseInt(r.str,10);if(isNaN(i)){var n="edit distance must be numeric";throw new e.QueryParseError(n,r.start,r.end)}t.currentClause.editDistance=i;var s=t.peekLexeme();if(void 0==s)return void t.nextClause();switch(s.type){case e.QueryLexer.TERM:return t.nextClause(),e.QueryParser.parseTerm;case e.QueryLexer.FIELD:return t.nextClause(),e.QueryParser.parseField;case e.QueryLexer.EDIT_DISTANCE:return e.QueryParser.parseEditDistance;case e.QueryLexer.BOOST:return e.QueryParser.parseBoost;case e.QueryLexer.PRESENCE:return t.nextClause(),e.QueryParser.parsePresence;default:var n="Unexpected lexeme type '"+s.type+"'";throw new e.QueryParseError(n,s.start,s.end)}}},e.QueryParser.parseBoost=function(t){var r=t.consumeLexeme();if(void 0!=r){var i=parseInt(r.str,10);if(isNaN(i)){var n="boost must be numeric";throw new e.QueryParseError(n,r.start,r.end)}t.currentClause.boost=i;var s=t.peekLexeme();if(void 0==s)return void t.nextClause();switch(s.type){case e.QueryLexer.TERM:return t.nextClause(),e.QueryParser.parseTerm;case e.QueryLexer.FIELD:return t.nextClause(),e.QueryParser.parseField;case e.QueryLexer.EDIT_DISTANCE:return e.QueryParser.parseEditDistance;case e.QueryLexer.BOOST:return e.QueryParser.parseBoost;case e.QueryLexer.PRESENCE:return t.nextClause(),e.QueryParser.parsePresence;default:var n="Unexpected lexeme type '"+s.type+"'";throw new e.QueryParseError(n,s.start,s.end)}}},function(e,t){"function"==typeof define&&define.amd?define(t):"object"==typeof exports?module.exports=t():e.lunr=t()}(this,function(){return e})}(); diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/js/typeahead.jquery.js b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/js/typeahead.jquery.js new file mode 100644 index 00000000..bcb734be --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/js/typeahead.jquery.js @@ -0,0 +1,1695 @@ +/*! + * typeahead.js 1.3.3 + * https://github.com/corejavascript/typeahead.js + * Copyright 2013-2024 Twitter, Inc. and other contributors; Licensed MIT + */ + + +(function(root, factory) { + if (typeof define === "function" && define.amd) { + define([ "jquery" ], function(a0) { + return factory(a0); + }); + } else if (typeof module === "object" && module.exports) { + module.exports = factory(require("jquery")); + } else { + factory(root["jQuery"]); + } +})(this, function($) { + var _ = function() { + "use strict"; + return { + isMsie: function() { + return /(msie|trident)/i.test(navigator.userAgent) ? navigator.userAgent.match(/(msie |rv:)(\d+(.\d+)?)/i)[2] : false; + }, + isBlankString: function(str) { + return !str || /^\s*$/.test(str); + }, + escapeRegExChars: function(str) { + return str.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&"); + }, + isString: function(obj) { + return typeof obj === "string"; + }, + isNumber: function(obj) { + return typeof obj === "number"; + }, + isArray: $.isArray, + isFunction: $.isFunction, + isObject: $.isPlainObject, + isUndefined: function(obj) { + return typeof obj === "undefined"; + }, + isElement: function(obj) { + return !!(obj && obj.nodeType === 1); + }, + isJQuery: function(obj) { + return obj instanceof $; + }, + toStr: function toStr(s) { + return _.isUndefined(s) || s === null ? "" : s + ""; + }, + bind: $.proxy, + each: function(collection, cb) { + $.each(collection, reverseArgs); + function reverseArgs(index, value) { + return cb(value, index); + } + }, + map: $.map, + filter: $.grep, + every: function(obj, test) { + var result = true; + if (!obj) { + return result; + } + $.each(obj, function(key, val) { + if (!(result = test.call(null, val, key, obj))) { + return false; + } + }); + return !!result; + }, + some: function(obj, test) { + var result = false; + if (!obj) { + return result; + } + $.each(obj, function(key, val) { + if (result = test.call(null, val, key, obj)) { + return false; + } + }); + return !!result; + }, + mixin: $.extend, + identity: function(x) { + return x; + }, + clone: function(obj) { + return $.extend(true, {}, obj); + }, + getIdGenerator: function() { + var counter = 0; + return function() { + return counter++; + }; + }, + templatify: function templatify(obj) { + return $.isFunction(obj) ? obj : template; + function template() { + return String(obj); + } + }, + defer: function(fn) { + setTimeout(fn, 0); + }, + debounce: function(func, wait, immediate) { + var timeout, result; + return function() { + var context = this, args = arguments, later, callNow; + later = function() { + timeout = null; + if (!immediate) { + result = func.apply(context, args); + } + }; + callNow = immediate && !timeout; + clearTimeout(timeout); + timeout = setTimeout(later, wait); + if (callNow) { + result = func.apply(context, args); + } + return result; + }; + }, + throttle: function(func, wait) { + var context, args, timeout, result, previous, later; + previous = 0; + later = function() { + previous = new Date(); + timeout = null; + result = func.apply(context, args); + }; + return function() { + var now = new Date(), remaining = wait - (now - previous); + context = this; + args = arguments; + if (remaining <= 0) { + clearTimeout(timeout); + timeout = null; + previous = now; + result = func.apply(context, args); + } else if (!timeout) { + timeout = setTimeout(later, remaining); + } + return result; + }; + }, + stringify: function(val) { + return _.isString(val) ? val : JSON.stringify(val); + }, + guid: function() { + function _p8(s) { + var p = (Math.random().toString(16) + "000000000").substr(2, 8); + return s ? "-" + p.substr(0, 4) + "-" + p.substr(4, 4) : p; + } + return "tt-" + _p8() + _p8(true) + _p8(true) + _p8(); + }, + noop: function() {} + }; + }(); + var WWW = function() { + "use strict"; + var defaultClassNames = { + wrapper: "twitter-typeahead", + input: "tt-input", + hint: "tt-hint", + menu: "tt-menu", + dataset: "tt-dataset", + suggestion: "tt-suggestion", + selectable: "tt-selectable", + empty: "tt-empty", + open: "tt-open", + cursor: "tt-cursor", + highlight: "tt-highlight" + }; + return build; + function build(o) { + var www, classes; + classes = _.mixin({}, defaultClassNames, o); + www = { + css: buildCss(), + classes: classes, + html: buildHtml(classes), + selectors: buildSelectors(classes) + }; + return { + css: www.css, + html: www.html, + classes: www.classes, + selectors: www.selectors, + mixin: function(o) { + _.mixin(o, www); + } + }; + } + function buildHtml(c) { + return { + wrapper: '', + menu: '
' + }; + } + function buildSelectors(classes) { + var selectors = {}; + _.each(classes, function(v, k) { + selectors[k] = "." + v; + }); + return selectors; + } + function buildCss() { + var css = { + wrapper: { + position: "relative", + display: "inline-block" + }, + hint: { + position: "absolute", + top: "0", + left: "0", + borderColor: "transparent", + boxShadow: "none", + opacity: "1" + }, + input: { + position: "relative", + verticalAlign: "top", + backgroundColor: "transparent" + }, + inputWithNoHint: { + position: "relative", + verticalAlign: "top" + }, + menu: { + position: "absolute", + top: "100%", + left: "0", + zIndex: "100", + display: "none" + }, + ltr: { + left: "0", + right: "auto" + }, + rtl: { + left: "auto", + right: " 0" + } + }; + if (_.isMsie()) { + _.mixin(css.input, { + backgroundImage: "url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)" + }); + } + return css; + } + }(); + var EventBus = function() { + "use strict"; + var namespace, deprecationMap; + namespace = "typeahead:"; + deprecationMap = { + render: "rendered", + cursorchange: "cursorchanged", + select: "selected", + autocomplete: "autocompleted" + }; + function EventBus(o) { + if (!o || !o.el) { + $.error("EventBus initialized without el"); + } + this.$el = $(o.el); + } + _.mixin(EventBus.prototype, { + _trigger: function(type, args) { + var $e = $.Event(namespace + type); + this.$el.trigger.call(this.$el, $e, args || []); + return $e; + }, + before: function(type) { + var args, $e; + args = [].slice.call(arguments, 1); + $e = this._trigger("before" + type, args); + return $e.isDefaultPrevented(); + }, + trigger: function(type) { + var deprecatedType; + this._trigger(type, [].slice.call(arguments, 1)); + if (deprecatedType = deprecationMap[type]) { + this._trigger(deprecatedType, [].slice.call(arguments, 1)); + } + } + }); + return EventBus; + }(); + var EventEmitter = function() { + "use strict"; + var splitter = /\s+/, nextTick = getNextTick(); + return { + onSync: onSync, + onAsync: onAsync, + off: off, + trigger: trigger + }; + function on(method, types, cb, context) { + var type; + if (!cb) { + return this; + } + types = types.split(splitter); + cb = context ? bindContext(cb, context) : cb; + this._callbacks = this._callbacks || {}; + while (type = types.shift()) { + this._callbacks[type] = this._callbacks[type] || { + sync: [], + async: [] + }; + this._callbacks[type][method].push(cb); + } + return this; + } + function onAsync(types, cb, context) { + return on.call(this, "async", types, cb, context); + } + function onSync(types, cb, context) { + return on.call(this, "sync", types, cb, context); + } + function off(types) { + var type; + if (!this._callbacks) { + return this; + } + types = types.split(splitter); + while (type = types.shift()) { + delete this._callbacks[type]; + } + return this; + } + function trigger(types) { + var type, callbacks, args, syncFlush, asyncFlush; + if (!this._callbacks) { + return this; + } + types = types.split(splitter); + args = [].slice.call(arguments, 1); + while ((type = types.shift()) && (callbacks = this._callbacks[type])) { + syncFlush = getFlush(callbacks.sync, this, [ type ].concat(args)); + asyncFlush = getFlush(callbacks.async, this, [ type ].concat(args)); + syncFlush() && nextTick(asyncFlush); + } + return this; + } + function getFlush(callbacks, context, args) { + return flush; + function flush() { + var cancelled; + for (var i = 0, len = callbacks.length; !cancelled && i < len; i += 1) { + cancelled = callbacks[i].apply(context, args) === false; + } + return !cancelled; + } + } + function getNextTick() { + var nextTickFn; + if (window.setImmediate) { + nextTickFn = function nextTickSetImmediate(fn) { + setImmediate(function() { + fn(); + }); + }; + } else { + nextTickFn = function nextTickSetTimeout(fn) { + setTimeout(function() { + fn(); + }, 0); + }; + } + return nextTickFn; + } + function bindContext(fn, context) { + return fn.bind ? fn.bind(context) : function() { + fn.apply(context, [].slice.call(arguments, 0)); + }; + } + }(); + var highlight = function(doc) { + "use strict"; + var defaults = { + node: null, + pattern: null, + tagName: "strong", + className: null, + wordsOnly: false, + caseSensitive: false, + diacriticInsensitive: false + }; + var accented = { + A: "[AaªÀ-Åà-åĀ-ąǍǎȀ-ȃȦȧᴬᵃḀḁẚẠ-ảₐ℀℁℻⒜Ⓐⓐ㍱-㍴㎀-㎄㎈㎉㎩-㎯㏂㏊㏟㏿Aa]", + B: "[BbᴮᵇḂ-ḇℬ⒝Ⓑⓑ㍴㎅-㎇㏃㏈㏔㏝Bb]", + C: "[CcÇçĆ-čᶜ℀ℂ℃℅℆ℭⅭⅽ⒞Ⓒⓒ㍶㎈㎉㎝㎠㎤㏄-㏇Cc]", + D: "[DdĎďDŽ-džDZ-dzᴰᵈḊ-ḓⅅⅆⅮⅾ⒟Ⓓⓓ㋏㍲㍷-㍹㎗㎭-㎯㏅㏈Dd]", + E: "[EeÈ-Ëè-ëĒ-ěȄ-ȇȨȩᴱᵉḘ-ḛẸ-ẽₑ℡ℯℰⅇ⒠Ⓔⓔ㉐㋍㋎Ee]", + F: "[FfᶠḞḟ℉ℱ℻⒡Ⓕⓕ㎊-㎌㎙ff-fflFf]", + G: "[GgĜ-ģǦǧǴǵᴳᵍḠḡℊ⒢Ⓖⓖ㋌㋍㎇㎍-㎏㎓㎬㏆㏉㏒㏿Gg]", + H: "[HhĤĥȞȟʰᴴḢ-ḫẖℋ-ℎ⒣Ⓗⓗ㋌㍱㎐-㎔㏊㏋㏗Hh]", + I: "[IiÌ-Ïì-ïĨ-İIJijǏǐȈ-ȋᴵᵢḬḭỈ-ịⁱℐℑℹⅈⅠ-ⅣⅥ-ⅨⅪⅫⅰ-ⅳⅵ-ⅸⅺⅻ⒤Ⓘⓘ㍺㏌㏕fiffiIi]", + J: "[JjIJ-ĵLJ-njǰʲᴶⅉ⒥ⒿⓙⱼJj]", + K: "[KkĶķǨǩᴷᵏḰ-ḵK⒦Ⓚⓚ㎄㎅㎉㎏㎑㎘㎞㎢㎦㎪㎸㎾㏀㏆㏍-㏏Kk]", + L: "[LlĹ-ŀLJ-ljˡᴸḶḷḺ-ḽℒℓ℡Ⅼⅼ⒧Ⓛⓛ㋏㎈㎉㏐-㏓㏕㏖㏿flfflLl]", + M: "[MmᴹᵐḾ-ṃ℠™ℳⅯⅿ⒨Ⓜⓜ㍷-㍹㎃㎆㎎㎒㎖㎙-㎨㎫㎳㎷㎹㎽㎿㏁㏂㏎㏐㏔-㏖㏘㏙㏞㏟Mm]", + N: "[NnÑñŃ-ʼnNJ-njǸǹᴺṄ-ṋⁿℕ№⒩Ⓝⓝ㎁㎋㎚㎱㎵㎻㏌㏑Nn]", + O: "[OoºÒ-Öò-öŌ-őƠơǑǒǪǫȌ-ȏȮȯᴼᵒỌ-ỏₒ℅№ℴ⒪Ⓞⓞ㍵㏇㏒㏖Oo]", + P: "[PpᴾᵖṔ-ṗℙ⒫Ⓟⓟ㉐㍱㍶㎀㎊㎩-㎬㎰㎴㎺㏋㏗-㏚Pp]", + Q: "[Qqℚ⒬Ⓠⓠ㏃Qq]", + R: "[RrŔ-řȐ-ȓʳᴿᵣṘ-ṛṞṟ₨ℛ-ℝ⒭Ⓡⓡ㋍㍴㎭-㎯㏚㏛Rr]", + S: "[SsŚ-šſȘșˢṠ-ṣ₨℁℠⒮Ⓢⓢ㎧㎨㎮-㎳㏛㏜stSs]", + T: "[TtŢ-ťȚțᵀᵗṪ-ṱẗ℡™⒯Ⓣⓣ㉐㋏㎔㏏ſtstTt]", + U: "[UuÙ-Üù-üŨ-ųƯưǓǔȔ-ȗᵁᵘᵤṲ-ṷỤ-ủ℆⒰Ⓤⓤ㍳㍺Uu]", + V: "[VvᵛᵥṼ-ṿⅣ-Ⅷⅳ-ⅷ⒱Ⓥⓥⱽ㋎㍵㎴-㎹㏜㏞Vv]", + W: "[WwŴŵʷᵂẀ-ẉẘ⒲Ⓦⓦ㎺-㎿㏝Ww]", + X: "[XxˣẊ-ẍₓ℻Ⅸ-Ⅻⅸ-ⅻ⒳Ⓧⓧ㏓Xx]", + Y: "[YyÝýÿŶ-ŸȲȳʸẎẏẙỲ-ỹ⒴Ⓨⓨ㏉Yy]", + Z: "[ZzŹ-žDZ-dzᶻẐ-ẕℤℨ⒵Ⓩⓩ㎐-㎔Zz]" + }; + return function hightlight(o) { + var regex; + o = _.mixin({}, defaults, o); + if (!o.node || !o.pattern) { + return; + } + o.pattern = _.isArray(o.pattern) ? o.pattern : [ o.pattern ]; + regex = getRegex(o.pattern, o.caseSensitive, o.wordsOnly, o.diacriticInsensitive); + traverse(o.node, hightlightTextNode); + function hightlightTextNode(textNode) { + var match, patternNode, wrapperNode; + if (match = regex.exec(textNode.data)) { + wrapperNode = doc.createElement(o.tagName); + o.className && (wrapperNode.className = o.className); + patternNode = textNode.splitText(match.index); + patternNode.splitText(match[0].length); + wrapperNode.appendChild(patternNode.cloneNode(true)); + textNode.parentNode.replaceChild(wrapperNode, patternNode); + } + return !!match; + } + function traverse(el, hightlightTextNode) { + var childNode, TEXT_NODE_TYPE = 3; + for (var i = 0; i < el.childNodes.length; i++) { + childNode = el.childNodes[i]; + if (childNode.nodeType === TEXT_NODE_TYPE) { + i += hightlightTextNode(childNode) ? 1 : 0; + } else { + traverse(childNode, hightlightTextNode); + } + } + } + }; + function accent_replacer(chr) { + return accented[chr.toUpperCase()] || chr; + } + function getRegex(patterns, caseSensitive, wordsOnly, diacriticInsensitive) { + var escapedPatterns = [], regexStr; + for (var i = 0, len = patterns.length; i < len; i++) { + var escapedWord = _.escapeRegExChars(patterns[i]); + if (diacriticInsensitive) { + escapedWord = escapedWord.replace(/\S/g, accent_replacer); + } + escapedPatterns.push(escapedWord); + } + regexStr = wordsOnly ? "\\b(" + escapedPatterns.join("|") + ")\\b" : "(" + escapedPatterns.join("|") + ")"; + return caseSensitive ? new RegExp(regexStr) : new RegExp(regexStr, "i"); + } + }(window.document); + var Input = function() { + "use strict"; + var specialKeyCodeMap; + specialKeyCodeMap = { + 9: "tab", + 27: "esc", + 37: "left", + 39: "right", + 13: "enter", + 38: "up", + 40: "down" + }; + function Input(o, www) { + var id; + o = o || {}; + if (!o.input) { + $.error("input is missing"); + } + www.mixin(this); + this.$hint = $(o.hint); + this.$input = $(o.input); + this.$menu = $(o.menu); + id = this.$input.attr("id") || _.guid(); + this.$menu.attr("id", id + "_listbox"); + this.$hint.attr({ + "aria-hidden": true + }); + this.$input.attr({ + "aria-owns": id + "_listbox", + "aria-controls": id + "_listbox", + role: "combobox", + "aria-autocomplete": "list", + "aria-expanded": false + }); + this.query = this.$input.val(); + this.queryWhenFocused = this.hasFocus() ? this.query : null; + this.$overflowHelper = buildOverflowHelper(this.$input); + this._checkLanguageDirection(); + if (this.$hint.length === 0) { + this.setHint = this.getHint = this.clearHint = this.clearHintIfInvalid = _.noop; + } + this.onSync("cursorchange", this._updateDescendent); + } + Input.normalizeQuery = function(str) { + return _.toStr(str).replace(/^\s*/g, "").replace(/\s{2,}/g, " "); + }; + _.mixin(Input.prototype, EventEmitter, { + _onBlur: function onBlur() { + this.resetInputValue(); + this.trigger("blurred"); + }, + _onFocus: function onFocus() { + this.queryWhenFocused = this.query; + this.trigger("focused"); + }, + _onKeydown: function onKeydown($e) { + var keyName = specialKeyCodeMap[$e.which || $e.keyCode]; + this._managePreventDefault(keyName, $e); + if (keyName && this._shouldTrigger(keyName, $e)) { + this.trigger(keyName + "Keyed", $e); + } + }, + _onInput: function onInput() { + this._setQuery(this.getInputValue()); + this.clearHintIfInvalid(); + this._checkLanguageDirection(); + }, + _managePreventDefault: function managePreventDefault(keyName, $e) { + var preventDefault; + switch (keyName) { + case "up": + case "down": + preventDefault = !withModifier($e); + break; + + default: + preventDefault = false; + } + preventDefault && $e.preventDefault(); + }, + _shouldTrigger: function shouldTrigger(keyName, $e) { + var trigger; + switch (keyName) { + case "tab": + trigger = !withModifier($e); + break; + + default: + trigger = true; + } + return trigger; + }, + _checkLanguageDirection: function checkLanguageDirection() { + var dir = (this.$input.css("direction") || "ltr").toLowerCase(); + if (this.dir !== dir) { + this.dir = dir; + this.$hint.attr("dir", dir); + this.trigger("langDirChanged", dir); + } + }, + _setQuery: function setQuery(val, silent) { + var areEquivalent, hasDifferentWhitespace; + areEquivalent = areQueriesEquivalent(val, this.query); + hasDifferentWhitespace = areEquivalent ? this.query.length !== val.length : false; + this.query = val; + if (!silent && !areEquivalent) { + this.trigger("queryChanged", this.query); + } else if (!silent && hasDifferentWhitespace) { + this.trigger("whitespaceChanged", this.query); + } + }, + _updateDescendent: function updateDescendent(event, id) { + this.$input.attr("aria-activedescendant", id); + }, + bind: function() { + var that = this, onBlur, onFocus, onKeydown, onInput; + onBlur = _.bind(this._onBlur, this); + onFocus = _.bind(this._onFocus, this); + onKeydown = _.bind(this._onKeydown, this); + onInput = _.bind(this._onInput, this); + this.$input.on("blur.tt", onBlur).on("focus.tt", onFocus).on("keydown.tt", onKeydown); + if (!_.isMsie() || _.isMsie() > 9) { + this.$input.on("input.tt", onInput); + } else { + this.$input.on("keydown.tt keypress.tt cut.tt paste.tt", function($e) { + if (specialKeyCodeMap[$e.which || $e.keyCode]) { + return; + } + _.defer(_.bind(that._onInput, that, $e)); + }); + } + return this; + }, + focus: function focus() { + this.$input.focus(); + }, + blur: function blur() { + this.$input.blur(); + }, + getLangDir: function getLangDir() { + return this.dir; + }, + getQuery: function getQuery() { + return this.query || ""; + }, + setQuery: function setQuery(val, silent) { + this.setInputValue(val); + this._setQuery(val, silent); + }, + hasQueryChangedSinceLastFocus: function hasQueryChangedSinceLastFocus() { + return this.query !== this.queryWhenFocused; + }, + getInputValue: function getInputValue() { + return this.$input.val(); + }, + setInputValue: function setInputValue(value) { + this.$input.val(value); + this.clearHintIfInvalid(); + this._checkLanguageDirection(); + }, + resetInputValue: function resetInputValue() { + this.setInputValue(this.query); + }, + getHint: function getHint() { + return this.$hint.val(); + }, + setHint: function setHint(value) { + this.$hint.val(value); + }, + clearHint: function clearHint() { + this.setHint(""); + }, + clearHintIfInvalid: function clearHintIfInvalid() { + var val, hint, valIsPrefixOfHint, isValid; + val = this.getInputValue(); + hint = this.getHint(); + valIsPrefixOfHint = val !== hint && hint.indexOf(val) === 0; + isValid = val !== "" && valIsPrefixOfHint && !this.hasOverflow(); + !isValid && this.clearHint(); + }, + hasFocus: function hasFocus() { + return this.$input.is(":focus"); + }, + hasOverflow: function hasOverflow() { + var constraint = this.$input.width() - 2; + this.$overflowHelper.text(this.getInputValue()); + return this.$overflowHelper.width() >= constraint; + }, + isCursorAtEnd: function() { + var valueLength, selectionStart, range; + valueLength = this.$input.val().length; + selectionStart = this.$input[0].selectionStart; + if (_.isNumber(selectionStart)) { + return selectionStart === valueLength; + } else if (document.selection) { + range = document.selection.createRange(); + range.moveStart("character", -valueLength); + return valueLength === range.text.length; + } + return true; + }, + destroy: function destroy() { + this.$hint.off(".tt"); + this.$input.off(".tt"); + this.$overflowHelper.remove(); + this.$hint = this.$input = this.$overflowHelper = $("
"); + }, + setAriaExpanded: function setAriaExpanded(value) { + this.$input.attr("aria-expanded", value); + } + }); + return Input; + function buildOverflowHelper($input) { + return $('').css({ + position: "absolute", + visibility: "hidden", + whiteSpace: "pre", + fontFamily: $input.css("font-family"), + fontSize: $input.css("font-size"), + fontStyle: $input.css("font-style"), + fontVariant: $input.css("font-variant"), + fontWeight: $input.css("font-weight"), + wordSpacing: $input.css("word-spacing"), + letterSpacing: $input.css("letter-spacing"), + textIndent: $input.css("text-indent"), + textRendering: $input.css("text-rendering"), + textTransform: $input.css("text-transform") + }).insertAfter($input); + } + function areQueriesEquivalent(a, b) { + return Input.normalizeQuery(a) === Input.normalizeQuery(b); + } + function withModifier($e) { + return $e.altKey || $e.ctrlKey || $e.metaKey || $e.shiftKey; + } + }(); + var Dataset = function() { + "use strict"; + var keys, nameGenerator; + keys = { + dataset: "tt-selectable-dataset", + val: "tt-selectable-display", + obj: "tt-selectable-object" + }; + nameGenerator = _.getIdGenerator(); + function Dataset(o, www) { + o = o || {}; + o.templates = o.templates || {}; + o.templates.notFound = o.templates.notFound || o.templates.empty; + if (!o.source) { + $.error("missing source"); + } + if (!o.node) { + $.error("missing node"); + } + if (o.name && !isValidName(o.name)) { + $.error("invalid dataset name: " + o.name); + } + www.mixin(this); + this.highlight = !!o.highlight; + this.name = _.toStr(o.name || nameGenerator()); + this.limit = o.limit || 5; + this.displayFn = getDisplayFn(o.display || o.displayKey); + this.templates = getTemplates(o.templates, this.displayFn); + this.source = o.source.__ttAdapter ? o.source.__ttAdapter() : o.source; + this.async = _.isUndefined(o.async) ? this.source.length > 2 : !!o.async; + this._resetLastSuggestion(); + this.$el = $(o.node).attr("role", "presentation").addClass(this.classes.dataset).addClass(this.classes.dataset + "-" + this.name); + } + Dataset.extractData = function extractData(el) { + var $el = $(el); + if ($el.data(keys.obj)) { + return { + dataset: $el.data(keys.dataset) || "", + val: $el.data(keys.val) || "", + obj: $el.data(keys.obj) || null + }; + } + return null; + }; + _.mixin(Dataset.prototype, EventEmitter, { + _overwrite: function overwrite(query, suggestions) { + suggestions = suggestions || []; + if (suggestions.length) { + this._renderSuggestions(query, suggestions); + } else if (this.async && this.templates.pending) { + this._renderPending(query); + } else if (!this.async && this.templates.notFound) { + this._renderNotFound(query); + } else { + this._empty(); + } + this.trigger("rendered", suggestions, false, this.name); + }, + _append: function append(query, suggestions) { + suggestions = suggestions || []; + if (suggestions.length && this.$lastSuggestion.length) { + this._appendSuggestions(query, suggestions); + } else if (suggestions.length) { + this._renderSuggestions(query, suggestions); + } else if (!this.$lastSuggestion.length && this.templates.notFound) { + this._renderNotFound(query); + } + this.trigger("rendered", suggestions, true, this.name); + }, + _renderSuggestions: function renderSuggestions(query, suggestions) { + var $fragment; + $fragment = this._getSuggestionsFragment(query, suggestions); + this.$lastSuggestion = $fragment.children().last(); + this.$el.html($fragment).prepend(this._getHeader(query, suggestions)).append(this._getFooter(query, suggestions)); + }, + _appendSuggestions: function appendSuggestions(query, suggestions) { + var $fragment, $lastSuggestion; + $fragment = this._getSuggestionsFragment(query, suggestions); + $lastSuggestion = $fragment.children().last(); + this.$lastSuggestion.after($fragment); + this.$lastSuggestion = $lastSuggestion; + }, + _renderPending: function renderPending(query) { + var template = this.templates.pending; + this._resetLastSuggestion(); + template && this.$el.html(template({ + query: query, + dataset: this.name + })); + }, + _renderNotFound: function renderNotFound(query) { + var template = this.templates.notFound; + this._resetLastSuggestion(); + template && this.$el.html(template({ + query: query, + dataset: this.name + })); + }, + _empty: function empty() { + this.$el.empty(); + this._resetLastSuggestion(); + }, + _getSuggestionsFragment: function getSuggestionsFragment(query, suggestions) { + var that = this, fragment; + fragment = document.createDocumentFragment(); + _.each(suggestions, function getSuggestionNode(suggestion) { + var $el, context; + context = that._injectQuery(query, suggestion); + $el = $(that.templates.suggestion(context)).data(keys.dataset, that.name).data(keys.obj, suggestion).data(keys.val, that.displayFn(suggestion)).addClass(that.classes.suggestion + " " + that.classes.selectable); + fragment.appendChild($el[0]); + }); + this.highlight && highlight({ + className: this.classes.highlight, + node: fragment, + pattern: query + }); + return $(fragment); + }, + _getFooter: function getFooter(query, suggestions) { + return this.templates.footer ? this.templates.footer({ + query: query, + suggestions: suggestions, + dataset: this.name + }) : null; + }, + _getHeader: function getHeader(query, suggestions) { + return this.templates.header ? this.templates.header({ + query: query, + suggestions: suggestions, + dataset: this.name + }) : null; + }, + _resetLastSuggestion: function resetLastSuggestion() { + this.$lastSuggestion = $(); + }, + _injectQuery: function injectQuery(query, obj) { + return _.isObject(obj) ? _.mixin({ + _query: query + }, obj) : obj; + }, + update: function update(query) { + var that = this, canceled = false, syncCalled = false, rendered = 0; + this.cancel(); + this.cancel = function cancel() { + canceled = true; + that.cancel = $.noop; + that.async && that.trigger("asyncCanceled", query, that.name); + }; + this.source(query, sync, async); + !syncCalled && sync([]); + function sync(suggestions) { + if (syncCalled) { + return; + } + syncCalled = true; + suggestions = (suggestions || []).slice(0, that.limit); + rendered = suggestions.length; + that._overwrite(query, suggestions); + if (rendered < that.limit && that.async) { + that.trigger("asyncRequested", query, that.name); + } + } + function async(suggestions) { + suggestions = suggestions || []; + if (!canceled && rendered < that.limit) { + that.cancel = $.noop; + var idx = Math.abs(rendered - that.limit); + rendered += idx; + that._append(query, suggestions.slice(0, idx)); + that.async && that.trigger("asyncReceived", query, that.name); + } + } + }, + cancel: $.noop, + clear: function clear() { + this._empty(); + this.cancel(); + this.trigger("cleared"); + }, + isEmpty: function isEmpty() { + return this.$el.is(":empty"); + }, + destroy: function destroy() { + this.$el = $("
"); + } + }); + return Dataset; + function getDisplayFn(display) { + display = display || _.stringify; + return _.isFunction(display) ? display : displayFn; + function displayFn(obj) { + return obj[display]; + } + } + function getTemplates(templates, displayFn) { + return { + notFound: templates.notFound && _.templatify(templates.notFound), + pending: templates.pending && _.templatify(templates.pending), + header: templates.header && _.templatify(templates.header), + footer: templates.footer && _.templatify(templates.footer), + suggestion: templates.suggestion ? userSuggestionTemplate : suggestionTemplate + }; + function userSuggestionTemplate(context) { + var template = templates.suggestion; + return $(template(context)).attr("id", _.guid()); + } + function suggestionTemplate(context) { + return $('
').attr("id", _.guid()).text(displayFn(context)); + } + } + function isValidName(str) { + return /^[_a-zA-Z0-9-]+$/.test(str); + } + }(); + var Menu = function() { + "use strict"; + function Menu(o, www) { + var that = this; + o = o || {}; + if (!o.node) { + $.error("node is required"); + } + www.mixin(this); + this.$node = $(o.node); + this.query = null; + this.datasets = _.map(o.datasets, initializeDataset); + function initializeDataset(oDataset) { + var node = that.$node.find(oDataset.node).first(); + oDataset.node = node.length ? node : $("
").appendTo(that.$node); + return new Dataset(oDataset, www); + } + } + _.mixin(Menu.prototype, EventEmitter, { + _onSelectableClick: function onSelectableClick($e) { + this.trigger("selectableClicked", $($e.currentTarget)); + }, + _onRendered: function onRendered(type, dataset, suggestions, async) { + this.$node.toggleClass(this.classes.empty, this._allDatasetsEmpty()); + this.trigger("datasetRendered", dataset, suggestions, async); + }, + _onCleared: function onCleared() { + this.$node.toggleClass(this.classes.empty, this._allDatasetsEmpty()); + this.trigger("datasetCleared"); + }, + _propagate: function propagate() { + this.trigger.apply(this, arguments); + }, + _allDatasetsEmpty: function allDatasetsEmpty() { + return _.every(this.datasets, _.bind(function isDatasetEmpty(dataset) { + var isEmpty = dataset.isEmpty(); + this.$node.attr("aria-expanded", !isEmpty); + return isEmpty; + }, this)); + }, + _getSelectables: function getSelectables() { + return this.$node.find(this.selectors.selectable); + }, + _removeCursor: function _removeCursor() { + var $selectable = this.getActiveSelectable(); + $selectable && $selectable.removeClass(this.classes.cursor); + }, + _ensureVisible: function ensureVisible($el) { + var elTop, elBottom, nodeScrollTop, nodeHeight; + elTop = $el.position().top; + elBottom = elTop + $el.outerHeight(true); + nodeScrollTop = this.$node.scrollTop(); + nodeHeight = this.$node.height() + parseInt(this.$node.css("paddingTop"), 10) + parseInt(this.$node.css("paddingBottom"), 10); + if (elTop < 0) { + this.$node.scrollTop(nodeScrollTop + elTop); + } else if (nodeHeight < elBottom) { + this.$node.scrollTop(nodeScrollTop + (elBottom - nodeHeight)); + } + }, + bind: function() { + var that = this, onSelectableClick; + onSelectableClick = _.bind(this._onSelectableClick, this); + this.$node.on("click.tt", this.selectors.selectable, onSelectableClick); + this.$node.on("mouseover", this.selectors.selectable, function() { + that.setCursor($(this)); + }); + this.$node.on("mouseleave", function() { + that._removeCursor(); + }); + _.each(this.datasets, function(dataset) { + dataset.onSync("asyncRequested", that._propagate, that).onSync("asyncCanceled", that._propagate, that).onSync("asyncReceived", that._propagate, that).onSync("rendered", that._onRendered, that).onSync("cleared", that._onCleared, that); + }); + return this; + }, + isOpen: function isOpen() { + return this.$node.hasClass(this.classes.open); + }, + open: function open() { + this.$node.scrollTop(0); + this.$node.addClass(this.classes.open); + }, + close: function close() { + this.$node.attr("aria-expanded", false); + this.$node.removeClass(this.classes.open); + this._removeCursor(); + }, + setLanguageDirection: function setLanguageDirection(dir) { + this.$node.attr("dir", dir); + }, + selectableRelativeToCursor: function selectableRelativeToCursor(delta) { + var $selectables, $oldCursor, oldIndex, newIndex; + $oldCursor = this.getActiveSelectable(); + $selectables = this._getSelectables(); + oldIndex = $oldCursor ? $selectables.index($oldCursor) : -1; + newIndex = oldIndex + delta; + newIndex = (newIndex + 1) % ($selectables.length + 1) - 1; + newIndex = newIndex < -1 ? $selectables.length - 1 : newIndex; + return newIndex === -1 ? null : $selectables.eq(newIndex); + }, + setCursor: function setCursor($selectable) { + this._removeCursor(); + if ($selectable = $selectable && $selectable.first()) { + $selectable.addClass(this.classes.cursor); + this._ensureVisible($selectable); + } + }, + getSelectableData: function getSelectableData($el) { + return $el && $el.length ? Dataset.extractData($el) : null; + }, + getActiveSelectable: function getActiveSelectable() { + var $selectable = this._getSelectables().filter(this.selectors.cursor).first(); + return $selectable.length ? $selectable : null; + }, + getTopSelectable: function getTopSelectable() { + var $selectable = this._getSelectables().first(); + return $selectable.length ? $selectable : null; + }, + update: function update(query) { + var isValidUpdate = query !== this.query; + if (isValidUpdate) { + this.query = query; + _.each(this.datasets, updateDataset); + } + return isValidUpdate; + function updateDataset(dataset) { + dataset.update(query); + } + }, + empty: function empty() { + _.each(this.datasets, clearDataset); + this.query = null; + this.$node.addClass(this.classes.empty); + function clearDataset(dataset) { + dataset.clear(); + } + }, + destroy: function destroy() { + this.$node.off(".tt"); + this.$node = $("
"); + _.each(this.datasets, destroyDataset); + function destroyDataset(dataset) { + dataset.destroy(); + } + } + }); + return Menu; + }(); + var Status = function() { + "use strict"; + function Status(options) { + this.$el = $("", { + role: "status", + "aria-live": "polite" + }).css({ + position: "absolute", + padding: "0", + border: "0", + height: "1px", + width: "1px", + "margin-bottom": "-1px", + "margin-right": "-1px", + overflow: "hidden", + clip: "rect(0 0 0 0)", + "white-space": "nowrap" + }); + options.$input.after(this.$el); + _.each(options.menu.datasets, _.bind(function(dataset) { + if (dataset.onSync) { + dataset.onSync("rendered", _.bind(this.update, this)); + dataset.onSync("cleared", _.bind(this.cleared, this)); + } + }, this)); + } + _.mixin(Status.prototype, { + update: function update(event, suggestions) { + var length = suggestions.length; + var words; + if (length === 1) { + words = { + result: "result", + is: "is" + }; + } else { + words = { + result: "results", + is: "are" + }; + } + this.$el.text(length + " " + words.result + " " + words.is + " available, use up and down arrow keys to navigate."); + }, + cleared: function() { + this.$el.text(""); + } + }); + return Status; + }(); + var DefaultMenu = function() { + "use strict"; + var s = Menu.prototype; + function DefaultMenu() { + Menu.apply(this, [].slice.call(arguments, 0)); + } + _.mixin(DefaultMenu.prototype, Menu.prototype, { + open: function open() { + !this._allDatasetsEmpty() && this._show(); + return s.open.apply(this, [].slice.call(arguments, 0)); + }, + close: function close() { + this._hide(); + return s.close.apply(this, [].slice.call(arguments, 0)); + }, + _onRendered: function onRendered() { + if (this._allDatasetsEmpty()) { + this._hide(); + } else { + this.isOpen() && this._show(); + } + return s._onRendered.apply(this, [].slice.call(arguments, 0)); + }, + _onCleared: function onCleared() { + if (this._allDatasetsEmpty()) { + this._hide(); + } else { + this.isOpen() && this._show(); + } + return s._onCleared.apply(this, [].slice.call(arguments, 0)); + }, + setLanguageDirection: function setLanguageDirection(dir) { + this.$node.css(dir === "ltr" ? this.css.ltr : this.css.rtl); + return s.setLanguageDirection.apply(this, [].slice.call(arguments, 0)); + }, + _hide: function hide() { + this.$node.hide(); + }, + _show: function show() { + this.$node.css("display", "block"); + } + }); + return DefaultMenu; + }(); + var Typeahead = function() { + "use strict"; + function Typeahead(o, www) { + var onFocused, onBlurred, onEnterKeyed, onTabKeyed, onEscKeyed, onUpKeyed, onDownKeyed, onLeftKeyed, onRightKeyed, onQueryChanged, onWhitespaceChanged; + o = o || {}; + if (!o.input) { + $.error("missing input"); + } + if (!o.menu) { + $.error("missing menu"); + } + if (!o.eventBus) { + $.error("missing event bus"); + } + www.mixin(this); + this.eventBus = o.eventBus; + this.minLength = _.isNumber(o.minLength) ? o.minLength : 1; + this.input = o.input; + this.menu = o.menu; + this.enabled = true; + this.autoselect = !!o.autoselect; + this.active = false; + this.input.hasFocus() && this.activate(); + this.dir = this.input.getLangDir(); + this._hacks(); + this.menu.bind().onSync("selectableClicked", this._onSelectableClicked, this).onSync("asyncRequested", this._onAsyncRequested, this).onSync("asyncCanceled", this._onAsyncCanceled, this).onSync("asyncReceived", this._onAsyncReceived, this).onSync("datasetRendered", this._onDatasetRendered, this).onSync("datasetCleared", this._onDatasetCleared, this); + onFocused = c(this, "activate", "open", "_onFocused"); + onBlurred = c(this, "deactivate", "_onBlurred"); + onEnterKeyed = c(this, "isActive", "isOpen", "_onEnterKeyed"); + onTabKeyed = c(this, "isActive", "isOpen", "_onTabKeyed"); + onEscKeyed = c(this, "isActive", "_onEscKeyed"); + onUpKeyed = c(this, "isActive", "open", "_onUpKeyed"); + onDownKeyed = c(this, "isActive", "open", "_onDownKeyed"); + onLeftKeyed = c(this, "isActive", "isOpen", "_onLeftKeyed"); + onRightKeyed = c(this, "isActive", "isOpen", "_onRightKeyed"); + onQueryChanged = c(this, "_openIfActive", "_onQueryChanged"); + onWhitespaceChanged = c(this, "_openIfActive", "_onWhitespaceChanged"); + this.input.bind().onSync("focused", onFocused, this).onSync("blurred", onBlurred, this).onSync("enterKeyed", onEnterKeyed, this).onSync("tabKeyed", onTabKeyed, this).onSync("escKeyed", onEscKeyed, this).onSync("upKeyed", onUpKeyed, this).onSync("downKeyed", onDownKeyed, this).onSync("leftKeyed", onLeftKeyed, this).onSync("rightKeyed", onRightKeyed, this).onSync("queryChanged", onQueryChanged, this).onSync("whitespaceChanged", onWhitespaceChanged, this).onSync("langDirChanged", this._onLangDirChanged, this); + } + _.mixin(Typeahead.prototype, { + _hacks: function hacks() { + var $input, $menu; + $input = this.input.$input || $("
"); + $menu = this.menu.$node || $("
"); + $input.on("blur.tt", function($e) { + var active, isActive, hasActive; + active = document.activeElement; + isActive = $menu.is(active); + hasActive = $menu.has(active).length > 0; + if (_.isMsie() && (isActive || hasActive)) { + $e.preventDefault(); + $e.stopImmediatePropagation(); + _.defer(function() { + $input.focus(); + }); + } + }); + $menu.on("mousedown.tt", function($e) { + $e.preventDefault(); + }); + }, + _onSelectableClicked: function onSelectableClicked(type, $el) { + this.select($el); + }, + _onDatasetCleared: function onDatasetCleared() { + this._updateHint(); + }, + _onDatasetRendered: function onDatasetRendered(type, suggestions, async, dataset) { + this._updateHint(); + if (this.autoselect) { + var cursorClass = this.selectors.cursor.substr(1); + this.menu.$node.find(this.selectors.suggestion).first().addClass(cursorClass); + } + this.eventBus.trigger("render", suggestions, async, dataset); + }, + _onAsyncRequested: function onAsyncRequested(type, dataset, query) { + this.eventBus.trigger("asyncrequest", query, dataset); + }, + _onAsyncCanceled: function onAsyncCanceled(type, dataset, query) { + this.eventBus.trigger("asynccancel", query, dataset); + }, + _onAsyncReceived: function onAsyncReceived(type, dataset, query) { + this.eventBus.trigger("asyncreceive", query, dataset); + }, + _onFocused: function onFocused() { + this._minLengthMet() && this.menu.update(this.input.getQuery()); + }, + _onBlurred: function onBlurred() { + if (this.input.hasQueryChangedSinceLastFocus()) { + this.eventBus.trigger("change", this.input.getQuery()); + } + }, + _onEnterKeyed: function onEnterKeyed(type, $e) { + var $selectable; + if ($selectable = this.menu.getActiveSelectable()) { + if (this.select($selectable)) { + $e.preventDefault(); + $e.stopPropagation(); + } + } else if (this.autoselect) { + if (this.select(this.menu.getTopSelectable())) { + $e.preventDefault(); + $e.stopPropagation(); + } + } + }, + _onTabKeyed: function onTabKeyed(type, $e) { + var $selectable; + if ($selectable = this.menu.getActiveSelectable()) { + this.select($selectable) && $e.preventDefault(); + } else if (this.autoselect) { + if ($selectable = this.menu.getTopSelectable()) { + this.autocomplete($selectable) && $e.preventDefault(); + } + } + }, + _onEscKeyed: function onEscKeyed() { + this.close(); + }, + _onUpKeyed: function onUpKeyed() { + this.moveCursor(-1); + }, + _onDownKeyed: function onDownKeyed() { + this.moveCursor(+1); + }, + _onLeftKeyed: function onLeftKeyed() { + if (this.dir === "rtl" && this.input.isCursorAtEnd()) { + this.autocomplete(this.menu.getActiveSelectable() || this.menu.getTopSelectable()); + } + }, + _onRightKeyed: function onRightKeyed() { + if (this.dir === "ltr" && this.input.isCursorAtEnd()) { + this.autocomplete(this.menu.getActiveSelectable() || this.menu.getTopSelectable()); + } + }, + _onQueryChanged: function onQueryChanged(e, query) { + this._minLengthMet(query) ? this.menu.update(query) : this.menu.empty(); + }, + _onWhitespaceChanged: function onWhitespaceChanged() { + this._updateHint(); + }, + _onLangDirChanged: function onLangDirChanged(e, dir) { + if (this.dir !== dir) { + this.dir = dir; + this.menu.setLanguageDirection(dir); + } + }, + _openIfActive: function openIfActive() { + this.isActive() && this.open(); + }, + _minLengthMet: function minLengthMet(query) { + query = _.isString(query) ? query : this.input.getQuery() || ""; + return query.length >= this.minLength; + }, + _updateHint: function updateHint() { + var $selectable, data, val, query, escapedQuery, frontMatchRegEx, match; + $selectable = this.menu.getTopSelectable(); + data = this.menu.getSelectableData($selectable); + val = this.input.getInputValue(); + if (data && !_.isBlankString(val) && !this.input.hasOverflow()) { + query = Input.normalizeQuery(val); + escapedQuery = _.escapeRegExChars(query); + frontMatchRegEx = new RegExp("^(?:" + escapedQuery + ")(.+$)", "i"); + match = frontMatchRegEx.exec(data.val); + match && this.input.setHint(val + match[1]); + } else { + this.input.clearHint(); + } + }, + isEnabled: function isEnabled() { + return this.enabled; + }, + enable: function enable() { + this.enabled = true; + }, + disable: function disable() { + this.enabled = false; + }, + isActive: function isActive() { + return this.active; + }, + activate: function activate() { + if (this.isActive()) { + return true; + } else if (!this.isEnabled() || this.eventBus.before("active")) { + return false; + } else { + this.active = true; + this.eventBus.trigger("active"); + return true; + } + }, + deactivate: function deactivate() { + if (!this.isActive()) { + return true; + } else if (this.eventBus.before("idle")) { + return false; + } else { + this.active = false; + this.close(); + this.eventBus.trigger("idle"); + return true; + } + }, + isOpen: function isOpen() { + return this.menu.isOpen(); + }, + open: function open() { + if (!this.isOpen() && !this.eventBus.before("open")) { + this.input.setAriaExpanded(true); + this.menu.open(); + this._updateHint(); + this.eventBus.trigger("open"); + } + return this.isOpen(); + }, + close: function close() { + if (this.isOpen() && !this.eventBus.before("close")) { + this.input.setAriaExpanded(false); + this.menu.close(); + this.input.clearHint(); + this.input.resetInputValue(); + this.eventBus.trigger("close"); + } + return !this.isOpen(); + }, + setVal: function setVal(val) { + this.input.setQuery(_.toStr(val)); + }, + getVal: function getVal() { + return this.input.getQuery(); + }, + select: function select($selectable) { + var data = this.menu.getSelectableData($selectable); + if (data && !this.eventBus.before("select", data.obj, data.dataset)) { + this.input.setQuery(data.val, true); + this.eventBus.trigger("select", data.obj, data.dataset); + this.close(); + return true; + } + return false; + }, + autocomplete: function autocomplete($selectable) { + var query, data, isValid; + query = this.input.getQuery(); + data = this.menu.getSelectableData($selectable); + isValid = data && query !== data.val; + if (isValid && !this.eventBus.before("autocomplete", data.obj, data.dataset)) { + this.input.setQuery(data.val); + this.eventBus.trigger("autocomplete", data.obj, data.dataset); + return true; + } + return false; + }, + moveCursor: function moveCursor(delta) { + var query, $candidate, data, suggestion, datasetName, cancelMove, id; + query = this.input.getQuery(); + $candidate = this.menu.selectableRelativeToCursor(delta); + data = this.menu.getSelectableData($candidate); + suggestion = data ? data.obj : null; + datasetName = data ? data.dataset : null; + id = $candidate ? $candidate.attr("id") : null; + this.input.trigger("cursorchange", id); + cancelMove = this._minLengthMet() && this.menu.update(query); + if (!cancelMove && !this.eventBus.before("cursorchange", suggestion, datasetName)) { + this.menu.setCursor($candidate); + if (data) { + if (typeof data.val === "string") { + this.input.setInputValue(data.val); + } + } else { + this.input.resetInputValue(); + this._updateHint(); + } + this.eventBus.trigger("cursorchange", suggestion, datasetName); + return true; + } + return false; + }, + destroy: function destroy() { + this.input.destroy(); + this.menu.destroy(); + } + }); + return Typeahead; + function c(ctx) { + var methods = [].slice.call(arguments, 1); + return function() { + var args = [].slice.call(arguments); + _.each(methods, function(method) { + return ctx[method].apply(ctx, args); + }); + }; + } + }(); + (function() { + "use strict"; + var old, keys, methods; + old = $.fn.typeahead; + keys = { + www: "tt-www", + attrs: "tt-attrs", + typeahead: "tt-typeahead" + }; + methods = { + initialize: function initialize(o, datasets) { + var www; + datasets = _.isArray(datasets) ? datasets : [].slice.call(arguments, 1); + o = o || {}; + www = WWW(o.classNames); + return this.each(attach); + function attach() { + var $input, $wrapper, $hint, $menu, defaultHint, defaultMenu, eventBus, input, menu, status, typeahead, MenuConstructor; + _.each(datasets, function(d) { + d.highlight = !!o.highlight; + }); + $input = $(this); + $wrapper = $(www.html.wrapper); + $hint = $elOrNull(o.hint); + $menu = $elOrNull(o.menu); + defaultHint = o.hint !== false && !$hint; + defaultMenu = o.menu !== false && !$menu; + defaultHint && ($hint = buildHintFromInput($input, www)); + defaultMenu && ($menu = $(www.html.menu).css(www.css.menu)); + $hint && $hint.val(""); + $input = prepInput($input, www); + if (defaultHint || defaultMenu) { + $wrapper.css(www.css.wrapper); + $input.css(defaultHint ? www.css.input : www.css.inputWithNoHint); + $input.wrap($wrapper).parent().prepend(defaultHint ? $hint : null).append(defaultMenu ? $menu : null); + } + MenuConstructor = defaultMenu ? DefaultMenu : Menu; + eventBus = new EventBus({ + el: $input + }); + input = new Input({ + hint: $hint, + input: $input, + menu: $menu + }, www); + menu = new MenuConstructor({ + node: $menu, + datasets: datasets + }, www); + status = new Status({ + $input: $input, + menu: menu + }); + typeahead = new Typeahead({ + input: input, + menu: menu, + eventBus: eventBus, + minLength: o.minLength, + autoselect: o.autoselect + }, www); + $input.data(keys.www, www); + $input.data(keys.typeahead, typeahead); + } + }, + isEnabled: function isEnabled() { + var enabled; + ttEach(this.first(), function(t) { + enabled = t.isEnabled(); + }); + return enabled; + }, + enable: function enable() { + ttEach(this, function(t) { + t.enable(); + }); + return this; + }, + disable: function disable() { + ttEach(this, function(t) { + t.disable(); + }); + return this; + }, + isActive: function isActive() { + var active; + ttEach(this.first(), function(t) { + active = t.isActive(); + }); + return active; + }, + activate: function activate() { + ttEach(this, function(t) { + t.activate(); + }); + return this; + }, + deactivate: function deactivate() { + ttEach(this, function(t) { + t.deactivate(); + }); + return this; + }, + isOpen: function isOpen() { + var open; + ttEach(this.first(), function(t) { + open = t.isOpen(); + }); + return open; + }, + open: function open() { + ttEach(this, function(t) { + t.open(); + }); + return this; + }, + close: function close() { + ttEach(this, function(t) { + t.close(); + }); + return this; + }, + select: function select(el) { + var success = false, $el = $(el); + ttEach(this.first(), function(t) { + success = t.select($el); + }); + return success; + }, + autocomplete: function autocomplete(el) { + var success = false, $el = $(el); + ttEach(this.first(), function(t) { + success = t.autocomplete($el); + }); + return success; + }, + moveCursor: function moveCursoe(delta) { + var success = false; + ttEach(this.first(), function(t) { + success = t.moveCursor(delta); + }); + return success; + }, + val: function val(newVal) { + var query; + if (!arguments.length) { + ttEach(this.first(), function(t) { + query = t.getVal(); + }); + return query; + } else { + ttEach(this, function(t) { + t.setVal(_.toStr(newVal)); + }); + return this; + } + }, + destroy: function destroy() { + ttEach(this, function(typeahead, $input) { + revert($input); + typeahead.destroy(); + }); + return this; + } + }; + $.fn.typeahead = function(method) { + if (methods[method]) { + return methods[method].apply(this, [].slice.call(arguments, 1)); + } else { + return methods.initialize.apply(this, arguments); + } + }; + $.fn.typeahead.noConflict = function noConflict() { + $.fn.typeahead = old; + return this; + }; + function ttEach($els, fn) { + $els.each(function() { + var $input = $(this), typeahead; + (typeahead = $input.data(keys.typeahead)) && fn(typeahead, $input); + }); + } + function buildHintFromInput($input, www) { + return $input.clone().addClass(www.classes.hint).removeData().css(www.css.hint).css(getBackgroundStyles($input)).prop({ + readonly: true, + required: false + }).removeAttr("id name placeholder").removeClass("required").attr({ + spellcheck: "false", + tabindex: -1 + }); + } + function prepInput($input, www) { + $input.data(keys.attrs, { + dir: $input.attr("dir"), + autocomplete: $input.attr("autocomplete"), + spellcheck: $input.attr("spellcheck"), + style: $input.attr("style") + }); + $input.addClass(www.classes.input).attr({ + spellcheck: false + }); + try { + !$input.attr("dir") && $input.attr("dir", "auto"); + } catch (e) {} + return $input; + } + function getBackgroundStyles($el) { + return { + backgroundAttachment: $el.css("background-attachment"), + backgroundClip: $el.css("background-clip"), + backgroundColor: $el.css("background-color"), + backgroundImage: $el.css("background-image"), + backgroundOrigin: $el.css("background-origin"), + backgroundPosition: $el.css("background-position"), + backgroundRepeat: $el.css("background-repeat"), + backgroundSize: $el.css("background-size") + }; + } + function revert($input) { + var www, $wrapper; + www = $input.data(keys.www); + $wrapper = $input.parent().filter(www.selectors.wrapper); + _.each($input.data(keys.attrs), function(val, key) { + _.isUndefined(val) ? $input.removeAttr(key) : $input.attr(key, val); + }); + $input.removeData(keys.typeahead).removeData(keys.www).removeData(keys.attr).removeClass(www.classes.input); + if ($wrapper.length) { + $input.detach().insertAfter($wrapper); + $wrapper.remove(); + } + } + function $elOrNull(obj) { + var isValid, $el; + isValid = _.isJQuery(obj) || _.isElement(obj); + $el = isValid ? $(obj).first() : []; + return $el.length ? $el : null; + } + })(); +}); \ No newline at end of file diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/search.json b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/search.json new file mode 100644 index 00000000..d03af59e --- /dev/null +++ b/docs/docsets/SwiftUICharts.docset/Contents/Resources/Documents/search.json @@ -0,0 +1 @@ +{"Structs/ExtraLineStyle/SpacingType.html#/s:13SwiftUICharts14ExtraLineStyleV11SpacingTypeO4lineyA2EmF":{"name":"line","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"SpacingType"},"Structs/ExtraLineStyle/SpacingType.html#/s:13SwiftUICharts14ExtraLineStyleV11SpacingTypeO3baryA2EmF":{"name":"bar","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"SpacingType"},"Structs/ExtraLineStyle/AnimationType.html#/s:13SwiftUICharts14ExtraLineStyleV13AnimationTypeO4drawyA2EmF":{"name":"draw","abstract":"\u003cp\u003eDraws the line using \u003ccode\u003e.trim\u003c/code\u003e.\u003c/p\u003e","parent_name":"AnimationType"},"Structs/ExtraLineStyle/AnimationType.html#/s:13SwiftUICharts14ExtraLineStyleV13AnimationTypeO5raiseyA2EmF":{"name":"raise","abstract":"\u003cp\u003eAnimates using \u003ccode\u003e.scale\u003c/code\u003e.\u003c/p\u003e","parent_name":"AnimationType"},"Structs/ExtraLineStyle.html#/s:13SwiftUICharts14ExtraLineStyleV10lineColourAA0gE0Vvp":{"name":"lineColour","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"ExtraLineStyle"},"Structs/ExtraLineStyle.html#/s:13SwiftUICharts14ExtraLineStyleV8lineTypeAA0dG0Ovp":{"name":"lineType","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"ExtraLineStyle"},"Structs/ExtraLineStyle.html#/s:13SwiftUICharts14ExtraLineStyleV11lineSpacingAC0G4TypeOvp":{"name":"lineSpacing","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"ExtraLineStyle"},"Structs/ExtraLineStyle.html#/s:13SwiftUICharts14ExtraLineStyleV10markerTypeAA0d6MarkerG0Ovp":{"name":"markerType","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"ExtraLineStyle"},"Structs/ExtraLineStyle.html#/s:13SwiftUICharts14ExtraLineStyleV06strokeE0AA6StrokeVvp":{"name":"strokeStyle","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"ExtraLineStyle"},"Structs/ExtraLineStyle.html#/s:13SwiftUICharts14ExtraLineStyleV05pointE0AA05PointE0Vvp":{"name":"pointStyle","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"ExtraLineStyle"},"Structs/ExtraLineStyle.html#/s:13SwiftUICharts14ExtraLineStyleV10yAxisTitleSSSgvp":{"name":"yAxisTitle","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"ExtraLineStyle"},"Structs/ExtraLineStyle.html#/s:13SwiftUICharts14ExtraLineStyleV19yAxisNumberOfLabelsSivp":{"name":"yAxisNumberOfLabels","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"ExtraLineStyle"},"Structs/ExtraLineStyle.html#/s:13SwiftUICharts14ExtraLineStyleV13animationTypeAC09AnimationG0Ovp":{"name":"animationType","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"ExtraLineStyle"},"Structs/ExtraLineStyle.html#/s:13SwiftUICharts14ExtraLineStyleV8baselineAA8BaselineOvp":{"name":"baseline","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"ExtraLineStyle"},"Structs/ExtraLineStyle.html#/s:13SwiftUICharts14ExtraLineStyleV03topD0AA7ToplineOvp":{"name":"topLine","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"ExtraLineStyle"},"Structs/ExtraLineStyle.html#/s:13SwiftUICharts14ExtraLineStyleV10lineColour0F4Type0F7Spacing06markerH006strokeE005pointE010yAxisTitle01yM14NumberOfLabels09animationH08baseline03topD0AcA0gE0V_AA0dH0OAC0iH0OAA0d6MarkerH0OAA6StrokeVAA05PointE0VSSSgSiAC09AnimationH0OAA8BaselineOAA7ToplineOtcfc":{"name":"init(lineColour:lineType:lineSpacing:markerType:strokeStyle:pointStyle:yAxisTitle:yAxisNumberOfLabels:animationType:baseline:topLine:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"ExtraLineStyle"},"Structs/ExtraLineStyle/AnimationType.html":{"name":"AnimationType","abstract":"\u003cp\u003eControls which animations will be used.\u003c/p\u003e","parent_name":"ExtraLineStyle"},"Structs/ExtraLineStyle/SpacingType.html":{"name":"SpacingType","abstract":"\u003cp\u003eSets what type of chart is being used.\u003c/p\u003e","parent_name":"ExtraLineStyle"},"Structs/TopLabelShape.html#/s:7SwiftUI5ShapeP4path2inAA4PathVSo6CGRectV_tF":{"name":"path(in:)","parent_name":"TopLabelShape"},"Structs/BottomLabelShape.html#/s:7SwiftUI5ShapeP4path2inAA4PathVSo6CGRectV_tF":{"name":"path(in:)","parent_name":"BottomLabelShape"},"Structs/TrailingLabelShape.html#/s:7SwiftUI5ShapeP4path2inAA4PathVSo6CGRectV_tF":{"name":"path(in:)","parent_name":"TrailingLabelShape"},"Structs/LeadingLabelShape.html#/s:7SwiftUI5ShapeP4path2inAA4PathVSo6CGRectV_tF":{"name":"path(in:)","parent_name":"LeadingLabelShape"},"Structs/CustomLabelShape.html#/s:13SwiftUICharts16CustomLabelShapeVyACxc0A2UI0E0Rzlufc":{"name":"init(_:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CustomLabelShape"},"Structs/CustomLabelShape.html#/s:7SwiftUI5ShapeP4path2inAA4PathVSo6CGRectV_tF":{"name":"path(in:)","parent_name":"CustomLabelShape"},"Structs/DiamondShape.html#/s:7SwiftUI5ShapeP4path2inAA4PathVSo6CGRectV_tF":{"name":"path(in:)","parent_name":"DiamondShape"},"Structs/GridStyle.html#/s:13SwiftUICharts9GridStyleV13numberOfLinesSivp":{"name":"numberOfLines","abstract":"\u003cp\u003eNumber of lines to break up the axis\u003c/p\u003e","parent_name":"GridStyle"},"Structs/GridStyle.html#/s:13SwiftUICharts9GridStyleV10lineColour0A2UI5ColorVvp":{"name":"lineColour","abstract":"\u003cp\u003eLine Colour\u003c/p\u003e","parent_name":"GridStyle"},"Structs/GridStyle.html#/s:13SwiftUICharts9GridStyleV9lineWidth14CoreFoundation7CGFloatVvp":{"name":"lineWidth","abstract":"\u003cp\u003eLine Width\u003c/p\u003e","parent_name":"GridStyle"},"Structs/GridStyle.html#/s:13SwiftUICharts9GridStyleV4dashSay14CoreFoundation7CGFloatVGvp":{"name":"dash","abstract":"\u003cp\u003eDash\u003c/p\u003e","parent_name":"GridStyle"},"Structs/GridStyle.html#/s:13SwiftUICharts9GridStyleV9dashPhase14CoreFoundation7CGFloatVvp":{"name":"dashPhase","abstract":"\u003cp\u003eDash Phase\u003c/p\u003e","parent_name":"GridStyle"},"Structs/GridStyle.html#/s:13SwiftUICharts9GridStyleV13numberOfLines10lineColour0H5Width4dash0K5PhaseACSi_0A2UI5ColorV14CoreFoundation7CGFloatVSayANGANtcfc":{"name":"init(numberOfLines:lineColour:lineWidth:dash:dashPhase:)","abstract":"\u003cp\u003eModel for controlling the look of the Grid\u003c/p\u003e","parent_name":"GridStyle"},"Structs/ExtraLineDataPoint.html#/s:s12IdentifiableP2id2IDQzvp":{"name":"id","parent_name":"ExtraLineDataPoint"},"Structs/ExtraLineDataPoint.html#/s:13SwiftUICharts18ExtraLineDataPointV5valueSdvp":{"name":"value","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"ExtraLineDataPoint"},"Structs/ExtraLineDataPoint.html#/s:13SwiftUICharts18ExtraLineDataPointV11pointColourAA0fH0VSgvp":{"name":"pointColour","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"ExtraLineDataPoint"},"Structs/ExtraLineDataPoint.html#/s:13SwiftUICharts18ExtraLineDataPointV16pointDescriptionSSSgvp":{"name":"pointDescription","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"ExtraLineDataPoint"},"Structs/ExtraLineDataPoint.html#/s:13SwiftUICharts18ExtraLineDataPointV5value11pointColour0H11DescriptionACSd_AA0fI0VSgSSSgtcfc":{"name":"init(value:pointColour:pointDescription:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"ExtraLineDataPoint"},"Structs/ExtraLineData.html#/s:s12IdentifiableP2id2IDQzvp":{"name":"id","parent_name":"ExtraLineData"},"Structs/ExtraLineData.html#/s:13SwiftUICharts13ExtraLineDataV10dataPointsSayAA0cdE5PointVGvp":{"name":"dataPoints","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"ExtraLineData"},"Structs/ExtraLineData.html#/s:13SwiftUICharts13ExtraLineDataV5styleAA0cD5StyleVvp":{"name":"style","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"ExtraLineData"},"Structs/ExtraLineData.html#/s:13SwiftUICharts13ExtraLineDataV11legendTitleSSvp":{"name":"legendTitle","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"ExtraLineData"},"Structs/ExtraLineData.html#/s:13SwiftUICharts13ExtraLineDataV11legendTitle10dataPoints5styleACSS_SayAA0cdE5PointVGyXEAA0cD5StyleVyXEtcfc":{"name":"init(legendTitle:dataPoints:style:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"ExtraLineData"},"Structs/CustomNoDataView.html#/s:7SwiftUI4ViewP4body4BodyQzvp":{"name":"body","parent_name":"CustomNoDataView"},"Structs/Stroke.html#/s:s12IdentifiableP2id2IDQzvp":{"name":"id","parent_name":"Stroke"},"Structs/Stroke.html#/s:13SwiftUICharts6StrokeV9lineWidth0D3Cap0D4Join10miterLimit4dash0J5PhaseAC14CoreFoundation7CGFloatV_So06CGLineF0VSo0oG0VALSayALGALtcfc":{"name":"init(lineWidth:lineCap:lineJoin:miterLimit:dash:dashPhase:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"Stroke"},"Structs/GradientStop.html#/s:13SwiftUICharts12GradientStopV5color0A2UI5ColorVvp":{"name":"color","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"GradientStop"},"Structs/GradientStop.html#/s:13SwiftUICharts12GradientStopV8location14CoreFoundation7CGFloatVvp":{"name":"location","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"GradientStop"},"Structs/GradientStop.html#/s:13SwiftUICharts12GradientStopV5color8locationAC0A2UI5ColorV_14CoreFoundation7CGFloatVtcfc":{"name":"init(color:location:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"GradientStop"},"Structs/ColourStyle.html#/s:13SwiftUICharts13CTColourStyleP10colourTypeAA06ColourF0Ovp":{"name":"colourType","parent_name":"ColourStyle"},"Structs/ColourStyle.html#/s:13SwiftUICharts13CTColourStyleP6colour0A2UI5ColorVSgvp":{"name":"colour","parent_name":"ColourStyle"},"Structs/ColourStyle.html#/s:13SwiftUICharts13CTColourStyleP7coloursSay0A2UI5ColorVGSgvp":{"name":"colours","parent_name":"ColourStyle"},"Structs/ColourStyle.html#/s:13SwiftUICharts13CTColourStyleP5stopsSayAA12GradientStopVGSgvp":{"name":"stops","parent_name":"ColourStyle"},"Structs/ColourStyle.html#/s:13SwiftUICharts13CTColourStyleP10startPoint0A2UI04UnitF0VSgvp":{"name":"startPoint","parent_name":"ColourStyle"},"Structs/ColourStyle.html#/s:13SwiftUICharts13CTColourStyleP8endPoint0A2UI04UnitF0VSgvp":{"name":"endPoint","parent_name":"ColourStyle"},"Structs/ColourStyle.html#/s:13SwiftUICharts11ColourStyleV6colourAC0A2UI5ColorV_tcfc":{"name":"init(colour:)","abstract":"\u003cp\u003eSingle Colour\u003c/p\u003e","parent_name":"ColourStyle"},"Structs/ColourStyle.html#/s:13SwiftUICharts11ColourStyleV7colours10startPoint03endG0ACSay0A2UI5ColorVG_AG04UnitG0VALtcfc":{"name":"init(colours:startPoint:endPoint:)","abstract":"\u003cp\u003eGradient Colour Line\u003c/p\u003e","parent_name":"ColourStyle"},"Structs/ColourStyle.html#/s:13SwiftUICharts11ColourStyleV5stops10startPoint03endG0ACSayAA12GradientStopVG_0A2UI04UnitG0VALtcfc":{"name":"init(stops:startPoint:endPoint:)","abstract":"\u003cp\u003eGradient with Stops Line\u003c/p\u003e","parent_name":"ColourStyle"},"Structs/ChartMetadata.html#/s:13SwiftUICharts13ChartMetadataV5titleSSvp":{"name":"title","abstract":"\u003cp\u003eThe charts title\u003c/p\u003e","parent_name":"ChartMetadata"},"Structs/ChartMetadata.html#/s:13SwiftUICharts13ChartMetadataV9titleFont0A2UI0F0Vvp":{"name":"titleFont","abstract":"\u003cp\u003eFont of the title\u003c/p\u003e","parent_name":"ChartMetadata"},"Structs/ChartMetadata.html#/s:13SwiftUICharts13ChartMetadataV11titleColour0A2UI5ColorVvp":{"name":"titleColour","abstract":"\u003cp\u003eColor of the title\u003c/p\u003e","parent_name":"ChartMetadata"},"Structs/ChartMetadata.html#/s:13SwiftUICharts13ChartMetadataV8subtitleSSvp":{"name":"subtitle","abstract":"\u003cp\u003eThe charts subtitle\u003c/p\u003e","parent_name":"ChartMetadata"},"Structs/ChartMetadata.html#/s:13SwiftUICharts13ChartMetadataV12subtitleFont0A2UI0F0Vvp":{"name":"subtitleFont","abstract":"\u003cp\u003eFont of the subtitle\u003c/p\u003e","parent_name":"ChartMetadata"},"Structs/ChartMetadata.html#/s:13SwiftUICharts13ChartMetadataV14subtitleColour0A2UI5ColorVvp":{"name":"subtitleColour","abstract":"\u003cp\u003eColor of the subtitle\u003c/p\u003e","parent_name":"ChartMetadata"},"Structs/ChartMetadata.html#/s:13SwiftUICharts13ChartMetadataV5title8subtitle0E4Font0E6Colour0fG00fH0ACSS_SS0A2UI0G0VAJ5ColorVAlNtcfc":{"name":"init(title:subtitle:titleFont:titleColour:subtitleFont:subtitleColour:)","abstract":"\u003cp\u003eModel to hold the metadata for the chart.\u003c/p\u003e","parent_name":"ChartMetadata"},"Structs/LegendData.html#/s:s12IdentifiableP2id2IDQzvp":{"name":"id","parent_name":"LegendData"},"Structs/LegendData.html#/s:13SwiftUICharts10LegendDataV9chartTypeAA05ChartF0Ovp":{"name":"chartType","abstract":"\u003cp\u003eThe type of chart being used.\u003c/p\u003e","parent_name":"LegendData"},"Structs/LegendData.html#/s:13SwiftUICharts10LegendDataV6legendSSvp":{"name":"legend","abstract":"\u003cp\u003eText to be displayed\u003c/p\u003e","parent_name":"LegendData"},"Structs/LegendData.html#/s:13SwiftUICharts10LegendDataV11strokeStyleAA6StrokeVSgvp":{"name":"strokeStyle","abstract":"\u003cp\u003eStyle of the stroke\u003c/p\u003e","parent_name":"LegendData"},"Structs/LegendData.html#/s:13SwiftUICharts10LegendDataV7prioitySivp":{"name":"prioity","abstract":"\u003cp\u003eUsed to make sure the charts data legend is first\u003c/p\u003e","parent_name":"LegendData"},"Structs/LegendData.html#/s:13SwiftUICharts10LegendDataV6colourAA11ColourStyleVvp":{"name":"colour","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"LegendData"},"Structs/LegendData.html#/s:13SwiftUICharts10LegendDataV2id6legend6colour11strokeStyle7prioity9chartTypeAC10Foundation4UUIDV_SSAA06ColourI0VAA6StrokeVSgSiAA05ChartL0Otcfc":{"name":"init(id:legend:colour:strokeStyle:prioity:chartType:)","abstract":"\u003cp\u003eLegend.\u003c/p\u003e","parent_name":"LegendData"},"Structs/LegendData.html#/s:13SwiftUICharts10LegendDataV03getC05width4font9textColorQr14CoreFoundation7CGFloatV_0A2UI4FontVAK0I0VtF":{"name":"getLegend(width:font:textColor:)","abstract":"\u003cp\u003eGet the legend as a view.\u003c/p\u003e","parent_name":"LegendData"},"Structs/LegendData.html#/s:13SwiftUICharts10LegendDataV03getC8AsCircle5width4font9textColorQr14CoreFoundation7CGFloatV_0A2UI4FontVAK0K0VtF":{"name":"getLegendAsCircle(width:font:textColor:)","abstract":"\u003cp\u003eGet the legend as a view where the colour is indicated by a Circle.\u003c/p\u003e","parent_name":"LegendData"},"Structs/InfoExtra.html#/s:13SwiftUICharts9InfoExtraV9chartData4textACyxGx_SStcfc":{"name":"init(chartData:text:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"InfoExtra"},"Structs/InfoExtra.html#/s:7SwiftUI4ViewP4body4BodyQzvp":{"name":"body","parent_name":"InfoExtra"},"Structs/InfoDescription.html#/s:13SwiftUICharts15InfoDescriptionV9chartDataACyxGx_tcfc":{"name":"init(chartData:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"InfoDescription"},"Structs/InfoDescription.html#/s:7SwiftUI4ViewP4body4BodyQzvp":{"name":"body","parent_name":"InfoDescription"},"Structs/InfoValue.html#/s:13SwiftUICharts9InfoValueV9chartDataACyxGx_tcfc":{"name":"init(chartData:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"InfoValue"},"Structs/InfoValue.html#/s:7SwiftUI4ViewP4body4BodyQzvp":{"name":"body","parent_name":"InfoValue"},"Structs/PieChart.html#/s:13SwiftUICharts8PieChartV9chartDataACyxGx_tcfc":{"name":"init(chartData:)","abstract":"\u003cp\u003eInitialises a bar chart view.\u003c/p\u003e","parent_name":"PieChart"},"Structs/PieChart.html#/s:7SwiftUI4ViewP4body4BodyQzvp":{"name":"body","parent_name":"PieChart"},"Structs/DoughnutChart.html#/s:13SwiftUICharts13DoughnutChartV9chartDataACyxGx_tcfc":{"name":"init(chartData:)","abstract":"\u003cp\u003eInitialises a bar chart view.\u003c/p\u003e","parent_name":"DoughnutChart"},"Structs/DoughnutChart.html#/s:7SwiftUI4ViewP4body4BodyQzvp":{"name":"body","parent_name":"DoughnutChart"},"Structs/PieChartStyle.html#/s:13SwiftUICharts12CTChartStyleP16infoBoxPlacementAA04InfofG0Ovp":{"name":"infoBoxPlacement","parent_name":"PieChartStyle"},"Structs/PieChartStyle.html#/s:13SwiftUICharts12CTChartStyleP23infoBoxContentAlignmentAA04InfofH0Ovp":{"name":"infoBoxContentAlignment","parent_name":"PieChartStyle"},"Structs/PieChartStyle.html#/s:13SwiftUICharts12CTChartStyleP16infoBoxValueFont0A2UI0H0Vvp":{"name":"infoBoxValueFont","parent_name":"PieChartStyle"},"Structs/PieChartStyle.html#/s:13SwiftUICharts12CTChartStyleP18infoBoxValueColour0A2UI5ColorVvp":{"name":"infoBoxValueColour","parent_name":"PieChartStyle"},"Structs/PieChartStyle.html#/s:13SwiftUICharts12CTChartStyleP22infoBoxDescriptionFont0A2UI0H0Vvp":{"name":"infoBoxDescriptionFont","parent_name":"PieChartStyle"},"Structs/PieChartStyle.html#/s:13SwiftUICharts12CTChartStyleP24infoBoxDescriptionColour0A2UI5ColorVvp":{"name":"infoBoxDescriptionColour","parent_name":"PieChartStyle"},"Structs/PieChartStyle.html#/s:13SwiftUICharts12CTChartStyleP23infoBoxBackgroundColour0A2UI5ColorVvp":{"name":"infoBoxBackgroundColour","parent_name":"PieChartStyle"},"Structs/PieChartStyle.html#/s:13SwiftUICharts12CTChartStyleP19infoBoxBorderColour0A2UI5ColorVvp":{"name":"infoBoxBorderColour","parent_name":"PieChartStyle"},"Structs/PieChartStyle.html#/s:13SwiftUICharts12CTChartStyleP013infoBoxBorderD00A2UI06StrokeD0Vvp":{"name":"infoBoxBorderStyle","parent_name":"PieChartStyle"},"Structs/PieChartStyle.html#/s:13SwiftUICharts12CTChartStyleP15globalAnimation0A2UI0F0Vvp":{"name":"globalAnimation","parent_name":"PieChartStyle"},"Structs/PieChartStyle.html#/s:13SwiftUICharts13PieChartStyleV16infoBoxPlacement0fG16ContentAlignment0fG9ValueFont0fgK6Colour0fg11DescriptionL00fgnM00fg10BackgroundM00fg6BorderM00fgpE015globalAnimationAcA04InfogH0O_AA0sgJ0O0A2UI0L0VAR5ColorVAt3vR06StrokeE0VAR0R0Vtcfc":{"name":"init(infoBoxPlacement:infoBoxContentAlignment:infoBoxValueFont:infoBoxValueColour:infoBoxDescriptionFont:infoBoxDescriptionColour:infoBoxBackgroundColour:infoBoxBorderColour:infoBoxBorderStyle:globalAnimation:)","abstract":"\u003cp\u003eModel for controlling the overall aesthetic of the chart.\u003c/p\u003e","parent_name":"PieChartStyle"},"Structs/DoughnutChartStyle.html#/s:13SwiftUICharts12CTChartStyleP16infoBoxPlacementAA04InfofG0Ovp":{"name":"infoBoxPlacement","parent_name":"DoughnutChartStyle"},"Structs/DoughnutChartStyle.html#/s:13SwiftUICharts12CTChartStyleP23infoBoxContentAlignmentAA04InfofH0Ovp":{"name":"infoBoxContentAlignment","parent_name":"DoughnutChartStyle"},"Structs/DoughnutChartStyle.html#/s:13SwiftUICharts12CTChartStyleP16infoBoxValueFont0A2UI0H0Vvp":{"name":"infoBoxValueFont","parent_name":"DoughnutChartStyle"},"Structs/DoughnutChartStyle.html#/s:13SwiftUICharts12CTChartStyleP18infoBoxValueColour0A2UI5ColorVvp":{"name":"infoBoxValueColour","parent_name":"DoughnutChartStyle"},"Structs/DoughnutChartStyle.html#/s:13SwiftUICharts12CTChartStyleP22infoBoxDescriptionFont0A2UI0H0Vvp":{"name":"infoBoxDescriptionFont","parent_name":"DoughnutChartStyle"},"Structs/DoughnutChartStyle.html#/s:13SwiftUICharts12CTChartStyleP24infoBoxDescriptionColour0A2UI5ColorVvp":{"name":"infoBoxDescriptionColour","parent_name":"DoughnutChartStyle"},"Structs/DoughnutChartStyle.html#/s:13SwiftUICharts12CTChartStyleP23infoBoxBackgroundColour0A2UI5ColorVvp":{"name":"infoBoxBackgroundColour","parent_name":"DoughnutChartStyle"},"Structs/DoughnutChartStyle.html#/s:13SwiftUICharts12CTChartStyleP19infoBoxBorderColour0A2UI5ColorVvp":{"name":"infoBoxBorderColour","parent_name":"DoughnutChartStyle"},"Structs/DoughnutChartStyle.html#/s:13SwiftUICharts12CTChartStyleP013infoBoxBorderD00A2UI06StrokeD0Vvp":{"name":"infoBoxBorderStyle","parent_name":"DoughnutChartStyle"},"Structs/DoughnutChartStyle.html#/s:13SwiftUICharts12CTChartStyleP15globalAnimation0A2UI0F0Vvp":{"name":"globalAnimation","parent_name":"DoughnutChartStyle"},"Structs/DoughnutChartStyle.html#/s:13SwiftUICharts20CTDoughnutChartStyleP11strokeWidth14CoreFoundation7CGFloatVvp":{"name":"strokeWidth","parent_name":"DoughnutChartStyle"},"Structs/DoughnutChartStyle.html#/s:13SwiftUICharts18DoughnutChartStyleV16infoBoxPlacement0fG16ContentAlignment0fG9ValueFont0fgK6Colour0fg11DescriptionL00fgnM00fg10BackgroundM00fg6BorderM00fgpE015globalAnimation11strokeWidthAcA04InfogH0O_AA0ugJ0O0A2UI0L0VAS5ColorVAu3wS06StrokeE0VAS0R0V14CoreFoundation7CGFloatVtcfc":{"name":"init(infoBoxPlacement:infoBoxContentAlignment:infoBoxValueFont:infoBoxValueColour:infoBoxDescriptionFont:infoBoxDescriptionColour:infoBoxBackgroundColour:infoBoxBorderColour:infoBoxBorderStyle:globalAnimation:strokeWidth:)","abstract":"\u003cp\u003eModel for controlling the overall aesthetic of the chart.\u003c/p\u003e","parent_name":"DoughnutChartStyle"},"Structs/PieDataSet.html#/s:s12IdentifiableP2id2IDQzvp":{"name":"id","parent_name":"PieDataSet"},"Structs/PieDataSet.html#/s:13SwiftUICharts23CTSingleDataSetProtocolP10dataPointsSay0D5PointQzGvp":{"name":"dataPoints","parent_name":"PieDataSet"},"Structs/PieDataSet.html#/s:13SwiftUICharts10PieDataSetV11legendTitleSSvp":{"name":"legendTitle","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"PieDataSet"},"Structs/PieDataSet.html#/s:13SwiftUICharts10PieDataSetV10dataPoints11legendTitleACSayAA0c5ChartD5PointVG_SStcfc":{"name":"init(dataPoints:legendTitle:)","abstract":"\u003cp\u003eInitialises a new data set for a standard pie chart.\u003c/p\u003e","parent_name":"PieDataSet"},"Structs/PieDataSet.html#/s:s12IdentifiableP2IDQa":{"name":"ID","parent_name":"PieDataSet"},"Structs/PieDataSet.html#/s:13SwiftUICharts23CTSingleDataSetProtocolP0D5PointQa":{"name":"DataPoint","parent_name":"PieDataSet"},"Structs/PieChartDataPoint.html#/s:s12IdentifiableP2id2IDQzvp":{"name":"id","parent_name":"PieChartDataPoint"},"Structs/PieChartDataPoint.html#/s:13SwiftUICharts27CTStandardDataPointProtocolP5valueSdvp":{"name":"value","parent_name":"PieChartDataPoint"},"Structs/PieChartDataPoint.html#/s:13SwiftUICharts23CTDataPointBaseProtocolP11descriptionSSSgvp":{"name":"description","parent_name":"PieChartDataPoint"},"Structs/PieChartDataPoint.html#/s:13SwiftUICharts23CTDataPointBaseProtocolP4date10Foundation4DateVSgvp":{"name":"date","parent_name":"PieChartDataPoint"},"Structs/PieChartDataPoint.html#/s:13SwiftUICharts14CTPieDataPointP6colour0A2UI5ColorVvp":{"name":"colour","parent_name":"PieChartDataPoint"},"Structs/PieChartDataPoint.html#/s:13SwiftUICharts14CTPieDataPointP5labelAA11OverlayTypeOvp":{"name":"label","parent_name":"PieChartDataPoint"},"Structs/PieChartDataPoint.html#/s:13SwiftUICharts14CTPieDataPointP10startAngleSdvp":{"name":"startAngle","parent_name":"PieChartDataPoint"},"Structs/PieChartDataPoint.html#/s:13SwiftUICharts14CTPieDataPointP6amountSdvp":{"name":"amount","parent_name":"PieChartDataPoint"},"Structs/PieChartDataPoint.html#/s:13SwiftUICharts23CTDataPointBaseProtocolP9legendTagSSvp":{"name":"legendTag","parent_name":"PieChartDataPoint"},"Structs/PieChartDataPoint.html#/s:13SwiftUICharts17PieChartDataPointV5value11description4date6colour5labelACSd_SSSg10Foundation4DateVSg0A2UI5ColorVAA11OverlayTypeOtcfc":{"name":"init(value:description:date:colour:label:)","abstract":"\u003cp\u003eData model for a single data point for a pie chart.\u003c/p\u003e","parent_name":"PieChartDataPoint"},"Structs/PieChartDataPoint.html#/s:SQ2eeoiySbx_xtFZ":{"name":"==(_:_:)","parent_name":"PieChartDataPoint"},"Structs/DotStyle.html#/s:13SwiftUICharts8DotStyleV4size10fillColour04lineG00H5WidthAC14CoreFoundation7CGFloatV_0A2UI5ColorVAmJtcfc":{"name":"init(size:fillColour:lineColour:lineWidth:)","abstract":"\u003cp\u003eSets the style of the Posistion Indicator\u003c/p\u003e","parent_name":"DotStyle"},"Structs/RangedLineChart.html#/s:13SwiftUICharts15RangedLineChartV9chartDataACyxGx_tcfc":{"name":"init(chartData:)","abstract":"\u003cp\u003eInitialises a line chart view.\u003c/p\u003e","parent_name":"RangedLineChart"},"Structs/RangedLineChart.html#/s:7SwiftUI4ViewP4body4BodyQzvp":{"name":"body","parent_name":"RangedLineChart"},"Structs/MultiLineChart.html#/s:13SwiftUICharts14MultiLineChartV9chartDataACyxGx_tcfc":{"name":"init(chartData:)","abstract":"\u003cp\u003eInitialises a multi-line, line chart.\u003c/p\u003e","parent_name":"MultiLineChart"},"Structs/MultiLineChart.html#/s:7SwiftUI4ViewP4body4BodyQzvp":{"name":"body","parent_name":"MultiLineChart"},"Structs/LineChart.html#/s:13SwiftUICharts9LineChartV9chartDataACyxGx_tcfc":{"name":"init(chartData:)","abstract":"\u003cp\u003eInitialises a line chart view.\u003c/p\u003e","parent_name":"LineChart"},"Structs/LineChart.html#/s:7SwiftUI4ViewP4body4BodyQzvp":{"name":"body","parent_name":"LineChart"},"Structs/FilledLineChart.html#/s:13SwiftUICharts15FilledLineChartV9chartDataACyxGx_tcfc":{"name":"init(chartData:)","abstract":"\u003cp\u003eInitialises a filled line chart\u003c/p\u003e","parent_name":"FilledLineChart"},"Structs/FilledLineChart.html#/s:7SwiftUI4ViewP4body4BodyQzvp":{"name":"body","parent_name":"FilledLineChart"},"Structs/RangedLineStyle.html#/s:13SwiftUICharts11CTLineStyleP10lineColourAA0fD0Vvp":{"name":"lineColour","parent_name":"RangedLineStyle"},"Structs/RangedLineStyle.html#/s:13SwiftUICharts17CTRangedLineStyleP10fillColourAA0gE0Vvp":{"name":"fillColour","parent_name":"RangedLineStyle"},"Structs/RangedLineStyle.html#/s:13SwiftUICharts11CTLineStyleP8lineTypeAA04LineF0Ovp":{"name":"lineType","parent_name":"RangedLineStyle"},"Structs/RangedLineStyle.html#/s:13SwiftUICharts11CTLineStyleP06strokeD0AA6StrokeVvp":{"name":"strokeStyle","parent_name":"RangedLineStyle"},"Structs/RangedLineStyle.html#/s:13SwiftUICharts11CTLineStyleP10ignoreZeroSbvp":{"name":"ignoreZero","parent_name":"RangedLineStyle"},"Structs/RangedLineStyle.html#/s:13SwiftUICharts15RangedLineStyleV10lineColour04fillG00F4Type06strokeE010ignoreZeroAcA0gE0V_AjA0dI0OAA6StrokeVSbtcfc":{"name":"init(lineColour:fillColour:lineType:strokeStyle:ignoreZero:)","abstract":"\u003cp\u003eInitialize the styling for ranged line chart.\u003c/p\u003e","parent_name":"RangedLineStyle"},"Structs/PointColour.html#/s:13SwiftUICharts11PointColourV6border0A2UI5ColorVvp":{"name":"border","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"PointColour"},"Structs/PointColour.html#/s:13SwiftUICharts11PointColourV4fill0A2UI5ColorVvp":{"name":"fill","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"PointColour"},"Structs/PointColour.html#/s:13SwiftUICharts11PointColourV6border4fillAC0A2UI5ColorV_AHtcfc":{"name":"init(border:fill:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"PointColour"},"Structs/PointStyle.html#/s:13SwiftUICharts10PointStyleV9pointSize14CoreFoundation7CGFloatVvp":{"name":"pointSize","abstract":"\u003cp\u003eOverall size of the mark\u003c/p\u003e","parent_name":"PointStyle"},"Structs/PointStyle.html#/s:13SwiftUICharts10PointStyleV12borderColour0A2UI5ColorVvp":{"name":"borderColour","abstract":"\u003cp\u003eOutter ring colour\u003c/p\u003e","parent_name":"PointStyle"},"Structs/PointStyle.html#/s:13SwiftUICharts10PointStyleV10fillColour0A2UI5ColorVvp":{"name":"fillColour","abstract":"\u003cp\u003eCenter fill colour\u003c/p\u003e","parent_name":"PointStyle"},"Structs/PointStyle.html#/s:13SwiftUICharts10PointStyleV9lineWidth14CoreFoundation7CGFloatVvp":{"name":"lineWidth","abstract":"\u003cp\u003eOutter ring line width\u003c/p\u003e","parent_name":"PointStyle"},"Structs/PointStyle.html#/s:13SwiftUICharts10PointStyleV9pointTypeAA0cF0Ovp":{"name":"pointType","abstract":"\u003cp\u003eStyle of the point marks\u003c/p\u003e","parent_name":"PointStyle"},"Structs/PointStyle.html#/s:13SwiftUICharts10PointStyleV10pointShapeAA0cF0Ovp":{"name":"pointShape","abstract":"\u003cp\u003eShape of the points\u003c/p\u003e","parent_name":"PointStyle"},"Structs/PointStyle.html#/s:13SwiftUICharts10PointStyleV9pointSize12borderColour04fillH09lineWidth0E4Type0E5ShapeAC14CoreFoundation7CGFloatV_0A2UI5ColorVAolA0cL0OAA0cM0Otcfc":{"name":"init(pointSize:borderColour:fillColour:lineWidth:pointType:pointShape:)","abstract":"\u003cp\u003eStyling for the point markers.\u003c/p\u003e","parent_name":"PointStyle"},"Structs/LineStyle.html#/s:13SwiftUICharts11CTLineStyleP10lineColourAA0fD0Vvp":{"name":"lineColour","parent_name":"LineStyle"},"Structs/LineStyle.html#/s:13SwiftUICharts11CTLineStyleP8lineTypeAA04LineF0Ovp":{"name":"lineType","parent_name":"LineStyle"},"Structs/LineStyle.html#/s:13SwiftUICharts11CTLineStyleP06strokeD0AA6StrokeVvp":{"name":"strokeStyle","parent_name":"LineStyle"},"Structs/LineStyle.html#/s:13SwiftUICharts11CTLineStyleP10ignoreZeroSbvp":{"name":"ignoreZero","parent_name":"LineStyle"},"Structs/LineStyle.html#/s:13SwiftUICharts9LineStyleV10lineColour0E4Type06strokeD010ignoreZeroAcA0fD0V_AA0cG0OAA6StrokeVSbtcfc":{"name":"init(lineColour:lineType:strokeStyle:ignoreZero:)","abstract":"\u003cp\u003eStyle of the line.\u003c/p\u003e","parent_name":"LineStyle"},"Structs/LineChartStyle.html#/s:13SwiftUICharts12CTChartStyleP16infoBoxPlacementAA04InfofG0Ovp":{"name":"infoBoxPlacement","parent_name":"LineChartStyle"},"Structs/LineChartStyle.html#/s:13SwiftUICharts12CTChartStyleP23infoBoxContentAlignmentAA04InfofH0Ovp":{"name":"infoBoxContentAlignment","parent_name":"LineChartStyle"},"Structs/LineChartStyle.html#/s:13SwiftUICharts12CTChartStyleP16infoBoxValueFont0A2UI0H0Vvp":{"name":"infoBoxValueFont","parent_name":"LineChartStyle"},"Structs/LineChartStyle.html#/s:13SwiftUICharts12CTChartStyleP18infoBoxValueColour0A2UI5ColorVvp":{"name":"infoBoxValueColour","parent_name":"LineChartStyle"},"Structs/LineChartStyle.html#/s:13SwiftUICharts12CTChartStyleP22infoBoxDescriptionFont0A2UI0H0Vvp":{"name":"infoBoxDescriptionFont","parent_name":"LineChartStyle"},"Structs/LineChartStyle.html#/s:13SwiftUICharts12CTChartStyleP24infoBoxDescriptionColour0A2UI5ColorVvp":{"name":"infoBoxDescriptionColour","parent_name":"LineChartStyle"},"Structs/LineChartStyle.html#/s:13SwiftUICharts12CTChartStyleP23infoBoxBackgroundColour0A2UI5ColorVvp":{"name":"infoBoxBackgroundColour","parent_name":"LineChartStyle"},"Structs/LineChartStyle.html#/s:13SwiftUICharts12CTChartStyleP19infoBoxBorderColour0A2UI5ColorVvp":{"name":"infoBoxBorderColour","parent_name":"LineChartStyle"},"Structs/LineChartStyle.html#/s:13SwiftUICharts12CTChartStyleP013infoBoxBorderD00A2UI06StrokeD0Vvp":{"name":"infoBoxBorderStyle","parent_name":"LineChartStyle"},"Structs/LineChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP10markerType4MarkQzvp":{"name":"markerType","parent_name":"LineChartStyle"},"Structs/LineChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP09xAxisGridF0AA0hF0Vvp":{"name":"xAxisGridStyle","parent_name":"LineChartStyle"},"Structs/LineChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP18xAxisLabelPositionAA05XAxisH9PosistionOvp":{"name":"xAxisLabelPosition","parent_name":"LineChartStyle"},"Structs/LineChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP14xAxisLabelFont0A2UI0I0Vvp":{"name":"xAxisLabelFont","parent_name":"LineChartStyle"},"Structs/LineChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP16xAxisLabelColour0A2UI5ColorVvp":{"name":"xAxisLabelColour","parent_name":"LineChartStyle"},"Structs/LineChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP15xAxisLabelsFromAA0hI0Ovp":{"name":"xAxisLabelsFrom","parent_name":"LineChartStyle"},"Structs/LineChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP10xAxisTitleSSSgvp":{"name":"xAxisTitle","parent_name":"LineChartStyle"},"Structs/LineChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP14xAxisTitleFont0A2UI0I0Vvp":{"name":"xAxisTitleFont","parent_name":"LineChartStyle"},"Structs/LineChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP16xAxisTitleColour0A2UI5ColorVvp":{"name":"xAxisTitleColour","parent_name":"LineChartStyle"},"Structs/LineChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP17xAxisBorderColour0A2UI5ColorVSgvp":{"name":"xAxisBorderColour","parent_name":"LineChartStyle"},"Structs/LineChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP09yAxisGridF0AA0hF0Vvp":{"name":"yAxisGridStyle","parent_name":"LineChartStyle"},"Structs/LineChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP18yAxisLabelPositionAA05YAxisH9PosistionOvp":{"name":"yAxisLabelPosition","parent_name":"LineChartStyle"},"Structs/LineChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP14yAxisLabelFont0A2UI0I0Vvp":{"name":"yAxisLabelFont","parent_name":"LineChartStyle"},"Structs/LineChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP16yAxisLabelColour0A2UI5ColorVvp":{"name":"yAxisLabelColour","parent_name":"LineChartStyle"},"Structs/LineChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP19yAxisNumberOfLabelsSivp":{"name":"yAxisNumberOfLabels","parent_name":"LineChartStyle"},"Structs/LineChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP14yAxisLabelTypeAA05YAxishI0Ovp":{"name":"yAxisLabelType","parent_name":"LineChartStyle"},"Structs/LineChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP10yAxisTitleSSSgvp":{"name":"yAxisTitle","parent_name":"LineChartStyle"},"Structs/LineChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP14yAxisTitleFont0A2UI0I0Vvp":{"name":"yAxisTitleFont","parent_name":"LineChartStyle"},"Structs/LineChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP16yAxisTitleColour0A2UI5ColorVvp":{"name":"yAxisTitleColour","parent_name":"LineChartStyle"},"Structs/LineChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP17yAxisBorderColour0A2UI5ColorVSgvp":{"name":"yAxisBorderColour","parent_name":"LineChartStyle"},"Structs/LineChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP8baselineAA8BaselineOvp":{"name":"baseline","parent_name":"LineChartStyle"},"Structs/LineChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP7topLineAA7ToplineOvp":{"name":"topLine","parent_name":"LineChartStyle"},"Structs/LineChartStyle.html#/s:13SwiftUICharts12CTChartStyleP15globalAnimation0A2UI0F0Vvp":{"name":"globalAnimation","parent_name":"LineChartStyle"},"Structs/LineChartStyle.html#/s:13SwiftUICharts14LineChartStyleV16infoBoxPlacement0fG16ContentAlignment0fG9ValueFont0fgK6Colour0fg11DescriptionL00fgnM00fg10BackgroundM00fg6BorderM00fgpE010markerType09xAxisGridE001xS13LabelPosition01xsuL001xsuM001xS10LabelsFrom01xS5Title01xsyL001xsyM001xspM001ystE001ysuV001ysuL001ysuM001ys8NumberOfW001ysuR001ysY001ysyL001ysyM001yspM08baseline03topC015globalAnimationAcA04InfogH0O_AA04InfogJ0O0A2UI0L0VA12_5ColorVA14_A16_A16_A16_A12_06StrokeE0VAA0c6MarkerR0OAA0tE0VAA05XAxisU9PosistionOA14_A16_AA0wX0OSSSgA14_A16_A16_SgA22_AA05YAxisU9PosistionOA14_A16_SiAA05YAxisuR0OA27_A14_A16_A28_AA8BaselineOAA7ToplineOA12_9AnimationVtcfc":{"name":"init(infoBoxPlacement:infoBoxContentAlignment:infoBoxValueFont:infoBoxValueColour:infoBoxDescriptionFont:infoBoxDescriptionColour:infoBoxBackgroundColour:infoBoxBorderColour:infoBoxBorderStyle:markerType:xAxisGridStyle:xAxisLabelPosition:xAxisLabelFont:xAxisLabelColour:xAxisLabelsFrom:xAxisTitle:xAxisTitleFont:xAxisTitleColour:xAxisBorderColour:yAxisGridStyle:yAxisLabelPosition:yAxisLabelFont:yAxisLabelColour:yAxisNumberOfLabels:yAxisLabelType:yAxisTitle:yAxisTitleFont:yAxisTitleColour:yAxisBorderColour:baseline:topLine:globalAnimation:)","abstract":"\u003cp\u003eModel for controlling the overall aesthetic of the chart.\u003c/p\u003e","parent_name":"LineChartStyle"},"Structs/RangedLineDataSet.html#/s:s12IdentifiableP2id2IDQzvp":{"name":"id","parent_name":"RangedLineDataSet"},"Structs/RangedLineDataSet.html#/s:13SwiftUICharts23CTSingleDataSetProtocolP10dataPointsSay0D5PointQzGvp":{"name":"dataPoints","parent_name":"RangedLineDataSet"},"Structs/RangedLineDataSet.html#/s:13SwiftUICharts18CTLineChartDataSetP11legendTitleSSvp":{"name":"legendTitle","parent_name":"RangedLineDataSet"},"Structs/RangedLineDataSet.html#/s:13SwiftUICharts24CTRangedLineChartDataSetP15legendFillTitleSSvp":{"name":"legendFillTitle","parent_name":"RangedLineDataSet"},"Structs/RangedLineDataSet.html#/s:13SwiftUICharts18CTLineChartDataSetP10pointStyleAA05PointH0Vvp":{"name":"pointStyle","parent_name":"RangedLineDataSet"},"Structs/RangedLineDataSet.html#/s:13SwiftUICharts18CTLineChartDataSetP5style7StylingQzvp":{"name":"style","parent_name":"RangedLineDataSet"},"Structs/RangedLineDataSet.html#/s:13SwiftUICharts17RangedLineDataSetV10dataPoints11legendTitle0i4FillJ010pointStyle5styleACSayAA0cd5ChartE5PointVG_S2SAA0pM0VAA0cdM0Vtcfc":{"name":"init(dataPoints:legendTitle:legendFillTitle:pointStyle:style:)","abstract":"\u003cp\u003eInitialises a data set for a line in a ranged line chart.\u003c/p\u003e","parent_name":"RangedLineDataSet"},"Structs/RangedLineDataSet.html#/s:s12IdentifiableP2IDQa":{"name":"ID","parent_name":"RangedLineDataSet"},"Structs/RangedLineDataSet.html#/s:13SwiftUICharts18CTLineChartDataSetP7StylingQa":{"name":"Styling","parent_name":"RangedLineDataSet"},"Structs/MultiLineDataSet.html#/s:s12IdentifiableP2id2IDQzvp":{"name":"id","parent_name":"MultiLineDataSet"},"Structs/MultiLineDataSet.html#/s:13SwiftUICharts22CTMultiDataSetProtocolP8dataSetsSay0dE0QzGvp":{"name":"dataSets","parent_name":"MultiLineDataSet"},"Structs/MultiLineDataSet.html#/s:13SwiftUICharts16MultiLineDataSetV8dataSetsACSayAA0deF0VG_tcfc":{"name":"init(dataSets:)","abstract":"\u003cp\u003eInitialises a new data set for multi-line Line Charts.\u003c/p\u003e","parent_name":"MultiLineDataSet"},"Structs/LineDataSet.html#/s:s12IdentifiableP2id2IDQzvp":{"name":"id","parent_name":"LineDataSet"},"Structs/LineDataSet.html#/s:13SwiftUICharts23CTSingleDataSetProtocolP10dataPointsSay0D5PointQzGvp":{"name":"dataPoints","parent_name":"LineDataSet"},"Structs/LineDataSet.html#/s:13SwiftUICharts18CTLineChartDataSetP11legendTitleSSvp":{"name":"legendTitle","parent_name":"LineDataSet"},"Structs/LineDataSet.html#/s:13SwiftUICharts18CTLineChartDataSetP10pointStyleAA05PointH0Vvp":{"name":"pointStyle","parent_name":"LineDataSet"},"Structs/LineDataSet.html#/s:13SwiftUICharts18CTLineChartDataSetP5style7StylingQzvp":{"name":"style","parent_name":"LineDataSet"},"Structs/LineDataSet.html#/s:13SwiftUICharts11LineDataSetV10dataPoints11legendTitle10pointStyle5styleACSayAA0c5ChartD5PointVG_SSAA0nK0VAA0cK0Vtcfc":{"name":"init(dataPoints:legendTitle:pointStyle:style:)","abstract":"\u003cp\u003eInitialises a data set for a line in a Line Chart.\u003c/p\u003e","parent_name":"LineDataSet"},"Structs/LineDataSet.html#/s:s12IdentifiableP2IDQa":{"name":"ID","parent_name":"LineDataSet"},"Structs/LineDataSet.html#/s:13SwiftUICharts18CTLineChartDataSetP7StylingQa":{"name":"Styling","parent_name":"LineDataSet"},"Structs/RangedLineChartDataPoint.html#/s:s12IdentifiableP2id2IDQzvp":{"name":"id","parent_name":"RangedLineChartDataPoint"},"Structs/RangedLineChartDataPoint.html#/s:13SwiftUICharts27CTStandardDataPointProtocolP5valueSdvp":{"name":"value","parent_name":"RangedLineChartDataPoint"},"Structs/RangedLineChartDataPoint.html#/s:13SwiftUICharts24CTRangeDataPointProtocolP10upperValueSdvp":{"name":"upperValue","parent_name":"RangedLineChartDataPoint"},"Structs/RangedLineChartDataPoint.html#/s:13SwiftUICharts24CTRangeDataPointProtocolP10lowerValueSdvp":{"name":"lowerValue","parent_name":"RangedLineChartDataPoint"},"Structs/RangedLineChartDataPoint.html#/s:13SwiftUICharts26CTLineBarDataPointProtocolP10xAxisLabelSSSgvp":{"name":"xAxisLabel","parent_name":"RangedLineChartDataPoint"},"Structs/RangedLineChartDataPoint.html#/s:13SwiftUICharts23CTDataPointBaseProtocolP11descriptionSSSgvp":{"name":"description","parent_name":"RangedLineChartDataPoint"},"Structs/RangedLineChartDataPoint.html#/s:13SwiftUICharts23CTDataPointBaseProtocolP4date10Foundation4DateVSgvp":{"name":"date","parent_name":"RangedLineChartDataPoint"},"Structs/RangedLineChartDataPoint.html#/s:13SwiftUICharts24RangedLineChartDataPointV11pointColourAA0gI0VSgvp":{"name":"pointColour","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"RangedLineChartDataPoint"},"Structs/RangedLineChartDataPoint.html#/s:13SwiftUICharts24RangedLineChartDataPointV8ignoreMeSbvp":{"name":"ignoreMe","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"RangedLineChartDataPoint"},"Structs/RangedLineChartDataPoint.html#/s:13SwiftUICharts23CTDataPointBaseProtocolP9legendTagSSvp":{"name":"legendTag","parent_name":"RangedLineChartDataPoint"},"Structs/RangedLineChartDataPoint.html#/s:13SwiftUICharts24RangedLineChartDataPointV5value10upperValue05lowerJ010xAxisLabel11description4date11pointColourACSd_S2dSSSgAK10Foundation4DateVSgAA0gQ0VSgtcfc":{"name":"init(value:upperValue:lowerValue:xAxisLabel:description:date:pointColour:)","abstract":"\u003cp\u003eData model for a single data point with colour for use with a ranged line chart.\u003c/p\u003e","parent_name":"RangedLineChartDataPoint"},"Structs/LineChartDataPoint.html#/s:s12IdentifiableP2id2IDQzvp":{"name":"id","parent_name":"LineChartDataPoint"},"Structs/LineChartDataPoint.html#/s:13SwiftUICharts27CTStandardDataPointProtocolP5valueSdvp":{"name":"value","parent_name":"LineChartDataPoint"},"Structs/LineChartDataPoint.html#/s:13SwiftUICharts26CTLineBarDataPointProtocolP10xAxisLabelSSSgvp":{"name":"xAxisLabel","parent_name":"LineChartDataPoint"},"Structs/LineChartDataPoint.html#/s:13SwiftUICharts23CTDataPointBaseProtocolP11descriptionSSSgvp":{"name":"description","parent_name":"LineChartDataPoint"},"Structs/LineChartDataPoint.html#/s:13SwiftUICharts23CTDataPointBaseProtocolP4date10Foundation4DateVSgvp":{"name":"date","parent_name":"LineChartDataPoint"},"Structs/LineChartDataPoint.html#/s:13SwiftUICharts18LineChartDataPointV11pointColourAA0fH0VSgvp":{"name":"pointColour","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"LineChartDataPoint"},"Structs/LineChartDataPoint.html#/s:13SwiftUICharts18LineChartDataPointV8ignoreMeSbvp":{"name":"ignoreMe","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"LineChartDataPoint"},"Structs/LineChartDataPoint.html#/s:13SwiftUICharts23CTDataPointBaseProtocolP9legendTagSSvp":{"name":"legendTag","parent_name":"LineChartDataPoint"},"Structs/LineChartDataPoint.html#/s:13SwiftUICharts18LineChartDataPointV5value10xAxisLabel11description4date11pointColourACSd_SSSgAI10Foundation4DateVSgAA0fM0VSgtcfc":{"name":"init(value:xAxisLabel:description:date:pointColour:)","abstract":"\u003cp\u003eData model for a single data point with colour for use with a line chart.\u003c/p\u003e","parent_name":"LineChartDataPoint"},"Structs/StackedBarChart.html#/s:13SwiftUICharts15StackedBarChartV9chartDataACyxGx_tcfc":{"name":"init(chartData:)","abstract":"\u003cp\u003eInitialises a stacked bar chart view.\u003c/p\u003e","parent_name":"StackedBarChart"},"Structs/StackedBarChart.html#/s:7SwiftUI4ViewP4body4BodyQzvp":{"name":"body","parent_name":"StackedBarChart"},"Structs/RangedBarChart.html#/s:13SwiftUICharts14RangedBarChartV9chartDataACyxGx_tcfc":{"name":"init(chartData:)","abstract":"\u003cp\u003eInitialises a bar chart view.\u003c/p\u003e","parent_name":"RangedBarChart"},"Structs/RangedBarChart.html#/s:7SwiftUI4ViewP4body4BodyQzvp":{"name":"body","parent_name":"RangedBarChart"},"Structs/HorizontalBarChart.html#/s:13SwiftUICharts18HorizontalBarChartV9chartDataACyxGx_tcfc":{"name":"init(chartData:)","abstract":"\u003cp\u003eInitialises a bar chart view.\u003c/p\u003e","parent_name":"HorizontalBarChart"},"Structs/HorizontalBarChart.html#/s:7SwiftUI4ViewP4body4BodyQzvp":{"name":"body","parent_name":"HorizontalBarChart"},"Structs/GroupedBarChart.html#/s:13SwiftUICharts15GroupedBarChartV9chartData12groupSpacingACyxGx_14CoreFoundation7CGFloatVtcfc":{"name":"init(chartData:groupSpacing:)","abstract":"\u003cp\u003eInitialises a grouped bar chart view.\u003c/p\u003e","parent_name":"GroupedBarChart"},"Structs/GroupedBarChart.html#/s:7SwiftUI4ViewP4body4BodyQzvp":{"name":"body","parent_name":"GroupedBarChart"},"Structs/BarChart.html#/s:13SwiftUICharts8BarChartV9chartDataACyxGx_tcfc":{"name":"init(chartData:)","abstract":"\u003cp\u003eInitialises a bar chart view.\u003c/p\u003e","parent_name":"BarChart"},"Structs/BarChart.html#/s:7SwiftUI4ViewP4body4BodyQzvp":{"name":"body","parent_name":"BarChart"},"Structs/BarStyle.html#/s:13SwiftUICharts10CTBarStyleP8barWidth14CoreFoundation7CGFloatVvp":{"name":"barWidth","parent_name":"BarStyle"},"Structs/BarStyle.html#/s:13SwiftUICharts10CTBarStyleP12cornerRadiusAA06CornerF0Vvp":{"name":"cornerRadius","parent_name":"BarStyle"},"Structs/BarStyle.html#/s:13SwiftUICharts10CTBarStyleP10colourFromAA06ColourF0Ovp":{"name":"colourFrom","parent_name":"BarStyle"},"Structs/BarStyle.html#/s:13SwiftUICharts10CTBarStyleP6colourAA06ColourD0Vvp":{"name":"colour","parent_name":"BarStyle"},"Structs/BarStyle.html#/s:13SwiftUICharts8BarStyleV8barWidth12cornerRadius10colourFrom0I0AC14CoreFoundation7CGFloatV_AA06CornerH0VAA06ColourJ0OAA0oD0Vtcfc":{"name":"init(barWidth:cornerRadius:colourFrom:colour:)","abstract":"\u003cp\u003eBar Chart with single colour\u003c/p\u003e","parent_name":"BarStyle"},"Structs/BarChartStyle.html#/s:13SwiftUICharts12CTChartStyleP16infoBoxPlacementAA04InfofG0Ovp":{"name":"infoBoxPlacement","parent_name":"BarChartStyle"},"Structs/BarChartStyle.html#/s:13SwiftUICharts12CTChartStyleP23infoBoxContentAlignmentAA04InfofH0Ovp":{"name":"infoBoxContentAlignment","parent_name":"BarChartStyle"},"Structs/BarChartStyle.html#/s:13SwiftUICharts12CTChartStyleP16infoBoxValueFont0A2UI0H0Vvp":{"name":"infoBoxValueFont","parent_name":"BarChartStyle"},"Structs/BarChartStyle.html#/s:13SwiftUICharts12CTChartStyleP18infoBoxValueColour0A2UI5ColorVvp":{"name":"infoBoxValueColour","parent_name":"BarChartStyle"},"Structs/BarChartStyle.html#/s:13SwiftUICharts12CTChartStyleP22infoBoxDescriptionFont0A2UI0H0Vvp":{"name":"infoBoxDescriptionFont","parent_name":"BarChartStyle"},"Structs/BarChartStyle.html#/s:13SwiftUICharts12CTChartStyleP24infoBoxDescriptionColour0A2UI5ColorVvp":{"name":"infoBoxDescriptionColour","parent_name":"BarChartStyle"},"Structs/BarChartStyle.html#/s:13SwiftUICharts12CTChartStyleP23infoBoxBackgroundColour0A2UI5ColorVvp":{"name":"infoBoxBackgroundColour","parent_name":"BarChartStyle"},"Structs/BarChartStyle.html#/s:13SwiftUICharts12CTChartStyleP19infoBoxBorderColour0A2UI5ColorVvp":{"name":"infoBoxBorderColour","parent_name":"BarChartStyle"},"Structs/BarChartStyle.html#/s:13SwiftUICharts12CTChartStyleP013infoBoxBorderD00A2UI06StrokeD0Vvp":{"name":"infoBoxBorderStyle","parent_name":"BarChartStyle"},"Structs/BarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP10markerType4MarkQzvp":{"name":"markerType","parent_name":"BarChartStyle"},"Structs/BarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP09xAxisGridF0AA0hF0Vvp":{"name":"xAxisGridStyle","parent_name":"BarChartStyle"},"Structs/BarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP18xAxisLabelPositionAA05XAxisH9PosistionOvp":{"name":"xAxisLabelPosition","parent_name":"BarChartStyle"},"Structs/BarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP14xAxisLabelFont0A2UI0I0Vvp":{"name":"xAxisLabelFont","parent_name":"BarChartStyle"},"Structs/BarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP16xAxisLabelColour0A2UI5ColorVvp":{"name":"xAxisLabelColour","parent_name":"BarChartStyle"},"Structs/BarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP15xAxisLabelsFromAA0hI0Ovp":{"name":"xAxisLabelsFrom","parent_name":"BarChartStyle"},"Structs/BarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP10xAxisTitleSSSgvp":{"name":"xAxisTitle","parent_name":"BarChartStyle"},"Structs/BarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP14xAxisTitleFont0A2UI0I0Vvp":{"name":"xAxisTitleFont","parent_name":"BarChartStyle"},"Structs/BarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP16xAxisTitleColour0A2UI5ColorVvp":{"name":"xAxisTitleColour","parent_name":"BarChartStyle"},"Structs/BarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP17xAxisBorderColour0A2UI5ColorVSgvp":{"name":"xAxisBorderColour","parent_name":"BarChartStyle"},"Structs/BarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP09yAxisGridF0AA0hF0Vvp":{"name":"yAxisGridStyle","parent_name":"BarChartStyle"},"Structs/BarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP18yAxisLabelPositionAA05YAxisH9PosistionOvp":{"name":"yAxisLabelPosition","parent_name":"BarChartStyle"},"Structs/BarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP14yAxisLabelFont0A2UI0I0Vvp":{"name":"yAxisLabelFont","parent_name":"BarChartStyle"},"Structs/BarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP16yAxisLabelColour0A2UI5ColorVvp":{"name":"yAxisLabelColour","parent_name":"BarChartStyle"},"Structs/BarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP19yAxisNumberOfLabelsSivp":{"name":"yAxisNumberOfLabels","parent_name":"BarChartStyle"},"Structs/BarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP14yAxisLabelTypeAA05YAxishI0Ovp":{"name":"yAxisLabelType","parent_name":"BarChartStyle"},"Structs/BarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP10yAxisTitleSSSgvp":{"name":"yAxisTitle","parent_name":"BarChartStyle"},"Structs/BarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP14yAxisTitleFont0A2UI0I0Vvp":{"name":"yAxisTitleFont","parent_name":"BarChartStyle"},"Structs/BarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP16yAxisTitleColour0A2UI5ColorVvp":{"name":"yAxisTitleColour","parent_name":"BarChartStyle"},"Structs/BarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP17yAxisBorderColour0A2UI5ColorVSgvp":{"name":"yAxisBorderColour","parent_name":"BarChartStyle"},"Structs/BarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP8baselineAA8BaselineOvp":{"name":"baseline","parent_name":"BarChartStyle"},"Structs/BarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP7topLineAA7ToplineOvp":{"name":"topLine","parent_name":"BarChartStyle"},"Structs/BarChartStyle.html#/s:13SwiftUICharts12CTChartStyleP15globalAnimation0A2UI0F0Vvp":{"name":"globalAnimation","parent_name":"BarChartStyle"},"Structs/BarChartStyle.html#/s:13SwiftUICharts13BarChartStyleV16infoBoxPlacement0fG16ContentAlignment0fG9ValueFont0fgK6Colour0fg11DescriptionL00fgnM00fg10BackgroundM00fg6BorderM00fgpE010markerType09xAxisGridE001xS13LabelPosition01xsuL001xsuM001xS10LabelsFrom01xS5Title01xsyL001xsyM001ystE001ysuV001ysuL001ysuM001ys8NumberOfW001ysuR001ysY001ysyL001ysyM08baseline7topLine15globalAnimationAcA04InfogH0O_AA04InfogJ0O0A2UI0L0VA10_5ColorVA12_A14_A14_A14_A10_06StrokeE0VAA0c6MarkerR0OAA0tE0VAA05XAxisU9PosistionOA12_A14_AA0wX0OSSSgA12_A14_A20_AA05YAxisU9PosistionOA12_A14_SiAA05YAxisuR0OA25_A12_A14_AA8BaselineOAA7ToplineOA10_9AnimationVtcfc":{"name":"init(infoBoxPlacement:infoBoxContentAlignment:infoBoxValueFont:infoBoxValueColour:infoBoxDescriptionFont:infoBoxDescriptionColour:infoBoxBackgroundColour:infoBoxBorderColour:infoBoxBorderStyle:markerType:xAxisGridStyle:xAxisLabelPosition:xAxisLabelFont:xAxisLabelColour:xAxisLabelsFrom:xAxisTitle:xAxisTitleFont:xAxisTitleColour:yAxisGridStyle:yAxisLabelPosition:yAxisLabelFont:yAxisLabelColour:yAxisNumberOfLabels:yAxisLabelType:yAxisTitle:yAxisTitleFont:yAxisTitleColour:baseline:topLine:globalAnimation:)","abstract":"\u003cp\u003eModel for controlling the overall aesthetic of the Bar Chart.\u003c/p\u003e","parent_name":"BarChartStyle"},"Structs/GroupingData.html#/s:s12IdentifiableP2id2IDQzvp":{"name":"id","parent_name":"GroupingData"},"Structs/GroupingData.html#/s:13SwiftUICharts12GroupingDataV5titleSSvp":{"name":"title","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"GroupingData"},"Structs/GroupingData.html#/s:13SwiftUICharts19CTBarColourProtocolP6colourAA0D5StyleVvp":{"name":"colour","parent_name":"GroupingData"},"Structs/GroupingData.html#/s:13SwiftUICharts12GroupingDataV5title6colourACSS_AA11ColourStyleVtcfc":{"name":"init(title:colour:)","abstract":"\u003cp\u003eGroup with single colour\u003c/p\u003e","parent_name":"GroupingData"},"Structs/StackedBarDataPoint.html#/s:s12IdentifiableP2id2IDQzvp":{"name":"id","parent_name":"StackedBarDataPoint"},"Structs/StackedBarDataPoint.html#/s:13SwiftUICharts27CTStandardDataPointProtocolP5valueSdvp":{"name":"value","parent_name":"StackedBarDataPoint"},"Structs/StackedBarDataPoint.html#/s:13SwiftUICharts26CTLineBarDataPointProtocolP10xAxisLabelSSSgvp":{"name":"xAxisLabel","parent_name":"StackedBarDataPoint"},"Structs/StackedBarDataPoint.html#/s:13SwiftUICharts23CTDataPointBaseProtocolP11descriptionSSSgvp":{"name":"description","parent_name":"StackedBarDataPoint"},"Structs/StackedBarDataPoint.html#/s:13SwiftUICharts23CTDataPointBaseProtocolP4date10Foundation4DateVSgvp":{"name":"date","parent_name":"StackedBarDataPoint"},"Structs/StackedBarDataPoint.html#/s:13SwiftUICharts19CTMultiBarDataPointP5groupAA08GroupingE0Vvp":{"name":"group","parent_name":"StackedBarDataPoint"},"Structs/StackedBarDataPoint.html#/s:13SwiftUICharts23CTDataPointBaseProtocolP9legendTagSSvp":{"name":"legendTag","parent_name":"StackedBarDataPoint"},"Structs/StackedBarDataPoint.html#/s:13SwiftUICharts19StackedBarDataPointV5value11description4date5groupACSd_SSSg10Foundation4DateVSgAA08GroupingE0Vtcfc":{"name":"init(value:description:date:group:)","abstract":"\u003cp\u003eData model for a single data point with colour info for use with a stacked bar chart.\u003c/p\u003e","parent_name":"StackedBarDataPoint"},"Structs/StackedBarDataPoint.html#/s:s12IdentifiableP2IDQa":{"name":"ID","parent_name":"StackedBarDataPoint"},"Structs/RangedBarDataPoint.html#/s:s12IdentifiableP2id2IDQzvp":{"name":"id","parent_name":"RangedBarDataPoint"},"Structs/RangedBarDataPoint.html#/s:13SwiftUICharts24CTRangeDataPointProtocolP10upperValueSdvp":{"name":"upperValue","parent_name":"RangedBarDataPoint"},"Structs/RangedBarDataPoint.html#/s:13SwiftUICharts24CTRangeDataPointProtocolP10lowerValueSdvp":{"name":"lowerValue","parent_name":"RangedBarDataPoint"},"Structs/RangedBarDataPoint.html#/s:13SwiftUICharts26CTLineBarDataPointProtocolP10xAxisLabelSSSgvp":{"name":"xAxisLabel","parent_name":"RangedBarDataPoint"},"Structs/RangedBarDataPoint.html#/s:13SwiftUICharts23CTDataPointBaseProtocolP11descriptionSSSgvp":{"name":"description","parent_name":"RangedBarDataPoint"},"Structs/RangedBarDataPoint.html#/s:13SwiftUICharts23CTDataPointBaseProtocolP4date10Foundation4DateVSgvp":{"name":"date","parent_name":"RangedBarDataPoint"},"Structs/RangedBarDataPoint.html#/s:13SwiftUICharts19CTBarColourProtocolP6colourAA0D5StyleVvp":{"name":"colour","parent_name":"RangedBarDataPoint"},"Structs/RangedBarDataPoint.html#/s:13SwiftUICharts23CTDataPointBaseProtocolP9legendTagSSvp":{"name":"legendTag","parent_name":"RangedBarDataPoint"},"Structs/RangedBarDataPoint.html#/s:13SwiftUICharts18RangedBarDataPointV10lowerValue05upperH010xAxisLabel11description4date6colourACSd_SdSSSgAJ10Foundation4DateVSgAA11ColourStyleVtcfc":{"name":"init(lowerValue:upperValue:xAxisLabel:description:date:colour:)","abstract":"\u003cp\u003eData model for a single data point with colour for use with a ranged bar chart.\u003c/p\u003e","parent_name":"RangedBarDataPoint"},"Structs/RangedBarDataPoint.html#/s:s12IdentifiableP2IDQa":{"name":"ID","parent_name":"RangedBarDataPoint"},"Structs/GroupedBarDataPoint.html#/s:s12IdentifiableP2id2IDQzvp":{"name":"id","parent_name":"GroupedBarDataPoint"},"Structs/GroupedBarDataPoint.html#/s:13SwiftUICharts27CTStandardDataPointProtocolP5valueSdvp":{"name":"value","parent_name":"GroupedBarDataPoint"},"Structs/GroupedBarDataPoint.html#/s:13SwiftUICharts26CTLineBarDataPointProtocolP10xAxisLabelSSSgvp":{"name":"xAxisLabel","parent_name":"GroupedBarDataPoint"},"Structs/GroupedBarDataPoint.html#/s:13SwiftUICharts23CTDataPointBaseProtocolP11descriptionSSSgvp":{"name":"description","parent_name":"GroupedBarDataPoint"},"Structs/GroupedBarDataPoint.html#/s:13SwiftUICharts23CTDataPointBaseProtocolP4date10Foundation4DateVSgvp":{"name":"date","parent_name":"GroupedBarDataPoint"},"Structs/GroupedBarDataPoint.html#/s:13SwiftUICharts19CTMultiBarDataPointP5groupAA08GroupingE0Vvp":{"name":"group","parent_name":"GroupedBarDataPoint"},"Structs/GroupedBarDataPoint.html#/s:13SwiftUICharts23CTDataPointBaseProtocolP9legendTagSSvp":{"name":"legendTag","parent_name":"GroupedBarDataPoint"},"Structs/GroupedBarDataPoint.html#/s:13SwiftUICharts19GroupedBarDataPointV5value11description4date5groupACSd_SSSg10Foundation4DateVSgAA08GroupingE0Vtcfc":{"name":"init(value:description:date:group:)","abstract":"\u003cp\u003eData model for a single data point with colour info for use with a grouped bar chart.\u003c/p\u003e","parent_name":"GroupedBarDataPoint"},"Structs/GroupedBarDataPoint.html#/s:s12IdentifiableP2IDQa":{"name":"ID","parent_name":"GroupedBarDataPoint"},"Structs/BarChartDataPoint.html#/s:s12IdentifiableP2id2IDQzvp":{"name":"id","parent_name":"BarChartDataPoint"},"Structs/BarChartDataPoint.html#/s:13SwiftUICharts27CTStandardDataPointProtocolP5valueSdvp":{"name":"value","parent_name":"BarChartDataPoint"},"Structs/BarChartDataPoint.html#/s:13SwiftUICharts26CTLineBarDataPointProtocolP10xAxisLabelSSSgvp":{"name":"xAxisLabel","parent_name":"BarChartDataPoint"},"Structs/BarChartDataPoint.html#/s:13SwiftUICharts23CTDataPointBaseProtocolP11descriptionSSSgvp":{"name":"description","parent_name":"BarChartDataPoint"},"Structs/BarChartDataPoint.html#/s:13SwiftUICharts23CTDataPointBaseProtocolP4date10Foundation4DateVSgvp":{"name":"date","parent_name":"BarChartDataPoint"},"Structs/BarChartDataPoint.html#/s:13SwiftUICharts19CTBarColourProtocolP6colourAA0D5StyleVvp":{"name":"colour","parent_name":"BarChartDataPoint"},"Structs/BarChartDataPoint.html#/s:13SwiftUICharts23CTDataPointBaseProtocolP9legendTagSSvp":{"name":"legendTag","parent_name":"BarChartDataPoint"},"Structs/BarChartDataPoint.html#/s:13SwiftUICharts17BarChartDataPointV5value10xAxisLabel11description4date6colourACSd_SSSgAI10Foundation4DateVSgAA11ColourStyleVtcfc":{"name":"init(value:xAxisLabel:description:date:colour:)","abstract":"\u003cp\u003eData model for a single data point with colour for use with a bar chart.\u003c/p\u003e","parent_name":"BarChartDataPoint"},"Structs/BarChartDataPoint.html#/s:s12IdentifiableP2IDQa":{"name":"ID","parent_name":"BarChartDataPoint"},"Structs/StackedBarDataSet.html#/s:s12IdentifiableP2id2IDQzvp":{"name":"id","parent_name":"StackedBarDataSet"},"Structs/StackedBarDataSet.html#/s:13SwiftUICharts23CTSingleDataSetProtocolP10dataPointsSay0D5PointQzGvp":{"name":"dataPoints","parent_name":"StackedBarDataSet"},"Structs/StackedBarDataSet.html#/s:13SwiftUICharts22CTMultiBarChartDataSetP8setTitleSSvp":{"name":"setTitle","parent_name":"StackedBarDataSet"},"Structs/StackedBarDataSet.html#/s:13SwiftUICharts17StackedBarDataSetV10dataPoints8setTitleACSayAA0cdE5PointVG_SStcfc":{"name":"init(dataPoints:setTitle:)","abstract":"\u003cp\u003eInitialises a new data set for a Stacked Bar Chart.\u003c/p\u003e","parent_name":"StackedBarDataSet"},"Structs/StackedBarDataSet.html#/s:s12IdentifiableP2IDQa":{"name":"ID","parent_name":"StackedBarDataSet"},"Structs/StackedBarDataSet.html#/s:13SwiftUICharts23CTSingleDataSetProtocolP0D5PointQa":{"name":"DataPoint","parent_name":"StackedBarDataSet"},"Structs/StackedBarDataSets.html#/s:s12IdentifiableP2id2IDQzvp":{"name":"id","parent_name":"StackedBarDataSets"},"Structs/StackedBarDataSets.html#/s:13SwiftUICharts22CTMultiDataSetProtocolP8dataSetsSay0dE0QzGvp":{"name":"dataSets","parent_name":"StackedBarDataSets"},"Structs/StackedBarDataSets.html#/s:13SwiftUICharts18StackedBarDataSetsV04dataF0ACSayAA0cdE3SetVG_tcfc":{"name":"init(dataSets:)","abstract":"\u003cp\u003eInitialises a new data set for a Stacked Bar Chart.\u003c/p\u003e","parent_name":"StackedBarDataSets"},"Structs/RangedBarDataSet.html#/s:s12IdentifiableP2id2IDQzvp":{"name":"id","parent_name":"RangedBarDataSet"},"Structs/RangedBarDataSet.html#/s:13SwiftUICharts23CTSingleDataSetProtocolP10dataPointsSay0D5PointQzGvp":{"name":"dataPoints","parent_name":"RangedBarDataSet"},"Structs/RangedBarDataSet.html#/s:13SwiftUICharts25CTStandardBarChartDataSetP11legendTitleSSvp":{"name":"legendTitle","parent_name":"RangedBarDataSet"},"Structs/RangedBarDataSet.html#/s:13SwiftUICharts16RangedBarDataSetV10dataPoints11legendTitleACSayAA0cdE5PointVG_SStcfc":{"name":"init(dataPoints:legendTitle:)","abstract":"\u003cp\u003eInitialises a new data set for ranged bar chart.\u003c/p\u003e","parent_name":"RangedBarDataSet"},"Structs/RangedBarDataSet.html#/s:s12IdentifiableP2IDQa":{"name":"ID","parent_name":"RangedBarDataSet"},"Structs/RangedBarDataSet.html#/s:13SwiftUICharts23CTSingleDataSetProtocolP0D5PointQa":{"name":"DataPoint","parent_name":"RangedBarDataSet"},"Structs/GroupedBarDataSet.html#/s:s12IdentifiableP2id2IDQzvp":{"name":"id","parent_name":"GroupedBarDataSet"},"Structs/GroupedBarDataSet.html#/s:13SwiftUICharts23CTSingleDataSetProtocolP10dataPointsSay0D5PointQzGvp":{"name":"dataPoints","parent_name":"GroupedBarDataSet"},"Structs/GroupedBarDataSet.html#/s:13SwiftUICharts22CTMultiBarChartDataSetP8setTitleSSvp":{"name":"setTitle","parent_name":"GroupedBarDataSet"},"Structs/GroupedBarDataSet.html#/s:13SwiftUICharts17GroupedBarDataSetV10dataPoints8setTitleACSayAA0cdE5PointVG_SStcfc":{"name":"init(dataPoints:setTitle:)","abstract":"\u003cp\u003eInitialises a new data set for a Bar Chart.\u003c/p\u003e","parent_name":"GroupedBarDataSet"},"Structs/GroupedBarDataSet.html#/s:s12IdentifiableP2IDQa":{"name":"ID","parent_name":"GroupedBarDataSet"},"Structs/GroupedBarDataSet.html#/s:13SwiftUICharts23CTSingleDataSetProtocolP0D5PointQa":{"name":"DataPoint","parent_name":"GroupedBarDataSet"},"Structs/GroupedBarDataSets.html#/s:s12IdentifiableP2id2IDQzvp":{"name":"id","parent_name":"GroupedBarDataSets"},"Structs/GroupedBarDataSets.html#/s:13SwiftUICharts22CTMultiDataSetProtocolP8dataSetsSay0dE0QzGvp":{"name":"dataSets","parent_name":"GroupedBarDataSets"},"Structs/GroupedBarDataSets.html#/s:13SwiftUICharts18GroupedBarDataSetsV04dataF0ACSayAA0cdE3SetVG_tcfc":{"name":"init(dataSets:)","abstract":"\u003cp\u003eInitialises a new data set for Grouped Bar Chart.\u003c/p\u003e","parent_name":"GroupedBarDataSets"},"Structs/BarDataSet.html#/s:s12IdentifiableP2id2IDQzvp":{"name":"id","parent_name":"BarDataSet"},"Structs/BarDataSet.html#/s:13SwiftUICharts23CTSingleDataSetProtocolP10dataPointsSay0D5PointQzGvp":{"name":"dataPoints","parent_name":"BarDataSet"},"Structs/BarDataSet.html#/s:13SwiftUICharts25CTStandardBarChartDataSetP11legendTitleSSvp":{"name":"legendTitle","parent_name":"BarDataSet"},"Structs/BarDataSet.html#/s:13SwiftUICharts10BarDataSetV10dataPoints11legendTitleACSayAA0c5ChartD5PointVG_SStcfc":{"name":"init(dataPoints:legendTitle:)","abstract":"\u003cp\u003eInitialises a new data set for standard Bar Charts.\u003c/p\u003e","parent_name":"BarDataSet"},"Structs/BarDataSet.html#/s:s12IdentifiableP2IDQa":{"name":"ID","parent_name":"BarDataSet"},"Structs/BarDataSet.html#/s:13SwiftUICharts23CTSingleDataSetProtocolP0D5PointQa":{"name":"DataPoint","parent_name":"BarDataSet"},"Structs/CornerRadius.html#/s:13SwiftUICharts12CornerRadiusV7topLeft14CoreFoundation7CGFloatVvp":{"name":"topLeft","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CornerRadius"},"Structs/CornerRadius.html#/s:13SwiftUICharts12CornerRadiusV8topRight14CoreFoundation7CGFloatVvp":{"name":"topRight","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CornerRadius"},"Structs/CornerRadius.html#/s:13SwiftUICharts12CornerRadiusV10bottomLeft14CoreFoundation7CGFloatVvp":{"name":"bottomLeft","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CornerRadius"},"Structs/CornerRadius.html#/s:13SwiftUICharts12CornerRadiusV11bottomRight14CoreFoundation7CGFloatVvp":{"name":"bottomRight","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CornerRadius"},"Structs/CornerRadius.html#/s:13SwiftUICharts12CornerRadiusV3top6bottomAC14CoreFoundation7CGFloatV_AHtcfc":{"name":"init(top:bottom:)","abstract":"\u003cp\u003eSet the coner radius for the bar shapes for top and bottom\u003c/p\u003e","parent_name":"CornerRadius"},"Structs/CornerRadius.html#/s:13SwiftUICharts12CornerRadiusV4left5rightAC14CoreFoundation7CGFloatV_AHtcfc":{"name":"init(left:right:)","abstract":"\u003cp\u003eSet the coner radius for the bar shapes for left and right\u003c/p\u003e","parent_name":"CornerRadius"},"Structs/CornerRadius.html#/s:13SwiftUICharts12CornerRadiusV7topLeft0E5Right06bottomF00hG0AC14CoreFoundation7CGFloatV_A3Jtcfc":{"name":"init(topLeft:topRight:bottomLeft:bottomRight:)","abstract":"\u003cp\u003eSet the coner radius for the bar shapes for all corners\u003c/p\u003e","parent_name":"CornerRadius"},"Structs/CornerRadius.html":{"name":"CornerRadius","abstract":"\u003cp\u003eCorner radius of the bar shape.\u003c/p\u003e"},"Structs/BarDataSet.html":{"name":"BarDataSet","abstract":"\u003cp\u003eData set for a bar chart.\u003c/p\u003e"},"Structs/GroupedBarDataSets.html":{"name":"GroupedBarDataSets","abstract":"\u003cp\u003eMain data set for a grouped bar charts.\u003c/p\u003e"},"Structs/GroupedBarDataSet.html":{"name":"GroupedBarDataSet","abstract":"\u003cp\u003eIndividual data sets for grouped bars charts.\u003c/p\u003e"},"Structs/RangedBarDataSet.html":{"name":"RangedBarDataSet","abstract":"\u003cp\u003eData set for ranged bar charts.\u003c/p\u003e"},"Structs/StackedBarDataSets.html":{"name":"StackedBarDataSets","abstract":"\u003cp\u003eMain data set for a stacked bar chart.\u003c/p\u003e"},"Structs/StackedBarDataSet.html":{"name":"StackedBarDataSet","abstract":"\u003cp\u003eIndividual data sets for stacked bars charts.\u003c/p\u003e"},"Structs/BarChartDataPoint.html":{"name":"BarChartDataPoint","abstract":"\u003cp\u003eData for a single bar chart data point.\u003c/p\u003e"},"Structs/GroupedBarDataPoint.html":{"name":"GroupedBarDataPoint","abstract":"\u003cp\u003eData for a single grouped bar chart data point.\u003c/p\u003e"},"Structs/RangedBarDataPoint.html":{"name":"RangedBarDataPoint","abstract":"\u003cp\u003eData for a single ranged bar chart data point.\u003c/p\u003e"},"Structs/StackedBarDataPoint.html":{"name":"StackedBarDataPoint","abstract":"\u003cp\u003eData for a single stacked chart data point.\u003c/p\u003e"},"Structs/GroupingData.html":{"name":"GroupingData","abstract":"\u003cp\u003eModel for grouping data points together so they can be drawn in the correct groupings.\u003c/p\u003e"},"Structs/BarChartStyle.html":{"name":"BarChartStyle","abstract":"\u003cp\u003eControl of the overall aesthetic of the bar chart.\u003c/p\u003e"},"Structs/BarStyle.html":{"name":"BarStyle","abstract":"\u003cp\u003eModel for controlling the aesthetic of the bars.\u003c/p\u003e"},"Structs/BarChart.html":{"name":"BarChart","abstract":"\u003cp\u003eView for creating a bar chart.\u003c/p\u003e"},"Structs/GroupedBarChart.html":{"name":"GroupedBarChart","abstract":"\u003cp\u003eView for creating a grouped bar chart.\u003c/p\u003e"},"Structs/HorizontalBarChart.html":{"name":"HorizontalBarChart","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e"},"Structs/RangedBarChart.html":{"name":"RangedBarChart","abstract":"\u003cp\u003eView for creating a grouped bar chart.\u003c/p\u003e"},"Structs/StackedBarChart.html":{"name":"StackedBarChart","abstract":"\u003cp\u003eView for creating a stacked bar chart.\u003c/p\u003e"},"Structs/LineChartDataPoint.html":{"name":"LineChartDataPoint","abstract":"\u003cp\u003eData for a single data point.\u003c/p\u003e"},"Structs/RangedLineChartDataPoint.html":{"name":"RangedLineChartDataPoint","abstract":"\u003cp\u003eData for a single ranged data point.\u003c/p\u003e"},"Structs/LineDataSet.html":{"name":"LineDataSet","abstract":"\u003cp\u003eData set for a single line\u003c/p\u003e"},"Structs/MultiLineDataSet.html":{"name":"MultiLineDataSet","abstract":"\u003cp\u003eData set containing multiple data sets for multiple lines\u003c/p\u003e"},"Structs/RangedLineDataSet.html":{"name":"RangedLineDataSet","abstract":"\u003cp\u003eData set for a ranged line.\u003c/p\u003e"},"Structs/LineChartStyle.html":{"name":"LineChartStyle","abstract":"\u003cp\u003eControl of the overall aesthetic of the line chart.\u003c/p\u003e"},"Structs/LineStyle.html":{"name":"LineStyle","abstract":"\u003cp\u003eModel for controlling the styling for individual lines.\u003c/p\u003e"},"Structs/PointStyle.html":{"name":"PointStyle","abstract":"\u003cp\u003eModel for controlling the aesthetic of the point markers.\u003c/p\u003e"},"Structs/PointColour.html":{"name":"PointColour","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e"},"Structs/RangedLineStyle.html":{"name":"RangedLineStyle","abstract":"\u003cp\u003eModel for controlling the aesthetic of the ranged line chart.\u003c/p\u003e"},"Structs/FilledLineChart.html":{"name":"FilledLineChart","abstract":"\u003cp\u003eView for creating a filled line chart.\u003c/p\u003e"},"Structs/LineChart.html":{"name":"LineChart","abstract":"\u003cp\u003eView for drawing a line chart.\u003c/p\u003e"},"Structs/MultiLineChart.html":{"name":"MultiLineChart","abstract":"\u003cp\u003eView for drawing a multi-line, line chart.\u003c/p\u003e"},"Structs/RangedLineChart.html":{"name":"RangedLineChart","abstract":"\u003cp\u003eView for drawing a line chart with upper and lower range values .\u003c/p\u003e"},"Structs/DotStyle.html":{"name":"DotStyle","abstract":"\u003cp\u003eStyling of the dot that follows the line on touch events.\u003c/p\u003e"},"Structs/PieChartDataPoint.html":{"name":"PieChartDataPoint","abstract":"\u003cp\u003eData for a single segement of a pie chart.\u003c/p\u003e"},"Structs/PieDataSet.html":{"name":"PieDataSet","abstract":"\u003cp\u003eData set for a pie chart.\u003c/p\u003e"},"Structs/DoughnutChartStyle.html":{"name":"DoughnutChartStyle","abstract":"\u003cp\u003eModel for controlling the overall aesthetic of the chart.\u003c/p\u003e"},"Structs/PieChartStyle.html":{"name":"PieChartStyle","abstract":"\u003cp\u003eModel for controlling the overall aesthetic of the chart.\u003c/p\u003e"},"Structs/DoughnutChart.html":{"name":"DoughnutChart","abstract":"\u003cp\u003eView for creating a doughnut chart.\u003c/p\u003e"},"Structs/PieChart.html":{"name":"PieChart","abstract":"\u003cp\u003eView for creating a pie chart.\u003c/p\u003e"},"Structs/InfoValue.html":{"name":"InfoValue","abstract":"\u003cp\u003eDisplays the data points value with the unit.\u003c/p\u003e"},"Structs/InfoDescription.html":{"name":"InfoDescription","abstract":"\u003cp\u003eDisplays the data points description.\u003c/p\u003e"},"Structs/InfoExtra.html":{"name":"InfoExtra","abstract":"\u003cp\u003eOption the as a String between the Value and the Description.\u003c/p\u003e"},"Structs/LegendData.html":{"name":"LegendData","abstract":"\u003cp\u003eData model to hold data for Legends\u003c/p\u003e"},"Structs/ChartMetadata.html":{"name":"ChartMetadata","abstract":"\u003cp\u003eData model for the chart\u0026rsquo;s metadata\u003c/p\u003e"},"Structs/ColourStyle.html":{"name":"ColourStyle","abstract":"\u003cp\u003eModel for setting up colour styling.\u003c/p\u003e"},"Structs.html#/s:13SwiftUICharts12InfoViewDataV":{"name":"InfoViewData","abstract":"\u003cp\u003eData model to pass view information internally for the \u003ccode\u003eInfoBox\u003c/code\u003e, \u003ccode\u003eFloatingInfoBox\u003c/code\u003e and \u003ccode\u003eHeaderBox\u003c/code\u003e.\u003c/p\u003e"},"Structs/GradientStop.html":{"name":"GradientStop","abstract":"\u003cp\u003eA mediator for \u003ccode\u003eGradient.Stop\u003c/code\u003e to allow it to be stored in \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbStructs/LegendData.html\"\u003eLegendData\u003c/a\u003e\u003c/code\u003e.\u003c/p\u003e"},"Structs/Stroke.html":{"name":"Stroke","abstract":"\u003cp\u003eA hashable version of StrokeStyle\u003c/p\u003e"},"Structs/CustomNoDataView.html":{"name":"CustomNoDataView","abstract":"\u003cp\u003eView to display text if there is not enough data to draw the chart.\u003c/p\u003e"},"Structs.html#/s:13SwiftUICharts13ChartViewDataV":{"name":"ChartViewData","abstract":"\u003cp\u003eData model to pass view information internally so the layout can configure its self.\u003c/p\u003e"},"Structs/ExtraLineData.html":{"name":"ExtraLineData","abstract":"\u003cp\u003eData for drawing and styling the Extra Line view modifier.\u003c/p\u003e"},"Structs/ExtraLineDataPoint.html":{"name":"ExtraLineDataPoint","abstract":"\u003cp\u003eData point for Extra line View Modifier.\u003c/p\u003e"},"Structs/GridStyle.html":{"name":"GridStyle","abstract":"\u003cp\u003eControl for the look of the Grid\u003c/p\u003e"},"Structs/DiamondShape.html":{"name":"DiamondShape","abstract":"\u003cp\u003eShape used in POI Markers when displaying value in the center.\u003c/p\u003e"},"Structs/CustomLabelShape.html":{"name":"CustomLabelShape","abstract":"\u003cp\u003eCustom Label Shape used in POI Markers when displaying POI values.\u003c/p\u003e"},"Structs/LeadingLabelShape.html":{"name":"LeadingLabelShape","abstract":"\u003cp\u003eShape used in POI Markers when displaying value in the Y axis labels on the leading edge.\u003c/p\u003e"},"Structs/TrailingLabelShape.html":{"name":"TrailingLabelShape","abstract":"\u003cp\u003eShape used in POI Markers when displaying value in the Y axis labels on the trailing edge.\u003c/p\u003e"},"Structs/BottomLabelShape.html":{"name":"BottomLabelShape","abstract":"\u003cp\u003eShape used in POI Markers when displaying value in the X axis labels on the bottom edge.\u003c/p\u003e"},"Structs/TopLabelShape.html":{"name":"TopLabelShape","abstract":"\u003cp\u003eShape used in POI Markers when displaying value in the X axis labels on the top edge.\u003c/p\u003e"},"Structs/ExtraLineStyle.html":{"name":"ExtraLineStyle","abstract":"\u003cp\u003eControl of the styling of the Extra Line.\u003c/p\u003e"},"Protocols/PointOfInterestProtocol.html#/s:13SwiftUICharts23PointOfInterestProtocolP11MarkerShapeQa":{"name":"MarkerShape","abstract":"\u003cp\u003eA type representing a Shape for displaying a line","parent_name":"PointOfInterestProtocol"},"Protocols/PointOfInterestProtocol.html#/s:13SwiftUICharts23PointOfInterestProtocolP9poiMarker5value5range8minValue0H5ShapeQzSd_S2dtF":{"name":"poiMarker(value:range:minValue:)","abstract":"\u003cp\u003eDisplays a line marking a Point Of Interest.\u003c/p\u003e","parent_name":"PointOfInterestProtocol"},"Protocols/PointOfInterestProtocol.html#/s:13SwiftUICharts23PointOfInterestProtocolP9LabelAxisQa":{"name":"LabelAxis","abstract":"\u003cp\u003eA type representing a View for displaying a label","parent_name":"PointOfInterestProtocol"},"Protocols/PointOfInterestProtocol.html#/s:13SwiftUICharts23PointOfInterestProtocolP12poiLabelAxis11markerValue9specifier9formatter9labelFont0N6Colour0N10Background0N11BorderColor06customH5Shape7padding0hI0QzSd_SSSo17NSNumberFormatterCSg0A2UI0O0VAS0S0VA2wA06CustomhU0VSg14CoreFoundation7CGFloatVSgtF":{"name":"poiLabelAxis(markerValue:specifier:formatter:labelFont:labelColour:labelBackground:labelBorderColor:customLabelShape:padding:)","abstract":"\u003cp\u003eDisplays a label and box that mark a Point Of Interest","parent_name":"PointOfInterestProtocol"},"Protocols/PointOfInterestProtocol.html#/s:13SwiftUICharts23PointOfInterestProtocolP11LabelCenterQa":{"name":"LabelCenter","abstract":"\u003cp\u003eA type representing a View for displaying a label","parent_name":"PointOfInterestProtocol"},"Protocols/PointOfInterestProtocol.html#/s:13SwiftUICharts23PointOfInterestProtocolP14poiLabelCenter11markerValue9specifier9formatter9labelFont0N6Colour0N10Background0N11BorderColor11strokeStyle06customH5Shape7padding0hI0QzSd_SSSo17NSNumberFormatterCSg0A2UI0O0VAT0S0VA2xT06StrokeU0VAA06CustomhW0VSg14CoreFoundation7CGFloatVSgtF":{"name":"poiLabelCenter(markerValue:specifier:formatter:labelFont:labelColour:labelBackground:labelBorderColor:strokeStyle:customLabelShape:padding:)","abstract":"\u003cp\u003eDisplays a label and box that mark a Point Of Interest","parent_name":"PointOfInterestProtocol"},"Protocols/PointOfInterestProtocol.html#/s:13SwiftUICharts23PointOfInterestProtocolP13LabelPositionQa":{"name":"LabelPosition","abstract":"\u003cp\u003eA type representing a View for displaying a label","parent_name":"PointOfInterestProtocol"},"Protocols/PointOfInterestProtocol.html#/s:13SwiftUICharts23PointOfInterestProtocolP16poiLabelPosition8location11markerValue9specifier9formatter9labelFont0O6Colour0O10Background0O11BorderColor11strokeStyle06customH5Shape7padding0hI0Qz14CoreFoundation7CGFloatV_SdSSSo17NSNumberFormatterCSg0A2UI0P0VAX0T0VA0_A0_AX06StrokeV0VAA06CustomhX0VSgATSgtF":{"name":"poiLabelPosition(location:markerValue:specifier:formatter:labelFont:labelColour:labelBackground:labelBorderColor:strokeStyle:customLabelShape:padding:)","abstract":"\u003cp\u003eDisplays a label and box that mark a Point Of Interest","parent_name":"PointOfInterestProtocol"},"Protocols/PointOfInterestProtocol.html#/s:13SwiftUICharts23PointOfInterestProtocolP25poiValueLabelPositionAxis5frame06markerH003minH05rangeSo7CGPointVSo6CGRectV_S3dtF":{"name":"poiValueLabelPositionAxis(frame:markerValue:minValue:range:)","abstract":"\u003cp\u003eSets the position of the POI Label when it\u0026rsquo;s over","parent_name":"PointOfInterestProtocol"},"Protocols/PointOfInterestProtocol.html#/s:13SwiftUICharts23PointOfInterestProtocolP27poiValueLabelPositionCenter5frame06markerH003minH05rangeSo7CGPointVSo6CGRectV_S3dtF":{"name":"poiValueLabelPositionCenter(frame:markerValue:minValue:range:)","abstract":"\u003cp\u003eSets the position of the POI Label when it\u0026rsquo;s in","parent_name":"PointOfInterestProtocol"},"Protocols/PointOfInterestProtocol.html#/s:13SwiftUICharts23PointOfInterestProtocolP29poiValueLabelRelativePosition5frame06markerH003minH05rangeSo7CGPointVSo6CGRectV_S3dtF":{"name":"poiValueLabelRelativePosition(frame:markerValue:minValue:range:)","abstract":"\u003cp\u003eSets the position of the POI Label when it\u0026rsquo;s at","parent_name":"PointOfInterestProtocol"},"Protocols/PointOfInterestProtocol.html#/s:13SwiftUICharts23PointOfInterestProtocolP19AbscissaMarkerShapeQa":{"name":"AbscissaMarkerShape","abstract":"\u003cp\u003eA type representing a Shape for displaying a line","parent_name":"PointOfInterestProtocol"},"Protocols/PointOfInterestProtocol.html#/s:13SwiftUICharts23PointOfInterestProtocolP17poiAbscissaMarker11markerValue04dataC5Count0hI5ShapeQzSi_SitF":{"name":"poiAbscissaMarker(markerValue:dataPointCount:)","abstract":"\u003cp\u003eDisplays a line marking a Point Of Interest.\u003c/p\u003e","parent_name":"PointOfInterestProtocol"},"Protocols/PointOfInterestProtocol.html#/s:13SwiftUICharts23PointOfInterestProtocolP17AbscissaLabelAxisQa":{"name":"AbscissaLabelAxis","abstract":"\u003cp\u003eA type representing a View for displaying a label","parent_name":"PointOfInterestProtocol"},"Protocols/PointOfInterestProtocol.html#/s:13SwiftUICharts23PointOfInterestProtocolP20poiAbscissaLabelAxis6marker9labelFont0L6Colour0L10Background0L11BorderColor06customI5Shape7padding0hiJ0QzSS_0A2UI0M0VAN0Q0VA2rA06CustomiS0VSg14CoreFoundation7CGFloatVSgtF":{"name":"poiAbscissaLabelAxis(marker:labelFont:labelColour:labelBackground:labelBorderColor:customLabelShape:padding:)","abstract":"\u003cp\u003eDisplays a label and box that mark a Point Of Interest","parent_name":"PointOfInterestProtocol"},"Protocols/PointOfInterestProtocol.html#/s:13SwiftUICharts23PointOfInterestProtocolP19AbscissaLabelCenterQa":{"name":"AbscissaLabelCenter","abstract":"\u003cp\u003eA type representing a View for displaying a label","parent_name":"PointOfInterestProtocol"},"Protocols/PointOfInterestProtocol.html#/s:13SwiftUICharts23PointOfInterestProtocolP22poiAbscissaLabelCenter6marker9labelFont0L6Colour0L10Background0L11BorderColor11strokeStyle06customI5Shape7padding0hiJ0QzSS_0A2UI0M0VAO0Q0VA2sO06StrokeS0VAA06CustomiU0VSg14CoreFoundation7CGFloatVSgtF":{"name":"poiAbscissaLabelCenter(marker:labelFont:labelColour:labelBackground:labelBorderColor:strokeStyle:customLabelShape:padding:)","abstract":"\u003cp\u003eDisplays a label and box that mark a Point Of Interest","parent_name":"PointOfInterestProtocol"},"Protocols/PointOfInterestProtocol.html#/s:13SwiftUICharts23PointOfInterestProtocolP21AbscissaLabelPositionQa":{"name":"AbscissaLabelPosition","abstract":"\u003cp\u003eA type representing a View for displaying a label","parent_name":"PointOfInterestProtocol"},"Protocols/PointOfInterestProtocol.html#/s:13SwiftUICharts23PointOfInterestProtocolP24poiAbscissaLabelPosition8location6marker9labelFont0M6Colour0M10Background0M11BorderColor11strokeStyle06customI5Shape7padding0hiJ0Qz14CoreFoundation7CGFloatV_SS0A2UI0N0VAS0R0VA2wS06StrokeT0VAA06CustomiV0VSgARSgtF":{"name":"poiAbscissaLabelPosition(location:marker:labelFont:labelColour:labelBackground:labelBorderColor:strokeStyle:customLabelShape:padding:)","abstract":"\u003cp\u003eDisplays a label and box that mark a Point Of Interest","parent_name":"PointOfInterestProtocol"},"Protocols/PointOfInterestProtocol.html#/s:13SwiftUICharts23PointOfInterestProtocolP33poiAbscissaValueLabelPositionAxis5frame06markerI05countSo7CGPointVSo6CGRectV_S2itF":{"name":"poiAbscissaValueLabelPositionAxis(frame:markerValue:count:)","abstract":"\u003cp\u003eSets the position of the POI Label when it\u0026rsquo;s over","parent_name":"PointOfInterestProtocol"},"Protocols/PointOfInterestProtocol.html#/s:13SwiftUICharts23PointOfInterestProtocolP35poiAbscissaValueLabelPositionCenter5frame06markerI05countSo7CGPointVSo6CGRectV_S2itF":{"name":"poiAbscissaValueLabelPositionCenter(frame:markerValue:count:)","abstract":"\u003cp\u003eSets the position of the POI Label when it\u0026rsquo;s in","parent_name":"PointOfInterestProtocol"},"Protocols/PointOfInterestProtocol.html#/s:13SwiftUICharts23PointOfInterestProtocolP37poiAbscissaValueLabelRelativePosition5frame06markerI05countSo7CGPointVSo6CGRectV_S2itF":{"name":"poiAbscissaValueLabelRelativePosition(frame:markerValue:count:)","abstract":"\u003cp\u003eSets the position of the POI Label when it\u0026rsquo;s at","parent_name":"PointOfInterestProtocol"},"Protocols/CTLineBarDataPointProtocol.html#/s:13SwiftUICharts26CTLineBarDataPointProtocolP10xAxisLabelSSSgvp":{"name":"xAxisLabel","abstract":"\u003cp\u003eData points label for the X axis.\u003c/p\u003e","parent_name":"CTLineBarDataPointProtocol"},"Protocols/CTLineBarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP4MarkQa":{"name":"Mark","abstract":"\u003cp\u003eA type representing touch overlay marker type. \u0026ndash; \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbProtocols.html#/s:13SwiftUICharts10MarkerTypeP\"\u003eMarkerType\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"CTLineBarChartStyle"},"Protocols/CTLineBarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP10markerType4MarkQzvp":{"name":"markerType","abstract":"\u003cp\u003eWhere the marker lines come from to meet at a specified point.\u003c/p\u003e","parent_name":"CTLineBarChartStyle"},"Protocols/CTLineBarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP09xAxisGridF0AA0hF0Vvp":{"name":"xAxisGridStyle","abstract":"\u003cp\u003eStyle of the vertical lines breaking up the chart.\u003c/p\u003e","parent_name":"CTLineBarChartStyle"},"Protocols/CTLineBarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP18xAxisLabelPositionAA05XAxisH9PosistionOvp":{"name":"xAxisLabelPosition","abstract":"\u003cp\u003eLocation of the X axis labels - Top or Bottom.\u003c/p\u003e","parent_name":"CTLineBarChartStyle"},"Protocols/CTLineBarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP14xAxisLabelFont0A2UI0I0Vvp":{"name":"xAxisLabelFont","abstract":"\u003cp\u003eFont of the labels on the X axis.\u003c/p\u003e","parent_name":"CTLineBarChartStyle"},"Protocols/CTLineBarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP16xAxisLabelColour0A2UI5ColorVvp":{"name":"xAxisLabelColour","abstract":"\u003cp\u003eText Colour for the labels on the X axis.\u003c/p\u003e","parent_name":"CTLineBarChartStyle"},"Protocols/CTLineBarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP15xAxisLabelsFromAA0hI0Ovp":{"name":"xAxisLabelsFrom","abstract":"\u003cp\u003eWhere the label data come from. DataPoint or ChartData.\u003c/p\u003e","parent_name":"CTLineBarChartStyle"},"Protocols/CTLineBarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP10xAxisTitleSSSgvp":{"name":"xAxisTitle","abstract":"\u003cp\u003eLabel to display next to the chart giving info about the axis.\u003c/p\u003e","parent_name":"CTLineBarChartStyle"},"Protocols/CTLineBarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP14xAxisTitleFont0A2UI0I0Vvp":{"name":"xAxisTitleFont","abstract":"\u003cp\u003eFont of the x axis title.\u003c/p\u003e","parent_name":"CTLineBarChartStyle"},"Protocols/CTLineBarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP16xAxisTitleColour0A2UI5ColorVvp":{"name":"xAxisTitleColour","abstract":"\u003cp\u003eColour of the x axis title.\u003c/p\u003e","parent_name":"CTLineBarChartStyle"},"Protocols/CTLineBarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP17xAxisBorderColour0A2UI5ColorVSgvp":{"name":"xAxisBorderColour","abstract":"\u003cp\u003eColour of the x axis border.\u003c/p\u003e","parent_name":"CTLineBarChartStyle"},"Protocols/CTLineBarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP09yAxisGridF0AA0hF0Vvp":{"name":"yAxisGridStyle","abstract":"\u003cp\u003eStyle of the horizontal lines breaking up the chart.\u003c/p\u003e","parent_name":"CTLineBarChartStyle"},"Protocols/CTLineBarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP18yAxisLabelPositionAA05YAxisH9PosistionOvp":{"name":"yAxisLabelPosition","abstract":"\u003cp\u003eLocation of the X axis labels - Leading or Trailing.\u003c/p\u003e","parent_name":"CTLineBarChartStyle"},"Protocols/CTLineBarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP14yAxisLabelFont0A2UI0I0Vvp":{"name":"yAxisLabelFont","abstract":"\u003cp\u003eFont of the labels on the Y axis.\u003c/p\u003e","parent_name":"CTLineBarChartStyle"},"Protocols/CTLineBarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP16yAxisLabelColour0A2UI5ColorVvp":{"name":"yAxisLabelColour","abstract":"\u003cp\u003eText Colour for the labels on the Y axis.\u003c/p\u003e","parent_name":"CTLineBarChartStyle"},"Protocols/CTLineBarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP19yAxisNumberOfLabelsSivp":{"name":"yAxisNumberOfLabels","abstract":"\u003cp\u003eNumber Of Labels on Y Axis.\u003c/p\u003e","parent_name":"CTLineBarChartStyle"},"Protocols/CTLineBarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP14yAxisLabelTypeAA05YAxishI0Ovp":{"name":"yAxisLabelType","abstract":"\u003cp\u003eOption to add custom Strings to Y axis rather than","parent_name":"CTLineBarChartStyle"},"Protocols/CTLineBarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP10yAxisTitleSSSgvp":{"name":"yAxisTitle","abstract":"\u003cp\u003eLabel to display next to the chart giving info about the axis.\u003c/p\u003e","parent_name":"CTLineBarChartStyle"},"Protocols/CTLineBarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP14yAxisTitleFont0A2UI0I0Vvp":{"name":"yAxisTitleFont","abstract":"\u003cp\u003eFont of the y axis title.\u003c/p\u003e","parent_name":"CTLineBarChartStyle"},"Protocols/CTLineBarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP16yAxisTitleColour0A2UI5ColorVvp":{"name":"yAxisTitleColour","abstract":"\u003cp\u003eFont of the y axis title.\u003c/p\u003e","parent_name":"CTLineBarChartStyle"},"Protocols/CTLineBarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP17yAxisBorderColour0A2UI5ColorVSgvp":{"name":"yAxisBorderColour","abstract":"\u003cp\u003eColour of the y axis border.\u003c/p\u003e","parent_name":"CTLineBarChartStyle"},"Protocols/CTLineBarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP8baselineAA8BaselineOvp":{"name":"baseline","abstract":"\u003cp\u003eWhere to start drawing the line chart from. Zero, data set minium or custom.\u003c/p\u003e","parent_name":"CTLineBarChartStyle"},"Protocols/CTLineBarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP7topLineAA7ToplineOvp":{"name":"topLine","abstract":"\u003cp\u003eWhere to finish drawing the chart from. Data set maximum or custom.\u003c/p\u003e","parent_name":"CTLineBarChartStyle"},"Protocols/GetDataProtocol.html#/s:13SwiftUICharts15GetDataProtocolP5rangeSdvp":{"name":"range","abstract":"\u003cp\u003eReturns the difference between the highest and lowest numbers in the data set or data sets.\u003c/p\u003e","parent_name":"GetDataProtocol"},"Protocols/GetDataProtocol.html#/s:13SwiftUICharts15GetDataProtocolP8minValueSdvp":{"name":"minValue","abstract":"\u003cp\u003eReturns the lowest value in the data set or data sets.\u003c/p\u003e","parent_name":"GetDataProtocol"},"Protocols/GetDataProtocol.html#/s:13SwiftUICharts15GetDataProtocolP8maxValueSdvp":{"name":"maxValue","abstract":"\u003cp\u003eReturns the highest value in the data set or data sets\u003c/p\u003e","parent_name":"GetDataProtocol"},"Protocols/GetDataProtocol.html#/s:13SwiftUICharts15GetDataProtocolP7averageSdvp":{"name":"average","abstract":"\u003cp\u003eReturns the average value from the data set or data sets.\u003c/p\u003e","parent_name":"GetDataProtocol"},"Protocols/DataFunctionsProtocol.html#/s:13SwiftUICharts21DataFunctionsProtocolP8maxValueSdyF":{"name":"maxValue()","abstract":"\u003cp\u003eReturns the highest value in the data set.\u003c/p\u003e","parent_name":"DataFunctionsProtocol"},"Protocols/DataFunctionsProtocol.html#/s:13SwiftUICharts21DataFunctionsProtocolP8minValueSdyF":{"name":"minValue()","abstract":"\u003cp\u003eReturns the lowest value in the data set.\u003c/p\u003e","parent_name":"DataFunctionsProtocol"},"Protocols/DataFunctionsProtocol.html#/s:13SwiftUICharts21DataFunctionsProtocolP7averageSdyF":{"name":"average()","abstract":"\u003cp\u003eReturns the average value from the data set.\u003c/p\u003e","parent_name":"DataFunctionsProtocol"},"Protocols/CTColourStyle.html#/s:13SwiftUICharts13CTColourStyleP10colourTypeAA06ColourF0Ovp":{"name":"colourType","abstract":"\u003cp\u003eSelection for the style of colour.\u003c/p\u003e","parent_name":"CTColourStyle"},"Protocols/CTColourStyle.html#/s:13SwiftUICharts13CTColourStyleP6colour0A2UI5ColorVSgvp":{"name":"colour","abstract":"\u003cp\u003eSingle Colour\u003c/p\u003e","parent_name":"CTColourStyle"},"Protocols/CTColourStyle.html#/s:13SwiftUICharts13CTColourStyleP7coloursSay0A2UI5ColorVGSgvp":{"name":"colours","abstract":"\u003cp\u003eArray of colours for gradient\u003c/p\u003e","parent_name":"CTColourStyle"},"Protocols/CTColourStyle.html#/s:13SwiftUICharts13CTColourStyleP5stopsSayAA12GradientStopVGSgvp":{"name":"stops","abstract":"\u003cp\u003eArray of Gradient Stops.\u003c/p\u003e","parent_name":"CTColourStyle"},"Protocols/CTColourStyle.html#/s:13SwiftUICharts13CTColourStyleP10startPoint0A2UI04UnitF0VSgvp":{"name":"startPoint","abstract":"\u003cp\u003eStart point for the gradient\u003c/p\u003e","parent_name":"CTColourStyle"},"Protocols/CTColourStyle.html#/s:13SwiftUICharts13CTColourStyleP8endPoint0A2UI04UnitF0VSgvp":{"name":"endPoint","abstract":"\u003cp\u003eEnd point for the gradient\u003c/p\u003e","parent_name":"CTColourStyle"},"Protocols/CTChartStyle.html#/s:13SwiftUICharts12CTChartStyleP16infoBoxPlacementAA04InfofG0Ovp":{"name":"infoBoxPlacement","abstract":"\u003cp\u003ePlacement of the information box that appears on touch input.\u003c/p\u003e","parent_name":"CTChartStyle"},"Protocols/CTChartStyle.html#/s:13SwiftUICharts12CTChartStyleP23infoBoxContentAlignmentAA04InfofH0Ovp":{"name":"infoBoxContentAlignment","abstract":"\u003cp\u003ePlacement of the information box that appears on touch input.\u003c/p\u003e","parent_name":"CTChartStyle"},"Protocols/CTChartStyle.html#/s:13SwiftUICharts12CTChartStyleP16infoBoxValueFont0A2UI0H0Vvp":{"name":"infoBoxValueFont","abstract":"\u003cp\u003eFont for the value part of the touch info.\u003c/p\u003e","parent_name":"CTChartStyle"},"Protocols/CTChartStyle.html#/s:13SwiftUICharts12CTChartStyleP18infoBoxValueColour0A2UI5ColorVvp":{"name":"infoBoxValueColour","abstract":"\u003cp\u003eColour of the value part of the touch info.\u003c/p\u003e","parent_name":"CTChartStyle"},"Protocols/CTChartStyle.html#/s:13SwiftUICharts12CTChartStyleP22infoBoxDescriptionFont0A2UI0H0Vvp":{"name":"infoBoxDescriptionFont","abstract":"\u003cp\u003eFont for the description part of the touch info.\u003c/p\u003e","parent_name":"CTChartStyle"},"Protocols/CTChartStyle.html#/s:13SwiftUICharts12CTChartStyleP24infoBoxDescriptionColour0A2UI5ColorVvp":{"name":"infoBoxDescriptionColour","abstract":"\u003cp\u003eColour of the description part of the touch info.\u003c/p\u003e","parent_name":"CTChartStyle"},"Protocols/CTChartStyle.html#/s:13SwiftUICharts12CTChartStyleP23infoBoxBackgroundColour0A2UI5ColorVvp":{"name":"infoBoxBackgroundColour","abstract":"\u003cp\u003eColour of the background of the touch info.\u003c/p\u003e","parent_name":"CTChartStyle"},"Protocols/CTChartStyle.html#/s:13SwiftUICharts12CTChartStyleP19infoBoxBorderColour0A2UI5ColorVvp":{"name":"infoBoxBorderColour","abstract":"\u003cp\u003eBorder colour of the touch info.\u003c/p\u003e","parent_name":"CTChartStyle"},"Protocols/CTChartStyle.html#/s:13SwiftUICharts12CTChartStyleP013infoBoxBorderD00A2UI06StrokeD0Vvp":{"name":"infoBoxBorderStyle","abstract":"\u003cp\u003eBorder style of the touch info.\u003c/p\u003e","parent_name":"CTChartStyle"},"Protocols/CTChartStyle.html#/s:13SwiftUICharts12CTChartStyleP15globalAnimation0A2UI0F0Vvp":{"name":"globalAnimation","abstract":"\u003cp\u003eGlobal control of animations.\u003c/p\u003e","parent_name":"CTChartStyle"},"Protocols/CTRangeDataPointProtocol.html#/s:13SwiftUICharts24CTRangeDataPointProtocolP10upperValueSdvp":{"name":"upperValue","abstract":"\u003cp\u003eValue of the upper range of the data point.\u003c/p\u003e","parent_name":"CTRangeDataPointProtocol"},"Protocols/CTRangeDataPointProtocol.html#/s:13SwiftUICharts24CTRangeDataPointProtocolP10lowerValueSdvp":{"name":"lowerValue","abstract":"\u003cp\u003eValue of the lower range of the data point.\u003c/p\u003e","parent_name":"CTRangeDataPointProtocol"},"Protocols/CTRangeDataPointProtocol.html#/s:13SwiftUICharts24CTRangeDataPointProtocolPA2A09RangedBardE0VRszrlE13valueAsString9specifier9formatterS2S_So17NSNumberFormatterCSgtF":{"name":"valueAsString(specifier:formatter:)","abstract":"\u003cp\u003eData point\u0026rsquo;s value as a string\u003c/p\u003e","parent_name":"CTRangeDataPointProtocol"},"Protocols/CTStandardDataPointProtocol.html#/s:13SwiftUICharts27CTStandardDataPointProtocolP5valueSdvp":{"name":"value","abstract":"\u003cp\u003eValue of the data point\u003c/p\u003e","parent_name":"CTStandardDataPointProtocol"},"Protocols/CTStandardDataPointProtocol.html#/s:13SwiftUICharts27CTStandardDataPointProtocolPA2A05CTBarde4BaseF0RzrlE13valueAsString9specifier9formatterS2S_So17NSNumberFormatterCSgtF":{"name":"valueAsString(specifier:formatter:)","abstract":"\u003cp\u003eData point\u0026rsquo;s value as a string\u003c/p\u003e","parent_name":"CTStandardDataPointProtocol"},"Protocols/CTStandardDataPointProtocol.html#/s:13SwiftUICharts27CTStandardDataPointProtocolPA2A06CTLinedeF0RzAA8IgnoreMeRzrlE13valueAsString9specifier9formatterS2S_So17NSNumberFormatterCSgtF":{"name":"valueAsString(specifier:formatter:)","abstract":"\u003cp\u003eData point\u0026rsquo;s value as a string\u003c/p\u003e","parent_name":"CTStandardDataPointProtocol"},"Protocols/CTStandardDataPointProtocol.html#/s:13SwiftUICharts27CTStandardDataPointProtocolPA2A05CTPiedE0RzrlE13valueAsString9specifier9formatterS2S_So17NSNumberFormatterCSgtF":{"name":"valueAsString(specifier:formatter:)","abstract":"\u003cp\u003eData point\u0026rsquo;s value as a string\u003c/p\u003e","parent_name":"CTStandardDataPointProtocol"},"Protocols/CTDataPointBaseProtocol.html#/s:13SwiftUICharts23CTDataPointBaseProtocolP2id2IDQzvp":{"name":"id","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTDataPointBaseProtocol"},"Protocols/CTDataPointBaseProtocol.html#/s:13SwiftUICharts23CTDataPointBaseProtocolP11descriptionSSSgvp":{"name":"description","abstract":"\u003cp\u003eA label that can be displayed on touch input\u003c/p\u003e","parent_name":"CTDataPointBaseProtocol"},"Protocols/CTDataPointBaseProtocol.html#/s:13SwiftUICharts23CTDataPointBaseProtocolP4date10Foundation4DateVSgvp":{"name":"date","abstract":"\u003cp\u003eDate can be used for optionally performing additional calculations.\u003c/p\u003e","parent_name":"CTDataPointBaseProtocol"},"Protocols/CTDataPointBaseProtocol.html#/s:13SwiftUICharts23CTDataPointBaseProtocolP9legendTagSSvp":{"name":"legendTag","abstract":"\u003cp\u003eInternal property that has to be exposed publicly through the protocol.\u003c/p\u003e","parent_name":"CTDataPointBaseProtocol"},"Protocols/CTDataPointBaseProtocol.html#/s:13SwiftUICharts23CTDataPointBaseProtocolP13valueAsString9specifier9formatterS2S_So17NSNumberFormatterCSgtF":{"name":"valueAsString(specifier:formatter:)","abstract":"\u003cp\u003eGets the relevant value(s) from the data point.\u003c/p\u003e","parent_name":"CTDataPointBaseProtocol"},"Protocols/CTDataPointBaseProtocol.html#/s:13SwiftUICharts23CTDataPointBaseProtocolPAAE18wrappedDescriptionSSvp":{"name":"wrappedDescription","abstract":"\u003cp\u003eUnwraps description\u003c/p\u003e","parent_name":"CTDataPointBaseProtocol"},"Protocols/CTMultiDataSetProtocol.html#/s:13SwiftUICharts22CTMultiDataSetProtocolP0dE0Qa":{"name":"DataSet","abstract":"\u003cp\u003eA type representing a single data set \u0026ndash; \u003ccode\u003eSingleDataSet\u003c/code\u003e\u003c/p\u003e","parent_name":"CTMultiDataSetProtocol"},"Protocols/CTMultiDataSetProtocol.html#/s:13SwiftUICharts22CTMultiDataSetProtocolP8dataSetsSay0dE0QzGvp":{"name":"dataSets","abstract":"\u003cp\u003eArray of single data sets.\u003c/p\u003e","parent_name":"CTMultiDataSetProtocol"},"Protocols/CTMultiDataSetProtocol.html#/s:13SwiftUICharts22CTMultiDataSetProtocolPA2A010CTStandardd5PointF00dE0_0dH0RPzrlE8maxValueSdyF":{"name":"maxValue()","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTMultiDataSetProtocol"},"Protocols/CTMultiDataSetProtocol.html#/s:13SwiftUICharts22CTMultiDataSetProtocolPA2A010CTStandardd5PointF00dE0_0dH0RPzrlE8minValueSdyF":{"name":"minValue()","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTMultiDataSetProtocol"},"Protocols/CTMultiDataSetProtocol.html#/s:13SwiftUICharts22CTMultiDataSetProtocolPA2A010CTStandardd5PointF00dE0_0dH0RPzrlE7averageSdyF":{"name":"average()","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTMultiDataSetProtocol"},"Protocols/CTMultiDataSetProtocol.html#/s:13SwiftUICharts22CTMultiDataSetProtocolPA2A010StackedBarD4SetsVRszrlE8maxValueSdyF":{"name":"maxValue()","abstract":"\u003cp\u003eReturns the highest sum value in the data sets\u003c/p\u003e","parent_name":"CTMultiDataSetProtocol"},"Protocols/CTMultiDataSetProtocol.html#/s:13SwiftUICharts22CTMultiDataSetProtocolPA2A011CTLineChartdE00dE0RpzAA010CTStandardd5PointF0AE_0dJ0RPzrlE8minValueSdyF":{"name":"minValue()","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTMultiDataSetProtocol"},"Protocols/CTSingleDataSetProtocol.html#/s:13SwiftUICharts23CTSingleDataSetProtocolP0D5PointQa":{"name":"DataPoint","abstract":"\u003cp\u003eA type representing a data point. \u0026ndash; \u003ccode\u003eCTChartDataPoint\u003c/code\u003e\u003c/p\u003e","parent_name":"CTSingleDataSetProtocol"},"Protocols/CTSingleDataSetProtocol.html#/s:13SwiftUICharts23CTSingleDataSetProtocolP10dataPointsSay0D5PointQzGvp":{"name":"dataPoints","abstract":"\u003cp\u003eArray of data points.\u003c/p\u003e","parent_name":"CTSingleDataSetProtocol"},"Protocols/CTSingleDataSetProtocol.html#/s:13SwiftUICharts23CTSingleDataSetProtocolPA2A010CTStandardd5PointF00dH0RpzAA11CTnotRangedAFRQrlE8maxValueSdyF":{"name":"maxValue()","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTSingleDataSetProtocol"},"Protocols/CTSingleDataSetProtocol.html#/s:13SwiftUICharts23CTSingleDataSetProtocolPA2A010CTStandardd5PointF00dH0RpzAA11CTnotRangedAFRQrlE8minValueSdyF":{"name":"minValue()","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTSingleDataSetProtocol"},"Protocols/CTSingleDataSetProtocol.html#/s:13SwiftUICharts23CTSingleDataSetProtocolPA2A010CTStandardd5PointF00dH0RpzAA11CTnotRangedAFRQrlE7averageSdyF":{"name":"average()","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTSingleDataSetProtocol"},"Protocols/CTSingleDataSetProtocol.html#/s:13SwiftUICharts23CTSingleDataSetProtocolPA2A07CTRanged5PointF00dH0RpzAA10CTisRangedAFRQrlE8maxValueSdyF":{"name":"maxValue()","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTSingleDataSetProtocol"},"Protocols/CTSingleDataSetProtocol.html#/s:13SwiftUICharts23CTSingleDataSetProtocolPA2A07CTRanged5PointF00dH0RpzAA10CTisRangedAFRQrlE8minValueSdyF":{"name":"minValue()","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTSingleDataSetProtocol"},"Protocols/CTSingleDataSetProtocol.html#/s:13SwiftUICharts23CTSingleDataSetProtocolPA2A07CTRanged5PointF00dH0RpzAA10CTisRangedAFRQrlE7averageSdyF":{"name":"average()","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTSingleDataSetProtocol"},"Protocols/CTSingleDataSetProtocol.html#/s:13SwiftUICharts23CTSingleDataSetProtocolPA2A011CTLineChartdE0RzAA010CTStandardd5PointF00dJ0RpzAA11CTnotRangedAGRQrlE8minValueSdyF":{"name":"minValue()","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTSingleDataSetProtocol"},"Protocols/CTDataSetProtocol.html#/s:13SwiftUICharts17CTDataSetProtocolP2id2IDQzvp":{"name":"id","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTDataSetProtocol"},"Protocols/CTChartData.html#/s:13SwiftUICharts11CTChartDataP7SetTypeQa":{"name":"SetType","abstract":"\u003cp\u003eA type representing a data set. \u0026ndash; \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbProtocols/CTDataSetProtocol.html\"\u003eCTDataSetProtocol\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"CTChartData"},"Protocols/CTChartData.html#/s:13SwiftUICharts11CTChartDataP8SetPointQa":{"name":"SetPoint","abstract":"\u003cp\u003eA type representing a data set. \u0026ndash; \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbProtocols/CTDataSetProtocol.html\"\u003eCTDataSetProtocol\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"CTChartData"},"Protocols/CTChartData.html#/s:13SwiftUICharts11CTChartDataP0D5PointQa":{"name":"DataPoint","abstract":"\u003cp\u003eA type representing a data point. \u0026ndash; \u003ccode\u003eCTChartDataPoint\u003c/code\u003e\u003c/p\u003e","parent_name":"CTChartData"},"Protocols/CTChartData.html#/s:13SwiftUICharts11CTChartDataP7CTStyleQa":{"name":"CTStyle","abstract":"\u003cp\u003eA type representing the chart style. \u0026ndash; \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbProtocols/CTChartStyle.html\"\u003eCTChartStyle\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"CTChartData"},"Protocols/CTChartData.html#/s:13SwiftUICharts11CTChartDataP5TouchQa":{"name":"Touch","abstract":"\u003cp\u003eA type representing a view for the results of the touch interaction.\u003c/p\u003e","parent_name":"CTChartData"},"Protocols/CTChartData.html#/s:13SwiftUICharts11CTChartDataP2id2IDQzvp":{"name":"id","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTChartData"},"Protocols/CTChartData.html#/s:13SwiftUICharts11CTChartDataP8dataSets7SetTypeQzvp":{"name":"dataSets","abstract":"\u003cp\u003eData model containing datapoints and styling information.\u003c/p\u003e","parent_name":"CTChartData"},"Protocols/CTChartData.html#/s:13SwiftUICharts11CTChartDataP8metadataAA13ChartMetadataVvp":{"name":"metadata","abstract":"\u003cp\u003eData model containing the charts Title, Subtitle and the Title for Legend.\u003c/p\u003e","parent_name":"CTChartData"},"Protocols/CTChartData.html#/s:13SwiftUICharts11CTChartDataP7legendsSayAA06LegendD0VGvp":{"name":"legends","abstract":"\u003cp\u003eArray of \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbStructs/LegendData.html\"\u003eLegendData\u003c/a\u003e\u003c/code\u003e to populate the charts legend.\u003c/p\u003e","parent_name":"CTChartData"},"Protocols/CTChartData.html#/s:13SwiftUICharts11CTChartDataP8infoViewAA04InfofD0Vy0D5PointQzGvp":{"name":"infoView","abstract":"\u003cp\u003eData model pass data from \u003ccode\u003eTouchOverlay\u003c/code\u003e ViewModifier to","parent_name":"CTChartData"},"Protocols/CTChartData.html#/s:13SwiftUICharts11CTChartDataP10chartStyle7CTStyleQzvp":{"name":"chartStyle","abstract":"\u003cp\u003eData model conatining the style data for the chart.\u003c/p\u003e","parent_name":"CTChartData"},"Protocols/CTChartData.html#/s:13SwiftUICharts11CTChartDataP02noD4Text0A2UI0F0Vvp":{"name":"noDataText","abstract":"\u003cp\u003eCustomisable \u003ccode\u003eText\u003c/code\u003e to display when where is not enough data to draw the chart.\u003c/p\u003e","parent_name":"CTChartData"},"Protocols/CTChartData.html#/s:13SwiftUICharts11CTChartDataP9chartTypeAA05ChartF0OAD_AA0d3SetF0O04datahF0tvp":{"name":"chartType","abstract":"\u003cp\u003eHolds data about the charts type.\u003c/p\u003e","parent_name":"CTChartData"},"Protocols/CTChartData.html#/s:13SwiftUICharts11CTChartDataP16disableAnimationSbvp":{"name":"disableAnimation","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTChartData"},"Protocols/CTChartData.html#/s:13SwiftUICharts11CTChartDataP16isGreaterThanTwoSbyF":{"name":"isGreaterThanTwo()","abstract":"\u003cp\u003eReturns whether there are two or more data points.\u003c/p\u003e","parent_name":"CTChartData"},"Protocols/CTChartData.html#/s:13SwiftUICharts11CTChartDataP19setTouchInteraction13touchLocation9chartSizeySo7CGPointV_So6CGRectVtF":{"name":"setTouchInteraction(touchLocation:chartSize:)","abstract":"\u003cp\u003eTakes in the required data to set up all the touch interactions.\u003c/p\u003e","parent_name":"CTChartData"},"Protocols/CTChartData.html#/s:13SwiftUICharts11CTChartDataP19getTouchInteraction13touchLocation9chartSize0F0QzSo7CGPointV_So6CGRectVtF":{"name":"getTouchInteraction(touchLocation:chartSize:)","abstract":"\u003cp\u003eTakes touch location and return a view based on the chart type and configuration.\u003c/p\u003e","parent_name":"CTChartData"},"Protocols/CTChartData.html#/s:13SwiftUICharts11CTChartDataP03getD5Point13touchLocation9chartSizeySo7CGPointV_So6CGRectVtF":{"name":"getDataPoint(touchLocation:chartSize:)","abstract":"\u003cp\u003eGets the nearest data points to the touch location.\u003c/p\u003e","parent_name":"CTChartData"},"Protocols/CTChartData.html#/s:13SwiftUICharts11CTChartDataP16getPointLocation7dataSet05touchG09chartSizeSo7CGPointVSg0iF0Qz_AISo6CGRectVtF":{"name":"getPointLocation(dataSet:touchLocation:chartSize:)","abstract":"\u003cp\u003eGets the location of the data point in the view.\u003c/p\u003e","parent_name":"CTChartData"},"Protocols/CTChartData.html#/s:13SwiftUICharts11CTChartDataPAAE13infoValueUnit0E0Qr0D5PointQz_tF":{"name":"infoValueUnit(info:)","abstract":"\u003cp\u003eDisplays the data points value with the unit.\u003c/p\u003e","parent_name":"CTChartData"},"Protocols/CTChartData.html#/s:13SwiftUICharts11CTChartDataPAAE9infoValue0E0Qr0D5PointQz_tF":{"name":"infoValue(info:)","abstract":"\u003cp\u003eDisplays the data points value without the unit.\u003c/p\u003e","parent_name":"CTChartData"},"Protocols/CTChartData.html#/s:13SwiftUICharts11CTChartDataPAAE8infoUnitQryF":{"name":"infoUnit()","abstract":"\u003cp\u003eDisplays the unit.\u003c/p\u003e","parent_name":"CTChartData"},"Protocols/CTChartData.html#/s:13SwiftUICharts11CTChartDataPAAE15infoDescription0E0Qr0D5PointQz_tF":{"name":"infoDescription(info:)","abstract":"\u003cp\u003eDisplays the data points description.\u003c/p\u003e","parent_name":"CTChartData"},"Protocols/CTChartData.html#/s:13SwiftUICharts11CTChartDataPAAE10infoLegend0E0Qr0D5PointQz_tF":{"name":"infoLegend(info:)","abstract":"\u003cp\u003eDisplays the relevent Legend for the data point.\u003c/p\u003e","parent_name":"CTChartData"},"Protocols/Publishable.html#/s:13SwiftUICharts11PublishableP9DataPointQa":{"name":"DataPoint","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"Publishable"},"Protocols/Publishable.html#/s:13SwiftUICharts11PublishableP12subscriptionShy7Combine14AnyCancellableCGvp":{"name":"subscription","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"Publishable"},"Protocols/Publishable.html#/s:13SwiftUICharts11PublishableP25touchedDataPointPublisher7Combine18PassthroughSubjectCy0eF0Qzs5NeverOGvp":{"name":"touchedDataPointPublisher","abstract":"\u003cp\u003eStreams the data points from touch overlay.\u003c/p\u003e","parent_name":"Publishable"},"Protocols/CTDoughnutChartStyle.html#/s:13SwiftUICharts20CTDoughnutChartStyleP11strokeWidth14CoreFoundation7CGFloatVvp":{"name":"strokeWidth","abstract":"\u003cp\u003eWidth / Delta of the Doughnut Chart\u003c/p\u003e","parent_name":"CTDoughnutChartStyle"},"Protocols/CTPieDataPoint.html#/s:13SwiftUICharts14CTPieDataPointP6colour0A2UI5ColorVvp":{"name":"colour","abstract":"\u003cp\u003eColour of the segment\u003c/p\u003e","parent_name":"CTPieDataPoint"},"Protocols/CTPieDataPoint.html#/s:13SwiftUICharts14CTPieDataPointP10startAngleSdvp":{"name":"startAngle","abstract":"\u003cp\u003eWhere the data point should start drawing from","parent_name":"CTPieDataPoint"},"Protocols/CTPieDataPoint.html#/s:13SwiftUICharts14CTPieDataPointP6amountSdvp":{"name":"amount","abstract":"\u003cp\u003eThe data points value in radians.\u003c/p\u003e","parent_name":"CTPieDataPoint"},"Protocols/CTPieDataPoint.html#/s:13SwiftUICharts14CTPieDataPointP5labelAA11OverlayTypeOvp":{"name":"label","abstract":"\u003cp\u003eOption to add overlays on top of the segment.\u003c/p\u003e","parent_name":"CTPieDataPoint"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP11xAxisLabelsSaySSGSgvp":{"name":"xAxisLabels","abstract":"\u003cp\u003eArray of strings for the labels on the X Axis instead of the labels in the data points.\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP11yAxisLabelsSaySSGSgvp":{"name":"yAxisLabels","abstract":"\u003cp\u003eArray of strings for the labels on the Y Axis instead of the labels generated","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP04viewF0AA0e4ViewF0Vvp":{"name":"viewData","abstract":"\u003cp\u003eData model to hold data about the Views layout.\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP09extraLineF0AA05ExtraiF0VSgvp":{"name":"extraLineData","abstract":"\u003cp\u003eA data model for the \u003ccode\u003eExtraLine\u003c/code\u003e View Modifier\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP12ExtraYLabelsQa":{"name":"ExtraYLabels","abstract":"\u003cp\u003eA type representing a View for displaying second set of labels on the Y axis.\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP19getExtraYAxisLabels0I7YLabelsQzyF":{"name":"getExtraYAxisLabels()","abstract":"\u003cp\u003eView for displaying second set of labels on the Y axis.\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP9getColourAA0I5StyleVyF":{"name":"getColour()","abstract":"\u003cp\u003eGet the relevant colour indicator for the y axis labels.\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP7XLabelsQa":{"name":"XLabels","abstract":"\u003cp\u003eA type representing a View for displaying labels on the X axis.\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP14getXAxisLabels7XLabelsQzyF":{"name":"getXAxisLabels()","abstract":"\u003cp\u003eDisplays a view for the labels on the X Axis.\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP7YLabelsQa":{"name":"YLabels","abstract":"\u003cp\u003eA type representing a View for displaying labels on the X axis.\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP14getYAxisLabels7YLabelsQzyF":{"name":"getYAxisLabels()","abstract":"\u003cp\u003eDisplays a view for the labels on the Y Axis.\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP14setBoxLocation05touchJ08boxFrame9chartSize14CoreFoundation7CGFloatVAJ_So6CGRectVALtF":{"name":"setBoxLocation(touchLocation:boxFrame:chartSize:)","abstract":"\u003cp\u003eSets the data point info box location while keeping it within the parent view.\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolPAAE19setBoxLocationation13touchLocation8boxFrame9chartSize14CoreFoundation7CGFloatVAJ_So6CGRectVALtF":{"name":"setBoxLocationation(touchLocation:boxFrame:chartSize:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolPAAE13getYAxisTitle6colourQrAA10AxisColourO_tF":{"name":"getYAxisTitle(colour:)","abstract":"\u003cp\u003eReturns the title for y axis.\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolPAAE18getExtraYAxisTitle6colourQrAA10AxisColourO_tF":{"name":"getExtraYAxisTitle(colour:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolPA2A12isHorizontalRzrlE19setBoxLocationation13touchLocation8boxFrame9chartSize14CoreFoundation7CGFloatVAK_So6CGRectVAMtF":{"name":"setBoxLocationation(touchLocation:boxFrame:chartSize:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolPA2A03GetfG0RzAA0f9FunctionsG07SetTypeAA07CTChartF0PRpzrlE5rangeSdvp":{"name":"range","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolPA2A03GetfG0RzAA0f9FunctionsG07SetTypeAA07CTChartF0PRpzrlE8minValueSdvp":{"name":"minValue","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolPA2A03GetfG0RzAA0f9FunctionsG07SetTypeAA07CTChartF0PRpzrlE8maxValueSdvp":{"name":"maxValue","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolPA2A03GetfG0RzAA0f9FunctionsG07SetTypeAA07CTChartF0PRpzrlE7averageSdvp":{"name":"average","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolPA2A015PointOfInterestG0RzrlE9poiMarker5value5range8minValueQrSd_S2dtF":{"name":"poiMarker(value:range:minValue:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolPA2A015PointOfInterestG0RzrlE12poiLabelAxis11markerValue9specifier9formatter9labelFont0R6Colour0R10Background0R11BorderColor06customL5Shape7paddingQrSd_SSSo17NSNumberFormatterCSg0A2UI0S0VAR0W0VA2vA06CustomlY0VSg14CoreFoundation7CGFloatVSgtF":{"name":"poiLabelAxis(markerValue:specifier:formatter:labelFont:labelColour:labelBackground:labelBorderColor:customLabelShape:padding:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolPA2A015PointOfInterestG0RzrlE14poiLabelCenter11markerValue9specifier9formatter9labelFont0R6Colour0R10Background0R11BorderColor11strokeStyle06customL5Shape7paddingQrSd_SSSo17NSNumberFormatterCSg0A2UI0S0VAS0W0VA2wS06StrokeY0VAA06CustomL5ShapeVSg14CoreFoundation7CGFloatVSgtF":{"name":"poiLabelCenter(markerValue:specifier:formatter:labelFont:labelColour:labelBackground:labelBorderColor:strokeStyle:customLabelShape:padding:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolPA2A015PointOfInterestG0RzrlE16poiLabelPosition8location11markerValue9specifier9formatter9labelFont0S6Colour0S10Background0S11BorderColor11strokeStyle06customL5Shape7paddingQr14CoreFoundation7CGFloatV_SdSSSo17NSNumberFormatterCSg0A2UI0T0VAW0X0VA_A_AW06StrokeZ0VAA06CustomL5ShapeVSgASSgtF":{"name":"poiLabelPosition(location:markerValue:specifier:formatter:labelFont:labelColour:labelBackground:labelBorderColor:strokeStyle:customLabelShape:padding:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolPA2A015PointOfInterestG0RzAA12isHorizontalRzrlE9poiMarker5value5range8minValueQrSd_S2dtF":{"name":"poiMarker(value:range:minValue:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolPA2A015PointOfInterestG0RzAA12isHorizontalRzrlE12poiLabelAxis11markerValue9specifier9labelFont0S6Colour0S10Background0S11BorderColor06customN5Shape7paddingQrSd_SS0A2UI0T0VAO0X0VA2sA06CustomnZ0VSg14CoreFoundation7CGFloatVSgtF":{"name":"poiLabelAxis(markerValue:specifier:labelFont:labelColour:labelBackground:labelBorderColor:customLabelShape:padding:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolPA2A015PointOfInterestG0RzAA12isHorizontalRzrlE16poiLabelPosition8location11markerValue9specifier9formatter9labelFont0U6Colour0U10Background0U11BorderColor11strokeStyle06customN5Shape7paddingQr14CoreFoundation7CGFloatV_SdSSSo17NSNumberFormatterCSg0A2UI0V0VAX0Z0VA0_A0_AX11StrokeStyleVAA06CustomN5ShapeVSgATSgtF":{"name":"poiLabelPosition(location:markerValue:specifier:formatter:labelFont:labelColour:labelBackground:labelBorderColor:strokeStyle:customLabelShape:padding:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolPA2A0cefG0RzAA015PointOfInterestG0RzrlE25poiValueLabelPositionAxis5frame06markerL003minL05rangeSo7CGPointVSo6CGRectV_S3dtF":{"name":"poiValueLabelPositionAxis(frame:markerValue:minValue:range:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolPA2A0cefG0RzAA015PointOfInterestG0RzrlE27poiValueLabelPositionCenter5frame06markerL003minL05rangeSo7CGPointVSo6CGRectV_S3dtF":{"name":"poiValueLabelPositionCenter(frame:markerValue:minValue:range:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolPA2A0cefG0RzAA015PointOfInterestG0RzrlE29poiValueLabelRelativePosition5frame06markerL003minL05rangeSo7CGPointVSo6CGRectV_S3dtF":{"name":"poiValueLabelRelativePosition(frame:markerValue:minValue:range:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolPA2A05CTBarefG0RzAA015PointOfInterestG0RzrlE25poiValueLabelPositionAxis5frame06markerM003minM05rangeSo7CGPointVSo6CGRectV_S3dtF":{"name":"poiValueLabelPositionAxis(frame:markerValue:minValue:range:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolPA2A05CTBarefG0RzAA015PointOfInterestG0RzrlE27poiValueLabelPositionCenter5frame06markerM003minM05rangeSo7CGPointVSo6CGRectV_S3dtF":{"name":"poiValueLabelPositionCenter(frame:markerValue:minValue:range:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolPA2A05CTBarefG0RzAA015PointOfInterestG0RzrlE29poiValueLabelRelativePosition5frame06markerM003minM05rangeSo7CGPointVSo6CGRectV_S3dtF":{"name":"poiValueLabelRelativePosition(frame:markerValue:minValue:range:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolPA2A05CTBarefG0RzAA015PointOfInterestG0RzAA12isHorizontalRzrlE25poiValueLabelPositionAxis5frame06markerO003minO05rangeSo7CGPointVSo6CGRectV_S3dtF":{"name":"poiValueLabelPositionAxis(frame:markerValue:minValue:range:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolPA2A05CTBarefG0RzAA015PointOfInterestG0RzAA12isHorizontalRzrlE27poiValueLabelPositionCenter5frame06markerO003minO05rangeSo7CGPointVSo6CGRectV_S3dtF":{"name":"poiValueLabelPositionCenter(frame:markerValue:minValue:range:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolPA2A05CTBarefG0RzAA015PointOfInterestG0RzAA12isHorizontalRzrlE29poiValueLabelRelativePosition5frame06markerO003minO05rangeSo7CGPointVSo6CGRectV_S3dtF":{"name":"poiValueLabelRelativePosition(frame:markerValue:minValue:range:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolPA2A015PointOfInterestG0RzrlE17poiAbscissaMarker11markerValue04dataH5CountQrSi_SitF":{"name":"poiAbscissaMarker(markerValue:dataPointCount:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolPA2A015PointOfInterestG0RzrlE20poiAbscissaLabelAxis6marker9labelFont0P6Colour0P10Background0P11BorderColor06customM5Shape7paddingQrSS_0A2UI0Q0VAM0U0VA2qA06CustommW0VSg14CoreFoundation7CGFloatVSgtF":{"name":"poiAbscissaLabelAxis(marker:labelFont:labelColour:labelBackground:labelBorderColor:customLabelShape:padding:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolPA2A015PointOfInterestG0RzrlE22poiAbscissaLabelCenter6marker9labelFont0P6Colour0P10Background0P11BorderColor11strokeStyle06customM5Shape7paddingQrSS_0A2UI0Q0VAN0U0VA2rN06StrokeW0VAA06CustommY0VSg14CoreFoundation7CGFloatVSgtF":{"name":"poiAbscissaLabelCenter(marker:labelFont:labelColour:labelBackground:labelBorderColor:strokeStyle:customLabelShape:padding:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolPA2A015PointOfInterestG0RzrlE24poiAbscissaLabelPosition8location6marker9labelFont0Q6Colour0Q10Background0Q11BorderColor11strokeStyle06customM5Shape7paddingQr14CoreFoundation7CGFloatV_SS0A2UI0R0VAR0V0VA2vR06StrokeX0VAA06CustommZ0VSgAQSgtF":{"name":"poiAbscissaLabelPosition(location:marker:labelFont:labelColour:labelBackground:labelBorderColor:strokeStyle:customLabelShape:padding:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolPA2A015PointOfInterestG0RzAA12isHorizontalRzrlE17poiAbscissaMarker11markerValue04dataH5CountQrSi_SitF":{"name":"poiAbscissaMarker(markerValue:dataPointCount:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolPA2A015PointOfInterestG0RzAA12isHorizontalRzrlE20poiAbscissaLabelAxis6marker9labelFont0R6Colour0R10Background0R11BorderColor06customO5Shape7paddingQrSS_0A2UI0S0VAN0W0VA2rA06CustomoY0VSg14CoreFoundation7CGFloatVSgtF":{"name":"poiAbscissaLabelAxis(marker:labelFont:labelColour:labelBackground:labelBorderColor:customLabelShape:padding:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolPA2A015PointOfInterestG0RzAA12isHorizontalRzrlE24poiAbscissaLabelPosition8location6marker9labelFont0S6Colour0S10Background0S11BorderColor11strokeStyle06customO5Shape7paddingQr14CoreFoundation7CGFloatV_SS0A2UI0T0VAS0X0VA2wS06StrokeZ0VAA06CustomO5ShapeVSgARSgtF":{"name":"poiAbscissaLabelPosition(location:marker:labelFont:labelColour:labelBackground:labelBorderColor:strokeStyle:customLabelShape:padding:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolPA2A0cefG0RzAA015PointOfInterestG0RzrlE33poiAbscissaValueLabelPositionAxis5frame06markerM05countSo7CGPointVSo6CGRectV_S2itF":{"name":"poiAbscissaValueLabelPositionAxis(frame:markerValue:count:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolPA2A0cefG0RzAA015PointOfInterestG0RzrlE35poiAbscissaValueLabelPositionCenter5frame06markerM05countSo7CGPointVSo6CGRectV_S2itF":{"name":"poiAbscissaValueLabelPositionCenter(frame:markerValue:count:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolPA2A0cefG0RzAA015PointOfInterestG0RzrlE37poiAbscissaValueLabelRelativePosition5frame06markerM05countSo7CGPointVSo6CGRectV_S2itF":{"name":"poiAbscissaValueLabelRelativePosition(frame:markerValue:count:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolPA2A05CTBarefG0RzAA015PointOfInterestG0RzrlE33poiAbscissaValueLabelPositionAxis5frame06markerN05countSo7CGPointVSo6CGRectV_S2itF":{"name":"poiAbscissaValueLabelPositionAxis(frame:markerValue:count:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolPA2A05CTBarefG0RzAA015PointOfInterestG0RzrlE35poiAbscissaValueLabelPositionCenter5frame06markerN05countSo7CGPointVSo6CGRectV_S2itF":{"name":"poiAbscissaValueLabelPositionCenter(frame:markerValue:count:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolPA2A05CTBarefG0RzAA015PointOfInterestG0RzrlE37poiAbscissaValueLabelRelativePosition5frame06markerN05countSo7CGPointVSo6CGRectV_S2itF":{"name":"poiAbscissaValueLabelRelativePosition(frame:markerValue:count:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolPA2A05CTBarefG0RzAA015PointOfInterestG0RzAA12isHorizontalRzrlE33poiAbscissaValueLabelPositionAxis5frame06markerP05countSo7CGPointVSo6CGRectV_S2itF":{"name":"poiAbscissaValueLabelPositionAxis(frame:markerValue:count:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolPA2A05CTBarefG0RzAA015PointOfInterestG0RzAA12isHorizontalRzrlE35poiAbscissaValueLabelPositionCenter5frame06markerP05countSo7CGPointVSo6CGRectV_S2itF":{"name":"poiAbscissaValueLabelPositionCenter(frame:markerValue:count:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolPA2A05CTBarefG0RzAA015PointOfInterestG0RzAA12isHorizontalRzrlE37poiAbscissaValueLabelRelativePosition5frame06markerP05countSo7CGPointVSo6CGRectV_S2itF":{"name":"poiAbscissaValueLabelRelativePosition(frame:markerValue:count:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/IgnoreMe.html#/s:13SwiftUICharts8IgnoreMeP06ignoreD0Sbvp":{"name":"ignoreMe","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"IgnoreMe"},"Protocols/CTRangedLineDataPoint.html#/s:13SwiftUICharts21CTRangedLineDataPointPA2A06Rangedd5CharteF0VRszrlE13valueAsString9specifier9formatterS2S_So17NSNumberFormatterCSgtF":{"name":"valueAsString(specifier:formatter:)","abstract":"\u003cp\u003eData point\u0026rsquo;s value as a string\u003c/p\u003e","parent_name":"CTRangedLineDataPoint"},"Protocols/CTLineDataPointProtocol.html#/s:13SwiftUICharts23CTLineDataPointProtocolP11pointColourAA0eH0VSgvp":{"name":"pointColour","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTLineDataPointProtocol"},"Protocols/CTRangedLineChartDataSet.html#/s:13SwiftUICharts24CTRangedLineChartDataSetP15legendFillTitleSSvp":{"name":"legendFillTitle","abstract":"\u003cp\u003eLabel to display in the legend for the range area..\u003c/p\u003e","parent_name":"CTRangedLineChartDataSet"},"Protocols/CTLineChartDataSet.html#/s:13SwiftUICharts18CTLineChartDataSetP7StylingQa":{"name":"Styling","abstract":"\u003cp\u003eA type representing colour styling\u003c/p\u003e","parent_name":"CTLineChartDataSet"},"Protocols/CTLineChartDataSet.html#/s:13SwiftUICharts18CTLineChartDataSetP11legendTitleSSvp":{"name":"legendTitle","abstract":"\u003cp\u003eLabel to display in the legend.\u003c/p\u003e","parent_name":"CTLineChartDataSet"},"Protocols/CTLineChartDataSet.html#/s:13SwiftUICharts18CTLineChartDataSetP5style7StylingQzvp":{"name":"style","abstract":"\u003cp\u003eSets the style for the Data Set (as opposed to Chart Data Style).\u003c/p\u003e","parent_name":"CTLineChartDataSet"},"Protocols/CTLineChartDataSet.html#/s:13SwiftUICharts18CTLineChartDataSetP10pointStyleAA05PointH0Vvp":{"name":"pointStyle","abstract":"\u003cp\u003eSets the look of the markers over the data points.\u003c/p\u003e","parent_name":"CTLineChartDataSet"},"Protocols/CTRangedLineStyle.html#/s:13SwiftUICharts17CTRangedLineStyleP10fillColourAA0gE0Vvp":{"name":"fillColour","abstract":"\u003cp\u003eDrawing style of the range fill.\u003c/p\u003e","parent_name":"CTRangedLineStyle"},"Protocols/CTLineStyle.html#/s:13SwiftUICharts11CTLineStyleP8lineTypeAA04LineF0Ovp":{"name":"lineType","abstract":"\u003cp\u003eDrawing style of the line.\u003c/p\u003e","parent_name":"CTLineStyle"},"Protocols/CTLineStyle.html#/s:13SwiftUICharts11CTLineStyleP10lineColourAA0fD0Vvp":{"name":"lineColour","abstract":"\u003cp\u003eColour styling of the line.\u003c/p\u003e","parent_name":"CTLineStyle"},"Protocols/CTLineStyle.html#/s:13SwiftUICharts11CTLineStyleP06strokeD0AA6StrokeVvp":{"name":"strokeStyle","abstract":"\u003cp\u003eStyling for stroke \u003c/p\u003e","parent_name":"CTLineStyle"},"Protocols/CTLineStyle.html#/s:13SwiftUICharts11CTLineStyleP10ignoreZeroSbvp":{"name":"ignoreZero","abstract":"\u003cp\u003eWhether the chart should skip data points who\u0026rsquo;s value is 0.\u003c/p\u003e","parent_name":"CTLineStyle"},"Protocols/CTLineChartDataProtocol.html#/s:13SwiftUICharts23CTLineChartDataProtocolP6PointsQa":{"name":"Points","abstract":"\u003cp\u003eA type representing opaque View\u003c/p\u003e","parent_name":"CTLineChartDataProtocol"},"Protocols/CTLineChartDataProtocol.html#/s:13SwiftUICharts23CTLineChartDataProtocolP6AccessQa":{"name":"Access","abstract":"\u003cp\u003eA type representing opaque View\u003c/p\u003e","parent_name":"CTLineChartDataProtocol"},"Protocols/CTLineChartDataProtocol.html#/s:13SwiftUICharts23CTLineChartDataProtocolP14getPointMarker6PointsQzyF":{"name":"getPointMarker()","abstract":"\u003cp\u003eDisplays Shapes over the data points.\u003c/p\u003e","parent_name":"CTLineChartDataProtocol"},"Protocols/CTLineChartDataProtocol.html#/s:13SwiftUICharts23CTLineChartDataProtocolP16getAccessibility6AccessQzyF":{"name":"getAccessibility()","abstract":"\u003cp\u003eEnsures that line charts have an accessibility layer.\u003c/p\u003e","parent_name":"CTLineChartDataProtocol"},"Protocols/CTMultiBarDataPoint.html#/s:13SwiftUICharts19CTMultiBarDataPointP5groupAA08GroupingE0Vvp":{"name":"group","abstract":"\u003cp\u003eFor grouping data points together so they can be drawn in the correct groupings.\u003c/p\u003e","parent_name":"CTMultiBarDataPoint"},"Protocols/CTBarColourProtocol.html#/s:13SwiftUICharts19CTBarColourProtocolP6colourAA0D5StyleVvp":{"name":"colour","abstract":"\u003cp\u003eDrawing style of the range fill.\u003c/p\u003e","parent_name":"CTBarColourProtocol"},"Protocols/CTMultiBarChartDataSet.html#/s:13SwiftUICharts22CTMultiBarChartDataSetP8setTitleSSvp":{"name":"setTitle","abstract":"\u003cp\u003eTitle of the data set.\u003c/p\u003e","parent_name":"CTMultiBarChartDataSet"},"Protocols/CTMultiBarChartDataSet.html#/s:13SwiftUICharts22CTMultiBarChartDataSetPA2A07StackeddfG0VRszrlE8maxValueSdyF":{"name":"maxValue()","abstract":"\u003cp\u003eReturns the highest sum value in the data set.\u003c/p\u003e","parent_name":"CTMultiBarChartDataSet"},"Protocols/CTStandardBarChartDataSet.html#/s:13SwiftUICharts25CTStandardBarChartDataSetP11legendTitleSSvp":{"name":"legendTitle","abstract":"\u003cp\u003eLabel to display in the legend.\u003c/p\u003e","parent_name":"CTStandardBarChartDataSet"},"Protocols/CTBarStyle.html#/s:13SwiftUICharts10CTBarStyleP8barWidth14CoreFoundation7CGFloatVvp":{"name":"barWidth","abstract":"\u003cp\u003eHow much of the available width to use. 0\u0026hellip;1\u003c/p\u003e","parent_name":"CTBarStyle"},"Protocols/CTBarStyle.html#/s:13SwiftUICharts10CTBarStyleP12cornerRadiusAA06CornerF0Vvp":{"name":"cornerRadius","abstract":"\u003cp\u003eCorner radius of the bar shape.\u003c/p\u003e","parent_name":"CTBarStyle"},"Protocols/CTBarStyle.html#/s:13SwiftUICharts10CTBarStyleP10colourFromAA06ColourF0Ovp":{"name":"colourFrom","abstract":"\u003cp\u003eWhere to get the colour data from.\u003c/p\u003e","parent_name":"CTBarStyle"},"Protocols/CTBarStyle.html#/s:13SwiftUICharts10CTBarStyleP6colourAA06ColourD0Vvp":{"name":"colour","abstract":"\u003cp\u003eDrawing style of the fill.\u003c/p\u003e","parent_name":"CTBarStyle"},"Protocols/CTMultiBarChartDataProtocol.html#/s:13SwiftUICharts27CTMultiBarChartDataProtocolP6groupsSayAA08GroupingF0VGvp":{"name":"groups","abstract":"\u003cp\u003eGrouping data to inform the chart about the relationship between the datapoints.\u003c/p\u003e","parent_name":"CTMultiBarChartDataProtocol"},"Protocols/CTBarChartDataProtocol.html#/s:13SwiftUICharts22CTBarChartDataProtocolP8BarStyleQa":{"name":"BarStyle","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTBarChartDataProtocol"},"Protocols/CTBarChartDataProtocol.html#/s:13SwiftUICharts22CTBarChartDataProtocolP8barStyle03BarH0Qzvp":{"name":"barStyle","abstract":"\u003cp\u003eOverall styling for the bars\u003c/p\u003e","parent_name":"CTBarChartDataProtocol"},"Protocols/CTBarChartDataProtocol.html":{"name":"CTBarChartDataProtocol","abstract":"\u003cp\u003eA protocol to extend functionality of \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbProtocols/CTLineBarChartDataProtocol.html\"\u003eCTLineBarChartDataProtocol\u003c/a\u003e\u003c/code\u003e specifically for Bar Charts.\u003c/p\u003e"},"Protocols/CTMultiBarChartDataProtocol.html":{"name":"CTMultiBarChartDataProtocol","abstract":"\u003cp\u003eA protocol to extend functionality of \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbProtocols/CTBarChartDataProtocol.html\"\u003eCTBarChartDataProtocol\u003c/a\u003e\u003c/code\u003e specifically for Multi Part Bar Charts.\u003c/p\u003e"},"Protocols.html#/s:13SwiftUICharts28CTRangedBarChartDataProtocolP":{"name":"CTRangedBarChartDataProtocol","abstract":"\u003cp\u003eA protocol to extend functionality of \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbProtocols/CTBarChartDataProtocol.html\"\u003eCTBarChartDataProtocol\u003c/a\u003e\u003c/code\u003e specifically for Multi Part Bar Charts.\u003c/p\u003e"},"Protocols.html#/s:13SwiftUICharts32CTHorizontalBarChartDataProtocolP":{"name":"CTHorizontalBarChartDataProtocol","abstract":"\u003cp\u003eA protocol to extend functionality of \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbProtocols/CTBarChartDataProtocol.html\"\u003eCTBarChartDataProtocol\u003c/a\u003e\u003c/code\u003e specifically for Horizontal Bar Charts.\u003c/p\u003e"},"Protocols.html#/s:13SwiftUICharts12isHorizontalP":{"name":"isHorizontal","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e"},"Protocols.html#/s:13SwiftUICharts15CTBarChartStyleP":{"name":"CTBarChartStyle","abstract":"\u003cp\u003eA protocol to extend functionality of \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbProtocols/CTLineBarChartStyle.html\"\u003eCTLineBarChartStyle\u003c/a\u003e\u003c/code\u003e specifically for Bar Charts.\u003c/p\u003e"},"Protocols/CTBarStyle.html":{"name":"CTBarStyle","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e"},"Protocols/CTStandardBarChartDataSet.html":{"name":"CTStandardBarChartDataSet","abstract":"\u003cp\u003eA protocol to extend functionality of \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbProtocols/CTSingleDataSetProtocol.html\"\u003eCTSingleDataSetProtocol\u003c/a\u003e\u003c/code\u003e specifically for Standard Bar Charts.\u003c/p\u003e"},"Protocols/CTMultiBarChartDataSet.html":{"name":"CTMultiBarChartDataSet","abstract":"\u003cp\u003eA protocol to extend functionality of \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbProtocols/CTSingleDataSetProtocol.html\"\u003eCTSingleDataSetProtocol\u003c/a\u003e\u003c/code\u003e specifically for Multi Part Bar Charts.\u003c/p\u003e"},"Protocols.html#/s:13SwiftUICharts23CTRangedBarChartDataSetP":{"name":"CTRangedBarChartDataSet","abstract":"\u003cp\u003eA protocol to extend functionality of \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbProtocols/CTSingleDataSetProtocol.html\"\u003eCTSingleDataSetProtocol\u003c/a\u003e\u003c/code\u003e specifically for Ranged Bar Charts.\u003c/p\u003e"},"Protocols.html#/s:13SwiftUICharts26CTBarDataPointBaseProtocolP":{"name":"CTBarDataPointBaseProtocol","abstract":"\u003cp\u003eA protocol to extend functionality of \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbProtocols/CTLineBarDataPointProtocol.html\"\u003eCTLineBarDataPointProtocol\u003c/a\u003e\u003c/code\u003e specifically for standard Bar Charts.\u003c/p\u003e"},"Protocols/CTBarColourProtocol.html":{"name":"CTBarColourProtocol","abstract":"\u003cp\u003eA protocol to a standard colour scheme for bar charts.\u003c/p\u003e"},"Protocols.html#/s:13SwiftUICharts22CTStandardBarDataPointP":{"name":"CTStandardBarDataPoint","abstract":"\u003cp\u003eA protocol to extend functionality of \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbProtocols.html#/s:13SwiftUICharts26CTBarDataPointBaseProtocolP\"\u003eCTBarDataPointBaseProtocol\u003c/a\u003e\u003c/code\u003e specifically for standard Bar Charts.\u003c/p\u003e"},"Protocols.html#/s:13SwiftUICharts20CTRangedBarDataPointP":{"name":"CTRangedBarDataPoint","abstract":"\u003cp\u003eA protocol to extend functionality of \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbProtocols.html#/s:13SwiftUICharts26CTBarDataPointBaseProtocolP\"\u003eCTBarDataPointBaseProtocol\u003c/a\u003e\u003c/code\u003e specifically for standard Bar Charts.\u003c/p\u003e"},"Protocols/CTMultiBarDataPoint.html":{"name":"CTMultiBarDataPoint","abstract":"\u003cp\u003eA protocol to extend functionality of \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbProtocols.html#/s:13SwiftUICharts26CTBarDataPointBaseProtocolP\"\u003eCTBarDataPointBaseProtocol\u003c/a\u003e\u003c/code\u003e specifically for multi part Bar Charts."},"Protocols/CTLineChartDataProtocol.html":{"name":"CTLineChartDataProtocol","abstract":"\u003cp\u003eA protocol to extend functionality of \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbProtocols/CTLineBarChartDataProtocol.html\"\u003eCTLineBarChartDataProtocol\u003c/a\u003e\u003c/code\u003e specifically for Line Charts.\u003c/p\u003e"},"Protocols.html#/s:13SwiftUICharts16CTLineChartStyleP":{"name":"CTLineChartStyle","abstract":"\u003cp\u003eA protocol to extend functionality of \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbProtocols/CTLineBarChartStyle.html\"\u003eCTLineBarChartStyle\u003c/a\u003e\u003c/code\u003e specifically for Line Charts.\u003c/p\u003e"},"Protocols/CTLineStyle.html":{"name":"CTLineStyle","abstract":"\u003cp\u003eProtocol to set up the styling for individual lines.\u003c/p\u003e"},"Protocols/CTRangedLineStyle.html":{"name":"CTRangedLineStyle","abstract":"\u003cp\u003eA protocol to extend functionality of \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbProtocols/CTLineStyle.html\"\u003eCTLineStyle\u003c/a\u003e\u003c/code\u003e specifically for Ranged Line Charts.\u003c/p\u003e"},"Protocols/CTLineChartDataSet.html":{"name":"CTLineChartDataSet","abstract":"\u003cp\u003eA protocol to extend functionality of \u003ccode\u003eSingleDataSet\u003c/code\u003e specifically for Line Charts.\u003c/p\u003e"},"Protocols/CTRangedLineChartDataSet.html":{"name":"CTRangedLineChartDataSet","abstract":"\u003cp\u003eA protocol to extend functionality of \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbProtocols/CTLineChartDataSet.html\"\u003eCTLineChartDataSet\u003c/a\u003e\u003c/code\u003e specifically for Ranged Line Charts.\u003c/p\u003e"},"Protocols.html#/s:13SwiftUICharts23CTMultiLineChartDataSetP":{"name":"CTMultiLineChartDataSet","abstract":"\u003cp\u003eA protocol to extend functionality of \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbProtocols/CTMultiDataSetProtocol.html\"\u003eCTMultiDataSetProtocol\u003c/a\u003e\u003c/code\u003e specifically for Multi Line Charts.\u003c/p\u003e"},"Protocols/CTLineDataPointProtocol.html":{"name":"CTLineDataPointProtocol","abstract":"\u003cp\u003eA protocol to extend functionality of \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbProtocols/CTLineBarDataPointProtocol.html\"\u003eCTLineBarDataPointProtocol\u003c/a\u003e\u003c/code\u003e specifically for Line and Bar Charts.\u003c/p\u003e"},"Protocols.html#/s:13SwiftUICharts23CTStandardLineDataPointP":{"name":"CTStandardLineDataPoint","abstract":"\u003cp\u003eA protocol to extend functionality of \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbProtocols/CTStandardDataPointProtocol.html\"\u003eCTStandardDataPointProtocol\u003c/a\u003e\u003c/code\u003e specifically for Ranged Line Charts.\u003c/p\u003e"},"Protocols/CTRangedLineDataPoint.html":{"name":"CTRangedLineDataPoint","abstract":"\u003cp\u003eA protocol to extend functionality of \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbProtocols/CTStandardDataPointProtocol.html\"\u003eCTStandardDataPointProtocol\u003c/a\u003e\u003c/code\u003e specifically for Ranged Line Charts.\u003c/p\u003e"},"Protocols/IgnoreMe.html":{"name":"IgnoreMe","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e"},"Protocols/CTLineBarChartDataProtocol.html":{"name":"CTLineBarChartDataProtocol","abstract":"\u003cp\u003eA protocol to extend functionality of \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbProtocols/CTChartData.html\"\u003eCTChartData\u003c/a\u003e\u003c/code\u003e specifically for Line and Bar Charts.\u003c/p\u003e"},"Protocols.html#/s:13SwiftUICharts30CTPieDoughnutChartDataProtocolP":{"name":"CTPieDoughnutChartDataProtocol","abstract":"\u003cp\u003eA protocol to extend functionality of \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbProtocols/CTChartData.html\"\u003eCTChartData\u003c/a\u003e\u003c/code\u003e specifically for Pie and Doughnut Charts.\u003c/p\u003e"},"Protocols.html#/s:13SwiftUICharts22CTPieChartDataProtocolP":{"name":"CTPieChartDataProtocol","abstract":"\u003cp\u003eA protocol to extend functionality of \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbProtocols.html#/s:13SwiftUICharts30CTPieDoughnutChartDataProtocolP\"\u003eCTPieDoughnutChartDataProtocol\u003c/a\u003e\u003c/code\u003e specifically for Pie Charts.\u003c/p\u003e"},"Protocols.html#/s:13SwiftUICharts27CTDoughnutChartDataProtocolP":{"name":"CTDoughnutChartDataProtocol","abstract":"\u003cp\u003eA protocol to extend functionality of \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbProtocols.html#/s:13SwiftUICharts30CTPieDoughnutChartDataProtocolP\"\u003eCTPieDoughnutChartDataProtocol\u003c/a\u003e\u003c/code\u003e specifically for Doughnut Charts.\u003c/p\u003e"},"Protocols/CTPieDataPoint.html":{"name":"CTPieDataPoint","abstract":"\u003cp\u003eA protocol to extend functionality of \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbProtocols/CTStandardDataPointProtocol.html\"\u003eCTStandardDataPointProtocol\u003c/a\u003e\u003c/code\u003e specifically for Pie and Doughnut Charts.\u003c/p\u003e"},"Protocols.html#/s:13SwiftUICharts26CTPieAndDoughnutChartStyleP":{"name":"CTPieAndDoughnutChartStyle","abstract":"\u003cp\u003eA protocol to extend functionality of \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbProtocols/CTChartStyle.html\"\u003eCTChartStyle\u003c/a\u003e\u003c/code\u003e specifically for Pie and Doughnut Charts.\u003c/p\u003e"},"Protocols.html#/s:13SwiftUICharts15CTPieChartStyleP":{"name":"CTPieChartStyle","abstract":"\u003cp\u003eA protocol to extend functionality of \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbProtocols.html#/s:13SwiftUICharts26CTPieAndDoughnutChartStyleP\"\u003eCTPieAndDoughnutChartStyle\u003c/a\u003e\u003c/code\u003e specifically for Pie Charts.\u003c/p\u003e"},"Protocols/CTDoughnutChartStyle.html":{"name":"CTDoughnutChartStyle","abstract":"\u003cp\u003eA protocol to extend functionality of \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbProtocols.html#/s:13SwiftUICharts26CTPieAndDoughnutChartStyleP\"\u003eCTPieAndDoughnutChartStyle\u003c/a\u003e\u003c/code\u003e specifically for Doughnut Charts.\u003c/p\u003e"},"Protocols/Publishable.html":{"name":"Publishable","abstract":"\u003cp\u003eProtocol to enable publishing data streams over the Combine framework\u003c/p\u003e"},"Protocols/CTChartData.html":{"name":"CTChartData","abstract":"\u003cp\u003eMain protocol for passing data around library.\u003c/p\u003e"},"Protocols/CTDataSetProtocol.html":{"name":"CTDataSetProtocol","abstract":"\u003cp\u003eMain protocol to set conformace for types of Data Sets.\u003c/p\u003e"},"Protocols/CTSingleDataSetProtocol.html":{"name":"CTSingleDataSetProtocol","abstract":"\u003cp\u003eProtocol for data sets that only require a single set of data .\u003c/p\u003e"},"Protocols/CTMultiDataSetProtocol.html":{"name":"CTMultiDataSetProtocol","abstract":"\u003cp\u003eProtocol for data sets that require a multiple sets of data .\u003c/p\u003e"},"Protocols/CTDataPointBaseProtocol.html":{"name":"CTDataPointBaseProtocol","abstract":"\u003cp\u003eProtocol to set base configuration for data points.\u003c/p\u003e"},"Protocols/CTStandardDataPointProtocol.html":{"name":"CTStandardDataPointProtocol","abstract":"\u003cp\u003eA protocol to extend functionality of \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbProtocols/CTDataPointBaseProtocol.html\"\u003eCTDataPointBaseProtocol\u003c/a\u003e\u003c/code\u003e for any chart"},"Protocols/CTRangeDataPointProtocol.html":{"name":"CTRangeDataPointProtocol","abstract":"\u003cp\u003eA protocol to extend functionality of \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbProtocols/CTDataPointBaseProtocol.html\"\u003eCTDataPointBaseProtocol\u003c/a\u003e\u003c/code\u003e for any chart"},"Protocols/CTChartStyle.html":{"name":"CTChartStyle","abstract":"\u003cp\u003eProtocol to set the styling data for the chart.\u003c/p\u003e"},"Protocols/CTColourStyle.html":{"name":"CTColourStyle","abstract":"\u003cp\u003eA protocol to set colour styling.\u003c/p\u003e"},"Protocols.html#/s:13SwiftUICharts10CTisRangedP":{"name":"CTisRanged","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e"},"Protocols.html#/s:13SwiftUICharts11CTnotRangedP":{"name":"CTnotRanged","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e"},"Protocols/DataFunctionsProtocol.html":{"name":"DataFunctionsProtocol","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e"},"Protocols/GetDataProtocol.html":{"name":"GetDataProtocol","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e"},"Protocols.html#/s:13SwiftUICharts10MarkerTypeP":{"name":"MarkerType","abstract":"\u003cp\u003eA protocol to get the correct touch overlay marker.\u003c/p\u003e"},"Protocols/CTLineBarChartStyle.html":{"name":"CTLineBarChartStyle","abstract":"\u003cp\u003eA protocol to extend functionality of \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbProtocols/CTChartStyle.html\"\u003eCTChartStyle\u003c/a\u003e\u003c/code\u003e specifically for Line and Bar Charts.\u003c/p\u003e"},"Protocols/CTLineBarDataPointProtocol.html":{"name":"CTLineBarDataPointProtocol","abstract":"\u003cp\u003eA protocol to extend functionality of \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbProtocols/CTStandardDataPointProtocol.html\"\u003eCTStandardDataPointProtocol\u003c/a\u003e\u003c/code\u003e specifically for Line and Bar Charts.\u003c/p\u003e"},"Protocols/PointOfInterestProtocol.html":{"name":"PointOfInterestProtocol","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e"},"Extensions/Color.html#/s:7SwiftUI5ColorV0A8UIChartsE17systemsBackgroundACvpZ":{"name":"systemsBackground","abstract":"\u003cp\u003eReturns the relevant system background colour for the device.\u003c/p\u003e","parent_name":"Color"},"Extensions/NSNotification/Name.html#/s:So18NSNotificationNamea13SwiftUIChartsE21updateLayoutDidFinishABvpZ":{"name":"updateLayoutDidFinish","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"Name"},"Extensions/NSNotification/Name.html":{"name":"Name","parent_name":"NSNotification"},"Extensions/View.html#/s:7SwiftUI4ViewP0A8UIChartsE13filledTopLine9chartData10lineColour11strokeStyleQrqd___AD0kM0VAA06StrokeM0VtAD0g5ChartI0CRbd__lF":{"name":"filledTopLine(chartData:lineColour:strokeStyle:)","abstract":"\u003cp\u003eAdds an independent line on top of FilledLineChart.\u003c/p\u003e","parent_name":"View"},"Extensions/View.html#/s:7SwiftUI4ViewP0A8UIChartsE12pointMarkers9chartDataQrqd___tAD011CTLineChartH8ProtocolRd__AD03GethK0Rd__lF":{"name":"pointMarkers(chartData:)","abstract":"\u003cp\u003eLays out markers over each of the data point.\u003c/p\u003e","parent_name":"View"},"Extensions/View.html#/s:7SwiftUI4ViewP0A8UIChartsE9headerBox9chartDataQrqd___tAD07CTChartH0Rd__lF":{"name":"headerBox(chartData:)","abstract":"\u003cp\u003eDisplays the metadata about the chart.\u003c/p\u003e","parent_name":"View"},"Extensions/View.html#/s:7SwiftUI4ViewP0A8UIChartsE7legends9chartData7columns9iconWidth4font9textColor10topPaddingQrqd___SayAA8GridItemVG14CoreFoundation7CGFloatVAA4FontVAA0M0VAQtAD07CTChartG0Rd__lF":{"name":"legends(chartData:columns:iconWidth:font:textColor:topPadding:)","abstract":"\u003cp\u003eDisplays legends under the chart.\u003c/p\u003e","parent_name":"View"},"Extensions/View.html#/s:7SwiftUI4ViewP0A8UIChartsE12touchOverlay9chartData9specifier9formatter4unit11minDistanceQrqd___SSSo17NSNumberFormatterCSgAD9TouchUnitO14CoreFoundation7CGFloatVtAD07CTChartH0Rd__lF":{"name":"touchOverlay(chartData:specifier:formatter:unit:minDistance:)","abstract":"\u003cp\u003eAdds touch interaction with the chart.\u003c/p\u003e","parent_name":"View"},"Extensions/View.html#/touchOverlay(chartData:specifier:formatter:unit:minDistance:)":{"name":"touchOverlay(chartData:specifier:formatter:unit:minDistance:)","abstract":"\u003cp\u003eAdds touch interaction with the chart.\u003c/p\u003e","parent_name":"View"},"Extensions/View.html#/s:7SwiftUI4ViewP0A8UIChartsE16disableAnimation9chartData_Qrqd___SbtAD07CTChartH0Rd__lF":{"name":"disableAnimation(chartData:_:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"View"},"Extensions/View.html#/s:7SwiftUI4ViewP0A8UIChartsE9extraLine9chartData11legendTitle10datapoints5styleQrqd___SSSayAD05ExtrafH5PointVGycAD0mF5StyleVyctAD014CTLineBarChartH8ProtocolRd__lF":{"name":"extraLine(chartData:legendTitle:datapoints:style:)","abstract":"\u003cp\u003eAdds an seperate line that is over-layed on top of a other chart.\u003c/p\u003e","parent_name":"View"},"Extensions/View.html#/s:7SwiftUI4ViewP0A8UIChartsE9extraLine9chartData11legendTitle10datapoints5styleQrqd___SSSayAD05ExtrafH5PointVGyXAAD0mF5StyleVyXAtAD014CTLineBarChartH8ProtocolRd__lF":{"name":"extraLine(chartData:legendTitle:datapoints:style:)","abstract":"\u003cp\u003eAdds an seperate line that is over-layed on top of a other chart.\u003c/p\u003e","parent_name":"View"},"Extensions/View.html#/s:7SwiftUI4ViewP0A8UIChartsE16extraYAxisLabels9chartData9specifier15colourIndicatorQrqd___SSAD10AxisColourOtAD014CTLineBarChartI8ProtocolRd__lF":{"name":"extraYAxisLabels(chartData:specifier:colourIndicator:)","abstract":"\u003cp\u003eAdds a second set of Y axis labels.\u003c/p\u003e","parent_name":"View"},"Extensions/View.html#/s:7SwiftUI4ViewP0A8UIChartsE15floatingInfoBox9chartDataQrqd___tAD014CTLineBarChartI8ProtocolRd__lF":{"name":"floatingInfoBox(chartData:)","abstract":"\u003cp\u003eA view that displays information from \u003ccode\u003eTouchOverlay\u003c/code\u003e.\u003c/p\u003e","parent_name":"View"},"Extensions/View.html#/s:7SwiftUI4ViewP0A8UIChartsE15floatingInfoBox9chartDataQrqd___tAD014CTLineBarChartI8ProtocolRd__AD12isHorizontalRd__lF":{"name":"floatingInfoBox(chartData:)","abstract":"\u003cp\u003eA view that displays information from \u003ccode\u003eTouchOverlay\u003c/code\u003e.\u003c/p\u003e","parent_name":"View"},"Extensions/View.html#/s:7SwiftUI4ViewP0A8UIChartsE7infoBox9chartData6heightQrqd___14CoreFoundation7CGFloatVtAD014CTLineBarChartH8ProtocolRd__lF":{"name":"infoBox(chartData:height:)","abstract":"\u003cp\u003eA view that displays information from \u003ccode\u003eTouchOverlay\u003c/code\u003e.\u003c/p\u003e","parent_name":"View"},"Extensions/View.html#/s:7SwiftUI4ViewP0A8UIChartsE7infoBox9chartData5widthQrqd___14CoreFoundation7CGFloatVtAD014CTLineBarChartH8ProtocolRd__AD12isHorizontalRd__lF":{"name":"infoBox(chartData:width:)","abstract":"\u003cp\u003eA view that displays information from \u003ccode\u003eTouchOverlay\u003c/code\u003e.\u003c/p\u003e","parent_name":"View"},"Extensions/View.html#/s:7SwiftUI4ViewP0A8UIChartsE15linearTrendLine9chartData10firstValue04lastK010lineColour11strokeStyleQrqd___S2dAD0nP0VAA06StrokeP0VtAD014CTLineBarChartI8ProtocolRd__AD03GetiU0Rd__lF":{"name":"linearTrendLine(chartData:firstValue:lastValue:lineColour:strokeStyle:)","abstract":"\u003cp\u003eDraws a line across the chart to show the the trend in the data.\u003c/p\u003e","parent_name":"View"},"Extensions/View.html#/s:7SwiftUI4ViewP0A8UIChartsE9xAxisGrid9chartDataQrqd___tAD014CTLineBarChartH8ProtocolRd__lF":{"name":"xAxisGrid(chartData:)","abstract":"\u003cp\u003eAdds vertical lines along the X axis.\u003c/p\u003e","parent_name":"View"},"Extensions/View.html#/s:7SwiftUI4ViewP0A8UIChartsE11xAxisLabels9chartDataQrqd___tAD014CTLineBarChartH8ProtocolRd__lF":{"name":"xAxisLabels(chartData:)","abstract":"\u003cp\u003eLabels for the X axis.\u003c/p\u003e","parent_name":"View"},"Extensions/View.html#/s:7SwiftUI4ViewP0A8UIChartsE8xAxisPOI9chartData10markerName0I5Value14dataPointCount10lineColour16labelBorderColor11strokeStyle0Q8Position0Q4Font0qP00Q10Background16customLabelShape7padding12addToLegendsQrqd___SSS2iAA0S0VAUSgAA06StrokeU0VAD07DisplayK0OAA0W0VA2uD06CustomZ5ShapeVSg14CoreFoundation7CGFloatVSgSbtAD014CTLineBarChartH8ProtocolRd__AD03GetH8ProtocolRd__AD0M18OfInterestProtocolRd__lF":{"name":"xAxisPOI(chartData:markerName:markerValue:dataPointCount:lineColour:labelBorderColor:strokeStyle:labelPosition:labelFont:labelColour:labelBackground:customLabelShape:padding:addToLegends:)","abstract":"\u003cp\u003eVertical line marking a custom value.\u003c/p\u003e","parent_name":"View"},"Extensions/View.html#/s:7SwiftUI4ViewP0A8UIChartsE9yAxisGrid9chartDataQrqd___tAD014CTLineBarChartH8ProtocolRd__lF":{"name":"yAxisGrid(chartData:)","abstract":"\u003cp\u003eAdds horizontal lines along the X axis.\u003c/p\u003e","parent_name":"View"},"Extensions/View.html#/s:7SwiftUI4ViewP0A8UIChartsE11yAxisLabels9chartData9specifier9formatter15colourIndicatorQrqd___SSSo17NSNumberFormatterCSgAD0E6ColourOtAD014CTLineBarChartH8ProtocolRd__lF":{"name":"yAxisLabels(chartData:specifier:formatter:colourIndicator:)","abstract":"\u003cp\u003eAutomatically generated labels for the Y axis.\u003c/p\u003e","parent_name":"View"},"Extensions/View.html#/s:7SwiftUI4ViewP0A8UIChartsE8yAxisPOI9chartData10markerName0I5Value13labelPosition0L4Font0L6Colour0L10Background04lineO00L11BorderColor11strokeStyle16customLabelShape7padding12addToLegendsQrqd___SSSdAD07DisplayK0OAA0N0VAA0S0VA3XSgAA06StrokeU0VAD06CustomwX0VSg14CoreFoundation7CGFloatVSgSbtAD014CTLineBarChartH8ProtocolRd__AD03GetH8ProtocolRd__AD23PointOfInterestProtocolRd__lF":{"name":"yAxisPOI(chartData:markerName:markerValue:labelPosition:labelFont:labelColour:labelBackground:lineColour:labelBorderColor:strokeStyle:customLabelShape:padding:addToLegends:)","abstract":"\u003cp\u003eHorizontal line marking a custom value.\u003c/p\u003e","parent_name":"View"},"Extensions/View.html#/s:7SwiftUI4ViewP0A8UIChartsE11averageLine9chartData10markerName13labelPosition0K4Font0K6Colour0K10Background04lineN00K11BorderColor11strokeStyle16customLabelShape7padding12addToLegendsQrqd___SSAD12DisplayValueOAA0M0VAA0R0VA3WSgAA06StrokeT0VAD06CustomvW0VSg14CoreFoundation7CGFloatVSgSbtAD014CTLineBarChartH8ProtocolRd__AD03GetH8ProtocolRd__AD23PointOfInterestProtocolRd__lF":{"name":"averageLine(chartData:markerName:labelPosition:labelFont:labelColour:labelBackground:lineColour:labelBorderColor:strokeStyle:customLabelShape:padding:addToLegends:)","abstract":"\u003cp\u003eHorizontal line marking the average.\u003c/p\u003e","parent_name":"View"},"Extensions/View.html":{"name":"View"},"Extensions/NSNotification.html":{"name":"NSNotification"},"Extensions/Color.html":{"name":"Color"},"Enums/AxisColour.html#/s:13SwiftUICharts10AxisColourO4noneyA2CmF":{"name":"none","abstract":"\u003cp\u003eNo colour marker.\u003c/p\u003e","parent_name":"AxisColour"},"Enums/AxisColour.html#/s:13SwiftUICharts10AxisColourO5styleyAC14CoreFoundation7CGFloatV_tcACmF":{"name":"style(size:)","abstract":"\u003cp\u003eGet style from data model.\u003c/p\u003e","parent_name":"AxisColour"},"Enums/AxisColour.html#/s:13SwiftUICharts10AxisColourO6customyAcA0D5StyleV_14CoreFoundation7CGFloatVtcACmF":{"name":"custom(colour:size:)","abstract":"\u003cp\u003eSet custom style.\u003c/p\u003e","parent_name":"AxisColour"},"Enums/YAxisLabelType.html#/s:13SwiftUICharts14YAxisLabelTypeO7numericyA2CmF":{"name":"numeric","abstract":"\u003cp\u003eAuto generated, numeric labels.\u003c/p\u003e","parent_name":"YAxisLabelType"},"Enums/YAxisLabelType.html#/s:13SwiftUICharts14YAxisLabelTypeO6customyA2CmF":{"name":"custom","abstract":"\u003cp\u003eCustom labels array\u003c/p\u003e","parent_name":"YAxisLabelType"},"Enums/Topline.html#/s:13SwiftUICharts7ToplineO12maximumValueyA2CmF":{"name":"maximumValue","abstract":"\u003cp\u003eHighest value in the data set(s)\u003c/p\u003e","parent_name":"Topline"},"Enums/Topline.html#/s:13SwiftUICharts7ToplineO7maximumyACSd_tcACmF":{"name":"maximum(of:)","abstract":"\u003cp\u003eSet a custom topline\u003c/p\u003e","parent_name":"Topline"},"Enums/Baseline.html#/s:13SwiftUICharts8BaselineO12minimumValueyA2CmF":{"name":"minimumValue","abstract":"\u003cp\u003eLowest value in the data set(s)\u003c/p\u003e","parent_name":"Baseline"},"Enums/Baseline.html#/s:13SwiftUICharts8BaselineO18minimumWithMaximumyACSd_tcACmF":{"name":"minimumWithMaximum(of:)","abstract":"\u003cp\u003eSet a custom baseline\u003c/p\u003e","parent_name":"Baseline"},"Enums/Baseline.html#/s:13SwiftUICharts8BaselineO4zeroyA2CmF":{"name":"zero","abstract":"\u003cp\u003eSet 0 as the lowest value\u003c/p\u003e","parent_name":"Baseline"},"Enums/DisplayValue.html#/s:13SwiftUICharts12DisplayValueO4noneyA2CmF":{"name":"none","abstract":"\u003cp\u003eNo label.\u003c/p\u003e","parent_name":"DisplayValue"},"Enums/DisplayValue.html#/s:13SwiftUICharts12DisplayValueO5yAxisyACSS_So17NSNumberFormatterCSgtcACmF":{"name":"yAxis(specifier:formatter:)","abstract":"\u003cp\u003ePlaces the label in the yAxis labels.\u003c/p\u003e","parent_name":"DisplayValue"},"Enums/DisplayValue.html#/s:13SwiftUICharts12DisplayValueO6centeryACSS_So17NSNumberFormatterCSgtcACmF":{"name":"center(specifier:formatter:)","abstract":"\u003cp\u003ePlaces the label in the center of chart.\u003c/p\u003e","parent_name":"DisplayValue"},"Enums/DisplayValue.html#/s:13SwiftUICharts12DisplayValueO8positionyAC14CoreFoundation7CGFloatV_SSSo17NSNumberFormatterCSgtcACmF":{"name":"position(location:specifier:formatter:)","abstract":"\u003cp\u003ePlaces the label in between the graph at a certain distance from the axis, i.e. 0 places it on the leading edge and 1 places it on the trailing edge. Defaults to 0.5 if location \u0026gt;1 or \u0026lt;0\u003c/p\u003e","parent_name":"DisplayValue"},"Enums/YAxisLabelPosistion.html#/s:13SwiftUICharts19YAxisLabelPosistionO7leadingyA2CmF":{"name":"leading","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"YAxisLabelPosistion"},"Enums/YAxisLabelPosistion.html#/s:13SwiftUICharts19YAxisLabelPosistionO8trailingyA2CmF":{"name":"trailing","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"YAxisLabelPosistion"},"Enums/LabelsFrom.html#/s:13SwiftUICharts10LabelsFromO9dataPointyAC0A2UI5AngleV_tcACmF":{"name":"dataPoint(rotation:)","abstract":"\u003cp\u003eChartData \u0026ndash;\u0026gt; DataPoint \u0026ndash;\u0026gt; xAxisLabel\u003c/p\u003e","parent_name":"LabelsFrom"},"Enums/LabelsFrom.html#/s:13SwiftUICharts10LabelsFromO9chartDatayAC0A2UI5AngleV_tcACmF":{"name":"chartData(rotation:)","abstract":"\u003cp\u003eChartData \u0026ndash;\u0026gt; xAxisLabels\u003c/p\u003e","parent_name":"LabelsFrom"},"Enums/XAxisLabelPosistion.html#/s:13SwiftUICharts19XAxisLabelPosistionO3topyA2CmF":{"name":"top","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"XAxisLabelPosistion"},"Enums/XAxisLabelPosistion.html#/s:13SwiftUICharts19XAxisLabelPosistionO6bottomyA2CmF":{"name":"bottom","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"XAxisLabelPosistion"},"Enums/TouchUnit.html#/s:13SwiftUICharts9TouchUnitO4noneyA2CmF":{"name":"none","abstract":"\u003cp\u003eNo units\u003c/p\u003e","parent_name":"TouchUnit"},"Enums/TouchUnit.html#/s:13SwiftUICharts9TouchUnitO6prefixyACSS_tcACmF":{"name":"prefix(of:)","abstract":"\u003cp\u003eBefore value\u003c/p\u003e","parent_name":"TouchUnit"},"Enums/TouchUnit.html#/s:13SwiftUICharts9TouchUnitO6suffixyACSS_tcACmF":{"name":"suffix(of:)","abstract":"\u003cp\u003eAfter value\u003c/p\u003e","parent_name":"TouchUnit"},"Enums/InfoBoxAlignment.html#/s:13SwiftUICharts16InfoBoxAlignmentO8verticalyA2CmF":{"name":"vertical","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"InfoBoxAlignment"},"Enums/InfoBoxAlignment.html#/s:13SwiftUICharts16InfoBoxAlignmentO10horizontalyA2CmF":{"name":"horizontal","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"InfoBoxAlignment"},"Enums/InfoBoxPlacement.html#/s:13SwiftUICharts16InfoBoxPlacementO8floatingyA2CmF":{"name":"floating","abstract":"\u003cp\u003eFollows input across the chart.\u003c/p\u003e","parent_name":"InfoBoxPlacement"},"Enums/InfoBoxPlacement.html#/s:13SwiftUICharts16InfoBoxPlacementO04infoD0yACSb_tcACmF":{"name":"infoBox(isStatic:)","abstract":"\u003cp\u003eDisplay in the InfoBox. Must have .infoBox()\u003c/p\u003e","parent_name":"InfoBoxPlacement"},"Enums/InfoBoxPlacement.html#/s:13SwiftUICharts16InfoBoxPlacementO6headeryA2CmF":{"name":"header","abstract":"\u003cp\u003eDisplay in the Header box. Must have .headerBox().\u003c/p\u003e","parent_name":"InfoBoxPlacement"},"Enums/ColourType.html#/s:13SwiftUICharts10ColourTypeO6colouryA2CmF":{"name":"colour","abstract":"\u003cp\u003eSingle Colour\u003c/p\u003e","parent_name":"ColourType"},"Enums/ColourType.html#/s:13SwiftUICharts10ColourTypeO08gradientC0yA2CmF":{"name":"gradientColour","abstract":"\u003cp\u003eColour Gradient\u003c/p\u003e","parent_name":"ColourType"},"Enums/ColourType.html#/s:13SwiftUICharts10ColourTypeO13gradientStopsyA2CmF":{"name":"gradientStops","abstract":"\u003cp\u003eColour Gradient with stop control\u003c/p\u003e","parent_name":"ColourType"},"Enums/ChartType.html#/s:13SwiftUICharts9ChartTypeO4lineyA2CmF":{"name":"line","abstract":"\u003cp\u003eLine Chart Type\u003c/p\u003e","parent_name":"ChartType"},"Enums/ChartType.html#/s:13SwiftUICharts9ChartTypeO3baryA2CmF":{"name":"bar","abstract":"\u003cp\u003eBar Chart Type\u003c/p\u003e","parent_name":"ChartType"},"Enums/ChartType.html#/s:13SwiftUICharts9ChartTypeO3pieyA2CmF":{"name":"pie","abstract":"\u003cp\u003ePie Chart Type\u003c/p\u003e","parent_name":"ChartType"},"Enums/DataSetType.html#/s:13SwiftUICharts11DataSetTypeO6singleyA2CmF":{"name":"single","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"DataSetType"},"Enums/DataSetType.html#/s:13SwiftUICharts11DataSetTypeO5multiyA2CmF":{"name":"multi","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"DataSetType"},"Enums/OverlayType.html#/s:13SwiftUICharts11OverlayTypeO4noneyA2CmF":{"name":"none","abstract":"\u003cp\u003eNo overlay\u003c/p\u003e","parent_name":"OverlayType"},"Enums/OverlayType.html#/s:13SwiftUICharts11OverlayTypeO5labelyACSS_0A2UI5ColorVAE4FontV14CoreFoundation7CGFloatVtcACmF":{"name":"label(text:colour:font:rFactor:)","abstract":"\u003cp\u003eText overlay\u003c/p\u003e","parent_name":"OverlayType"},"Enums/OverlayType.html#/s:13SwiftUICharts11OverlayTypeO4iconyACSS_0A2UI5ColorV14CoreFoundation7CGFloatVAJtcACmF":{"name":"icon(systemName:colour:size:rFactor:)","abstract":"\u003cp\u003eSystem icon overlay\u003c/p\u003e","parent_name":"OverlayType"},"Enums/Dot.html#/s:13SwiftUICharts3DotO4noneyA2CmF":{"name":"none","abstract":"\u003cp\u003eNo Dot\u003c/p\u003e","parent_name":"Dot"},"Enums/Dot.html#/s:13SwiftUICharts3DotO5styleyAcA0C5StyleVcACmF":{"name":"style(_:)","abstract":"\u003cp\u003eAdds a dot the line at point of touch.\u003c/p\u003e","parent_name":"Dot"},"Enums/LineMarkerType.html#/s:13SwiftUICharts14LineMarkerTypeO4noneyA2CmF":{"name":"none","abstract":"\u003cp\u003eNo overlay markers.\u003c/p\u003e","parent_name":"LineMarkerType"},"Enums/LineMarkerType.html#/s:13SwiftUICharts14LineMarkerTypeO9indicatoryAcA8DotStyleV_tcACmF":{"name":"indicator(style:)","abstract":"\u003cp\u003eDot that follows the path.\u003c/p\u003e","parent_name":"LineMarkerType"},"Enums/LineMarkerType.html#/s:13SwiftUICharts14LineMarkerTypeO8verticalyAcA0D10AttachmentO_0A2UI5ColorVAG11StrokeStyleVtcACmF":{"name":"vertical(attachment:colour:style:)","abstract":"\u003cp\u003eVertical line from top to bottom.\u003c/p\u003e","parent_name":"LineMarkerType"},"Enums/LineMarkerType.html#/s:13SwiftUICharts14LineMarkerTypeO4fullyAcA0D10AttachmentO_0A2UI5ColorVAG11StrokeStyleVtcACmF":{"name":"full(attachment:colour:style:)","abstract":"\u003cp\u003eFull width and height of view intersecting at a specified point.\u003c/p\u003e","parent_name":"LineMarkerType"},"Enums/LineMarkerType.html#/s:13SwiftUICharts14LineMarkerTypeO13bottomLeadingyAcA0D10AttachmentO_0A2UI5ColorVAG11StrokeStyleVtcACmF":{"name":"bottomLeading(attachment:colour:style:)","abstract":"\u003cp\u003eFrom bottom and leading edges meeting at a specified point.\u003c/p\u003e","parent_name":"LineMarkerType"},"Enums/LineMarkerType.html#/s:13SwiftUICharts14LineMarkerTypeO14bottomTrailingyAcA0D10AttachmentO_0A2UI5ColorVAG11StrokeStyleVtcACmF":{"name":"bottomTrailing(attachment:colour:style:)","abstract":"\u003cp\u003eFrom bottom and trailing edges meeting at a specified point.\u003c/p\u003e","parent_name":"LineMarkerType"},"Enums/LineMarkerType.html#/s:13SwiftUICharts14LineMarkerTypeO10topLeadingyAcA0D10AttachmentO_0A2UI5ColorVAG11StrokeStyleVtcACmF":{"name":"topLeading(attachment:colour:style:)","abstract":"\u003cp\u003eFrom top and leading edges meeting at a specified point.\u003c/p\u003e","parent_name":"LineMarkerType"},"Enums/LineMarkerType.html#/s:13SwiftUICharts14LineMarkerTypeO11topTrailingyAcA0D10AttachmentO_0A2UI5ColorVAG11StrokeStyleVtcACmF":{"name":"topTrailing(attachment:colour:style:)","abstract":"\u003cp\u003eFrom top and trailing edges meeting at a specified point.\u003c/p\u003e","parent_name":"LineMarkerType"},"Enums/MarkerAttachment.html#/s:13SwiftUICharts16MarkerAttachmentO4lineyAcA3DotO_tcACmF":{"name":"line(dot:)","abstract":"\u003cp\u003eAttached to the line.\u003c/p\u003e","parent_name":"MarkerAttachment"},"Enums/MarkerAttachment.html#/s:13SwiftUICharts16MarkerAttachmentO5pointyA2CmF":{"name":"point","abstract":"\u003cp\u003eAttached to the data points.\u003c/p\u003e","parent_name":"MarkerAttachment"},"Enums/PointShape.html#/s:13SwiftUICharts10PointShapeO6circleyA2CmF":{"name":"circle","abstract":"\u003cp\u003eCircle Shape\u003c/p\u003e","parent_name":"PointShape"},"Enums/PointShape.html#/s:13SwiftUICharts10PointShapeO6squareyA2CmF":{"name":"square","abstract":"\u003cp\u003eSquare Shape\u003c/p\u003e","parent_name":"PointShape"},"Enums/PointShape.html#/s:13SwiftUICharts10PointShapeO11roundSquareyA2CmF":{"name":"roundSquare","abstract":"\u003cp\u003eRounded Square Shape\u003c/p\u003e","parent_name":"PointShape"},"Enums/PointType.html#/s:13SwiftUICharts9PointTypeO6filledyA2CmF":{"name":"filled","abstract":"\u003cp\u003eJust fill\u003c/p\u003e","parent_name":"PointType"},"Enums/PointType.html#/s:13SwiftUICharts9PointTypeO7outlineyA2CmF":{"name":"outline","abstract":"\u003cp\u003eJust stroke\u003c/p\u003e","parent_name":"PointType"},"Enums/PointType.html#/s:13SwiftUICharts9PointTypeO13filledOutLineyA2CmF":{"name":"filledOutLine","abstract":"\u003cp\u003eBoth fill and stroke\u003c/p\u003e","parent_name":"PointType"},"Enums/LineType.html#/s:13SwiftUICharts8LineTypeO4lineyA2CmF":{"name":"line","abstract":"\u003cp\u003eStraight line from point to point\u003c/p\u003e","parent_name":"LineType"},"Enums/LineType.html#/s:13SwiftUICharts8LineTypeO06curvedC0yA2CmF":{"name":"curvedLine","abstract":"\u003cp\u003eDual control point curved line\u003c/p\u003e","parent_name":"LineType"},"Enums/LineType.html#/s:13SwiftUICharts8LineTypeO7steppedyA2CmF":{"name":"stepped","abstract":"\u003cp\u003eStepped line from point to point\u003c/p\u003e","parent_name":"LineType"},"Enums/BarMarkerType.html#/s:13SwiftUICharts13BarMarkerTypeO4noneyA2CmF":{"name":"none","abstract":"\u003cp\u003eNo overlay markers.\u003c/p\u003e","parent_name":"BarMarkerType"},"Enums/BarMarkerType.html#/s:13SwiftUICharts13BarMarkerTypeO8verticalyAC0A2UI5ColorV_AE11StrokeStyleVtcACmF":{"name":"vertical(colour:style:)","abstract":"\u003cp\u003eVertical line from top to bottom.\u003c/p\u003e","parent_name":"BarMarkerType"},"Enums/BarMarkerType.html#/s:13SwiftUICharts13BarMarkerTypeO4fullyAC0A2UI5ColorV_AE11StrokeStyleVtcACmF":{"name":"full(colour:style:)","abstract":"\u003cp\u003eFull width and height of view intersecting at a specified point.\u003c/p\u003e","parent_name":"BarMarkerType"},"Enums/BarMarkerType.html#/s:13SwiftUICharts13BarMarkerTypeO13bottomLeadingyAC0A2UI5ColorV_AE11StrokeStyleVtcACmF":{"name":"bottomLeading(colour:style:)","abstract":"\u003cp\u003eFrom bottom and leading edges meeting at a specified point.\u003c/p\u003e","parent_name":"BarMarkerType"},"Enums/BarMarkerType.html#/s:13SwiftUICharts13BarMarkerTypeO14bottomTrailingyAC0A2UI5ColorV_AE11StrokeStyleVtcACmF":{"name":"bottomTrailing(colour:style:)","abstract":"\u003cp\u003eFrom bottom and trailing edges meeting at a specified point.\u003c/p\u003e","parent_name":"BarMarkerType"},"Enums/BarMarkerType.html#/s:13SwiftUICharts13BarMarkerTypeO10topLeadingyAC0A2UI5ColorV_AE11StrokeStyleVtcACmF":{"name":"topLeading(colour:style:)","abstract":"\u003cp\u003eFrom top and leading edges meeting at a specified point.\u003c/p\u003e","parent_name":"BarMarkerType"},"Enums/BarMarkerType.html#/s:13SwiftUICharts13BarMarkerTypeO11topTrailingyAC0A2UI5ColorV_AE11StrokeStyleVtcACmF":{"name":"topTrailing(colour:style:)","abstract":"\u003cp\u003eFrom top and trailing edges meeting at a specified point.\u003c/p\u003e","parent_name":"BarMarkerType"},"Enums/ColourFrom.html#/s:13SwiftUICharts10ColourFromO8barStyleyA2CmF":{"name":"barStyle","abstract":"\u003cp\u003eFrom BarStyle data model\u003c/p\u003e","parent_name":"ColourFrom"},"Enums/ColourFrom.html#/s:13SwiftUICharts10ColourFromO10dataPointsyA2CmF":{"name":"dataPoints","abstract":"\u003cp\u003eFrom each data point\u003c/p\u003e","parent_name":"ColourFrom"},"Enums/ColourFrom.html":{"name":"ColourFrom","abstract":"\u003cp\u003eWhere to get the colour data from.\u003c/p\u003e"},"Enums/BarMarkerType.html":{"name":"BarMarkerType","abstract":"\u003cp\u003eWhere the marker lines come from to meet at a specified point.\u003c/p\u003e"},"Enums/LineType.html":{"name":"LineType","abstract":"\u003cp\u003eDrawing style of the line\u003c/p\u003e"},"Enums/PointType.html":{"name":"PointType","abstract":"\u003cp\u003eStyle of the point marks\u003c/p\u003e"},"Enums/PointShape.html":{"name":"PointShape","abstract":"\u003cp\u003eShape of the points\u003c/p\u003e"},"Enums/MarkerAttachment.html":{"name":"MarkerAttachment","abstract":"\u003cp\u003eWhere the Y and X touch markers should attach themselves to.\u003c/p\u003e"},"Enums/LineMarkerType.html":{"name":"LineMarkerType","abstract":"\u003cp\u003eWhere the marker lines come from to meet at a specified point.\u003c/p\u003e"},"Enums/Dot.html":{"name":"Dot","abstract":"\u003cp\u003eWhether or not to show a dot on the line\u003c/p\u003e"},"Enums/OverlayType.html":{"name":"OverlayType","abstract":"\u003cp\u003eOption to add overlays on top of the segment.\u003c/p\u003e"},"Enums/DataSetType.html":{"name":"DataSetType","abstract":"\u003cp\u003eThe type of \u003ccode\u003eDataSet\u003c/code\u003e being used\u003c/p\u003e"},"Enums/ChartType.html":{"name":"ChartType","abstract":"\u003cp\u003eThe type of chart being used.\u003c/p\u003e"},"Enums/ColourType.html":{"name":"ColourType","abstract":"\u003cp\u003eType of colour styling.\u003c/p\u003e"},"Enums/InfoBoxPlacement.html":{"name":"InfoBoxPlacement","abstract":"\u003cp\u003ePlacement of the data point information panel when touch overlay modifier is applied.\u003c/p\u003e"},"Enums/InfoBoxAlignment.html":{"name":"InfoBoxAlignment","abstract":"\u003cp\u003eAlignment of the content inside of the information box\u003c/p\u003e"},"Enums/TouchUnit.html":{"name":"TouchUnit","abstract":"\u003cp\u003eOption to display units before or after values.\u003c/p\u003e"},"Enums/XAxisLabelPosistion.html":{"name":"XAxisLabelPosistion","abstract":"\u003cp\u003eLocation of the X axis labels\u003c/p\u003e"},"Enums/LabelsFrom.html":{"name":"LabelsFrom","abstract":"\u003cp\u003eWhere the label data come from.\u003c/p\u003e"},"Enums/YAxisLabelPosistion.html":{"name":"YAxisLabelPosistion","abstract":"\u003cp\u003eLocation of the Y axis labels\u003c/p\u003e"},"Enums/DisplayValue.html":{"name":"DisplayValue","abstract":"\u003cp\u003eOption to display the markers\u0026rsquo; value inline with the marker..\u003c/p\u003e"},"Enums/Baseline.html":{"name":"Baseline","abstract":"\u003cp\u003eWhere to start drawing the line chart from.\u003c/p\u003e"},"Enums/Topline.html":{"name":"Topline","abstract":"\u003cp\u003eWhere to end drawing the chart.\u003c/p\u003e"},"Enums/YAxisLabelType.html":{"name":"YAxisLabelType","abstract":"\u003cp\u003eOption to choose between auto generated, numeric labels"},"Enums/AxisColour.html":{"name":"AxisColour","abstract":"\u003cp\u003eControls how second Y Axis will be styled.\u003c/p\u003e"},"Classes/ChartImageHostingController.html#/finalImage":{"name":"finalImage","parent_name":"ChartImageHostingController"},"Classes/ChartImageHostingController.html#/init(rootView:)":{"name":"init(rootView:)","parent_name":"ChartImageHostingController"},"Classes/ChartImageHostingController.html#/viewDidLoad()":{"name":"viewDidLoad()","parent_name":"ChartImageHostingController"},"Classes/ChartImageHostingController.html#/start()":{"name":"start()","parent_name":"ChartImageHostingController"},"Classes/ChartImageController.html#/controller":{"name":"controller","parent_name":"ChartImageController"},"Classes/ChartImageController.html#/init()":{"name":"init()","parent_name":"ChartImageController"},"Classes/PieChartData.html#/s:s12IdentifiableP2id2IDQzvp":{"name":"id","parent_name":"PieChartData"},"Classes/PieChartData.html#/s:13SwiftUICharts11CTChartDataP8dataSets7SetTypeQzvp":{"name":"dataSets","parent_name":"PieChartData"},"Classes/PieChartData.html#/s:13SwiftUICharts11CTChartDataP8metadataAA13ChartMetadataVvp":{"name":"metadata","parent_name":"PieChartData"},"Classes/PieChartData.html#/s:13SwiftUICharts11CTChartDataP10chartStyle7CTStyleQzvp":{"name":"chartStyle","parent_name":"PieChartData"},"Classes/PieChartData.html#/s:13SwiftUICharts11CTChartDataP7legendsSayAA06LegendD0VGvp":{"name":"legends","parent_name":"PieChartData"},"Classes/PieChartData.html#/s:13SwiftUICharts11CTChartDataP8infoViewAA04InfofD0Vy0D5PointQzGvp":{"name":"infoView","parent_name":"PieChartData"},"Classes/PieChartData.html#/s:13SwiftUICharts12PieChartDataC12subscriptionShy7Combine14AnyCancellableCGvp":{"name":"subscription","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"PieChartData"},"Classes/PieChartData.html#/s:13SwiftUICharts11PublishableP25touchedDataPointPublisher7Combine18PassthroughSubjectCy0eF0Qzs5NeverOGvp":{"name":"touchedDataPointPublisher","parent_name":"PieChartData"},"Classes/PieChartData.html#/s:13SwiftUICharts11CTChartDataP02noD4Text0A2UI0F0Vvp":{"name":"noDataText","parent_name":"PieChartData"},"Classes/PieChartData.html#/s:13SwiftUICharts11CTChartDataP9chartTypeAA05ChartF0OAD_AA0d3SetF0O04datahF0tvp":{"name":"chartType","parent_name":"PieChartData"},"Classes/PieChartData.html#/s:13SwiftUICharts12PieChartDataC16disableAnimationSbvp":{"name":"disableAnimation","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"PieChartData"},"Classes/PieChartData.html#/s:13SwiftUICharts12PieChartDataC8dataSets8metadata10chartStyle02noE4TextAcA0cE3SetV_AA0D8MetadataVAA0cdJ0V0A2UI0L0Vtcfc":{"name":"init(dataSets:metadata:chartStyle:noDataText:)","abstract":"\u003cp\u003eInitialises Pie Chart data.\u003c/p\u003e","parent_name":"PieChartData"},"Classes/PieChartData.html#/s:13SwiftUICharts11CTChartDataP19getTouchInteraction13touchLocation9chartSize0F0QzSo7CGPointV_So6CGRectVtF":{"name":"getTouchInteraction(touchLocation:chartSize:)","parent_name":"PieChartData"},"Classes/PieChartData.html#/s:13SwiftUICharts11CTChartDataP7SetTypeQa":{"name":"SetType","parent_name":"PieChartData"},"Classes/PieChartData.html#/s:13SwiftUICharts11CTChartDataP0D5PointQa":{"name":"DataPoint","parent_name":"PieChartData"},"Classes/PieChartData.html#/s:13SwiftUICharts11CTChartDataP7CTStyleQa":{"name":"CTStyle","parent_name":"PieChartData"},"Classes/PieChartData.html#/s:13SwiftUICharts11CTChartDataP03getD5Point13touchLocation9chartSizeySo7CGPointV_So6CGRectVtF":{"name":"getDataPoint(touchLocation:chartSize:)","parent_name":"PieChartData"},"Classes/PieChartData.html#/s:13SwiftUICharts11CTChartDataP16getPointLocation7dataSet05touchG09chartSizeSo7CGPointVSg0iF0Qz_AISo6CGRectVtF":{"name":"getPointLocation(dataSet:touchLocation:chartSize:)","parent_name":"PieChartData"},"Classes/DoughnutChartData.html#/s:s12IdentifiableP2id2IDQzvp":{"name":"id","parent_name":"DoughnutChartData"},"Classes/DoughnutChartData.html#/s:13SwiftUICharts11CTChartDataP8dataSets7SetTypeQzvp":{"name":"dataSets","parent_name":"DoughnutChartData"},"Classes/DoughnutChartData.html#/s:13SwiftUICharts11CTChartDataP8metadataAA13ChartMetadataVvp":{"name":"metadata","parent_name":"DoughnutChartData"},"Classes/DoughnutChartData.html#/s:13SwiftUICharts11CTChartDataP10chartStyle7CTStyleQzvp":{"name":"chartStyle","parent_name":"DoughnutChartData"},"Classes/DoughnutChartData.html#/s:13SwiftUICharts11CTChartDataP7legendsSayAA06LegendD0VGvp":{"name":"legends","parent_name":"DoughnutChartData"},"Classes/DoughnutChartData.html#/s:13SwiftUICharts11CTChartDataP8infoViewAA04InfofD0Vy0D5PointQzGvp":{"name":"infoView","parent_name":"DoughnutChartData"},"Classes/DoughnutChartData.html#/s:13SwiftUICharts17DoughnutChartDataC12subscriptionShy7Combine14AnyCancellableCGvp":{"name":"subscription","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"DoughnutChartData"},"Classes/DoughnutChartData.html#/s:13SwiftUICharts11PublishableP25touchedDataPointPublisher7Combine18PassthroughSubjectCy0eF0Qzs5NeverOGvp":{"name":"touchedDataPointPublisher","parent_name":"DoughnutChartData"},"Classes/DoughnutChartData.html#/s:13SwiftUICharts11CTChartDataP02noD4Text0A2UI0F0Vvp":{"name":"noDataText","parent_name":"DoughnutChartData"},"Classes/DoughnutChartData.html#/s:13SwiftUICharts11CTChartDataP9chartTypeAA05ChartF0OAD_AA0d3SetF0O04datahF0tvp":{"name":"chartType","parent_name":"DoughnutChartData"},"Classes/DoughnutChartData.html#/s:13SwiftUICharts17DoughnutChartDataC16disableAnimationSbvp":{"name":"disableAnimation","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"DoughnutChartData"},"Classes/DoughnutChartData.html#/s:13SwiftUICharts17DoughnutChartDataC8dataSets8metadata10chartStyle02noE4TextAcA03PieE3SetV_AA0D8MetadataVAA0cdJ0V0A2UI0L0Vtcfc":{"name":"init(dataSets:metadata:chartStyle:noDataText:)","abstract":"\u003cp\u003eInitialises Doughnut Chart data.\u003c/p\u003e","parent_name":"DoughnutChartData"},"Classes/DoughnutChartData.html#/s:13SwiftUICharts11CTChartDataP19getTouchInteraction13touchLocation9chartSize0F0QzSo7CGPointV_So6CGRectVtF":{"name":"getTouchInteraction(touchLocation:chartSize:)","parent_name":"DoughnutChartData"},"Classes/DoughnutChartData.html#/s:13SwiftUICharts11CTChartDataP7SetTypeQa":{"name":"SetType","parent_name":"DoughnutChartData"},"Classes/DoughnutChartData.html#/s:13SwiftUICharts11CTChartDataP0D5PointQa":{"name":"DataPoint","parent_name":"DoughnutChartData"},"Classes/DoughnutChartData.html#/s:13SwiftUICharts11CTChartDataP7CTStyleQa":{"name":"CTStyle","parent_name":"DoughnutChartData"},"Classes/DoughnutChartData.html#/s:13SwiftUICharts11CTChartDataP03getD5Point13touchLocation9chartSizeySo7CGPointV_So6CGRectVtF":{"name":"getDataPoint(touchLocation:chartSize:)","parent_name":"DoughnutChartData"},"Classes/DoughnutChartData.html#/s:13SwiftUICharts11CTChartDataP16getPointLocation7dataSet05touchG09chartSizeSo7CGPointVSg0iF0Qz_AISo6CGRectVtF":{"name":"getPointLocation(dataSet:touchLocation:chartSize:)","parent_name":"DoughnutChartData"},"Classes/RangedLineChartData.html#/s:s12IdentifiableP2id2IDQzvp":{"name":"id","parent_name":"RangedLineChartData"},"Classes/RangedLineChartData.html#/s:13SwiftUICharts11CTChartDataP8dataSets7SetTypeQzvp":{"name":"dataSets","parent_name":"RangedLineChartData"},"Classes/RangedLineChartData.html#/s:13SwiftUICharts11CTChartDataP8metadataAA13ChartMetadataVvp":{"name":"metadata","parent_name":"RangedLineChartData"},"Classes/RangedLineChartData.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP11xAxisLabelsSaySSGSgvp":{"name":"xAxisLabels","parent_name":"RangedLineChartData"},"Classes/RangedLineChartData.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP11yAxisLabelsSaySSGSgvp":{"name":"yAxisLabels","parent_name":"RangedLineChartData"},"Classes/RangedLineChartData.html#/s:13SwiftUICharts11CTChartDataP10chartStyle7CTStyleQzvp":{"name":"chartStyle","parent_name":"RangedLineChartData"},"Classes/RangedLineChartData.html#/s:13SwiftUICharts11CTChartDataP7legendsSayAA06LegendD0VGvp":{"name":"legends","parent_name":"RangedLineChartData"},"Classes/RangedLineChartData.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP04viewF0AA0e4ViewF0Vvp":{"name":"viewData","parent_name":"RangedLineChartData"},"Classes/RangedLineChartData.html#/s:13SwiftUICharts11CTChartDataP8infoViewAA04InfofD0Vy0D5PointQzGvp":{"name":"infoView","parent_name":"RangedLineChartData"},"Classes/RangedLineChartData.html#/s:13SwiftUICharts11CTChartDataP02noD4Text0A2UI0F0Vvp":{"name":"noDataText","parent_name":"RangedLineChartData"},"Classes/RangedLineChartData.html#/s:13SwiftUICharts11CTChartDataP9chartTypeAA05ChartF0OAD_AA0d3SetF0O04datahF0tvp":{"name":"chartType","parent_name":"RangedLineChartData"},"Classes/RangedLineChartData.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP09extraLineF0AA05ExtraiF0VSgvp":{"name":"extraLineData","parent_name":"RangedLineChartData"},"Classes/RangedLineChartData.html#/s:13SwiftUICharts19RangedLineChartDataC12subscriptionShy7Combine14AnyCancellableCGvp":{"name":"subscription","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"RangedLineChartData"},"Classes/RangedLineChartData.html#/s:13SwiftUICharts11PublishableP25touchedDataPointPublisher7Combine18PassthroughSubjectCy0eF0Qzs5NeverOGvp":{"name":"touchedDataPointPublisher","parent_name":"RangedLineChartData"},"Classes/RangedLineChartData.html#/s:13SwiftUICharts19RangedLineChartDataC16disableAnimationSbvp":{"name":"disableAnimation","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"RangedLineChartData"},"Classes/RangedLineChartData.html#/s:13SwiftUICharts19RangedLineChartDataC8dataSets8metadata11xAxisLabels01yjK010chartStyle02noF4TextAcA0cdF3SetV_AA0E8MetadataVSaySSGSgAoA0deM0V0A2UI0O0Vtcfc":{"name":"init(dataSets:metadata:xAxisLabels:yAxisLabels:chartStyle:noDataText:)","abstract":"\u003cp\u003eInitialises a ranged line chart.\u003c/p\u003e","parent_name":"RangedLineChartData"},"Classes/RangedLineChartData.html#/s:13SwiftUICharts15GetDataProtocolP7averageSdvp":{"name":"average","parent_name":"RangedLineChartData"},"Classes/RangedLineChartData.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP14getXAxisLabels7XLabelsQzyF":{"name":"getXAxisLabels()","parent_name":"RangedLineChartData"},"Classes/RangedLineChartData.html#/s:13SwiftUICharts23CTLineChartDataProtocolP14getPointMarker6PointsQzyF":{"name":"getPointMarker()","parent_name":"RangedLineChartData"},"Classes/RangedLineChartData.html#/s:13SwiftUICharts11CTChartDataP19getTouchInteraction13touchLocation9chartSize0F0QzSo7CGPointV_So6CGRectVtF":{"name":"getTouchInteraction(touchLocation:chartSize:)","parent_name":"RangedLineChartData"},"Classes/RangedLineChartData.html#/s:13SwiftUICharts11CTChartDataP16getPointLocation7dataSet05touchG09chartSizeSo7CGPointVSg0iF0Qz_AISo6CGRectVtF":{"name":"getPointLocation(dataSet:touchLocation:chartSize:)","parent_name":"RangedLineChartData"},"Classes/RangedLineChartData.html#/s:13SwiftUICharts11CTChartDataP03getD5Point13touchLocation9chartSizeySo7CGPointV_So6CGRectVtF":{"name":"getDataPoint(touchLocation:chartSize:)","parent_name":"RangedLineChartData"},"Classes/RangedLineChartData.html#/s:13SwiftUICharts11CTChartDataP7SetTypeQa":{"name":"SetType","parent_name":"RangedLineChartData"},"Classes/RangedLineChartData.html#/s:13SwiftUICharts11CTChartDataP0D5PointQa":{"name":"DataPoint","parent_name":"RangedLineChartData"},"Classes/MultiLineChartData.html#/s:s12IdentifiableP2id2IDQzvp":{"name":"id","parent_name":"MultiLineChartData"},"Classes/MultiLineChartData.html#/s:13SwiftUICharts11CTChartDataP8dataSets7SetTypeQzvp":{"name":"dataSets","parent_name":"MultiLineChartData"},"Classes/MultiLineChartData.html#/s:13SwiftUICharts11CTChartDataP8metadataAA13ChartMetadataVvp":{"name":"metadata","parent_name":"MultiLineChartData"},"Classes/MultiLineChartData.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP11xAxisLabelsSaySSGSgvp":{"name":"xAxisLabels","parent_name":"MultiLineChartData"},"Classes/MultiLineChartData.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP11yAxisLabelsSaySSGSgvp":{"name":"yAxisLabels","parent_name":"MultiLineChartData"},"Classes/MultiLineChartData.html#/s:13SwiftUICharts11CTChartDataP10chartStyle7CTStyleQzvp":{"name":"chartStyle","parent_name":"MultiLineChartData"},"Classes/MultiLineChartData.html#/s:13SwiftUICharts11CTChartDataP7legendsSayAA06LegendD0VGvp":{"name":"legends","parent_name":"MultiLineChartData"},"Classes/MultiLineChartData.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP04viewF0AA0e4ViewF0Vvp":{"name":"viewData","parent_name":"MultiLineChartData"},"Classes/MultiLineChartData.html#/s:13SwiftUICharts11CTChartDataP8infoViewAA04InfofD0Vy0D5PointQzGvp":{"name":"infoView","parent_name":"MultiLineChartData"},"Classes/MultiLineChartData.html#/s:13SwiftUICharts11CTChartDataP02noD4Text0A2UI0F0Vvp":{"name":"noDataText","parent_name":"MultiLineChartData"},"Classes/MultiLineChartData.html#/s:13SwiftUICharts11CTChartDataP9chartTypeAA05ChartF0OAD_AA0d3SetF0O04datahF0tvp":{"name":"chartType","parent_name":"MultiLineChartData"},"Classes/MultiLineChartData.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP09extraLineF0AA05ExtraiF0VSgvp":{"name":"extraLineData","parent_name":"MultiLineChartData"},"Classes/MultiLineChartData.html#/s:13SwiftUICharts18MultiLineChartDataC12subscriptionShy7Combine14AnyCancellableCGvp":{"name":"subscription","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"MultiLineChartData"},"Classes/MultiLineChartData.html#/s:13SwiftUICharts11PublishableP25touchedDataPointPublisher7Combine18PassthroughSubjectCy0eF0Qzs5NeverOGvp":{"name":"touchedDataPointPublisher","parent_name":"MultiLineChartData"},"Classes/MultiLineChartData.html#/s:13SwiftUICharts18MultiLineChartDataC16disableAnimationSbvp":{"name":"disableAnimation","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"MultiLineChartData"},"Classes/MultiLineChartData.html#/s:13SwiftUICharts18MultiLineChartDataC8dataSets8metadata11xAxisLabels01yjK010chartStyle02noF4TextAcA0cdF3SetV_AA0E8MetadataVSaySSGSgAoA0deM0V0A2UI0O0Vtcfc":{"name":"init(dataSets:metadata:xAxisLabels:yAxisLabels:chartStyle:noDataText:)","abstract":"\u003cp\u003eInitialises a Multi Line Chart.\u003c/p\u003e","parent_name":"MultiLineChartData"},"Classes/MultiLineChartData.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP14getXAxisLabels7XLabelsQzyF":{"name":"getXAxisLabels()","parent_name":"MultiLineChartData"},"Classes/MultiLineChartData.html#/s:13SwiftUICharts23CTLineChartDataProtocolP14getPointMarker6PointsQzyF":{"name":"getPointMarker()","parent_name":"MultiLineChartData"},"Classes/MultiLineChartData.html#/s:13SwiftUICharts11CTChartDataP19getTouchInteraction13touchLocation9chartSize0F0QzSo7CGPointV_So6CGRectVtF":{"name":"getTouchInteraction(touchLocation:chartSize:)","parent_name":"MultiLineChartData"},"Classes/MultiLineChartData.html#/s:13SwiftUICharts23CTLineChartDataProtocolP16getAccessibility6AccessQzyF":{"name":"getAccessibility()","parent_name":"MultiLineChartData"},"Classes/MultiLineChartData.html#/s:13SwiftUICharts11CTChartDataP7SetTypeQa":{"name":"SetType","parent_name":"MultiLineChartData"},"Classes/MultiLineChartData.html#/s:13SwiftUICharts11CTChartDataP0D5PointQa":{"name":"DataPoint","parent_name":"MultiLineChartData"},"Classes/MultiLineChartData.html#/s:13SwiftUICharts11CTChartDataP7CTStyleQa":{"name":"CTStyle","parent_name":"MultiLineChartData"},"Classes/MultiLineChartData.html#/s:13SwiftUICharts11CTChartDataP16getPointLocation7dataSet05touchG09chartSizeSo7CGPointVSg0iF0Qz_AISo6CGRectVtF":{"name":"getPointLocation(dataSet:touchLocation:chartSize:)","parent_name":"MultiLineChartData"},"Classes/MultiLineChartData.html#/s:13SwiftUICharts11CTChartDataP03getD5Point13touchLocation9chartSizeySo7CGPointV_So6CGRectVtF":{"name":"getDataPoint(touchLocation:chartSize:)","parent_name":"MultiLineChartData"},"Classes/LineChartData.html#/s:s12IdentifiableP2id2IDQzvp":{"name":"id","parent_name":"LineChartData"},"Classes/LineChartData.html#/s:13SwiftUICharts11CTChartDataP8dataSets7SetTypeQzvp":{"name":"dataSets","parent_name":"LineChartData"},"Classes/LineChartData.html#/s:13SwiftUICharts11CTChartDataP8metadataAA13ChartMetadataVvp":{"name":"metadata","parent_name":"LineChartData"},"Classes/LineChartData.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP11xAxisLabelsSaySSGSgvp":{"name":"xAxisLabels","parent_name":"LineChartData"},"Classes/LineChartData.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP11yAxisLabelsSaySSGSgvp":{"name":"yAxisLabels","parent_name":"LineChartData"},"Classes/LineChartData.html#/s:13SwiftUICharts11CTChartDataP10chartStyle7CTStyleQzvp":{"name":"chartStyle","parent_name":"LineChartData"},"Classes/LineChartData.html#/s:13SwiftUICharts11CTChartDataP7legendsSayAA06LegendD0VGvp":{"name":"legends","parent_name":"LineChartData"},"Classes/LineChartData.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP04viewF0AA0e4ViewF0Vvp":{"name":"viewData","parent_name":"LineChartData"},"Classes/LineChartData.html#/s:13SwiftUICharts11CTChartDataP8infoViewAA04InfofD0Vy0D5PointQzGvp":{"name":"infoView","parent_name":"LineChartData"},"Classes/LineChartData.html#/s:13SwiftUICharts11CTChartDataP02noD4Text0A2UI0F0Vvp":{"name":"noDataText","parent_name":"LineChartData"},"Classes/LineChartData.html#/s:13SwiftUICharts11CTChartDataP9chartTypeAA05ChartF0OAD_AA0d3SetF0O04datahF0tvp":{"name":"chartType","parent_name":"LineChartData"},"Classes/LineChartData.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP09extraLineF0AA05ExtraiF0VSgvp":{"name":"extraLineData","parent_name":"LineChartData"},"Classes/LineChartData.html#/s:13SwiftUICharts13LineChartDataC12subscriptionShy7Combine14AnyCancellableCGvp":{"name":"subscription","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"LineChartData"},"Classes/LineChartData.html#/s:13SwiftUICharts11PublishableP25touchedDataPointPublisher7Combine18PassthroughSubjectCy0eF0Qzs5NeverOGvp":{"name":"touchedDataPointPublisher","parent_name":"LineChartData"},"Classes/LineChartData.html#/s:13SwiftUICharts13LineChartDataC16disableAnimationSbvp":{"name":"disableAnimation","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"LineChartData"},"Classes/LineChartData.html#/s:13SwiftUICharts13LineChartDataC8dataSets8metadata11xAxisLabels01yiJ010chartStyle02noE4TextAcA0cE3SetV_AA0D8MetadataVSaySSGSgAoA0cdL0V0A2UI0N0Vtcfc":{"name":"init(dataSets:metadata:xAxisLabels:yAxisLabels:chartStyle:noDataText:)","abstract":"\u003cp\u003eInitialises a Single Line Chart.\u003c/p\u003e","parent_name":"LineChartData"},"Classes/LineChartData.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP14getXAxisLabels7XLabelsQzyF":{"name":"getXAxisLabels()","parent_name":"LineChartData"},"Classes/LineChartData.html#/s:13SwiftUICharts23CTLineChartDataProtocolP14getPointMarker6PointsQzyF":{"name":"getPointMarker()","parent_name":"LineChartData"},"Classes/LineChartData.html#/s:13SwiftUICharts11CTChartDataP19getTouchInteraction13touchLocation9chartSize0F0QzSo7CGPointV_So6CGRectVtF":{"name":"getTouchInteraction(touchLocation:chartSize:)","parent_name":"LineChartData"},"Classes/LineChartData.html#/s:13SwiftUICharts11CTChartDataP7SetTypeQa":{"name":"SetType","parent_name":"LineChartData"},"Classes/LineChartData.html#/s:13SwiftUICharts11CTChartDataP0D5PointQa":{"name":"DataPoint","parent_name":"LineChartData"},"Classes/LineChartData.html#/s:13SwiftUICharts11CTChartDataP16getPointLocation7dataSet05touchG09chartSizeSo7CGPointVSg0iF0Qz_AISo6CGRectVtF":{"name":"getPointLocation(dataSet:touchLocation:chartSize:)","parent_name":"LineChartData"},"Classes/LineChartData.html#/s:13SwiftUICharts11CTChartDataP03getD5Point13touchLocation9chartSizeySo7CGPointV_So6CGRectVtF":{"name":"getDataPoint(touchLocation:chartSize:)","parent_name":"LineChartData"},"Classes/StackedBarChartData.html#/s:s12IdentifiableP2id2IDQzvp":{"name":"id","parent_name":"StackedBarChartData"},"Classes/StackedBarChartData.html#/s:13SwiftUICharts11CTChartDataP8dataSets7SetTypeQzvp":{"name":"dataSets","parent_name":"StackedBarChartData"},"Classes/StackedBarChartData.html#/s:13SwiftUICharts11CTChartDataP8metadataAA13ChartMetadataVvp":{"name":"metadata","parent_name":"StackedBarChartData"},"Classes/StackedBarChartData.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP11xAxisLabelsSaySSGSgvp":{"name":"xAxisLabels","parent_name":"StackedBarChartData"},"Classes/StackedBarChartData.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP11yAxisLabelsSaySSGSgvp":{"name":"yAxisLabels","parent_name":"StackedBarChartData"},"Classes/StackedBarChartData.html#/s:13SwiftUICharts22CTBarChartDataProtocolP8barStyle03BarH0Qzvp":{"name":"barStyle","parent_name":"StackedBarChartData"},"Classes/StackedBarChartData.html#/s:13SwiftUICharts11CTChartDataP10chartStyle7CTStyleQzvp":{"name":"chartStyle","parent_name":"StackedBarChartData"},"Classes/StackedBarChartData.html#/s:13SwiftUICharts11CTChartDataP7legendsSayAA06LegendD0VGvp":{"name":"legends","parent_name":"StackedBarChartData"},"Classes/StackedBarChartData.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP04viewF0AA0e4ViewF0Vvp":{"name":"viewData","parent_name":"StackedBarChartData"},"Classes/StackedBarChartData.html#/s:13SwiftUICharts11CTChartDataP8infoViewAA04InfofD0Vy0D5PointQzGvp":{"name":"infoView","parent_name":"StackedBarChartData"},"Classes/StackedBarChartData.html#/s:13SwiftUICharts27CTMultiBarChartDataProtocolP6groupsSayAA08GroupingF0VGvp":{"name":"groups","parent_name":"StackedBarChartData"},"Classes/StackedBarChartData.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP09extraLineF0AA05ExtraiF0VSgvp":{"name":"extraLineData","parent_name":"StackedBarChartData"},"Classes/StackedBarChartData.html#/s:13SwiftUICharts19StackedBarChartDataC12subscriptionShy7Combine14AnyCancellableCGvp":{"name":"subscription","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"StackedBarChartData"},"Classes/StackedBarChartData.html#/s:13SwiftUICharts11PublishableP25touchedDataPointPublisher7Combine18PassthroughSubjectCy0eF0Qzs5NeverOGvp":{"name":"touchedDataPointPublisher","parent_name":"StackedBarChartData"},"Classes/StackedBarChartData.html#/s:13SwiftUICharts11CTChartDataP02noD4Text0A2UI0F0Vvp":{"name":"noDataText","parent_name":"StackedBarChartData"},"Classes/StackedBarChartData.html#/s:13SwiftUICharts11CTChartDataP9chartTypeAA05ChartF0OAD_AA0d3SetF0O04datahF0tvp":{"name":"chartType","parent_name":"StackedBarChartData"},"Classes/StackedBarChartData.html#/s:13SwiftUICharts19StackedBarChartDataC16disableAnimationSbvp":{"name":"disableAnimation","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"StackedBarChartData"},"Classes/StackedBarChartData.html#/s:13SwiftUICharts19StackedBarChartDataC8dataSets6groups8metadata11xAxisLabels01ykL08barStyle05chartN002noF4TextAcA0cdfH0V_SayAA08GroupingF0VGAA0E8MetadataVSaySSGSgAtA0dN0VAA0deN0V0A2UI0Q0Vtcfc":{"name":"init(dataSets:groups:metadata:xAxisLabels:yAxisLabels:barStyle:chartStyle:noDataText:)","abstract":"\u003cp\u003eInitialises a Stacked Bar Chart.\u003c/p\u003e","parent_name":"StackedBarChartData"},"Classes/StackedBarChartData.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP14getXAxisLabels7XLabelsQzyF":{"name":"getXAxisLabels()","parent_name":"StackedBarChartData"},"Classes/StackedBarChartData.html#/s:13SwiftUICharts11CTChartDataP19getTouchInteraction13touchLocation9chartSize0F0QzSo7CGPointV_So6CGRectVtF":{"name":"getTouchInteraction(touchLocation:chartSize:)","parent_name":"StackedBarChartData"},"Classes/StackedBarChartData.html#/s:13SwiftUICharts11CTChartDataP03getD5Point13touchLocation9chartSizeySo7CGPointV_So6CGRectVtF":{"name":"getDataPoint(touchLocation:chartSize:)","parent_name":"StackedBarChartData"},"Classes/StackedBarChartData.html#/s:13SwiftUICharts11CTChartDataP16getPointLocation7dataSet05touchG09chartSizeSo7CGPointVSg0iF0Qz_AISo6CGRectVtF":{"name":"getPointLocation(dataSet:touchLocation:chartSize:)","parent_name":"StackedBarChartData"},"Classes/StackedBarChartData.html#/s:13SwiftUICharts11CTChartDataP7SetTypeQa":{"name":"SetType","parent_name":"StackedBarChartData"},"Classes/StackedBarChartData.html#/s:13SwiftUICharts11CTChartDataP0D5PointQa":{"name":"DataPoint","parent_name":"StackedBarChartData"},"Classes/StackedBarChartData.html#/s:13SwiftUICharts11CTChartDataP7CTStyleQa":{"name":"CTStyle","parent_name":"StackedBarChartData"},"Classes/RangedBarChartData.html#/s:s12IdentifiableP2id2IDQzvp":{"name":"id","parent_name":"RangedBarChartData"},"Classes/RangedBarChartData.html#/s:13SwiftUICharts11CTChartDataP8dataSets7SetTypeQzvp":{"name":"dataSets","parent_name":"RangedBarChartData"},"Classes/RangedBarChartData.html#/s:13SwiftUICharts11CTChartDataP8metadataAA13ChartMetadataVvp":{"name":"metadata","parent_name":"RangedBarChartData"},"Classes/RangedBarChartData.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP11xAxisLabelsSaySSGSgvp":{"name":"xAxisLabels","parent_name":"RangedBarChartData"},"Classes/RangedBarChartData.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP11yAxisLabelsSaySSGSgvp":{"name":"yAxisLabels","parent_name":"RangedBarChartData"},"Classes/RangedBarChartData.html#/s:13SwiftUICharts22CTBarChartDataProtocolP8barStyle03BarH0Qzvp":{"name":"barStyle","parent_name":"RangedBarChartData"},"Classes/RangedBarChartData.html#/s:13SwiftUICharts11CTChartDataP10chartStyle7CTStyleQzvp":{"name":"chartStyle","parent_name":"RangedBarChartData"},"Classes/RangedBarChartData.html#/s:13SwiftUICharts11CTChartDataP7legendsSayAA06LegendD0VGvp":{"name":"legends","parent_name":"RangedBarChartData"},"Classes/RangedBarChartData.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP04viewF0AA0e4ViewF0Vvp":{"name":"viewData","parent_name":"RangedBarChartData"},"Classes/RangedBarChartData.html#/s:13SwiftUICharts11CTChartDataP8infoViewAA04InfofD0Vy0D5PointQzGvp":{"name":"infoView","parent_name":"RangedBarChartData"},"Classes/RangedBarChartData.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP09extraLineF0AA05ExtraiF0VSgvp":{"name":"extraLineData","parent_name":"RangedBarChartData"},"Classes/RangedBarChartData.html#/s:13SwiftUICharts18RangedBarChartDataC12subscriptionShy7Combine14AnyCancellableCGvp":{"name":"subscription","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"RangedBarChartData"},"Classes/RangedBarChartData.html#/s:13SwiftUICharts11PublishableP25touchedDataPointPublisher7Combine18PassthroughSubjectCy0eF0Qzs5NeverOGvp":{"name":"touchedDataPointPublisher","parent_name":"RangedBarChartData"},"Classes/RangedBarChartData.html#/s:13SwiftUICharts11CTChartDataP02noD4Text0A2UI0F0Vvp":{"name":"noDataText","parent_name":"RangedBarChartData"},"Classes/RangedBarChartData.html#/s:13SwiftUICharts11CTChartDataP9chartTypeAA05ChartF0OAD_AA0d3SetF0O04datahF0tvp":{"name":"chartType","parent_name":"RangedBarChartData"},"Classes/RangedBarChartData.html#/s:13SwiftUICharts18RangedBarChartDataC16disableAnimationSbvp":{"name":"disableAnimation","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"RangedBarChartData"},"Classes/RangedBarChartData.html#/s:13SwiftUICharts18RangedBarChartDataC8dataSets8metadata11xAxisLabels01yjK08barStyle05chartM002noF4TextAcA0cdF3SetV_AA0E8MetadataVSaySSGSgApA0dM0VAA0deM0V0A2UI0P0Vtcfc":{"name":"init(dataSets:metadata:xAxisLabels:yAxisLabels:barStyle:chartStyle:noDataText:)","abstract":"\u003cp\u003eInitialises a Ranged Bar Chart.\u003c/p\u003e","parent_name":"RangedBarChartData"},"Classes/RangedBarChartData.html#/s:13SwiftUICharts15GetDataProtocolP7averageSdvp":{"name":"average","parent_name":"RangedBarChartData"},"Classes/RangedBarChartData.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP14getXAxisLabels7XLabelsQzyF":{"name":"getXAxisLabels()","parent_name":"RangedBarChartData"},"Classes/RangedBarChartData.html#/s:13SwiftUICharts11CTChartDataP19getTouchInteraction13touchLocation9chartSize0F0QzSo7CGPointV_So6CGRectVtF":{"name":"getTouchInteraction(touchLocation:chartSize:)","parent_name":"RangedBarChartData"},"Classes/RangedBarChartData.html#/s:13SwiftUICharts11CTChartDataP03getD5Point13touchLocation9chartSizeySo7CGPointV_So6CGRectVtF":{"name":"getDataPoint(touchLocation:chartSize:)","parent_name":"RangedBarChartData"},"Classes/RangedBarChartData.html#/s:13SwiftUICharts11CTChartDataP16getPointLocation7dataSet05touchG09chartSizeSo7CGPointVSg0iF0Qz_AISo6CGRectVtF":{"name":"getPointLocation(dataSet:touchLocation:chartSize:)","parent_name":"RangedBarChartData"},"Classes/RangedBarChartData.html#/s:13SwiftUICharts11CTChartDataP7SetTypeQa":{"name":"SetType","parent_name":"RangedBarChartData"},"Classes/RangedBarChartData.html#/s:13SwiftUICharts11CTChartDataP0D5PointQa":{"name":"DataPoint","parent_name":"RangedBarChartData"},"Classes/RangedBarChartData.html#/s:13SwiftUICharts11CTChartDataP7CTStyleQa":{"name":"CTStyle","parent_name":"RangedBarChartData"},"Classes/HorizontalBarChartData.html#/s:s12IdentifiableP2id2IDQzvp":{"name":"id","parent_name":"HorizontalBarChartData"},"Classes/HorizontalBarChartData.html#/s:13SwiftUICharts11CTChartDataP8dataSets7SetTypeQzvp":{"name":"dataSets","parent_name":"HorizontalBarChartData"},"Classes/HorizontalBarChartData.html#/s:13SwiftUICharts11CTChartDataP8metadataAA13ChartMetadataVvp":{"name":"metadata","parent_name":"HorizontalBarChartData"},"Classes/HorizontalBarChartData.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP11xAxisLabelsSaySSGSgvp":{"name":"xAxisLabels","parent_name":"HorizontalBarChartData"},"Classes/HorizontalBarChartData.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP11yAxisLabelsSaySSGSgvp":{"name":"yAxisLabels","parent_name":"HorizontalBarChartData"},"Classes/HorizontalBarChartData.html#/s:13SwiftUICharts22CTBarChartDataProtocolP8barStyle03BarH0Qzvp":{"name":"barStyle","parent_name":"HorizontalBarChartData"},"Classes/HorizontalBarChartData.html#/s:13SwiftUICharts11CTChartDataP10chartStyle7CTStyleQzvp":{"name":"chartStyle","parent_name":"HorizontalBarChartData"},"Classes/HorizontalBarChartData.html#/s:13SwiftUICharts11CTChartDataP7legendsSayAA06LegendD0VGvp":{"name":"legends","parent_name":"HorizontalBarChartData"},"Classes/HorizontalBarChartData.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP04viewF0AA0e4ViewF0Vvp":{"name":"viewData","parent_name":"HorizontalBarChartData"},"Classes/HorizontalBarChartData.html#/s:13SwiftUICharts11CTChartDataP8infoViewAA04InfofD0Vy0D5PointQzGvp":{"name":"infoView","parent_name":"HorizontalBarChartData"},"Classes/HorizontalBarChartData.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP09extraLineF0AA05ExtraiF0VSgvp":{"name":"extraLineData","parent_name":"HorizontalBarChartData"},"Classes/HorizontalBarChartData.html#/s:13SwiftUICharts22HorizontalBarChartDataC12subscriptionShy7Combine14AnyCancellableCGvp":{"name":"subscription","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"HorizontalBarChartData"},"Classes/HorizontalBarChartData.html#/s:13SwiftUICharts11PublishableP25touchedDataPointPublisher7Combine18PassthroughSubjectCy0eF0Qzs5NeverOGvp":{"name":"touchedDataPointPublisher","parent_name":"HorizontalBarChartData"},"Classes/HorizontalBarChartData.html#/s:13SwiftUICharts11CTChartDataP02noD4Text0A2UI0F0Vvp":{"name":"noDataText","parent_name":"HorizontalBarChartData"},"Classes/HorizontalBarChartData.html#/s:13SwiftUICharts11CTChartDataP9chartTypeAA05ChartF0OAD_AA0d3SetF0O04datahF0tvp":{"name":"chartType","parent_name":"HorizontalBarChartData"},"Classes/HorizontalBarChartData.html#/s:13SwiftUICharts22HorizontalBarChartDataC16disableAnimationSbvp":{"name":"disableAnimation","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"HorizontalBarChartData"},"Classes/HorizontalBarChartData.html#/s:13SwiftUICharts22HorizontalBarChartDataC8dataSets8metadata11xAxisLabels01yjK08barStyle05chartM002noF4TextAcA0dF3SetV_AA0E8MetadataVSaySSGSgApA0dM0VAA0deM0V0A2UI0P0Vtcfc":{"name":"init(dataSets:metadata:xAxisLabels:yAxisLabels:barStyle:chartStyle:noDataText:)","abstract":"\u003cp\u003eInitialises a standard Bar Chart.\u003c/p\u003e","parent_name":"HorizontalBarChartData"},"Classes/HorizontalBarChartData.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP14getXAxisLabels7XLabelsQzyF":{"name":"getXAxisLabels()","parent_name":"HorizontalBarChartData"},"Classes/HorizontalBarChartData.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP14getYAxisLabels7YLabelsQzyF":{"name":"getYAxisLabels()","parent_name":"HorizontalBarChartData"},"Classes/HorizontalBarChartData.html#/s:13SwiftUICharts11CTChartDataP19getTouchInteraction13touchLocation9chartSize0F0QzSo7CGPointV_So6CGRectVtF":{"name":"getTouchInteraction(touchLocation:chartSize:)","parent_name":"HorizontalBarChartData"},"Classes/HorizontalBarChartData.html#/s:13SwiftUICharts11CTChartDataP03getD5Point13touchLocation9chartSizeySo7CGPointV_So6CGRectVtF":{"name":"getDataPoint(touchLocation:chartSize:)","parent_name":"HorizontalBarChartData"},"Classes/HorizontalBarChartData.html#/s:13SwiftUICharts11CTChartDataP16getPointLocation7dataSet05touchG09chartSizeSo7CGPointVSg0iF0Qz_AISo6CGRectVtF":{"name":"getPointLocation(dataSet:touchLocation:chartSize:)","parent_name":"HorizontalBarChartData"},"Classes/HorizontalBarChartData.html#/s:13SwiftUICharts11CTChartDataP7SetTypeQa":{"name":"SetType","parent_name":"HorizontalBarChartData"},"Classes/HorizontalBarChartData.html#/s:13SwiftUICharts11CTChartDataP0D5PointQa":{"name":"DataPoint","parent_name":"HorizontalBarChartData"},"Classes/HorizontalBarChartData.html#/s:13SwiftUICharts11CTChartDataP7CTStyleQa":{"name":"CTStyle","parent_name":"HorizontalBarChartData"},"Classes/GroupedBarChartData.html#/s:s12IdentifiableP2id2IDQzvp":{"name":"id","parent_name":"GroupedBarChartData"},"Classes/GroupedBarChartData.html#/s:13SwiftUICharts11CTChartDataP8dataSets7SetTypeQzvp":{"name":"dataSets","parent_name":"GroupedBarChartData"},"Classes/GroupedBarChartData.html#/s:13SwiftUICharts11CTChartDataP8metadataAA13ChartMetadataVvp":{"name":"metadata","parent_name":"GroupedBarChartData"},"Classes/GroupedBarChartData.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP11xAxisLabelsSaySSGSgvp":{"name":"xAxisLabels","parent_name":"GroupedBarChartData"},"Classes/GroupedBarChartData.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP11yAxisLabelsSaySSGSgvp":{"name":"yAxisLabels","parent_name":"GroupedBarChartData"},"Classes/GroupedBarChartData.html#/s:13SwiftUICharts22CTBarChartDataProtocolP8barStyle03BarH0Qzvp":{"name":"barStyle","parent_name":"GroupedBarChartData"},"Classes/GroupedBarChartData.html#/s:13SwiftUICharts11CTChartDataP10chartStyle7CTStyleQzvp":{"name":"chartStyle","parent_name":"GroupedBarChartData"},"Classes/GroupedBarChartData.html#/s:13SwiftUICharts11CTChartDataP7legendsSayAA06LegendD0VGvp":{"name":"legends","parent_name":"GroupedBarChartData"},"Classes/GroupedBarChartData.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP04viewF0AA0e4ViewF0Vvp":{"name":"viewData","parent_name":"GroupedBarChartData"},"Classes/GroupedBarChartData.html#/s:13SwiftUICharts11CTChartDataP8infoViewAA04InfofD0Vy0D5PointQzGvp":{"name":"infoView","parent_name":"GroupedBarChartData"},"Classes/GroupedBarChartData.html#/s:13SwiftUICharts27CTMultiBarChartDataProtocolP6groupsSayAA08GroupingF0VGvp":{"name":"groups","parent_name":"GroupedBarChartData"},"Classes/GroupedBarChartData.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP09extraLineF0AA05ExtraiF0VSgvp":{"name":"extraLineData","parent_name":"GroupedBarChartData"},"Classes/GroupedBarChartData.html#/s:13SwiftUICharts19GroupedBarChartDataC12subscriptionShy7Combine14AnyCancellableCGvp":{"name":"subscription","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"GroupedBarChartData"},"Classes/GroupedBarChartData.html#/s:13SwiftUICharts11PublishableP25touchedDataPointPublisher7Combine18PassthroughSubjectCy0eF0Qzs5NeverOGvp":{"name":"touchedDataPointPublisher","parent_name":"GroupedBarChartData"},"Classes/GroupedBarChartData.html#/s:13SwiftUICharts11CTChartDataP02noD4Text0A2UI0F0Vvp":{"name":"noDataText","parent_name":"GroupedBarChartData"},"Classes/GroupedBarChartData.html#/s:13SwiftUICharts11CTChartDataP9chartTypeAA05ChartF0OAD_AA0d3SetF0O04datahF0tvp":{"name":"chartType","parent_name":"GroupedBarChartData"},"Classes/GroupedBarChartData.html#/s:13SwiftUICharts19GroupedBarChartDataC16disableAnimationSbvp":{"name":"disableAnimation","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"GroupedBarChartData"},"Classes/GroupedBarChartData.html#/s:13SwiftUICharts19GroupedBarChartDataC8dataSets6groups8metadata11xAxisLabels01ykL08barStyle05chartN002noF4TextAcA0cdfH0V_SayAA08GroupingF0VGAA0E8MetadataVSaySSGSgAtA0dN0VAA0deN0V0A2UI0Q0Vtcfc":{"name":"init(dataSets:groups:metadata:xAxisLabels:yAxisLabels:barStyle:chartStyle:noDataText:)","abstract":"\u003cp\u003eInitialises a Grouped Bar Chart.\u003c/p\u003e","parent_name":"GroupedBarChartData"},"Classes/GroupedBarChartData.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP14getXAxisLabels7XLabelsQzyF":{"name":"getXAxisLabels()","parent_name":"GroupedBarChartData"},"Classes/GroupedBarChartData.html#/s:13SwiftUICharts11CTChartDataP19getTouchInteraction13touchLocation9chartSize0F0QzSo7CGPointV_So6CGRectVtF":{"name":"getTouchInteraction(touchLocation:chartSize:)","parent_name":"GroupedBarChartData"},"Classes/GroupedBarChartData.html#/s:13SwiftUICharts11CTChartDataP03getD5Point13touchLocation9chartSizeySo7CGPointV_So6CGRectVtF":{"name":"getDataPoint(touchLocation:chartSize:)","parent_name":"GroupedBarChartData"},"Classes/GroupedBarChartData.html#/s:13SwiftUICharts11CTChartDataP16getPointLocation7dataSet05touchG09chartSizeSo7CGPointVSg0iF0Qz_AISo6CGRectVtF":{"name":"getPointLocation(dataSet:touchLocation:chartSize:)","parent_name":"GroupedBarChartData"},"Classes/GroupedBarChartData.html#/s:13SwiftUICharts11CTChartDataP7SetTypeQa":{"name":"SetType","parent_name":"GroupedBarChartData"},"Classes/GroupedBarChartData.html#/s:13SwiftUICharts11CTChartDataP0D5PointQa":{"name":"DataPoint","parent_name":"GroupedBarChartData"},"Classes/GroupedBarChartData.html#/s:13SwiftUICharts11CTChartDataP7CTStyleQa":{"name":"CTStyle","parent_name":"GroupedBarChartData"},"Classes/BarChartData.html#/s:s12IdentifiableP2id2IDQzvp":{"name":"id","parent_name":"BarChartData"},"Classes/BarChartData.html#/s:13SwiftUICharts11CTChartDataP8dataSets7SetTypeQzvp":{"name":"dataSets","parent_name":"BarChartData"},"Classes/BarChartData.html#/s:13SwiftUICharts11CTChartDataP8metadataAA13ChartMetadataVvp":{"name":"metadata","parent_name":"BarChartData"},"Classes/BarChartData.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP11xAxisLabelsSaySSGSgvp":{"name":"xAxisLabels","parent_name":"BarChartData"},"Classes/BarChartData.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP11yAxisLabelsSaySSGSgvp":{"name":"yAxisLabels","parent_name":"BarChartData"},"Classes/BarChartData.html#/s:13SwiftUICharts22CTBarChartDataProtocolP8barStyle03BarH0Qzvp":{"name":"barStyle","parent_name":"BarChartData"},"Classes/BarChartData.html#/s:13SwiftUICharts11CTChartDataP10chartStyle7CTStyleQzvp":{"name":"chartStyle","parent_name":"BarChartData"},"Classes/BarChartData.html#/s:13SwiftUICharts11CTChartDataP7legendsSayAA06LegendD0VGvp":{"name":"legends","parent_name":"BarChartData"},"Classes/BarChartData.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP04viewF0AA0e4ViewF0Vvp":{"name":"viewData","parent_name":"BarChartData"},"Classes/BarChartData.html#/s:13SwiftUICharts11CTChartDataP8infoViewAA04InfofD0Vy0D5PointQzGvp":{"name":"infoView","parent_name":"BarChartData"},"Classes/BarChartData.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP09extraLineF0AA05ExtraiF0VSgvp":{"name":"extraLineData","parent_name":"BarChartData"},"Classes/BarChartData.html#/s:13SwiftUICharts12BarChartDataC12subscriptionShy7Combine14AnyCancellableCGvp":{"name":"subscription","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"BarChartData"},"Classes/BarChartData.html#/s:13SwiftUICharts11PublishableP25touchedDataPointPublisher7Combine18PassthroughSubjectCy0eF0Qzs5NeverOGvp":{"name":"touchedDataPointPublisher","parent_name":"BarChartData"},"Classes/BarChartData.html#/s:13SwiftUICharts11CTChartDataP02noD4Text0A2UI0F0Vvp":{"name":"noDataText","parent_name":"BarChartData"},"Classes/BarChartData.html#/s:13SwiftUICharts11CTChartDataP9chartTypeAA05ChartF0OAD_AA0d3SetF0O04datahF0tvp":{"name":"chartType","parent_name":"BarChartData"},"Classes/BarChartData.html#/s:13SwiftUICharts12BarChartDataC16disableAnimationSbvp":{"name":"disableAnimation","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"BarChartData"},"Classes/BarChartData.html#/s:13SwiftUICharts12BarChartDataC8dataSets8metadata11xAxisLabels01yiJ08barStyle05chartL002noE4TextAcA0cE3SetV_AA0D8MetadataVSaySSGSgApA0cL0VAA0cdL0V0A2UI0O0Vtcfc":{"name":"init(dataSets:metadata:xAxisLabels:yAxisLabels:barStyle:chartStyle:noDataText:)","abstract":"\u003cp\u003eInitialises a standard Bar Chart.\u003c/p\u003e","parent_name":"BarChartData"},"Classes/BarChartData.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP14getXAxisLabels7XLabelsQzyF":{"name":"getXAxisLabels()","parent_name":"BarChartData"},"Classes/BarChartData.html#/s:13SwiftUICharts11CTChartDataP19getTouchInteraction13touchLocation9chartSize0F0QzSo7CGPointV_So6CGRectVtF":{"name":"getTouchInteraction(touchLocation:chartSize:)","parent_name":"BarChartData"},"Classes/BarChartData.html#/s:13SwiftUICharts11CTChartDataP03getD5Point13touchLocation9chartSizeySo7CGPointV_So6CGRectVtF":{"name":"getDataPoint(touchLocation:chartSize:)","parent_name":"BarChartData"},"Classes/BarChartData.html#/s:13SwiftUICharts11CTChartDataP16getPointLocation7dataSet05touchG09chartSizeSo7CGPointVSg0iF0Qz_AISo6CGRectVtF":{"name":"getPointLocation(dataSet:touchLocation:chartSize:)","parent_name":"BarChartData"},"Classes/BarChartData.html#/s:13SwiftUICharts11CTChartDataP7SetTypeQa":{"name":"SetType","parent_name":"BarChartData"},"Classes/BarChartData.html#/s:13SwiftUICharts11CTChartDataP0D5PointQa":{"name":"DataPoint","parent_name":"BarChartData"},"Classes/BarChartData.html#/s:13SwiftUICharts11CTChartDataP7CTStyleQa":{"name":"CTStyle","parent_name":"BarChartData"},"Classes/BarChartData.html":{"name":"BarChartData","abstract":"\u003cp\u003eData for drawing and styling a standard Bar Chart.\u003c/p\u003e"},"Classes/GroupedBarChartData.html":{"name":"GroupedBarChartData","abstract":"\u003cp\u003eData model for drawing and styling a Grouped Bar Chart.\u003c/p\u003e"},"Classes/HorizontalBarChartData.html":{"name":"HorizontalBarChartData","abstract":"\u003cp\u003eData for drawing and styling a standard Bar Chart.\u003c/p\u003e"},"Classes/RangedBarChartData.html":{"name":"RangedBarChartData","abstract":"\u003cp\u003eData for drawing and styling a ranged Bar Chart.\u003c/p\u003e"},"Classes/StackedBarChartData.html":{"name":"StackedBarChartData","abstract":"\u003cp\u003eData model for drawing and styling a Stacked Bar Chart.\u003c/p\u003e"},"Classes/LineChartData.html":{"name":"LineChartData","abstract":"\u003cp\u003eData for drawing and styling a single line, line chart.\u003c/p\u003e"},"Classes/MultiLineChartData.html":{"name":"MultiLineChartData","abstract":"\u003cp\u003eData for drawing and styling a multi line, line chart.\u003c/p\u003e"},"Classes/RangedLineChartData.html":{"name":"RangedLineChartData","abstract":"\u003cp\u003eData for drawing and styling ranged line chart.\u003c/p\u003e"},"Classes/DoughnutChartData.html":{"name":"DoughnutChartData","abstract":"\u003cp\u003eData for drawing and styling a doughnut chart.\u003c/p\u003e"},"Classes/PieChartData.html":{"name":"PieChartData","abstract":"\u003cp\u003eData for drawing and styling a pie chart.\u003c/p\u003e"},"Classes/ChartImageController.html":{"name":"ChartImageController"},"Classes/ChartImageHostingController.html":{"name":"ChartImageHostingController"},"Classes.html":{"name":"Classes","abstract":"\u003cp\u003eThe following classes are available globally.\u003c/p\u003e"},"Enums.html":{"name":"Enumerations","abstract":"\u003cp\u003eThe following enumerations are available globally.\u003c/p\u003e"},"Extensions.html":{"name":"Extensions","abstract":"\u003cp\u003eThe following extensions are available globally.\u003c/p\u003e"},"Protocols.html":{"name":"Protocols","abstract":"\u003cp\u003eThe following protocols are available globally.\u003c/p\u003e"},"Structs.html":{"name":"Structures","abstract":"\u003cp\u003eThe following structures are available globally.\u003c/p\u003e"}} \ No newline at end of file diff --git a/docs/docsets/SwiftUICharts.docset/Contents/Resources/docSet.dsidx b/docs/docsets/SwiftUICharts.docset/Contents/Resources/docSet.dsidx new file mode 100644 index 00000000..4da51eae Binary files /dev/null and b/docs/docsets/SwiftUICharts.docset/Contents/Resources/docSet.dsidx differ diff --git a/docs/docsets/SwiftUICharts.tgz b/docs/docsets/SwiftUICharts.tgz new file mode 100644 index 00000000..0228cc2b Binary files /dev/null and b/docs/docsets/SwiftUICharts.tgz differ diff --git a/docs/img/carat.png b/docs/img/carat.png new file mode 100755 index 00000000..29d2f7fd Binary files /dev/null and b/docs/img/carat.png differ diff --git a/docs/img/dash.png b/docs/img/dash.png new file mode 100755 index 00000000..6f694c7a Binary files /dev/null and b/docs/img/dash.png differ diff --git a/docs/img/spinner.gif b/docs/img/spinner.gif new file mode 100644 index 00000000..e3038d0a Binary files /dev/null and b/docs/img/spinner.gif differ diff --git a/docs/index.html b/docs/index.html new file mode 100644 index 00000000..ce9b92af --- /dev/null +++ b/docs/index.html @@ -0,0 +1,1029 @@ + + + + SwiftUICharts Reference + + + + + + + + + + + + + + + +
+

+ + SwiftUICharts 2.10.2 Docs + + (87% documented) +

+ +
+
+ +
+
+ + +
+ + + +
+ +
+ +
+
+ +

SwiftUICharts

+ +

A charts / plotting library for SwiftUI. Works on macOS, iOS, watchOS, and tvOS and has accessibility and Localization features built in.

+ +

Demo Project

+ +

Documentation

+ +

Working on a Version 3 with a more SwiftUI feel to the API.

+

Chart Types

+ + +

Line Charts

+

Line Chart

+ +

Example of Line Chart

+ +

Uses LineChartData data model.

+
LineChart(chartData: LineChartData)
+
+ +
+

Filled Line Chart

+ +

Example of Filled Line Chart

+ +

Uses LineChartData data model.

+
FilledLineChart(chartData: LineChartData)
+
+ +
+

Multi Line Chart

+ +

Example of Multi Line Chart

+ +

Uses MultiLineChartData data model.

+
MultiLineChart(chartData: MultiLineChartData)
+
+ +
+

Ranged Line Chart

+ +

Example of Ranged Line Chart

+ +

Uses RangedLineChart data model.

+
RangedLineChart(chartData: RangedLineChartData)
+
+ +
+

Bar Charts

+

Bar Chart

+ +

Example of Bar Chart

+ +

Uses BarChartData data model.

+
BarChart(chartData: BarChartData)
+
+ +
+

Range Bar Chart

+ +

Example of Range Bar Chart

+ +

Uses RangedBarChartData data model.

+
RangedBarChart(chartData: RangedBarChartData)
+
+ +
+

Grouped Bar Chart

+ +

Example of Grouped Bar Chart

+ +

Uses GroupedBarChartData data model.

+
GroupedBarChart(chartData: GroupedBarChartData)
+
+ +
+

Stacked Bar Chart

+ +

Example of Stacked Bar Chart

+ +

Uses StackedBarChartData data model.

+
StackedBarChart(chartData: StackedBarChartData)
+
+ +
+

Pie Charts

+

Pie Chart

+ +

Example of Pie Chart

+ +

Uses PieChartData data model.

+
PieChart(chartData: PieChartData)
+
+ +
+

Doughnut Chart

+ +

Example of Doughnut Chart

+ +

Uses DoughnutChartData data model.

+
DoughnutChart(chartData: DoughnutChartData)
+
+ +
+

Documentation

+

Installation

+ +

Swift Package Manager

+
File > Swift Packages > Add Package Dependency...
+
+
import SwiftUICharts
+
+ +

If you have trouble with views not updating correctly, add .id() to your View.

+
LineChart(chartData: LineChartData)
+    .id(LineChartData.id)
+
+ +
+

View Modifiers

+ + + +

The order of the view modifiers is some what important as the modifiers are various types of stacks that wrap around the previous views.

+ +
+

All Chart Types

+

Touch Overlay

+ +

Detects input either from touch of pointer. Finds the nearest data point and displays the relevent information where specified.

+ +

The location of the info box is set in ChartStyle -> infoBoxPlacement.

+
.touchOverlay(chartData: CTChartData, specifier: String, unit: TouchUnit)
+
+ +
    +
  • chartData: Chart data model.
  • +
  • specifier: Decimal precision for labels.
  • +
  • unit: Unit to put before or after the value.
  • +
+ +

Setup within Chart Data –> Chart Style

+ +
+

Info Box

+ +

Displays the information from Touch Overlay if InfoBoxPlacement is set to .infoBox.

+ +

The location of the info box is set in ChartStyle -> infoBoxPlacement.

+
.infoBox(chartData: CTChartData)
+
+ +
    +
  • chartData: Chart data model.
  • +
+ +
+

Floating Info Box

+ +

Displays the information from Touch Overlay if InfoBoxPlacement is set to .floating.

+ +

The location of the info box is set in ChartStyle -> infoBoxPlacement.

+
.floatingInfoBox(chartData: CTChartData)
+
+ +
    +
  • chartData: Chart data model.
  • +
+ +
+

Header Box

+ +

Displays the metadata about the chart, set in Chart Data -> ChartMetadata

+ +

Displays the information from Touch Overlay if InfoBoxPlacement is set to .header.

+ +

The location of the info box is set in ChartStyle -> infoBoxPlacement.

+
.headerBox(chartData: CTChartData)
+
+ +
+

Legends

+ +

Displays legends.

+
.legends()
+
+ +

Lays out markers over each of the data point.

+ +
+

Line and Bar Charts

+

Average Line

+ +

Shows a marker line at the average of all the data points.

+
.averageLine(chartData: CTLineBarChartDataProtocol,
+             markerName: "Average",
+             labelPosition: .yAxis(specifier: "%.0f"),
+             lineColour: .primary,
+             strokeStyle: StrokeStyle(lineWidth: 3, dash: [5,10]))
+
+ +
    +
  • chartData: Chart data model.
  • +
  • markerName: Title of marker, for the legend.
  • +
  • labelPosition: Option to display the markers’ value inline with the marker.
  • +
  • labelColour: Colour of the Text.
  • +
  • labelBackground: Colour of the background.
  • +
  • lineColour: Line Colour.
  • +
  • strokeStyle: Style of Stroke.
  • +
+ +
+

Y Axis Point Of Interest

+ +

Configurable Point of interest

+
.yAxisPOI(chartData: CTLineBarChartDataProtocol,
+          markerName: "Marker",
+          markerValue: 123,
+          labelPosition: .center(specifier: "%.0f"),
+          labelColour: Color.black,
+          labelBackground: Color.orange,
+          lineColour: Color.orange,
+          strokeStyle: StrokeStyle(lineWidth: 3, dash: [5,10]))
+
+ +
    +
  • chartData: Chart data model.
  • +
  • markerName: Title of marker, for the legend.
  • +
  • markerValue: Value to mark
  • +
  • labelPosition: Option to display the markers’ value inline with the marker.
  • +
  • labelColour: Colour of the Text.
  • +
  • labelBackground: Colour of the background.
  • +
  • lineColour: Line Colour.
  • +
  • strokeStyle: Style of Stroke.
  • +
+ +
+

X Axis Grid

+ +

Adds vertical lines along the X axis.

+
.xAxisGrid(chartData: CTLineBarChartDataProtocol)
+
+ +

Setup within ChartData -> ChartStyle.

+ +
+

Y Axis Grid

+ +

Adds horizontal lines along the Y axis.

+
.yAxisGrid(chartData: CTLineBarChartDataProtocol)
+
+ +

Setup within ChartData -> ChartStyle.

+ +
+

X Axis Labels

+ +

Labels for the X axis.

+
.xAxisLabels(chartData: CTLineBarChartDataProtocol)
+
+ +

Setup within ChartData -> ChartStyle.

+ +
+

Y Axis Labels

+ +

Automatically generated labels for the Y axis

+
.yAxisLabels(chartData: CTLineBarChartDataProtocol, specifier: "%.0f")
+
+ +
    +
  • specifier: Decimal precision specifier.
  • +
+ +

Setup within ChartData -> ChartStyle.

+ +

yAxisLabelType:

+
case numeric // Auto generated, numeric labels.
+case custom // Custom labels array
+
+ +

Custom is set from ChartData -> yAxisLabels

+ +
+

Linear Trend Line

+ +

A line across the chart to show the trend in the data.

+
.linearTrendLine(chartData: CTLineBarChartDataProtocol,
+                 firstValue: Double,
+                 lastValue: Double,
+                 lineColour: ColourStyle,
+                 strokeStyle: StrokeStyle)
+
+ +
+

Line Charts

+

Point Markers

+ +

Lays out markers over each of the data point.

+
.pointMarkers(chartData: CTLineChartDataProtocol)
+
+ +

Setup within Data Set -> PointStyle.

+ +
+

Filled Top Line

+ +

Adds an independent line on top of FilledLineChart.

+
.filledTopLine(chartData: LineChartData,
+               lineColour: ColourStyle,
+               strokeStyle: StrokeStyle)
+
+ +

Allows for a hard line over the data point with a semi opaque fill.

+ +
+

Examples

+

Line Chart

+
struct LineChartDemoView: View {
+
+    let data : LineChartData = weekOfData()
+
+    var body: some View {
+        VStack {
+            LineChart(chartData: data)
+                .pointMarkers(chartData: data)
+                .touchOverlay(chartData: data, specifier: "%.0f")
+                .yAxisPOI(chartData: data,
+                          markerName: "Step Count Aim",
+                          markerValue: 15_000,
+                          labelPosition: .center(specifier: "%.0f"),
+                          labelColour: Color.black,
+                          labelBackground: Color(red: 1.0, green: 0.75, blue: 0.25),
+                          lineColour: Color(red: 1.0, green: 0.75, blue: 0.25),
+                          strokeStyle: StrokeStyle(lineWidth: 3, dash: [5,10]))
+                .yAxisPOI(chartData: data,
+                          markerName: "Minimum Recommended",
+                          markerValue: 10_000,
+                          labelPosition: .center(specifier: "%.0f"),
+                          labelColour: Color.white,
+                          labelBackground: Color(red: 0.25, green: 0.75, blue: 1.0),
+                          lineColour: Color(red: 0.25, green: 0.75, blue: 1.0),
+                          strokeStyle: StrokeStyle(lineWidth: 3, dash: [5,10]))
+                .averageLine(chartData: data,
+                             strokeStyle: StrokeStyle(lineWidth: 3, dash: [5,10]))
+                .xAxisGrid(chartData: data)
+                .yAxisGrid(chartData: data)
+                .xAxisLabels(chartData: data)
+                .yAxisLabels(chartData: data)
+                .infoBox(chartData: data)
+                .headerBox(chartData: data)
+                .legends(chartData: data, columns: [GridItem(.flexible()), GridItem(.flexible())])
+                .id(data.id)
+                .frame(minWidth: 150, maxWidth: 900, minHeight: 150, idealHeight: 250, maxHeight: 400, alignment: .center)
+        }
+        .navigationTitle("Week of Data")
+    }
+
+    static func weekOfData() -> LineChartData {
+        let data = LineDataSet(dataPoints: [
+            LineChartDataPoint(value: 12000, xAxisLabel: "M", description: "Monday"),
+            LineChartDataPoint(value: 10000, xAxisLabel: "T", description: "Tuesday"),
+            LineChartDataPoint(value: 8000,  xAxisLabel: "W", description: "Wednesday"),
+            LineChartDataPoint(value: 17500, xAxisLabel: "T", description: "Thursday"),
+            LineChartDataPoint(value: 16000, xAxisLabel: "F", description: "Friday"),
+            LineChartDataPoint(value: 11000, xAxisLabel: "S", description: "Saturday"),
+            LineChartDataPoint(value: 9000,  xAxisLabel: "S", description: "Sunday")
+        ],
+        legendTitle: "Steps",
+        pointStyle: PointStyle(),
+        style: LineStyle(lineColour: ColourStyle(colour: .red), lineType: .curvedLine))
+
+        let metadata   = ChartMetadata(title: "Step Count", subtitle: "Over a Week")
+
+        let gridStyle  = GridStyle(numberOfLines: 7,
+                                   lineColour   : Color(.lightGray).opacity(0.5),
+                                   lineWidth    : 1,
+                                   dash         : [8],
+                                   dashPhase    : 0)
+
+        let chartStyle = LineChartStyle(infoBoxPlacement    : .infoBox(isStatic: false),
+                                        infoBoxBorderColour : Color.primary,
+                                        infoBoxBorderStyle  : StrokeStyle(lineWidth: 1),
+
+                                        markerType          : .vertical(attachment: .line(dot: .style(DotStyle()))),
+
+                                        xAxisGridStyle      : gridStyle,
+                                        xAxisLabelPosition  : .bottom,
+                                        xAxisLabelColour    : Color.primary,
+                                        xAxisLabelsFrom     : .dataPoint(rotation: .degrees(0)),
+
+                                        yAxisGridStyle      : gridStyle,
+                                        yAxisLabelPosition  : .leading,
+                                        yAxisLabelColour    : Color.primary,
+                                        yAxisNumberOfLabels : 7,
+
+                                        baseline            : .minimumWithMaximum(of: 5000),
+                                        topLine             : .maximum(of: 20000),
+
+                                        globalAnimation     : .easeOut(duration: 1))
+
+        return LineChartData(dataSets       : data,
+                             metadata       : metadata,
+                             chartStyle     : chartStyle)
+
+    }
+}
+
+

Accessibility

+ +

Inside certain elements are additional tags to help describe the chart for VoiceOver.

+ +

See Localization of Accessibility

+

Localization

+ +

All labels support localization. There are, however, some hidden labels that are there to support VoiceOver. See Localization of Accessibility

+

Localization of Accessibility

+ +

See the localization demo in the Demo Project.

+ +
+ +

Voice over description of a datapoint when the user touches the area closest to the data point. +The VoiceOver will say <chart title>, <data point value>, <data point description>.

+
"%@ <local_description_of_a_data_point>" = "%@, <Description of a data point>";
+
+ +

Read out before a poiMarker. +The VoiceOver will say <p o i marker>, <marker legend title>, <marker value>.

+
"P-O-I-Marker" = "P O I Marker";
+"Average" = "Average";
+
+ +

Voice over description of a poiMarker. +The VoiceOver will say <P-O-I-Marker>, <marker legend title>, <marker value>.

+
"<local_marker_legend_title> %@" = "local_marker_legend_title, %@";
+
+ +

Read out before a axisLabel. +The VoiceOver will say <axisLabel>, <marker value>.

+
"X-Axis-Label" = "X Axis Label";
+"Y-Axis-Label" = "Y Axis Label";
+
+ +

Read out before a legend. +The VoiceOver will say <chart type legend>, <legend title>.

+
"Line-Chart-Legend" = "Line Chart Legend";
+"P-O-I-Marker-Legend" = "P O I Marker Legend";
+"Bar-Chart-Legend" = "Bar Chart Legend";
+"P-O-I-Marker-Legend" = "P O I Marker Legend";
+"Pie-Chart-Legend" = "Pie Chart Legend";
+"P-O-I-Marker-Legend" = "P O I Marker Legend";
+
+ +
+
+ + +
+
+ + + diff --git a/docs/js/jazzy.js b/docs/js/jazzy.js new file mode 100755 index 00000000..1ac86992 --- /dev/null +++ b/docs/js/jazzy.js @@ -0,0 +1,74 @@ +// Jazzy - https://github.com/realm/jazzy +// Copyright Realm Inc. +// SPDX-License-Identifier: MIT + +window.jazzy = {'docset': false} +if (typeof window.dash != 'undefined') { + document.documentElement.className += ' dash' + window.jazzy.docset = true +} +if (navigator.userAgent.match(/xcode/i)) { + document.documentElement.className += ' xcode' + window.jazzy.docset = true +} + +function toggleItem($link, $content) { + var animationDuration = 300; + $link.toggleClass('token-open'); + $content.slideToggle(animationDuration); +} + +function itemLinkToContent($link) { + return $link.parent().parent().next(); +} + +// On doc load + hash-change, open any targeted item +function openCurrentItemIfClosed() { + if (window.jazzy.docset) { + return; + } + var $link = $(`a[name="${location.hash.substring(1)}"]`).nextAll('.token'); + $content = itemLinkToContent($link); + if ($content.is(':hidden')) { + toggleItem($link, $content); + } +} + +$(openCurrentItemIfClosed); +$(window).on('hashchange', openCurrentItemIfClosed); + +// On item link ('token') click, toggle its discussion +$('.token').on('click', function(event) { + if (window.jazzy.docset) { + return; + } + var $link = $(this); + toggleItem($link, itemLinkToContent($link)); + + // Keeps the document from jumping to the hash. + var href = $link.attr('href'); + if (history.pushState) { + history.pushState({}, '', href); + } else { + location.hash = href; + } + event.preventDefault(); +}); + +// Clicks on links to the current, closed, item need to open the item +$("a:not('.token')").on('click', function() { + if (location == this.href) { + openCurrentItemIfClosed(); + } +}); + +// KaTeX rendering +if ("katex" in window) { + $($('.math').each( (_, element) => { + katex.render(element.textContent, element, { + displayMode: $(element).hasClass('m-block'), + throwOnError: false, + trust: true + }); + })) +} diff --git a/docs/js/jazzy.search.js b/docs/js/jazzy.search.js new file mode 100644 index 00000000..359cdbb8 --- /dev/null +++ b/docs/js/jazzy.search.js @@ -0,0 +1,74 @@ +// Jazzy - https://github.com/realm/jazzy +// Copyright Realm Inc. +// SPDX-License-Identifier: MIT + +$(function(){ + var $typeahead = $('[data-typeahead]'); + var $form = $typeahead.parents('form'); + var searchURL = $form.attr('action'); + + function displayTemplate(result) { + return result.name; + } + + function suggestionTemplate(result) { + var t = '
'; + t += '' + result.name + ''; + if (result.parent_name) { + t += '' + result.parent_name + ''; + } + t += '
'; + return t; + } + + $typeahead.one('focus', function() { + $form.addClass('loading'); + + $.getJSON(searchURL).then(function(searchData) { + const searchIndex = lunr(function() { + this.ref('url'); + this.field('name'); + this.field('abstract'); + for (const [url, doc] of Object.entries(searchData)) { + this.add({url: url, name: doc.name, abstract: doc.abstract}); + } + }); + + $typeahead.typeahead( + { + highlight: true, + minLength: 3, + autoselect: true + }, + { + limit: 10, + display: displayTemplate, + templates: { suggestion: suggestionTemplate }, + source: function(query, sync) { + const lcSearch = query.toLowerCase(); + const results = searchIndex.query(function(q) { + q.term(lcSearch, { boost: 100 }); + q.term(lcSearch, { + boost: 10, + wildcard: lunr.Query.wildcard.TRAILING + }); + }).map(function(result) { + var doc = searchData[result.ref]; + doc.url = result.ref; + return doc; + }); + sync(results); + } + } + ); + $form.removeClass('loading'); + $typeahead.trigger('focus'); + }); + }); + + var baseURL = searchURL.slice(0, -"search.json".length); + + $typeahead.on('typeahead:select', function(e, result) { + window.location = baseURL + result.url; + }); +}); diff --git a/docs/js/jquery.min.js b/docs/js/jquery.min.js new file mode 100644 index 00000000..7f37b5d9 --- /dev/null +++ b/docs/js/jquery.min.js @@ -0,0 +1,2 @@ +/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */ +!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(ie,e){"use strict";var oe=[],r=Object.getPrototypeOf,ae=oe.slice,g=oe.flat?function(e){return oe.flat.call(e)}:function(e){return oe.concat.apply([],e)},s=oe.push,se=oe.indexOf,n={},i=n.toString,ue=n.hasOwnProperty,o=ue.toString,a=o.call(Object),le={},v=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},y=function(e){return null!=e&&e===e.window},C=ie.document,u={type:!0,src:!0,nonce:!0,noModule:!0};function m(e,t,n){var r,i,o=(n=n||C).createElement("script");if(o.text=e,t)for(r in u)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function x(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[i.call(e)]||"object":typeof e}var t="3.7.1",l=/HTML$/i,ce=function(e,t){return new ce.fn.init(e,t)};function c(e){var t=!!e&&"length"in e&&e.length,n=x(e);return!v(e)&&!y(e)&&("array"===n||0===t||"number"==typeof t&&0+~]|"+ge+")"+ge+"*"),x=new RegExp(ge+"|>"),j=new RegExp(g),A=new RegExp("^"+t+"$"),D={ID:new RegExp("^#("+t+")"),CLASS:new RegExp("^\\.("+t+")"),TAG:new RegExp("^("+t+"|[*])"),ATTR:new RegExp("^"+p),PSEUDO:new RegExp("^"+g),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ge+"*(even|odd|(([+-]|)(\\d*)n|)"+ge+"*(?:([+-]|)"+ge+"*(\\d+)|))"+ge+"*\\)|)","i"),bool:new RegExp("^(?:"+f+")$","i"),needsContext:new RegExp("^"+ge+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ge+"*((?:-\\d)?\\d*)"+ge+"*\\)|)(?=[^-]|$)","i")},N=/^(?:input|select|textarea|button)$/i,q=/^h\d$/i,L=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,H=/[+~]/,O=new RegExp("\\\\[\\da-fA-F]{1,6}"+ge+"?|\\\\([^\\r\\n\\f])","g"),P=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},M=function(){V()},R=J(function(e){return!0===e.disabled&&fe(e,"fieldset")},{dir:"parentNode",next:"legend"});try{k.apply(oe=ae.call(ye.childNodes),ye.childNodes),oe[ye.childNodes.length].nodeType}catch(e){k={apply:function(e,t){me.apply(e,ae.call(t))},call:function(e){me.apply(e,ae.call(arguments,1))}}}function I(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&(V(e),e=e||T,C)){if(11!==p&&(u=L.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return k.call(n,a),n}else if(f&&(a=f.getElementById(i))&&I.contains(e,a)&&a.id===i)return k.call(n,a),n}else{if(u[2])return k.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&e.getElementsByClassName)return k.apply(n,e.getElementsByClassName(i)),n}if(!(h[t+" "]||d&&d.test(t))){if(c=t,f=e,1===p&&(x.test(t)||m.test(t))){(f=H.test(t)&&U(e.parentNode)||e)==e&&le.scope||((s=e.getAttribute("id"))?s=ce.escapeSelector(s):e.setAttribute("id",s=S)),o=(l=Y(t)).length;while(o--)l[o]=(s?"#"+s:":scope")+" "+Q(l[o]);c=l.join(",")}try{return k.apply(n,f.querySelectorAll(c)),n}catch(e){h(t,!0)}finally{s===S&&e.removeAttribute("id")}}}return re(t.replace(ve,"$1"),e,n,r)}function W(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function F(e){return e[S]=!0,e}function $(e){var t=T.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function B(t){return function(e){return fe(e,"input")&&e.type===t}}function _(t){return function(e){return(fe(e,"input")||fe(e,"button"))&&e.type===t}}function z(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&R(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function X(a){return F(function(o){return o=+o,F(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function U(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function V(e){var t,n=e?e.ownerDocument||e:ye;return n!=T&&9===n.nodeType&&n.documentElement&&(r=(T=n).documentElement,C=!ce.isXMLDoc(T),i=r.matches||r.webkitMatchesSelector||r.msMatchesSelector,r.msMatchesSelector&&ye!=T&&(t=T.defaultView)&&t.top!==t&&t.addEventListener("unload",M),le.getById=$(function(e){return r.appendChild(e).id=ce.expando,!T.getElementsByName||!T.getElementsByName(ce.expando).length}),le.disconnectedMatch=$(function(e){return i.call(e,"*")}),le.scope=$(function(){return T.querySelectorAll(":scope")}),le.cssHas=$(function(){try{return T.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}}),le.getById?(b.filter.ID=function(e){var t=e.replace(O,P);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&C){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(O,P);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&C){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},b.find.CLASS=function(e,t){if("undefined"!=typeof t.getElementsByClassName&&C)return t.getElementsByClassName(e)},d=[],$(function(e){var t;r.appendChild(e).innerHTML="",e.querySelectorAll("[selected]").length||d.push("\\["+ge+"*(?:value|"+f+")"),e.querySelectorAll("[id~="+S+"-]").length||d.push("~="),e.querySelectorAll("a#"+S+"+*").length||d.push(".#.+[+~]"),e.querySelectorAll(":checked").length||d.push(":checked"),(t=T.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),r.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&d.push(":enabled",":disabled"),(t=T.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||d.push("\\["+ge+"*name"+ge+"*="+ge+"*(?:''|\"\")")}),le.cssHas||d.push(":has"),d=d.length&&new RegExp(d.join("|")),l=function(e,t){if(e===t)return a=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!le.sortDetached&&t.compareDocumentPosition(e)===n?e===T||e.ownerDocument==ye&&I.contains(ye,e)?-1:t===T||t.ownerDocument==ye&&I.contains(ye,t)?1:o?se.call(o,e)-se.call(o,t):0:4&n?-1:1)}),T}for(e in I.matches=function(e,t){return I(e,null,null,t)},I.matchesSelector=function(e,t){if(V(e),C&&!h[t+" "]&&(!d||!d.test(t)))try{var n=i.call(e,t);if(n||le.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){h(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(O,P),e[3]=(e[3]||e[4]||e[5]||"").replace(O,P),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||I.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&I.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return D.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&j.test(n)&&(t=Y(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(O,P).toLowerCase();return"*"===e?function(){return!0}:function(e){return fe(e,t)}},CLASS:function(e){var t=s[e+" "];return t||(t=new RegExp("(^|"+ge+")"+e+"("+ge+"|$)"))&&s(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=I.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function T(e,n,r){return v(n)?ce.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?ce.grep(e,function(e){return e===n!==r}):"string"!=typeof n?ce.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(ce.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||k,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:S.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof ce?t[0]:t,ce.merge(this,ce.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:C,!0)),w.test(r[1])&&ce.isPlainObject(t))for(r in t)v(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=C.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):v(e)?void 0!==n.ready?n.ready(e):e(ce):ce.makeArray(e,this)}).prototype=ce.fn,k=ce(C);var E=/^(?:parents|prev(?:Until|All))/,j={children:!0,contents:!0,next:!0,prev:!0};function A(e,t){while((e=e[t])&&1!==e.nodeType);return e}ce.fn.extend({has:function(e){var t=ce(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,Ce=/^$|^module$|\/(?:java|ecma)script/i;xe=C.createDocumentFragment().appendChild(C.createElement("div")),(be=C.createElement("input")).setAttribute("type","radio"),be.setAttribute("checked","checked"),be.setAttribute("name","t"),xe.appendChild(be),le.checkClone=xe.cloneNode(!0).cloneNode(!0).lastChild.checked,xe.innerHTML="",le.noCloneChecked=!!xe.cloneNode(!0).lastChild.defaultValue,xe.innerHTML="",le.option=!!xe.lastChild;var ke={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function Se(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&fe(e,t)?ce.merge([e],n):n}function Ee(e,t){for(var n=0,r=e.length;n",""]);var je=/<|&#?\w+;/;function Ae(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d\s*$/g;function Re(e,t){return fe(e,"table")&&fe(11!==t.nodeType?t:t.firstChild,"tr")&&ce(e).children("tbody")[0]||e}function Ie(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function We(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Fe(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(_.hasData(e)&&(s=_.get(e).events))for(i in _.remove(t,"handle events"),s)for(n=0,r=s[i].length;n").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),C.head.appendChild(r[0])},abort:function(){i&&i()}}});var Jt,Kt=[],Zt=/(=)\?(?=&|$)|\?\?/;ce.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Kt.pop()||ce.expando+"_"+jt.guid++;return this[e]=!0,e}}),ce.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Zt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Zt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=v(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Zt,"$1"+r):!1!==e.jsonp&&(e.url+=(At.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||ce.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=ie[r],ie[r]=function(){o=arguments},n.always(function(){void 0===i?ce(ie).removeProp(r):ie[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Kt.push(r)),o&&v(i)&&i(o[0]),o=i=void 0}),"script"}),le.createHTMLDocument=((Jt=C.implementation.createHTMLDocument("").body).innerHTML="
",2===Jt.childNodes.length),ce.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(le.createHTMLDocument?((r=(t=C.implementation.createHTMLDocument("")).createElement("base")).href=C.location.href,t.head.appendChild(r)):t=C),o=!n&&[],(i=w.exec(e))?[t.createElement(i[1])]:(i=Ae([e],t,o),o&&o.length&&ce(o).remove(),ce.merge([],i.childNodes)));var r,i,o},ce.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1").append(ce.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},ce.expr.pseudos.animated=function(t){return ce.grep(ce.timers,function(e){return t===e.elem}).length},ce.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=ce.css(e,"position"),c=ce(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=ce.css(e,"top"),u=ce.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),v(t)&&(t=t.call(e,n,ce.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},ce.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){ce.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===ce.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===ce.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=ce(e).offset()).top+=ce.css(e,"borderTopWidth",!0),i.left+=ce.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-ce.css(r,"marginTop",!0),left:t.left-i.left-ce.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===ce.css(e,"position"))e=e.offsetParent;return e||J})}}),ce.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;ce.fn[t]=function(e){return M(this,function(e,t,n){var r;if(y(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),ce.each(["top","left"],function(e,n){ce.cssHooks[n]=Ye(le.pixelPosition,function(e,t){if(t)return t=Ge(e,n),_e.test(t)?ce(e).position()[n]+"px":t})}),ce.each({Height:"height",Width:"width"},function(a,s){ce.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){ce.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return M(this,function(e,t,n){var r;return y(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?ce.css(e,t,i):ce.style(e,t,n,i)},s,n?e:void 0,n)}})}),ce.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){ce.fn[t]=function(e){return this.on(t,e)}}),ce.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)}}),ce.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){ce.fn[n]=function(e,t){return 00){var c=e.utils.clone(r)||{};c.position=[a,l],c.index=s.length,s.push(new e.Token(i.slice(a,o),c))}a=o+1}}return s},e.tokenizer.separator=/[\s\-]+/,e.Pipeline=function(){this._stack=[]},e.Pipeline.registeredFunctions=Object.create(null),e.Pipeline.registerFunction=function(t,r){r in this.registeredFunctions&&e.utils.warn("Overwriting existing registered function: "+r),t.label=r,e.Pipeline.registeredFunctions[t.label]=t},e.Pipeline.warnIfFunctionNotRegistered=function(t){var r=t.label&&t.label in this.registeredFunctions;r||e.utils.warn("Function is not registered with pipeline. This may cause problems when serialising the index.\n",t)},e.Pipeline.load=function(t){var r=new e.Pipeline;return t.forEach(function(t){var i=e.Pipeline.registeredFunctions[t];if(!i)throw new Error("Cannot load unregistered function: "+t);r.add(i)}),r},e.Pipeline.prototype.add=function(){var t=Array.prototype.slice.call(arguments);t.forEach(function(t){e.Pipeline.warnIfFunctionNotRegistered(t),this._stack.push(t)},this)},e.Pipeline.prototype.after=function(t,r){e.Pipeline.warnIfFunctionNotRegistered(r);var i=this._stack.indexOf(t);if(i==-1)throw new Error("Cannot find existingFn");i+=1,this._stack.splice(i,0,r)},e.Pipeline.prototype.before=function(t,r){e.Pipeline.warnIfFunctionNotRegistered(r);var i=this._stack.indexOf(t);if(i==-1)throw new Error("Cannot find existingFn");this._stack.splice(i,0,r)},e.Pipeline.prototype.remove=function(e){var t=this._stack.indexOf(e);t!=-1&&this._stack.splice(t,1)},e.Pipeline.prototype.run=function(e){for(var t=this._stack.length,r=0;r1&&(se&&(r=n),s!=e);)i=r-t,n=t+Math.floor(i/2),s=this.elements[2*n];return s==e?2*n:s>e?2*n:sa?l+=2:o==a&&(t+=r[u+1]*i[l+1],u+=2,l+=2);return t},e.Vector.prototype.similarity=function(e){return this.dot(e)/this.magnitude()||0},e.Vector.prototype.toArray=function(){for(var e=new Array(this.elements.length/2),t=1,r=0;t0){var o,a=s.str.charAt(0);a in s.node.edges?o=s.node.edges[a]:(o=new e.TokenSet,s.node.edges[a]=o),1==s.str.length&&(o["final"]=!0),n.push({node:o,editsRemaining:s.editsRemaining,str:s.str.slice(1)})}if(0!=s.editsRemaining){if("*"in s.node.edges)var u=s.node.edges["*"];else{var u=new e.TokenSet;s.node.edges["*"]=u}if(0==s.str.length&&(u["final"]=!0),n.push({node:u,editsRemaining:s.editsRemaining-1,str:s.str}),s.str.length>1&&n.push({node:s.node,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)}),1==s.str.length&&(s.node["final"]=!0),s.str.length>=1){if("*"in s.node.edges)var l=s.node.edges["*"];else{var l=new e.TokenSet;s.node.edges["*"]=l}1==s.str.length&&(l["final"]=!0),n.push({node:l,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)})}if(s.str.length>1){var c,h=s.str.charAt(0),d=s.str.charAt(1);d in s.node.edges?c=s.node.edges[d]:(c=new e.TokenSet,s.node.edges[d]=c),1==s.str.length&&(c["final"]=!0),n.push({node:c,editsRemaining:s.editsRemaining-1,str:h+s.str.slice(2)})}}}return i},e.TokenSet.fromString=function(t){for(var r=new e.TokenSet,i=r,n=0,s=t.length;n=e;t--){var r=this.uncheckedNodes[t],i=r.child.toString();i in this.minimizedNodes?r.parent.edges[r["char"]]=this.minimizedNodes[i]:(r.child._str=i,this.minimizedNodes[i]=r.child),this.uncheckedNodes.pop()}},e.Index=function(e){this.invertedIndex=e.invertedIndex,this.fieldVectors=e.fieldVectors,this.tokenSet=e.tokenSet,this.fields=e.fields,this.pipeline=e.pipeline},e.Index.prototype.search=function(t){return this.query(function(r){var i=new e.QueryParser(t,r);i.parse()})},e.Index.prototype.query=function(t){for(var r=new e.Query(this.fields),i=Object.create(null),n=Object.create(null),s=Object.create(null),o=Object.create(null),a=Object.create(null),u=0;u1?this._b=1:this._b=e},e.Builder.prototype.k1=function(e){this._k1=e},e.Builder.prototype.add=function(t,r){var i=t[this._ref],n=Object.keys(this._fields);this._documents[i]=r||{},this.documentCount+=1;for(var s=0;s=this.length)return e.QueryLexer.EOS;var t=this.str.charAt(this.pos);return this.pos+=1,t},e.QueryLexer.prototype.width=function(){return this.pos-this.start},e.QueryLexer.prototype.ignore=function(){this.start==this.pos&&(this.pos+=1),this.start=this.pos},e.QueryLexer.prototype.backup=function(){this.pos-=1},e.QueryLexer.prototype.acceptDigitRun=function(){var t,r;do t=this.next(),r=t.charCodeAt(0);while(r>47&&r<58);t!=e.QueryLexer.EOS&&this.backup()},e.QueryLexer.prototype.more=function(){return this.pos1&&(t.backup(),t.emit(e.QueryLexer.TERM)),t.ignore(),t.more())return e.QueryLexer.lexText},e.QueryLexer.lexEditDistance=function(t){return t.ignore(),t.acceptDigitRun(),t.emit(e.QueryLexer.EDIT_DISTANCE),e.QueryLexer.lexText},e.QueryLexer.lexBoost=function(t){return t.ignore(),t.acceptDigitRun(),t.emit(e.QueryLexer.BOOST),e.QueryLexer.lexText},e.QueryLexer.lexEOS=function(t){t.width()>0&&t.emit(e.QueryLexer.TERM)},e.QueryLexer.termSeparator=e.tokenizer.separator,e.QueryLexer.lexText=function(t){for(;;){var r=t.next();if(r==e.QueryLexer.EOS)return e.QueryLexer.lexEOS;if(92!=r.charCodeAt(0)){if(":"==r)return e.QueryLexer.lexField;if("~"==r)return t.backup(),t.width()>0&&t.emit(e.QueryLexer.TERM),e.QueryLexer.lexEditDistance;if("^"==r)return t.backup(),t.width()>0&&t.emit(e.QueryLexer.TERM),e.QueryLexer.lexBoost;if("+"==r&&1===t.width())return t.emit(e.QueryLexer.PRESENCE),e.QueryLexer.lexText;if("-"==r&&1===t.width())return t.emit(e.QueryLexer.PRESENCE),e.QueryLexer.lexText;if(r.match(e.QueryLexer.termSeparator))return e.QueryLexer.lexTerm}else t.escapeCharacter()}},e.QueryParser=function(t,r){this.lexer=new e.QueryLexer(t),this.query=r,this.currentClause={},this.lexemeIdx=0},e.QueryParser.prototype.parse=function(){this.lexer.run(),this.lexemes=this.lexer.lexemes;for(var t=e.QueryParser.parseClause;t;)t=t(this);return this.query},e.QueryParser.prototype.peekLexeme=function(){return this.lexemes[this.lexemeIdx]},e.QueryParser.prototype.consumeLexeme=function(){var e=this.peekLexeme();return this.lexemeIdx+=1,e},e.QueryParser.prototype.nextClause=function(){var e=this.currentClause;this.query.clause(e),this.currentClause={}},e.QueryParser.parseClause=function(t){var r=t.peekLexeme();if(void 0!=r)switch(r.type){case e.QueryLexer.PRESENCE:return e.QueryParser.parsePresence;case e.QueryLexer.FIELD:return e.QueryParser.parseField;case e.QueryLexer.TERM:return e.QueryParser.parseTerm;default:var i="expected either a field or a term, found "+r.type;throw r.str.length>=1&&(i+=" with value '"+r.str+"'"),new e.QueryParseError(i,r.start,r.end)}},e.QueryParser.parsePresence=function(t){var r=t.consumeLexeme();if(void 0!=r){switch(r.str){case"-":t.currentClause.presence=e.Query.presence.PROHIBITED;break;case"+":t.currentClause.presence=e.Query.presence.REQUIRED;break;default:var i="unrecognised presence operator'"+r.str+"'";throw new e.QueryParseError(i,r.start,r.end)}var n=t.peekLexeme();if(void 0==n){var i="expecting term or field, found nothing";throw new e.QueryParseError(i,r.start,r.end)}switch(n.type){case e.QueryLexer.FIELD:return e.QueryParser.parseField;case e.QueryLexer.TERM:return e.QueryParser.parseTerm;default:var i="expecting term or field, found '"+n.type+"'";throw new e.QueryParseError(i,n.start,n.end)}}},e.QueryParser.parseField=function(t){var r=t.consumeLexeme();if(void 0!=r){if(t.query.allFields.indexOf(r.str)==-1){var i=t.query.allFields.map(function(e){return"'"+e+"'"}).join(", "),n="unrecognised field '"+r.str+"', possible fields: "+i;throw new e.QueryParseError(n,r.start,r.end)}t.currentClause.fields=[r.str];var s=t.peekLexeme();if(void 0==s){var n="expecting term, found nothing";throw new e.QueryParseError(n,r.start,r.end)}switch(s.type){case e.QueryLexer.TERM:return e.QueryParser.parseTerm;default:var n="expecting term, found '"+s.type+"'";throw new e.QueryParseError(n,s.start,s.end)}}},e.QueryParser.parseTerm=function(t){var r=t.consumeLexeme();if(void 0!=r){t.currentClause.term=r.str.toLowerCase(),r.str.indexOf("*")!=-1&&(t.currentClause.usePipeline=!1);var i=t.peekLexeme();if(void 0==i)return void t.nextClause();switch(i.type){case e.QueryLexer.TERM:return t.nextClause(),e.QueryParser.parseTerm;case e.QueryLexer.FIELD:return t.nextClause(),e.QueryParser.parseField;case e.QueryLexer.EDIT_DISTANCE:return e.QueryParser.parseEditDistance;case e.QueryLexer.BOOST:return e.QueryParser.parseBoost;case e.QueryLexer.PRESENCE:return t.nextClause(),e.QueryParser.parsePresence;default:var n="Unexpected lexeme type '"+i.type+"'";throw new e.QueryParseError(n,i.start,i.end)}}},e.QueryParser.parseEditDistance=function(t){var r=t.consumeLexeme();if(void 0!=r){var i=parseInt(r.str,10);if(isNaN(i)){var n="edit distance must be numeric";throw new e.QueryParseError(n,r.start,r.end)}t.currentClause.editDistance=i;var s=t.peekLexeme();if(void 0==s)return void t.nextClause();switch(s.type){case e.QueryLexer.TERM:return t.nextClause(),e.QueryParser.parseTerm;case e.QueryLexer.FIELD:return t.nextClause(),e.QueryParser.parseField;case e.QueryLexer.EDIT_DISTANCE:return e.QueryParser.parseEditDistance;case e.QueryLexer.BOOST:return e.QueryParser.parseBoost;case e.QueryLexer.PRESENCE:return t.nextClause(),e.QueryParser.parsePresence;default:var n="Unexpected lexeme type '"+s.type+"'";throw new e.QueryParseError(n,s.start,s.end)}}},e.QueryParser.parseBoost=function(t){var r=t.consumeLexeme();if(void 0!=r){var i=parseInt(r.str,10);if(isNaN(i)){var n="boost must be numeric";throw new e.QueryParseError(n,r.start,r.end)}t.currentClause.boost=i;var s=t.peekLexeme();if(void 0==s)return void t.nextClause();switch(s.type){case e.QueryLexer.TERM:return t.nextClause(),e.QueryParser.parseTerm;case e.QueryLexer.FIELD:return t.nextClause(),e.QueryParser.parseField;case e.QueryLexer.EDIT_DISTANCE:return e.QueryParser.parseEditDistance;case e.QueryLexer.BOOST:return e.QueryParser.parseBoost;case e.QueryLexer.PRESENCE:return t.nextClause(),e.QueryParser.parsePresence;default:var n="Unexpected lexeme type '"+s.type+"'";throw new e.QueryParseError(n,s.start,s.end)}}},function(e,t){"function"==typeof define&&define.amd?define(t):"object"==typeof exports?module.exports=t():e.lunr=t()}(this,function(){return e})}(); diff --git a/docs/js/typeahead.jquery.js b/docs/js/typeahead.jquery.js new file mode 100644 index 00000000..bcb734be --- /dev/null +++ b/docs/js/typeahead.jquery.js @@ -0,0 +1,1695 @@ +/*! + * typeahead.js 1.3.3 + * https://github.com/corejavascript/typeahead.js + * Copyright 2013-2024 Twitter, Inc. and other contributors; Licensed MIT + */ + + +(function(root, factory) { + if (typeof define === "function" && define.amd) { + define([ "jquery" ], function(a0) { + return factory(a0); + }); + } else if (typeof module === "object" && module.exports) { + module.exports = factory(require("jquery")); + } else { + factory(root["jQuery"]); + } +})(this, function($) { + var _ = function() { + "use strict"; + return { + isMsie: function() { + return /(msie|trident)/i.test(navigator.userAgent) ? navigator.userAgent.match(/(msie |rv:)(\d+(.\d+)?)/i)[2] : false; + }, + isBlankString: function(str) { + return !str || /^\s*$/.test(str); + }, + escapeRegExChars: function(str) { + return str.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&"); + }, + isString: function(obj) { + return typeof obj === "string"; + }, + isNumber: function(obj) { + return typeof obj === "number"; + }, + isArray: $.isArray, + isFunction: $.isFunction, + isObject: $.isPlainObject, + isUndefined: function(obj) { + return typeof obj === "undefined"; + }, + isElement: function(obj) { + return !!(obj && obj.nodeType === 1); + }, + isJQuery: function(obj) { + return obj instanceof $; + }, + toStr: function toStr(s) { + return _.isUndefined(s) || s === null ? "" : s + ""; + }, + bind: $.proxy, + each: function(collection, cb) { + $.each(collection, reverseArgs); + function reverseArgs(index, value) { + return cb(value, index); + } + }, + map: $.map, + filter: $.grep, + every: function(obj, test) { + var result = true; + if (!obj) { + return result; + } + $.each(obj, function(key, val) { + if (!(result = test.call(null, val, key, obj))) { + return false; + } + }); + return !!result; + }, + some: function(obj, test) { + var result = false; + if (!obj) { + return result; + } + $.each(obj, function(key, val) { + if (result = test.call(null, val, key, obj)) { + return false; + } + }); + return !!result; + }, + mixin: $.extend, + identity: function(x) { + return x; + }, + clone: function(obj) { + return $.extend(true, {}, obj); + }, + getIdGenerator: function() { + var counter = 0; + return function() { + return counter++; + }; + }, + templatify: function templatify(obj) { + return $.isFunction(obj) ? obj : template; + function template() { + return String(obj); + } + }, + defer: function(fn) { + setTimeout(fn, 0); + }, + debounce: function(func, wait, immediate) { + var timeout, result; + return function() { + var context = this, args = arguments, later, callNow; + later = function() { + timeout = null; + if (!immediate) { + result = func.apply(context, args); + } + }; + callNow = immediate && !timeout; + clearTimeout(timeout); + timeout = setTimeout(later, wait); + if (callNow) { + result = func.apply(context, args); + } + return result; + }; + }, + throttle: function(func, wait) { + var context, args, timeout, result, previous, later; + previous = 0; + later = function() { + previous = new Date(); + timeout = null; + result = func.apply(context, args); + }; + return function() { + var now = new Date(), remaining = wait - (now - previous); + context = this; + args = arguments; + if (remaining <= 0) { + clearTimeout(timeout); + timeout = null; + previous = now; + result = func.apply(context, args); + } else if (!timeout) { + timeout = setTimeout(later, remaining); + } + return result; + }; + }, + stringify: function(val) { + return _.isString(val) ? val : JSON.stringify(val); + }, + guid: function() { + function _p8(s) { + var p = (Math.random().toString(16) + "000000000").substr(2, 8); + return s ? "-" + p.substr(0, 4) + "-" + p.substr(4, 4) : p; + } + return "tt-" + _p8() + _p8(true) + _p8(true) + _p8(); + }, + noop: function() {} + }; + }(); + var WWW = function() { + "use strict"; + var defaultClassNames = { + wrapper: "twitter-typeahead", + input: "tt-input", + hint: "tt-hint", + menu: "tt-menu", + dataset: "tt-dataset", + suggestion: "tt-suggestion", + selectable: "tt-selectable", + empty: "tt-empty", + open: "tt-open", + cursor: "tt-cursor", + highlight: "tt-highlight" + }; + return build; + function build(o) { + var www, classes; + classes = _.mixin({}, defaultClassNames, o); + www = { + css: buildCss(), + classes: classes, + html: buildHtml(classes), + selectors: buildSelectors(classes) + }; + return { + css: www.css, + html: www.html, + classes: www.classes, + selectors: www.selectors, + mixin: function(o) { + _.mixin(o, www); + } + }; + } + function buildHtml(c) { + return { + wrapper: '', + menu: '
' + }; + } + function buildSelectors(classes) { + var selectors = {}; + _.each(classes, function(v, k) { + selectors[k] = "." + v; + }); + return selectors; + } + function buildCss() { + var css = { + wrapper: { + position: "relative", + display: "inline-block" + }, + hint: { + position: "absolute", + top: "0", + left: "0", + borderColor: "transparent", + boxShadow: "none", + opacity: "1" + }, + input: { + position: "relative", + verticalAlign: "top", + backgroundColor: "transparent" + }, + inputWithNoHint: { + position: "relative", + verticalAlign: "top" + }, + menu: { + position: "absolute", + top: "100%", + left: "0", + zIndex: "100", + display: "none" + }, + ltr: { + left: "0", + right: "auto" + }, + rtl: { + left: "auto", + right: " 0" + } + }; + if (_.isMsie()) { + _.mixin(css.input, { + backgroundImage: "url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)" + }); + } + return css; + } + }(); + var EventBus = function() { + "use strict"; + var namespace, deprecationMap; + namespace = "typeahead:"; + deprecationMap = { + render: "rendered", + cursorchange: "cursorchanged", + select: "selected", + autocomplete: "autocompleted" + }; + function EventBus(o) { + if (!o || !o.el) { + $.error("EventBus initialized without el"); + } + this.$el = $(o.el); + } + _.mixin(EventBus.prototype, { + _trigger: function(type, args) { + var $e = $.Event(namespace + type); + this.$el.trigger.call(this.$el, $e, args || []); + return $e; + }, + before: function(type) { + var args, $e; + args = [].slice.call(arguments, 1); + $e = this._trigger("before" + type, args); + return $e.isDefaultPrevented(); + }, + trigger: function(type) { + var deprecatedType; + this._trigger(type, [].slice.call(arguments, 1)); + if (deprecatedType = deprecationMap[type]) { + this._trigger(deprecatedType, [].slice.call(arguments, 1)); + } + } + }); + return EventBus; + }(); + var EventEmitter = function() { + "use strict"; + var splitter = /\s+/, nextTick = getNextTick(); + return { + onSync: onSync, + onAsync: onAsync, + off: off, + trigger: trigger + }; + function on(method, types, cb, context) { + var type; + if (!cb) { + return this; + } + types = types.split(splitter); + cb = context ? bindContext(cb, context) : cb; + this._callbacks = this._callbacks || {}; + while (type = types.shift()) { + this._callbacks[type] = this._callbacks[type] || { + sync: [], + async: [] + }; + this._callbacks[type][method].push(cb); + } + return this; + } + function onAsync(types, cb, context) { + return on.call(this, "async", types, cb, context); + } + function onSync(types, cb, context) { + return on.call(this, "sync", types, cb, context); + } + function off(types) { + var type; + if (!this._callbacks) { + return this; + } + types = types.split(splitter); + while (type = types.shift()) { + delete this._callbacks[type]; + } + return this; + } + function trigger(types) { + var type, callbacks, args, syncFlush, asyncFlush; + if (!this._callbacks) { + return this; + } + types = types.split(splitter); + args = [].slice.call(arguments, 1); + while ((type = types.shift()) && (callbacks = this._callbacks[type])) { + syncFlush = getFlush(callbacks.sync, this, [ type ].concat(args)); + asyncFlush = getFlush(callbacks.async, this, [ type ].concat(args)); + syncFlush() && nextTick(asyncFlush); + } + return this; + } + function getFlush(callbacks, context, args) { + return flush; + function flush() { + var cancelled; + for (var i = 0, len = callbacks.length; !cancelled && i < len; i += 1) { + cancelled = callbacks[i].apply(context, args) === false; + } + return !cancelled; + } + } + function getNextTick() { + var nextTickFn; + if (window.setImmediate) { + nextTickFn = function nextTickSetImmediate(fn) { + setImmediate(function() { + fn(); + }); + }; + } else { + nextTickFn = function nextTickSetTimeout(fn) { + setTimeout(function() { + fn(); + }, 0); + }; + } + return nextTickFn; + } + function bindContext(fn, context) { + return fn.bind ? fn.bind(context) : function() { + fn.apply(context, [].slice.call(arguments, 0)); + }; + } + }(); + var highlight = function(doc) { + "use strict"; + var defaults = { + node: null, + pattern: null, + tagName: "strong", + className: null, + wordsOnly: false, + caseSensitive: false, + diacriticInsensitive: false + }; + var accented = { + A: "[AaªÀ-Åà-åĀ-ąǍǎȀ-ȃȦȧᴬᵃḀḁẚẠ-ảₐ℀℁℻⒜Ⓐⓐ㍱-㍴㎀-㎄㎈㎉㎩-㎯㏂㏊㏟㏿Aa]", + B: "[BbᴮᵇḂ-ḇℬ⒝Ⓑⓑ㍴㎅-㎇㏃㏈㏔㏝Bb]", + C: "[CcÇçĆ-čᶜ℀ℂ℃℅℆ℭⅭⅽ⒞Ⓒⓒ㍶㎈㎉㎝㎠㎤㏄-㏇Cc]", + D: "[DdĎďDŽ-džDZ-dzᴰᵈḊ-ḓⅅⅆⅮⅾ⒟Ⓓⓓ㋏㍲㍷-㍹㎗㎭-㎯㏅㏈Dd]", + E: "[EeÈ-Ëè-ëĒ-ěȄ-ȇȨȩᴱᵉḘ-ḛẸ-ẽₑ℡ℯℰⅇ⒠Ⓔⓔ㉐㋍㋎Ee]", + F: "[FfᶠḞḟ℉ℱ℻⒡Ⓕⓕ㎊-㎌㎙ff-fflFf]", + G: "[GgĜ-ģǦǧǴǵᴳᵍḠḡℊ⒢Ⓖⓖ㋌㋍㎇㎍-㎏㎓㎬㏆㏉㏒㏿Gg]", + H: "[HhĤĥȞȟʰᴴḢ-ḫẖℋ-ℎ⒣Ⓗⓗ㋌㍱㎐-㎔㏊㏋㏗Hh]", + I: "[IiÌ-Ïì-ïĨ-İIJijǏǐȈ-ȋᴵᵢḬḭỈ-ịⁱℐℑℹⅈⅠ-ⅣⅥ-ⅨⅪⅫⅰ-ⅳⅵ-ⅸⅺⅻ⒤Ⓘⓘ㍺㏌㏕fiffiIi]", + J: "[JjIJ-ĵLJ-njǰʲᴶⅉ⒥ⒿⓙⱼJj]", + K: "[KkĶķǨǩᴷᵏḰ-ḵK⒦Ⓚⓚ㎄㎅㎉㎏㎑㎘㎞㎢㎦㎪㎸㎾㏀㏆㏍-㏏Kk]", + L: "[LlĹ-ŀLJ-ljˡᴸḶḷḺ-ḽℒℓ℡Ⅼⅼ⒧Ⓛⓛ㋏㎈㎉㏐-㏓㏕㏖㏿flfflLl]", + M: "[MmᴹᵐḾ-ṃ℠™ℳⅯⅿ⒨Ⓜⓜ㍷-㍹㎃㎆㎎㎒㎖㎙-㎨㎫㎳㎷㎹㎽㎿㏁㏂㏎㏐㏔-㏖㏘㏙㏞㏟Mm]", + N: "[NnÑñŃ-ʼnNJ-njǸǹᴺṄ-ṋⁿℕ№⒩Ⓝⓝ㎁㎋㎚㎱㎵㎻㏌㏑Nn]", + O: "[OoºÒ-Öò-öŌ-őƠơǑǒǪǫȌ-ȏȮȯᴼᵒỌ-ỏₒ℅№ℴ⒪Ⓞⓞ㍵㏇㏒㏖Oo]", + P: "[PpᴾᵖṔ-ṗℙ⒫Ⓟⓟ㉐㍱㍶㎀㎊㎩-㎬㎰㎴㎺㏋㏗-㏚Pp]", + Q: "[Qqℚ⒬Ⓠⓠ㏃Qq]", + R: "[RrŔ-řȐ-ȓʳᴿᵣṘ-ṛṞṟ₨ℛ-ℝ⒭Ⓡⓡ㋍㍴㎭-㎯㏚㏛Rr]", + S: "[SsŚ-šſȘșˢṠ-ṣ₨℁℠⒮Ⓢⓢ㎧㎨㎮-㎳㏛㏜stSs]", + T: "[TtŢ-ťȚțᵀᵗṪ-ṱẗ℡™⒯Ⓣⓣ㉐㋏㎔㏏ſtstTt]", + U: "[UuÙ-Üù-üŨ-ųƯưǓǔȔ-ȗᵁᵘᵤṲ-ṷỤ-ủ℆⒰Ⓤⓤ㍳㍺Uu]", + V: "[VvᵛᵥṼ-ṿⅣ-Ⅷⅳ-ⅷ⒱Ⓥⓥⱽ㋎㍵㎴-㎹㏜㏞Vv]", + W: "[WwŴŵʷᵂẀ-ẉẘ⒲Ⓦⓦ㎺-㎿㏝Ww]", + X: "[XxˣẊ-ẍₓ℻Ⅸ-Ⅻⅸ-ⅻ⒳Ⓧⓧ㏓Xx]", + Y: "[YyÝýÿŶ-ŸȲȳʸẎẏẙỲ-ỹ⒴Ⓨⓨ㏉Yy]", + Z: "[ZzŹ-žDZ-dzᶻẐ-ẕℤℨ⒵Ⓩⓩ㎐-㎔Zz]" + }; + return function hightlight(o) { + var regex; + o = _.mixin({}, defaults, o); + if (!o.node || !o.pattern) { + return; + } + o.pattern = _.isArray(o.pattern) ? o.pattern : [ o.pattern ]; + regex = getRegex(o.pattern, o.caseSensitive, o.wordsOnly, o.diacriticInsensitive); + traverse(o.node, hightlightTextNode); + function hightlightTextNode(textNode) { + var match, patternNode, wrapperNode; + if (match = regex.exec(textNode.data)) { + wrapperNode = doc.createElement(o.tagName); + o.className && (wrapperNode.className = o.className); + patternNode = textNode.splitText(match.index); + patternNode.splitText(match[0].length); + wrapperNode.appendChild(patternNode.cloneNode(true)); + textNode.parentNode.replaceChild(wrapperNode, patternNode); + } + return !!match; + } + function traverse(el, hightlightTextNode) { + var childNode, TEXT_NODE_TYPE = 3; + for (var i = 0; i < el.childNodes.length; i++) { + childNode = el.childNodes[i]; + if (childNode.nodeType === TEXT_NODE_TYPE) { + i += hightlightTextNode(childNode) ? 1 : 0; + } else { + traverse(childNode, hightlightTextNode); + } + } + } + }; + function accent_replacer(chr) { + return accented[chr.toUpperCase()] || chr; + } + function getRegex(patterns, caseSensitive, wordsOnly, diacriticInsensitive) { + var escapedPatterns = [], regexStr; + for (var i = 0, len = patterns.length; i < len; i++) { + var escapedWord = _.escapeRegExChars(patterns[i]); + if (diacriticInsensitive) { + escapedWord = escapedWord.replace(/\S/g, accent_replacer); + } + escapedPatterns.push(escapedWord); + } + regexStr = wordsOnly ? "\\b(" + escapedPatterns.join("|") + ")\\b" : "(" + escapedPatterns.join("|") + ")"; + return caseSensitive ? new RegExp(regexStr) : new RegExp(regexStr, "i"); + } + }(window.document); + var Input = function() { + "use strict"; + var specialKeyCodeMap; + specialKeyCodeMap = { + 9: "tab", + 27: "esc", + 37: "left", + 39: "right", + 13: "enter", + 38: "up", + 40: "down" + }; + function Input(o, www) { + var id; + o = o || {}; + if (!o.input) { + $.error("input is missing"); + } + www.mixin(this); + this.$hint = $(o.hint); + this.$input = $(o.input); + this.$menu = $(o.menu); + id = this.$input.attr("id") || _.guid(); + this.$menu.attr("id", id + "_listbox"); + this.$hint.attr({ + "aria-hidden": true + }); + this.$input.attr({ + "aria-owns": id + "_listbox", + "aria-controls": id + "_listbox", + role: "combobox", + "aria-autocomplete": "list", + "aria-expanded": false + }); + this.query = this.$input.val(); + this.queryWhenFocused = this.hasFocus() ? this.query : null; + this.$overflowHelper = buildOverflowHelper(this.$input); + this._checkLanguageDirection(); + if (this.$hint.length === 0) { + this.setHint = this.getHint = this.clearHint = this.clearHintIfInvalid = _.noop; + } + this.onSync("cursorchange", this._updateDescendent); + } + Input.normalizeQuery = function(str) { + return _.toStr(str).replace(/^\s*/g, "").replace(/\s{2,}/g, " "); + }; + _.mixin(Input.prototype, EventEmitter, { + _onBlur: function onBlur() { + this.resetInputValue(); + this.trigger("blurred"); + }, + _onFocus: function onFocus() { + this.queryWhenFocused = this.query; + this.trigger("focused"); + }, + _onKeydown: function onKeydown($e) { + var keyName = specialKeyCodeMap[$e.which || $e.keyCode]; + this._managePreventDefault(keyName, $e); + if (keyName && this._shouldTrigger(keyName, $e)) { + this.trigger(keyName + "Keyed", $e); + } + }, + _onInput: function onInput() { + this._setQuery(this.getInputValue()); + this.clearHintIfInvalid(); + this._checkLanguageDirection(); + }, + _managePreventDefault: function managePreventDefault(keyName, $e) { + var preventDefault; + switch (keyName) { + case "up": + case "down": + preventDefault = !withModifier($e); + break; + + default: + preventDefault = false; + } + preventDefault && $e.preventDefault(); + }, + _shouldTrigger: function shouldTrigger(keyName, $e) { + var trigger; + switch (keyName) { + case "tab": + trigger = !withModifier($e); + break; + + default: + trigger = true; + } + return trigger; + }, + _checkLanguageDirection: function checkLanguageDirection() { + var dir = (this.$input.css("direction") || "ltr").toLowerCase(); + if (this.dir !== dir) { + this.dir = dir; + this.$hint.attr("dir", dir); + this.trigger("langDirChanged", dir); + } + }, + _setQuery: function setQuery(val, silent) { + var areEquivalent, hasDifferentWhitespace; + areEquivalent = areQueriesEquivalent(val, this.query); + hasDifferentWhitespace = areEquivalent ? this.query.length !== val.length : false; + this.query = val; + if (!silent && !areEquivalent) { + this.trigger("queryChanged", this.query); + } else if (!silent && hasDifferentWhitespace) { + this.trigger("whitespaceChanged", this.query); + } + }, + _updateDescendent: function updateDescendent(event, id) { + this.$input.attr("aria-activedescendant", id); + }, + bind: function() { + var that = this, onBlur, onFocus, onKeydown, onInput; + onBlur = _.bind(this._onBlur, this); + onFocus = _.bind(this._onFocus, this); + onKeydown = _.bind(this._onKeydown, this); + onInput = _.bind(this._onInput, this); + this.$input.on("blur.tt", onBlur).on("focus.tt", onFocus).on("keydown.tt", onKeydown); + if (!_.isMsie() || _.isMsie() > 9) { + this.$input.on("input.tt", onInput); + } else { + this.$input.on("keydown.tt keypress.tt cut.tt paste.tt", function($e) { + if (specialKeyCodeMap[$e.which || $e.keyCode]) { + return; + } + _.defer(_.bind(that._onInput, that, $e)); + }); + } + return this; + }, + focus: function focus() { + this.$input.focus(); + }, + blur: function blur() { + this.$input.blur(); + }, + getLangDir: function getLangDir() { + return this.dir; + }, + getQuery: function getQuery() { + return this.query || ""; + }, + setQuery: function setQuery(val, silent) { + this.setInputValue(val); + this._setQuery(val, silent); + }, + hasQueryChangedSinceLastFocus: function hasQueryChangedSinceLastFocus() { + return this.query !== this.queryWhenFocused; + }, + getInputValue: function getInputValue() { + return this.$input.val(); + }, + setInputValue: function setInputValue(value) { + this.$input.val(value); + this.clearHintIfInvalid(); + this._checkLanguageDirection(); + }, + resetInputValue: function resetInputValue() { + this.setInputValue(this.query); + }, + getHint: function getHint() { + return this.$hint.val(); + }, + setHint: function setHint(value) { + this.$hint.val(value); + }, + clearHint: function clearHint() { + this.setHint(""); + }, + clearHintIfInvalid: function clearHintIfInvalid() { + var val, hint, valIsPrefixOfHint, isValid; + val = this.getInputValue(); + hint = this.getHint(); + valIsPrefixOfHint = val !== hint && hint.indexOf(val) === 0; + isValid = val !== "" && valIsPrefixOfHint && !this.hasOverflow(); + !isValid && this.clearHint(); + }, + hasFocus: function hasFocus() { + return this.$input.is(":focus"); + }, + hasOverflow: function hasOverflow() { + var constraint = this.$input.width() - 2; + this.$overflowHelper.text(this.getInputValue()); + return this.$overflowHelper.width() >= constraint; + }, + isCursorAtEnd: function() { + var valueLength, selectionStart, range; + valueLength = this.$input.val().length; + selectionStart = this.$input[0].selectionStart; + if (_.isNumber(selectionStart)) { + return selectionStart === valueLength; + } else if (document.selection) { + range = document.selection.createRange(); + range.moveStart("character", -valueLength); + return valueLength === range.text.length; + } + return true; + }, + destroy: function destroy() { + this.$hint.off(".tt"); + this.$input.off(".tt"); + this.$overflowHelper.remove(); + this.$hint = this.$input = this.$overflowHelper = $("
"); + }, + setAriaExpanded: function setAriaExpanded(value) { + this.$input.attr("aria-expanded", value); + } + }); + return Input; + function buildOverflowHelper($input) { + return $('').css({ + position: "absolute", + visibility: "hidden", + whiteSpace: "pre", + fontFamily: $input.css("font-family"), + fontSize: $input.css("font-size"), + fontStyle: $input.css("font-style"), + fontVariant: $input.css("font-variant"), + fontWeight: $input.css("font-weight"), + wordSpacing: $input.css("word-spacing"), + letterSpacing: $input.css("letter-spacing"), + textIndent: $input.css("text-indent"), + textRendering: $input.css("text-rendering"), + textTransform: $input.css("text-transform") + }).insertAfter($input); + } + function areQueriesEquivalent(a, b) { + return Input.normalizeQuery(a) === Input.normalizeQuery(b); + } + function withModifier($e) { + return $e.altKey || $e.ctrlKey || $e.metaKey || $e.shiftKey; + } + }(); + var Dataset = function() { + "use strict"; + var keys, nameGenerator; + keys = { + dataset: "tt-selectable-dataset", + val: "tt-selectable-display", + obj: "tt-selectable-object" + }; + nameGenerator = _.getIdGenerator(); + function Dataset(o, www) { + o = o || {}; + o.templates = o.templates || {}; + o.templates.notFound = o.templates.notFound || o.templates.empty; + if (!o.source) { + $.error("missing source"); + } + if (!o.node) { + $.error("missing node"); + } + if (o.name && !isValidName(o.name)) { + $.error("invalid dataset name: " + o.name); + } + www.mixin(this); + this.highlight = !!o.highlight; + this.name = _.toStr(o.name || nameGenerator()); + this.limit = o.limit || 5; + this.displayFn = getDisplayFn(o.display || o.displayKey); + this.templates = getTemplates(o.templates, this.displayFn); + this.source = o.source.__ttAdapter ? o.source.__ttAdapter() : o.source; + this.async = _.isUndefined(o.async) ? this.source.length > 2 : !!o.async; + this._resetLastSuggestion(); + this.$el = $(o.node).attr("role", "presentation").addClass(this.classes.dataset).addClass(this.classes.dataset + "-" + this.name); + } + Dataset.extractData = function extractData(el) { + var $el = $(el); + if ($el.data(keys.obj)) { + return { + dataset: $el.data(keys.dataset) || "", + val: $el.data(keys.val) || "", + obj: $el.data(keys.obj) || null + }; + } + return null; + }; + _.mixin(Dataset.prototype, EventEmitter, { + _overwrite: function overwrite(query, suggestions) { + suggestions = suggestions || []; + if (suggestions.length) { + this._renderSuggestions(query, suggestions); + } else if (this.async && this.templates.pending) { + this._renderPending(query); + } else if (!this.async && this.templates.notFound) { + this._renderNotFound(query); + } else { + this._empty(); + } + this.trigger("rendered", suggestions, false, this.name); + }, + _append: function append(query, suggestions) { + suggestions = suggestions || []; + if (suggestions.length && this.$lastSuggestion.length) { + this._appendSuggestions(query, suggestions); + } else if (suggestions.length) { + this._renderSuggestions(query, suggestions); + } else if (!this.$lastSuggestion.length && this.templates.notFound) { + this._renderNotFound(query); + } + this.trigger("rendered", suggestions, true, this.name); + }, + _renderSuggestions: function renderSuggestions(query, suggestions) { + var $fragment; + $fragment = this._getSuggestionsFragment(query, suggestions); + this.$lastSuggestion = $fragment.children().last(); + this.$el.html($fragment).prepend(this._getHeader(query, suggestions)).append(this._getFooter(query, suggestions)); + }, + _appendSuggestions: function appendSuggestions(query, suggestions) { + var $fragment, $lastSuggestion; + $fragment = this._getSuggestionsFragment(query, suggestions); + $lastSuggestion = $fragment.children().last(); + this.$lastSuggestion.after($fragment); + this.$lastSuggestion = $lastSuggestion; + }, + _renderPending: function renderPending(query) { + var template = this.templates.pending; + this._resetLastSuggestion(); + template && this.$el.html(template({ + query: query, + dataset: this.name + })); + }, + _renderNotFound: function renderNotFound(query) { + var template = this.templates.notFound; + this._resetLastSuggestion(); + template && this.$el.html(template({ + query: query, + dataset: this.name + })); + }, + _empty: function empty() { + this.$el.empty(); + this._resetLastSuggestion(); + }, + _getSuggestionsFragment: function getSuggestionsFragment(query, suggestions) { + var that = this, fragment; + fragment = document.createDocumentFragment(); + _.each(suggestions, function getSuggestionNode(suggestion) { + var $el, context; + context = that._injectQuery(query, suggestion); + $el = $(that.templates.suggestion(context)).data(keys.dataset, that.name).data(keys.obj, suggestion).data(keys.val, that.displayFn(suggestion)).addClass(that.classes.suggestion + " " + that.classes.selectable); + fragment.appendChild($el[0]); + }); + this.highlight && highlight({ + className: this.classes.highlight, + node: fragment, + pattern: query + }); + return $(fragment); + }, + _getFooter: function getFooter(query, suggestions) { + return this.templates.footer ? this.templates.footer({ + query: query, + suggestions: suggestions, + dataset: this.name + }) : null; + }, + _getHeader: function getHeader(query, suggestions) { + return this.templates.header ? this.templates.header({ + query: query, + suggestions: suggestions, + dataset: this.name + }) : null; + }, + _resetLastSuggestion: function resetLastSuggestion() { + this.$lastSuggestion = $(); + }, + _injectQuery: function injectQuery(query, obj) { + return _.isObject(obj) ? _.mixin({ + _query: query + }, obj) : obj; + }, + update: function update(query) { + var that = this, canceled = false, syncCalled = false, rendered = 0; + this.cancel(); + this.cancel = function cancel() { + canceled = true; + that.cancel = $.noop; + that.async && that.trigger("asyncCanceled", query, that.name); + }; + this.source(query, sync, async); + !syncCalled && sync([]); + function sync(suggestions) { + if (syncCalled) { + return; + } + syncCalled = true; + suggestions = (suggestions || []).slice(0, that.limit); + rendered = suggestions.length; + that._overwrite(query, suggestions); + if (rendered < that.limit && that.async) { + that.trigger("asyncRequested", query, that.name); + } + } + function async(suggestions) { + suggestions = suggestions || []; + if (!canceled && rendered < that.limit) { + that.cancel = $.noop; + var idx = Math.abs(rendered - that.limit); + rendered += idx; + that._append(query, suggestions.slice(0, idx)); + that.async && that.trigger("asyncReceived", query, that.name); + } + } + }, + cancel: $.noop, + clear: function clear() { + this._empty(); + this.cancel(); + this.trigger("cleared"); + }, + isEmpty: function isEmpty() { + return this.$el.is(":empty"); + }, + destroy: function destroy() { + this.$el = $("
"); + } + }); + return Dataset; + function getDisplayFn(display) { + display = display || _.stringify; + return _.isFunction(display) ? display : displayFn; + function displayFn(obj) { + return obj[display]; + } + } + function getTemplates(templates, displayFn) { + return { + notFound: templates.notFound && _.templatify(templates.notFound), + pending: templates.pending && _.templatify(templates.pending), + header: templates.header && _.templatify(templates.header), + footer: templates.footer && _.templatify(templates.footer), + suggestion: templates.suggestion ? userSuggestionTemplate : suggestionTemplate + }; + function userSuggestionTemplate(context) { + var template = templates.suggestion; + return $(template(context)).attr("id", _.guid()); + } + function suggestionTemplate(context) { + return $('
').attr("id", _.guid()).text(displayFn(context)); + } + } + function isValidName(str) { + return /^[_a-zA-Z0-9-]+$/.test(str); + } + }(); + var Menu = function() { + "use strict"; + function Menu(o, www) { + var that = this; + o = o || {}; + if (!o.node) { + $.error("node is required"); + } + www.mixin(this); + this.$node = $(o.node); + this.query = null; + this.datasets = _.map(o.datasets, initializeDataset); + function initializeDataset(oDataset) { + var node = that.$node.find(oDataset.node).first(); + oDataset.node = node.length ? node : $("
").appendTo(that.$node); + return new Dataset(oDataset, www); + } + } + _.mixin(Menu.prototype, EventEmitter, { + _onSelectableClick: function onSelectableClick($e) { + this.trigger("selectableClicked", $($e.currentTarget)); + }, + _onRendered: function onRendered(type, dataset, suggestions, async) { + this.$node.toggleClass(this.classes.empty, this._allDatasetsEmpty()); + this.trigger("datasetRendered", dataset, suggestions, async); + }, + _onCleared: function onCleared() { + this.$node.toggleClass(this.classes.empty, this._allDatasetsEmpty()); + this.trigger("datasetCleared"); + }, + _propagate: function propagate() { + this.trigger.apply(this, arguments); + }, + _allDatasetsEmpty: function allDatasetsEmpty() { + return _.every(this.datasets, _.bind(function isDatasetEmpty(dataset) { + var isEmpty = dataset.isEmpty(); + this.$node.attr("aria-expanded", !isEmpty); + return isEmpty; + }, this)); + }, + _getSelectables: function getSelectables() { + return this.$node.find(this.selectors.selectable); + }, + _removeCursor: function _removeCursor() { + var $selectable = this.getActiveSelectable(); + $selectable && $selectable.removeClass(this.classes.cursor); + }, + _ensureVisible: function ensureVisible($el) { + var elTop, elBottom, nodeScrollTop, nodeHeight; + elTop = $el.position().top; + elBottom = elTop + $el.outerHeight(true); + nodeScrollTop = this.$node.scrollTop(); + nodeHeight = this.$node.height() + parseInt(this.$node.css("paddingTop"), 10) + parseInt(this.$node.css("paddingBottom"), 10); + if (elTop < 0) { + this.$node.scrollTop(nodeScrollTop + elTop); + } else if (nodeHeight < elBottom) { + this.$node.scrollTop(nodeScrollTop + (elBottom - nodeHeight)); + } + }, + bind: function() { + var that = this, onSelectableClick; + onSelectableClick = _.bind(this._onSelectableClick, this); + this.$node.on("click.tt", this.selectors.selectable, onSelectableClick); + this.$node.on("mouseover", this.selectors.selectable, function() { + that.setCursor($(this)); + }); + this.$node.on("mouseleave", function() { + that._removeCursor(); + }); + _.each(this.datasets, function(dataset) { + dataset.onSync("asyncRequested", that._propagate, that).onSync("asyncCanceled", that._propagate, that).onSync("asyncReceived", that._propagate, that).onSync("rendered", that._onRendered, that).onSync("cleared", that._onCleared, that); + }); + return this; + }, + isOpen: function isOpen() { + return this.$node.hasClass(this.classes.open); + }, + open: function open() { + this.$node.scrollTop(0); + this.$node.addClass(this.classes.open); + }, + close: function close() { + this.$node.attr("aria-expanded", false); + this.$node.removeClass(this.classes.open); + this._removeCursor(); + }, + setLanguageDirection: function setLanguageDirection(dir) { + this.$node.attr("dir", dir); + }, + selectableRelativeToCursor: function selectableRelativeToCursor(delta) { + var $selectables, $oldCursor, oldIndex, newIndex; + $oldCursor = this.getActiveSelectable(); + $selectables = this._getSelectables(); + oldIndex = $oldCursor ? $selectables.index($oldCursor) : -1; + newIndex = oldIndex + delta; + newIndex = (newIndex + 1) % ($selectables.length + 1) - 1; + newIndex = newIndex < -1 ? $selectables.length - 1 : newIndex; + return newIndex === -1 ? null : $selectables.eq(newIndex); + }, + setCursor: function setCursor($selectable) { + this._removeCursor(); + if ($selectable = $selectable && $selectable.first()) { + $selectable.addClass(this.classes.cursor); + this._ensureVisible($selectable); + } + }, + getSelectableData: function getSelectableData($el) { + return $el && $el.length ? Dataset.extractData($el) : null; + }, + getActiveSelectable: function getActiveSelectable() { + var $selectable = this._getSelectables().filter(this.selectors.cursor).first(); + return $selectable.length ? $selectable : null; + }, + getTopSelectable: function getTopSelectable() { + var $selectable = this._getSelectables().first(); + return $selectable.length ? $selectable : null; + }, + update: function update(query) { + var isValidUpdate = query !== this.query; + if (isValidUpdate) { + this.query = query; + _.each(this.datasets, updateDataset); + } + return isValidUpdate; + function updateDataset(dataset) { + dataset.update(query); + } + }, + empty: function empty() { + _.each(this.datasets, clearDataset); + this.query = null; + this.$node.addClass(this.classes.empty); + function clearDataset(dataset) { + dataset.clear(); + } + }, + destroy: function destroy() { + this.$node.off(".tt"); + this.$node = $("
"); + _.each(this.datasets, destroyDataset); + function destroyDataset(dataset) { + dataset.destroy(); + } + } + }); + return Menu; + }(); + var Status = function() { + "use strict"; + function Status(options) { + this.$el = $("", { + role: "status", + "aria-live": "polite" + }).css({ + position: "absolute", + padding: "0", + border: "0", + height: "1px", + width: "1px", + "margin-bottom": "-1px", + "margin-right": "-1px", + overflow: "hidden", + clip: "rect(0 0 0 0)", + "white-space": "nowrap" + }); + options.$input.after(this.$el); + _.each(options.menu.datasets, _.bind(function(dataset) { + if (dataset.onSync) { + dataset.onSync("rendered", _.bind(this.update, this)); + dataset.onSync("cleared", _.bind(this.cleared, this)); + } + }, this)); + } + _.mixin(Status.prototype, { + update: function update(event, suggestions) { + var length = suggestions.length; + var words; + if (length === 1) { + words = { + result: "result", + is: "is" + }; + } else { + words = { + result: "results", + is: "are" + }; + } + this.$el.text(length + " " + words.result + " " + words.is + " available, use up and down arrow keys to navigate."); + }, + cleared: function() { + this.$el.text(""); + } + }); + return Status; + }(); + var DefaultMenu = function() { + "use strict"; + var s = Menu.prototype; + function DefaultMenu() { + Menu.apply(this, [].slice.call(arguments, 0)); + } + _.mixin(DefaultMenu.prototype, Menu.prototype, { + open: function open() { + !this._allDatasetsEmpty() && this._show(); + return s.open.apply(this, [].slice.call(arguments, 0)); + }, + close: function close() { + this._hide(); + return s.close.apply(this, [].slice.call(arguments, 0)); + }, + _onRendered: function onRendered() { + if (this._allDatasetsEmpty()) { + this._hide(); + } else { + this.isOpen() && this._show(); + } + return s._onRendered.apply(this, [].slice.call(arguments, 0)); + }, + _onCleared: function onCleared() { + if (this._allDatasetsEmpty()) { + this._hide(); + } else { + this.isOpen() && this._show(); + } + return s._onCleared.apply(this, [].slice.call(arguments, 0)); + }, + setLanguageDirection: function setLanguageDirection(dir) { + this.$node.css(dir === "ltr" ? this.css.ltr : this.css.rtl); + return s.setLanguageDirection.apply(this, [].slice.call(arguments, 0)); + }, + _hide: function hide() { + this.$node.hide(); + }, + _show: function show() { + this.$node.css("display", "block"); + } + }); + return DefaultMenu; + }(); + var Typeahead = function() { + "use strict"; + function Typeahead(o, www) { + var onFocused, onBlurred, onEnterKeyed, onTabKeyed, onEscKeyed, onUpKeyed, onDownKeyed, onLeftKeyed, onRightKeyed, onQueryChanged, onWhitespaceChanged; + o = o || {}; + if (!o.input) { + $.error("missing input"); + } + if (!o.menu) { + $.error("missing menu"); + } + if (!o.eventBus) { + $.error("missing event bus"); + } + www.mixin(this); + this.eventBus = o.eventBus; + this.minLength = _.isNumber(o.minLength) ? o.minLength : 1; + this.input = o.input; + this.menu = o.menu; + this.enabled = true; + this.autoselect = !!o.autoselect; + this.active = false; + this.input.hasFocus() && this.activate(); + this.dir = this.input.getLangDir(); + this._hacks(); + this.menu.bind().onSync("selectableClicked", this._onSelectableClicked, this).onSync("asyncRequested", this._onAsyncRequested, this).onSync("asyncCanceled", this._onAsyncCanceled, this).onSync("asyncReceived", this._onAsyncReceived, this).onSync("datasetRendered", this._onDatasetRendered, this).onSync("datasetCleared", this._onDatasetCleared, this); + onFocused = c(this, "activate", "open", "_onFocused"); + onBlurred = c(this, "deactivate", "_onBlurred"); + onEnterKeyed = c(this, "isActive", "isOpen", "_onEnterKeyed"); + onTabKeyed = c(this, "isActive", "isOpen", "_onTabKeyed"); + onEscKeyed = c(this, "isActive", "_onEscKeyed"); + onUpKeyed = c(this, "isActive", "open", "_onUpKeyed"); + onDownKeyed = c(this, "isActive", "open", "_onDownKeyed"); + onLeftKeyed = c(this, "isActive", "isOpen", "_onLeftKeyed"); + onRightKeyed = c(this, "isActive", "isOpen", "_onRightKeyed"); + onQueryChanged = c(this, "_openIfActive", "_onQueryChanged"); + onWhitespaceChanged = c(this, "_openIfActive", "_onWhitespaceChanged"); + this.input.bind().onSync("focused", onFocused, this).onSync("blurred", onBlurred, this).onSync("enterKeyed", onEnterKeyed, this).onSync("tabKeyed", onTabKeyed, this).onSync("escKeyed", onEscKeyed, this).onSync("upKeyed", onUpKeyed, this).onSync("downKeyed", onDownKeyed, this).onSync("leftKeyed", onLeftKeyed, this).onSync("rightKeyed", onRightKeyed, this).onSync("queryChanged", onQueryChanged, this).onSync("whitespaceChanged", onWhitespaceChanged, this).onSync("langDirChanged", this._onLangDirChanged, this); + } + _.mixin(Typeahead.prototype, { + _hacks: function hacks() { + var $input, $menu; + $input = this.input.$input || $("
"); + $menu = this.menu.$node || $("
"); + $input.on("blur.tt", function($e) { + var active, isActive, hasActive; + active = document.activeElement; + isActive = $menu.is(active); + hasActive = $menu.has(active).length > 0; + if (_.isMsie() && (isActive || hasActive)) { + $e.preventDefault(); + $e.stopImmediatePropagation(); + _.defer(function() { + $input.focus(); + }); + } + }); + $menu.on("mousedown.tt", function($e) { + $e.preventDefault(); + }); + }, + _onSelectableClicked: function onSelectableClicked(type, $el) { + this.select($el); + }, + _onDatasetCleared: function onDatasetCleared() { + this._updateHint(); + }, + _onDatasetRendered: function onDatasetRendered(type, suggestions, async, dataset) { + this._updateHint(); + if (this.autoselect) { + var cursorClass = this.selectors.cursor.substr(1); + this.menu.$node.find(this.selectors.suggestion).first().addClass(cursorClass); + } + this.eventBus.trigger("render", suggestions, async, dataset); + }, + _onAsyncRequested: function onAsyncRequested(type, dataset, query) { + this.eventBus.trigger("asyncrequest", query, dataset); + }, + _onAsyncCanceled: function onAsyncCanceled(type, dataset, query) { + this.eventBus.trigger("asynccancel", query, dataset); + }, + _onAsyncReceived: function onAsyncReceived(type, dataset, query) { + this.eventBus.trigger("asyncreceive", query, dataset); + }, + _onFocused: function onFocused() { + this._minLengthMet() && this.menu.update(this.input.getQuery()); + }, + _onBlurred: function onBlurred() { + if (this.input.hasQueryChangedSinceLastFocus()) { + this.eventBus.trigger("change", this.input.getQuery()); + } + }, + _onEnterKeyed: function onEnterKeyed(type, $e) { + var $selectable; + if ($selectable = this.menu.getActiveSelectable()) { + if (this.select($selectable)) { + $e.preventDefault(); + $e.stopPropagation(); + } + } else if (this.autoselect) { + if (this.select(this.menu.getTopSelectable())) { + $e.preventDefault(); + $e.stopPropagation(); + } + } + }, + _onTabKeyed: function onTabKeyed(type, $e) { + var $selectable; + if ($selectable = this.menu.getActiveSelectable()) { + this.select($selectable) && $e.preventDefault(); + } else if (this.autoselect) { + if ($selectable = this.menu.getTopSelectable()) { + this.autocomplete($selectable) && $e.preventDefault(); + } + } + }, + _onEscKeyed: function onEscKeyed() { + this.close(); + }, + _onUpKeyed: function onUpKeyed() { + this.moveCursor(-1); + }, + _onDownKeyed: function onDownKeyed() { + this.moveCursor(+1); + }, + _onLeftKeyed: function onLeftKeyed() { + if (this.dir === "rtl" && this.input.isCursorAtEnd()) { + this.autocomplete(this.menu.getActiveSelectable() || this.menu.getTopSelectable()); + } + }, + _onRightKeyed: function onRightKeyed() { + if (this.dir === "ltr" && this.input.isCursorAtEnd()) { + this.autocomplete(this.menu.getActiveSelectable() || this.menu.getTopSelectable()); + } + }, + _onQueryChanged: function onQueryChanged(e, query) { + this._minLengthMet(query) ? this.menu.update(query) : this.menu.empty(); + }, + _onWhitespaceChanged: function onWhitespaceChanged() { + this._updateHint(); + }, + _onLangDirChanged: function onLangDirChanged(e, dir) { + if (this.dir !== dir) { + this.dir = dir; + this.menu.setLanguageDirection(dir); + } + }, + _openIfActive: function openIfActive() { + this.isActive() && this.open(); + }, + _minLengthMet: function minLengthMet(query) { + query = _.isString(query) ? query : this.input.getQuery() || ""; + return query.length >= this.minLength; + }, + _updateHint: function updateHint() { + var $selectable, data, val, query, escapedQuery, frontMatchRegEx, match; + $selectable = this.menu.getTopSelectable(); + data = this.menu.getSelectableData($selectable); + val = this.input.getInputValue(); + if (data && !_.isBlankString(val) && !this.input.hasOverflow()) { + query = Input.normalizeQuery(val); + escapedQuery = _.escapeRegExChars(query); + frontMatchRegEx = new RegExp("^(?:" + escapedQuery + ")(.+$)", "i"); + match = frontMatchRegEx.exec(data.val); + match && this.input.setHint(val + match[1]); + } else { + this.input.clearHint(); + } + }, + isEnabled: function isEnabled() { + return this.enabled; + }, + enable: function enable() { + this.enabled = true; + }, + disable: function disable() { + this.enabled = false; + }, + isActive: function isActive() { + return this.active; + }, + activate: function activate() { + if (this.isActive()) { + return true; + } else if (!this.isEnabled() || this.eventBus.before("active")) { + return false; + } else { + this.active = true; + this.eventBus.trigger("active"); + return true; + } + }, + deactivate: function deactivate() { + if (!this.isActive()) { + return true; + } else if (this.eventBus.before("idle")) { + return false; + } else { + this.active = false; + this.close(); + this.eventBus.trigger("idle"); + return true; + } + }, + isOpen: function isOpen() { + return this.menu.isOpen(); + }, + open: function open() { + if (!this.isOpen() && !this.eventBus.before("open")) { + this.input.setAriaExpanded(true); + this.menu.open(); + this._updateHint(); + this.eventBus.trigger("open"); + } + return this.isOpen(); + }, + close: function close() { + if (this.isOpen() && !this.eventBus.before("close")) { + this.input.setAriaExpanded(false); + this.menu.close(); + this.input.clearHint(); + this.input.resetInputValue(); + this.eventBus.trigger("close"); + } + return !this.isOpen(); + }, + setVal: function setVal(val) { + this.input.setQuery(_.toStr(val)); + }, + getVal: function getVal() { + return this.input.getQuery(); + }, + select: function select($selectable) { + var data = this.menu.getSelectableData($selectable); + if (data && !this.eventBus.before("select", data.obj, data.dataset)) { + this.input.setQuery(data.val, true); + this.eventBus.trigger("select", data.obj, data.dataset); + this.close(); + return true; + } + return false; + }, + autocomplete: function autocomplete($selectable) { + var query, data, isValid; + query = this.input.getQuery(); + data = this.menu.getSelectableData($selectable); + isValid = data && query !== data.val; + if (isValid && !this.eventBus.before("autocomplete", data.obj, data.dataset)) { + this.input.setQuery(data.val); + this.eventBus.trigger("autocomplete", data.obj, data.dataset); + return true; + } + return false; + }, + moveCursor: function moveCursor(delta) { + var query, $candidate, data, suggestion, datasetName, cancelMove, id; + query = this.input.getQuery(); + $candidate = this.menu.selectableRelativeToCursor(delta); + data = this.menu.getSelectableData($candidate); + suggestion = data ? data.obj : null; + datasetName = data ? data.dataset : null; + id = $candidate ? $candidate.attr("id") : null; + this.input.trigger("cursorchange", id); + cancelMove = this._minLengthMet() && this.menu.update(query); + if (!cancelMove && !this.eventBus.before("cursorchange", suggestion, datasetName)) { + this.menu.setCursor($candidate); + if (data) { + if (typeof data.val === "string") { + this.input.setInputValue(data.val); + } + } else { + this.input.resetInputValue(); + this._updateHint(); + } + this.eventBus.trigger("cursorchange", suggestion, datasetName); + return true; + } + return false; + }, + destroy: function destroy() { + this.input.destroy(); + this.menu.destroy(); + } + }); + return Typeahead; + function c(ctx) { + var methods = [].slice.call(arguments, 1); + return function() { + var args = [].slice.call(arguments); + _.each(methods, function(method) { + return ctx[method].apply(ctx, args); + }); + }; + } + }(); + (function() { + "use strict"; + var old, keys, methods; + old = $.fn.typeahead; + keys = { + www: "tt-www", + attrs: "tt-attrs", + typeahead: "tt-typeahead" + }; + methods = { + initialize: function initialize(o, datasets) { + var www; + datasets = _.isArray(datasets) ? datasets : [].slice.call(arguments, 1); + o = o || {}; + www = WWW(o.classNames); + return this.each(attach); + function attach() { + var $input, $wrapper, $hint, $menu, defaultHint, defaultMenu, eventBus, input, menu, status, typeahead, MenuConstructor; + _.each(datasets, function(d) { + d.highlight = !!o.highlight; + }); + $input = $(this); + $wrapper = $(www.html.wrapper); + $hint = $elOrNull(o.hint); + $menu = $elOrNull(o.menu); + defaultHint = o.hint !== false && !$hint; + defaultMenu = o.menu !== false && !$menu; + defaultHint && ($hint = buildHintFromInput($input, www)); + defaultMenu && ($menu = $(www.html.menu).css(www.css.menu)); + $hint && $hint.val(""); + $input = prepInput($input, www); + if (defaultHint || defaultMenu) { + $wrapper.css(www.css.wrapper); + $input.css(defaultHint ? www.css.input : www.css.inputWithNoHint); + $input.wrap($wrapper).parent().prepend(defaultHint ? $hint : null).append(defaultMenu ? $menu : null); + } + MenuConstructor = defaultMenu ? DefaultMenu : Menu; + eventBus = new EventBus({ + el: $input + }); + input = new Input({ + hint: $hint, + input: $input, + menu: $menu + }, www); + menu = new MenuConstructor({ + node: $menu, + datasets: datasets + }, www); + status = new Status({ + $input: $input, + menu: menu + }); + typeahead = new Typeahead({ + input: input, + menu: menu, + eventBus: eventBus, + minLength: o.minLength, + autoselect: o.autoselect + }, www); + $input.data(keys.www, www); + $input.data(keys.typeahead, typeahead); + } + }, + isEnabled: function isEnabled() { + var enabled; + ttEach(this.first(), function(t) { + enabled = t.isEnabled(); + }); + return enabled; + }, + enable: function enable() { + ttEach(this, function(t) { + t.enable(); + }); + return this; + }, + disable: function disable() { + ttEach(this, function(t) { + t.disable(); + }); + return this; + }, + isActive: function isActive() { + var active; + ttEach(this.first(), function(t) { + active = t.isActive(); + }); + return active; + }, + activate: function activate() { + ttEach(this, function(t) { + t.activate(); + }); + return this; + }, + deactivate: function deactivate() { + ttEach(this, function(t) { + t.deactivate(); + }); + return this; + }, + isOpen: function isOpen() { + var open; + ttEach(this.first(), function(t) { + open = t.isOpen(); + }); + return open; + }, + open: function open() { + ttEach(this, function(t) { + t.open(); + }); + return this; + }, + close: function close() { + ttEach(this, function(t) { + t.close(); + }); + return this; + }, + select: function select(el) { + var success = false, $el = $(el); + ttEach(this.first(), function(t) { + success = t.select($el); + }); + return success; + }, + autocomplete: function autocomplete(el) { + var success = false, $el = $(el); + ttEach(this.first(), function(t) { + success = t.autocomplete($el); + }); + return success; + }, + moveCursor: function moveCursoe(delta) { + var success = false; + ttEach(this.first(), function(t) { + success = t.moveCursor(delta); + }); + return success; + }, + val: function val(newVal) { + var query; + if (!arguments.length) { + ttEach(this.first(), function(t) { + query = t.getVal(); + }); + return query; + } else { + ttEach(this, function(t) { + t.setVal(_.toStr(newVal)); + }); + return this; + } + }, + destroy: function destroy() { + ttEach(this, function(typeahead, $input) { + revert($input); + typeahead.destroy(); + }); + return this; + } + }; + $.fn.typeahead = function(method) { + if (methods[method]) { + return methods[method].apply(this, [].slice.call(arguments, 1)); + } else { + return methods.initialize.apply(this, arguments); + } + }; + $.fn.typeahead.noConflict = function noConflict() { + $.fn.typeahead = old; + return this; + }; + function ttEach($els, fn) { + $els.each(function() { + var $input = $(this), typeahead; + (typeahead = $input.data(keys.typeahead)) && fn(typeahead, $input); + }); + } + function buildHintFromInput($input, www) { + return $input.clone().addClass(www.classes.hint).removeData().css(www.css.hint).css(getBackgroundStyles($input)).prop({ + readonly: true, + required: false + }).removeAttr("id name placeholder").removeClass("required").attr({ + spellcheck: "false", + tabindex: -1 + }); + } + function prepInput($input, www) { + $input.data(keys.attrs, { + dir: $input.attr("dir"), + autocomplete: $input.attr("autocomplete"), + spellcheck: $input.attr("spellcheck"), + style: $input.attr("style") + }); + $input.addClass(www.classes.input).attr({ + spellcheck: false + }); + try { + !$input.attr("dir") && $input.attr("dir", "auto"); + } catch (e) {} + return $input; + } + function getBackgroundStyles($el) { + return { + backgroundAttachment: $el.css("background-attachment"), + backgroundClip: $el.css("background-clip"), + backgroundColor: $el.css("background-color"), + backgroundImage: $el.css("background-image"), + backgroundOrigin: $el.css("background-origin"), + backgroundPosition: $el.css("background-position"), + backgroundRepeat: $el.css("background-repeat"), + backgroundSize: $el.css("background-size") + }; + } + function revert($input) { + var www, $wrapper; + www = $input.data(keys.www); + $wrapper = $input.parent().filter(www.selectors.wrapper); + _.each($input.data(keys.attrs), function(val, key) { + _.isUndefined(val) ? $input.removeAttr(key) : $input.attr(key, val); + }); + $input.removeData(keys.typeahead).removeData(keys.www).removeData(keys.attr).removeClass(www.classes.input); + if ($wrapper.length) { + $input.detach().insertAfter($wrapper); + $wrapper.remove(); + } + } + function $elOrNull(obj) { + var isValid, $el; + isValid = _.isJQuery(obj) || _.isElement(obj); + $el = isValid ? $(obj).first() : []; + return $el.length ? $el : null; + } + })(); +}); \ No newline at end of file diff --git a/docs/search.json b/docs/search.json new file mode 100644 index 00000000..d03af59e --- /dev/null +++ b/docs/search.json @@ -0,0 +1 @@ +{"Structs/ExtraLineStyle/SpacingType.html#/s:13SwiftUICharts14ExtraLineStyleV11SpacingTypeO4lineyA2EmF":{"name":"line","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"SpacingType"},"Structs/ExtraLineStyle/SpacingType.html#/s:13SwiftUICharts14ExtraLineStyleV11SpacingTypeO3baryA2EmF":{"name":"bar","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"SpacingType"},"Structs/ExtraLineStyle/AnimationType.html#/s:13SwiftUICharts14ExtraLineStyleV13AnimationTypeO4drawyA2EmF":{"name":"draw","abstract":"\u003cp\u003eDraws the line using \u003ccode\u003e.trim\u003c/code\u003e.\u003c/p\u003e","parent_name":"AnimationType"},"Structs/ExtraLineStyle/AnimationType.html#/s:13SwiftUICharts14ExtraLineStyleV13AnimationTypeO5raiseyA2EmF":{"name":"raise","abstract":"\u003cp\u003eAnimates using \u003ccode\u003e.scale\u003c/code\u003e.\u003c/p\u003e","parent_name":"AnimationType"},"Structs/ExtraLineStyle.html#/s:13SwiftUICharts14ExtraLineStyleV10lineColourAA0gE0Vvp":{"name":"lineColour","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"ExtraLineStyle"},"Structs/ExtraLineStyle.html#/s:13SwiftUICharts14ExtraLineStyleV8lineTypeAA0dG0Ovp":{"name":"lineType","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"ExtraLineStyle"},"Structs/ExtraLineStyle.html#/s:13SwiftUICharts14ExtraLineStyleV11lineSpacingAC0G4TypeOvp":{"name":"lineSpacing","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"ExtraLineStyle"},"Structs/ExtraLineStyle.html#/s:13SwiftUICharts14ExtraLineStyleV10markerTypeAA0d6MarkerG0Ovp":{"name":"markerType","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"ExtraLineStyle"},"Structs/ExtraLineStyle.html#/s:13SwiftUICharts14ExtraLineStyleV06strokeE0AA6StrokeVvp":{"name":"strokeStyle","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"ExtraLineStyle"},"Structs/ExtraLineStyle.html#/s:13SwiftUICharts14ExtraLineStyleV05pointE0AA05PointE0Vvp":{"name":"pointStyle","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"ExtraLineStyle"},"Structs/ExtraLineStyle.html#/s:13SwiftUICharts14ExtraLineStyleV10yAxisTitleSSSgvp":{"name":"yAxisTitle","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"ExtraLineStyle"},"Structs/ExtraLineStyle.html#/s:13SwiftUICharts14ExtraLineStyleV19yAxisNumberOfLabelsSivp":{"name":"yAxisNumberOfLabels","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"ExtraLineStyle"},"Structs/ExtraLineStyle.html#/s:13SwiftUICharts14ExtraLineStyleV13animationTypeAC09AnimationG0Ovp":{"name":"animationType","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"ExtraLineStyle"},"Structs/ExtraLineStyle.html#/s:13SwiftUICharts14ExtraLineStyleV8baselineAA8BaselineOvp":{"name":"baseline","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"ExtraLineStyle"},"Structs/ExtraLineStyle.html#/s:13SwiftUICharts14ExtraLineStyleV03topD0AA7ToplineOvp":{"name":"topLine","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"ExtraLineStyle"},"Structs/ExtraLineStyle.html#/s:13SwiftUICharts14ExtraLineStyleV10lineColour0F4Type0F7Spacing06markerH006strokeE005pointE010yAxisTitle01yM14NumberOfLabels09animationH08baseline03topD0AcA0gE0V_AA0dH0OAC0iH0OAA0d6MarkerH0OAA6StrokeVAA05PointE0VSSSgSiAC09AnimationH0OAA8BaselineOAA7ToplineOtcfc":{"name":"init(lineColour:lineType:lineSpacing:markerType:strokeStyle:pointStyle:yAxisTitle:yAxisNumberOfLabels:animationType:baseline:topLine:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"ExtraLineStyle"},"Structs/ExtraLineStyle/AnimationType.html":{"name":"AnimationType","abstract":"\u003cp\u003eControls which animations will be used.\u003c/p\u003e","parent_name":"ExtraLineStyle"},"Structs/ExtraLineStyle/SpacingType.html":{"name":"SpacingType","abstract":"\u003cp\u003eSets what type of chart is being used.\u003c/p\u003e","parent_name":"ExtraLineStyle"},"Structs/TopLabelShape.html#/s:7SwiftUI5ShapeP4path2inAA4PathVSo6CGRectV_tF":{"name":"path(in:)","parent_name":"TopLabelShape"},"Structs/BottomLabelShape.html#/s:7SwiftUI5ShapeP4path2inAA4PathVSo6CGRectV_tF":{"name":"path(in:)","parent_name":"BottomLabelShape"},"Structs/TrailingLabelShape.html#/s:7SwiftUI5ShapeP4path2inAA4PathVSo6CGRectV_tF":{"name":"path(in:)","parent_name":"TrailingLabelShape"},"Structs/LeadingLabelShape.html#/s:7SwiftUI5ShapeP4path2inAA4PathVSo6CGRectV_tF":{"name":"path(in:)","parent_name":"LeadingLabelShape"},"Structs/CustomLabelShape.html#/s:13SwiftUICharts16CustomLabelShapeVyACxc0A2UI0E0Rzlufc":{"name":"init(_:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CustomLabelShape"},"Structs/CustomLabelShape.html#/s:7SwiftUI5ShapeP4path2inAA4PathVSo6CGRectV_tF":{"name":"path(in:)","parent_name":"CustomLabelShape"},"Structs/DiamondShape.html#/s:7SwiftUI5ShapeP4path2inAA4PathVSo6CGRectV_tF":{"name":"path(in:)","parent_name":"DiamondShape"},"Structs/GridStyle.html#/s:13SwiftUICharts9GridStyleV13numberOfLinesSivp":{"name":"numberOfLines","abstract":"\u003cp\u003eNumber of lines to break up the axis\u003c/p\u003e","parent_name":"GridStyle"},"Structs/GridStyle.html#/s:13SwiftUICharts9GridStyleV10lineColour0A2UI5ColorVvp":{"name":"lineColour","abstract":"\u003cp\u003eLine Colour\u003c/p\u003e","parent_name":"GridStyle"},"Structs/GridStyle.html#/s:13SwiftUICharts9GridStyleV9lineWidth14CoreFoundation7CGFloatVvp":{"name":"lineWidth","abstract":"\u003cp\u003eLine Width\u003c/p\u003e","parent_name":"GridStyle"},"Structs/GridStyle.html#/s:13SwiftUICharts9GridStyleV4dashSay14CoreFoundation7CGFloatVGvp":{"name":"dash","abstract":"\u003cp\u003eDash\u003c/p\u003e","parent_name":"GridStyle"},"Structs/GridStyle.html#/s:13SwiftUICharts9GridStyleV9dashPhase14CoreFoundation7CGFloatVvp":{"name":"dashPhase","abstract":"\u003cp\u003eDash Phase\u003c/p\u003e","parent_name":"GridStyle"},"Structs/GridStyle.html#/s:13SwiftUICharts9GridStyleV13numberOfLines10lineColour0H5Width4dash0K5PhaseACSi_0A2UI5ColorV14CoreFoundation7CGFloatVSayANGANtcfc":{"name":"init(numberOfLines:lineColour:lineWidth:dash:dashPhase:)","abstract":"\u003cp\u003eModel for controlling the look of the Grid\u003c/p\u003e","parent_name":"GridStyle"},"Structs/ExtraLineDataPoint.html#/s:s12IdentifiableP2id2IDQzvp":{"name":"id","parent_name":"ExtraLineDataPoint"},"Structs/ExtraLineDataPoint.html#/s:13SwiftUICharts18ExtraLineDataPointV5valueSdvp":{"name":"value","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"ExtraLineDataPoint"},"Structs/ExtraLineDataPoint.html#/s:13SwiftUICharts18ExtraLineDataPointV11pointColourAA0fH0VSgvp":{"name":"pointColour","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"ExtraLineDataPoint"},"Structs/ExtraLineDataPoint.html#/s:13SwiftUICharts18ExtraLineDataPointV16pointDescriptionSSSgvp":{"name":"pointDescription","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"ExtraLineDataPoint"},"Structs/ExtraLineDataPoint.html#/s:13SwiftUICharts18ExtraLineDataPointV5value11pointColour0H11DescriptionACSd_AA0fI0VSgSSSgtcfc":{"name":"init(value:pointColour:pointDescription:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"ExtraLineDataPoint"},"Structs/ExtraLineData.html#/s:s12IdentifiableP2id2IDQzvp":{"name":"id","parent_name":"ExtraLineData"},"Structs/ExtraLineData.html#/s:13SwiftUICharts13ExtraLineDataV10dataPointsSayAA0cdE5PointVGvp":{"name":"dataPoints","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"ExtraLineData"},"Structs/ExtraLineData.html#/s:13SwiftUICharts13ExtraLineDataV5styleAA0cD5StyleVvp":{"name":"style","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"ExtraLineData"},"Structs/ExtraLineData.html#/s:13SwiftUICharts13ExtraLineDataV11legendTitleSSvp":{"name":"legendTitle","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"ExtraLineData"},"Structs/ExtraLineData.html#/s:13SwiftUICharts13ExtraLineDataV11legendTitle10dataPoints5styleACSS_SayAA0cdE5PointVGyXEAA0cD5StyleVyXEtcfc":{"name":"init(legendTitle:dataPoints:style:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"ExtraLineData"},"Structs/CustomNoDataView.html#/s:7SwiftUI4ViewP4body4BodyQzvp":{"name":"body","parent_name":"CustomNoDataView"},"Structs/Stroke.html#/s:s12IdentifiableP2id2IDQzvp":{"name":"id","parent_name":"Stroke"},"Structs/Stroke.html#/s:13SwiftUICharts6StrokeV9lineWidth0D3Cap0D4Join10miterLimit4dash0J5PhaseAC14CoreFoundation7CGFloatV_So06CGLineF0VSo0oG0VALSayALGALtcfc":{"name":"init(lineWidth:lineCap:lineJoin:miterLimit:dash:dashPhase:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"Stroke"},"Structs/GradientStop.html#/s:13SwiftUICharts12GradientStopV5color0A2UI5ColorVvp":{"name":"color","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"GradientStop"},"Structs/GradientStop.html#/s:13SwiftUICharts12GradientStopV8location14CoreFoundation7CGFloatVvp":{"name":"location","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"GradientStop"},"Structs/GradientStop.html#/s:13SwiftUICharts12GradientStopV5color8locationAC0A2UI5ColorV_14CoreFoundation7CGFloatVtcfc":{"name":"init(color:location:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"GradientStop"},"Structs/ColourStyle.html#/s:13SwiftUICharts13CTColourStyleP10colourTypeAA06ColourF0Ovp":{"name":"colourType","parent_name":"ColourStyle"},"Structs/ColourStyle.html#/s:13SwiftUICharts13CTColourStyleP6colour0A2UI5ColorVSgvp":{"name":"colour","parent_name":"ColourStyle"},"Structs/ColourStyle.html#/s:13SwiftUICharts13CTColourStyleP7coloursSay0A2UI5ColorVGSgvp":{"name":"colours","parent_name":"ColourStyle"},"Structs/ColourStyle.html#/s:13SwiftUICharts13CTColourStyleP5stopsSayAA12GradientStopVGSgvp":{"name":"stops","parent_name":"ColourStyle"},"Structs/ColourStyle.html#/s:13SwiftUICharts13CTColourStyleP10startPoint0A2UI04UnitF0VSgvp":{"name":"startPoint","parent_name":"ColourStyle"},"Structs/ColourStyle.html#/s:13SwiftUICharts13CTColourStyleP8endPoint0A2UI04UnitF0VSgvp":{"name":"endPoint","parent_name":"ColourStyle"},"Structs/ColourStyle.html#/s:13SwiftUICharts11ColourStyleV6colourAC0A2UI5ColorV_tcfc":{"name":"init(colour:)","abstract":"\u003cp\u003eSingle Colour\u003c/p\u003e","parent_name":"ColourStyle"},"Structs/ColourStyle.html#/s:13SwiftUICharts11ColourStyleV7colours10startPoint03endG0ACSay0A2UI5ColorVG_AG04UnitG0VALtcfc":{"name":"init(colours:startPoint:endPoint:)","abstract":"\u003cp\u003eGradient Colour Line\u003c/p\u003e","parent_name":"ColourStyle"},"Structs/ColourStyle.html#/s:13SwiftUICharts11ColourStyleV5stops10startPoint03endG0ACSayAA12GradientStopVG_0A2UI04UnitG0VALtcfc":{"name":"init(stops:startPoint:endPoint:)","abstract":"\u003cp\u003eGradient with Stops Line\u003c/p\u003e","parent_name":"ColourStyle"},"Structs/ChartMetadata.html#/s:13SwiftUICharts13ChartMetadataV5titleSSvp":{"name":"title","abstract":"\u003cp\u003eThe charts title\u003c/p\u003e","parent_name":"ChartMetadata"},"Structs/ChartMetadata.html#/s:13SwiftUICharts13ChartMetadataV9titleFont0A2UI0F0Vvp":{"name":"titleFont","abstract":"\u003cp\u003eFont of the title\u003c/p\u003e","parent_name":"ChartMetadata"},"Structs/ChartMetadata.html#/s:13SwiftUICharts13ChartMetadataV11titleColour0A2UI5ColorVvp":{"name":"titleColour","abstract":"\u003cp\u003eColor of the title\u003c/p\u003e","parent_name":"ChartMetadata"},"Structs/ChartMetadata.html#/s:13SwiftUICharts13ChartMetadataV8subtitleSSvp":{"name":"subtitle","abstract":"\u003cp\u003eThe charts subtitle\u003c/p\u003e","parent_name":"ChartMetadata"},"Structs/ChartMetadata.html#/s:13SwiftUICharts13ChartMetadataV12subtitleFont0A2UI0F0Vvp":{"name":"subtitleFont","abstract":"\u003cp\u003eFont of the subtitle\u003c/p\u003e","parent_name":"ChartMetadata"},"Structs/ChartMetadata.html#/s:13SwiftUICharts13ChartMetadataV14subtitleColour0A2UI5ColorVvp":{"name":"subtitleColour","abstract":"\u003cp\u003eColor of the subtitle\u003c/p\u003e","parent_name":"ChartMetadata"},"Structs/ChartMetadata.html#/s:13SwiftUICharts13ChartMetadataV5title8subtitle0E4Font0E6Colour0fG00fH0ACSS_SS0A2UI0G0VAJ5ColorVAlNtcfc":{"name":"init(title:subtitle:titleFont:titleColour:subtitleFont:subtitleColour:)","abstract":"\u003cp\u003eModel to hold the metadata for the chart.\u003c/p\u003e","parent_name":"ChartMetadata"},"Structs/LegendData.html#/s:s12IdentifiableP2id2IDQzvp":{"name":"id","parent_name":"LegendData"},"Structs/LegendData.html#/s:13SwiftUICharts10LegendDataV9chartTypeAA05ChartF0Ovp":{"name":"chartType","abstract":"\u003cp\u003eThe type of chart being used.\u003c/p\u003e","parent_name":"LegendData"},"Structs/LegendData.html#/s:13SwiftUICharts10LegendDataV6legendSSvp":{"name":"legend","abstract":"\u003cp\u003eText to be displayed\u003c/p\u003e","parent_name":"LegendData"},"Structs/LegendData.html#/s:13SwiftUICharts10LegendDataV11strokeStyleAA6StrokeVSgvp":{"name":"strokeStyle","abstract":"\u003cp\u003eStyle of the stroke\u003c/p\u003e","parent_name":"LegendData"},"Structs/LegendData.html#/s:13SwiftUICharts10LegendDataV7prioitySivp":{"name":"prioity","abstract":"\u003cp\u003eUsed to make sure the charts data legend is first\u003c/p\u003e","parent_name":"LegendData"},"Structs/LegendData.html#/s:13SwiftUICharts10LegendDataV6colourAA11ColourStyleVvp":{"name":"colour","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"LegendData"},"Structs/LegendData.html#/s:13SwiftUICharts10LegendDataV2id6legend6colour11strokeStyle7prioity9chartTypeAC10Foundation4UUIDV_SSAA06ColourI0VAA6StrokeVSgSiAA05ChartL0Otcfc":{"name":"init(id:legend:colour:strokeStyle:prioity:chartType:)","abstract":"\u003cp\u003eLegend.\u003c/p\u003e","parent_name":"LegendData"},"Structs/LegendData.html#/s:13SwiftUICharts10LegendDataV03getC05width4font9textColorQr14CoreFoundation7CGFloatV_0A2UI4FontVAK0I0VtF":{"name":"getLegend(width:font:textColor:)","abstract":"\u003cp\u003eGet the legend as a view.\u003c/p\u003e","parent_name":"LegendData"},"Structs/LegendData.html#/s:13SwiftUICharts10LegendDataV03getC8AsCircle5width4font9textColorQr14CoreFoundation7CGFloatV_0A2UI4FontVAK0K0VtF":{"name":"getLegendAsCircle(width:font:textColor:)","abstract":"\u003cp\u003eGet the legend as a view where the colour is indicated by a Circle.\u003c/p\u003e","parent_name":"LegendData"},"Structs/InfoExtra.html#/s:13SwiftUICharts9InfoExtraV9chartData4textACyxGx_SStcfc":{"name":"init(chartData:text:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"InfoExtra"},"Structs/InfoExtra.html#/s:7SwiftUI4ViewP4body4BodyQzvp":{"name":"body","parent_name":"InfoExtra"},"Structs/InfoDescription.html#/s:13SwiftUICharts15InfoDescriptionV9chartDataACyxGx_tcfc":{"name":"init(chartData:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"InfoDescription"},"Structs/InfoDescription.html#/s:7SwiftUI4ViewP4body4BodyQzvp":{"name":"body","parent_name":"InfoDescription"},"Structs/InfoValue.html#/s:13SwiftUICharts9InfoValueV9chartDataACyxGx_tcfc":{"name":"init(chartData:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"InfoValue"},"Structs/InfoValue.html#/s:7SwiftUI4ViewP4body4BodyQzvp":{"name":"body","parent_name":"InfoValue"},"Structs/PieChart.html#/s:13SwiftUICharts8PieChartV9chartDataACyxGx_tcfc":{"name":"init(chartData:)","abstract":"\u003cp\u003eInitialises a bar chart view.\u003c/p\u003e","parent_name":"PieChart"},"Structs/PieChart.html#/s:7SwiftUI4ViewP4body4BodyQzvp":{"name":"body","parent_name":"PieChart"},"Structs/DoughnutChart.html#/s:13SwiftUICharts13DoughnutChartV9chartDataACyxGx_tcfc":{"name":"init(chartData:)","abstract":"\u003cp\u003eInitialises a bar chart view.\u003c/p\u003e","parent_name":"DoughnutChart"},"Structs/DoughnutChart.html#/s:7SwiftUI4ViewP4body4BodyQzvp":{"name":"body","parent_name":"DoughnutChart"},"Structs/PieChartStyle.html#/s:13SwiftUICharts12CTChartStyleP16infoBoxPlacementAA04InfofG0Ovp":{"name":"infoBoxPlacement","parent_name":"PieChartStyle"},"Structs/PieChartStyle.html#/s:13SwiftUICharts12CTChartStyleP23infoBoxContentAlignmentAA04InfofH0Ovp":{"name":"infoBoxContentAlignment","parent_name":"PieChartStyle"},"Structs/PieChartStyle.html#/s:13SwiftUICharts12CTChartStyleP16infoBoxValueFont0A2UI0H0Vvp":{"name":"infoBoxValueFont","parent_name":"PieChartStyle"},"Structs/PieChartStyle.html#/s:13SwiftUICharts12CTChartStyleP18infoBoxValueColour0A2UI5ColorVvp":{"name":"infoBoxValueColour","parent_name":"PieChartStyle"},"Structs/PieChartStyle.html#/s:13SwiftUICharts12CTChartStyleP22infoBoxDescriptionFont0A2UI0H0Vvp":{"name":"infoBoxDescriptionFont","parent_name":"PieChartStyle"},"Structs/PieChartStyle.html#/s:13SwiftUICharts12CTChartStyleP24infoBoxDescriptionColour0A2UI5ColorVvp":{"name":"infoBoxDescriptionColour","parent_name":"PieChartStyle"},"Structs/PieChartStyle.html#/s:13SwiftUICharts12CTChartStyleP23infoBoxBackgroundColour0A2UI5ColorVvp":{"name":"infoBoxBackgroundColour","parent_name":"PieChartStyle"},"Structs/PieChartStyle.html#/s:13SwiftUICharts12CTChartStyleP19infoBoxBorderColour0A2UI5ColorVvp":{"name":"infoBoxBorderColour","parent_name":"PieChartStyle"},"Structs/PieChartStyle.html#/s:13SwiftUICharts12CTChartStyleP013infoBoxBorderD00A2UI06StrokeD0Vvp":{"name":"infoBoxBorderStyle","parent_name":"PieChartStyle"},"Structs/PieChartStyle.html#/s:13SwiftUICharts12CTChartStyleP15globalAnimation0A2UI0F0Vvp":{"name":"globalAnimation","parent_name":"PieChartStyle"},"Structs/PieChartStyle.html#/s:13SwiftUICharts13PieChartStyleV16infoBoxPlacement0fG16ContentAlignment0fG9ValueFont0fgK6Colour0fg11DescriptionL00fgnM00fg10BackgroundM00fg6BorderM00fgpE015globalAnimationAcA04InfogH0O_AA0sgJ0O0A2UI0L0VAR5ColorVAt3vR06StrokeE0VAR0R0Vtcfc":{"name":"init(infoBoxPlacement:infoBoxContentAlignment:infoBoxValueFont:infoBoxValueColour:infoBoxDescriptionFont:infoBoxDescriptionColour:infoBoxBackgroundColour:infoBoxBorderColour:infoBoxBorderStyle:globalAnimation:)","abstract":"\u003cp\u003eModel for controlling the overall aesthetic of the chart.\u003c/p\u003e","parent_name":"PieChartStyle"},"Structs/DoughnutChartStyle.html#/s:13SwiftUICharts12CTChartStyleP16infoBoxPlacementAA04InfofG0Ovp":{"name":"infoBoxPlacement","parent_name":"DoughnutChartStyle"},"Structs/DoughnutChartStyle.html#/s:13SwiftUICharts12CTChartStyleP23infoBoxContentAlignmentAA04InfofH0Ovp":{"name":"infoBoxContentAlignment","parent_name":"DoughnutChartStyle"},"Structs/DoughnutChartStyle.html#/s:13SwiftUICharts12CTChartStyleP16infoBoxValueFont0A2UI0H0Vvp":{"name":"infoBoxValueFont","parent_name":"DoughnutChartStyle"},"Structs/DoughnutChartStyle.html#/s:13SwiftUICharts12CTChartStyleP18infoBoxValueColour0A2UI5ColorVvp":{"name":"infoBoxValueColour","parent_name":"DoughnutChartStyle"},"Structs/DoughnutChartStyle.html#/s:13SwiftUICharts12CTChartStyleP22infoBoxDescriptionFont0A2UI0H0Vvp":{"name":"infoBoxDescriptionFont","parent_name":"DoughnutChartStyle"},"Structs/DoughnutChartStyle.html#/s:13SwiftUICharts12CTChartStyleP24infoBoxDescriptionColour0A2UI5ColorVvp":{"name":"infoBoxDescriptionColour","parent_name":"DoughnutChartStyle"},"Structs/DoughnutChartStyle.html#/s:13SwiftUICharts12CTChartStyleP23infoBoxBackgroundColour0A2UI5ColorVvp":{"name":"infoBoxBackgroundColour","parent_name":"DoughnutChartStyle"},"Structs/DoughnutChartStyle.html#/s:13SwiftUICharts12CTChartStyleP19infoBoxBorderColour0A2UI5ColorVvp":{"name":"infoBoxBorderColour","parent_name":"DoughnutChartStyle"},"Structs/DoughnutChartStyle.html#/s:13SwiftUICharts12CTChartStyleP013infoBoxBorderD00A2UI06StrokeD0Vvp":{"name":"infoBoxBorderStyle","parent_name":"DoughnutChartStyle"},"Structs/DoughnutChartStyle.html#/s:13SwiftUICharts12CTChartStyleP15globalAnimation0A2UI0F0Vvp":{"name":"globalAnimation","parent_name":"DoughnutChartStyle"},"Structs/DoughnutChartStyle.html#/s:13SwiftUICharts20CTDoughnutChartStyleP11strokeWidth14CoreFoundation7CGFloatVvp":{"name":"strokeWidth","parent_name":"DoughnutChartStyle"},"Structs/DoughnutChartStyle.html#/s:13SwiftUICharts18DoughnutChartStyleV16infoBoxPlacement0fG16ContentAlignment0fG9ValueFont0fgK6Colour0fg11DescriptionL00fgnM00fg10BackgroundM00fg6BorderM00fgpE015globalAnimation11strokeWidthAcA04InfogH0O_AA0ugJ0O0A2UI0L0VAS5ColorVAu3wS06StrokeE0VAS0R0V14CoreFoundation7CGFloatVtcfc":{"name":"init(infoBoxPlacement:infoBoxContentAlignment:infoBoxValueFont:infoBoxValueColour:infoBoxDescriptionFont:infoBoxDescriptionColour:infoBoxBackgroundColour:infoBoxBorderColour:infoBoxBorderStyle:globalAnimation:strokeWidth:)","abstract":"\u003cp\u003eModel for controlling the overall aesthetic of the chart.\u003c/p\u003e","parent_name":"DoughnutChartStyle"},"Structs/PieDataSet.html#/s:s12IdentifiableP2id2IDQzvp":{"name":"id","parent_name":"PieDataSet"},"Structs/PieDataSet.html#/s:13SwiftUICharts23CTSingleDataSetProtocolP10dataPointsSay0D5PointQzGvp":{"name":"dataPoints","parent_name":"PieDataSet"},"Structs/PieDataSet.html#/s:13SwiftUICharts10PieDataSetV11legendTitleSSvp":{"name":"legendTitle","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"PieDataSet"},"Structs/PieDataSet.html#/s:13SwiftUICharts10PieDataSetV10dataPoints11legendTitleACSayAA0c5ChartD5PointVG_SStcfc":{"name":"init(dataPoints:legendTitle:)","abstract":"\u003cp\u003eInitialises a new data set for a standard pie chart.\u003c/p\u003e","parent_name":"PieDataSet"},"Structs/PieDataSet.html#/s:s12IdentifiableP2IDQa":{"name":"ID","parent_name":"PieDataSet"},"Structs/PieDataSet.html#/s:13SwiftUICharts23CTSingleDataSetProtocolP0D5PointQa":{"name":"DataPoint","parent_name":"PieDataSet"},"Structs/PieChartDataPoint.html#/s:s12IdentifiableP2id2IDQzvp":{"name":"id","parent_name":"PieChartDataPoint"},"Structs/PieChartDataPoint.html#/s:13SwiftUICharts27CTStandardDataPointProtocolP5valueSdvp":{"name":"value","parent_name":"PieChartDataPoint"},"Structs/PieChartDataPoint.html#/s:13SwiftUICharts23CTDataPointBaseProtocolP11descriptionSSSgvp":{"name":"description","parent_name":"PieChartDataPoint"},"Structs/PieChartDataPoint.html#/s:13SwiftUICharts23CTDataPointBaseProtocolP4date10Foundation4DateVSgvp":{"name":"date","parent_name":"PieChartDataPoint"},"Structs/PieChartDataPoint.html#/s:13SwiftUICharts14CTPieDataPointP6colour0A2UI5ColorVvp":{"name":"colour","parent_name":"PieChartDataPoint"},"Structs/PieChartDataPoint.html#/s:13SwiftUICharts14CTPieDataPointP5labelAA11OverlayTypeOvp":{"name":"label","parent_name":"PieChartDataPoint"},"Structs/PieChartDataPoint.html#/s:13SwiftUICharts14CTPieDataPointP10startAngleSdvp":{"name":"startAngle","parent_name":"PieChartDataPoint"},"Structs/PieChartDataPoint.html#/s:13SwiftUICharts14CTPieDataPointP6amountSdvp":{"name":"amount","parent_name":"PieChartDataPoint"},"Structs/PieChartDataPoint.html#/s:13SwiftUICharts23CTDataPointBaseProtocolP9legendTagSSvp":{"name":"legendTag","parent_name":"PieChartDataPoint"},"Structs/PieChartDataPoint.html#/s:13SwiftUICharts17PieChartDataPointV5value11description4date6colour5labelACSd_SSSg10Foundation4DateVSg0A2UI5ColorVAA11OverlayTypeOtcfc":{"name":"init(value:description:date:colour:label:)","abstract":"\u003cp\u003eData model for a single data point for a pie chart.\u003c/p\u003e","parent_name":"PieChartDataPoint"},"Structs/PieChartDataPoint.html#/s:SQ2eeoiySbx_xtFZ":{"name":"==(_:_:)","parent_name":"PieChartDataPoint"},"Structs/DotStyle.html#/s:13SwiftUICharts8DotStyleV4size10fillColour04lineG00H5WidthAC14CoreFoundation7CGFloatV_0A2UI5ColorVAmJtcfc":{"name":"init(size:fillColour:lineColour:lineWidth:)","abstract":"\u003cp\u003eSets the style of the Posistion Indicator\u003c/p\u003e","parent_name":"DotStyle"},"Structs/RangedLineChart.html#/s:13SwiftUICharts15RangedLineChartV9chartDataACyxGx_tcfc":{"name":"init(chartData:)","abstract":"\u003cp\u003eInitialises a line chart view.\u003c/p\u003e","parent_name":"RangedLineChart"},"Structs/RangedLineChart.html#/s:7SwiftUI4ViewP4body4BodyQzvp":{"name":"body","parent_name":"RangedLineChart"},"Structs/MultiLineChart.html#/s:13SwiftUICharts14MultiLineChartV9chartDataACyxGx_tcfc":{"name":"init(chartData:)","abstract":"\u003cp\u003eInitialises a multi-line, line chart.\u003c/p\u003e","parent_name":"MultiLineChart"},"Structs/MultiLineChart.html#/s:7SwiftUI4ViewP4body4BodyQzvp":{"name":"body","parent_name":"MultiLineChart"},"Structs/LineChart.html#/s:13SwiftUICharts9LineChartV9chartDataACyxGx_tcfc":{"name":"init(chartData:)","abstract":"\u003cp\u003eInitialises a line chart view.\u003c/p\u003e","parent_name":"LineChart"},"Structs/LineChart.html#/s:7SwiftUI4ViewP4body4BodyQzvp":{"name":"body","parent_name":"LineChart"},"Structs/FilledLineChart.html#/s:13SwiftUICharts15FilledLineChartV9chartDataACyxGx_tcfc":{"name":"init(chartData:)","abstract":"\u003cp\u003eInitialises a filled line chart\u003c/p\u003e","parent_name":"FilledLineChart"},"Structs/FilledLineChart.html#/s:7SwiftUI4ViewP4body4BodyQzvp":{"name":"body","parent_name":"FilledLineChart"},"Structs/RangedLineStyle.html#/s:13SwiftUICharts11CTLineStyleP10lineColourAA0fD0Vvp":{"name":"lineColour","parent_name":"RangedLineStyle"},"Structs/RangedLineStyle.html#/s:13SwiftUICharts17CTRangedLineStyleP10fillColourAA0gE0Vvp":{"name":"fillColour","parent_name":"RangedLineStyle"},"Structs/RangedLineStyle.html#/s:13SwiftUICharts11CTLineStyleP8lineTypeAA04LineF0Ovp":{"name":"lineType","parent_name":"RangedLineStyle"},"Structs/RangedLineStyle.html#/s:13SwiftUICharts11CTLineStyleP06strokeD0AA6StrokeVvp":{"name":"strokeStyle","parent_name":"RangedLineStyle"},"Structs/RangedLineStyle.html#/s:13SwiftUICharts11CTLineStyleP10ignoreZeroSbvp":{"name":"ignoreZero","parent_name":"RangedLineStyle"},"Structs/RangedLineStyle.html#/s:13SwiftUICharts15RangedLineStyleV10lineColour04fillG00F4Type06strokeE010ignoreZeroAcA0gE0V_AjA0dI0OAA6StrokeVSbtcfc":{"name":"init(lineColour:fillColour:lineType:strokeStyle:ignoreZero:)","abstract":"\u003cp\u003eInitialize the styling for ranged line chart.\u003c/p\u003e","parent_name":"RangedLineStyle"},"Structs/PointColour.html#/s:13SwiftUICharts11PointColourV6border0A2UI5ColorVvp":{"name":"border","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"PointColour"},"Structs/PointColour.html#/s:13SwiftUICharts11PointColourV4fill0A2UI5ColorVvp":{"name":"fill","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"PointColour"},"Structs/PointColour.html#/s:13SwiftUICharts11PointColourV6border4fillAC0A2UI5ColorV_AHtcfc":{"name":"init(border:fill:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"PointColour"},"Structs/PointStyle.html#/s:13SwiftUICharts10PointStyleV9pointSize14CoreFoundation7CGFloatVvp":{"name":"pointSize","abstract":"\u003cp\u003eOverall size of the mark\u003c/p\u003e","parent_name":"PointStyle"},"Structs/PointStyle.html#/s:13SwiftUICharts10PointStyleV12borderColour0A2UI5ColorVvp":{"name":"borderColour","abstract":"\u003cp\u003eOutter ring colour\u003c/p\u003e","parent_name":"PointStyle"},"Structs/PointStyle.html#/s:13SwiftUICharts10PointStyleV10fillColour0A2UI5ColorVvp":{"name":"fillColour","abstract":"\u003cp\u003eCenter fill colour\u003c/p\u003e","parent_name":"PointStyle"},"Structs/PointStyle.html#/s:13SwiftUICharts10PointStyleV9lineWidth14CoreFoundation7CGFloatVvp":{"name":"lineWidth","abstract":"\u003cp\u003eOutter ring line width\u003c/p\u003e","parent_name":"PointStyle"},"Structs/PointStyle.html#/s:13SwiftUICharts10PointStyleV9pointTypeAA0cF0Ovp":{"name":"pointType","abstract":"\u003cp\u003eStyle of the point marks\u003c/p\u003e","parent_name":"PointStyle"},"Structs/PointStyle.html#/s:13SwiftUICharts10PointStyleV10pointShapeAA0cF0Ovp":{"name":"pointShape","abstract":"\u003cp\u003eShape of the points\u003c/p\u003e","parent_name":"PointStyle"},"Structs/PointStyle.html#/s:13SwiftUICharts10PointStyleV9pointSize12borderColour04fillH09lineWidth0E4Type0E5ShapeAC14CoreFoundation7CGFloatV_0A2UI5ColorVAolA0cL0OAA0cM0Otcfc":{"name":"init(pointSize:borderColour:fillColour:lineWidth:pointType:pointShape:)","abstract":"\u003cp\u003eStyling for the point markers.\u003c/p\u003e","parent_name":"PointStyle"},"Structs/LineStyle.html#/s:13SwiftUICharts11CTLineStyleP10lineColourAA0fD0Vvp":{"name":"lineColour","parent_name":"LineStyle"},"Structs/LineStyle.html#/s:13SwiftUICharts11CTLineStyleP8lineTypeAA04LineF0Ovp":{"name":"lineType","parent_name":"LineStyle"},"Structs/LineStyle.html#/s:13SwiftUICharts11CTLineStyleP06strokeD0AA6StrokeVvp":{"name":"strokeStyle","parent_name":"LineStyle"},"Structs/LineStyle.html#/s:13SwiftUICharts11CTLineStyleP10ignoreZeroSbvp":{"name":"ignoreZero","parent_name":"LineStyle"},"Structs/LineStyle.html#/s:13SwiftUICharts9LineStyleV10lineColour0E4Type06strokeD010ignoreZeroAcA0fD0V_AA0cG0OAA6StrokeVSbtcfc":{"name":"init(lineColour:lineType:strokeStyle:ignoreZero:)","abstract":"\u003cp\u003eStyle of the line.\u003c/p\u003e","parent_name":"LineStyle"},"Structs/LineChartStyle.html#/s:13SwiftUICharts12CTChartStyleP16infoBoxPlacementAA04InfofG0Ovp":{"name":"infoBoxPlacement","parent_name":"LineChartStyle"},"Structs/LineChartStyle.html#/s:13SwiftUICharts12CTChartStyleP23infoBoxContentAlignmentAA04InfofH0Ovp":{"name":"infoBoxContentAlignment","parent_name":"LineChartStyle"},"Structs/LineChartStyle.html#/s:13SwiftUICharts12CTChartStyleP16infoBoxValueFont0A2UI0H0Vvp":{"name":"infoBoxValueFont","parent_name":"LineChartStyle"},"Structs/LineChartStyle.html#/s:13SwiftUICharts12CTChartStyleP18infoBoxValueColour0A2UI5ColorVvp":{"name":"infoBoxValueColour","parent_name":"LineChartStyle"},"Structs/LineChartStyle.html#/s:13SwiftUICharts12CTChartStyleP22infoBoxDescriptionFont0A2UI0H0Vvp":{"name":"infoBoxDescriptionFont","parent_name":"LineChartStyle"},"Structs/LineChartStyle.html#/s:13SwiftUICharts12CTChartStyleP24infoBoxDescriptionColour0A2UI5ColorVvp":{"name":"infoBoxDescriptionColour","parent_name":"LineChartStyle"},"Structs/LineChartStyle.html#/s:13SwiftUICharts12CTChartStyleP23infoBoxBackgroundColour0A2UI5ColorVvp":{"name":"infoBoxBackgroundColour","parent_name":"LineChartStyle"},"Structs/LineChartStyle.html#/s:13SwiftUICharts12CTChartStyleP19infoBoxBorderColour0A2UI5ColorVvp":{"name":"infoBoxBorderColour","parent_name":"LineChartStyle"},"Structs/LineChartStyle.html#/s:13SwiftUICharts12CTChartStyleP013infoBoxBorderD00A2UI06StrokeD0Vvp":{"name":"infoBoxBorderStyle","parent_name":"LineChartStyle"},"Structs/LineChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP10markerType4MarkQzvp":{"name":"markerType","parent_name":"LineChartStyle"},"Structs/LineChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP09xAxisGridF0AA0hF0Vvp":{"name":"xAxisGridStyle","parent_name":"LineChartStyle"},"Structs/LineChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP18xAxisLabelPositionAA05XAxisH9PosistionOvp":{"name":"xAxisLabelPosition","parent_name":"LineChartStyle"},"Structs/LineChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP14xAxisLabelFont0A2UI0I0Vvp":{"name":"xAxisLabelFont","parent_name":"LineChartStyle"},"Structs/LineChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP16xAxisLabelColour0A2UI5ColorVvp":{"name":"xAxisLabelColour","parent_name":"LineChartStyle"},"Structs/LineChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP15xAxisLabelsFromAA0hI0Ovp":{"name":"xAxisLabelsFrom","parent_name":"LineChartStyle"},"Structs/LineChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP10xAxisTitleSSSgvp":{"name":"xAxisTitle","parent_name":"LineChartStyle"},"Structs/LineChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP14xAxisTitleFont0A2UI0I0Vvp":{"name":"xAxisTitleFont","parent_name":"LineChartStyle"},"Structs/LineChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP16xAxisTitleColour0A2UI5ColorVvp":{"name":"xAxisTitleColour","parent_name":"LineChartStyle"},"Structs/LineChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP17xAxisBorderColour0A2UI5ColorVSgvp":{"name":"xAxisBorderColour","parent_name":"LineChartStyle"},"Structs/LineChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP09yAxisGridF0AA0hF0Vvp":{"name":"yAxisGridStyle","parent_name":"LineChartStyle"},"Structs/LineChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP18yAxisLabelPositionAA05YAxisH9PosistionOvp":{"name":"yAxisLabelPosition","parent_name":"LineChartStyle"},"Structs/LineChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP14yAxisLabelFont0A2UI0I0Vvp":{"name":"yAxisLabelFont","parent_name":"LineChartStyle"},"Structs/LineChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP16yAxisLabelColour0A2UI5ColorVvp":{"name":"yAxisLabelColour","parent_name":"LineChartStyle"},"Structs/LineChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP19yAxisNumberOfLabelsSivp":{"name":"yAxisNumberOfLabels","parent_name":"LineChartStyle"},"Structs/LineChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP14yAxisLabelTypeAA05YAxishI0Ovp":{"name":"yAxisLabelType","parent_name":"LineChartStyle"},"Structs/LineChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP10yAxisTitleSSSgvp":{"name":"yAxisTitle","parent_name":"LineChartStyle"},"Structs/LineChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP14yAxisTitleFont0A2UI0I0Vvp":{"name":"yAxisTitleFont","parent_name":"LineChartStyle"},"Structs/LineChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP16yAxisTitleColour0A2UI5ColorVvp":{"name":"yAxisTitleColour","parent_name":"LineChartStyle"},"Structs/LineChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP17yAxisBorderColour0A2UI5ColorVSgvp":{"name":"yAxisBorderColour","parent_name":"LineChartStyle"},"Structs/LineChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP8baselineAA8BaselineOvp":{"name":"baseline","parent_name":"LineChartStyle"},"Structs/LineChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP7topLineAA7ToplineOvp":{"name":"topLine","parent_name":"LineChartStyle"},"Structs/LineChartStyle.html#/s:13SwiftUICharts12CTChartStyleP15globalAnimation0A2UI0F0Vvp":{"name":"globalAnimation","parent_name":"LineChartStyle"},"Structs/LineChartStyle.html#/s:13SwiftUICharts14LineChartStyleV16infoBoxPlacement0fG16ContentAlignment0fG9ValueFont0fgK6Colour0fg11DescriptionL00fgnM00fg10BackgroundM00fg6BorderM00fgpE010markerType09xAxisGridE001xS13LabelPosition01xsuL001xsuM001xS10LabelsFrom01xS5Title01xsyL001xsyM001xspM001ystE001ysuV001ysuL001ysuM001ys8NumberOfW001ysuR001ysY001ysyL001ysyM001yspM08baseline03topC015globalAnimationAcA04InfogH0O_AA04InfogJ0O0A2UI0L0VA12_5ColorVA14_A16_A16_A16_A12_06StrokeE0VAA0c6MarkerR0OAA0tE0VAA05XAxisU9PosistionOA14_A16_AA0wX0OSSSgA14_A16_A16_SgA22_AA05YAxisU9PosistionOA14_A16_SiAA05YAxisuR0OA27_A14_A16_A28_AA8BaselineOAA7ToplineOA12_9AnimationVtcfc":{"name":"init(infoBoxPlacement:infoBoxContentAlignment:infoBoxValueFont:infoBoxValueColour:infoBoxDescriptionFont:infoBoxDescriptionColour:infoBoxBackgroundColour:infoBoxBorderColour:infoBoxBorderStyle:markerType:xAxisGridStyle:xAxisLabelPosition:xAxisLabelFont:xAxisLabelColour:xAxisLabelsFrom:xAxisTitle:xAxisTitleFont:xAxisTitleColour:xAxisBorderColour:yAxisGridStyle:yAxisLabelPosition:yAxisLabelFont:yAxisLabelColour:yAxisNumberOfLabels:yAxisLabelType:yAxisTitle:yAxisTitleFont:yAxisTitleColour:yAxisBorderColour:baseline:topLine:globalAnimation:)","abstract":"\u003cp\u003eModel for controlling the overall aesthetic of the chart.\u003c/p\u003e","parent_name":"LineChartStyle"},"Structs/RangedLineDataSet.html#/s:s12IdentifiableP2id2IDQzvp":{"name":"id","parent_name":"RangedLineDataSet"},"Structs/RangedLineDataSet.html#/s:13SwiftUICharts23CTSingleDataSetProtocolP10dataPointsSay0D5PointQzGvp":{"name":"dataPoints","parent_name":"RangedLineDataSet"},"Structs/RangedLineDataSet.html#/s:13SwiftUICharts18CTLineChartDataSetP11legendTitleSSvp":{"name":"legendTitle","parent_name":"RangedLineDataSet"},"Structs/RangedLineDataSet.html#/s:13SwiftUICharts24CTRangedLineChartDataSetP15legendFillTitleSSvp":{"name":"legendFillTitle","parent_name":"RangedLineDataSet"},"Structs/RangedLineDataSet.html#/s:13SwiftUICharts18CTLineChartDataSetP10pointStyleAA05PointH0Vvp":{"name":"pointStyle","parent_name":"RangedLineDataSet"},"Structs/RangedLineDataSet.html#/s:13SwiftUICharts18CTLineChartDataSetP5style7StylingQzvp":{"name":"style","parent_name":"RangedLineDataSet"},"Structs/RangedLineDataSet.html#/s:13SwiftUICharts17RangedLineDataSetV10dataPoints11legendTitle0i4FillJ010pointStyle5styleACSayAA0cd5ChartE5PointVG_S2SAA0pM0VAA0cdM0Vtcfc":{"name":"init(dataPoints:legendTitle:legendFillTitle:pointStyle:style:)","abstract":"\u003cp\u003eInitialises a data set for a line in a ranged line chart.\u003c/p\u003e","parent_name":"RangedLineDataSet"},"Structs/RangedLineDataSet.html#/s:s12IdentifiableP2IDQa":{"name":"ID","parent_name":"RangedLineDataSet"},"Structs/RangedLineDataSet.html#/s:13SwiftUICharts18CTLineChartDataSetP7StylingQa":{"name":"Styling","parent_name":"RangedLineDataSet"},"Structs/MultiLineDataSet.html#/s:s12IdentifiableP2id2IDQzvp":{"name":"id","parent_name":"MultiLineDataSet"},"Structs/MultiLineDataSet.html#/s:13SwiftUICharts22CTMultiDataSetProtocolP8dataSetsSay0dE0QzGvp":{"name":"dataSets","parent_name":"MultiLineDataSet"},"Structs/MultiLineDataSet.html#/s:13SwiftUICharts16MultiLineDataSetV8dataSetsACSayAA0deF0VG_tcfc":{"name":"init(dataSets:)","abstract":"\u003cp\u003eInitialises a new data set for multi-line Line Charts.\u003c/p\u003e","parent_name":"MultiLineDataSet"},"Structs/LineDataSet.html#/s:s12IdentifiableP2id2IDQzvp":{"name":"id","parent_name":"LineDataSet"},"Structs/LineDataSet.html#/s:13SwiftUICharts23CTSingleDataSetProtocolP10dataPointsSay0D5PointQzGvp":{"name":"dataPoints","parent_name":"LineDataSet"},"Structs/LineDataSet.html#/s:13SwiftUICharts18CTLineChartDataSetP11legendTitleSSvp":{"name":"legendTitle","parent_name":"LineDataSet"},"Structs/LineDataSet.html#/s:13SwiftUICharts18CTLineChartDataSetP10pointStyleAA05PointH0Vvp":{"name":"pointStyle","parent_name":"LineDataSet"},"Structs/LineDataSet.html#/s:13SwiftUICharts18CTLineChartDataSetP5style7StylingQzvp":{"name":"style","parent_name":"LineDataSet"},"Structs/LineDataSet.html#/s:13SwiftUICharts11LineDataSetV10dataPoints11legendTitle10pointStyle5styleACSayAA0c5ChartD5PointVG_SSAA0nK0VAA0cK0Vtcfc":{"name":"init(dataPoints:legendTitle:pointStyle:style:)","abstract":"\u003cp\u003eInitialises a data set for a line in a Line Chart.\u003c/p\u003e","parent_name":"LineDataSet"},"Structs/LineDataSet.html#/s:s12IdentifiableP2IDQa":{"name":"ID","parent_name":"LineDataSet"},"Structs/LineDataSet.html#/s:13SwiftUICharts18CTLineChartDataSetP7StylingQa":{"name":"Styling","parent_name":"LineDataSet"},"Structs/RangedLineChartDataPoint.html#/s:s12IdentifiableP2id2IDQzvp":{"name":"id","parent_name":"RangedLineChartDataPoint"},"Structs/RangedLineChartDataPoint.html#/s:13SwiftUICharts27CTStandardDataPointProtocolP5valueSdvp":{"name":"value","parent_name":"RangedLineChartDataPoint"},"Structs/RangedLineChartDataPoint.html#/s:13SwiftUICharts24CTRangeDataPointProtocolP10upperValueSdvp":{"name":"upperValue","parent_name":"RangedLineChartDataPoint"},"Structs/RangedLineChartDataPoint.html#/s:13SwiftUICharts24CTRangeDataPointProtocolP10lowerValueSdvp":{"name":"lowerValue","parent_name":"RangedLineChartDataPoint"},"Structs/RangedLineChartDataPoint.html#/s:13SwiftUICharts26CTLineBarDataPointProtocolP10xAxisLabelSSSgvp":{"name":"xAxisLabel","parent_name":"RangedLineChartDataPoint"},"Structs/RangedLineChartDataPoint.html#/s:13SwiftUICharts23CTDataPointBaseProtocolP11descriptionSSSgvp":{"name":"description","parent_name":"RangedLineChartDataPoint"},"Structs/RangedLineChartDataPoint.html#/s:13SwiftUICharts23CTDataPointBaseProtocolP4date10Foundation4DateVSgvp":{"name":"date","parent_name":"RangedLineChartDataPoint"},"Structs/RangedLineChartDataPoint.html#/s:13SwiftUICharts24RangedLineChartDataPointV11pointColourAA0gI0VSgvp":{"name":"pointColour","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"RangedLineChartDataPoint"},"Structs/RangedLineChartDataPoint.html#/s:13SwiftUICharts24RangedLineChartDataPointV8ignoreMeSbvp":{"name":"ignoreMe","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"RangedLineChartDataPoint"},"Structs/RangedLineChartDataPoint.html#/s:13SwiftUICharts23CTDataPointBaseProtocolP9legendTagSSvp":{"name":"legendTag","parent_name":"RangedLineChartDataPoint"},"Structs/RangedLineChartDataPoint.html#/s:13SwiftUICharts24RangedLineChartDataPointV5value10upperValue05lowerJ010xAxisLabel11description4date11pointColourACSd_S2dSSSgAK10Foundation4DateVSgAA0gQ0VSgtcfc":{"name":"init(value:upperValue:lowerValue:xAxisLabel:description:date:pointColour:)","abstract":"\u003cp\u003eData model for a single data point with colour for use with a ranged line chart.\u003c/p\u003e","parent_name":"RangedLineChartDataPoint"},"Structs/LineChartDataPoint.html#/s:s12IdentifiableP2id2IDQzvp":{"name":"id","parent_name":"LineChartDataPoint"},"Structs/LineChartDataPoint.html#/s:13SwiftUICharts27CTStandardDataPointProtocolP5valueSdvp":{"name":"value","parent_name":"LineChartDataPoint"},"Structs/LineChartDataPoint.html#/s:13SwiftUICharts26CTLineBarDataPointProtocolP10xAxisLabelSSSgvp":{"name":"xAxisLabel","parent_name":"LineChartDataPoint"},"Structs/LineChartDataPoint.html#/s:13SwiftUICharts23CTDataPointBaseProtocolP11descriptionSSSgvp":{"name":"description","parent_name":"LineChartDataPoint"},"Structs/LineChartDataPoint.html#/s:13SwiftUICharts23CTDataPointBaseProtocolP4date10Foundation4DateVSgvp":{"name":"date","parent_name":"LineChartDataPoint"},"Structs/LineChartDataPoint.html#/s:13SwiftUICharts18LineChartDataPointV11pointColourAA0fH0VSgvp":{"name":"pointColour","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"LineChartDataPoint"},"Structs/LineChartDataPoint.html#/s:13SwiftUICharts18LineChartDataPointV8ignoreMeSbvp":{"name":"ignoreMe","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"LineChartDataPoint"},"Structs/LineChartDataPoint.html#/s:13SwiftUICharts23CTDataPointBaseProtocolP9legendTagSSvp":{"name":"legendTag","parent_name":"LineChartDataPoint"},"Structs/LineChartDataPoint.html#/s:13SwiftUICharts18LineChartDataPointV5value10xAxisLabel11description4date11pointColourACSd_SSSgAI10Foundation4DateVSgAA0fM0VSgtcfc":{"name":"init(value:xAxisLabel:description:date:pointColour:)","abstract":"\u003cp\u003eData model for a single data point with colour for use with a line chart.\u003c/p\u003e","parent_name":"LineChartDataPoint"},"Structs/StackedBarChart.html#/s:13SwiftUICharts15StackedBarChartV9chartDataACyxGx_tcfc":{"name":"init(chartData:)","abstract":"\u003cp\u003eInitialises a stacked bar chart view.\u003c/p\u003e","parent_name":"StackedBarChart"},"Structs/StackedBarChart.html#/s:7SwiftUI4ViewP4body4BodyQzvp":{"name":"body","parent_name":"StackedBarChart"},"Structs/RangedBarChart.html#/s:13SwiftUICharts14RangedBarChartV9chartDataACyxGx_tcfc":{"name":"init(chartData:)","abstract":"\u003cp\u003eInitialises a bar chart view.\u003c/p\u003e","parent_name":"RangedBarChart"},"Structs/RangedBarChart.html#/s:7SwiftUI4ViewP4body4BodyQzvp":{"name":"body","parent_name":"RangedBarChart"},"Structs/HorizontalBarChart.html#/s:13SwiftUICharts18HorizontalBarChartV9chartDataACyxGx_tcfc":{"name":"init(chartData:)","abstract":"\u003cp\u003eInitialises a bar chart view.\u003c/p\u003e","parent_name":"HorizontalBarChart"},"Structs/HorizontalBarChart.html#/s:7SwiftUI4ViewP4body4BodyQzvp":{"name":"body","parent_name":"HorizontalBarChart"},"Structs/GroupedBarChart.html#/s:13SwiftUICharts15GroupedBarChartV9chartData12groupSpacingACyxGx_14CoreFoundation7CGFloatVtcfc":{"name":"init(chartData:groupSpacing:)","abstract":"\u003cp\u003eInitialises a grouped bar chart view.\u003c/p\u003e","parent_name":"GroupedBarChart"},"Structs/GroupedBarChart.html#/s:7SwiftUI4ViewP4body4BodyQzvp":{"name":"body","parent_name":"GroupedBarChart"},"Structs/BarChart.html#/s:13SwiftUICharts8BarChartV9chartDataACyxGx_tcfc":{"name":"init(chartData:)","abstract":"\u003cp\u003eInitialises a bar chart view.\u003c/p\u003e","parent_name":"BarChart"},"Structs/BarChart.html#/s:7SwiftUI4ViewP4body4BodyQzvp":{"name":"body","parent_name":"BarChart"},"Structs/BarStyle.html#/s:13SwiftUICharts10CTBarStyleP8barWidth14CoreFoundation7CGFloatVvp":{"name":"barWidth","parent_name":"BarStyle"},"Structs/BarStyle.html#/s:13SwiftUICharts10CTBarStyleP12cornerRadiusAA06CornerF0Vvp":{"name":"cornerRadius","parent_name":"BarStyle"},"Structs/BarStyle.html#/s:13SwiftUICharts10CTBarStyleP10colourFromAA06ColourF0Ovp":{"name":"colourFrom","parent_name":"BarStyle"},"Structs/BarStyle.html#/s:13SwiftUICharts10CTBarStyleP6colourAA06ColourD0Vvp":{"name":"colour","parent_name":"BarStyle"},"Structs/BarStyle.html#/s:13SwiftUICharts8BarStyleV8barWidth12cornerRadius10colourFrom0I0AC14CoreFoundation7CGFloatV_AA06CornerH0VAA06ColourJ0OAA0oD0Vtcfc":{"name":"init(barWidth:cornerRadius:colourFrom:colour:)","abstract":"\u003cp\u003eBar Chart with single colour\u003c/p\u003e","parent_name":"BarStyle"},"Structs/BarChartStyle.html#/s:13SwiftUICharts12CTChartStyleP16infoBoxPlacementAA04InfofG0Ovp":{"name":"infoBoxPlacement","parent_name":"BarChartStyle"},"Structs/BarChartStyle.html#/s:13SwiftUICharts12CTChartStyleP23infoBoxContentAlignmentAA04InfofH0Ovp":{"name":"infoBoxContentAlignment","parent_name":"BarChartStyle"},"Structs/BarChartStyle.html#/s:13SwiftUICharts12CTChartStyleP16infoBoxValueFont0A2UI0H0Vvp":{"name":"infoBoxValueFont","parent_name":"BarChartStyle"},"Structs/BarChartStyle.html#/s:13SwiftUICharts12CTChartStyleP18infoBoxValueColour0A2UI5ColorVvp":{"name":"infoBoxValueColour","parent_name":"BarChartStyle"},"Structs/BarChartStyle.html#/s:13SwiftUICharts12CTChartStyleP22infoBoxDescriptionFont0A2UI0H0Vvp":{"name":"infoBoxDescriptionFont","parent_name":"BarChartStyle"},"Structs/BarChartStyle.html#/s:13SwiftUICharts12CTChartStyleP24infoBoxDescriptionColour0A2UI5ColorVvp":{"name":"infoBoxDescriptionColour","parent_name":"BarChartStyle"},"Structs/BarChartStyle.html#/s:13SwiftUICharts12CTChartStyleP23infoBoxBackgroundColour0A2UI5ColorVvp":{"name":"infoBoxBackgroundColour","parent_name":"BarChartStyle"},"Structs/BarChartStyle.html#/s:13SwiftUICharts12CTChartStyleP19infoBoxBorderColour0A2UI5ColorVvp":{"name":"infoBoxBorderColour","parent_name":"BarChartStyle"},"Structs/BarChartStyle.html#/s:13SwiftUICharts12CTChartStyleP013infoBoxBorderD00A2UI06StrokeD0Vvp":{"name":"infoBoxBorderStyle","parent_name":"BarChartStyle"},"Structs/BarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP10markerType4MarkQzvp":{"name":"markerType","parent_name":"BarChartStyle"},"Structs/BarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP09xAxisGridF0AA0hF0Vvp":{"name":"xAxisGridStyle","parent_name":"BarChartStyle"},"Structs/BarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP18xAxisLabelPositionAA05XAxisH9PosistionOvp":{"name":"xAxisLabelPosition","parent_name":"BarChartStyle"},"Structs/BarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP14xAxisLabelFont0A2UI0I0Vvp":{"name":"xAxisLabelFont","parent_name":"BarChartStyle"},"Structs/BarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP16xAxisLabelColour0A2UI5ColorVvp":{"name":"xAxisLabelColour","parent_name":"BarChartStyle"},"Structs/BarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP15xAxisLabelsFromAA0hI0Ovp":{"name":"xAxisLabelsFrom","parent_name":"BarChartStyle"},"Structs/BarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP10xAxisTitleSSSgvp":{"name":"xAxisTitle","parent_name":"BarChartStyle"},"Structs/BarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP14xAxisTitleFont0A2UI0I0Vvp":{"name":"xAxisTitleFont","parent_name":"BarChartStyle"},"Structs/BarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP16xAxisTitleColour0A2UI5ColorVvp":{"name":"xAxisTitleColour","parent_name":"BarChartStyle"},"Structs/BarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP17xAxisBorderColour0A2UI5ColorVSgvp":{"name":"xAxisBorderColour","parent_name":"BarChartStyle"},"Structs/BarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP09yAxisGridF0AA0hF0Vvp":{"name":"yAxisGridStyle","parent_name":"BarChartStyle"},"Structs/BarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP18yAxisLabelPositionAA05YAxisH9PosistionOvp":{"name":"yAxisLabelPosition","parent_name":"BarChartStyle"},"Structs/BarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP14yAxisLabelFont0A2UI0I0Vvp":{"name":"yAxisLabelFont","parent_name":"BarChartStyle"},"Structs/BarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP16yAxisLabelColour0A2UI5ColorVvp":{"name":"yAxisLabelColour","parent_name":"BarChartStyle"},"Structs/BarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP19yAxisNumberOfLabelsSivp":{"name":"yAxisNumberOfLabels","parent_name":"BarChartStyle"},"Structs/BarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP14yAxisLabelTypeAA05YAxishI0Ovp":{"name":"yAxisLabelType","parent_name":"BarChartStyle"},"Structs/BarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP10yAxisTitleSSSgvp":{"name":"yAxisTitle","parent_name":"BarChartStyle"},"Structs/BarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP14yAxisTitleFont0A2UI0I0Vvp":{"name":"yAxisTitleFont","parent_name":"BarChartStyle"},"Structs/BarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP16yAxisTitleColour0A2UI5ColorVvp":{"name":"yAxisTitleColour","parent_name":"BarChartStyle"},"Structs/BarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP17yAxisBorderColour0A2UI5ColorVSgvp":{"name":"yAxisBorderColour","parent_name":"BarChartStyle"},"Structs/BarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP8baselineAA8BaselineOvp":{"name":"baseline","parent_name":"BarChartStyle"},"Structs/BarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP7topLineAA7ToplineOvp":{"name":"topLine","parent_name":"BarChartStyle"},"Structs/BarChartStyle.html#/s:13SwiftUICharts12CTChartStyleP15globalAnimation0A2UI0F0Vvp":{"name":"globalAnimation","parent_name":"BarChartStyle"},"Structs/BarChartStyle.html#/s:13SwiftUICharts13BarChartStyleV16infoBoxPlacement0fG16ContentAlignment0fG9ValueFont0fgK6Colour0fg11DescriptionL00fgnM00fg10BackgroundM00fg6BorderM00fgpE010markerType09xAxisGridE001xS13LabelPosition01xsuL001xsuM001xS10LabelsFrom01xS5Title01xsyL001xsyM001ystE001ysuV001ysuL001ysuM001ys8NumberOfW001ysuR001ysY001ysyL001ysyM08baseline7topLine15globalAnimationAcA04InfogH0O_AA04InfogJ0O0A2UI0L0VA10_5ColorVA12_A14_A14_A14_A10_06StrokeE0VAA0c6MarkerR0OAA0tE0VAA05XAxisU9PosistionOA12_A14_AA0wX0OSSSgA12_A14_A20_AA05YAxisU9PosistionOA12_A14_SiAA05YAxisuR0OA25_A12_A14_AA8BaselineOAA7ToplineOA10_9AnimationVtcfc":{"name":"init(infoBoxPlacement:infoBoxContentAlignment:infoBoxValueFont:infoBoxValueColour:infoBoxDescriptionFont:infoBoxDescriptionColour:infoBoxBackgroundColour:infoBoxBorderColour:infoBoxBorderStyle:markerType:xAxisGridStyle:xAxisLabelPosition:xAxisLabelFont:xAxisLabelColour:xAxisLabelsFrom:xAxisTitle:xAxisTitleFont:xAxisTitleColour:yAxisGridStyle:yAxisLabelPosition:yAxisLabelFont:yAxisLabelColour:yAxisNumberOfLabels:yAxisLabelType:yAxisTitle:yAxisTitleFont:yAxisTitleColour:baseline:topLine:globalAnimation:)","abstract":"\u003cp\u003eModel for controlling the overall aesthetic of the Bar Chart.\u003c/p\u003e","parent_name":"BarChartStyle"},"Structs/GroupingData.html#/s:s12IdentifiableP2id2IDQzvp":{"name":"id","parent_name":"GroupingData"},"Structs/GroupingData.html#/s:13SwiftUICharts12GroupingDataV5titleSSvp":{"name":"title","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"GroupingData"},"Structs/GroupingData.html#/s:13SwiftUICharts19CTBarColourProtocolP6colourAA0D5StyleVvp":{"name":"colour","parent_name":"GroupingData"},"Structs/GroupingData.html#/s:13SwiftUICharts12GroupingDataV5title6colourACSS_AA11ColourStyleVtcfc":{"name":"init(title:colour:)","abstract":"\u003cp\u003eGroup with single colour\u003c/p\u003e","parent_name":"GroupingData"},"Structs/StackedBarDataPoint.html#/s:s12IdentifiableP2id2IDQzvp":{"name":"id","parent_name":"StackedBarDataPoint"},"Structs/StackedBarDataPoint.html#/s:13SwiftUICharts27CTStandardDataPointProtocolP5valueSdvp":{"name":"value","parent_name":"StackedBarDataPoint"},"Structs/StackedBarDataPoint.html#/s:13SwiftUICharts26CTLineBarDataPointProtocolP10xAxisLabelSSSgvp":{"name":"xAxisLabel","parent_name":"StackedBarDataPoint"},"Structs/StackedBarDataPoint.html#/s:13SwiftUICharts23CTDataPointBaseProtocolP11descriptionSSSgvp":{"name":"description","parent_name":"StackedBarDataPoint"},"Structs/StackedBarDataPoint.html#/s:13SwiftUICharts23CTDataPointBaseProtocolP4date10Foundation4DateVSgvp":{"name":"date","parent_name":"StackedBarDataPoint"},"Structs/StackedBarDataPoint.html#/s:13SwiftUICharts19CTMultiBarDataPointP5groupAA08GroupingE0Vvp":{"name":"group","parent_name":"StackedBarDataPoint"},"Structs/StackedBarDataPoint.html#/s:13SwiftUICharts23CTDataPointBaseProtocolP9legendTagSSvp":{"name":"legendTag","parent_name":"StackedBarDataPoint"},"Structs/StackedBarDataPoint.html#/s:13SwiftUICharts19StackedBarDataPointV5value11description4date5groupACSd_SSSg10Foundation4DateVSgAA08GroupingE0Vtcfc":{"name":"init(value:description:date:group:)","abstract":"\u003cp\u003eData model for a single data point with colour info for use with a stacked bar chart.\u003c/p\u003e","parent_name":"StackedBarDataPoint"},"Structs/StackedBarDataPoint.html#/s:s12IdentifiableP2IDQa":{"name":"ID","parent_name":"StackedBarDataPoint"},"Structs/RangedBarDataPoint.html#/s:s12IdentifiableP2id2IDQzvp":{"name":"id","parent_name":"RangedBarDataPoint"},"Structs/RangedBarDataPoint.html#/s:13SwiftUICharts24CTRangeDataPointProtocolP10upperValueSdvp":{"name":"upperValue","parent_name":"RangedBarDataPoint"},"Structs/RangedBarDataPoint.html#/s:13SwiftUICharts24CTRangeDataPointProtocolP10lowerValueSdvp":{"name":"lowerValue","parent_name":"RangedBarDataPoint"},"Structs/RangedBarDataPoint.html#/s:13SwiftUICharts26CTLineBarDataPointProtocolP10xAxisLabelSSSgvp":{"name":"xAxisLabel","parent_name":"RangedBarDataPoint"},"Structs/RangedBarDataPoint.html#/s:13SwiftUICharts23CTDataPointBaseProtocolP11descriptionSSSgvp":{"name":"description","parent_name":"RangedBarDataPoint"},"Structs/RangedBarDataPoint.html#/s:13SwiftUICharts23CTDataPointBaseProtocolP4date10Foundation4DateVSgvp":{"name":"date","parent_name":"RangedBarDataPoint"},"Structs/RangedBarDataPoint.html#/s:13SwiftUICharts19CTBarColourProtocolP6colourAA0D5StyleVvp":{"name":"colour","parent_name":"RangedBarDataPoint"},"Structs/RangedBarDataPoint.html#/s:13SwiftUICharts23CTDataPointBaseProtocolP9legendTagSSvp":{"name":"legendTag","parent_name":"RangedBarDataPoint"},"Structs/RangedBarDataPoint.html#/s:13SwiftUICharts18RangedBarDataPointV10lowerValue05upperH010xAxisLabel11description4date6colourACSd_SdSSSgAJ10Foundation4DateVSgAA11ColourStyleVtcfc":{"name":"init(lowerValue:upperValue:xAxisLabel:description:date:colour:)","abstract":"\u003cp\u003eData model for a single data point with colour for use with a ranged bar chart.\u003c/p\u003e","parent_name":"RangedBarDataPoint"},"Structs/RangedBarDataPoint.html#/s:s12IdentifiableP2IDQa":{"name":"ID","parent_name":"RangedBarDataPoint"},"Structs/GroupedBarDataPoint.html#/s:s12IdentifiableP2id2IDQzvp":{"name":"id","parent_name":"GroupedBarDataPoint"},"Structs/GroupedBarDataPoint.html#/s:13SwiftUICharts27CTStandardDataPointProtocolP5valueSdvp":{"name":"value","parent_name":"GroupedBarDataPoint"},"Structs/GroupedBarDataPoint.html#/s:13SwiftUICharts26CTLineBarDataPointProtocolP10xAxisLabelSSSgvp":{"name":"xAxisLabel","parent_name":"GroupedBarDataPoint"},"Structs/GroupedBarDataPoint.html#/s:13SwiftUICharts23CTDataPointBaseProtocolP11descriptionSSSgvp":{"name":"description","parent_name":"GroupedBarDataPoint"},"Structs/GroupedBarDataPoint.html#/s:13SwiftUICharts23CTDataPointBaseProtocolP4date10Foundation4DateVSgvp":{"name":"date","parent_name":"GroupedBarDataPoint"},"Structs/GroupedBarDataPoint.html#/s:13SwiftUICharts19CTMultiBarDataPointP5groupAA08GroupingE0Vvp":{"name":"group","parent_name":"GroupedBarDataPoint"},"Structs/GroupedBarDataPoint.html#/s:13SwiftUICharts23CTDataPointBaseProtocolP9legendTagSSvp":{"name":"legendTag","parent_name":"GroupedBarDataPoint"},"Structs/GroupedBarDataPoint.html#/s:13SwiftUICharts19GroupedBarDataPointV5value11description4date5groupACSd_SSSg10Foundation4DateVSgAA08GroupingE0Vtcfc":{"name":"init(value:description:date:group:)","abstract":"\u003cp\u003eData model for a single data point with colour info for use with a grouped bar chart.\u003c/p\u003e","parent_name":"GroupedBarDataPoint"},"Structs/GroupedBarDataPoint.html#/s:s12IdentifiableP2IDQa":{"name":"ID","parent_name":"GroupedBarDataPoint"},"Structs/BarChartDataPoint.html#/s:s12IdentifiableP2id2IDQzvp":{"name":"id","parent_name":"BarChartDataPoint"},"Structs/BarChartDataPoint.html#/s:13SwiftUICharts27CTStandardDataPointProtocolP5valueSdvp":{"name":"value","parent_name":"BarChartDataPoint"},"Structs/BarChartDataPoint.html#/s:13SwiftUICharts26CTLineBarDataPointProtocolP10xAxisLabelSSSgvp":{"name":"xAxisLabel","parent_name":"BarChartDataPoint"},"Structs/BarChartDataPoint.html#/s:13SwiftUICharts23CTDataPointBaseProtocolP11descriptionSSSgvp":{"name":"description","parent_name":"BarChartDataPoint"},"Structs/BarChartDataPoint.html#/s:13SwiftUICharts23CTDataPointBaseProtocolP4date10Foundation4DateVSgvp":{"name":"date","parent_name":"BarChartDataPoint"},"Structs/BarChartDataPoint.html#/s:13SwiftUICharts19CTBarColourProtocolP6colourAA0D5StyleVvp":{"name":"colour","parent_name":"BarChartDataPoint"},"Structs/BarChartDataPoint.html#/s:13SwiftUICharts23CTDataPointBaseProtocolP9legendTagSSvp":{"name":"legendTag","parent_name":"BarChartDataPoint"},"Structs/BarChartDataPoint.html#/s:13SwiftUICharts17BarChartDataPointV5value10xAxisLabel11description4date6colourACSd_SSSgAI10Foundation4DateVSgAA11ColourStyleVtcfc":{"name":"init(value:xAxisLabel:description:date:colour:)","abstract":"\u003cp\u003eData model for a single data point with colour for use with a bar chart.\u003c/p\u003e","parent_name":"BarChartDataPoint"},"Structs/BarChartDataPoint.html#/s:s12IdentifiableP2IDQa":{"name":"ID","parent_name":"BarChartDataPoint"},"Structs/StackedBarDataSet.html#/s:s12IdentifiableP2id2IDQzvp":{"name":"id","parent_name":"StackedBarDataSet"},"Structs/StackedBarDataSet.html#/s:13SwiftUICharts23CTSingleDataSetProtocolP10dataPointsSay0D5PointQzGvp":{"name":"dataPoints","parent_name":"StackedBarDataSet"},"Structs/StackedBarDataSet.html#/s:13SwiftUICharts22CTMultiBarChartDataSetP8setTitleSSvp":{"name":"setTitle","parent_name":"StackedBarDataSet"},"Structs/StackedBarDataSet.html#/s:13SwiftUICharts17StackedBarDataSetV10dataPoints8setTitleACSayAA0cdE5PointVG_SStcfc":{"name":"init(dataPoints:setTitle:)","abstract":"\u003cp\u003eInitialises a new data set for a Stacked Bar Chart.\u003c/p\u003e","parent_name":"StackedBarDataSet"},"Structs/StackedBarDataSet.html#/s:s12IdentifiableP2IDQa":{"name":"ID","parent_name":"StackedBarDataSet"},"Structs/StackedBarDataSet.html#/s:13SwiftUICharts23CTSingleDataSetProtocolP0D5PointQa":{"name":"DataPoint","parent_name":"StackedBarDataSet"},"Structs/StackedBarDataSets.html#/s:s12IdentifiableP2id2IDQzvp":{"name":"id","parent_name":"StackedBarDataSets"},"Structs/StackedBarDataSets.html#/s:13SwiftUICharts22CTMultiDataSetProtocolP8dataSetsSay0dE0QzGvp":{"name":"dataSets","parent_name":"StackedBarDataSets"},"Structs/StackedBarDataSets.html#/s:13SwiftUICharts18StackedBarDataSetsV04dataF0ACSayAA0cdE3SetVG_tcfc":{"name":"init(dataSets:)","abstract":"\u003cp\u003eInitialises a new data set for a Stacked Bar Chart.\u003c/p\u003e","parent_name":"StackedBarDataSets"},"Structs/RangedBarDataSet.html#/s:s12IdentifiableP2id2IDQzvp":{"name":"id","parent_name":"RangedBarDataSet"},"Structs/RangedBarDataSet.html#/s:13SwiftUICharts23CTSingleDataSetProtocolP10dataPointsSay0D5PointQzGvp":{"name":"dataPoints","parent_name":"RangedBarDataSet"},"Structs/RangedBarDataSet.html#/s:13SwiftUICharts25CTStandardBarChartDataSetP11legendTitleSSvp":{"name":"legendTitle","parent_name":"RangedBarDataSet"},"Structs/RangedBarDataSet.html#/s:13SwiftUICharts16RangedBarDataSetV10dataPoints11legendTitleACSayAA0cdE5PointVG_SStcfc":{"name":"init(dataPoints:legendTitle:)","abstract":"\u003cp\u003eInitialises a new data set for ranged bar chart.\u003c/p\u003e","parent_name":"RangedBarDataSet"},"Structs/RangedBarDataSet.html#/s:s12IdentifiableP2IDQa":{"name":"ID","parent_name":"RangedBarDataSet"},"Structs/RangedBarDataSet.html#/s:13SwiftUICharts23CTSingleDataSetProtocolP0D5PointQa":{"name":"DataPoint","parent_name":"RangedBarDataSet"},"Structs/GroupedBarDataSet.html#/s:s12IdentifiableP2id2IDQzvp":{"name":"id","parent_name":"GroupedBarDataSet"},"Structs/GroupedBarDataSet.html#/s:13SwiftUICharts23CTSingleDataSetProtocolP10dataPointsSay0D5PointQzGvp":{"name":"dataPoints","parent_name":"GroupedBarDataSet"},"Structs/GroupedBarDataSet.html#/s:13SwiftUICharts22CTMultiBarChartDataSetP8setTitleSSvp":{"name":"setTitle","parent_name":"GroupedBarDataSet"},"Structs/GroupedBarDataSet.html#/s:13SwiftUICharts17GroupedBarDataSetV10dataPoints8setTitleACSayAA0cdE5PointVG_SStcfc":{"name":"init(dataPoints:setTitle:)","abstract":"\u003cp\u003eInitialises a new data set for a Bar Chart.\u003c/p\u003e","parent_name":"GroupedBarDataSet"},"Structs/GroupedBarDataSet.html#/s:s12IdentifiableP2IDQa":{"name":"ID","parent_name":"GroupedBarDataSet"},"Structs/GroupedBarDataSet.html#/s:13SwiftUICharts23CTSingleDataSetProtocolP0D5PointQa":{"name":"DataPoint","parent_name":"GroupedBarDataSet"},"Structs/GroupedBarDataSets.html#/s:s12IdentifiableP2id2IDQzvp":{"name":"id","parent_name":"GroupedBarDataSets"},"Structs/GroupedBarDataSets.html#/s:13SwiftUICharts22CTMultiDataSetProtocolP8dataSetsSay0dE0QzGvp":{"name":"dataSets","parent_name":"GroupedBarDataSets"},"Structs/GroupedBarDataSets.html#/s:13SwiftUICharts18GroupedBarDataSetsV04dataF0ACSayAA0cdE3SetVG_tcfc":{"name":"init(dataSets:)","abstract":"\u003cp\u003eInitialises a new data set for Grouped Bar Chart.\u003c/p\u003e","parent_name":"GroupedBarDataSets"},"Structs/BarDataSet.html#/s:s12IdentifiableP2id2IDQzvp":{"name":"id","parent_name":"BarDataSet"},"Structs/BarDataSet.html#/s:13SwiftUICharts23CTSingleDataSetProtocolP10dataPointsSay0D5PointQzGvp":{"name":"dataPoints","parent_name":"BarDataSet"},"Structs/BarDataSet.html#/s:13SwiftUICharts25CTStandardBarChartDataSetP11legendTitleSSvp":{"name":"legendTitle","parent_name":"BarDataSet"},"Structs/BarDataSet.html#/s:13SwiftUICharts10BarDataSetV10dataPoints11legendTitleACSayAA0c5ChartD5PointVG_SStcfc":{"name":"init(dataPoints:legendTitle:)","abstract":"\u003cp\u003eInitialises a new data set for standard Bar Charts.\u003c/p\u003e","parent_name":"BarDataSet"},"Structs/BarDataSet.html#/s:s12IdentifiableP2IDQa":{"name":"ID","parent_name":"BarDataSet"},"Structs/BarDataSet.html#/s:13SwiftUICharts23CTSingleDataSetProtocolP0D5PointQa":{"name":"DataPoint","parent_name":"BarDataSet"},"Structs/CornerRadius.html#/s:13SwiftUICharts12CornerRadiusV7topLeft14CoreFoundation7CGFloatVvp":{"name":"topLeft","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CornerRadius"},"Structs/CornerRadius.html#/s:13SwiftUICharts12CornerRadiusV8topRight14CoreFoundation7CGFloatVvp":{"name":"topRight","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CornerRadius"},"Structs/CornerRadius.html#/s:13SwiftUICharts12CornerRadiusV10bottomLeft14CoreFoundation7CGFloatVvp":{"name":"bottomLeft","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CornerRadius"},"Structs/CornerRadius.html#/s:13SwiftUICharts12CornerRadiusV11bottomRight14CoreFoundation7CGFloatVvp":{"name":"bottomRight","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CornerRadius"},"Structs/CornerRadius.html#/s:13SwiftUICharts12CornerRadiusV3top6bottomAC14CoreFoundation7CGFloatV_AHtcfc":{"name":"init(top:bottom:)","abstract":"\u003cp\u003eSet the coner radius for the bar shapes for top and bottom\u003c/p\u003e","parent_name":"CornerRadius"},"Structs/CornerRadius.html#/s:13SwiftUICharts12CornerRadiusV4left5rightAC14CoreFoundation7CGFloatV_AHtcfc":{"name":"init(left:right:)","abstract":"\u003cp\u003eSet the coner radius for the bar shapes for left and right\u003c/p\u003e","parent_name":"CornerRadius"},"Structs/CornerRadius.html#/s:13SwiftUICharts12CornerRadiusV7topLeft0E5Right06bottomF00hG0AC14CoreFoundation7CGFloatV_A3Jtcfc":{"name":"init(topLeft:topRight:bottomLeft:bottomRight:)","abstract":"\u003cp\u003eSet the coner radius for the bar shapes for all corners\u003c/p\u003e","parent_name":"CornerRadius"},"Structs/CornerRadius.html":{"name":"CornerRadius","abstract":"\u003cp\u003eCorner radius of the bar shape.\u003c/p\u003e"},"Structs/BarDataSet.html":{"name":"BarDataSet","abstract":"\u003cp\u003eData set for a bar chart.\u003c/p\u003e"},"Structs/GroupedBarDataSets.html":{"name":"GroupedBarDataSets","abstract":"\u003cp\u003eMain data set for a grouped bar charts.\u003c/p\u003e"},"Structs/GroupedBarDataSet.html":{"name":"GroupedBarDataSet","abstract":"\u003cp\u003eIndividual data sets for grouped bars charts.\u003c/p\u003e"},"Structs/RangedBarDataSet.html":{"name":"RangedBarDataSet","abstract":"\u003cp\u003eData set for ranged bar charts.\u003c/p\u003e"},"Structs/StackedBarDataSets.html":{"name":"StackedBarDataSets","abstract":"\u003cp\u003eMain data set for a stacked bar chart.\u003c/p\u003e"},"Structs/StackedBarDataSet.html":{"name":"StackedBarDataSet","abstract":"\u003cp\u003eIndividual data sets for stacked bars charts.\u003c/p\u003e"},"Structs/BarChartDataPoint.html":{"name":"BarChartDataPoint","abstract":"\u003cp\u003eData for a single bar chart data point.\u003c/p\u003e"},"Structs/GroupedBarDataPoint.html":{"name":"GroupedBarDataPoint","abstract":"\u003cp\u003eData for a single grouped bar chart data point.\u003c/p\u003e"},"Structs/RangedBarDataPoint.html":{"name":"RangedBarDataPoint","abstract":"\u003cp\u003eData for a single ranged bar chart data point.\u003c/p\u003e"},"Structs/StackedBarDataPoint.html":{"name":"StackedBarDataPoint","abstract":"\u003cp\u003eData for a single stacked chart data point.\u003c/p\u003e"},"Structs/GroupingData.html":{"name":"GroupingData","abstract":"\u003cp\u003eModel for grouping data points together so they can be drawn in the correct groupings.\u003c/p\u003e"},"Structs/BarChartStyle.html":{"name":"BarChartStyle","abstract":"\u003cp\u003eControl of the overall aesthetic of the bar chart.\u003c/p\u003e"},"Structs/BarStyle.html":{"name":"BarStyle","abstract":"\u003cp\u003eModel for controlling the aesthetic of the bars.\u003c/p\u003e"},"Structs/BarChart.html":{"name":"BarChart","abstract":"\u003cp\u003eView for creating a bar chart.\u003c/p\u003e"},"Structs/GroupedBarChart.html":{"name":"GroupedBarChart","abstract":"\u003cp\u003eView for creating a grouped bar chart.\u003c/p\u003e"},"Structs/HorizontalBarChart.html":{"name":"HorizontalBarChart","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e"},"Structs/RangedBarChart.html":{"name":"RangedBarChart","abstract":"\u003cp\u003eView for creating a grouped bar chart.\u003c/p\u003e"},"Structs/StackedBarChart.html":{"name":"StackedBarChart","abstract":"\u003cp\u003eView for creating a stacked bar chart.\u003c/p\u003e"},"Structs/LineChartDataPoint.html":{"name":"LineChartDataPoint","abstract":"\u003cp\u003eData for a single data point.\u003c/p\u003e"},"Structs/RangedLineChartDataPoint.html":{"name":"RangedLineChartDataPoint","abstract":"\u003cp\u003eData for a single ranged data point.\u003c/p\u003e"},"Structs/LineDataSet.html":{"name":"LineDataSet","abstract":"\u003cp\u003eData set for a single line\u003c/p\u003e"},"Structs/MultiLineDataSet.html":{"name":"MultiLineDataSet","abstract":"\u003cp\u003eData set containing multiple data sets for multiple lines\u003c/p\u003e"},"Structs/RangedLineDataSet.html":{"name":"RangedLineDataSet","abstract":"\u003cp\u003eData set for a ranged line.\u003c/p\u003e"},"Structs/LineChartStyle.html":{"name":"LineChartStyle","abstract":"\u003cp\u003eControl of the overall aesthetic of the line chart.\u003c/p\u003e"},"Structs/LineStyle.html":{"name":"LineStyle","abstract":"\u003cp\u003eModel for controlling the styling for individual lines.\u003c/p\u003e"},"Structs/PointStyle.html":{"name":"PointStyle","abstract":"\u003cp\u003eModel for controlling the aesthetic of the point markers.\u003c/p\u003e"},"Structs/PointColour.html":{"name":"PointColour","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e"},"Structs/RangedLineStyle.html":{"name":"RangedLineStyle","abstract":"\u003cp\u003eModel for controlling the aesthetic of the ranged line chart.\u003c/p\u003e"},"Structs/FilledLineChart.html":{"name":"FilledLineChart","abstract":"\u003cp\u003eView for creating a filled line chart.\u003c/p\u003e"},"Structs/LineChart.html":{"name":"LineChart","abstract":"\u003cp\u003eView for drawing a line chart.\u003c/p\u003e"},"Structs/MultiLineChart.html":{"name":"MultiLineChart","abstract":"\u003cp\u003eView for drawing a multi-line, line chart.\u003c/p\u003e"},"Structs/RangedLineChart.html":{"name":"RangedLineChart","abstract":"\u003cp\u003eView for drawing a line chart with upper and lower range values .\u003c/p\u003e"},"Structs/DotStyle.html":{"name":"DotStyle","abstract":"\u003cp\u003eStyling of the dot that follows the line on touch events.\u003c/p\u003e"},"Structs/PieChartDataPoint.html":{"name":"PieChartDataPoint","abstract":"\u003cp\u003eData for a single segement of a pie chart.\u003c/p\u003e"},"Structs/PieDataSet.html":{"name":"PieDataSet","abstract":"\u003cp\u003eData set for a pie chart.\u003c/p\u003e"},"Structs/DoughnutChartStyle.html":{"name":"DoughnutChartStyle","abstract":"\u003cp\u003eModel for controlling the overall aesthetic of the chart.\u003c/p\u003e"},"Structs/PieChartStyle.html":{"name":"PieChartStyle","abstract":"\u003cp\u003eModel for controlling the overall aesthetic of the chart.\u003c/p\u003e"},"Structs/DoughnutChart.html":{"name":"DoughnutChart","abstract":"\u003cp\u003eView for creating a doughnut chart.\u003c/p\u003e"},"Structs/PieChart.html":{"name":"PieChart","abstract":"\u003cp\u003eView for creating a pie chart.\u003c/p\u003e"},"Structs/InfoValue.html":{"name":"InfoValue","abstract":"\u003cp\u003eDisplays the data points value with the unit.\u003c/p\u003e"},"Structs/InfoDescription.html":{"name":"InfoDescription","abstract":"\u003cp\u003eDisplays the data points description.\u003c/p\u003e"},"Structs/InfoExtra.html":{"name":"InfoExtra","abstract":"\u003cp\u003eOption the as a String between the Value and the Description.\u003c/p\u003e"},"Structs/LegendData.html":{"name":"LegendData","abstract":"\u003cp\u003eData model to hold data for Legends\u003c/p\u003e"},"Structs/ChartMetadata.html":{"name":"ChartMetadata","abstract":"\u003cp\u003eData model for the chart\u0026rsquo;s metadata\u003c/p\u003e"},"Structs/ColourStyle.html":{"name":"ColourStyle","abstract":"\u003cp\u003eModel for setting up colour styling.\u003c/p\u003e"},"Structs.html#/s:13SwiftUICharts12InfoViewDataV":{"name":"InfoViewData","abstract":"\u003cp\u003eData model to pass view information internally for the \u003ccode\u003eInfoBox\u003c/code\u003e, \u003ccode\u003eFloatingInfoBox\u003c/code\u003e and \u003ccode\u003eHeaderBox\u003c/code\u003e.\u003c/p\u003e"},"Structs/GradientStop.html":{"name":"GradientStop","abstract":"\u003cp\u003eA mediator for \u003ccode\u003eGradient.Stop\u003c/code\u003e to allow it to be stored in \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbStructs/LegendData.html\"\u003eLegendData\u003c/a\u003e\u003c/code\u003e.\u003c/p\u003e"},"Structs/Stroke.html":{"name":"Stroke","abstract":"\u003cp\u003eA hashable version of StrokeStyle\u003c/p\u003e"},"Structs/CustomNoDataView.html":{"name":"CustomNoDataView","abstract":"\u003cp\u003eView to display text if there is not enough data to draw the chart.\u003c/p\u003e"},"Structs.html#/s:13SwiftUICharts13ChartViewDataV":{"name":"ChartViewData","abstract":"\u003cp\u003eData model to pass view information internally so the layout can configure its self.\u003c/p\u003e"},"Structs/ExtraLineData.html":{"name":"ExtraLineData","abstract":"\u003cp\u003eData for drawing and styling the Extra Line view modifier.\u003c/p\u003e"},"Structs/ExtraLineDataPoint.html":{"name":"ExtraLineDataPoint","abstract":"\u003cp\u003eData point for Extra line View Modifier.\u003c/p\u003e"},"Structs/GridStyle.html":{"name":"GridStyle","abstract":"\u003cp\u003eControl for the look of the Grid\u003c/p\u003e"},"Structs/DiamondShape.html":{"name":"DiamondShape","abstract":"\u003cp\u003eShape used in POI Markers when displaying value in the center.\u003c/p\u003e"},"Structs/CustomLabelShape.html":{"name":"CustomLabelShape","abstract":"\u003cp\u003eCustom Label Shape used in POI Markers when displaying POI values.\u003c/p\u003e"},"Structs/LeadingLabelShape.html":{"name":"LeadingLabelShape","abstract":"\u003cp\u003eShape used in POI Markers when displaying value in the Y axis labels on the leading edge.\u003c/p\u003e"},"Structs/TrailingLabelShape.html":{"name":"TrailingLabelShape","abstract":"\u003cp\u003eShape used in POI Markers when displaying value in the Y axis labels on the trailing edge.\u003c/p\u003e"},"Structs/BottomLabelShape.html":{"name":"BottomLabelShape","abstract":"\u003cp\u003eShape used in POI Markers when displaying value in the X axis labels on the bottom edge.\u003c/p\u003e"},"Structs/TopLabelShape.html":{"name":"TopLabelShape","abstract":"\u003cp\u003eShape used in POI Markers when displaying value in the X axis labels on the top edge.\u003c/p\u003e"},"Structs/ExtraLineStyle.html":{"name":"ExtraLineStyle","abstract":"\u003cp\u003eControl of the styling of the Extra Line.\u003c/p\u003e"},"Protocols/PointOfInterestProtocol.html#/s:13SwiftUICharts23PointOfInterestProtocolP11MarkerShapeQa":{"name":"MarkerShape","abstract":"\u003cp\u003eA type representing a Shape for displaying a line","parent_name":"PointOfInterestProtocol"},"Protocols/PointOfInterestProtocol.html#/s:13SwiftUICharts23PointOfInterestProtocolP9poiMarker5value5range8minValue0H5ShapeQzSd_S2dtF":{"name":"poiMarker(value:range:minValue:)","abstract":"\u003cp\u003eDisplays a line marking a Point Of Interest.\u003c/p\u003e","parent_name":"PointOfInterestProtocol"},"Protocols/PointOfInterestProtocol.html#/s:13SwiftUICharts23PointOfInterestProtocolP9LabelAxisQa":{"name":"LabelAxis","abstract":"\u003cp\u003eA type representing a View for displaying a label","parent_name":"PointOfInterestProtocol"},"Protocols/PointOfInterestProtocol.html#/s:13SwiftUICharts23PointOfInterestProtocolP12poiLabelAxis11markerValue9specifier9formatter9labelFont0N6Colour0N10Background0N11BorderColor06customH5Shape7padding0hI0QzSd_SSSo17NSNumberFormatterCSg0A2UI0O0VAS0S0VA2wA06CustomhU0VSg14CoreFoundation7CGFloatVSgtF":{"name":"poiLabelAxis(markerValue:specifier:formatter:labelFont:labelColour:labelBackground:labelBorderColor:customLabelShape:padding:)","abstract":"\u003cp\u003eDisplays a label and box that mark a Point Of Interest","parent_name":"PointOfInterestProtocol"},"Protocols/PointOfInterestProtocol.html#/s:13SwiftUICharts23PointOfInterestProtocolP11LabelCenterQa":{"name":"LabelCenter","abstract":"\u003cp\u003eA type representing a View for displaying a label","parent_name":"PointOfInterestProtocol"},"Protocols/PointOfInterestProtocol.html#/s:13SwiftUICharts23PointOfInterestProtocolP14poiLabelCenter11markerValue9specifier9formatter9labelFont0N6Colour0N10Background0N11BorderColor11strokeStyle06customH5Shape7padding0hI0QzSd_SSSo17NSNumberFormatterCSg0A2UI0O0VAT0S0VA2xT06StrokeU0VAA06CustomhW0VSg14CoreFoundation7CGFloatVSgtF":{"name":"poiLabelCenter(markerValue:specifier:formatter:labelFont:labelColour:labelBackground:labelBorderColor:strokeStyle:customLabelShape:padding:)","abstract":"\u003cp\u003eDisplays a label and box that mark a Point Of Interest","parent_name":"PointOfInterestProtocol"},"Protocols/PointOfInterestProtocol.html#/s:13SwiftUICharts23PointOfInterestProtocolP13LabelPositionQa":{"name":"LabelPosition","abstract":"\u003cp\u003eA type representing a View for displaying a label","parent_name":"PointOfInterestProtocol"},"Protocols/PointOfInterestProtocol.html#/s:13SwiftUICharts23PointOfInterestProtocolP16poiLabelPosition8location11markerValue9specifier9formatter9labelFont0O6Colour0O10Background0O11BorderColor11strokeStyle06customH5Shape7padding0hI0Qz14CoreFoundation7CGFloatV_SdSSSo17NSNumberFormatterCSg0A2UI0P0VAX0T0VA0_A0_AX06StrokeV0VAA06CustomhX0VSgATSgtF":{"name":"poiLabelPosition(location:markerValue:specifier:formatter:labelFont:labelColour:labelBackground:labelBorderColor:strokeStyle:customLabelShape:padding:)","abstract":"\u003cp\u003eDisplays a label and box that mark a Point Of Interest","parent_name":"PointOfInterestProtocol"},"Protocols/PointOfInterestProtocol.html#/s:13SwiftUICharts23PointOfInterestProtocolP25poiValueLabelPositionAxis5frame06markerH003minH05rangeSo7CGPointVSo6CGRectV_S3dtF":{"name":"poiValueLabelPositionAxis(frame:markerValue:minValue:range:)","abstract":"\u003cp\u003eSets the position of the POI Label when it\u0026rsquo;s over","parent_name":"PointOfInterestProtocol"},"Protocols/PointOfInterestProtocol.html#/s:13SwiftUICharts23PointOfInterestProtocolP27poiValueLabelPositionCenter5frame06markerH003minH05rangeSo7CGPointVSo6CGRectV_S3dtF":{"name":"poiValueLabelPositionCenter(frame:markerValue:minValue:range:)","abstract":"\u003cp\u003eSets the position of the POI Label when it\u0026rsquo;s in","parent_name":"PointOfInterestProtocol"},"Protocols/PointOfInterestProtocol.html#/s:13SwiftUICharts23PointOfInterestProtocolP29poiValueLabelRelativePosition5frame06markerH003minH05rangeSo7CGPointVSo6CGRectV_S3dtF":{"name":"poiValueLabelRelativePosition(frame:markerValue:minValue:range:)","abstract":"\u003cp\u003eSets the position of the POI Label when it\u0026rsquo;s at","parent_name":"PointOfInterestProtocol"},"Protocols/PointOfInterestProtocol.html#/s:13SwiftUICharts23PointOfInterestProtocolP19AbscissaMarkerShapeQa":{"name":"AbscissaMarkerShape","abstract":"\u003cp\u003eA type representing a Shape for displaying a line","parent_name":"PointOfInterestProtocol"},"Protocols/PointOfInterestProtocol.html#/s:13SwiftUICharts23PointOfInterestProtocolP17poiAbscissaMarker11markerValue04dataC5Count0hI5ShapeQzSi_SitF":{"name":"poiAbscissaMarker(markerValue:dataPointCount:)","abstract":"\u003cp\u003eDisplays a line marking a Point Of Interest.\u003c/p\u003e","parent_name":"PointOfInterestProtocol"},"Protocols/PointOfInterestProtocol.html#/s:13SwiftUICharts23PointOfInterestProtocolP17AbscissaLabelAxisQa":{"name":"AbscissaLabelAxis","abstract":"\u003cp\u003eA type representing a View for displaying a label","parent_name":"PointOfInterestProtocol"},"Protocols/PointOfInterestProtocol.html#/s:13SwiftUICharts23PointOfInterestProtocolP20poiAbscissaLabelAxis6marker9labelFont0L6Colour0L10Background0L11BorderColor06customI5Shape7padding0hiJ0QzSS_0A2UI0M0VAN0Q0VA2rA06CustomiS0VSg14CoreFoundation7CGFloatVSgtF":{"name":"poiAbscissaLabelAxis(marker:labelFont:labelColour:labelBackground:labelBorderColor:customLabelShape:padding:)","abstract":"\u003cp\u003eDisplays a label and box that mark a Point Of Interest","parent_name":"PointOfInterestProtocol"},"Protocols/PointOfInterestProtocol.html#/s:13SwiftUICharts23PointOfInterestProtocolP19AbscissaLabelCenterQa":{"name":"AbscissaLabelCenter","abstract":"\u003cp\u003eA type representing a View for displaying a label","parent_name":"PointOfInterestProtocol"},"Protocols/PointOfInterestProtocol.html#/s:13SwiftUICharts23PointOfInterestProtocolP22poiAbscissaLabelCenter6marker9labelFont0L6Colour0L10Background0L11BorderColor11strokeStyle06customI5Shape7padding0hiJ0QzSS_0A2UI0M0VAO0Q0VA2sO06StrokeS0VAA06CustomiU0VSg14CoreFoundation7CGFloatVSgtF":{"name":"poiAbscissaLabelCenter(marker:labelFont:labelColour:labelBackground:labelBorderColor:strokeStyle:customLabelShape:padding:)","abstract":"\u003cp\u003eDisplays a label and box that mark a Point Of Interest","parent_name":"PointOfInterestProtocol"},"Protocols/PointOfInterestProtocol.html#/s:13SwiftUICharts23PointOfInterestProtocolP21AbscissaLabelPositionQa":{"name":"AbscissaLabelPosition","abstract":"\u003cp\u003eA type representing a View for displaying a label","parent_name":"PointOfInterestProtocol"},"Protocols/PointOfInterestProtocol.html#/s:13SwiftUICharts23PointOfInterestProtocolP24poiAbscissaLabelPosition8location6marker9labelFont0M6Colour0M10Background0M11BorderColor11strokeStyle06customI5Shape7padding0hiJ0Qz14CoreFoundation7CGFloatV_SS0A2UI0N0VAS0R0VA2wS06StrokeT0VAA06CustomiV0VSgARSgtF":{"name":"poiAbscissaLabelPosition(location:marker:labelFont:labelColour:labelBackground:labelBorderColor:strokeStyle:customLabelShape:padding:)","abstract":"\u003cp\u003eDisplays a label and box that mark a Point Of Interest","parent_name":"PointOfInterestProtocol"},"Protocols/PointOfInterestProtocol.html#/s:13SwiftUICharts23PointOfInterestProtocolP33poiAbscissaValueLabelPositionAxis5frame06markerI05countSo7CGPointVSo6CGRectV_S2itF":{"name":"poiAbscissaValueLabelPositionAxis(frame:markerValue:count:)","abstract":"\u003cp\u003eSets the position of the POI Label when it\u0026rsquo;s over","parent_name":"PointOfInterestProtocol"},"Protocols/PointOfInterestProtocol.html#/s:13SwiftUICharts23PointOfInterestProtocolP35poiAbscissaValueLabelPositionCenter5frame06markerI05countSo7CGPointVSo6CGRectV_S2itF":{"name":"poiAbscissaValueLabelPositionCenter(frame:markerValue:count:)","abstract":"\u003cp\u003eSets the position of the POI Label when it\u0026rsquo;s in","parent_name":"PointOfInterestProtocol"},"Protocols/PointOfInterestProtocol.html#/s:13SwiftUICharts23PointOfInterestProtocolP37poiAbscissaValueLabelRelativePosition5frame06markerI05countSo7CGPointVSo6CGRectV_S2itF":{"name":"poiAbscissaValueLabelRelativePosition(frame:markerValue:count:)","abstract":"\u003cp\u003eSets the position of the POI Label when it\u0026rsquo;s at","parent_name":"PointOfInterestProtocol"},"Protocols/CTLineBarDataPointProtocol.html#/s:13SwiftUICharts26CTLineBarDataPointProtocolP10xAxisLabelSSSgvp":{"name":"xAxisLabel","abstract":"\u003cp\u003eData points label for the X axis.\u003c/p\u003e","parent_name":"CTLineBarDataPointProtocol"},"Protocols/CTLineBarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP4MarkQa":{"name":"Mark","abstract":"\u003cp\u003eA type representing touch overlay marker type. \u0026ndash; \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbProtocols.html#/s:13SwiftUICharts10MarkerTypeP\"\u003eMarkerType\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"CTLineBarChartStyle"},"Protocols/CTLineBarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP10markerType4MarkQzvp":{"name":"markerType","abstract":"\u003cp\u003eWhere the marker lines come from to meet at a specified point.\u003c/p\u003e","parent_name":"CTLineBarChartStyle"},"Protocols/CTLineBarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP09xAxisGridF0AA0hF0Vvp":{"name":"xAxisGridStyle","abstract":"\u003cp\u003eStyle of the vertical lines breaking up the chart.\u003c/p\u003e","parent_name":"CTLineBarChartStyle"},"Protocols/CTLineBarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP18xAxisLabelPositionAA05XAxisH9PosistionOvp":{"name":"xAxisLabelPosition","abstract":"\u003cp\u003eLocation of the X axis labels - Top or Bottom.\u003c/p\u003e","parent_name":"CTLineBarChartStyle"},"Protocols/CTLineBarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP14xAxisLabelFont0A2UI0I0Vvp":{"name":"xAxisLabelFont","abstract":"\u003cp\u003eFont of the labels on the X axis.\u003c/p\u003e","parent_name":"CTLineBarChartStyle"},"Protocols/CTLineBarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP16xAxisLabelColour0A2UI5ColorVvp":{"name":"xAxisLabelColour","abstract":"\u003cp\u003eText Colour for the labels on the X axis.\u003c/p\u003e","parent_name":"CTLineBarChartStyle"},"Protocols/CTLineBarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP15xAxisLabelsFromAA0hI0Ovp":{"name":"xAxisLabelsFrom","abstract":"\u003cp\u003eWhere the label data come from. DataPoint or ChartData.\u003c/p\u003e","parent_name":"CTLineBarChartStyle"},"Protocols/CTLineBarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP10xAxisTitleSSSgvp":{"name":"xAxisTitle","abstract":"\u003cp\u003eLabel to display next to the chart giving info about the axis.\u003c/p\u003e","parent_name":"CTLineBarChartStyle"},"Protocols/CTLineBarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP14xAxisTitleFont0A2UI0I0Vvp":{"name":"xAxisTitleFont","abstract":"\u003cp\u003eFont of the x axis title.\u003c/p\u003e","parent_name":"CTLineBarChartStyle"},"Protocols/CTLineBarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP16xAxisTitleColour0A2UI5ColorVvp":{"name":"xAxisTitleColour","abstract":"\u003cp\u003eColour of the x axis title.\u003c/p\u003e","parent_name":"CTLineBarChartStyle"},"Protocols/CTLineBarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP17xAxisBorderColour0A2UI5ColorVSgvp":{"name":"xAxisBorderColour","abstract":"\u003cp\u003eColour of the x axis border.\u003c/p\u003e","parent_name":"CTLineBarChartStyle"},"Protocols/CTLineBarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP09yAxisGridF0AA0hF0Vvp":{"name":"yAxisGridStyle","abstract":"\u003cp\u003eStyle of the horizontal lines breaking up the chart.\u003c/p\u003e","parent_name":"CTLineBarChartStyle"},"Protocols/CTLineBarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP18yAxisLabelPositionAA05YAxisH9PosistionOvp":{"name":"yAxisLabelPosition","abstract":"\u003cp\u003eLocation of the X axis labels - Leading or Trailing.\u003c/p\u003e","parent_name":"CTLineBarChartStyle"},"Protocols/CTLineBarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP14yAxisLabelFont0A2UI0I0Vvp":{"name":"yAxisLabelFont","abstract":"\u003cp\u003eFont of the labels on the Y axis.\u003c/p\u003e","parent_name":"CTLineBarChartStyle"},"Protocols/CTLineBarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP16yAxisLabelColour0A2UI5ColorVvp":{"name":"yAxisLabelColour","abstract":"\u003cp\u003eText Colour for the labels on the Y axis.\u003c/p\u003e","parent_name":"CTLineBarChartStyle"},"Protocols/CTLineBarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP19yAxisNumberOfLabelsSivp":{"name":"yAxisNumberOfLabels","abstract":"\u003cp\u003eNumber Of Labels on Y Axis.\u003c/p\u003e","parent_name":"CTLineBarChartStyle"},"Protocols/CTLineBarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP14yAxisLabelTypeAA05YAxishI0Ovp":{"name":"yAxisLabelType","abstract":"\u003cp\u003eOption to add custom Strings to Y axis rather than","parent_name":"CTLineBarChartStyle"},"Protocols/CTLineBarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP10yAxisTitleSSSgvp":{"name":"yAxisTitle","abstract":"\u003cp\u003eLabel to display next to the chart giving info about the axis.\u003c/p\u003e","parent_name":"CTLineBarChartStyle"},"Protocols/CTLineBarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP14yAxisTitleFont0A2UI0I0Vvp":{"name":"yAxisTitleFont","abstract":"\u003cp\u003eFont of the y axis title.\u003c/p\u003e","parent_name":"CTLineBarChartStyle"},"Protocols/CTLineBarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP16yAxisTitleColour0A2UI5ColorVvp":{"name":"yAxisTitleColour","abstract":"\u003cp\u003eFont of the y axis title.\u003c/p\u003e","parent_name":"CTLineBarChartStyle"},"Protocols/CTLineBarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP17yAxisBorderColour0A2UI5ColorVSgvp":{"name":"yAxisBorderColour","abstract":"\u003cp\u003eColour of the y axis border.\u003c/p\u003e","parent_name":"CTLineBarChartStyle"},"Protocols/CTLineBarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP8baselineAA8BaselineOvp":{"name":"baseline","abstract":"\u003cp\u003eWhere to start drawing the line chart from. Zero, data set minium or custom.\u003c/p\u003e","parent_name":"CTLineBarChartStyle"},"Protocols/CTLineBarChartStyle.html#/s:13SwiftUICharts19CTLineBarChartStyleP7topLineAA7ToplineOvp":{"name":"topLine","abstract":"\u003cp\u003eWhere to finish drawing the chart from. Data set maximum or custom.\u003c/p\u003e","parent_name":"CTLineBarChartStyle"},"Protocols/GetDataProtocol.html#/s:13SwiftUICharts15GetDataProtocolP5rangeSdvp":{"name":"range","abstract":"\u003cp\u003eReturns the difference between the highest and lowest numbers in the data set or data sets.\u003c/p\u003e","parent_name":"GetDataProtocol"},"Protocols/GetDataProtocol.html#/s:13SwiftUICharts15GetDataProtocolP8minValueSdvp":{"name":"minValue","abstract":"\u003cp\u003eReturns the lowest value in the data set or data sets.\u003c/p\u003e","parent_name":"GetDataProtocol"},"Protocols/GetDataProtocol.html#/s:13SwiftUICharts15GetDataProtocolP8maxValueSdvp":{"name":"maxValue","abstract":"\u003cp\u003eReturns the highest value in the data set or data sets\u003c/p\u003e","parent_name":"GetDataProtocol"},"Protocols/GetDataProtocol.html#/s:13SwiftUICharts15GetDataProtocolP7averageSdvp":{"name":"average","abstract":"\u003cp\u003eReturns the average value from the data set or data sets.\u003c/p\u003e","parent_name":"GetDataProtocol"},"Protocols/DataFunctionsProtocol.html#/s:13SwiftUICharts21DataFunctionsProtocolP8maxValueSdyF":{"name":"maxValue()","abstract":"\u003cp\u003eReturns the highest value in the data set.\u003c/p\u003e","parent_name":"DataFunctionsProtocol"},"Protocols/DataFunctionsProtocol.html#/s:13SwiftUICharts21DataFunctionsProtocolP8minValueSdyF":{"name":"minValue()","abstract":"\u003cp\u003eReturns the lowest value in the data set.\u003c/p\u003e","parent_name":"DataFunctionsProtocol"},"Protocols/DataFunctionsProtocol.html#/s:13SwiftUICharts21DataFunctionsProtocolP7averageSdyF":{"name":"average()","abstract":"\u003cp\u003eReturns the average value from the data set.\u003c/p\u003e","parent_name":"DataFunctionsProtocol"},"Protocols/CTColourStyle.html#/s:13SwiftUICharts13CTColourStyleP10colourTypeAA06ColourF0Ovp":{"name":"colourType","abstract":"\u003cp\u003eSelection for the style of colour.\u003c/p\u003e","parent_name":"CTColourStyle"},"Protocols/CTColourStyle.html#/s:13SwiftUICharts13CTColourStyleP6colour0A2UI5ColorVSgvp":{"name":"colour","abstract":"\u003cp\u003eSingle Colour\u003c/p\u003e","parent_name":"CTColourStyle"},"Protocols/CTColourStyle.html#/s:13SwiftUICharts13CTColourStyleP7coloursSay0A2UI5ColorVGSgvp":{"name":"colours","abstract":"\u003cp\u003eArray of colours for gradient\u003c/p\u003e","parent_name":"CTColourStyle"},"Protocols/CTColourStyle.html#/s:13SwiftUICharts13CTColourStyleP5stopsSayAA12GradientStopVGSgvp":{"name":"stops","abstract":"\u003cp\u003eArray of Gradient Stops.\u003c/p\u003e","parent_name":"CTColourStyle"},"Protocols/CTColourStyle.html#/s:13SwiftUICharts13CTColourStyleP10startPoint0A2UI04UnitF0VSgvp":{"name":"startPoint","abstract":"\u003cp\u003eStart point for the gradient\u003c/p\u003e","parent_name":"CTColourStyle"},"Protocols/CTColourStyle.html#/s:13SwiftUICharts13CTColourStyleP8endPoint0A2UI04UnitF0VSgvp":{"name":"endPoint","abstract":"\u003cp\u003eEnd point for the gradient\u003c/p\u003e","parent_name":"CTColourStyle"},"Protocols/CTChartStyle.html#/s:13SwiftUICharts12CTChartStyleP16infoBoxPlacementAA04InfofG0Ovp":{"name":"infoBoxPlacement","abstract":"\u003cp\u003ePlacement of the information box that appears on touch input.\u003c/p\u003e","parent_name":"CTChartStyle"},"Protocols/CTChartStyle.html#/s:13SwiftUICharts12CTChartStyleP23infoBoxContentAlignmentAA04InfofH0Ovp":{"name":"infoBoxContentAlignment","abstract":"\u003cp\u003ePlacement of the information box that appears on touch input.\u003c/p\u003e","parent_name":"CTChartStyle"},"Protocols/CTChartStyle.html#/s:13SwiftUICharts12CTChartStyleP16infoBoxValueFont0A2UI0H0Vvp":{"name":"infoBoxValueFont","abstract":"\u003cp\u003eFont for the value part of the touch info.\u003c/p\u003e","parent_name":"CTChartStyle"},"Protocols/CTChartStyle.html#/s:13SwiftUICharts12CTChartStyleP18infoBoxValueColour0A2UI5ColorVvp":{"name":"infoBoxValueColour","abstract":"\u003cp\u003eColour of the value part of the touch info.\u003c/p\u003e","parent_name":"CTChartStyle"},"Protocols/CTChartStyle.html#/s:13SwiftUICharts12CTChartStyleP22infoBoxDescriptionFont0A2UI0H0Vvp":{"name":"infoBoxDescriptionFont","abstract":"\u003cp\u003eFont for the description part of the touch info.\u003c/p\u003e","parent_name":"CTChartStyle"},"Protocols/CTChartStyle.html#/s:13SwiftUICharts12CTChartStyleP24infoBoxDescriptionColour0A2UI5ColorVvp":{"name":"infoBoxDescriptionColour","abstract":"\u003cp\u003eColour of the description part of the touch info.\u003c/p\u003e","parent_name":"CTChartStyle"},"Protocols/CTChartStyle.html#/s:13SwiftUICharts12CTChartStyleP23infoBoxBackgroundColour0A2UI5ColorVvp":{"name":"infoBoxBackgroundColour","abstract":"\u003cp\u003eColour of the background of the touch info.\u003c/p\u003e","parent_name":"CTChartStyle"},"Protocols/CTChartStyle.html#/s:13SwiftUICharts12CTChartStyleP19infoBoxBorderColour0A2UI5ColorVvp":{"name":"infoBoxBorderColour","abstract":"\u003cp\u003eBorder colour of the touch info.\u003c/p\u003e","parent_name":"CTChartStyle"},"Protocols/CTChartStyle.html#/s:13SwiftUICharts12CTChartStyleP013infoBoxBorderD00A2UI06StrokeD0Vvp":{"name":"infoBoxBorderStyle","abstract":"\u003cp\u003eBorder style of the touch info.\u003c/p\u003e","parent_name":"CTChartStyle"},"Protocols/CTChartStyle.html#/s:13SwiftUICharts12CTChartStyleP15globalAnimation0A2UI0F0Vvp":{"name":"globalAnimation","abstract":"\u003cp\u003eGlobal control of animations.\u003c/p\u003e","parent_name":"CTChartStyle"},"Protocols/CTRangeDataPointProtocol.html#/s:13SwiftUICharts24CTRangeDataPointProtocolP10upperValueSdvp":{"name":"upperValue","abstract":"\u003cp\u003eValue of the upper range of the data point.\u003c/p\u003e","parent_name":"CTRangeDataPointProtocol"},"Protocols/CTRangeDataPointProtocol.html#/s:13SwiftUICharts24CTRangeDataPointProtocolP10lowerValueSdvp":{"name":"lowerValue","abstract":"\u003cp\u003eValue of the lower range of the data point.\u003c/p\u003e","parent_name":"CTRangeDataPointProtocol"},"Protocols/CTRangeDataPointProtocol.html#/s:13SwiftUICharts24CTRangeDataPointProtocolPA2A09RangedBardE0VRszrlE13valueAsString9specifier9formatterS2S_So17NSNumberFormatterCSgtF":{"name":"valueAsString(specifier:formatter:)","abstract":"\u003cp\u003eData point\u0026rsquo;s value as a string\u003c/p\u003e","parent_name":"CTRangeDataPointProtocol"},"Protocols/CTStandardDataPointProtocol.html#/s:13SwiftUICharts27CTStandardDataPointProtocolP5valueSdvp":{"name":"value","abstract":"\u003cp\u003eValue of the data point\u003c/p\u003e","parent_name":"CTStandardDataPointProtocol"},"Protocols/CTStandardDataPointProtocol.html#/s:13SwiftUICharts27CTStandardDataPointProtocolPA2A05CTBarde4BaseF0RzrlE13valueAsString9specifier9formatterS2S_So17NSNumberFormatterCSgtF":{"name":"valueAsString(specifier:formatter:)","abstract":"\u003cp\u003eData point\u0026rsquo;s value as a string\u003c/p\u003e","parent_name":"CTStandardDataPointProtocol"},"Protocols/CTStandardDataPointProtocol.html#/s:13SwiftUICharts27CTStandardDataPointProtocolPA2A06CTLinedeF0RzAA8IgnoreMeRzrlE13valueAsString9specifier9formatterS2S_So17NSNumberFormatterCSgtF":{"name":"valueAsString(specifier:formatter:)","abstract":"\u003cp\u003eData point\u0026rsquo;s value as a string\u003c/p\u003e","parent_name":"CTStandardDataPointProtocol"},"Protocols/CTStandardDataPointProtocol.html#/s:13SwiftUICharts27CTStandardDataPointProtocolPA2A05CTPiedE0RzrlE13valueAsString9specifier9formatterS2S_So17NSNumberFormatterCSgtF":{"name":"valueAsString(specifier:formatter:)","abstract":"\u003cp\u003eData point\u0026rsquo;s value as a string\u003c/p\u003e","parent_name":"CTStandardDataPointProtocol"},"Protocols/CTDataPointBaseProtocol.html#/s:13SwiftUICharts23CTDataPointBaseProtocolP2id2IDQzvp":{"name":"id","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTDataPointBaseProtocol"},"Protocols/CTDataPointBaseProtocol.html#/s:13SwiftUICharts23CTDataPointBaseProtocolP11descriptionSSSgvp":{"name":"description","abstract":"\u003cp\u003eA label that can be displayed on touch input\u003c/p\u003e","parent_name":"CTDataPointBaseProtocol"},"Protocols/CTDataPointBaseProtocol.html#/s:13SwiftUICharts23CTDataPointBaseProtocolP4date10Foundation4DateVSgvp":{"name":"date","abstract":"\u003cp\u003eDate can be used for optionally performing additional calculations.\u003c/p\u003e","parent_name":"CTDataPointBaseProtocol"},"Protocols/CTDataPointBaseProtocol.html#/s:13SwiftUICharts23CTDataPointBaseProtocolP9legendTagSSvp":{"name":"legendTag","abstract":"\u003cp\u003eInternal property that has to be exposed publicly through the protocol.\u003c/p\u003e","parent_name":"CTDataPointBaseProtocol"},"Protocols/CTDataPointBaseProtocol.html#/s:13SwiftUICharts23CTDataPointBaseProtocolP13valueAsString9specifier9formatterS2S_So17NSNumberFormatterCSgtF":{"name":"valueAsString(specifier:formatter:)","abstract":"\u003cp\u003eGets the relevant value(s) from the data point.\u003c/p\u003e","parent_name":"CTDataPointBaseProtocol"},"Protocols/CTDataPointBaseProtocol.html#/s:13SwiftUICharts23CTDataPointBaseProtocolPAAE18wrappedDescriptionSSvp":{"name":"wrappedDescription","abstract":"\u003cp\u003eUnwraps description\u003c/p\u003e","parent_name":"CTDataPointBaseProtocol"},"Protocols/CTMultiDataSetProtocol.html#/s:13SwiftUICharts22CTMultiDataSetProtocolP0dE0Qa":{"name":"DataSet","abstract":"\u003cp\u003eA type representing a single data set \u0026ndash; \u003ccode\u003eSingleDataSet\u003c/code\u003e\u003c/p\u003e","parent_name":"CTMultiDataSetProtocol"},"Protocols/CTMultiDataSetProtocol.html#/s:13SwiftUICharts22CTMultiDataSetProtocolP8dataSetsSay0dE0QzGvp":{"name":"dataSets","abstract":"\u003cp\u003eArray of single data sets.\u003c/p\u003e","parent_name":"CTMultiDataSetProtocol"},"Protocols/CTMultiDataSetProtocol.html#/s:13SwiftUICharts22CTMultiDataSetProtocolPA2A010CTStandardd5PointF00dE0_0dH0RPzrlE8maxValueSdyF":{"name":"maxValue()","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTMultiDataSetProtocol"},"Protocols/CTMultiDataSetProtocol.html#/s:13SwiftUICharts22CTMultiDataSetProtocolPA2A010CTStandardd5PointF00dE0_0dH0RPzrlE8minValueSdyF":{"name":"minValue()","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTMultiDataSetProtocol"},"Protocols/CTMultiDataSetProtocol.html#/s:13SwiftUICharts22CTMultiDataSetProtocolPA2A010CTStandardd5PointF00dE0_0dH0RPzrlE7averageSdyF":{"name":"average()","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTMultiDataSetProtocol"},"Protocols/CTMultiDataSetProtocol.html#/s:13SwiftUICharts22CTMultiDataSetProtocolPA2A010StackedBarD4SetsVRszrlE8maxValueSdyF":{"name":"maxValue()","abstract":"\u003cp\u003eReturns the highest sum value in the data sets\u003c/p\u003e","parent_name":"CTMultiDataSetProtocol"},"Protocols/CTMultiDataSetProtocol.html#/s:13SwiftUICharts22CTMultiDataSetProtocolPA2A011CTLineChartdE00dE0RpzAA010CTStandardd5PointF0AE_0dJ0RPzrlE8minValueSdyF":{"name":"minValue()","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTMultiDataSetProtocol"},"Protocols/CTSingleDataSetProtocol.html#/s:13SwiftUICharts23CTSingleDataSetProtocolP0D5PointQa":{"name":"DataPoint","abstract":"\u003cp\u003eA type representing a data point. \u0026ndash; \u003ccode\u003eCTChartDataPoint\u003c/code\u003e\u003c/p\u003e","parent_name":"CTSingleDataSetProtocol"},"Protocols/CTSingleDataSetProtocol.html#/s:13SwiftUICharts23CTSingleDataSetProtocolP10dataPointsSay0D5PointQzGvp":{"name":"dataPoints","abstract":"\u003cp\u003eArray of data points.\u003c/p\u003e","parent_name":"CTSingleDataSetProtocol"},"Protocols/CTSingleDataSetProtocol.html#/s:13SwiftUICharts23CTSingleDataSetProtocolPA2A010CTStandardd5PointF00dH0RpzAA11CTnotRangedAFRQrlE8maxValueSdyF":{"name":"maxValue()","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTSingleDataSetProtocol"},"Protocols/CTSingleDataSetProtocol.html#/s:13SwiftUICharts23CTSingleDataSetProtocolPA2A010CTStandardd5PointF00dH0RpzAA11CTnotRangedAFRQrlE8minValueSdyF":{"name":"minValue()","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTSingleDataSetProtocol"},"Protocols/CTSingleDataSetProtocol.html#/s:13SwiftUICharts23CTSingleDataSetProtocolPA2A010CTStandardd5PointF00dH0RpzAA11CTnotRangedAFRQrlE7averageSdyF":{"name":"average()","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTSingleDataSetProtocol"},"Protocols/CTSingleDataSetProtocol.html#/s:13SwiftUICharts23CTSingleDataSetProtocolPA2A07CTRanged5PointF00dH0RpzAA10CTisRangedAFRQrlE8maxValueSdyF":{"name":"maxValue()","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTSingleDataSetProtocol"},"Protocols/CTSingleDataSetProtocol.html#/s:13SwiftUICharts23CTSingleDataSetProtocolPA2A07CTRanged5PointF00dH0RpzAA10CTisRangedAFRQrlE8minValueSdyF":{"name":"minValue()","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTSingleDataSetProtocol"},"Protocols/CTSingleDataSetProtocol.html#/s:13SwiftUICharts23CTSingleDataSetProtocolPA2A07CTRanged5PointF00dH0RpzAA10CTisRangedAFRQrlE7averageSdyF":{"name":"average()","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTSingleDataSetProtocol"},"Protocols/CTSingleDataSetProtocol.html#/s:13SwiftUICharts23CTSingleDataSetProtocolPA2A011CTLineChartdE0RzAA010CTStandardd5PointF00dJ0RpzAA11CTnotRangedAGRQrlE8minValueSdyF":{"name":"minValue()","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTSingleDataSetProtocol"},"Protocols/CTDataSetProtocol.html#/s:13SwiftUICharts17CTDataSetProtocolP2id2IDQzvp":{"name":"id","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTDataSetProtocol"},"Protocols/CTChartData.html#/s:13SwiftUICharts11CTChartDataP7SetTypeQa":{"name":"SetType","abstract":"\u003cp\u003eA type representing a data set. \u0026ndash; \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbProtocols/CTDataSetProtocol.html\"\u003eCTDataSetProtocol\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"CTChartData"},"Protocols/CTChartData.html#/s:13SwiftUICharts11CTChartDataP8SetPointQa":{"name":"SetPoint","abstract":"\u003cp\u003eA type representing a data set. \u0026ndash; \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbProtocols/CTDataSetProtocol.html\"\u003eCTDataSetProtocol\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"CTChartData"},"Protocols/CTChartData.html#/s:13SwiftUICharts11CTChartDataP0D5PointQa":{"name":"DataPoint","abstract":"\u003cp\u003eA type representing a data point. \u0026ndash; \u003ccode\u003eCTChartDataPoint\u003c/code\u003e\u003c/p\u003e","parent_name":"CTChartData"},"Protocols/CTChartData.html#/s:13SwiftUICharts11CTChartDataP7CTStyleQa":{"name":"CTStyle","abstract":"\u003cp\u003eA type representing the chart style. \u0026ndash; \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbProtocols/CTChartStyle.html\"\u003eCTChartStyle\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"CTChartData"},"Protocols/CTChartData.html#/s:13SwiftUICharts11CTChartDataP5TouchQa":{"name":"Touch","abstract":"\u003cp\u003eA type representing a view for the results of the touch interaction.\u003c/p\u003e","parent_name":"CTChartData"},"Protocols/CTChartData.html#/s:13SwiftUICharts11CTChartDataP2id2IDQzvp":{"name":"id","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTChartData"},"Protocols/CTChartData.html#/s:13SwiftUICharts11CTChartDataP8dataSets7SetTypeQzvp":{"name":"dataSets","abstract":"\u003cp\u003eData model containing datapoints and styling information.\u003c/p\u003e","parent_name":"CTChartData"},"Protocols/CTChartData.html#/s:13SwiftUICharts11CTChartDataP8metadataAA13ChartMetadataVvp":{"name":"metadata","abstract":"\u003cp\u003eData model containing the charts Title, Subtitle and the Title for Legend.\u003c/p\u003e","parent_name":"CTChartData"},"Protocols/CTChartData.html#/s:13SwiftUICharts11CTChartDataP7legendsSayAA06LegendD0VGvp":{"name":"legends","abstract":"\u003cp\u003eArray of \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbStructs/LegendData.html\"\u003eLegendData\u003c/a\u003e\u003c/code\u003e to populate the charts legend.\u003c/p\u003e","parent_name":"CTChartData"},"Protocols/CTChartData.html#/s:13SwiftUICharts11CTChartDataP8infoViewAA04InfofD0Vy0D5PointQzGvp":{"name":"infoView","abstract":"\u003cp\u003eData model pass data from \u003ccode\u003eTouchOverlay\u003c/code\u003e ViewModifier to","parent_name":"CTChartData"},"Protocols/CTChartData.html#/s:13SwiftUICharts11CTChartDataP10chartStyle7CTStyleQzvp":{"name":"chartStyle","abstract":"\u003cp\u003eData model conatining the style data for the chart.\u003c/p\u003e","parent_name":"CTChartData"},"Protocols/CTChartData.html#/s:13SwiftUICharts11CTChartDataP02noD4Text0A2UI0F0Vvp":{"name":"noDataText","abstract":"\u003cp\u003eCustomisable \u003ccode\u003eText\u003c/code\u003e to display when where is not enough data to draw the chart.\u003c/p\u003e","parent_name":"CTChartData"},"Protocols/CTChartData.html#/s:13SwiftUICharts11CTChartDataP9chartTypeAA05ChartF0OAD_AA0d3SetF0O04datahF0tvp":{"name":"chartType","abstract":"\u003cp\u003eHolds data about the charts type.\u003c/p\u003e","parent_name":"CTChartData"},"Protocols/CTChartData.html#/s:13SwiftUICharts11CTChartDataP16disableAnimationSbvp":{"name":"disableAnimation","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTChartData"},"Protocols/CTChartData.html#/s:13SwiftUICharts11CTChartDataP16isGreaterThanTwoSbyF":{"name":"isGreaterThanTwo()","abstract":"\u003cp\u003eReturns whether there are two or more data points.\u003c/p\u003e","parent_name":"CTChartData"},"Protocols/CTChartData.html#/s:13SwiftUICharts11CTChartDataP19setTouchInteraction13touchLocation9chartSizeySo7CGPointV_So6CGRectVtF":{"name":"setTouchInteraction(touchLocation:chartSize:)","abstract":"\u003cp\u003eTakes in the required data to set up all the touch interactions.\u003c/p\u003e","parent_name":"CTChartData"},"Protocols/CTChartData.html#/s:13SwiftUICharts11CTChartDataP19getTouchInteraction13touchLocation9chartSize0F0QzSo7CGPointV_So6CGRectVtF":{"name":"getTouchInteraction(touchLocation:chartSize:)","abstract":"\u003cp\u003eTakes touch location and return a view based on the chart type and configuration.\u003c/p\u003e","parent_name":"CTChartData"},"Protocols/CTChartData.html#/s:13SwiftUICharts11CTChartDataP03getD5Point13touchLocation9chartSizeySo7CGPointV_So6CGRectVtF":{"name":"getDataPoint(touchLocation:chartSize:)","abstract":"\u003cp\u003eGets the nearest data points to the touch location.\u003c/p\u003e","parent_name":"CTChartData"},"Protocols/CTChartData.html#/s:13SwiftUICharts11CTChartDataP16getPointLocation7dataSet05touchG09chartSizeSo7CGPointVSg0iF0Qz_AISo6CGRectVtF":{"name":"getPointLocation(dataSet:touchLocation:chartSize:)","abstract":"\u003cp\u003eGets the location of the data point in the view.\u003c/p\u003e","parent_name":"CTChartData"},"Protocols/CTChartData.html#/s:13SwiftUICharts11CTChartDataPAAE13infoValueUnit0E0Qr0D5PointQz_tF":{"name":"infoValueUnit(info:)","abstract":"\u003cp\u003eDisplays the data points value with the unit.\u003c/p\u003e","parent_name":"CTChartData"},"Protocols/CTChartData.html#/s:13SwiftUICharts11CTChartDataPAAE9infoValue0E0Qr0D5PointQz_tF":{"name":"infoValue(info:)","abstract":"\u003cp\u003eDisplays the data points value without the unit.\u003c/p\u003e","parent_name":"CTChartData"},"Protocols/CTChartData.html#/s:13SwiftUICharts11CTChartDataPAAE8infoUnitQryF":{"name":"infoUnit()","abstract":"\u003cp\u003eDisplays the unit.\u003c/p\u003e","parent_name":"CTChartData"},"Protocols/CTChartData.html#/s:13SwiftUICharts11CTChartDataPAAE15infoDescription0E0Qr0D5PointQz_tF":{"name":"infoDescription(info:)","abstract":"\u003cp\u003eDisplays the data points description.\u003c/p\u003e","parent_name":"CTChartData"},"Protocols/CTChartData.html#/s:13SwiftUICharts11CTChartDataPAAE10infoLegend0E0Qr0D5PointQz_tF":{"name":"infoLegend(info:)","abstract":"\u003cp\u003eDisplays the relevent Legend for the data point.\u003c/p\u003e","parent_name":"CTChartData"},"Protocols/Publishable.html#/s:13SwiftUICharts11PublishableP9DataPointQa":{"name":"DataPoint","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"Publishable"},"Protocols/Publishable.html#/s:13SwiftUICharts11PublishableP12subscriptionShy7Combine14AnyCancellableCGvp":{"name":"subscription","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"Publishable"},"Protocols/Publishable.html#/s:13SwiftUICharts11PublishableP25touchedDataPointPublisher7Combine18PassthroughSubjectCy0eF0Qzs5NeverOGvp":{"name":"touchedDataPointPublisher","abstract":"\u003cp\u003eStreams the data points from touch overlay.\u003c/p\u003e","parent_name":"Publishable"},"Protocols/CTDoughnutChartStyle.html#/s:13SwiftUICharts20CTDoughnutChartStyleP11strokeWidth14CoreFoundation7CGFloatVvp":{"name":"strokeWidth","abstract":"\u003cp\u003eWidth / Delta of the Doughnut Chart\u003c/p\u003e","parent_name":"CTDoughnutChartStyle"},"Protocols/CTPieDataPoint.html#/s:13SwiftUICharts14CTPieDataPointP6colour0A2UI5ColorVvp":{"name":"colour","abstract":"\u003cp\u003eColour of the segment\u003c/p\u003e","parent_name":"CTPieDataPoint"},"Protocols/CTPieDataPoint.html#/s:13SwiftUICharts14CTPieDataPointP10startAngleSdvp":{"name":"startAngle","abstract":"\u003cp\u003eWhere the data point should start drawing from","parent_name":"CTPieDataPoint"},"Protocols/CTPieDataPoint.html#/s:13SwiftUICharts14CTPieDataPointP6amountSdvp":{"name":"amount","abstract":"\u003cp\u003eThe data points value in radians.\u003c/p\u003e","parent_name":"CTPieDataPoint"},"Protocols/CTPieDataPoint.html#/s:13SwiftUICharts14CTPieDataPointP5labelAA11OverlayTypeOvp":{"name":"label","abstract":"\u003cp\u003eOption to add overlays on top of the segment.\u003c/p\u003e","parent_name":"CTPieDataPoint"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP11xAxisLabelsSaySSGSgvp":{"name":"xAxisLabels","abstract":"\u003cp\u003eArray of strings for the labels on the X Axis instead of the labels in the data points.\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP11yAxisLabelsSaySSGSgvp":{"name":"yAxisLabels","abstract":"\u003cp\u003eArray of strings for the labels on the Y Axis instead of the labels generated","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP04viewF0AA0e4ViewF0Vvp":{"name":"viewData","abstract":"\u003cp\u003eData model to hold data about the Views layout.\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP09extraLineF0AA05ExtraiF0VSgvp":{"name":"extraLineData","abstract":"\u003cp\u003eA data model for the \u003ccode\u003eExtraLine\u003c/code\u003e View Modifier\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP12ExtraYLabelsQa":{"name":"ExtraYLabels","abstract":"\u003cp\u003eA type representing a View for displaying second set of labels on the Y axis.\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP19getExtraYAxisLabels0I7YLabelsQzyF":{"name":"getExtraYAxisLabels()","abstract":"\u003cp\u003eView for displaying second set of labels on the Y axis.\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP9getColourAA0I5StyleVyF":{"name":"getColour()","abstract":"\u003cp\u003eGet the relevant colour indicator for the y axis labels.\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP7XLabelsQa":{"name":"XLabels","abstract":"\u003cp\u003eA type representing a View for displaying labels on the X axis.\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP14getXAxisLabels7XLabelsQzyF":{"name":"getXAxisLabels()","abstract":"\u003cp\u003eDisplays a view for the labels on the X Axis.\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP7YLabelsQa":{"name":"YLabels","abstract":"\u003cp\u003eA type representing a View for displaying labels on the X axis.\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP14getYAxisLabels7YLabelsQzyF":{"name":"getYAxisLabels()","abstract":"\u003cp\u003eDisplays a view for the labels on the Y Axis.\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP14setBoxLocation05touchJ08boxFrame9chartSize14CoreFoundation7CGFloatVAJ_So6CGRectVALtF":{"name":"setBoxLocation(touchLocation:boxFrame:chartSize:)","abstract":"\u003cp\u003eSets the data point info box location while keeping it within the parent view.\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolPAAE19setBoxLocationation13touchLocation8boxFrame9chartSize14CoreFoundation7CGFloatVAJ_So6CGRectVALtF":{"name":"setBoxLocationation(touchLocation:boxFrame:chartSize:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolPAAE13getYAxisTitle6colourQrAA10AxisColourO_tF":{"name":"getYAxisTitle(colour:)","abstract":"\u003cp\u003eReturns the title for y axis.\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolPAAE18getExtraYAxisTitle6colourQrAA10AxisColourO_tF":{"name":"getExtraYAxisTitle(colour:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolPA2A12isHorizontalRzrlE19setBoxLocationation13touchLocation8boxFrame9chartSize14CoreFoundation7CGFloatVAK_So6CGRectVAMtF":{"name":"setBoxLocationation(touchLocation:boxFrame:chartSize:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolPA2A03GetfG0RzAA0f9FunctionsG07SetTypeAA07CTChartF0PRpzrlE5rangeSdvp":{"name":"range","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolPA2A03GetfG0RzAA0f9FunctionsG07SetTypeAA07CTChartF0PRpzrlE8minValueSdvp":{"name":"minValue","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolPA2A03GetfG0RzAA0f9FunctionsG07SetTypeAA07CTChartF0PRpzrlE8maxValueSdvp":{"name":"maxValue","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolPA2A03GetfG0RzAA0f9FunctionsG07SetTypeAA07CTChartF0PRpzrlE7averageSdvp":{"name":"average","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolPA2A015PointOfInterestG0RzrlE9poiMarker5value5range8minValueQrSd_S2dtF":{"name":"poiMarker(value:range:minValue:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolPA2A015PointOfInterestG0RzrlE12poiLabelAxis11markerValue9specifier9formatter9labelFont0R6Colour0R10Background0R11BorderColor06customL5Shape7paddingQrSd_SSSo17NSNumberFormatterCSg0A2UI0S0VAR0W0VA2vA06CustomlY0VSg14CoreFoundation7CGFloatVSgtF":{"name":"poiLabelAxis(markerValue:specifier:formatter:labelFont:labelColour:labelBackground:labelBorderColor:customLabelShape:padding:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolPA2A015PointOfInterestG0RzrlE14poiLabelCenter11markerValue9specifier9formatter9labelFont0R6Colour0R10Background0R11BorderColor11strokeStyle06customL5Shape7paddingQrSd_SSSo17NSNumberFormatterCSg0A2UI0S0VAS0W0VA2wS06StrokeY0VAA06CustomL5ShapeVSg14CoreFoundation7CGFloatVSgtF":{"name":"poiLabelCenter(markerValue:specifier:formatter:labelFont:labelColour:labelBackground:labelBorderColor:strokeStyle:customLabelShape:padding:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolPA2A015PointOfInterestG0RzrlE16poiLabelPosition8location11markerValue9specifier9formatter9labelFont0S6Colour0S10Background0S11BorderColor11strokeStyle06customL5Shape7paddingQr14CoreFoundation7CGFloatV_SdSSSo17NSNumberFormatterCSg0A2UI0T0VAW0X0VA_A_AW06StrokeZ0VAA06CustomL5ShapeVSgASSgtF":{"name":"poiLabelPosition(location:markerValue:specifier:formatter:labelFont:labelColour:labelBackground:labelBorderColor:strokeStyle:customLabelShape:padding:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolPA2A015PointOfInterestG0RzAA12isHorizontalRzrlE9poiMarker5value5range8minValueQrSd_S2dtF":{"name":"poiMarker(value:range:minValue:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolPA2A015PointOfInterestG0RzAA12isHorizontalRzrlE12poiLabelAxis11markerValue9specifier9labelFont0S6Colour0S10Background0S11BorderColor06customN5Shape7paddingQrSd_SS0A2UI0T0VAO0X0VA2sA06CustomnZ0VSg14CoreFoundation7CGFloatVSgtF":{"name":"poiLabelAxis(markerValue:specifier:labelFont:labelColour:labelBackground:labelBorderColor:customLabelShape:padding:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolPA2A015PointOfInterestG0RzAA12isHorizontalRzrlE16poiLabelPosition8location11markerValue9specifier9formatter9labelFont0U6Colour0U10Background0U11BorderColor11strokeStyle06customN5Shape7paddingQr14CoreFoundation7CGFloatV_SdSSSo17NSNumberFormatterCSg0A2UI0V0VAX0Z0VA0_A0_AX11StrokeStyleVAA06CustomN5ShapeVSgATSgtF":{"name":"poiLabelPosition(location:markerValue:specifier:formatter:labelFont:labelColour:labelBackground:labelBorderColor:strokeStyle:customLabelShape:padding:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolPA2A0cefG0RzAA015PointOfInterestG0RzrlE25poiValueLabelPositionAxis5frame06markerL003minL05rangeSo7CGPointVSo6CGRectV_S3dtF":{"name":"poiValueLabelPositionAxis(frame:markerValue:minValue:range:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolPA2A0cefG0RzAA015PointOfInterestG0RzrlE27poiValueLabelPositionCenter5frame06markerL003minL05rangeSo7CGPointVSo6CGRectV_S3dtF":{"name":"poiValueLabelPositionCenter(frame:markerValue:minValue:range:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolPA2A0cefG0RzAA015PointOfInterestG0RzrlE29poiValueLabelRelativePosition5frame06markerL003minL05rangeSo7CGPointVSo6CGRectV_S3dtF":{"name":"poiValueLabelRelativePosition(frame:markerValue:minValue:range:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolPA2A05CTBarefG0RzAA015PointOfInterestG0RzrlE25poiValueLabelPositionAxis5frame06markerM003minM05rangeSo7CGPointVSo6CGRectV_S3dtF":{"name":"poiValueLabelPositionAxis(frame:markerValue:minValue:range:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolPA2A05CTBarefG0RzAA015PointOfInterestG0RzrlE27poiValueLabelPositionCenter5frame06markerM003minM05rangeSo7CGPointVSo6CGRectV_S3dtF":{"name":"poiValueLabelPositionCenter(frame:markerValue:minValue:range:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolPA2A05CTBarefG0RzAA015PointOfInterestG0RzrlE29poiValueLabelRelativePosition5frame06markerM003minM05rangeSo7CGPointVSo6CGRectV_S3dtF":{"name":"poiValueLabelRelativePosition(frame:markerValue:minValue:range:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolPA2A05CTBarefG0RzAA015PointOfInterestG0RzAA12isHorizontalRzrlE25poiValueLabelPositionAxis5frame06markerO003minO05rangeSo7CGPointVSo6CGRectV_S3dtF":{"name":"poiValueLabelPositionAxis(frame:markerValue:minValue:range:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolPA2A05CTBarefG0RzAA015PointOfInterestG0RzAA12isHorizontalRzrlE27poiValueLabelPositionCenter5frame06markerO003minO05rangeSo7CGPointVSo6CGRectV_S3dtF":{"name":"poiValueLabelPositionCenter(frame:markerValue:minValue:range:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolPA2A05CTBarefG0RzAA015PointOfInterestG0RzAA12isHorizontalRzrlE29poiValueLabelRelativePosition5frame06markerO003minO05rangeSo7CGPointVSo6CGRectV_S3dtF":{"name":"poiValueLabelRelativePosition(frame:markerValue:minValue:range:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolPA2A015PointOfInterestG0RzrlE17poiAbscissaMarker11markerValue04dataH5CountQrSi_SitF":{"name":"poiAbscissaMarker(markerValue:dataPointCount:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolPA2A015PointOfInterestG0RzrlE20poiAbscissaLabelAxis6marker9labelFont0P6Colour0P10Background0P11BorderColor06customM5Shape7paddingQrSS_0A2UI0Q0VAM0U0VA2qA06CustommW0VSg14CoreFoundation7CGFloatVSgtF":{"name":"poiAbscissaLabelAxis(marker:labelFont:labelColour:labelBackground:labelBorderColor:customLabelShape:padding:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolPA2A015PointOfInterestG0RzrlE22poiAbscissaLabelCenter6marker9labelFont0P6Colour0P10Background0P11BorderColor11strokeStyle06customM5Shape7paddingQrSS_0A2UI0Q0VAN0U0VA2rN06StrokeW0VAA06CustommY0VSg14CoreFoundation7CGFloatVSgtF":{"name":"poiAbscissaLabelCenter(marker:labelFont:labelColour:labelBackground:labelBorderColor:strokeStyle:customLabelShape:padding:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolPA2A015PointOfInterestG0RzrlE24poiAbscissaLabelPosition8location6marker9labelFont0Q6Colour0Q10Background0Q11BorderColor11strokeStyle06customM5Shape7paddingQr14CoreFoundation7CGFloatV_SS0A2UI0R0VAR0V0VA2vR06StrokeX0VAA06CustommZ0VSgAQSgtF":{"name":"poiAbscissaLabelPosition(location:marker:labelFont:labelColour:labelBackground:labelBorderColor:strokeStyle:customLabelShape:padding:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolPA2A015PointOfInterestG0RzAA12isHorizontalRzrlE17poiAbscissaMarker11markerValue04dataH5CountQrSi_SitF":{"name":"poiAbscissaMarker(markerValue:dataPointCount:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolPA2A015PointOfInterestG0RzAA12isHorizontalRzrlE20poiAbscissaLabelAxis6marker9labelFont0R6Colour0R10Background0R11BorderColor06customO5Shape7paddingQrSS_0A2UI0S0VAN0W0VA2rA06CustomoY0VSg14CoreFoundation7CGFloatVSgtF":{"name":"poiAbscissaLabelAxis(marker:labelFont:labelColour:labelBackground:labelBorderColor:customLabelShape:padding:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolPA2A015PointOfInterestG0RzAA12isHorizontalRzrlE24poiAbscissaLabelPosition8location6marker9labelFont0S6Colour0S10Background0S11BorderColor11strokeStyle06customO5Shape7paddingQr14CoreFoundation7CGFloatV_SS0A2UI0T0VAS0X0VA2wS06StrokeZ0VAA06CustomO5ShapeVSgARSgtF":{"name":"poiAbscissaLabelPosition(location:marker:labelFont:labelColour:labelBackground:labelBorderColor:strokeStyle:customLabelShape:padding:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolPA2A0cefG0RzAA015PointOfInterestG0RzrlE33poiAbscissaValueLabelPositionAxis5frame06markerM05countSo7CGPointVSo6CGRectV_S2itF":{"name":"poiAbscissaValueLabelPositionAxis(frame:markerValue:count:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolPA2A0cefG0RzAA015PointOfInterestG0RzrlE35poiAbscissaValueLabelPositionCenter5frame06markerM05countSo7CGPointVSo6CGRectV_S2itF":{"name":"poiAbscissaValueLabelPositionCenter(frame:markerValue:count:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolPA2A0cefG0RzAA015PointOfInterestG0RzrlE37poiAbscissaValueLabelRelativePosition5frame06markerM05countSo7CGPointVSo6CGRectV_S2itF":{"name":"poiAbscissaValueLabelRelativePosition(frame:markerValue:count:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolPA2A05CTBarefG0RzAA015PointOfInterestG0RzrlE33poiAbscissaValueLabelPositionAxis5frame06markerN05countSo7CGPointVSo6CGRectV_S2itF":{"name":"poiAbscissaValueLabelPositionAxis(frame:markerValue:count:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolPA2A05CTBarefG0RzAA015PointOfInterestG0RzrlE35poiAbscissaValueLabelPositionCenter5frame06markerN05countSo7CGPointVSo6CGRectV_S2itF":{"name":"poiAbscissaValueLabelPositionCenter(frame:markerValue:count:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolPA2A05CTBarefG0RzAA015PointOfInterestG0RzrlE37poiAbscissaValueLabelRelativePosition5frame06markerN05countSo7CGPointVSo6CGRectV_S2itF":{"name":"poiAbscissaValueLabelRelativePosition(frame:markerValue:count:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolPA2A05CTBarefG0RzAA015PointOfInterestG0RzAA12isHorizontalRzrlE33poiAbscissaValueLabelPositionAxis5frame06markerP05countSo7CGPointVSo6CGRectV_S2itF":{"name":"poiAbscissaValueLabelPositionAxis(frame:markerValue:count:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolPA2A05CTBarefG0RzAA015PointOfInterestG0RzAA12isHorizontalRzrlE35poiAbscissaValueLabelPositionCenter5frame06markerP05countSo7CGPointVSo6CGRectV_S2itF":{"name":"poiAbscissaValueLabelPositionCenter(frame:markerValue:count:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/CTLineBarChartDataProtocol.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolPA2A05CTBarefG0RzAA015PointOfInterestG0RzAA12isHorizontalRzrlE37poiAbscissaValueLabelRelativePosition5frame06markerP05countSo7CGPointVSo6CGRectV_S2itF":{"name":"poiAbscissaValueLabelRelativePosition(frame:markerValue:count:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTLineBarChartDataProtocol"},"Protocols/IgnoreMe.html#/s:13SwiftUICharts8IgnoreMeP06ignoreD0Sbvp":{"name":"ignoreMe","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"IgnoreMe"},"Protocols/CTRangedLineDataPoint.html#/s:13SwiftUICharts21CTRangedLineDataPointPA2A06Rangedd5CharteF0VRszrlE13valueAsString9specifier9formatterS2S_So17NSNumberFormatterCSgtF":{"name":"valueAsString(specifier:formatter:)","abstract":"\u003cp\u003eData point\u0026rsquo;s value as a string\u003c/p\u003e","parent_name":"CTRangedLineDataPoint"},"Protocols/CTLineDataPointProtocol.html#/s:13SwiftUICharts23CTLineDataPointProtocolP11pointColourAA0eH0VSgvp":{"name":"pointColour","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTLineDataPointProtocol"},"Protocols/CTRangedLineChartDataSet.html#/s:13SwiftUICharts24CTRangedLineChartDataSetP15legendFillTitleSSvp":{"name":"legendFillTitle","abstract":"\u003cp\u003eLabel to display in the legend for the range area..\u003c/p\u003e","parent_name":"CTRangedLineChartDataSet"},"Protocols/CTLineChartDataSet.html#/s:13SwiftUICharts18CTLineChartDataSetP7StylingQa":{"name":"Styling","abstract":"\u003cp\u003eA type representing colour styling\u003c/p\u003e","parent_name":"CTLineChartDataSet"},"Protocols/CTLineChartDataSet.html#/s:13SwiftUICharts18CTLineChartDataSetP11legendTitleSSvp":{"name":"legendTitle","abstract":"\u003cp\u003eLabel to display in the legend.\u003c/p\u003e","parent_name":"CTLineChartDataSet"},"Protocols/CTLineChartDataSet.html#/s:13SwiftUICharts18CTLineChartDataSetP5style7StylingQzvp":{"name":"style","abstract":"\u003cp\u003eSets the style for the Data Set (as opposed to Chart Data Style).\u003c/p\u003e","parent_name":"CTLineChartDataSet"},"Protocols/CTLineChartDataSet.html#/s:13SwiftUICharts18CTLineChartDataSetP10pointStyleAA05PointH0Vvp":{"name":"pointStyle","abstract":"\u003cp\u003eSets the look of the markers over the data points.\u003c/p\u003e","parent_name":"CTLineChartDataSet"},"Protocols/CTRangedLineStyle.html#/s:13SwiftUICharts17CTRangedLineStyleP10fillColourAA0gE0Vvp":{"name":"fillColour","abstract":"\u003cp\u003eDrawing style of the range fill.\u003c/p\u003e","parent_name":"CTRangedLineStyle"},"Protocols/CTLineStyle.html#/s:13SwiftUICharts11CTLineStyleP8lineTypeAA04LineF0Ovp":{"name":"lineType","abstract":"\u003cp\u003eDrawing style of the line.\u003c/p\u003e","parent_name":"CTLineStyle"},"Protocols/CTLineStyle.html#/s:13SwiftUICharts11CTLineStyleP10lineColourAA0fD0Vvp":{"name":"lineColour","abstract":"\u003cp\u003eColour styling of the line.\u003c/p\u003e","parent_name":"CTLineStyle"},"Protocols/CTLineStyle.html#/s:13SwiftUICharts11CTLineStyleP06strokeD0AA6StrokeVvp":{"name":"strokeStyle","abstract":"\u003cp\u003eStyling for stroke \u003c/p\u003e","parent_name":"CTLineStyle"},"Protocols/CTLineStyle.html#/s:13SwiftUICharts11CTLineStyleP10ignoreZeroSbvp":{"name":"ignoreZero","abstract":"\u003cp\u003eWhether the chart should skip data points who\u0026rsquo;s value is 0.\u003c/p\u003e","parent_name":"CTLineStyle"},"Protocols/CTLineChartDataProtocol.html#/s:13SwiftUICharts23CTLineChartDataProtocolP6PointsQa":{"name":"Points","abstract":"\u003cp\u003eA type representing opaque View\u003c/p\u003e","parent_name":"CTLineChartDataProtocol"},"Protocols/CTLineChartDataProtocol.html#/s:13SwiftUICharts23CTLineChartDataProtocolP6AccessQa":{"name":"Access","abstract":"\u003cp\u003eA type representing opaque View\u003c/p\u003e","parent_name":"CTLineChartDataProtocol"},"Protocols/CTLineChartDataProtocol.html#/s:13SwiftUICharts23CTLineChartDataProtocolP14getPointMarker6PointsQzyF":{"name":"getPointMarker()","abstract":"\u003cp\u003eDisplays Shapes over the data points.\u003c/p\u003e","parent_name":"CTLineChartDataProtocol"},"Protocols/CTLineChartDataProtocol.html#/s:13SwiftUICharts23CTLineChartDataProtocolP16getAccessibility6AccessQzyF":{"name":"getAccessibility()","abstract":"\u003cp\u003eEnsures that line charts have an accessibility layer.\u003c/p\u003e","parent_name":"CTLineChartDataProtocol"},"Protocols/CTMultiBarDataPoint.html#/s:13SwiftUICharts19CTMultiBarDataPointP5groupAA08GroupingE0Vvp":{"name":"group","abstract":"\u003cp\u003eFor grouping data points together so they can be drawn in the correct groupings.\u003c/p\u003e","parent_name":"CTMultiBarDataPoint"},"Protocols/CTBarColourProtocol.html#/s:13SwiftUICharts19CTBarColourProtocolP6colourAA0D5StyleVvp":{"name":"colour","abstract":"\u003cp\u003eDrawing style of the range fill.\u003c/p\u003e","parent_name":"CTBarColourProtocol"},"Protocols/CTMultiBarChartDataSet.html#/s:13SwiftUICharts22CTMultiBarChartDataSetP8setTitleSSvp":{"name":"setTitle","abstract":"\u003cp\u003eTitle of the data set.\u003c/p\u003e","parent_name":"CTMultiBarChartDataSet"},"Protocols/CTMultiBarChartDataSet.html#/s:13SwiftUICharts22CTMultiBarChartDataSetPA2A07StackeddfG0VRszrlE8maxValueSdyF":{"name":"maxValue()","abstract":"\u003cp\u003eReturns the highest sum value in the data set.\u003c/p\u003e","parent_name":"CTMultiBarChartDataSet"},"Protocols/CTStandardBarChartDataSet.html#/s:13SwiftUICharts25CTStandardBarChartDataSetP11legendTitleSSvp":{"name":"legendTitle","abstract":"\u003cp\u003eLabel to display in the legend.\u003c/p\u003e","parent_name":"CTStandardBarChartDataSet"},"Protocols/CTBarStyle.html#/s:13SwiftUICharts10CTBarStyleP8barWidth14CoreFoundation7CGFloatVvp":{"name":"barWidth","abstract":"\u003cp\u003eHow much of the available width to use. 0\u0026hellip;1\u003c/p\u003e","parent_name":"CTBarStyle"},"Protocols/CTBarStyle.html#/s:13SwiftUICharts10CTBarStyleP12cornerRadiusAA06CornerF0Vvp":{"name":"cornerRadius","abstract":"\u003cp\u003eCorner radius of the bar shape.\u003c/p\u003e","parent_name":"CTBarStyle"},"Protocols/CTBarStyle.html#/s:13SwiftUICharts10CTBarStyleP10colourFromAA06ColourF0Ovp":{"name":"colourFrom","abstract":"\u003cp\u003eWhere to get the colour data from.\u003c/p\u003e","parent_name":"CTBarStyle"},"Protocols/CTBarStyle.html#/s:13SwiftUICharts10CTBarStyleP6colourAA06ColourD0Vvp":{"name":"colour","abstract":"\u003cp\u003eDrawing style of the fill.\u003c/p\u003e","parent_name":"CTBarStyle"},"Protocols/CTMultiBarChartDataProtocol.html#/s:13SwiftUICharts27CTMultiBarChartDataProtocolP6groupsSayAA08GroupingF0VGvp":{"name":"groups","abstract":"\u003cp\u003eGrouping data to inform the chart about the relationship between the datapoints.\u003c/p\u003e","parent_name":"CTMultiBarChartDataProtocol"},"Protocols/CTBarChartDataProtocol.html#/s:13SwiftUICharts22CTBarChartDataProtocolP8BarStyleQa":{"name":"BarStyle","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"CTBarChartDataProtocol"},"Protocols/CTBarChartDataProtocol.html#/s:13SwiftUICharts22CTBarChartDataProtocolP8barStyle03BarH0Qzvp":{"name":"barStyle","abstract":"\u003cp\u003eOverall styling for the bars\u003c/p\u003e","parent_name":"CTBarChartDataProtocol"},"Protocols/CTBarChartDataProtocol.html":{"name":"CTBarChartDataProtocol","abstract":"\u003cp\u003eA protocol to extend functionality of \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbProtocols/CTLineBarChartDataProtocol.html\"\u003eCTLineBarChartDataProtocol\u003c/a\u003e\u003c/code\u003e specifically for Bar Charts.\u003c/p\u003e"},"Protocols/CTMultiBarChartDataProtocol.html":{"name":"CTMultiBarChartDataProtocol","abstract":"\u003cp\u003eA protocol to extend functionality of \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbProtocols/CTBarChartDataProtocol.html\"\u003eCTBarChartDataProtocol\u003c/a\u003e\u003c/code\u003e specifically for Multi Part Bar Charts.\u003c/p\u003e"},"Protocols.html#/s:13SwiftUICharts28CTRangedBarChartDataProtocolP":{"name":"CTRangedBarChartDataProtocol","abstract":"\u003cp\u003eA protocol to extend functionality of \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbProtocols/CTBarChartDataProtocol.html\"\u003eCTBarChartDataProtocol\u003c/a\u003e\u003c/code\u003e specifically for Multi Part Bar Charts.\u003c/p\u003e"},"Protocols.html#/s:13SwiftUICharts32CTHorizontalBarChartDataProtocolP":{"name":"CTHorizontalBarChartDataProtocol","abstract":"\u003cp\u003eA protocol to extend functionality of \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbProtocols/CTBarChartDataProtocol.html\"\u003eCTBarChartDataProtocol\u003c/a\u003e\u003c/code\u003e specifically for Horizontal Bar Charts.\u003c/p\u003e"},"Protocols.html#/s:13SwiftUICharts12isHorizontalP":{"name":"isHorizontal","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e"},"Protocols.html#/s:13SwiftUICharts15CTBarChartStyleP":{"name":"CTBarChartStyle","abstract":"\u003cp\u003eA protocol to extend functionality of \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbProtocols/CTLineBarChartStyle.html\"\u003eCTLineBarChartStyle\u003c/a\u003e\u003c/code\u003e specifically for Bar Charts.\u003c/p\u003e"},"Protocols/CTBarStyle.html":{"name":"CTBarStyle","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e"},"Protocols/CTStandardBarChartDataSet.html":{"name":"CTStandardBarChartDataSet","abstract":"\u003cp\u003eA protocol to extend functionality of \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbProtocols/CTSingleDataSetProtocol.html\"\u003eCTSingleDataSetProtocol\u003c/a\u003e\u003c/code\u003e specifically for Standard Bar Charts.\u003c/p\u003e"},"Protocols/CTMultiBarChartDataSet.html":{"name":"CTMultiBarChartDataSet","abstract":"\u003cp\u003eA protocol to extend functionality of \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbProtocols/CTSingleDataSetProtocol.html\"\u003eCTSingleDataSetProtocol\u003c/a\u003e\u003c/code\u003e specifically for Multi Part Bar Charts.\u003c/p\u003e"},"Protocols.html#/s:13SwiftUICharts23CTRangedBarChartDataSetP":{"name":"CTRangedBarChartDataSet","abstract":"\u003cp\u003eA protocol to extend functionality of \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbProtocols/CTSingleDataSetProtocol.html\"\u003eCTSingleDataSetProtocol\u003c/a\u003e\u003c/code\u003e specifically for Ranged Bar Charts.\u003c/p\u003e"},"Protocols.html#/s:13SwiftUICharts26CTBarDataPointBaseProtocolP":{"name":"CTBarDataPointBaseProtocol","abstract":"\u003cp\u003eA protocol to extend functionality of \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbProtocols/CTLineBarDataPointProtocol.html\"\u003eCTLineBarDataPointProtocol\u003c/a\u003e\u003c/code\u003e specifically for standard Bar Charts.\u003c/p\u003e"},"Protocols/CTBarColourProtocol.html":{"name":"CTBarColourProtocol","abstract":"\u003cp\u003eA protocol to a standard colour scheme for bar charts.\u003c/p\u003e"},"Protocols.html#/s:13SwiftUICharts22CTStandardBarDataPointP":{"name":"CTStandardBarDataPoint","abstract":"\u003cp\u003eA protocol to extend functionality of \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbProtocols.html#/s:13SwiftUICharts26CTBarDataPointBaseProtocolP\"\u003eCTBarDataPointBaseProtocol\u003c/a\u003e\u003c/code\u003e specifically for standard Bar Charts.\u003c/p\u003e"},"Protocols.html#/s:13SwiftUICharts20CTRangedBarDataPointP":{"name":"CTRangedBarDataPoint","abstract":"\u003cp\u003eA protocol to extend functionality of \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbProtocols.html#/s:13SwiftUICharts26CTBarDataPointBaseProtocolP\"\u003eCTBarDataPointBaseProtocol\u003c/a\u003e\u003c/code\u003e specifically for standard Bar Charts.\u003c/p\u003e"},"Protocols/CTMultiBarDataPoint.html":{"name":"CTMultiBarDataPoint","abstract":"\u003cp\u003eA protocol to extend functionality of \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbProtocols.html#/s:13SwiftUICharts26CTBarDataPointBaseProtocolP\"\u003eCTBarDataPointBaseProtocol\u003c/a\u003e\u003c/code\u003e specifically for multi part Bar Charts."},"Protocols/CTLineChartDataProtocol.html":{"name":"CTLineChartDataProtocol","abstract":"\u003cp\u003eA protocol to extend functionality of \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbProtocols/CTLineBarChartDataProtocol.html\"\u003eCTLineBarChartDataProtocol\u003c/a\u003e\u003c/code\u003e specifically for Line Charts.\u003c/p\u003e"},"Protocols.html#/s:13SwiftUICharts16CTLineChartStyleP":{"name":"CTLineChartStyle","abstract":"\u003cp\u003eA protocol to extend functionality of \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbProtocols/CTLineBarChartStyle.html\"\u003eCTLineBarChartStyle\u003c/a\u003e\u003c/code\u003e specifically for Line Charts.\u003c/p\u003e"},"Protocols/CTLineStyle.html":{"name":"CTLineStyle","abstract":"\u003cp\u003eProtocol to set up the styling for individual lines.\u003c/p\u003e"},"Protocols/CTRangedLineStyle.html":{"name":"CTRangedLineStyle","abstract":"\u003cp\u003eA protocol to extend functionality of \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbProtocols/CTLineStyle.html\"\u003eCTLineStyle\u003c/a\u003e\u003c/code\u003e specifically for Ranged Line Charts.\u003c/p\u003e"},"Protocols/CTLineChartDataSet.html":{"name":"CTLineChartDataSet","abstract":"\u003cp\u003eA protocol to extend functionality of \u003ccode\u003eSingleDataSet\u003c/code\u003e specifically for Line Charts.\u003c/p\u003e"},"Protocols/CTRangedLineChartDataSet.html":{"name":"CTRangedLineChartDataSet","abstract":"\u003cp\u003eA protocol to extend functionality of \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbProtocols/CTLineChartDataSet.html\"\u003eCTLineChartDataSet\u003c/a\u003e\u003c/code\u003e specifically for Ranged Line Charts.\u003c/p\u003e"},"Protocols.html#/s:13SwiftUICharts23CTMultiLineChartDataSetP":{"name":"CTMultiLineChartDataSet","abstract":"\u003cp\u003eA protocol to extend functionality of \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbProtocols/CTMultiDataSetProtocol.html\"\u003eCTMultiDataSetProtocol\u003c/a\u003e\u003c/code\u003e specifically for Multi Line Charts.\u003c/p\u003e"},"Protocols/CTLineDataPointProtocol.html":{"name":"CTLineDataPointProtocol","abstract":"\u003cp\u003eA protocol to extend functionality of \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbProtocols/CTLineBarDataPointProtocol.html\"\u003eCTLineBarDataPointProtocol\u003c/a\u003e\u003c/code\u003e specifically for Line and Bar Charts.\u003c/p\u003e"},"Protocols.html#/s:13SwiftUICharts23CTStandardLineDataPointP":{"name":"CTStandardLineDataPoint","abstract":"\u003cp\u003eA protocol to extend functionality of \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbProtocols/CTStandardDataPointProtocol.html\"\u003eCTStandardDataPointProtocol\u003c/a\u003e\u003c/code\u003e specifically for Ranged Line Charts.\u003c/p\u003e"},"Protocols/CTRangedLineDataPoint.html":{"name":"CTRangedLineDataPoint","abstract":"\u003cp\u003eA protocol to extend functionality of \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbProtocols/CTStandardDataPointProtocol.html\"\u003eCTStandardDataPointProtocol\u003c/a\u003e\u003c/code\u003e specifically for Ranged Line Charts.\u003c/p\u003e"},"Protocols/IgnoreMe.html":{"name":"IgnoreMe","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e"},"Protocols/CTLineBarChartDataProtocol.html":{"name":"CTLineBarChartDataProtocol","abstract":"\u003cp\u003eA protocol to extend functionality of \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbProtocols/CTChartData.html\"\u003eCTChartData\u003c/a\u003e\u003c/code\u003e specifically for Line and Bar Charts.\u003c/p\u003e"},"Protocols.html#/s:13SwiftUICharts30CTPieDoughnutChartDataProtocolP":{"name":"CTPieDoughnutChartDataProtocol","abstract":"\u003cp\u003eA protocol to extend functionality of \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbProtocols/CTChartData.html\"\u003eCTChartData\u003c/a\u003e\u003c/code\u003e specifically for Pie and Doughnut Charts.\u003c/p\u003e"},"Protocols.html#/s:13SwiftUICharts22CTPieChartDataProtocolP":{"name":"CTPieChartDataProtocol","abstract":"\u003cp\u003eA protocol to extend functionality of \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbProtocols.html#/s:13SwiftUICharts30CTPieDoughnutChartDataProtocolP\"\u003eCTPieDoughnutChartDataProtocol\u003c/a\u003e\u003c/code\u003e specifically for Pie Charts.\u003c/p\u003e"},"Protocols.html#/s:13SwiftUICharts27CTDoughnutChartDataProtocolP":{"name":"CTDoughnutChartDataProtocol","abstract":"\u003cp\u003eA protocol to extend functionality of \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbProtocols.html#/s:13SwiftUICharts30CTPieDoughnutChartDataProtocolP\"\u003eCTPieDoughnutChartDataProtocol\u003c/a\u003e\u003c/code\u003e specifically for Doughnut Charts.\u003c/p\u003e"},"Protocols/CTPieDataPoint.html":{"name":"CTPieDataPoint","abstract":"\u003cp\u003eA protocol to extend functionality of \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbProtocols/CTStandardDataPointProtocol.html\"\u003eCTStandardDataPointProtocol\u003c/a\u003e\u003c/code\u003e specifically for Pie and Doughnut Charts.\u003c/p\u003e"},"Protocols.html#/s:13SwiftUICharts26CTPieAndDoughnutChartStyleP":{"name":"CTPieAndDoughnutChartStyle","abstract":"\u003cp\u003eA protocol to extend functionality of \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbProtocols/CTChartStyle.html\"\u003eCTChartStyle\u003c/a\u003e\u003c/code\u003e specifically for Pie and Doughnut Charts.\u003c/p\u003e"},"Protocols.html#/s:13SwiftUICharts15CTPieChartStyleP":{"name":"CTPieChartStyle","abstract":"\u003cp\u003eA protocol to extend functionality of \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbProtocols.html#/s:13SwiftUICharts26CTPieAndDoughnutChartStyleP\"\u003eCTPieAndDoughnutChartStyle\u003c/a\u003e\u003c/code\u003e specifically for Pie Charts.\u003c/p\u003e"},"Protocols/CTDoughnutChartStyle.html":{"name":"CTDoughnutChartStyle","abstract":"\u003cp\u003eA protocol to extend functionality of \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbProtocols.html#/s:13SwiftUICharts26CTPieAndDoughnutChartStyleP\"\u003eCTPieAndDoughnutChartStyle\u003c/a\u003e\u003c/code\u003e specifically for Doughnut Charts.\u003c/p\u003e"},"Protocols/Publishable.html":{"name":"Publishable","abstract":"\u003cp\u003eProtocol to enable publishing data streams over the Combine framework\u003c/p\u003e"},"Protocols/CTChartData.html":{"name":"CTChartData","abstract":"\u003cp\u003eMain protocol for passing data around library.\u003c/p\u003e"},"Protocols/CTDataSetProtocol.html":{"name":"CTDataSetProtocol","abstract":"\u003cp\u003eMain protocol to set conformace for types of Data Sets.\u003c/p\u003e"},"Protocols/CTSingleDataSetProtocol.html":{"name":"CTSingleDataSetProtocol","abstract":"\u003cp\u003eProtocol for data sets that only require a single set of data .\u003c/p\u003e"},"Protocols/CTMultiDataSetProtocol.html":{"name":"CTMultiDataSetProtocol","abstract":"\u003cp\u003eProtocol for data sets that require a multiple sets of data .\u003c/p\u003e"},"Protocols/CTDataPointBaseProtocol.html":{"name":"CTDataPointBaseProtocol","abstract":"\u003cp\u003eProtocol to set base configuration for data points.\u003c/p\u003e"},"Protocols/CTStandardDataPointProtocol.html":{"name":"CTStandardDataPointProtocol","abstract":"\u003cp\u003eA protocol to extend functionality of \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbProtocols/CTDataPointBaseProtocol.html\"\u003eCTDataPointBaseProtocol\u003c/a\u003e\u003c/code\u003e for any chart"},"Protocols/CTRangeDataPointProtocol.html":{"name":"CTRangeDataPointProtocol","abstract":"\u003cp\u003eA protocol to extend functionality of \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbProtocols/CTDataPointBaseProtocol.html\"\u003eCTDataPointBaseProtocol\u003c/a\u003e\u003c/code\u003e for any chart"},"Protocols/CTChartStyle.html":{"name":"CTChartStyle","abstract":"\u003cp\u003eProtocol to set the styling data for the chart.\u003c/p\u003e"},"Protocols/CTColourStyle.html":{"name":"CTColourStyle","abstract":"\u003cp\u003eA protocol to set colour styling.\u003c/p\u003e"},"Protocols.html#/s:13SwiftUICharts10CTisRangedP":{"name":"CTisRanged","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e"},"Protocols.html#/s:13SwiftUICharts11CTnotRangedP":{"name":"CTnotRanged","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e"},"Protocols/DataFunctionsProtocol.html":{"name":"DataFunctionsProtocol","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e"},"Protocols/GetDataProtocol.html":{"name":"GetDataProtocol","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e"},"Protocols.html#/s:13SwiftUICharts10MarkerTypeP":{"name":"MarkerType","abstract":"\u003cp\u003eA protocol to get the correct touch overlay marker.\u003c/p\u003e"},"Protocols/CTLineBarChartStyle.html":{"name":"CTLineBarChartStyle","abstract":"\u003cp\u003eA protocol to extend functionality of \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbProtocols/CTChartStyle.html\"\u003eCTChartStyle\u003c/a\u003e\u003c/code\u003e specifically for Line and Bar Charts.\u003c/p\u003e"},"Protocols/CTLineBarDataPointProtocol.html":{"name":"CTLineBarDataPointProtocol","abstract":"\u003cp\u003eA protocol to extend functionality of \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbProtocols/CTStandardDataPointProtocol.html\"\u003eCTStandardDataPointProtocol\u003c/a\u003e\u003c/code\u003e specifically for Line and Bar Charts.\u003c/p\u003e"},"Protocols/PointOfInterestProtocol.html":{"name":"PointOfInterestProtocol","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e"},"Extensions/Color.html#/s:7SwiftUI5ColorV0A8UIChartsE17systemsBackgroundACvpZ":{"name":"systemsBackground","abstract":"\u003cp\u003eReturns the relevant system background colour for the device.\u003c/p\u003e","parent_name":"Color"},"Extensions/NSNotification/Name.html#/s:So18NSNotificationNamea13SwiftUIChartsE21updateLayoutDidFinishABvpZ":{"name":"updateLayoutDidFinish","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"Name"},"Extensions/NSNotification/Name.html":{"name":"Name","parent_name":"NSNotification"},"Extensions/View.html#/s:7SwiftUI4ViewP0A8UIChartsE13filledTopLine9chartData10lineColour11strokeStyleQrqd___AD0kM0VAA06StrokeM0VtAD0g5ChartI0CRbd__lF":{"name":"filledTopLine(chartData:lineColour:strokeStyle:)","abstract":"\u003cp\u003eAdds an independent line on top of FilledLineChart.\u003c/p\u003e","parent_name":"View"},"Extensions/View.html#/s:7SwiftUI4ViewP0A8UIChartsE12pointMarkers9chartDataQrqd___tAD011CTLineChartH8ProtocolRd__AD03GethK0Rd__lF":{"name":"pointMarkers(chartData:)","abstract":"\u003cp\u003eLays out markers over each of the data point.\u003c/p\u003e","parent_name":"View"},"Extensions/View.html#/s:7SwiftUI4ViewP0A8UIChartsE9headerBox9chartDataQrqd___tAD07CTChartH0Rd__lF":{"name":"headerBox(chartData:)","abstract":"\u003cp\u003eDisplays the metadata about the chart.\u003c/p\u003e","parent_name":"View"},"Extensions/View.html#/s:7SwiftUI4ViewP0A8UIChartsE7legends9chartData7columns9iconWidth4font9textColor10topPaddingQrqd___SayAA8GridItemVG14CoreFoundation7CGFloatVAA4FontVAA0M0VAQtAD07CTChartG0Rd__lF":{"name":"legends(chartData:columns:iconWidth:font:textColor:topPadding:)","abstract":"\u003cp\u003eDisplays legends under the chart.\u003c/p\u003e","parent_name":"View"},"Extensions/View.html#/s:7SwiftUI4ViewP0A8UIChartsE12touchOverlay9chartData9specifier9formatter4unit11minDistanceQrqd___SSSo17NSNumberFormatterCSgAD9TouchUnitO14CoreFoundation7CGFloatVtAD07CTChartH0Rd__lF":{"name":"touchOverlay(chartData:specifier:formatter:unit:minDistance:)","abstract":"\u003cp\u003eAdds touch interaction with the chart.\u003c/p\u003e","parent_name":"View"},"Extensions/View.html#/touchOverlay(chartData:specifier:formatter:unit:minDistance:)":{"name":"touchOverlay(chartData:specifier:formatter:unit:minDistance:)","abstract":"\u003cp\u003eAdds touch interaction with the chart.\u003c/p\u003e","parent_name":"View"},"Extensions/View.html#/s:7SwiftUI4ViewP0A8UIChartsE16disableAnimation9chartData_Qrqd___SbtAD07CTChartH0Rd__lF":{"name":"disableAnimation(chartData:_:)","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"View"},"Extensions/View.html#/s:7SwiftUI4ViewP0A8UIChartsE9extraLine9chartData11legendTitle10datapoints5styleQrqd___SSSayAD05ExtrafH5PointVGycAD0mF5StyleVyctAD014CTLineBarChartH8ProtocolRd__lF":{"name":"extraLine(chartData:legendTitle:datapoints:style:)","abstract":"\u003cp\u003eAdds an seperate line that is over-layed on top of a other chart.\u003c/p\u003e","parent_name":"View"},"Extensions/View.html#/s:7SwiftUI4ViewP0A8UIChartsE9extraLine9chartData11legendTitle10datapoints5styleQrqd___SSSayAD05ExtrafH5PointVGyXAAD0mF5StyleVyXAtAD014CTLineBarChartH8ProtocolRd__lF":{"name":"extraLine(chartData:legendTitle:datapoints:style:)","abstract":"\u003cp\u003eAdds an seperate line that is over-layed on top of a other chart.\u003c/p\u003e","parent_name":"View"},"Extensions/View.html#/s:7SwiftUI4ViewP0A8UIChartsE16extraYAxisLabels9chartData9specifier15colourIndicatorQrqd___SSAD10AxisColourOtAD014CTLineBarChartI8ProtocolRd__lF":{"name":"extraYAxisLabels(chartData:specifier:colourIndicator:)","abstract":"\u003cp\u003eAdds a second set of Y axis labels.\u003c/p\u003e","parent_name":"View"},"Extensions/View.html#/s:7SwiftUI4ViewP0A8UIChartsE15floatingInfoBox9chartDataQrqd___tAD014CTLineBarChartI8ProtocolRd__lF":{"name":"floatingInfoBox(chartData:)","abstract":"\u003cp\u003eA view that displays information from \u003ccode\u003eTouchOverlay\u003c/code\u003e.\u003c/p\u003e","parent_name":"View"},"Extensions/View.html#/s:7SwiftUI4ViewP0A8UIChartsE15floatingInfoBox9chartDataQrqd___tAD014CTLineBarChartI8ProtocolRd__AD12isHorizontalRd__lF":{"name":"floatingInfoBox(chartData:)","abstract":"\u003cp\u003eA view that displays information from \u003ccode\u003eTouchOverlay\u003c/code\u003e.\u003c/p\u003e","parent_name":"View"},"Extensions/View.html#/s:7SwiftUI4ViewP0A8UIChartsE7infoBox9chartData6heightQrqd___14CoreFoundation7CGFloatVtAD014CTLineBarChartH8ProtocolRd__lF":{"name":"infoBox(chartData:height:)","abstract":"\u003cp\u003eA view that displays information from \u003ccode\u003eTouchOverlay\u003c/code\u003e.\u003c/p\u003e","parent_name":"View"},"Extensions/View.html#/s:7SwiftUI4ViewP0A8UIChartsE7infoBox9chartData5widthQrqd___14CoreFoundation7CGFloatVtAD014CTLineBarChartH8ProtocolRd__AD12isHorizontalRd__lF":{"name":"infoBox(chartData:width:)","abstract":"\u003cp\u003eA view that displays information from \u003ccode\u003eTouchOverlay\u003c/code\u003e.\u003c/p\u003e","parent_name":"View"},"Extensions/View.html#/s:7SwiftUI4ViewP0A8UIChartsE15linearTrendLine9chartData10firstValue04lastK010lineColour11strokeStyleQrqd___S2dAD0nP0VAA06StrokeP0VtAD014CTLineBarChartI8ProtocolRd__AD03GetiU0Rd__lF":{"name":"linearTrendLine(chartData:firstValue:lastValue:lineColour:strokeStyle:)","abstract":"\u003cp\u003eDraws a line across the chart to show the the trend in the data.\u003c/p\u003e","parent_name":"View"},"Extensions/View.html#/s:7SwiftUI4ViewP0A8UIChartsE9xAxisGrid9chartDataQrqd___tAD014CTLineBarChartH8ProtocolRd__lF":{"name":"xAxisGrid(chartData:)","abstract":"\u003cp\u003eAdds vertical lines along the X axis.\u003c/p\u003e","parent_name":"View"},"Extensions/View.html#/s:7SwiftUI4ViewP0A8UIChartsE11xAxisLabels9chartDataQrqd___tAD014CTLineBarChartH8ProtocolRd__lF":{"name":"xAxisLabels(chartData:)","abstract":"\u003cp\u003eLabels for the X axis.\u003c/p\u003e","parent_name":"View"},"Extensions/View.html#/s:7SwiftUI4ViewP0A8UIChartsE8xAxisPOI9chartData10markerName0I5Value14dataPointCount10lineColour16labelBorderColor11strokeStyle0Q8Position0Q4Font0qP00Q10Background16customLabelShape7padding12addToLegendsQrqd___SSS2iAA0S0VAUSgAA06StrokeU0VAD07DisplayK0OAA0W0VA2uD06CustomZ5ShapeVSg14CoreFoundation7CGFloatVSgSbtAD014CTLineBarChartH8ProtocolRd__AD03GetH8ProtocolRd__AD0M18OfInterestProtocolRd__lF":{"name":"xAxisPOI(chartData:markerName:markerValue:dataPointCount:lineColour:labelBorderColor:strokeStyle:labelPosition:labelFont:labelColour:labelBackground:customLabelShape:padding:addToLegends:)","abstract":"\u003cp\u003eVertical line marking a custom value.\u003c/p\u003e","parent_name":"View"},"Extensions/View.html#/s:7SwiftUI4ViewP0A8UIChartsE9yAxisGrid9chartDataQrqd___tAD014CTLineBarChartH8ProtocolRd__lF":{"name":"yAxisGrid(chartData:)","abstract":"\u003cp\u003eAdds horizontal lines along the X axis.\u003c/p\u003e","parent_name":"View"},"Extensions/View.html#/s:7SwiftUI4ViewP0A8UIChartsE11yAxisLabels9chartData9specifier9formatter15colourIndicatorQrqd___SSSo17NSNumberFormatterCSgAD0E6ColourOtAD014CTLineBarChartH8ProtocolRd__lF":{"name":"yAxisLabels(chartData:specifier:formatter:colourIndicator:)","abstract":"\u003cp\u003eAutomatically generated labels for the Y axis.\u003c/p\u003e","parent_name":"View"},"Extensions/View.html#/s:7SwiftUI4ViewP0A8UIChartsE8yAxisPOI9chartData10markerName0I5Value13labelPosition0L4Font0L6Colour0L10Background04lineO00L11BorderColor11strokeStyle16customLabelShape7padding12addToLegendsQrqd___SSSdAD07DisplayK0OAA0N0VAA0S0VA3XSgAA06StrokeU0VAD06CustomwX0VSg14CoreFoundation7CGFloatVSgSbtAD014CTLineBarChartH8ProtocolRd__AD03GetH8ProtocolRd__AD23PointOfInterestProtocolRd__lF":{"name":"yAxisPOI(chartData:markerName:markerValue:labelPosition:labelFont:labelColour:labelBackground:lineColour:labelBorderColor:strokeStyle:customLabelShape:padding:addToLegends:)","abstract":"\u003cp\u003eHorizontal line marking a custom value.\u003c/p\u003e","parent_name":"View"},"Extensions/View.html#/s:7SwiftUI4ViewP0A8UIChartsE11averageLine9chartData10markerName13labelPosition0K4Font0K6Colour0K10Background04lineN00K11BorderColor11strokeStyle16customLabelShape7padding12addToLegendsQrqd___SSAD12DisplayValueOAA0M0VAA0R0VA3WSgAA06StrokeT0VAD06CustomvW0VSg14CoreFoundation7CGFloatVSgSbtAD014CTLineBarChartH8ProtocolRd__AD03GetH8ProtocolRd__AD23PointOfInterestProtocolRd__lF":{"name":"averageLine(chartData:markerName:labelPosition:labelFont:labelColour:labelBackground:lineColour:labelBorderColor:strokeStyle:customLabelShape:padding:addToLegends:)","abstract":"\u003cp\u003eHorizontal line marking the average.\u003c/p\u003e","parent_name":"View"},"Extensions/View.html":{"name":"View"},"Extensions/NSNotification.html":{"name":"NSNotification"},"Extensions/Color.html":{"name":"Color"},"Enums/AxisColour.html#/s:13SwiftUICharts10AxisColourO4noneyA2CmF":{"name":"none","abstract":"\u003cp\u003eNo colour marker.\u003c/p\u003e","parent_name":"AxisColour"},"Enums/AxisColour.html#/s:13SwiftUICharts10AxisColourO5styleyAC14CoreFoundation7CGFloatV_tcACmF":{"name":"style(size:)","abstract":"\u003cp\u003eGet style from data model.\u003c/p\u003e","parent_name":"AxisColour"},"Enums/AxisColour.html#/s:13SwiftUICharts10AxisColourO6customyAcA0D5StyleV_14CoreFoundation7CGFloatVtcACmF":{"name":"custom(colour:size:)","abstract":"\u003cp\u003eSet custom style.\u003c/p\u003e","parent_name":"AxisColour"},"Enums/YAxisLabelType.html#/s:13SwiftUICharts14YAxisLabelTypeO7numericyA2CmF":{"name":"numeric","abstract":"\u003cp\u003eAuto generated, numeric labels.\u003c/p\u003e","parent_name":"YAxisLabelType"},"Enums/YAxisLabelType.html#/s:13SwiftUICharts14YAxisLabelTypeO6customyA2CmF":{"name":"custom","abstract":"\u003cp\u003eCustom labels array\u003c/p\u003e","parent_name":"YAxisLabelType"},"Enums/Topline.html#/s:13SwiftUICharts7ToplineO12maximumValueyA2CmF":{"name":"maximumValue","abstract":"\u003cp\u003eHighest value in the data set(s)\u003c/p\u003e","parent_name":"Topline"},"Enums/Topline.html#/s:13SwiftUICharts7ToplineO7maximumyACSd_tcACmF":{"name":"maximum(of:)","abstract":"\u003cp\u003eSet a custom topline\u003c/p\u003e","parent_name":"Topline"},"Enums/Baseline.html#/s:13SwiftUICharts8BaselineO12minimumValueyA2CmF":{"name":"minimumValue","abstract":"\u003cp\u003eLowest value in the data set(s)\u003c/p\u003e","parent_name":"Baseline"},"Enums/Baseline.html#/s:13SwiftUICharts8BaselineO18minimumWithMaximumyACSd_tcACmF":{"name":"minimumWithMaximum(of:)","abstract":"\u003cp\u003eSet a custom baseline\u003c/p\u003e","parent_name":"Baseline"},"Enums/Baseline.html#/s:13SwiftUICharts8BaselineO4zeroyA2CmF":{"name":"zero","abstract":"\u003cp\u003eSet 0 as the lowest value\u003c/p\u003e","parent_name":"Baseline"},"Enums/DisplayValue.html#/s:13SwiftUICharts12DisplayValueO4noneyA2CmF":{"name":"none","abstract":"\u003cp\u003eNo label.\u003c/p\u003e","parent_name":"DisplayValue"},"Enums/DisplayValue.html#/s:13SwiftUICharts12DisplayValueO5yAxisyACSS_So17NSNumberFormatterCSgtcACmF":{"name":"yAxis(specifier:formatter:)","abstract":"\u003cp\u003ePlaces the label in the yAxis labels.\u003c/p\u003e","parent_name":"DisplayValue"},"Enums/DisplayValue.html#/s:13SwiftUICharts12DisplayValueO6centeryACSS_So17NSNumberFormatterCSgtcACmF":{"name":"center(specifier:formatter:)","abstract":"\u003cp\u003ePlaces the label in the center of chart.\u003c/p\u003e","parent_name":"DisplayValue"},"Enums/DisplayValue.html#/s:13SwiftUICharts12DisplayValueO8positionyAC14CoreFoundation7CGFloatV_SSSo17NSNumberFormatterCSgtcACmF":{"name":"position(location:specifier:formatter:)","abstract":"\u003cp\u003ePlaces the label in between the graph at a certain distance from the axis, i.e. 0 places it on the leading edge and 1 places it on the trailing edge. Defaults to 0.5 if location \u0026gt;1 or \u0026lt;0\u003c/p\u003e","parent_name":"DisplayValue"},"Enums/YAxisLabelPosistion.html#/s:13SwiftUICharts19YAxisLabelPosistionO7leadingyA2CmF":{"name":"leading","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"YAxisLabelPosistion"},"Enums/YAxisLabelPosistion.html#/s:13SwiftUICharts19YAxisLabelPosistionO8trailingyA2CmF":{"name":"trailing","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"YAxisLabelPosistion"},"Enums/LabelsFrom.html#/s:13SwiftUICharts10LabelsFromO9dataPointyAC0A2UI5AngleV_tcACmF":{"name":"dataPoint(rotation:)","abstract":"\u003cp\u003eChartData \u0026ndash;\u0026gt; DataPoint \u0026ndash;\u0026gt; xAxisLabel\u003c/p\u003e","parent_name":"LabelsFrom"},"Enums/LabelsFrom.html#/s:13SwiftUICharts10LabelsFromO9chartDatayAC0A2UI5AngleV_tcACmF":{"name":"chartData(rotation:)","abstract":"\u003cp\u003eChartData \u0026ndash;\u0026gt; xAxisLabels\u003c/p\u003e","parent_name":"LabelsFrom"},"Enums/XAxisLabelPosistion.html#/s:13SwiftUICharts19XAxisLabelPosistionO3topyA2CmF":{"name":"top","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"XAxisLabelPosistion"},"Enums/XAxisLabelPosistion.html#/s:13SwiftUICharts19XAxisLabelPosistionO6bottomyA2CmF":{"name":"bottom","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"XAxisLabelPosistion"},"Enums/TouchUnit.html#/s:13SwiftUICharts9TouchUnitO4noneyA2CmF":{"name":"none","abstract":"\u003cp\u003eNo units\u003c/p\u003e","parent_name":"TouchUnit"},"Enums/TouchUnit.html#/s:13SwiftUICharts9TouchUnitO6prefixyACSS_tcACmF":{"name":"prefix(of:)","abstract":"\u003cp\u003eBefore value\u003c/p\u003e","parent_name":"TouchUnit"},"Enums/TouchUnit.html#/s:13SwiftUICharts9TouchUnitO6suffixyACSS_tcACmF":{"name":"suffix(of:)","abstract":"\u003cp\u003eAfter value\u003c/p\u003e","parent_name":"TouchUnit"},"Enums/InfoBoxAlignment.html#/s:13SwiftUICharts16InfoBoxAlignmentO8verticalyA2CmF":{"name":"vertical","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"InfoBoxAlignment"},"Enums/InfoBoxAlignment.html#/s:13SwiftUICharts16InfoBoxAlignmentO10horizontalyA2CmF":{"name":"horizontal","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"InfoBoxAlignment"},"Enums/InfoBoxPlacement.html#/s:13SwiftUICharts16InfoBoxPlacementO8floatingyA2CmF":{"name":"floating","abstract":"\u003cp\u003eFollows input across the chart.\u003c/p\u003e","parent_name":"InfoBoxPlacement"},"Enums/InfoBoxPlacement.html#/s:13SwiftUICharts16InfoBoxPlacementO04infoD0yACSb_tcACmF":{"name":"infoBox(isStatic:)","abstract":"\u003cp\u003eDisplay in the InfoBox. Must have .infoBox()\u003c/p\u003e","parent_name":"InfoBoxPlacement"},"Enums/InfoBoxPlacement.html#/s:13SwiftUICharts16InfoBoxPlacementO6headeryA2CmF":{"name":"header","abstract":"\u003cp\u003eDisplay in the Header box. Must have .headerBox().\u003c/p\u003e","parent_name":"InfoBoxPlacement"},"Enums/ColourType.html#/s:13SwiftUICharts10ColourTypeO6colouryA2CmF":{"name":"colour","abstract":"\u003cp\u003eSingle Colour\u003c/p\u003e","parent_name":"ColourType"},"Enums/ColourType.html#/s:13SwiftUICharts10ColourTypeO08gradientC0yA2CmF":{"name":"gradientColour","abstract":"\u003cp\u003eColour Gradient\u003c/p\u003e","parent_name":"ColourType"},"Enums/ColourType.html#/s:13SwiftUICharts10ColourTypeO13gradientStopsyA2CmF":{"name":"gradientStops","abstract":"\u003cp\u003eColour Gradient with stop control\u003c/p\u003e","parent_name":"ColourType"},"Enums/ChartType.html#/s:13SwiftUICharts9ChartTypeO4lineyA2CmF":{"name":"line","abstract":"\u003cp\u003eLine Chart Type\u003c/p\u003e","parent_name":"ChartType"},"Enums/ChartType.html#/s:13SwiftUICharts9ChartTypeO3baryA2CmF":{"name":"bar","abstract":"\u003cp\u003eBar Chart Type\u003c/p\u003e","parent_name":"ChartType"},"Enums/ChartType.html#/s:13SwiftUICharts9ChartTypeO3pieyA2CmF":{"name":"pie","abstract":"\u003cp\u003ePie Chart Type\u003c/p\u003e","parent_name":"ChartType"},"Enums/DataSetType.html#/s:13SwiftUICharts11DataSetTypeO6singleyA2CmF":{"name":"single","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"DataSetType"},"Enums/DataSetType.html#/s:13SwiftUICharts11DataSetTypeO5multiyA2CmF":{"name":"multi","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"DataSetType"},"Enums/OverlayType.html#/s:13SwiftUICharts11OverlayTypeO4noneyA2CmF":{"name":"none","abstract":"\u003cp\u003eNo overlay\u003c/p\u003e","parent_name":"OverlayType"},"Enums/OverlayType.html#/s:13SwiftUICharts11OverlayTypeO5labelyACSS_0A2UI5ColorVAE4FontV14CoreFoundation7CGFloatVtcACmF":{"name":"label(text:colour:font:rFactor:)","abstract":"\u003cp\u003eText overlay\u003c/p\u003e","parent_name":"OverlayType"},"Enums/OverlayType.html#/s:13SwiftUICharts11OverlayTypeO4iconyACSS_0A2UI5ColorV14CoreFoundation7CGFloatVAJtcACmF":{"name":"icon(systemName:colour:size:rFactor:)","abstract":"\u003cp\u003eSystem icon overlay\u003c/p\u003e","parent_name":"OverlayType"},"Enums/Dot.html#/s:13SwiftUICharts3DotO4noneyA2CmF":{"name":"none","abstract":"\u003cp\u003eNo Dot\u003c/p\u003e","parent_name":"Dot"},"Enums/Dot.html#/s:13SwiftUICharts3DotO5styleyAcA0C5StyleVcACmF":{"name":"style(_:)","abstract":"\u003cp\u003eAdds a dot the line at point of touch.\u003c/p\u003e","parent_name":"Dot"},"Enums/LineMarkerType.html#/s:13SwiftUICharts14LineMarkerTypeO4noneyA2CmF":{"name":"none","abstract":"\u003cp\u003eNo overlay markers.\u003c/p\u003e","parent_name":"LineMarkerType"},"Enums/LineMarkerType.html#/s:13SwiftUICharts14LineMarkerTypeO9indicatoryAcA8DotStyleV_tcACmF":{"name":"indicator(style:)","abstract":"\u003cp\u003eDot that follows the path.\u003c/p\u003e","parent_name":"LineMarkerType"},"Enums/LineMarkerType.html#/s:13SwiftUICharts14LineMarkerTypeO8verticalyAcA0D10AttachmentO_0A2UI5ColorVAG11StrokeStyleVtcACmF":{"name":"vertical(attachment:colour:style:)","abstract":"\u003cp\u003eVertical line from top to bottom.\u003c/p\u003e","parent_name":"LineMarkerType"},"Enums/LineMarkerType.html#/s:13SwiftUICharts14LineMarkerTypeO4fullyAcA0D10AttachmentO_0A2UI5ColorVAG11StrokeStyleVtcACmF":{"name":"full(attachment:colour:style:)","abstract":"\u003cp\u003eFull width and height of view intersecting at a specified point.\u003c/p\u003e","parent_name":"LineMarkerType"},"Enums/LineMarkerType.html#/s:13SwiftUICharts14LineMarkerTypeO13bottomLeadingyAcA0D10AttachmentO_0A2UI5ColorVAG11StrokeStyleVtcACmF":{"name":"bottomLeading(attachment:colour:style:)","abstract":"\u003cp\u003eFrom bottom and leading edges meeting at a specified point.\u003c/p\u003e","parent_name":"LineMarkerType"},"Enums/LineMarkerType.html#/s:13SwiftUICharts14LineMarkerTypeO14bottomTrailingyAcA0D10AttachmentO_0A2UI5ColorVAG11StrokeStyleVtcACmF":{"name":"bottomTrailing(attachment:colour:style:)","abstract":"\u003cp\u003eFrom bottom and trailing edges meeting at a specified point.\u003c/p\u003e","parent_name":"LineMarkerType"},"Enums/LineMarkerType.html#/s:13SwiftUICharts14LineMarkerTypeO10topLeadingyAcA0D10AttachmentO_0A2UI5ColorVAG11StrokeStyleVtcACmF":{"name":"topLeading(attachment:colour:style:)","abstract":"\u003cp\u003eFrom top and leading edges meeting at a specified point.\u003c/p\u003e","parent_name":"LineMarkerType"},"Enums/LineMarkerType.html#/s:13SwiftUICharts14LineMarkerTypeO11topTrailingyAcA0D10AttachmentO_0A2UI5ColorVAG11StrokeStyleVtcACmF":{"name":"topTrailing(attachment:colour:style:)","abstract":"\u003cp\u003eFrom top and trailing edges meeting at a specified point.\u003c/p\u003e","parent_name":"LineMarkerType"},"Enums/MarkerAttachment.html#/s:13SwiftUICharts16MarkerAttachmentO4lineyAcA3DotO_tcACmF":{"name":"line(dot:)","abstract":"\u003cp\u003eAttached to the line.\u003c/p\u003e","parent_name":"MarkerAttachment"},"Enums/MarkerAttachment.html#/s:13SwiftUICharts16MarkerAttachmentO5pointyA2CmF":{"name":"point","abstract":"\u003cp\u003eAttached to the data points.\u003c/p\u003e","parent_name":"MarkerAttachment"},"Enums/PointShape.html#/s:13SwiftUICharts10PointShapeO6circleyA2CmF":{"name":"circle","abstract":"\u003cp\u003eCircle Shape\u003c/p\u003e","parent_name":"PointShape"},"Enums/PointShape.html#/s:13SwiftUICharts10PointShapeO6squareyA2CmF":{"name":"square","abstract":"\u003cp\u003eSquare Shape\u003c/p\u003e","parent_name":"PointShape"},"Enums/PointShape.html#/s:13SwiftUICharts10PointShapeO11roundSquareyA2CmF":{"name":"roundSquare","abstract":"\u003cp\u003eRounded Square Shape\u003c/p\u003e","parent_name":"PointShape"},"Enums/PointType.html#/s:13SwiftUICharts9PointTypeO6filledyA2CmF":{"name":"filled","abstract":"\u003cp\u003eJust fill\u003c/p\u003e","parent_name":"PointType"},"Enums/PointType.html#/s:13SwiftUICharts9PointTypeO7outlineyA2CmF":{"name":"outline","abstract":"\u003cp\u003eJust stroke\u003c/p\u003e","parent_name":"PointType"},"Enums/PointType.html#/s:13SwiftUICharts9PointTypeO13filledOutLineyA2CmF":{"name":"filledOutLine","abstract":"\u003cp\u003eBoth fill and stroke\u003c/p\u003e","parent_name":"PointType"},"Enums/LineType.html#/s:13SwiftUICharts8LineTypeO4lineyA2CmF":{"name":"line","abstract":"\u003cp\u003eStraight line from point to point\u003c/p\u003e","parent_name":"LineType"},"Enums/LineType.html#/s:13SwiftUICharts8LineTypeO06curvedC0yA2CmF":{"name":"curvedLine","abstract":"\u003cp\u003eDual control point curved line\u003c/p\u003e","parent_name":"LineType"},"Enums/LineType.html#/s:13SwiftUICharts8LineTypeO7steppedyA2CmF":{"name":"stepped","abstract":"\u003cp\u003eStepped line from point to point\u003c/p\u003e","parent_name":"LineType"},"Enums/BarMarkerType.html#/s:13SwiftUICharts13BarMarkerTypeO4noneyA2CmF":{"name":"none","abstract":"\u003cp\u003eNo overlay markers.\u003c/p\u003e","parent_name":"BarMarkerType"},"Enums/BarMarkerType.html#/s:13SwiftUICharts13BarMarkerTypeO8verticalyAC0A2UI5ColorV_AE11StrokeStyleVtcACmF":{"name":"vertical(colour:style:)","abstract":"\u003cp\u003eVertical line from top to bottom.\u003c/p\u003e","parent_name":"BarMarkerType"},"Enums/BarMarkerType.html#/s:13SwiftUICharts13BarMarkerTypeO4fullyAC0A2UI5ColorV_AE11StrokeStyleVtcACmF":{"name":"full(colour:style:)","abstract":"\u003cp\u003eFull width and height of view intersecting at a specified point.\u003c/p\u003e","parent_name":"BarMarkerType"},"Enums/BarMarkerType.html#/s:13SwiftUICharts13BarMarkerTypeO13bottomLeadingyAC0A2UI5ColorV_AE11StrokeStyleVtcACmF":{"name":"bottomLeading(colour:style:)","abstract":"\u003cp\u003eFrom bottom and leading edges meeting at a specified point.\u003c/p\u003e","parent_name":"BarMarkerType"},"Enums/BarMarkerType.html#/s:13SwiftUICharts13BarMarkerTypeO14bottomTrailingyAC0A2UI5ColorV_AE11StrokeStyleVtcACmF":{"name":"bottomTrailing(colour:style:)","abstract":"\u003cp\u003eFrom bottom and trailing edges meeting at a specified point.\u003c/p\u003e","parent_name":"BarMarkerType"},"Enums/BarMarkerType.html#/s:13SwiftUICharts13BarMarkerTypeO10topLeadingyAC0A2UI5ColorV_AE11StrokeStyleVtcACmF":{"name":"topLeading(colour:style:)","abstract":"\u003cp\u003eFrom top and leading edges meeting at a specified point.\u003c/p\u003e","parent_name":"BarMarkerType"},"Enums/BarMarkerType.html#/s:13SwiftUICharts13BarMarkerTypeO11topTrailingyAC0A2UI5ColorV_AE11StrokeStyleVtcACmF":{"name":"topTrailing(colour:style:)","abstract":"\u003cp\u003eFrom top and trailing edges meeting at a specified point.\u003c/p\u003e","parent_name":"BarMarkerType"},"Enums/ColourFrom.html#/s:13SwiftUICharts10ColourFromO8barStyleyA2CmF":{"name":"barStyle","abstract":"\u003cp\u003eFrom BarStyle data model\u003c/p\u003e","parent_name":"ColourFrom"},"Enums/ColourFrom.html#/s:13SwiftUICharts10ColourFromO10dataPointsyA2CmF":{"name":"dataPoints","abstract":"\u003cp\u003eFrom each data point\u003c/p\u003e","parent_name":"ColourFrom"},"Enums/ColourFrom.html":{"name":"ColourFrom","abstract":"\u003cp\u003eWhere to get the colour data from.\u003c/p\u003e"},"Enums/BarMarkerType.html":{"name":"BarMarkerType","abstract":"\u003cp\u003eWhere the marker lines come from to meet at a specified point.\u003c/p\u003e"},"Enums/LineType.html":{"name":"LineType","abstract":"\u003cp\u003eDrawing style of the line\u003c/p\u003e"},"Enums/PointType.html":{"name":"PointType","abstract":"\u003cp\u003eStyle of the point marks\u003c/p\u003e"},"Enums/PointShape.html":{"name":"PointShape","abstract":"\u003cp\u003eShape of the points\u003c/p\u003e"},"Enums/MarkerAttachment.html":{"name":"MarkerAttachment","abstract":"\u003cp\u003eWhere the Y and X touch markers should attach themselves to.\u003c/p\u003e"},"Enums/LineMarkerType.html":{"name":"LineMarkerType","abstract":"\u003cp\u003eWhere the marker lines come from to meet at a specified point.\u003c/p\u003e"},"Enums/Dot.html":{"name":"Dot","abstract":"\u003cp\u003eWhether or not to show a dot on the line\u003c/p\u003e"},"Enums/OverlayType.html":{"name":"OverlayType","abstract":"\u003cp\u003eOption to add overlays on top of the segment.\u003c/p\u003e"},"Enums/DataSetType.html":{"name":"DataSetType","abstract":"\u003cp\u003eThe type of \u003ccode\u003eDataSet\u003c/code\u003e being used\u003c/p\u003e"},"Enums/ChartType.html":{"name":"ChartType","abstract":"\u003cp\u003eThe type of chart being used.\u003c/p\u003e"},"Enums/ColourType.html":{"name":"ColourType","abstract":"\u003cp\u003eType of colour styling.\u003c/p\u003e"},"Enums/InfoBoxPlacement.html":{"name":"InfoBoxPlacement","abstract":"\u003cp\u003ePlacement of the data point information panel when touch overlay modifier is applied.\u003c/p\u003e"},"Enums/InfoBoxAlignment.html":{"name":"InfoBoxAlignment","abstract":"\u003cp\u003eAlignment of the content inside of the information box\u003c/p\u003e"},"Enums/TouchUnit.html":{"name":"TouchUnit","abstract":"\u003cp\u003eOption to display units before or after values.\u003c/p\u003e"},"Enums/XAxisLabelPosistion.html":{"name":"XAxisLabelPosistion","abstract":"\u003cp\u003eLocation of the X axis labels\u003c/p\u003e"},"Enums/LabelsFrom.html":{"name":"LabelsFrom","abstract":"\u003cp\u003eWhere the label data come from.\u003c/p\u003e"},"Enums/YAxisLabelPosistion.html":{"name":"YAxisLabelPosistion","abstract":"\u003cp\u003eLocation of the Y axis labels\u003c/p\u003e"},"Enums/DisplayValue.html":{"name":"DisplayValue","abstract":"\u003cp\u003eOption to display the markers\u0026rsquo; value inline with the marker..\u003c/p\u003e"},"Enums/Baseline.html":{"name":"Baseline","abstract":"\u003cp\u003eWhere to start drawing the line chart from.\u003c/p\u003e"},"Enums/Topline.html":{"name":"Topline","abstract":"\u003cp\u003eWhere to end drawing the chart.\u003c/p\u003e"},"Enums/YAxisLabelType.html":{"name":"YAxisLabelType","abstract":"\u003cp\u003eOption to choose between auto generated, numeric labels"},"Enums/AxisColour.html":{"name":"AxisColour","abstract":"\u003cp\u003eControls how second Y Axis will be styled.\u003c/p\u003e"},"Classes/ChartImageHostingController.html#/finalImage":{"name":"finalImage","parent_name":"ChartImageHostingController"},"Classes/ChartImageHostingController.html#/init(rootView:)":{"name":"init(rootView:)","parent_name":"ChartImageHostingController"},"Classes/ChartImageHostingController.html#/viewDidLoad()":{"name":"viewDidLoad()","parent_name":"ChartImageHostingController"},"Classes/ChartImageHostingController.html#/start()":{"name":"start()","parent_name":"ChartImageHostingController"},"Classes/ChartImageController.html#/controller":{"name":"controller","parent_name":"ChartImageController"},"Classes/ChartImageController.html#/init()":{"name":"init()","parent_name":"ChartImageController"},"Classes/PieChartData.html#/s:s12IdentifiableP2id2IDQzvp":{"name":"id","parent_name":"PieChartData"},"Classes/PieChartData.html#/s:13SwiftUICharts11CTChartDataP8dataSets7SetTypeQzvp":{"name":"dataSets","parent_name":"PieChartData"},"Classes/PieChartData.html#/s:13SwiftUICharts11CTChartDataP8metadataAA13ChartMetadataVvp":{"name":"metadata","parent_name":"PieChartData"},"Classes/PieChartData.html#/s:13SwiftUICharts11CTChartDataP10chartStyle7CTStyleQzvp":{"name":"chartStyle","parent_name":"PieChartData"},"Classes/PieChartData.html#/s:13SwiftUICharts11CTChartDataP7legendsSayAA06LegendD0VGvp":{"name":"legends","parent_name":"PieChartData"},"Classes/PieChartData.html#/s:13SwiftUICharts11CTChartDataP8infoViewAA04InfofD0Vy0D5PointQzGvp":{"name":"infoView","parent_name":"PieChartData"},"Classes/PieChartData.html#/s:13SwiftUICharts12PieChartDataC12subscriptionShy7Combine14AnyCancellableCGvp":{"name":"subscription","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"PieChartData"},"Classes/PieChartData.html#/s:13SwiftUICharts11PublishableP25touchedDataPointPublisher7Combine18PassthroughSubjectCy0eF0Qzs5NeverOGvp":{"name":"touchedDataPointPublisher","parent_name":"PieChartData"},"Classes/PieChartData.html#/s:13SwiftUICharts11CTChartDataP02noD4Text0A2UI0F0Vvp":{"name":"noDataText","parent_name":"PieChartData"},"Classes/PieChartData.html#/s:13SwiftUICharts11CTChartDataP9chartTypeAA05ChartF0OAD_AA0d3SetF0O04datahF0tvp":{"name":"chartType","parent_name":"PieChartData"},"Classes/PieChartData.html#/s:13SwiftUICharts12PieChartDataC16disableAnimationSbvp":{"name":"disableAnimation","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"PieChartData"},"Classes/PieChartData.html#/s:13SwiftUICharts12PieChartDataC8dataSets8metadata10chartStyle02noE4TextAcA0cE3SetV_AA0D8MetadataVAA0cdJ0V0A2UI0L0Vtcfc":{"name":"init(dataSets:metadata:chartStyle:noDataText:)","abstract":"\u003cp\u003eInitialises Pie Chart data.\u003c/p\u003e","parent_name":"PieChartData"},"Classes/PieChartData.html#/s:13SwiftUICharts11CTChartDataP19getTouchInteraction13touchLocation9chartSize0F0QzSo7CGPointV_So6CGRectVtF":{"name":"getTouchInteraction(touchLocation:chartSize:)","parent_name":"PieChartData"},"Classes/PieChartData.html#/s:13SwiftUICharts11CTChartDataP7SetTypeQa":{"name":"SetType","parent_name":"PieChartData"},"Classes/PieChartData.html#/s:13SwiftUICharts11CTChartDataP0D5PointQa":{"name":"DataPoint","parent_name":"PieChartData"},"Classes/PieChartData.html#/s:13SwiftUICharts11CTChartDataP7CTStyleQa":{"name":"CTStyle","parent_name":"PieChartData"},"Classes/PieChartData.html#/s:13SwiftUICharts11CTChartDataP03getD5Point13touchLocation9chartSizeySo7CGPointV_So6CGRectVtF":{"name":"getDataPoint(touchLocation:chartSize:)","parent_name":"PieChartData"},"Classes/PieChartData.html#/s:13SwiftUICharts11CTChartDataP16getPointLocation7dataSet05touchG09chartSizeSo7CGPointVSg0iF0Qz_AISo6CGRectVtF":{"name":"getPointLocation(dataSet:touchLocation:chartSize:)","parent_name":"PieChartData"},"Classes/DoughnutChartData.html#/s:s12IdentifiableP2id2IDQzvp":{"name":"id","parent_name":"DoughnutChartData"},"Classes/DoughnutChartData.html#/s:13SwiftUICharts11CTChartDataP8dataSets7SetTypeQzvp":{"name":"dataSets","parent_name":"DoughnutChartData"},"Classes/DoughnutChartData.html#/s:13SwiftUICharts11CTChartDataP8metadataAA13ChartMetadataVvp":{"name":"metadata","parent_name":"DoughnutChartData"},"Classes/DoughnutChartData.html#/s:13SwiftUICharts11CTChartDataP10chartStyle7CTStyleQzvp":{"name":"chartStyle","parent_name":"DoughnutChartData"},"Classes/DoughnutChartData.html#/s:13SwiftUICharts11CTChartDataP7legendsSayAA06LegendD0VGvp":{"name":"legends","parent_name":"DoughnutChartData"},"Classes/DoughnutChartData.html#/s:13SwiftUICharts11CTChartDataP8infoViewAA04InfofD0Vy0D5PointQzGvp":{"name":"infoView","parent_name":"DoughnutChartData"},"Classes/DoughnutChartData.html#/s:13SwiftUICharts17DoughnutChartDataC12subscriptionShy7Combine14AnyCancellableCGvp":{"name":"subscription","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"DoughnutChartData"},"Classes/DoughnutChartData.html#/s:13SwiftUICharts11PublishableP25touchedDataPointPublisher7Combine18PassthroughSubjectCy0eF0Qzs5NeverOGvp":{"name":"touchedDataPointPublisher","parent_name":"DoughnutChartData"},"Classes/DoughnutChartData.html#/s:13SwiftUICharts11CTChartDataP02noD4Text0A2UI0F0Vvp":{"name":"noDataText","parent_name":"DoughnutChartData"},"Classes/DoughnutChartData.html#/s:13SwiftUICharts11CTChartDataP9chartTypeAA05ChartF0OAD_AA0d3SetF0O04datahF0tvp":{"name":"chartType","parent_name":"DoughnutChartData"},"Classes/DoughnutChartData.html#/s:13SwiftUICharts17DoughnutChartDataC16disableAnimationSbvp":{"name":"disableAnimation","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"DoughnutChartData"},"Classes/DoughnutChartData.html#/s:13SwiftUICharts17DoughnutChartDataC8dataSets8metadata10chartStyle02noE4TextAcA03PieE3SetV_AA0D8MetadataVAA0cdJ0V0A2UI0L0Vtcfc":{"name":"init(dataSets:metadata:chartStyle:noDataText:)","abstract":"\u003cp\u003eInitialises Doughnut Chart data.\u003c/p\u003e","parent_name":"DoughnutChartData"},"Classes/DoughnutChartData.html#/s:13SwiftUICharts11CTChartDataP19getTouchInteraction13touchLocation9chartSize0F0QzSo7CGPointV_So6CGRectVtF":{"name":"getTouchInteraction(touchLocation:chartSize:)","parent_name":"DoughnutChartData"},"Classes/DoughnutChartData.html#/s:13SwiftUICharts11CTChartDataP7SetTypeQa":{"name":"SetType","parent_name":"DoughnutChartData"},"Classes/DoughnutChartData.html#/s:13SwiftUICharts11CTChartDataP0D5PointQa":{"name":"DataPoint","parent_name":"DoughnutChartData"},"Classes/DoughnutChartData.html#/s:13SwiftUICharts11CTChartDataP7CTStyleQa":{"name":"CTStyle","parent_name":"DoughnutChartData"},"Classes/DoughnutChartData.html#/s:13SwiftUICharts11CTChartDataP03getD5Point13touchLocation9chartSizeySo7CGPointV_So6CGRectVtF":{"name":"getDataPoint(touchLocation:chartSize:)","parent_name":"DoughnutChartData"},"Classes/DoughnutChartData.html#/s:13SwiftUICharts11CTChartDataP16getPointLocation7dataSet05touchG09chartSizeSo7CGPointVSg0iF0Qz_AISo6CGRectVtF":{"name":"getPointLocation(dataSet:touchLocation:chartSize:)","parent_name":"DoughnutChartData"},"Classes/RangedLineChartData.html#/s:s12IdentifiableP2id2IDQzvp":{"name":"id","parent_name":"RangedLineChartData"},"Classes/RangedLineChartData.html#/s:13SwiftUICharts11CTChartDataP8dataSets7SetTypeQzvp":{"name":"dataSets","parent_name":"RangedLineChartData"},"Classes/RangedLineChartData.html#/s:13SwiftUICharts11CTChartDataP8metadataAA13ChartMetadataVvp":{"name":"metadata","parent_name":"RangedLineChartData"},"Classes/RangedLineChartData.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP11xAxisLabelsSaySSGSgvp":{"name":"xAxisLabels","parent_name":"RangedLineChartData"},"Classes/RangedLineChartData.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP11yAxisLabelsSaySSGSgvp":{"name":"yAxisLabels","parent_name":"RangedLineChartData"},"Classes/RangedLineChartData.html#/s:13SwiftUICharts11CTChartDataP10chartStyle7CTStyleQzvp":{"name":"chartStyle","parent_name":"RangedLineChartData"},"Classes/RangedLineChartData.html#/s:13SwiftUICharts11CTChartDataP7legendsSayAA06LegendD0VGvp":{"name":"legends","parent_name":"RangedLineChartData"},"Classes/RangedLineChartData.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP04viewF0AA0e4ViewF0Vvp":{"name":"viewData","parent_name":"RangedLineChartData"},"Classes/RangedLineChartData.html#/s:13SwiftUICharts11CTChartDataP8infoViewAA04InfofD0Vy0D5PointQzGvp":{"name":"infoView","parent_name":"RangedLineChartData"},"Classes/RangedLineChartData.html#/s:13SwiftUICharts11CTChartDataP02noD4Text0A2UI0F0Vvp":{"name":"noDataText","parent_name":"RangedLineChartData"},"Classes/RangedLineChartData.html#/s:13SwiftUICharts11CTChartDataP9chartTypeAA05ChartF0OAD_AA0d3SetF0O04datahF0tvp":{"name":"chartType","parent_name":"RangedLineChartData"},"Classes/RangedLineChartData.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP09extraLineF0AA05ExtraiF0VSgvp":{"name":"extraLineData","parent_name":"RangedLineChartData"},"Classes/RangedLineChartData.html#/s:13SwiftUICharts19RangedLineChartDataC12subscriptionShy7Combine14AnyCancellableCGvp":{"name":"subscription","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"RangedLineChartData"},"Classes/RangedLineChartData.html#/s:13SwiftUICharts11PublishableP25touchedDataPointPublisher7Combine18PassthroughSubjectCy0eF0Qzs5NeverOGvp":{"name":"touchedDataPointPublisher","parent_name":"RangedLineChartData"},"Classes/RangedLineChartData.html#/s:13SwiftUICharts19RangedLineChartDataC16disableAnimationSbvp":{"name":"disableAnimation","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"RangedLineChartData"},"Classes/RangedLineChartData.html#/s:13SwiftUICharts19RangedLineChartDataC8dataSets8metadata11xAxisLabels01yjK010chartStyle02noF4TextAcA0cdF3SetV_AA0E8MetadataVSaySSGSgAoA0deM0V0A2UI0O0Vtcfc":{"name":"init(dataSets:metadata:xAxisLabels:yAxisLabels:chartStyle:noDataText:)","abstract":"\u003cp\u003eInitialises a ranged line chart.\u003c/p\u003e","parent_name":"RangedLineChartData"},"Classes/RangedLineChartData.html#/s:13SwiftUICharts15GetDataProtocolP7averageSdvp":{"name":"average","parent_name":"RangedLineChartData"},"Classes/RangedLineChartData.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP14getXAxisLabels7XLabelsQzyF":{"name":"getXAxisLabels()","parent_name":"RangedLineChartData"},"Classes/RangedLineChartData.html#/s:13SwiftUICharts23CTLineChartDataProtocolP14getPointMarker6PointsQzyF":{"name":"getPointMarker()","parent_name":"RangedLineChartData"},"Classes/RangedLineChartData.html#/s:13SwiftUICharts11CTChartDataP19getTouchInteraction13touchLocation9chartSize0F0QzSo7CGPointV_So6CGRectVtF":{"name":"getTouchInteraction(touchLocation:chartSize:)","parent_name":"RangedLineChartData"},"Classes/RangedLineChartData.html#/s:13SwiftUICharts11CTChartDataP16getPointLocation7dataSet05touchG09chartSizeSo7CGPointVSg0iF0Qz_AISo6CGRectVtF":{"name":"getPointLocation(dataSet:touchLocation:chartSize:)","parent_name":"RangedLineChartData"},"Classes/RangedLineChartData.html#/s:13SwiftUICharts11CTChartDataP03getD5Point13touchLocation9chartSizeySo7CGPointV_So6CGRectVtF":{"name":"getDataPoint(touchLocation:chartSize:)","parent_name":"RangedLineChartData"},"Classes/RangedLineChartData.html#/s:13SwiftUICharts11CTChartDataP7SetTypeQa":{"name":"SetType","parent_name":"RangedLineChartData"},"Classes/RangedLineChartData.html#/s:13SwiftUICharts11CTChartDataP0D5PointQa":{"name":"DataPoint","parent_name":"RangedLineChartData"},"Classes/MultiLineChartData.html#/s:s12IdentifiableP2id2IDQzvp":{"name":"id","parent_name":"MultiLineChartData"},"Classes/MultiLineChartData.html#/s:13SwiftUICharts11CTChartDataP8dataSets7SetTypeQzvp":{"name":"dataSets","parent_name":"MultiLineChartData"},"Classes/MultiLineChartData.html#/s:13SwiftUICharts11CTChartDataP8metadataAA13ChartMetadataVvp":{"name":"metadata","parent_name":"MultiLineChartData"},"Classes/MultiLineChartData.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP11xAxisLabelsSaySSGSgvp":{"name":"xAxisLabels","parent_name":"MultiLineChartData"},"Classes/MultiLineChartData.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP11yAxisLabelsSaySSGSgvp":{"name":"yAxisLabels","parent_name":"MultiLineChartData"},"Classes/MultiLineChartData.html#/s:13SwiftUICharts11CTChartDataP10chartStyle7CTStyleQzvp":{"name":"chartStyle","parent_name":"MultiLineChartData"},"Classes/MultiLineChartData.html#/s:13SwiftUICharts11CTChartDataP7legendsSayAA06LegendD0VGvp":{"name":"legends","parent_name":"MultiLineChartData"},"Classes/MultiLineChartData.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP04viewF0AA0e4ViewF0Vvp":{"name":"viewData","parent_name":"MultiLineChartData"},"Classes/MultiLineChartData.html#/s:13SwiftUICharts11CTChartDataP8infoViewAA04InfofD0Vy0D5PointQzGvp":{"name":"infoView","parent_name":"MultiLineChartData"},"Classes/MultiLineChartData.html#/s:13SwiftUICharts11CTChartDataP02noD4Text0A2UI0F0Vvp":{"name":"noDataText","parent_name":"MultiLineChartData"},"Classes/MultiLineChartData.html#/s:13SwiftUICharts11CTChartDataP9chartTypeAA05ChartF0OAD_AA0d3SetF0O04datahF0tvp":{"name":"chartType","parent_name":"MultiLineChartData"},"Classes/MultiLineChartData.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP09extraLineF0AA05ExtraiF0VSgvp":{"name":"extraLineData","parent_name":"MultiLineChartData"},"Classes/MultiLineChartData.html#/s:13SwiftUICharts18MultiLineChartDataC12subscriptionShy7Combine14AnyCancellableCGvp":{"name":"subscription","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"MultiLineChartData"},"Classes/MultiLineChartData.html#/s:13SwiftUICharts11PublishableP25touchedDataPointPublisher7Combine18PassthroughSubjectCy0eF0Qzs5NeverOGvp":{"name":"touchedDataPointPublisher","parent_name":"MultiLineChartData"},"Classes/MultiLineChartData.html#/s:13SwiftUICharts18MultiLineChartDataC16disableAnimationSbvp":{"name":"disableAnimation","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"MultiLineChartData"},"Classes/MultiLineChartData.html#/s:13SwiftUICharts18MultiLineChartDataC8dataSets8metadata11xAxisLabels01yjK010chartStyle02noF4TextAcA0cdF3SetV_AA0E8MetadataVSaySSGSgAoA0deM0V0A2UI0O0Vtcfc":{"name":"init(dataSets:metadata:xAxisLabels:yAxisLabels:chartStyle:noDataText:)","abstract":"\u003cp\u003eInitialises a Multi Line Chart.\u003c/p\u003e","parent_name":"MultiLineChartData"},"Classes/MultiLineChartData.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP14getXAxisLabels7XLabelsQzyF":{"name":"getXAxisLabels()","parent_name":"MultiLineChartData"},"Classes/MultiLineChartData.html#/s:13SwiftUICharts23CTLineChartDataProtocolP14getPointMarker6PointsQzyF":{"name":"getPointMarker()","parent_name":"MultiLineChartData"},"Classes/MultiLineChartData.html#/s:13SwiftUICharts11CTChartDataP19getTouchInteraction13touchLocation9chartSize0F0QzSo7CGPointV_So6CGRectVtF":{"name":"getTouchInteraction(touchLocation:chartSize:)","parent_name":"MultiLineChartData"},"Classes/MultiLineChartData.html#/s:13SwiftUICharts23CTLineChartDataProtocolP16getAccessibility6AccessQzyF":{"name":"getAccessibility()","parent_name":"MultiLineChartData"},"Classes/MultiLineChartData.html#/s:13SwiftUICharts11CTChartDataP7SetTypeQa":{"name":"SetType","parent_name":"MultiLineChartData"},"Classes/MultiLineChartData.html#/s:13SwiftUICharts11CTChartDataP0D5PointQa":{"name":"DataPoint","parent_name":"MultiLineChartData"},"Classes/MultiLineChartData.html#/s:13SwiftUICharts11CTChartDataP7CTStyleQa":{"name":"CTStyle","parent_name":"MultiLineChartData"},"Classes/MultiLineChartData.html#/s:13SwiftUICharts11CTChartDataP16getPointLocation7dataSet05touchG09chartSizeSo7CGPointVSg0iF0Qz_AISo6CGRectVtF":{"name":"getPointLocation(dataSet:touchLocation:chartSize:)","parent_name":"MultiLineChartData"},"Classes/MultiLineChartData.html#/s:13SwiftUICharts11CTChartDataP03getD5Point13touchLocation9chartSizeySo7CGPointV_So6CGRectVtF":{"name":"getDataPoint(touchLocation:chartSize:)","parent_name":"MultiLineChartData"},"Classes/LineChartData.html#/s:s12IdentifiableP2id2IDQzvp":{"name":"id","parent_name":"LineChartData"},"Classes/LineChartData.html#/s:13SwiftUICharts11CTChartDataP8dataSets7SetTypeQzvp":{"name":"dataSets","parent_name":"LineChartData"},"Classes/LineChartData.html#/s:13SwiftUICharts11CTChartDataP8metadataAA13ChartMetadataVvp":{"name":"metadata","parent_name":"LineChartData"},"Classes/LineChartData.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP11xAxisLabelsSaySSGSgvp":{"name":"xAxisLabels","parent_name":"LineChartData"},"Classes/LineChartData.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP11yAxisLabelsSaySSGSgvp":{"name":"yAxisLabels","parent_name":"LineChartData"},"Classes/LineChartData.html#/s:13SwiftUICharts11CTChartDataP10chartStyle7CTStyleQzvp":{"name":"chartStyle","parent_name":"LineChartData"},"Classes/LineChartData.html#/s:13SwiftUICharts11CTChartDataP7legendsSayAA06LegendD0VGvp":{"name":"legends","parent_name":"LineChartData"},"Classes/LineChartData.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP04viewF0AA0e4ViewF0Vvp":{"name":"viewData","parent_name":"LineChartData"},"Classes/LineChartData.html#/s:13SwiftUICharts11CTChartDataP8infoViewAA04InfofD0Vy0D5PointQzGvp":{"name":"infoView","parent_name":"LineChartData"},"Classes/LineChartData.html#/s:13SwiftUICharts11CTChartDataP02noD4Text0A2UI0F0Vvp":{"name":"noDataText","parent_name":"LineChartData"},"Classes/LineChartData.html#/s:13SwiftUICharts11CTChartDataP9chartTypeAA05ChartF0OAD_AA0d3SetF0O04datahF0tvp":{"name":"chartType","parent_name":"LineChartData"},"Classes/LineChartData.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP09extraLineF0AA05ExtraiF0VSgvp":{"name":"extraLineData","parent_name":"LineChartData"},"Classes/LineChartData.html#/s:13SwiftUICharts13LineChartDataC12subscriptionShy7Combine14AnyCancellableCGvp":{"name":"subscription","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"LineChartData"},"Classes/LineChartData.html#/s:13SwiftUICharts11PublishableP25touchedDataPointPublisher7Combine18PassthroughSubjectCy0eF0Qzs5NeverOGvp":{"name":"touchedDataPointPublisher","parent_name":"LineChartData"},"Classes/LineChartData.html#/s:13SwiftUICharts13LineChartDataC16disableAnimationSbvp":{"name":"disableAnimation","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"LineChartData"},"Classes/LineChartData.html#/s:13SwiftUICharts13LineChartDataC8dataSets8metadata11xAxisLabels01yiJ010chartStyle02noE4TextAcA0cE3SetV_AA0D8MetadataVSaySSGSgAoA0cdL0V0A2UI0N0Vtcfc":{"name":"init(dataSets:metadata:xAxisLabels:yAxisLabels:chartStyle:noDataText:)","abstract":"\u003cp\u003eInitialises a Single Line Chart.\u003c/p\u003e","parent_name":"LineChartData"},"Classes/LineChartData.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP14getXAxisLabels7XLabelsQzyF":{"name":"getXAxisLabels()","parent_name":"LineChartData"},"Classes/LineChartData.html#/s:13SwiftUICharts23CTLineChartDataProtocolP14getPointMarker6PointsQzyF":{"name":"getPointMarker()","parent_name":"LineChartData"},"Classes/LineChartData.html#/s:13SwiftUICharts11CTChartDataP19getTouchInteraction13touchLocation9chartSize0F0QzSo7CGPointV_So6CGRectVtF":{"name":"getTouchInteraction(touchLocation:chartSize:)","parent_name":"LineChartData"},"Classes/LineChartData.html#/s:13SwiftUICharts11CTChartDataP7SetTypeQa":{"name":"SetType","parent_name":"LineChartData"},"Classes/LineChartData.html#/s:13SwiftUICharts11CTChartDataP0D5PointQa":{"name":"DataPoint","parent_name":"LineChartData"},"Classes/LineChartData.html#/s:13SwiftUICharts11CTChartDataP16getPointLocation7dataSet05touchG09chartSizeSo7CGPointVSg0iF0Qz_AISo6CGRectVtF":{"name":"getPointLocation(dataSet:touchLocation:chartSize:)","parent_name":"LineChartData"},"Classes/LineChartData.html#/s:13SwiftUICharts11CTChartDataP03getD5Point13touchLocation9chartSizeySo7CGPointV_So6CGRectVtF":{"name":"getDataPoint(touchLocation:chartSize:)","parent_name":"LineChartData"},"Classes/StackedBarChartData.html#/s:s12IdentifiableP2id2IDQzvp":{"name":"id","parent_name":"StackedBarChartData"},"Classes/StackedBarChartData.html#/s:13SwiftUICharts11CTChartDataP8dataSets7SetTypeQzvp":{"name":"dataSets","parent_name":"StackedBarChartData"},"Classes/StackedBarChartData.html#/s:13SwiftUICharts11CTChartDataP8metadataAA13ChartMetadataVvp":{"name":"metadata","parent_name":"StackedBarChartData"},"Classes/StackedBarChartData.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP11xAxisLabelsSaySSGSgvp":{"name":"xAxisLabels","parent_name":"StackedBarChartData"},"Classes/StackedBarChartData.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP11yAxisLabelsSaySSGSgvp":{"name":"yAxisLabels","parent_name":"StackedBarChartData"},"Classes/StackedBarChartData.html#/s:13SwiftUICharts22CTBarChartDataProtocolP8barStyle03BarH0Qzvp":{"name":"barStyle","parent_name":"StackedBarChartData"},"Classes/StackedBarChartData.html#/s:13SwiftUICharts11CTChartDataP10chartStyle7CTStyleQzvp":{"name":"chartStyle","parent_name":"StackedBarChartData"},"Classes/StackedBarChartData.html#/s:13SwiftUICharts11CTChartDataP7legendsSayAA06LegendD0VGvp":{"name":"legends","parent_name":"StackedBarChartData"},"Classes/StackedBarChartData.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP04viewF0AA0e4ViewF0Vvp":{"name":"viewData","parent_name":"StackedBarChartData"},"Classes/StackedBarChartData.html#/s:13SwiftUICharts11CTChartDataP8infoViewAA04InfofD0Vy0D5PointQzGvp":{"name":"infoView","parent_name":"StackedBarChartData"},"Classes/StackedBarChartData.html#/s:13SwiftUICharts27CTMultiBarChartDataProtocolP6groupsSayAA08GroupingF0VGvp":{"name":"groups","parent_name":"StackedBarChartData"},"Classes/StackedBarChartData.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP09extraLineF0AA05ExtraiF0VSgvp":{"name":"extraLineData","parent_name":"StackedBarChartData"},"Classes/StackedBarChartData.html#/s:13SwiftUICharts19StackedBarChartDataC12subscriptionShy7Combine14AnyCancellableCGvp":{"name":"subscription","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"StackedBarChartData"},"Classes/StackedBarChartData.html#/s:13SwiftUICharts11PublishableP25touchedDataPointPublisher7Combine18PassthroughSubjectCy0eF0Qzs5NeverOGvp":{"name":"touchedDataPointPublisher","parent_name":"StackedBarChartData"},"Classes/StackedBarChartData.html#/s:13SwiftUICharts11CTChartDataP02noD4Text0A2UI0F0Vvp":{"name":"noDataText","parent_name":"StackedBarChartData"},"Classes/StackedBarChartData.html#/s:13SwiftUICharts11CTChartDataP9chartTypeAA05ChartF0OAD_AA0d3SetF0O04datahF0tvp":{"name":"chartType","parent_name":"StackedBarChartData"},"Classes/StackedBarChartData.html#/s:13SwiftUICharts19StackedBarChartDataC16disableAnimationSbvp":{"name":"disableAnimation","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"StackedBarChartData"},"Classes/StackedBarChartData.html#/s:13SwiftUICharts19StackedBarChartDataC8dataSets6groups8metadata11xAxisLabels01ykL08barStyle05chartN002noF4TextAcA0cdfH0V_SayAA08GroupingF0VGAA0E8MetadataVSaySSGSgAtA0dN0VAA0deN0V0A2UI0Q0Vtcfc":{"name":"init(dataSets:groups:metadata:xAxisLabels:yAxisLabels:barStyle:chartStyle:noDataText:)","abstract":"\u003cp\u003eInitialises a Stacked Bar Chart.\u003c/p\u003e","parent_name":"StackedBarChartData"},"Classes/StackedBarChartData.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP14getXAxisLabels7XLabelsQzyF":{"name":"getXAxisLabels()","parent_name":"StackedBarChartData"},"Classes/StackedBarChartData.html#/s:13SwiftUICharts11CTChartDataP19getTouchInteraction13touchLocation9chartSize0F0QzSo7CGPointV_So6CGRectVtF":{"name":"getTouchInteraction(touchLocation:chartSize:)","parent_name":"StackedBarChartData"},"Classes/StackedBarChartData.html#/s:13SwiftUICharts11CTChartDataP03getD5Point13touchLocation9chartSizeySo7CGPointV_So6CGRectVtF":{"name":"getDataPoint(touchLocation:chartSize:)","parent_name":"StackedBarChartData"},"Classes/StackedBarChartData.html#/s:13SwiftUICharts11CTChartDataP16getPointLocation7dataSet05touchG09chartSizeSo7CGPointVSg0iF0Qz_AISo6CGRectVtF":{"name":"getPointLocation(dataSet:touchLocation:chartSize:)","parent_name":"StackedBarChartData"},"Classes/StackedBarChartData.html#/s:13SwiftUICharts11CTChartDataP7SetTypeQa":{"name":"SetType","parent_name":"StackedBarChartData"},"Classes/StackedBarChartData.html#/s:13SwiftUICharts11CTChartDataP0D5PointQa":{"name":"DataPoint","parent_name":"StackedBarChartData"},"Classes/StackedBarChartData.html#/s:13SwiftUICharts11CTChartDataP7CTStyleQa":{"name":"CTStyle","parent_name":"StackedBarChartData"},"Classes/RangedBarChartData.html#/s:s12IdentifiableP2id2IDQzvp":{"name":"id","parent_name":"RangedBarChartData"},"Classes/RangedBarChartData.html#/s:13SwiftUICharts11CTChartDataP8dataSets7SetTypeQzvp":{"name":"dataSets","parent_name":"RangedBarChartData"},"Classes/RangedBarChartData.html#/s:13SwiftUICharts11CTChartDataP8metadataAA13ChartMetadataVvp":{"name":"metadata","parent_name":"RangedBarChartData"},"Classes/RangedBarChartData.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP11xAxisLabelsSaySSGSgvp":{"name":"xAxisLabels","parent_name":"RangedBarChartData"},"Classes/RangedBarChartData.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP11yAxisLabelsSaySSGSgvp":{"name":"yAxisLabels","parent_name":"RangedBarChartData"},"Classes/RangedBarChartData.html#/s:13SwiftUICharts22CTBarChartDataProtocolP8barStyle03BarH0Qzvp":{"name":"barStyle","parent_name":"RangedBarChartData"},"Classes/RangedBarChartData.html#/s:13SwiftUICharts11CTChartDataP10chartStyle7CTStyleQzvp":{"name":"chartStyle","parent_name":"RangedBarChartData"},"Classes/RangedBarChartData.html#/s:13SwiftUICharts11CTChartDataP7legendsSayAA06LegendD0VGvp":{"name":"legends","parent_name":"RangedBarChartData"},"Classes/RangedBarChartData.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP04viewF0AA0e4ViewF0Vvp":{"name":"viewData","parent_name":"RangedBarChartData"},"Classes/RangedBarChartData.html#/s:13SwiftUICharts11CTChartDataP8infoViewAA04InfofD0Vy0D5PointQzGvp":{"name":"infoView","parent_name":"RangedBarChartData"},"Classes/RangedBarChartData.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP09extraLineF0AA05ExtraiF0VSgvp":{"name":"extraLineData","parent_name":"RangedBarChartData"},"Classes/RangedBarChartData.html#/s:13SwiftUICharts18RangedBarChartDataC12subscriptionShy7Combine14AnyCancellableCGvp":{"name":"subscription","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"RangedBarChartData"},"Classes/RangedBarChartData.html#/s:13SwiftUICharts11PublishableP25touchedDataPointPublisher7Combine18PassthroughSubjectCy0eF0Qzs5NeverOGvp":{"name":"touchedDataPointPublisher","parent_name":"RangedBarChartData"},"Classes/RangedBarChartData.html#/s:13SwiftUICharts11CTChartDataP02noD4Text0A2UI0F0Vvp":{"name":"noDataText","parent_name":"RangedBarChartData"},"Classes/RangedBarChartData.html#/s:13SwiftUICharts11CTChartDataP9chartTypeAA05ChartF0OAD_AA0d3SetF0O04datahF0tvp":{"name":"chartType","parent_name":"RangedBarChartData"},"Classes/RangedBarChartData.html#/s:13SwiftUICharts18RangedBarChartDataC16disableAnimationSbvp":{"name":"disableAnimation","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"RangedBarChartData"},"Classes/RangedBarChartData.html#/s:13SwiftUICharts18RangedBarChartDataC8dataSets8metadata11xAxisLabels01yjK08barStyle05chartM002noF4TextAcA0cdF3SetV_AA0E8MetadataVSaySSGSgApA0dM0VAA0deM0V0A2UI0P0Vtcfc":{"name":"init(dataSets:metadata:xAxisLabels:yAxisLabels:barStyle:chartStyle:noDataText:)","abstract":"\u003cp\u003eInitialises a Ranged Bar Chart.\u003c/p\u003e","parent_name":"RangedBarChartData"},"Classes/RangedBarChartData.html#/s:13SwiftUICharts15GetDataProtocolP7averageSdvp":{"name":"average","parent_name":"RangedBarChartData"},"Classes/RangedBarChartData.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP14getXAxisLabels7XLabelsQzyF":{"name":"getXAxisLabels()","parent_name":"RangedBarChartData"},"Classes/RangedBarChartData.html#/s:13SwiftUICharts11CTChartDataP19getTouchInteraction13touchLocation9chartSize0F0QzSo7CGPointV_So6CGRectVtF":{"name":"getTouchInteraction(touchLocation:chartSize:)","parent_name":"RangedBarChartData"},"Classes/RangedBarChartData.html#/s:13SwiftUICharts11CTChartDataP03getD5Point13touchLocation9chartSizeySo7CGPointV_So6CGRectVtF":{"name":"getDataPoint(touchLocation:chartSize:)","parent_name":"RangedBarChartData"},"Classes/RangedBarChartData.html#/s:13SwiftUICharts11CTChartDataP16getPointLocation7dataSet05touchG09chartSizeSo7CGPointVSg0iF0Qz_AISo6CGRectVtF":{"name":"getPointLocation(dataSet:touchLocation:chartSize:)","parent_name":"RangedBarChartData"},"Classes/RangedBarChartData.html#/s:13SwiftUICharts11CTChartDataP7SetTypeQa":{"name":"SetType","parent_name":"RangedBarChartData"},"Classes/RangedBarChartData.html#/s:13SwiftUICharts11CTChartDataP0D5PointQa":{"name":"DataPoint","parent_name":"RangedBarChartData"},"Classes/RangedBarChartData.html#/s:13SwiftUICharts11CTChartDataP7CTStyleQa":{"name":"CTStyle","parent_name":"RangedBarChartData"},"Classes/HorizontalBarChartData.html#/s:s12IdentifiableP2id2IDQzvp":{"name":"id","parent_name":"HorizontalBarChartData"},"Classes/HorizontalBarChartData.html#/s:13SwiftUICharts11CTChartDataP8dataSets7SetTypeQzvp":{"name":"dataSets","parent_name":"HorizontalBarChartData"},"Classes/HorizontalBarChartData.html#/s:13SwiftUICharts11CTChartDataP8metadataAA13ChartMetadataVvp":{"name":"metadata","parent_name":"HorizontalBarChartData"},"Classes/HorizontalBarChartData.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP11xAxisLabelsSaySSGSgvp":{"name":"xAxisLabels","parent_name":"HorizontalBarChartData"},"Classes/HorizontalBarChartData.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP11yAxisLabelsSaySSGSgvp":{"name":"yAxisLabels","parent_name":"HorizontalBarChartData"},"Classes/HorizontalBarChartData.html#/s:13SwiftUICharts22CTBarChartDataProtocolP8barStyle03BarH0Qzvp":{"name":"barStyle","parent_name":"HorizontalBarChartData"},"Classes/HorizontalBarChartData.html#/s:13SwiftUICharts11CTChartDataP10chartStyle7CTStyleQzvp":{"name":"chartStyle","parent_name":"HorizontalBarChartData"},"Classes/HorizontalBarChartData.html#/s:13SwiftUICharts11CTChartDataP7legendsSayAA06LegendD0VGvp":{"name":"legends","parent_name":"HorizontalBarChartData"},"Classes/HorizontalBarChartData.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP04viewF0AA0e4ViewF0Vvp":{"name":"viewData","parent_name":"HorizontalBarChartData"},"Classes/HorizontalBarChartData.html#/s:13SwiftUICharts11CTChartDataP8infoViewAA04InfofD0Vy0D5PointQzGvp":{"name":"infoView","parent_name":"HorizontalBarChartData"},"Classes/HorizontalBarChartData.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP09extraLineF0AA05ExtraiF0VSgvp":{"name":"extraLineData","parent_name":"HorizontalBarChartData"},"Classes/HorizontalBarChartData.html#/s:13SwiftUICharts22HorizontalBarChartDataC12subscriptionShy7Combine14AnyCancellableCGvp":{"name":"subscription","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"HorizontalBarChartData"},"Classes/HorizontalBarChartData.html#/s:13SwiftUICharts11PublishableP25touchedDataPointPublisher7Combine18PassthroughSubjectCy0eF0Qzs5NeverOGvp":{"name":"touchedDataPointPublisher","parent_name":"HorizontalBarChartData"},"Classes/HorizontalBarChartData.html#/s:13SwiftUICharts11CTChartDataP02noD4Text0A2UI0F0Vvp":{"name":"noDataText","parent_name":"HorizontalBarChartData"},"Classes/HorizontalBarChartData.html#/s:13SwiftUICharts11CTChartDataP9chartTypeAA05ChartF0OAD_AA0d3SetF0O04datahF0tvp":{"name":"chartType","parent_name":"HorizontalBarChartData"},"Classes/HorizontalBarChartData.html#/s:13SwiftUICharts22HorizontalBarChartDataC16disableAnimationSbvp":{"name":"disableAnimation","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"HorizontalBarChartData"},"Classes/HorizontalBarChartData.html#/s:13SwiftUICharts22HorizontalBarChartDataC8dataSets8metadata11xAxisLabels01yjK08barStyle05chartM002noF4TextAcA0dF3SetV_AA0E8MetadataVSaySSGSgApA0dM0VAA0deM0V0A2UI0P0Vtcfc":{"name":"init(dataSets:metadata:xAxisLabels:yAxisLabels:barStyle:chartStyle:noDataText:)","abstract":"\u003cp\u003eInitialises a standard Bar Chart.\u003c/p\u003e","parent_name":"HorizontalBarChartData"},"Classes/HorizontalBarChartData.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP14getXAxisLabels7XLabelsQzyF":{"name":"getXAxisLabels()","parent_name":"HorizontalBarChartData"},"Classes/HorizontalBarChartData.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP14getYAxisLabels7YLabelsQzyF":{"name":"getYAxisLabels()","parent_name":"HorizontalBarChartData"},"Classes/HorizontalBarChartData.html#/s:13SwiftUICharts11CTChartDataP19getTouchInteraction13touchLocation9chartSize0F0QzSo7CGPointV_So6CGRectVtF":{"name":"getTouchInteraction(touchLocation:chartSize:)","parent_name":"HorizontalBarChartData"},"Classes/HorizontalBarChartData.html#/s:13SwiftUICharts11CTChartDataP03getD5Point13touchLocation9chartSizeySo7CGPointV_So6CGRectVtF":{"name":"getDataPoint(touchLocation:chartSize:)","parent_name":"HorizontalBarChartData"},"Classes/HorizontalBarChartData.html#/s:13SwiftUICharts11CTChartDataP16getPointLocation7dataSet05touchG09chartSizeSo7CGPointVSg0iF0Qz_AISo6CGRectVtF":{"name":"getPointLocation(dataSet:touchLocation:chartSize:)","parent_name":"HorizontalBarChartData"},"Classes/HorizontalBarChartData.html#/s:13SwiftUICharts11CTChartDataP7SetTypeQa":{"name":"SetType","parent_name":"HorizontalBarChartData"},"Classes/HorizontalBarChartData.html#/s:13SwiftUICharts11CTChartDataP0D5PointQa":{"name":"DataPoint","parent_name":"HorizontalBarChartData"},"Classes/HorizontalBarChartData.html#/s:13SwiftUICharts11CTChartDataP7CTStyleQa":{"name":"CTStyle","parent_name":"HorizontalBarChartData"},"Classes/GroupedBarChartData.html#/s:s12IdentifiableP2id2IDQzvp":{"name":"id","parent_name":"GroupedBarChartData"},"Classes/GroupedBarChartData.html#/s:13SwiftUICharts11CTChartDataP8dataSets7SetTypeQzvp":{"name":"dataSets","parent_name":"GroupedBarChartData"},"Classes/GroupedBarChartData.html#/s:13SwiftUICharts11CTChartDataP8metadataAA13ChartMetadataVvp":{"name":"metadata","parent_name":"GroupedBarChartData"},"Classes/GroupedBarChartData.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP11xAxisLabelsSaySSGSgvp":{"name":"xAxisLabels","parent_name":"GroupedBarChartData"},"Classes/GroupedBarChartData.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP11yAxisLabelsSaySSGSgvp":{"name":"yAxisLabels","parent_name":"GroupedBarChartData"},"Classes/GroupedBarChartData.html#/s:13SwiftUICharts22CTBarChartDataProtocolP8barStyle03BarH0Qzvp":{"name":"barStyle","parent_name":"GroupedBarChartData"},"Classes/GroupedBarChartData.html#/s:13SwiftUICharts11CTChartDataP10chartStyle7CTStyleQzvp":{"name":"chartStyle","parent_name":"GroupedBarChartData"},"Classes/GroupedBarChartData.html#/s:13SwiftUICharts11CTChartDataP7legendsSayAA06LegendD0VGvp":{"name":"legends","parent_name":"GroupedBarChartData"},"Classes/GroupedBarChartData.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP04viewF0AA0e4ViewF0Vvp":{"name":"viewData","parent_name":"GroupedBarChartData"},"Classes/GroupedBarChartData.html#/s:13SwiftUICharts11CTChartDataP8infoViewAA04InfofD0Vy0D5PointQzGvp":{"name":"infoView","parent_name":"GroupedBarChartData"},"Classes/GroupedBarChartData.html#/s:13SwiftUICharts27CTMultiBarChartDataProtocolP6groupsSayAA08GroupingF0VGvp":{"name":"groups","parent_name":"GroupedBarChartData"},"Classes/GroupedBarChartData.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP09extraLineF0AA05ExtraiF0VSgvp":{"name":"extraLineData","parent_name":"GroupedBarChartData"},"Classes/GroupedBarChartData.html#/s:13SwiftUICharts19GroupedBarChartDataC12subscriptionShy7Combine14AnyCancellableCGvp":{"name":"subscription","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"GroupedBarChartData"},"Classes/GroupedBarChartData.html#/s:13SwiftUICharts11PublishableP25touchedDataPointPublisher7Combine18PassthroughSubjectCy0eF0Qzs5NeverOGvp":{"name":"touchedDataPointPublisher","parent_name":"GroupedBarChartData"},"Classes/GroupedBarChartData.html#/s:13SwiftUICharts11CTChartDataP02noD4Text0A2UI0F0Vvp":{"name":"noDataText","parent_name":"GroupedBarChartData"},"Classes/GroupedBarChartData.html#/s:13SwiftUICharts11CTChartDataP9chartTypeAA05ChartF0OAD_AA0d3SetF0O04datahF0tvp":{"name":"chartType","parent_name":"GroupedBarChartData"},"Classes/GroupedBarChartData.html#/s:13SwiftUICharts19GroupedBarChartDataC16disableAnimationSbvp":{"name":"disableAnimation","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"GroupedBarChartData"},"Classes/GroupedBarChartData.html#/s:13SwiftUICharts19GroupedBarChartDataC8dataSets6groups8metadata11xAxisLabels01ykL08barStyle05chartN002noF4TextAcA0cdfH0V_SayAA08GroupingF0VGAA0E8MetadataVSaySSGSgAtA0dN0VAA0deN0V0A2UI0Q0Vtcfc":{"name":"init(dataSets:groups:metadata:xAxisLabels:yAxisLabels:barStyle:chartStyle:noDataText:)","abstract":"\u003cp\u003eInitialises a Grouped Bar Chart.\u003c/p\u003e","parent_name":"GroupedBarChartData"},"Classes/GroupedBarChartData.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP14getXAxisLabels7XLabelsQzyF":{"name":"getXAxisLabels()","parent_name":"GroupedBarChartData"},"Classes/GroupedBarChartData.html#/s:13SwiftUICharts11CTChartDataP19getTouchInteraction13touchLocation9chartSize0F0QzSo7CGPointV_So6CGRectVtF":{"name":"getTouchInteraction(touchLocation:chartSize:)","parent_name":"GroupedBarChartData"},"Classes/GroupedBarChartData.html#/s:13SwiftUICharts11CTChartDataP03getD5Point13touchLocation9chartSizeySo7CGPointV_So6CGRectVtF":{"name":"getDataPoint(touchLocation:chartSize:)","parent_name":"GroupedBarChartData"},"Classes/GroupedBarChartData.html#/s:13SwiftUICharts11CTChartDataP16getPointLocation7dataSet05touchG09chartSizeSo7CGPointVSg0iF0Qz_AISo6CGRectVtF":{"name":"getPointLocation(dataSet:touchLocation:chartSize:)","parent_name":"GroupedBarChartData"},"Classes/GroupedBarChartData.html#/s:13SwiftUICharts11CTChartDataP7SetTypeQa":{"name":"SetType","parent_name":"GroupedBarChartData"},"Classes/GroupedBarChartData.html#/s:13SwiftUICharts11CTChartDataP0D5PointQa":{"name":"DataPoint","parent_name":"GroupedBarChartData"},"Classes/GroupedBarChartData.html#/s:13SwiftUICharts11CTChartDataP7CTStyleQa":{"name":"CTStyle","parent_name":"GroupedBarChartData"},"Classes/BarChartData.html#/s:s12IdentifiableP2id2IDQzvp":{"name":"id","parent_name":"BarChartData"},"Classes/BarChartData.html#/s:13SwiftUICharts11CTChartDataP8dataSets7SetTypeQzvp":{"name":"dataSets","parent_name":"BarChartData"},"Classes/BarChartData.html#/s:13SwiftUICharts11CTChartDataP8metadataAA13ChartMetadataVvp":{"name":"metadata","parent_name":"BarChartData"},"Classes/BarChartData.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP11xAxisLabelsSaySSGSgvp":{"name":"xAxisLabels","parent_name":"BarChartData"},"Classes/BarChartData.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP11yAxisLabelsSaySSGSgvp":{"name":"yAxisLabels","parent_name":"BarChartData"},"Classes/BarChartData.html#/s:13SwiftUICharts22CTBarChartDataProtocolP8barStyle03BarH0Qzvp":{"name":"barStyle","parent_name":"BarChartData"},"Classes/BarChartData.html#/s:13SwiftUICharts11CTChartDataP10chartStyle7CTStyleQzvp":{"name":"chartStyle","parent_name":"BarChartData"},"Classes/BarChartData.html#/s:13SwiftUICharts11CTChartDataP7legendsSayAA06LegendD0VGvp":{"name":"legends","parent_name":"BarChartData"},"Classes/BarChartData.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP04viewF0AA0e4ViewF0Vvp":{"name":"viewData","parent_name":"BarChartData"},"Classes/BarChartData.html#/s:13SwiftUICharts11CTChartDataP8infoViewAA04InfofD0Vy0D5PointQzGvp":{"name":"infoView","parent_name":"BarChartData"},"Classes/BarChartData.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP09extraLineF0AA05ExtraiF0VSgvp":{"name":"extraLineData","parent_name":"BarChartData"},"Classes/BarChartData.html#/s:13SwiftUICharts12BarChartDataC12subscriptionShy7Combine14AnyCancellableCGvp":{"name":"subscription","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"BarChartData"},"Classes/BarChartData.html#/s:13SwiftUICharts11PublishableP25touchedDataPointPublisher7Combine18PassthroughSubjectCy0eF0Qzs5NeverOGvp":{"name":"touchedDataPointPublisher","parent_name":"BarChartData"},"Classes/BarChartData.html#/s:13SwiftUICharts11CTChartDataP02noD4Text0A2UI0F0Vvp":{"name":"noDataText","parent_name":"BarChartData"},"Classes/BarChartData.html#/s:13SwiftUICharts11CTChartDataP9chartTypeAA05ChartF0OAD_AA0d3SetF0O04datahF0tvp":{"name":"chartType","parent_name":"BarChartData"},"Classes/BarChartData.html#/s:13SwiftUICharts12BarChartDataC16disableAnimationSbvp":{"name":"disableAnimation","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"BarChartData"},"Classes/BarChartData.html#/s:13SwiftUICharts12BarChartDataC8dataSets8metadata11xAxisLabels01yiJ08barStyle05chartL002noE4TextAcA0cE3SetV_AA0D8MetadataVSaySSGSgApA0cL0VAA0cdL0V0A2UI0O0Vtcfc":{"name":"init(dataSets:metadata:xAxisLabels:yAxisLabels:barStyle:chartStyle:noDataText:)","abstract":"\u003cp\u003eInitialises a standard Bar Chart.\u003c/p\u003e","parent_name":"BarChartData"},"Classes/BarChartData.html#/s:13SwiftUICharts26CTLineBarChartDataProtocolP14getXAxisLabels7XLabelsQzyF":{"name":"getXAxisLabels()","parent_name":"BarChartData"},"Classes/BarChartData.html#/s:13SwiftUICharts11CTChartDataP19getTouchInteraction13touchLocation9chartSize0F0QzSo7CGPointV_So6CGRectVtF":{"name":"getTouchInteraction(touchLocation:chartSize:)","parent_name":"BarChartData"},"Classes/BarChartData.html#/s:13SwiftUICharts11CTChartDataP03getD5Point13touchLocation9chartSizeySo7CGPointV_So6CGRectVtF":{"name":"getDataPoint(touchLocation:chartSize:)","parent_name":"BarChartData"},"Classes/BarChartData.html#/s:13SwiftUICharts11CTChartDataP16getPointLocation7dataSet05touchG09chartSizeSo7CGPointVSg0iF0Qz_AISo6CGRectVtF":{"name":"getPointLocation(dataSet:touchLocation:chartSize:)","parent_name":"BarChartData"},"Classes/BarChartData.html#/s:13SwiftUICharts11CTChartDataP7SetTypeQa":{"name":"SetType","parent_name":"BarChartData"},"Classes/BarChartData.html#/s:13SwiftUICharts11CTChartDataP0D5PointQa":{"name":"DataPoint","parent_name":"BarChartData"},"Classes/BarChartData.html#/s:13SwiftUICharts11CTChartDataP7CTStyleQa":{"name":"CTStyle","parent_name":"BarChartData"},"Classes/BarChartData.html":{"name":"BarChartData","abstract":"\u003cp\u003eData for drawing and styling a standard Bar Chart.\u003c/p\u003e"},"Classes/GroupedBarChartData.html":{"name":"GroupedBarChartData","abstract":"\u003cp\u003eData model for drawing and styling a Grouped Bar Chart.\u003c/p\u003e"},"Classes/HorizontalBarChartData.html":{"name":"HorizontalBarChartData","abstract":"\u003cp\u003eData for drawing and styling a standard Bar Chart.\u003c/p\u003e"},"Classes/RangedBarChartData.html":{"name":"RangedBarChartData","abstract":"\u003cp\u003eData for drawing and styling a ranged Bar Chart.\u003c/p\u003e"},"Classes/StackedBarChartData.html":{"name":"StackedBarChartData","abstract":"\u003cp\u003eData model for drawing and styling a Stacked Bar Chart.\u003c/p\u003e"},"Classes/LineChartData.html":{"name":"LineChartData","abstract":"\u003cp\u003eData for drawing and styling a single line, line chart.\u003c/p\u003e"},"Classes/MultiLineChartData.html":{"name":"MultiLineChartData","abstract":"\u003cp\u003eData for drawing and styling a multi line, line chart.\u003c/p\u003e"},"Classes/RangedLineChartData.html":{"name":"RangedLineChartData","abstract":"\u003cp\u003eData for drawing and styling ranged line chart.\u003c/p\u003e"},"Classes/DoughnutChartData.html":{"name":"DoughnutChartData","abstract":"\u003cp\u003eData for drawing and styling a doughnut chart.\u003c/p\u003e"},"Classes/PieChartData.html":{"name":"PieChartData","abstract":"\u003cp\u003eData for drawing and styling a pie chart.\u003c/p\u003e"},"Classes/ChartImageController.html":{"name":"ChartImageController"},"Classes/ChartImageHostingController.html":{"name":"ChartImageHostingController"},"Classes.html":{"name":"Classes","abstract":"\u003cp\u003eThe following classes are available globally.\u003c/p\u003e"},"Enums.html":{"name":"Enumerations","abstract":"\u003cp\u003eThe following enumerations are available globally.\u003c/p\u003e"},"Extensions.html":{"name":"Extensions","abstract":"\u003cp\u003eThe following extensions are available globally.\u003c/p\u003e"},"Protocols.html":{"name":"Protocols","abstract":"\u003cp\u003eThe following protocols are available globally.\u003c/p\u003e"},"Structs.html":{"name":"Structures","abstract":"\u003cp\u003eThe following structures are available globally.\u003c/p\u003e"}} \ No newline at end of file diff --git a/docs/undocumented.json b/docs/undocumented.json new file mode 100644 index 00000000..50fcde74 --- /dev/null +++ b/docs/undocumented.json @@ -0,0 +1,1006 @@ +{ + "warnings": [ + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/BarChart/Models/ChartData/BarChartData.swift", + "line": 31, + "symbol": "BarChartData.subscription", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/BarChart/Models/ChartData/BarChartData.swift", + "line": 37, + "symbol": "BarChartData.disableAnimation", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/BarChart/Models/ChartData/GroupedBarChartData.swift", + "line": 36, + "symbol": "GroupedBarChartData.subscription", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/BarChart/Models/ChartData/GroupedBarChartData.swift", + "line": 44, + "symbol": "GroupedBarChartData.disableAnimation", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/BarChart/Models/ChartData/HorizontalBarChartData.swift", + "line": 31, + "symbol": "HorizontalBarChartData.subscription", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/BarChart/Models/ChartData/HorizontalBarChartData.swift", + "line": 37, + "symbol": "HorizontalBarChartData.disableAnimation", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/BarChart/Models/ChartData/RangedBarChartData.swift", + "line": 31, + "symbol": "RangedBarChartData.subscription", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/BarChart/Models/ChartData/RangedBarChartData.swift", + "line": 37, + "symbol": "RangedBarChartData.disableAnimation", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/BarChart/Models/ChartData/StackedBarChartData.swift", + "line": 35, + "symbol": "StackedBarChartData.subscription", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/BarChart/Models/ChartData/StackedBarChartData.swift", + "line": 41, + "symbol": "StackedBarChartData.disableAnimation", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/BarChart/Models/CornerRadius.swift", + "line": 15, + "symbol": "CornerRadius.topLeft", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/BarChart/Models/CornerRadius.swift", + "line": 16, + "symbol": "CornerRadius.topRight", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/BarChart/Models/CornerRadius.swift", + "line": 17, + "symbol": "CornerRadius.bottomLeft", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/BarChart/Models/CornerRadius.swift", + "line": 18, + "symbol": "CornerRadius.bottomRight", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/BarChart/Models/GroupingData.swift", + "line": 16, + "symbol": "GroupingData.title", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/BarChart/Models/Protocols/BarChartProtocols.swift", + "line": 16, + "symbol": "CTBarChartDataProtocol.BarStyle", + "symbol_kind": "source.lang.swift.decl.associatedtype", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/BarChart/Models/Protocols/BarChartProtocols.swift", + "line": 47, + "symbol": "isHorizontal", + "symbol_kind": "source.lang.swift.decl.protocol", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/BarChart/Models/Protocols/BarChartProtocols.swift", + "line": 55, + "symbol": "CTBarStyle", + "symbol_kind": "source.lang.swift.decl.protocol", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/BarChart/Views/HorizontalBarChart.swift", + "line": 10, + "symbol": "HorizontalBarChart", + "symbol_kind": "source.lang.swift.decl.struct", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/LineChart/Models/ChartData/LineChartData.swift", + "line": 36, + "symbol": "LineChartData.subscription", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/LineChart/Models/ChartData/LineChartData.swift", + "line": 39, + "symbol": "LineChartData.disableAnimation", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/LineChart/Models/ChartData/MultiLineChartData.swift", + "line": 36, + "symbol": "MultiLineChartData.subscription", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/LineChart/Models/ChartData/MultiLineChartData.swift", + "line": 39, + "symbol": "MultiLineChartData.disableAnimation", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/LineChart/Models/ChartData/RangedLineChartData.swift", + "line": 36, + "symbol": "RangedLineChartData.subscription", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/LineChart/Models/ChartData/RangedLineChartData.swift", + "line": 39, + "symbol": "RangedLineChartData.disableAnimation", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/LineChart/Models/DataPoints/LineChartDataPoint.swift", + "line": 20, + "symbol": "LineChartDataPoint.pointColour", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/LineChart/Models/DataPoints/LineChartDataPoint.swift", + "line": 22, + "symbol": "LineChartDataPoint.ignoreMe", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/LineChart/Models/DataPoints/RangedLineChartDataPoint.swift", + "line": 22, + "symbol": "RangedLineChartDataPoint.pointColour", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/LineChart/Models/DataPoints/RangedLineChartDataPoint.swift", + "line": 24, + "symbol": "RangedLineChartDataPoint.ignoreMe", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/LineChart/Models/Protocols/LineChartProtocols.swift", + "line": 131, + "symbol": "CTLineDataPointProtocol.pointColour", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/LineChart/Models/Protocols/LineChartProtocols.swift", + "line": 147, + "symbol": "IgnoreMe", + "symbol_kind": "source.lang.swift.decl.protocol", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/LineChart/Models/Protocols/LineChartProtocols.swift", + "line": 148, + "symbol": "IgnoreMe.ignoreMe", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/LineChart/Models/Protocols/LineChartProtocolsExtensions.swift", + "line": 12, + "symbol": "CTLineBarChartDataProtocol.setBoxLocationation(touchLocation:boxFrame:chartSize:)", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/LineChart/Models/Protocols/LineChartProtocolsExtensions.swift", + "line": 25, + "symbol": "CTLineBarChartDataProtocol.setBoxLocationation(touchLocation:boxFrame:chartSize:)", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/LineChart/Models/Style/PointStyle.swift", + "line": 60, + "symbol": "PointColour", + "symbol_kind": "source.lang.swift.decl.struct", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/LineChart/Models/Style/PointStyle.swift", + "line": 61, + "symbol": "PointColour.border", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/LineChart/Models/Style/PointStyle.swift", + "line": 62, + "symbol": "PointColour.fill", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/LineChart/Models/Style/PointStyle.swift", + "line": 64, + "symbol": "PointColour.init(border:fill:)", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/PieChart/Models/ChartData/DoughnutChartData.swift", + "line": 27, + "symbol": "DoughnutChartData.subscription", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/PieChart/Models/ChartData/DoughnutChartData.swift", + "line": 33, + "symbol": "DoughnutChartData.disableAnimation", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/PieChart/Models/ChartData/PieChartData.swift", + "line": 27, + "symbol": "PieChartData.subscription", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/PieChart/Models/ChartData/PieChartData.swift", + "line": 33, + "symbol": "PieChartData.disableAnimation", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/PieChart/Models/DataSets/PieDataSet.swift", + "line": 17, + "symbol": "PieDataSet.legendTitle", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/Shared/API.swift", + "line": 17, + "symbol": "InfoValue.init(chartData:)", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/Shared/API.swift", + "line": 35, + "symbol": "InfoDescription.init(chartData:)", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/Shared/API.swift", + "line": 54, + "symbol": "InfoExtra.init(chartData:text:)", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/Shared/Extras/Extension+NSNotificationName.swift", + "line": 11, + "symbol": "NSNotification.Name.updateLayoutDidFinish", + "symbol_kind": "source.lang.swift.decl.var.static", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/Shared/Extras/SharedEnums.swift", + "line": 19, + "symbol": "DataSetType.single", + "symbol_kind": "source.lang.swift.decl.enumelement", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/Shared/Extras/SharedEnums.swift", + "line": 20, + "symbol": "DataSetType.multi", + "symbol_kind": "source.lang.swift.decl.enumelement", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/Shared/Extras/SharedEnums.swift", + "line": 86, + "symbol": "InfoBoxAlignment.vertical", + "symbol_kind": "source.lang.swift.decl.enumelement", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/Shared/Extras/SharedEnums.swift", + "line": 87, + "symbol": "InfoBoxAlignment.horizontal", + "symbol_kind": "source.lang.swift.decl.enumelement", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/Shared/Models/LegendData.swift", + "line": 29, + "symbol": "LegendData.colour", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/Shared/Models/Protocols/PublishableProtocol.swift", + "line": 16, + "symbol": "Publishable.DataPoint", + "symbol_kind": "source.lang.swift.decl.associatedtype", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/Shared/Models/Protocols/PublishableProtocol.swift", + "line": 19, + "symbol": "Publishable.subscription", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/Shared/Models/Protocols/SharedProtocols.swift", + "line": 33, + "symbol": "CTChartData.id", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/Shared/Models/Protocols/SharedProtocols.swift", + "line": 75, + "symbol": "CTChartData.disableAnimation", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/Shared/Models/Protocols/SharedProtocols.swift", + "line": 131, + "symbol": "CTDataSetProtocol.id", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/Shared/Models/Protocols/SharedProtocols.swift", + "line": 171, + "symbol": "CTDataPointBaseProtocol.id", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/Shared/Models/Protocols/SharedProtocols.swift", + "line": 335, + "symbol": "CTisRanged", + "symbol_kind": "source.lang.swift.decl.protocol", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/Shared/Models/Protocols/SharedProtocols.swift", + "line": 336, + "symbol": "CTnotRanged", + "symbol_kind": "source.lang.swift.decl.protocol", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/Shared/Models/Protocols/SharedProtocolsExtensions.swift", + "line": 169, + "symbol": "CTSingleDataSetProtocol.maxValue()", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/Shared/Models/Protocols/SharedProtocolsExtensions.swift", + "line": 174, + "symbol": "CTSingleDataSetProtocol.minValue()", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/Shared/Models/Protocols/SharedProtocolsExtensions.swift", + "line": 179, + "symbol": "CTSingleDataSetProtocol.average()", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/Shared/Models/Protocols/SharedProtocolsExtensions.swift", + "line": 187, + "symbol": "CTSingleDataSetProtocol.maxValue()", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/Shared/Models/Protocols/SharedProtocolsExtensions.swift", + "line": 192, + "symbol": "CTSingleDataSetProtocol.minValue()", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/Shared/Models/Protocols/SharedProtocolsExtensions.swift", + "line": 197, + "symbol": "CTSingleDataSetProtocol.average()", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/Shared/Models/Protocols/SharedProtocolsExtensions.swift", + "line": 205, + "symbol": "CTMultiDataSetProtocol.maxValue()", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/Shared/Models/Protocols/SharedProtocolsExtensions.swift", + "line": 213, + "symbol": "CTMultiDataSetProtocol.minValue()", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/Shared/Models/Protocols/SharedProtocolsExtensions.swift", + "line": 221, + "symbol": "CTMultiDataSetProtocol.average()", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/Shared/Models/Protocols/SharedProtocolsExtensions.swift", + "line": 277, + "symbol": "CTSingleDataSetProtocol.minValue()", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/Shared/Models/Protocols/SharedProtocolsExtensions.swift", + "line": 293, + "symbol": "CTMultiDataSetProtocol.minValue()", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/Shared/Types/GradientStop.swift", + "line": 17, + "symbol": "GradientStop.color", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/Shared/Types/GradientStop.swift", + "line": 18, + "symbol": "GradientStop.location", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/Shared/Types/GradientStop.swift", + "line": 20, + "symbol": "GradientStop.init(color:location:)", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/Shared/Types/Stroke.swift", + "line": 26, + "symbol": "Stroke.init(lineWidth:lineCap:lineJoin:miterLimit:dash:dashPhase:)", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/Shared/ViewModifiers/disableAnimation.swift", + "line": 11, + "symbol": "View.disableAnimation(chartData:_:)", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/SharedLineAndBar/Extras/LineAndBarEnums.swift", + "line": 19, + "symbol": "XAxisLabelPosistion.top", + "symbol_kind": "source.lang.swift.decl.enumelement", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/SharedLineAndBar/Extras/LineAndBarEnums.swift", + "line": 20, + "symbol": "XAxisLabelPosistion.bottom", + "symbol_kind": "source.lang.swift.decl.enumelement", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/SharedLineAndBar/Extras/LineAndBarEnums.swift", + "line": 50, + "symbol": "YAxisLabelPosistion.leading", + "symbol_kind": "source.lang.swift.decl.enumelement", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/SharedLineAndBar/Extras/LineAndBarEnums.swift", + "line": 51, + "symbol": "YAxisLabelPosistion.trailing", + "symbol_kind": "source.lang.swift.decl.enumelement", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/SharedLineAndBar/Models/ExtraLineData.swift", + "line": 19, + "symbol": "ExtraLineData.dataPoints", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/SharedLineAndBar/Models/ExtraLineData.swift", + "line": 20, + "symbol": "ExtraLineData.style", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/SharedLineAndBar/Models/ExtraLineData.swift", + "line": 21, + "symbol": "ExtraLineData.legendTitle", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/SharedLineAndBar/Models/ExtraLineData.swift", + "line": 23, + "symbol": "ExtraLineData.init(legendTitle:dataPoints:style:)", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/SharedLineAndBar/Models/ExtraLineDataPoint.swift", + "line": 16, + "symbol": "ExtraLineDataPoint.value", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/SharedLineAndBar/Models/ExtraLineDataPoint.swift", + "line": 17, + "symbol": "ExtraLineDataPoint.pointColour", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/SharedLineAndBar/Models/ExtraLineDataPoint.swift", + "line": 18, + "symbol": "ExtraLineDataPoint.pointDescription", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/SharedLineAndBar/Models/ExtraLineDataPoint.swift", + "line": 20, + "symbol": "ExtraLineDataPoint.init(value:pointColour:pointDescription:)", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/SharedLineAndBar/Models/Protocols/DataFunctionsProtocol.swift", + "line": 10, + "symbol": "DataFunctionsProtocol", + "symbol_kind": "source.lang.swift.decl.protocol", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/SharedLineAndBar/Models/Protocols/DataFunctionsProtocol.swift", + "line": 30, + "symbol": "GetDataProtocol", + "symbol_kind": "source.lang.swift.decl.protocol", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/SharedLineAndBar/Models/Protocols/LineAndBarProtocolsExtentions.swift", + "line": 13, + "symbol": "CTLineBarChartDataProtocol.range", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/SharedLineAndBar/Models/Protocols/LineAndBarProtocolsExtentions.swift", + "line": 38, + "symbol": "CTLineBarChartDataProtocol.minValue", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/SharedLineAndBar/Models/Protocols/LineAndBarProtocolsExtentions.swift", + "line": 51, + "symbol": "CTLineBarChartDataProtocol.maxValue", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/SharedLineAndBar/Models/Protocols/LineAndBarProtocolsExtentions.swift", + "line": 62, + "symbol": "CTLineBarChartDataProtocol.average", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/SharedLineAndBar/Models/Protocols/LineAndBarProtocolsExtentions.swift", + "line": 364, + "symbol": "CTLineBarChartDataProtocol.getExtraYAxisTitle(colour:)", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/SharedLineAndBar/Models/Protocols/PointOfInterestProtocol.swift", + "line": 10, + "symbol": "PointOfInterestProtocol", + "symbol_kind": "source.lang.swift.decl.protocol", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/SharedLineAndBar/Models/Protocols/PointOfInterestProtocol.swift", + "line": 237, + "symbol": "CTLineBarChartDataProtocol.poiMarker(value:range:minValue:)", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/SharedLineAndBar/Models/Protocols/PointOfInterestProtocol.swift", + "line": 241, + "symbol": "CTLineBarChartDataProtocol.poiLabelAxis(markerValue:specifier:formatter:labelFont:labelColour:labelBackground:labelBorderColor:customLabelShape:padding:)", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/SharedLineAndBar/Models/Protocols/PointOfInterestProtocol.swift", + "line": 272, + "symbol": "CTLineBarChartDataProtocol.poiLabelCenter(markerValue:specifier:formatter:labelFont:labelColour:labelBackground:labelBorderColor:strokeStyle:customLabelShape:padding:)", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/SharedLineAndBar/Models/Protocols/PointOfInterestProtocol.swift", + "line": 295, + "symbol": "CTLineBarChartDataProtocol.poiLabelPosition(location:markerValue:specifier:formatter:labelFont:labelColour:labelBackground:labelBorderColor:strokeStyle:customLabelShape:padding:)", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/SharedLineAndBar/Models/Protocols/PointOfInterestProtocol.swift", + "line": 332, + "symbol": "CTLineBarChartDataProtocol.poiMarker(value:range:minValue:)", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/SharedLineAndBar/Models/Protocols/PointOfInterestProtocol.swift", + "line": 336, + "symbol": "CTLineBarChartDataProtocol.poiLabelAxis(markerValue:specifier:labelFont:labelColour:labelBackground:labelBorderColor:customLabelShape:padding:)", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/SharedLineAndBar/Models/Protocols/PointOfInterestProtocol.swift", + "line": 366, + "symbol": "CTLineBarChartDataProtocol.poiLabelPosition(location:markerValue:specifier:formatter:labelFont:labelColour:labelBackground:labelBorderColor:strokeStyle:customLabelShape:padding:)", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/SharedLineAndBar/Models/Protocols/PointOfInterestProtocol.swift", + "line": 412, + "symbol": "CTLineBarChartDataProtocol.poiValueLabelPositionAxis(frame:markerValue:minValue:range:)", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/SharedLineAndBar/Models/Protocols/PointOfInterestProtocol.swift", + "line": 421, + "symbol": "CTLineBarChartDataProtocol.poiValueLabelPositionCenter(frame:markerValue:minValue:range:)", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/SharedLineAndBar/Models/Protocols/PointOfInterestProtocol.swift", + "line": 426, + "symbol": "CTLineBarChartDataProtocol.poiValueLabelRelativePosition(frame:markerValue:minValue:range:)", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/SharedLineAndBar/Models/Protocols/PointOfInterestProtocol.swift", + "line": 437, + "symbol": "CTLineBarChartDataProtocol.poiValueLabelPositionAxis(frame:markerValue:minValue:range:)", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/SharedLineAndBar/Models/Protocols/PointOfInterestProtocol.swift", + "line": 445, + "symbol": "CTLineBarChartDataProtocol.poiValueLabelPositionCenter(frame:markerValue:minValue:range:)", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/SharedLineAndBar/Models/Protocols/PointOfInterestProtocol.swift", + "line": 450, + "symbol": "CTLineBarChartDataProtocol.poiValueLabelRelativePosition(frame:markerValue:minValue:range:)", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/SharedLineAndBar/Models/Protocols/PointOfInterestProtocol.swift", + "line": 462, + "symbol": "CTLineBarChartDataProtocol.poiValueLabelPositionAxis(frame:markerValue:minValue:range:)", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/SharedLineAndBar/Models/Protocols/PointOfInterestProtocol.swift", + "line": 470, + "symbol": "CTLineBarChartDataProtocol.poiValueLabelPositionCenter(frame:markerValue:minValue:range:)", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/SharedLineAndBar/Models/Protocols/PointOfInterestProtocol.swift", + "line": 475, + "symbol": "CTLineBarChartDataProtocol.poiValueLabelRelativePosition(frame:markerValue:minValue:range:)", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/SharedLineAndBar/Models/Protocols/PointOfInterestProtocol.swift", + "line": 490, + "symbol": "CTLineBarChartDataProtocol.poiAbscissaMarker(markerValue:dataPointCount:)", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/SharedLineAndBar/Models/Protocols/PointOfInterestProtocol.swift", + "line": 494, + "symbol": "CTLineBarChartDataProtocol.poiAbscissaLabelAxis(marker:labelFont:labelColour:labelBackground:labelBorderColor:customLabelShape:padding:)", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/SharedLineAndBar/Models/Protocols/PointOfInterestProtocol.swift", + "line": 515, + "symbol": "CTLineBarChartDataProtocol.poiAbscissaLabelCenter(marker:labelFont:labelColour:labelBackground:labelBorderColor:strokeStyle:customLabelShape:padding:)", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/SharedLineAndBar/Models/Protocols/PointOfInterestProtocol.swift", + "line": 536, + "symbol": "CTLineBarChartDataProtocol.poiAbscissaLabelPosition(location:marker:labelFont:labelColour:labelBackground:labelBorderColor:strokeStyle:customLabelShape:padding:)", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/SharedLineAndBar/Models/Protocols/PointOfInterestProtocol.swift", + "line": 572, + "symbol": "CTLineBarChartDataProtocol.poiAbscissaMarker(markerValue:dataPointCount:)", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/SharedLineAndBar/Models/Protocols/PointOfInterestProtocol.swift", + "line": 576, + "symbol": "CTLineBarChartDataProtocol.poiAbscissaLabelAxis(marker:labelFont:labelColour:labelBackground:labelBorderColor:customLabelShape:padding:)", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/SharedLineAndBar/Models/Protocols/PointOfInterestProtocol.swift", + "line": 605, + "symbol": "CTLineBarChartDataProtocol.poiAbscissaLabelPosition(location:marker:labelFont:labelColour:labelBackground:labelBorderColor:strokeStyle:customLabelShape:padding:)", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/SharedLineAndBar/Models/Protocols/PointOfInterestProtocol.swift", + "line": 648, + "symbol": "CTLineBarChartDataProtocol.poiAbscissaValueLabelPositionAxis(frame:markerValue:count:)", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/SharedLineAndBar/Models/Protocols/PointOfInterestProtocol.swift", + "line": 655, + "symbol": "CTLineBarChartDataProtocol.poiAbscissaValueLabelPositionCenter(frame:markerValue:count:)", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/SharedLineAndBar/Models/Protocols/PointOfInterestProtocol.swift", + "line": 660, + "symbol": "CTLineBarChartDataProtocol.poiAbscissaValueLabelRelativePosition(frame:markerValue:count:)", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/SharedLineAndBar/Models/Protocols/PointOfInterestProtocol.swift", + "line": 669, + "symbol": "CTLineBarChartDataProtocol.poiAbscissaValueLabelPositionAxis(frame:markerValue:count:)", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/SharedLineAndBar/Models/Protocols/PointOfInterestProtocol.swift", + "line": 676, + "symbol": "CTLineBarChartDataProtocol.poiAbscissaValueLabelPositionCenter(frame:markerValue:count:)", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/SharedLineAndBar/Models/Protocols/PointOfInterestProtocol.swift", + "line": 681, + "symbol": "CTLineBarChartDataProtocol.poiAbscissaValueLabelRelativePosition(frame:markerValue:count:)", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/SharedLineAndBar/Models/Protocols/PointOfInterestProtocol.swift", + "line": 691, + "symbol": "CTLineBarChartDataProtocol.poiAbscissaValueLabelPositionAxis(frame:markerValue:count:)", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/SharedLineAndBar/Models/Protocols/PointOfInterestProtocol.swift", + "line": 698, + "symbol": "CTLineBarChartDataProtocol.poiAbscissaValueLabelPositionCenter(frame:markerValue:count:)", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/SharedLineAndBar/Models/Protocols/PointOfInterestProtocol.swift", + "line": 703, + "symbol": "CTLineBarChartDataProtocol.poiAbscissaValueLabelRelativePosition(frame:markerValue:count:)", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/SharedLineAndBar/Shapes/LabelShape.swift", + "line": 16, + "symbol": "CustomLabelShape.init(_:)", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/SharedLineAndBar/Style/ExtraLineStyle.swift", + "line": 15, + "symbol": "ExtraLineStyle.lineColour", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/SharedLineAndBar/Style/ExtraLineStyle.swift", + "line": 16, + "symbol": "ExtraLineStyle.lineType", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/SharedLineAndBar/Style/ExtraLineStyle.swift", + "line": 17, + "symbol": "ExtraLineStyle.lineSpacing", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/SharedLineAndBar/Style/ExtraLineStyle.swift", + "line": 19, + "symbol": "ExtraLineStyle.markerType", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/SharedLineAndBar/Style/ExtraLineStyle.swift", + "line": 21, + "symbol": "ExtraLineStyle.strokeStyle", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/SharedLineAndBar/Style/ExtraLineStyle.swift", + "line": 23, + "symbol": "ExtraLineStyle.pointStyle", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/SharedLineAndBar/Style/ExtraLineStyle.swift", + "line": 25, + "symbol": "ExtraLineStyle.yAxisTitle", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/SharedLineAndBar/Style/ExtraLineStyle.swift", + "line": 26, + "symbol": "ExtraLineStyle.yAxisNumberOfLabels", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/SharedLineAndBar/Style/ExtraLineStyle.swift", + "line": 28, + "symbol": "ExtraLineStyle.animationType", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/SharedLineAndBar/Style/ExtraLineStyle.swift", + "line": 30, + "symbol": "ExtraLineStyle.baseline", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/SharedLineAndBar/Style/ExtraLineStyle.swift", + "line": 31, + "symbol": "ExtraLineStyle.topLine", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/SharedLineAndBar/Style/ExtraLineStyle.swift", + "line": 33, + "symbol": "ExtraLineStyle.init(lineColour:lineType:lineSpacing:markerType:strokeStyle:pointStyle:yAxisTitle:yAxisNumberOfLabels:animationType:baseline:topLine:)", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/SharedLineAndBar/Style/ExtraLineStyle.swift", + "line": 96, + "symbol": "ExtraLineStyle.SpacingType.line", + "symbol_kind": "source.lang.swift.decl.enumelement", + "warning": "undocumented" + }, + { + "file": "/Users/runner/work/SwiftUICharts/SwiftUICharts/Sources/SwiftUICharts/SharedLineAndBar/Style/ExtraLineStyle.swift", + "line": 97, + "symbol": "ExtraLineStyle.SpacingType.bar", + "symbol_kind": "source.lang.swift.decl.enumelement", + "warning": "undocumented" + } + ], + "source_directory": "/Users/runner/work/SwiftUICharts/SwiftUICharts" +} \ No newline at end of file