Rounded corners & background
Rounded corners & background
What property do I have to change to make the black background color white or transparent? (the rounded edges look funny with black)
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
This is a .NET web project, so the code I used is:
The result is that the foreground color has changed, but not the background:
Code: Select all
Tchart1.panel.Color = ColorTranslator.FromHtml("white")
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi realize,
Are you using TeeChart Pro ActiveX or TeeChart for .NET for this project?
Are you using TeeChart Pro ActiveX or TeeChart for .NET for this project?
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi realize,
Don't worry, done!
You can see an example doing what you request at our ASP.NET on-line demo. The example can be found at List of Features\Interacting with Charts\Mouseover Hints\Modify Standard Mark Text. This demo source code is visible under the View C# Code link.
You also have a local copy of the demo at C:\Program Files\Steema Software\TeeChart for .NET v2\TeeChartForNET (default english installation path).
Don't worry, done!
You can see an example doing what you request at our ASP.NET on-line demo. The example can be found at List of Features\Interacting with Charts\Mouseover Hints\Modify Standard Mark Text. This demo source code is visible under the View C# Code link.
You also have a local copy of the demo at C:\Program Files\Steema Software\TeeChart for .NET v2\TeeChartForNET (default english installation path).
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi realize,
Look at the Chart Border section:
Look at the Chart Border section:
Code: Select all
// Chart Border
WebChart1.BackColor = Color.White;
ch1.Panel.ImageBevel.Visible = false;
ch1.Panel.ImageBevel.Pen.Visible = false;
ch1.Panel.Bevel.Outer = Steema.TeeChart.Drawing.BevelStyles.None;
ch1.Panel.Bevel.Inner = Steema.TeeChart.Drawing.BevelStyles.None;
ch1.Panel.BorderRound = 50;
ch1.Panel.Pen.Visible = false;
ch1.Panel.Shadow.Visible = false;
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
BackColor
Hello again, and thanks a lot for your swift replies.
I had already set most of these options, and just set the ones I hadn't, but I can't seem to be able to find the backcolor property (or bgcolor for the matter) directly on the chart object.
And let me guess, it's the one that sets the color behind the panel
EDIT : Nevermind, just found it, it's a web form that I was talking about, and the property was to be set in the aspx file, and not in it's codebehind
Thanks a lot once again
I had already set most of these options, and just set the ones I hadn't, but I can't seem to be able to find the backcolor property (or bgcolor for the matter) directly on the chart object.
And let me guess, it's the one that sets the color behind the panel
EDIT : Nevermind, just found it, it's a web form that I was talking about, and the property was to be set in the aspx file, and not in it's codebehind
Thanks a lot once again