Please can you tell me how to set the following in code.
I have a gauge control on my page.
1) I would like to set the font for the numbering across the axes to be larger.
2) I would like to move the numbers further down.
3) I would like to set the background to transparent.
I have noticed a bug where by if you increase the Gauge1.TotalAngle = 120 the numbering across the axis actualy runs into the axis itself is there a work around to stop this happening.
Help with Gauge Control
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Hidayah,
You need to use this:1) I would like to set the font for the numbering across the axes to be larger.
Code: Select all
gauges1.GetVertAxis.Labels.Font.Size = 12;
I don't know what do you exactly mean here. As you can see in the code line above, chart's vertical axis needs to be used so maybe reading Tutorial 4 - Axis Control may help you on that. If this doesn't help please give us some more details about what you are trying achieve.2) I would like to move the numbers further down.
Try using this:3) I would like to set the background to transparent.
Code: Select all
WebChart1.Chart.Panel.Transparent = true;
I've been able to reproduce this and added the defect (TF02012769) to our bug list to be fixed for future releases. If you are interested in using gauges I strongly recommend you to have a look at TeeChart for .NET v3 where new and nicer gauges styles have been included as you can see in the Gauges gallery. Fully functional v3's evaluation version may be obtained here.I have noticed a bug where by if you increase the Gauge1.TotalAngle = 120 the numbering across the axis actualy runs into the axis itself is there a work around to stop this happening.
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 |