Print Page | Close Window

Resize charts to fit form area

Printed From: TMS Software
Category: VCL Components
Forum Name: VCL Chart
Forum Discription:
URL: http://www.tmssoftware.com/site/forum/forum_posts.asp?TID=7846
Printed Date: 21 Feb 2020 at 12:45am


Topic: Resize charts to fit form area
Posted By: Soraru Andreas
Subject: Resize charts to fit form area
Date Posted: 17 May 2017 at 10:48pm
HI there ... i am working on a website analysis software and on the dashboard i placed some charts. But i did not find a way to let them automatically size into the given area so all of the chart is visible. I know there is a way but i couldn't find it until now charttypes will be pie, halfpie, donut, hapfdonut and bar  ... maybe someone can give a small tipp/advice wich switch to toggle to get this done or wich keyword will help me figuring out how to do this,

Regards, 

AnDashboard Viewdreas



Replies:
Posted By: Pieter Scheldeman
Date Posted: 18 May 2017 at 8:46am
Hi, 

Each Series has a Pie property which has a SizeType property. By default, the SizeType property is set to pstPixels which uses the size in pixels. When set to pstPercentage, the Size is the amount of percentage that is used from the available area in which the pie will be drawn.


Posted By: Soraru Andreas
Date Posted: 18 May 2017 at 11:35am
Hi Pieter ..... thanks a lot ... that makes my day :-)

Best regards,

Andreas



Print Page | Close Window