# Easy Chart Trend options

**URL:** <https://forum.inductiveautomation.com/t/easy-chart-trend-options/21345>\
**Category:** Ignition\
**Created:** [December 11, 2018, 6:30pm UTC](https://forum.inductiveautomation.com/t/easy-chart-trend-options/21345 "2018-12-11T18:30:14Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![alex.cordova.ee](https://avatars.discourse-cdn.com/v4/letter/a/f1d935/32.png) [@alex.cordova.ee](https://forum.inductiveautomation.com/u/alex.cordova.ee)\
**Post date:** [December 11, 2018, 6:30pm UTC](https://forum.inductiveautomation.com/t/easy-chart-trend-options/21345/1 "2018-12-11T18:30:14Z")

</div>

How do add real time and historical option. Kind like a selection option.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [December 11, 2018, 6:41pm UTC](https://forum.inductiveautomation.com/t/easy-chart-trend-options/21345/3 "2018-12-11T18:41:39Z")

</div>

You can place your own checkbox on top of the chart in some under-utilized whitespace and create binding for the chart mode that looks at it.

---

<div class="post-metadata">

**Author:** ![paulm1](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paulm1/32/5900_2.png) [@paulm1](https://forum.inductiveautomation.com/u/paulm1)\
**Post date:** [December 11, 2018, 6:42pm UTC](https://forum.inductiveautomation.com/t/easy-chart-trend-options/21345/4 "2018-12-11T18:42:51Z")

</div>

The way I have done it in the past is to create a real time trend/report and a separate Historical trend/report and then put a PB on the screen that will toggle between the two reports using their visibility property.

RealTime report/trend visibility Property Expression Binding might be like this -

```
{Root Container.Toggle Button.selected} = 0

```

And the Historical Visibility Property Expression Binding like this -

```
{Root Container.Toggle Button.selected} = 1
```

---

<div class="post-metadata">

**Author:** ![alex.cordova.ee](https://avatars.discourse-cdn.com/v4/letter/a/f1d935/32.png) [@alex.cordova.ee](https://forum.inductiveautomation.com/u/alex.cordova.ee)\
**Post date:** [December 11, 2018, 7:09pm UTC](https://forum.inductiveautomation.com/t/easy-chart-trend-options/21345/5 "2018-12-11T19:09:02Z")

</div>

Is there a way to write to this?  
 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/4/4f72051711d87a7cf609fddf70f44a8570eba595.png)

---

<div class="post-metadata">

**Author:** ![alex.cordova.ee](https://avatars.discourse-cdn.com/v4/letter/a/f1d935/32.png) [@alex.cordova.ee](https://forum.inductiveautomation.com/u/alex.cordova.ee)\
**Post date:** [December 11, 2018, 7:12pm UTC](https://forum.inductiveautomation.com/t/easy-chart-trend-options/21345/6 "2018-12-11T19:12:29Z")

</div>

OK, I tried it and it work using memory tag, but is has three options, have to figure out write the options out using buttons or selector.

---

<div class="post-metadata">

**Author:** ![bellm](https://avatars.discourse-cdn.com/v4/letter/b/b5e925/32.png) [@bellm](https://forum.inductiveautomation.com/u/bellm)\
**Post date:** [December 11, 2018, 7:15pm UTC](https://forum.inductiveautomation.com/t/easy-chart-trend-options/21345/7 "2018-12-11T19:15:31Z")

</div>

Here is how I am doing it:

 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/9/94f7006c200d7392f9de2400e50bf6f7ddc58c5d.png)

---

<div class="post-metadata">

**Author:** ![alex.cordova.ee](https://avatars.discourse-cdn.com/v4/letter/a/f1d935/32.png) [@alex.cordova.ee](https://forum.inductiveautomation.com/u/alex.cordova.ee)\
**Post date:** [December 11, 2018, 7:18pm UTC](https://forum.inductiveautomation.com/t/easy-chart-trend-options/21345/8 "2018-12-11T19:18:01Z")

</div>

Nice, thanks. You guys are the best! I am on a quick learning curve here coming from Allen Bradley ME/SE.

---

<div class="post-metadata">

**Author:** ![alex.cordova.ee](https://avatars.discourse-cdn.com/v4/letter/a/f1d935/32.png) [@alex.cordova.ee](https://forum.inductiveautomation.com/u/alex.cordova.ee)\
**Post date:** [December 11, 2018, 8:04pm UTC](https://forum.inductiveautomation.com/t/easy-chart-trend-options/21345/9 "2018-12-11T20:04:29Z")

</div>

How did you group the buttons next to each other ?

---

<div class="post-metadata">

**Author:** ![alex.cordova.ee](https://avatars.discourse-cdn.com/v4/letter/a/f1d935/32.png) [@alex.cordova.ee](https://forum.inductiveautomation.com/u/alex.cordova.ee)\
**Post date:** [December 11, 2018, 8:05pm UTC](https://forum.inductiveautomation.com/t/easy-chart-trend-options/21345/10 "2018-12-11T20:05:18Z")

</div>

I got it! never mind.
