# Remove power chart border

**URL:** <https://forum.inductiveautomation.com/t/remove-power-chart-border/61187>\
**Category:** Ignition\
**Created:** [June 24, 2022, 8:49pm UTC](https://forum.inductiveautomation.com/t/remove-power-chart-border/61187 "2022-06-24T20:49:01Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![lrose](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/lrose/32/62724_2.png) [@lrose](https://forum.inductiveautomation.com/u/lrose)\
**Post date:** [June 27, 2022, 12:01pm UTC](https://forum.inductiveautomation.com/t/remove-power-chart-border/61187/6 "2022-06-27T12:01:00Z")

</div>

> [@Aiasa21](#):
>
> I’ve red something about using .psc or something like this but is not very clear. Could you explain this please?

To apply it to just a single power chart you have to create a style class and then use a selector that selects only power charts with that style class. There is an example in this thread.

> [@Power chart pen control](https://forum.inductiveautomation.com/t/power-chart-pen-control/60932/6):
>
> It is possible, though I don’t know the correct selector syntax off the top of my head. You have to do something where your selector calls out your specific style class, such that only power charts with that style class are affected. something like: } .psc-hidePowerChartPensExpandButton .ia\_powerChartComponent ...{@victordcq

> [@Aiasa21](#):
>
> why when I asked about the power chart border you told me to put the code into the background image?

When editing styles there are certain places that will accept text and some others that will not. It's only important that you place the CSS in a place where it will be accepted as typed.

> [@Aiasa21](#):
>
> so I wonder what is the correct way to insert css code into a Style.

The correct way is to create a style class and then modify your theme file. This method is really just an unintended side effect of the way styles and style classes work in Ignition. We can take advantage of it and "inject" css in to the theme. It's kind of a short-cut but isn't really the supported method for applying advanced CSS to your project.

---

_[View the full topic](https://forum.inductiveautomation.com/t/remove-power-chart-border/61187)._
