Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8573615
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T19:17:33+00:00 2026-06-11T19:17:33+00:00

Is it possible to make a TeeChart’s background transparent? I’m using v2011.03.32815 (the version

  • 0

Is it possible to make a TeeChart’s background transparent? I’m using v2011.03.32815 (the version which comes out of the box with Delphi XE2). I found a somewhat working solution here but it’s not what I need. My DBCharts are inside a frame, and the background on which the charts are drawn might change. So, any ideas?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T19:17:34+00:00Added an answer on June 11, 2026 at 7:17 pm

    What about the example Yeray posted here?

    This applied to a multiple chart form/panel could be something like this:

    procedure TFrame3.Chart1BeforeDrawChart(Sender: TObject);
    begin
      MakeChartTransparent(Chart1, Back1);
    end;
    
    procedure TFrame3.Chart2BeforeDrawChart(Sender: TObject);
    begin
      MakeChartTransparent(Chart2, Back2);
    end;
    
    procedure TFrame3.Chart3BeforeDrawChart(Sender: TObject);
    begin
      MakeChartTransparent(Chart3, Back3);
    end;
    
    procedure TFrame3.MakeChartTransparent(Chart: TChart; var Back: TBitmap);
    begin
      if not Assigned(Back) then
      begin
        Back:=TBitmap.Create;
        Back.Width:=Chart.Width;
        Back.Height:=Chart.Height;
    
        Back.Canvas.CopyRect(Chart.ClientRect, (Self.Parent as TForm).Canvas, Chart.BoundsRect);
      end;
    
      if Chart.Color=clNone then
         Chart.Canvas.Draw(0,0,Back);
    end;
    
    procedure TFrame3.Timer1Timer(Sender: TObject);
    begin
      Chart1[0].FillSampleValues();
      Chart2[0].FillSampleValues();
      Chart3[0].FillSampleValues();
    end;
    

    Note that the back bitmap needs to be initialized for every chart.

    Don’t forget to set your charts transparent at form’s OnCreate event:

    procedure TForm2.FormCreate(Sender: TObject);
    begin
      Frame31.Chart1.Color:=clNone;
      Frame31.Chart2.Color:=clNone;
      Frame31.Chart3.Color:=clNone;
    end;
    

    Full project is available here.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

is it possible to make the SherlockActionBar semi-transparent, without assigning it a background drawable?
Possible Duplicate: Make error: missing separator I am so stressed out by this silly
Possible Duplicate: Make iPhone app paid version replace free version on install from app
Is it possible make a CCSprite to black and white one using setBlendFunc ?
when using a makefile, I want the following to be possible: make clean make
it's possible make a dropdown menu where menu's fields are datas that comes from
Is possible to make stylish for browse button <input type=file /> using CSS and
Possible Duplicate: Make a JavaScript-aware Crawler I'm trying to figure out what to use
Possible Duplicate: Make Div on right side fill out all available space I'm designing
Is it possible to make a site with ASP.NET MVC Framework using .NET 2.0?

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.