Skip to content

Conversation

@boherna
Copy link

@boherna boherna commented Jan 20, 2021

Improvements (based on my own needs):

  • Supports custom text to show next to the bars (in my case I needed a different text than the default provided).
  • Adjusts the height and size of the bars and circles, respectively, when the size of the dynamic font changes.
  • Allows setting the max value for calculating the bar width (in my case I needed charts with different dataPoints to have a normalised width regardless of the max values of those dataPoints).

I also changed RoundedRectangle by Capsule to guarantee the rounded edges no matter the height of the bar.

Thanks for sharing SwiftUICharts!

…etric for bar height and circle size. Replaces RoundedRectangle by Capsule. Removes Spacer.
…rge-upstream

# Conflicts:
#	Sources/SwiftUICharts/HorizontalBarChartView.swift
#	Sources/SwiftUICharts/Model/DataPoint.swift
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant