Customizing Gauge series

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Planoresearch
Newbie
Newbie
Posts: 57
Joined: Thu Jun 02, 2011 12:00 am

Customizing Gauge series

Post by Planoresearch » Tue Dec 20, 2011 1:29 pm

Hi Steema Support,

We are working on a project which is being created in silverlight and we are using TeeChart 2010 .NET SIlverlight version. We have some queries regarding Gauge Series as we need some customizations as mentioned in following lines:
1. Can we change the color of Value label of Gauge randomly. For example we want some of labels to be in green and rest in Red, as mentioned in following figure.
2. Can we add a label on the gauge as mentioned in following figure?
3. Can we change the color pattern of our TeeChart gauge as used in following figure?
1.png
1.png (159.89 KiB) Viewed 5234 times
Waiting for your valuable reply....

Thanks & Regards,
Planoresearch

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Customizing Gauge series

Post by Sandra » Thu Dec 22, 2011 10:30 am

Hello Planoresearch,
1. Can we change the color of Value label of Gauge randomly. For example we want some of labels to be in green and rest in Red, as mentioned in following figure.
3. Can we change the color pattern of our TeeChart gauge as used in following figure?
I recommend take a look in this link where explain how do you do to create your custom Gauge and I think is the best solution to achieve as you want.
2. Can we add a label on the gauge as mentioned in following figure?
In this case you can use Annotation tool to add the label in the middle of your Gauge. See some examples in All Features\Welcome !\Tools\Annotation.

If you have more questions about it, please let me know.

I hope will help.

Thanks,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Planoresearch
Newbie
Newbie
Posts: 57
Joined: Thu Jun 02, 2011 12:00 am

Re: Customizing Gauge series

Post by Planoresearch » Mon Dec 26, 2011 2:11 pm

Hi Sandra,

Thanks for your valuable link,We have gone through your link and annotation example, but it is not helping us.

Please provide any alternate solution for the query 2.
2. Can we add a label on the gauge as mentioned in figure attached first post?
Thanks in advance.

Thanks & Regards
Planoresearch

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Customizing Gauge series

Post by Sandra » Tue Dec 27, 2011 2:15 pm

Hello Planoresearch,

The other option for you is use Steema.TeeChart.Drawing.Graphics3D.TextOut method and draw the text directly in the canvas in the x and y coordinates, you can use method in AfterDraw Event as do in next simple code:

Code: Select all

 void tChart1_AfterDraw(object sender, Steema.TeeChart.Drawing.Graphics3D g)
        {
            g.TextOut(150, 120, "Circular Demo");
        }
I hope will help.

Thanks,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply