Hi,
I want to change background colour of my TeeChart. presently i have gray colour and i want to change to white. I have tried by changing properties like by going into chart ==> Panel==>Background, i have changed color but still it is gray. i don't know why it is not changing. Is there any otherway or how to change background color in TeeChart. But my GUI color is also in gray. I am programming C# windows application. Anyone help me please.
Thank you very much.
veera.
How to change background colour in Teechart
Re: How to change background colour in Teechart
Hello vera,
First you must disable the Gradient of Chart, after, you be able to change the color of tChart1 as do in next line of code:
Thanks
First you must disable the Gradient of Chart, after, you be able to change the color of tChart1 as do in next line of code:
Code: Select all
tChart1.Panel.Gradient.Visible = false;
tChart1.Panel.Color = Color.White;
Best Regards,
Sandra Pazos / 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 |
Re: How to change background colour in Teechart
Hi Sandra,
I have tried as you said but it is changing when it is displaying and when i save chart then it appearing totally block. My actual problem is like this. I have the chart design is like as shown below in attachment 1 (chart design). This design is when i change panel color according to your suggestion. It is changing the outer side of chart not inside of chart.(i mean inside the block label). I want to change the color of chart inside the block label.
when i save the above chart after updating chart with some values then it is looking like in the attachment 2(chart1). that is not i want.
Before changing the panel color then it is saving like in attachment 3( chart2). Can you please help me how to change this.
Thanks in advance.
I have tried as you said but it is changing when it is displaying and when i save chart then it appearing totally block. My actual problem is like this. I have the chart design is like as shown below in attachment 1 (chart design). This design is when i change panel color according to your suggestion. It is changing the outer side of chart not inside of chart.(i mean inside the block label). I want to change the color of chart inside the block label.
when i save the above chart after updating chart with some values then it is looking like in the attachment 2(chart1). that is not i want.
Before changing the panel color then it is saving like in attachment 3( chart2). Can you please help me how to change this.
Thanks in advance.
Re: How to change background colour in Teechart
Hello Vera,
If you want change the Chart background color, you need change the color of back walls or make back wall doesn't visible. Please, taking a look at my suggestions codes to change colors:
1.- If you want wall isn't visible, need change color of panel, too:
2.- if you want only change color of back wall you must do next:
I hope will helps.
Thanks,
If you want change the Chart background color, you need change the color of back walls or make back wall doesn't visible. Please, taking a look at my suggestions codes to change colors:
1.- If you want wall isn't visible, need change color of panel, too:
Code: Select all
//Change Panel Color
tChart1.Panel.Gradient.Visible = false;
tChart1.Panel.Color = Color.Red;
//Do doesn't visible Wall Back
tChart1.Walls.Back.Visible = false;
tChart1.Walls.Back.Color = Color.Red;
Code: Select all
//Change color visible wall back
tChart1.Walls.Back.Gradient.Visible = false;
tChart1.Walls.Back.Color = Color.Red;
Thanks,
Best Regards,
Sandra Pazos / 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 |
Re: How to change background colour in Teechart
Hi sandra,
Thank you very much for your help. It works well. now i got how to change background colors.
Thanks.....
Thank you very much for your help. It works well. now i got how to change background colors.
Thanks.....
Re: How to change background colour in Teechart
Hello vera,
I am glad that my suggestion help you .
Thanks,
I am glad that my suggestion help you .
Thanks,
Best Regards,
Sandra Pazos / 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 |