Page 1 of 1

Customizing Gauge series

Posted: Tue Dec 20, 2011 1:29 pm
by 15659467
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 5227 times
Waiting for your valuable reply....

Thanks & Regards,
Planoresearch

Re: Customizing Gauge series

Posted: Thu Dec 22, 2011 10:30 am
by 10050769
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,

Re: Customizing Gauge series

Posted: Mon Dec 26, 2011 2:11 pm
by 15659467
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

Re: Customizing Gauge series

Posted: Tue Dec 27, 2011 2:15 pm
by 10050769
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,