# Perspective Power Chart Double x-Axis

**URL:** <https://forum.inductiveautomation.com/t/perspective-power-chart-double-x-axis/97410>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [October 17, 2024, 5:06pm UTC](https://forum.inductiveautomation.com/t/perspective-power-chart-double-x-axis/97410 "2024-10-17T17:06:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Enrico\_Aramini](https://avatars.discourse-cdn.com/v4/letter/e/50afbb/32.png) [@Enrico\_Aramini](https://forum.inductiveautomation.com/u/Enrico_Aramini)\
**Post date:** [October 17, 2024, 5:06pm UTC](https://forum.inductiveautomation.com/t/perspective-power-chart-double-x-axis/97410/1 "2024-10-17T17:06:29Z")

</div>

Hi there,  
In a Power Chart I need to display an histogram (bars) to show the calories of different foods (it's only an example).  
My X-Axis is based on "categories of food" like:

```
Orange
Banana
Cucumber
Tomato

```

I wish to add a second X-Axis that define the family of the food just below the first x-axis. It should show:

```
Fruit (for Orange and Banana)
Vegetable (for Cucumber and Tomato)

```

Is this a feature available?  
Thank you in advance for sharing your experience or for any hints.

Enrico

---

<div class="post-metadata">

**Author:** ![bmusson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bmusson/32/87530_2.png) [@bmusson](https://forum.inductiveautomation.com/u/bmusson)\
**Post date:** [October 17, 2024, 10:40pm UTC](https://forum.inductiveautomation.com/t/perspective-power-chart-double-x-axis/97410/2 "2024-10-17T22:40:29Z")

</div>

My [Embr Charts](https://forum.inductiveautomation.com/t/musson-industrial-s-embr-charts-module/91618) module’s `Chart.js` component comes with a plugin that supports hierarchical axes.

Checkout this example, it sounds like what you’re looking for:

> **[Static Expanding | chartjs-plugin-hierarchical](https://www.sgratzl.com/chartjs-plugin-hierarchical/examples/static.html)**
>
> Chart.js module for hierarchical categories

It also supports expanding/collapsing based on group.
