# Perspective 8.0.14 Time Series Bar Chart width

**URL:** <https://forum.inductiveautomation.com/t/perspective-8-0-14-time-series-bar-chart-width/37160>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [July 28, 2020, 2:30pm UTC](https://forum.inductiveautomation.com/t/perspective-8-0-14-time-series-bar-chart-width/37160 "2020-07-28T14:30:33Z")\
**Posts on this page:** 4\
**Page:** 2

<div class="post-metadata">

**Author:** ![andreas](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/andreas/32/18981_2.png) [@andreas](https://forum.inductiveautomation.com/u/andreas)\
**Post date:** [April 12, 2023, 8:51am UTC](https://forum.inductiveautomation.com/t/perspective-8-0-14-time-series-bar-chart-width/37160/23 "2023-04-12T08:51:12Z")

</div>

Hi,

In my stylesheet.css I added e.g. two style classes (just called them **barChart1** and **barChart2** ):

```auto
.psc-barChart1 .ia_barChart > rect {
	width: 15px;
   	transform: translate(10px)
}

.psc-barChart2 .ia_barChart > rect {
	width: 30px;
   	transform: translate(20px)
}

```

On my time series chart, I just reference which of those style classes I want to use (barChart2 in this example):

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

And the result (style barChart1 used on the upper chart, and barChart2 used on the lower chart):

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/a/f/af5dc5377e4112f3d29ae245521b08a8cca04a66.png)

---

<div class="post-metadata">

**Author:** ![eckman.tech](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/eckman.tech/32/45147_2.png) [@eckman.tech](https://forum.inductiveautomation.com/u/eckman.tech)\
**Post date:** [April 12, 2023, 11:51am UTC](https://forum.inductiveautomation.com/t/perspective-8-0-14-time-series-bar-chart-width/37160/24 "2023-04-12T11:51:19Z")

</div>

Thanks! I was missing the first part of identifying the style. In case others want to know:

```auto
.psc-barChart2 .ia_barChart > rect {
	width: 30px;
   	transform: translate(20px)
}

```

The `.psc-` is required to be appended at the beginning. Ignition parses that out.

The `barChart2` is the name of the style that will be referenced in the component.

The `.ia_barChart` is a reference to the internal Perspective style/resource (I think).

The `>` means to get a child of the bar chart and specifically getting the `rect` shape of the bars.

Then the rest is setting the width and offset of the bars.

Thanks again!

---

<div class="post-metadata">

**Author:** ![james.hamerslag](https://avatars.discourse-cdn.com/v4/letter/j/35a633/32.png) [@james.hamerslag](https://forum.inductiveautomation.com/u/james.hamerslag)\
**Post date:** [September 30, 2024, 11:40am UTC](https://forum.inductiveautomation.com/t/perspective-8-0-14-time-series-bar-chart-width/37160/25 "2024-09-30T11:40:20Z")

</div>

What is the status of the ticket for changing the bar widths on a Time Series chart?

---

<div class="post-metadata">

**Author:** ![Samueldale](https://avatars.discourse-cdn.com/v4/letter/s/57b2e6/32.png) [@Samueldale](https://forum.inductiveautomation.com/u/Samueldale)\
**Post date:** [March 6, 2025, 1:12am UTC](https://forum.inductiveautomation.com/t/perspective-8-0-14-time-series-bar-chart-width/37160/26 "2025-03-06T01:12:42Z")

</div>

I second this... seems like a huge miss not being able to adjust easily.

[Previous page](https://forum.inductiveautomation.com/t/perspective-8-0-14-time-series-bar-chart-width/37160.md?page=1)
