# XY Chart Background Fill

**URL:** <https://forum.inductiveautomation.com/t/xy-chart-background-fill/26386>\
**Category:** Ignition Early Access\
**Created:** [July 9, 2019, 2:00pm UTC](https://forum.inductiveautomation.com/t/xy-chart-background-fill/26386 "2019-07-09T14:00:49Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![vcgasman](https://avatars.discourse-cdn.com/v4/letter/v/ecc23a/32.png) [@vcgasman](https://forum.inductiveautomation.com/u/vcgasman)\
**Post date:** [July 9, 2019, 2:00pm UTC](https://forum.inductiveautomation.com/t/xy-chart-background-fill/26386/1 "2019-07-09T14:00:49Z")

</div>

I would like to color the background of my plot area but it changes the background color of the entire xy chart component. Is this expected behavior or even possible to change the background color of just the plot area? See EasyChart example from Vision and my other screenshot of Perspective’s XY Chart.

 ![Capture_bground](https://us1.discourse-cdn.com/inductiveautomation/original/2X/d/d1547631f0a3e5942584ea1e98b03fd056a258c0.jpeg) ![Capture_subplots](https://us1.discourse-cdn.com/inductiveautomation/original/2X/a/a4a20cdba0f6e6b355cb609d582aadf38aa051c5.jpeg)

---

<div class="post-metadata">

**Author:** ![ynejati](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ynejati/32/6093_2.png) [@ynejati](https://forum.inductiveautomation.com/u/ynejati)\
**Post date:** [July 16, 2019, 11:28pm UTC](https://forum.inductiveautomation.com/t/xy-chart-background-fill/26386/2 "2019-07-16T23:28:07Z")

</div>

Hi,

Sorry for the delay. We have not exposed the ability to set the background color on the plot area only. For the time being, if you’re going with a dark mode, I might suggest setting the axis and legend label colors to match the color of your x and y axes grid lines. From a web design perspective, it would be considered better design (but this is just my opinion).

-Yousuf

---

<div class="post-metadata">

**Author:** ![nader.chinichian](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nader.chinichian/32/9261_2.png) [@nader.chinichian](https://forum.inductiveautomation.com/u/nader.chinichian)\
**Post date:** [November 9, 2019, 9:32pm UTC](https://forum.inductiveautomation.com/t/xy-chart-background-fill/26386/3 "2019-11-09T21:32:56Z")

</div>

Do you have any plan to expose background of XY chart? or Date picker.  
unfortunately, the dark theme doesn’t work.

---

<div class="post-metadata">

**Author:** ![ynejati](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ynejati/32/6093_2.png) [@ynejati](https://forum.inductiveautomation.com/u/ynejati)\
**Post date:** [November 11, 2019, 3:50pm UTC](https://forum.inductiveautomation.com/t/xy-chart-background-fill/26386/4 "2019-11-11T15:50:06Z")

</div>

Hi, Nader.

You mean the plot area, similar to above? The XYChart does have a background property where you can set the background color of the entire chart. The date picker, yes, when we get back to the task of fully implementing theming in Perspective, where approximately 90% of the components will have both a light and dark theme right out of the box.

---

<div class="post-metadata">

**Author:** ![nader.chinichian](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nader.chinichian/32/9261_2.png) [@nader.chinichian](https://forum.inductiveautomation.com/u/nader.chinichian)\
**Post date:** [November 11, 2019, 4:31pm UTC](https://forum.inductiveautomation.com/t/xy-chart-background-fill/26386/5 "2019-11-11T16:31:47Z")

</div>

Yes but it doesn’t work and constantly overwrite by chart white background.
