# Makie Observables

**URL:** <https://discourse.julialang.org/t/makie-observables/69796>\
**Category:** New to Julia\
**Tags:** glmakie\
**Created:** [October 15, 2021, 2:22am UTC](https://discourse.julialang.org/t/makie-observables/69796 "2021-10-15T02:22:30Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![mmiller](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mmiller/32/20805_2.png) [@mmiller](https://discourse.julialang.org/u/mmiller)\
**Post date:** [October 15, 2021, 6:41am UTC](https://discourse.julialang.org/t/makie-observables/69796/2 "2021-10-15T06:41:59Z")

</div>

Hi Steve,

To listen to observables use `on` for one observable or `orany` for multiple

```julia
onany(StartDate, EndDate) do start_date, end_date
    xlims!(Price_ax, start_date, end_date)
end

```

This is now listening for when the observable changes, and then passing the values into `xlims` with either of `StartDate` or `EndDate` changes, and you should see there are listeners for both observables.

Also if you use backticks around code in discourse posts its much easier to read! See

> [@Please read: make it easier to help you](https://discourse.julialang.org/t/please-read-make-it-easier-to-help-you/14757):
>
> Welcome to the Julia Discourse! We are enthusiastic about helping Julia programmers, both beginner and experienced. This public service announcement (PSA) outlines best practices when asking for help. Following these points makes it easier for us to help you and more likely you’ll get a prompt, useful answer. Keywords are highlighted to make it easier to refer to specific points. Choose a descriptive title that captures the key part of your question, eg “plots with multiple axes” instead of …

---

_[View the full topic](https://discourse.julialang.org/t/makie-observables/69796)._
