# PowerChart Component Error when using DB Table Historian

**URL:** <https://forum.inductiveautomation.com/t/powerchart-component-error-when-using-db-table-historian/112146>\
**Category:** Ignition\
**Tags:** ignition81, perspective\
**Created:** [November 13, 2025, 4:17am UTC](https://forum.inductiveautomation.com/t/powerchart-component-error-when-using-db-table-historian/112146 "2025-11-13T04:17:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![drojas](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/drojas/32/3403_2.png) [@drojas](https://forum.inductiveautomation.com/u/drojas)\
**Post date:** [November 13, 2025, 4:17am UTC](https://forum.inductiveautomation.com/t/powerchart-component-error-when-using-db-table-historian/112146/1 "2025-11-13T04:17:27Z")

</div>

I’m getting a Component Error only when using a DB Table Historian query on the Power Chart. If the date range entered returns no data and you have “pointCount” set to -1 or 0 (which is required to prevent interpolation of the data), then the component doesn’t fail gracefully. To get the component back, I have to select a valid time frame where data exists, then re-add the pen (or simply add another pen to cause the component to re-render).

Or, it may be related to selecting such a narrow start and end date that it forces the read-only range selector’s “rangeStartDate” and “rangeEndDate” to be the same value and causes the Component Error. I don’t know enough about the underlying design of the component to know which is causing the issue.

I am on version 8.1.45

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/1/e/1e308e258610771d40329b878d229b8f9a26be57.png)

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/0/7/0764c3f164361f8c5c96e840dc26a46c0190142b.png)

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/5/6/5687e7401f569f05a84bb58f65a133524e206521.png)

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [November 13, 2025, 7:01pm UTC](https://forum.inductiveautomation.com/t/powerchart-component-error-when-using-db-table-historian/112146/2 "2025-11-13T19:01:29Z")

</div>

If you can reproduce in a real browser session, can you get the full error message from the browser console and send it in to support?

---

<div class="post-metadata">

**Author:** ![drojas](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/drojas/32/3403_2.png) [@drojas](https://forum.inductiveautomation.com/u/drojas)\
**Post date:** [November 15, 2025, 7:50pm UTC](https://forum.inductiveautomation.com/t/powerchart-component-error-when-using-db-table-historian/112146/3 "2025-11-15T19:50:07Z")

</div>

Sent the console error to support. Thanks Paul.
