User (Legacy) Posted August 11, 2006 Report Posted August 11, 2006 Is there a way to ask the chart control to resize itself to "fit" so that the full data table is shown and all columns of a graph? Thanks Mark
Software FX Posted August 12, 2006 Report Posted August 12, 2006 Well, this is a tricky one. The chart is a control contained inside another (a form, user, control, etc.), so the chart does NOT control its size, its container does. It won´t do any good to make the chart bigger if the Form that contains it remains the same. The chart can not resize the form because it wouldn´t know what to do with other controls in it, in general it is not a common practice to have a control have an effect over the size of its container. What exactly do you need ? What do you want to do with the container and other controls as the chart size is increased. What if the chart needs to be larger than the screen or the chart + other controls don´t fit in it ? All these are decisions that can only be made by the container (you) and in general there is no straight answer to them. -- Francisco Padron www.chartfx.com "mark" <mmbaker@bna.com> wrote in message news:CRexQeYvGHA.1292@webserver3.softwarefx.com... > Is there a way to ask the chart control to resize itself to "fit" so that > the full data table is shown and all columns of a graph? > > Thanks > Mark >
User (Legacy) Posted August 24, 2006 Author Report Posted August 24, 2006 Hi, We are using a secondary reporting component to do all of our reporting. So we export ChartFX graphs to images (bitmaps) and then place them in the reports. This works, but we need to tell ChartFx to size itself large enough so that it doesn´t scroll its data table or columns. Like if the user stretched the window enough. There should be some means for ChartFX to know this since it knows to show the scroll bars if it runs out of room. Ideas? Thanks Mark "Software FX Support" <noreply@softwarefx.com> wrote in message news:EotPkzivGHA.1280@webserver3.softwarefx.com... > Well, this is a tricky one. > > The chart is a control contained inside another (a form, user, control, > etc.), so the chart does NOT control its size, its container does. It > won´t do any good to make the chart bigger if the Form that contains it > remains the same. The chart can not resize the form because it wouldn´t > know what to do with other controls in it, in general it is not a common > practice to have a control have an effect over the size of its container. > > What exactly do you need ? What do you want to do with the container and > other controls as the chart size is increased. What if the chart needs to > be larger than the screen or the chart + other controls don´t fit in it ? > All these are decisions that can only be made by the container (you) and > in general there is no straight answer to them. > > -- > Francisco Padron > www.chartfx.com > > > "mark" <mmbaker@bna.com> wrote in message > news:CRexQeYvGHA.1292@webserver3.softwarefx.com... >> Is there a way to ask the chart control to resize itself to "fit" so that >> the full data table is shown and all columns of a graph? >> >> Thanks >> Mark >> > >
Recommended Posts
Archived
This topic is now archived and is closed to further replies.