Page 1 of 1

asp webchart width

Posted: Wed Feb 18, 2009 5:10 am
by 13051546
when specifiying the width of a webchart to 100%, it seems to treat that width as a fixed px rather than a percentage.

obviously im wanting to make my chart 100% of a table width, but cant seem to get webchart to hit that amount. is this a bug or is there a workaround?

thanks.

Posted: Wed Feb 18, 2009 9:31 am
by 10050769
Hi simon,


Please, could you send us a simple example project we can run "as-is" to reproduce the problem here?You can either post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page



Thanks, in advances

Posted: Thu Feb 19, 2009 12:10 am
by 13051546
hi sandra.

its pretty self explainitory.

create a new asp web application. drop a webchart component into the div. set the width to 100%. youll notice instantly in the designer that it resizes to 100px. so it doesnt seem to consider the specified width as a percentage, yet allows it as an input.

this is also the case at runtime. i presume its a bug?

Posted: Thu Feb 19, 2009 10:06 am
by 10050769
Hi simon,

Thanks for the information. We understand which is the problem now. Unfortunately TeeChart doesn't support setting dimensions in percentage as explained here: http://www.teechart.net/support/viewtopic.php?t=2572