terezka / elm-charts

Create SVG charts in Elm.
https://www.elm-charts.org
BSD 3-Clause "New" or "Revised" License
736 stars 67 forks source link

Swaps domain and range functionality #110

Open adamyakes opened 2 years ago

adamyakes commented 2 years ago

This address #105 - the Domain of a function is the input / independent variable / X-Axis of a chart, but this library uses the term to refer to the range, and vice-versa.

I did my best to search through the repository's source to edit all references to domain / range and flip them.

This is a breaking change, from a behavior standpoint, but no signatures have changed.

vercel[bot] commented 2 years ago

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/terezka/elm-charts/ExG8qCjaNbNduqkxYw2xtGeqQgiK
✅ Preview: https://elm-charts-git-fork-adamyakes-master-terezka.vercel.app