Page 1 of 1
Half Pie
Posted: Thu Oct 10, 2013 3:25 pm
by 17066993
Hi,
How can I create a half-moon or pie using the library as shown in the picture?
![half-moon.gif](./download/file.php?id=3658&sid=8ee4195baa7dadea76321b6d83f34b7f)
- half-moon.gif (9.66 KiB) Viewed 8698 times
I need multiple slices on a 180 degrees pie so I'm not sure if a gauge or dial is appropriate for this.
Thanks!
Re: Half Pie
Posted: Thu Oct 10, 2013 3:45 pm
by yeray
Re: Half Pie
Posted: Fri Oct 11, 2013 1:18 am
by 17066993
Thanks for the help - it's working now. Can I do the same (multiple slices representing data) on a half circular gauge?
Re: Half Pie
Posted: Fri Oct 11, 2013 7:54 am
by yeray
Hi,
ecm wrote:Can I do the same (multiple slices representing data) on a half circular gauge?
I'm not sure to understand what do you exactly mean.
You can have a half circular gauge setting the
TotalAngle and
DisplayTotalAngle properties:
Code: Select all
CircularGauge circ1 = new CircularGauge(tChart1.getChart());
circ1.setValue(10);
circ1.setTotalAngle(180);
circ1.setDisplayTotalAngle(180);
On the other hand, you refer to the red and green lines in the circular gauges. Maybe you would like to have more lines highlighting different sections in the gauge. I'm afraid it's not possible right now but it's on the wish list to be implemented in future releases (TJ71016736).
If you are trying to do something different to the options commented above, please try to arrange a simple example project we can run as-is to reproduce the problem here.