Recent

Author Topic: TChart transparent  (Read 2274 times)

sunbreezy393

  • New Member
  • *
  • Posts: 11
TChart transparent
« on: December 20, 2015, 02:27:20 pm »
I was wandering if someone could help me with how to make TChart transparent ?

I have tried using .ClNone and BackColor.Visible := False, but nothing is working.

wp

  • Hero Member
  • *****
  • Posts: 11916
Re: TChart transparent
« Reply #1 on: December 20, 2015, 03:01:29 pm »
TChart per se is not transparent. I suppose you want to see the underlying form. What you can do is to paint the form - without the chart - into a bitmap and repaint the bitmap, with an appropriate offset, in the chart's OnBeforeBackground event. See http://wiki.lazarus.freepascal.org/TAChart_Tutorial:_Background_design for more details.

P.S. Please delete the other post on the same topic. People don't like double-posts here.
« Last Edit: December 20, 2015, 03:03:57 pm by wp »

 

TinyPortal © 2005-2018