# Using GG Plot and Grammar of Graphics in Dashboards

**URL:** <https://forum.kx.com/t/using-gg-plot-and-grammar-of-graphics-in-dashboards/12211>\
**Category:** Community Support\
**Tags:** add-ons\
**Created:** [September 13, 2021, 8:19am UTC](https://forum.kx.com/t/using-gg-plot-and-grammar-of-graphics-in-dashboards/12211 "2021-09-13T08:19:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lmills](https://avatars.discourse-cdn.com/v4/letter/l/e9a140/32.png) [@lmills](https://forum.kx.com/u/lmills)\
**Post date:** [September 13, 2021, 8:19am UTC](https://forum.kx.com/t/using-gg-plot-and-grammar-of-graphics-in-dashboards/12211/1 "2021-09-13T08:19:00Z")

</div>

I have created a demo of a dashboard using GG Plot to create a candlesticks graph which can be panned and zoomed and displays trade positions which run off screen. The code and details on how to set up the demo can be found here:&nbsp;https://github.com/lmills2/ggplot\_candlesticks

&nbsp;

---

<div class="post-metadata">

**Author:** ![lkerr1](https://avatars.discourse-cdn.com/v4/letter/l/57b2e6/32.png) [@lkerr1](https://forum.kx.com/u/lkerr1)\
**Post date:** [September 13, 2021, 9:51am UTC](https://forum.kx.com/t/using-gg-plot-and-grammar-of-graphics-in-dashboards/12211/2 "2021-09-13T09:51:00Z")

</div>

This is awesome Liam! Thanks for sharing with the Community!

Laura

---

<div class="post-metadata">

**Author:** ![dfallon1](https://avatars.discourse-cdn.com/v4/letter/d/2acd7d/32.png) [@dfallon1](https://forum.kx.com/u/dfallon1)\
**Post date:** [September 16, 2021, 5:10pm UTC](https://forum.kx.com/t/using-gg-plot-and-grammar-of-graphics-in-dashboards/12211/3 "2021-09-16T17:10:00Z")

</div>

You can also plot financial data with Dashboards Financial Charts component, with a range of chart types (candlestick, OHLC, line) 30 technical indicators and custom notes and overlays.&nbsp; Users can then save their chart for sharing with colleagues.&nbsp;

For more information, including an explanation on the different indicators, check out code.kx.com.
