# Perspective - Bind PowerChart pointCount to Text Field

**URL:** <https://forum.inductiveautomation.com/t/perspective-bind-powerchart-pointcount-to-text-field/96981>\
**Category:** Ignition\
**Tags:** ignition81, perspective\
**Created:** [October 8, 2024, 4:19pm UTC](https://forum.inductiveautomation.com/t/perspective-bind-powerchart-pointcount-to-text-field/96981 "2024-10-08T16:19:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Penguin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/penguin/32/55528_2.png) [@Penguin](https://forum.inductiveautomation.com/u/Penguin)\
**Post date:** [October 8, 2024, 4:19pm UTC](https://forum.inductiveautomation.com/t/perspective-bind-powerchart-pointcount-to-text-field/96981/1 "2024-10-08T16:19:04Z")

</div>

I'm trying to make it so that users can dynamically set the pointCount for a PowerChart. Specifically, I want to be able to zoom in to an area of interest in the graph, set the pointCount to -1, and then export to get a CSV with all collected data points in that visible range.

I've tried configuring a Property Binding on the chart's config/pointCount to a Text Field, but the chart doesn't change when I update the Text Field.

Any thoughts on how I might be able to do this?

---

<div class="post-metadata">

**Author:** ![ryan.white](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ryan.white/32/73193_2.png) [@ryan.white](https://forum.inductiveautomation.com/u/ryan.white)\
**Post date:** [October 8, 2024, 7:14pm UTC](https://forum.inductiveautomation.com/t/perspective-bind-powerchart-pointcount-to-text-field/96981/2 "2024-10-08T19:14:29Z")

</div>

Try using a numeric field instead a text field. It may not be working because you are passing in a string when the table config is expecting a number.

Did you also make sure the binding was bidirectional? (small thing but I have made this mistake before)

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [October 8, 2024, 8:24pm UTC](https://forum.inductiveautomation.com/t/perspective-bind-powerchart-pointcount-to-text-field/96981/3 "2024-10-08T20:24:54Z")

</div>

From memory, I remember this not being changeable from the client, as I think I tried the same thing a while ago... But I don't remember what I did last week, so take that with a grain of salt 😬 I'll see if it's on my list I gave to IA at ICC

---

<div class="post-metadata">

**Author:** ![Penguin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/penguin/32/55528_2.png) [@Penguin](https://forum.inductiveautomation.com/u/Penguin)\
**Post date:** [October 8, 2024, 8:31pm UTC](https://forum.inductiveautomation.com/t/perspective-bind-powerchart-pointcount-to-text-field/96981/4 "2024-10-08T20:31:06Z")

</div>

I had used a Text Field instead of a Numeric Entry Field. It is working now. Thanks!
