Skip to content

Commit

Permalink
typo fixes, comments, mini refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
wass3r committed Jan 5, 2025
1 parent 1f0b4b7 commit 9ad60fc
Show file tree
Hide file tree
Showing 4 changed files with 297 additions and 224 deletions.
8 changes: 8 additions & 0 deletions src/elm/Components/BarChart.elm
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ import TypedSvg.Types exposing (AnchorAlignment(..), Transform(..))
import Utils.Helpers as Util



-- TYPES


{-| UnitFormat defines what format the values in the chart should be displayed in.
-}
type UnitFormat
Expand Down Expand Up @@ -160,6 +164,10 @@ withNumberUnit v (BarChartConfig config) =
BarChartConfig { config | unit = number v }



-- VIEW


{-| view: takes title, width (optional), height (optional), data, optional maximum y-axis value,
unit as string, and returns a chart.
-}
Expand Down
Loading

0 comments on commit 9ad60fc

Please sign in to comment.