how can I change background color of a chart?

TeeChart for JavaScript for the HTML5 Canvas
Post Reply
goodsj
Newbie
Newbie
Posts: 18
Joined: Thu Jan 25, 2018 12:00 am

how can I change background color of a chart?

Post by goodsj » Tue May 14, 2019 2:35 am

img2.jpg
img2.jpg (162.49 KiB) Viewed 38628 times
I set to "walls.visible = true".

Default color is not match my website.

How to change it is?

Thank you.

Yeray
Site Admin
Site Admin
Posts: 9613
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: how can I change background color of a chart?

Post by Yeray » Wed May 15, 2019 9:22 am

Hello,

You can set the back wall. Ie:

Code: Select all

  Chart1.walls.back.format.gradient.visible=false;
  Chart1.walls.back.format.fill="gray";  
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

goodsj
Newbie
Newbie
Posts: 18
Joined: Thu Jan 25, 2018 12:00 am

Re: how can I change background color of a chart?

Post by goodsj » Wed May 22, 2019 11:15 pm

Thank you^^

Post Reply