# Display KWh Usage (Day, Month, Year) on Bar Charts using Perspective

**URL:** <https://forum.inductiveautomation.com/t/display-kwh-usage-day-month-year-on-bar-charts-using-perspective/74638>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [June 6, 2023, 2:13pm UTC](https://forum.inductiveautomation.com/t/display-kwh-usage-day-month-year-on-bar-charts-using-perspective/74638 "2023-06-06T14:13:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![John\_Krzyzaniak](https://avatars.discourse-cdn.com/v4/letter/j/bb73d2/32.png) [@John\_Krzyzaniak](https://forum.inductiveautomation.com/u/John_Krzyzaniak)\
**Post date:** [June 6, 2023, 2:13pm UTC](https://forum.inductiveautomation.com/t/display-kwh-usage-day-month-year-on-bar-charts-using-perspective/74638/1 "2023-06-06T14:13:30Z")

</div>

I need to create Bar Charts to display KWh historical data. We have several Square D PowerLogic meters connected to Ignition via Modbus TCP/IP. I have been collecting raw KWh data in historian, just need to be able to display it something like this;  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/9/2/922d20f05d46a9ab6ac3e72ffbb62c07e97ddf90.png)

Can I display a bar chart using the Power Chart? Or, will I need to use a XY Chart?

Thanks

---

<div class="post-metadata">

**Author:** ![Austin\_Dollar](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/austin_dollar/32/37052_2.png) [@Austin\_Dollar](https://forum.inductiveautomation.com/u/Austin_Dollar)\
**Post date:** [June 13, 2023, 9:15pm UTC](https://forum.inductiveautomation.com/t/display-kwh-usage-day-month-year-on-bar-charts-using-perspective/74638/2 "2023-06-13T21:15:17Z")

</div>

Hi @John_Krzyzaniak,

The Power Chart in Perspective is designed for pens with potential X Traces, and is configured as a line chart, you unfortunately will not be able to convert it to a Bar Chart.

However, a variant of the XY Chart, the Timeseries chart is a more Tag History friendly variant of it, which supports a bar chart configuration:

[Perspective - Time Series Chart - Ignition User Manual 8.1 - Ignition Documentation](https://docs.inductiveautomation.com/display/DOC81/Perspective+-+Time+Series+Chart#:~:text=Bar%20chart%20%2D%20Layout%20set%20up%20as%20a%20bar%20chart).

You can utilize the tag history binding to easily show your historical tag data on the chart with a tag history binding:

[https://docs.inductiveautomation.com/display/DOC81/Tag+History+Bindings+in+Perspective](https://docs.inductiveautomation.com/display/DOC81/Tag+History+Bindings+in+Perspective)

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [June 13, 2023, 9:18pm UTC](https://forum.inductiveautomation.com/t/display-kwh-usage-day-month-year-on-bar-charts-using-perspective/74638/3 "2023-06-13T21:18:36Z")

</div>

> [@John\_Krzyzaniak](#):
>
> to display KWh historical data

That'll be kelvin-watt-hours. Make sure you label it 'kWh'.
