Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
sndnv committed Dec 17, 2023
1 parent 167b95b commit 4b843f5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Add `asciichart` to the list of dependencies in `mix.exs`:

```elixir
def deps do
[{:asciichart, "~> 1.0"}]
[{:asciichart, "~> <version>"}]
end
```

Expand All @@ -37,6 +37,7 @@ One or more of the following settings can be provided:
- `height` - adjusts the height of the chart
- `padding` - one or more characters to use for the label's (left) padding
- `charset` - a customizable character set. See `Asciichart.Charset`.
- `precision` - number of fractional digits to keep for floating-point values

```elixir
{:ok, chart} = Asciichart.plot([1, 2, 5, 5, 4, 3, 2, 100, 0], height: 3, offset: 10, padding: "__")
Expand Down

0 comments on commit 4b843f5

Please sign in to comment.