Page 1 of 1

Pie Chart Size Adjustment?

Posted: Tue Aug 29, 2017 1:01 pm
by 16881567
Hi,

Been using TDBChart successfully in VCL, and wanted to build the same form in my FMX app. Created the dialogs and charts to be roughly the same size, however, the FMX version of the chart is very small in comparison to the same chart rendered in the VCL version. It's pretty much unusable in its current form.

What is the proper way to make the actual chart itself larger so that it's easier to read?

Thanks.

Mic

Re: Pie Chart Size Adjustment?

Posted: Tue Aug 29, 2017 7:58 pm
by 16881567
Ok, I found that the issue was related to the size of the labels that describe the pie chart itself. If the label is shorter, the chart size increased. Still wish there was a way to manually set this because even so the chart could be larger within the space of the component's panel.

Re: Pie Chart Size Adjustment?

Posted: Thu Aug 31, 2017 8:12 am
by yeray
Hello,

I've checked it has the same behaviour in VCL and FMX. The CircleRect is adjusted to fit the Marks.
If you don't want this to happen, you can hide the Marks and draw them manually at OnAfterDraw event or using TAnnotationTools.