diff --git a/lib/plox.ex b/lib/plox.ex
index 94f3d89..dcdf889 100644
--- a/lib/plox.ex
+++ b/lib/plox.ex
@@ -51,6 +51,8 @@ defmodule Plox do
slot :legend
slot :tooltips
+ slot :sticky_left_axis, doc: "Y-axes included in this slot will stick to the left of the graph"
+ slot :sticky_right_axis, doc: "Y-axes included in this slot will stick to the right of the graph"
slot :inner_block, required: true
def graph(assigns) do
@@ -78,10 +80,24 @@ defmodule Plox do
+
+ {render_slot(@sticky_left_axis, @graph)}
+
+
+
+ {render_slot(@sticky_right_axis, @graph)}
+
+
<%= for tooltip <- @tooltips do %>
{render_slot(tooltip, @graph)}
<% end %>
diff --git a/mix.exs b/mix.exs
index c0b8544..189c97a 100644
--- a/mix.exs
+++ b/mix.exs
@@ -1,7 +1,7 @@
defmodule Plox.MixProject do
use Mix.Project
- @version "0.3.1"
+ @version "0.3.2"
@source_url "https://github.com/gridpoint-com/plox"
def project do