# Full Featured Easy Chart / User Configuration Saving

**URL:** <https://forum.inductiveautomation.com/t/full-featured-easy-chart-user-configuration-saving/17390>\
**Category:** Ignition\
**Created:** [March 16, 2018, 10:00am UTC](https://forum.inductiveautomation.com/t/full-featured-easy-chart-user-configuration-saving/17390 "2018-03-16T10:00:43Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![mcarritt1](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mcarritt1/32/4262_2.png) [@mcarritt1](https://forum.inductiveautomation.com/u/mcarritt1)\
**Post date:** [March 16, 2018, 10:00am UTC](https://forum.inductiveautomation.com/t/full-featured-easy-chart-user-configuration-saving/17390/1 "2018-03-16T10:00:43Z")

</div>

Hi, before I do all the work I thought I might ask if anyone would like to share with me a full featured chart page? Looking to enable customization for the user for things like pen style, subplot, tagname, etc. with things like drop down menu’s for those properties. It would be really nice to be able to call the same “Edit Pen” popup that is available in the designer for the user.

I’m also working on building functionality that would save the “Tag Pens” dataset to a table in the database with a custom name and be loaded by the user.

I’m sure these things have been built before so I thought I’d ask. Doesn’t hurt to try right? 😉

---

<div class="post-metadata">

**Author:** ![mcarritt1](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mcarritt1/32/4262_2.png) [@mcarritt1](https://forum.inductiveautomation.com/u/mcarritt1)\
**Post date:** [March 16, 2018, 10:05am UTC](https://forum.inductiveautomation.com/t/full-featured-easy-chart-user-configuration-saving/17390/2 "2018-03-16T10:05:21Z")

</div>

heh looking at the “click to graph” option now. Can I delete my topic?

---

<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:** [March 16, 2018, 12:47pm UTC](https://forum.inductiveautomation.com/t/full-featured-easy-chart-user-configuration-saving/17390/3 "2018-03-16T12:47:46Z")

</div>

> [@mcarritt1](#):
>
> Can I delete my topic?

Please don't. This is a perfect example of a post that should stay public for others to find in a search.

---

<div class="post-metadata">

**Author:** ![accyroy](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/accyroy/32/3386_2.png) [@accyroy](https://forum.inductiveautomation.com/u/accyroy)\
**Post date:** [March 16, 2018, 12:55pm UTC](https://forum.inductiveautomation.com/t/full-featured-easy-chart-user-configuration-saving/17390/4 "2018-03-16T12:55:46Z")

</div>

Indeed, I’ve been here for years and this is the first I’ve heard of click to graph. Here is the info for anyone else who’s only just heard of it [https://inductiveautomation.com/resources/How-To/how-install-and-use-click-graph](https://inductiveautomation.com/resources/How-To/how-install-and-use-click-graph).

---

<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:** [March 16, 2018, 1:49pm UTC](https://forum.inductiveautomation.com/t/full-featured-easy-chart-user-configuration-saving/17390/5 "2018-03-16T13:49:36Z")

</div>

Consider using the customization ideas of click-to-graph with the drag-and-drop custom method support in Ignition to get the best of both worlds. Note that click-to-graph was created before the tag historian existed, and therefore is designed to work with DB pens. (Hence the reason the “pens” property is for DB pens, while the historian pens had to use the more explicit “tagPens” property name.)

---

<div class="post-metadata">

**Author:** ![mcarritt1](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mcarritt1/32/4262_2.png) [@mcarritt1](https://forum.inductiveautomation.com/u/mcarritt1)\
**Post date:** [March 16, 2018, 2:07pm UTC](https://forum.inductiveautomation.com/t/full-featured-easy-chart-user-configuration-saving/17390/6 "2018-03-16T14:07:53Z")

</div>

just fyi you’ll have to manually add a new package in scripts called “app” and a new script called “ctg” and copy and paste the contents of the .py file . then you’ll need to do a replace all on the script for “app.ctg” calls and replace with project.app.ctg

---

<div class="post-metadata">

**Author:** ![mcarritt1](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mcarritt1/32/4262_2.png) [@mcarritt1](https://forum.inductiveautomation.com/u/mcarritt1)\
**Post date:** [March 16, 2018, 2:12pm UTC](https://forum.inductiveautomation.com/t/full-featured-easy-chart-user-configuration-saving/17390/7 "2018-03-16T14:12:14Z")

</div>

@pturmel yeah I’m going through it now. I think I’m going to use some pieces of this and make something new and publish it on my website 🙂

my idea for saving chart configs is to store the entire tag pens dataset to the database with associated userid and custom name. Then the user can recall the whole chart from a list or make it public with other users if they choose. other feature ideas welcome.

---

<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:** [March 16, 2018, 2:13pm UTC](https://forum.inductiveautomation.com/t/full-featured-easy-chart-user-configuration-saving/17390/8 "2018-03-16T14:13:38Z")

</div>

> [@mcarritt1](#):
>
> manually add a new package in scripts called "app"

"app" was the legacy scope that "project" has replaced. You can simply place "ctg" in the project scope and replace "app." with "project." I would also clean up all the imports (only needed at the top of the script in the modern-style python environment).

---

<div class="post-metadata">

**Author:** ![MMaynard](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mmaynard/32/3366_2.png) [@MMaynard](https://forum.inductiveautomation.com/u/MMaynard)\
**Post date:** [March 16, 2018, 6:38pm UTC](https://forum.inductiveautomation.com/t/full-featured-easy-chart-user-configuration-saving/17390/9 "2018-03-16T18:38:21Z")

</div>

Have you looked at the AdHoc Trending addon in Cloud Templates?
