Auto resize problem
FusionCharts Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        


12»»

Auto resize problem Expand / Collapse
Author
Message
Posted 7/10/2007 11:32:21 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 2/15/2008 12:55:46 PM
Posts: 6, Visits: 29
Hi All.

First thing i want to say is 'I like your charts'.

Currently trying to make it autoresizeable. I found documentation about it here http://fusioncharts.com/Docs/Contents/PercentResize.html

so i added new param 'scaleMode=exactFit' and it worked.
But it is wrong. It resizing all: lines, fonts, anything on chart. It should just redraw chart data depend on new chart size.

i can show example here http://teethgrinder.co.uk/open-flash-chart/gallery-bg-image.php. here resizing works properly.
don't think it is spam.

i realy like fusion charts and using it in my project. but i am wondering it cant normaly autoresized.

may be i am making something wrong? i realy not need resize all visible chart data like fonts, line width, margin, etc. Look how makes it at open-flash-charts.

Thank You
Post #1583
Posted 7/16/2007 11:01:55 PM
FusionCharts Team

FusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts Team

Group: Administrators
Last Login: 7/29/2008 12:15:49 PM
Posts: 2,001, Visits: 474
Hi,

We recommend using the pixel based resizing instead of percent based resizing. When you set the width/height in percentage, the control for resizing moves out from the chart to browser.

Thanks,
Pallav Nadhani
FusionCharts Team

Post #1628
Posted 7/17/2007 5:56:30 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 2/15/2008 12:55:46 PM
Posts: 6, Visits: 29
Hi

but pixel based size will not give me autoresize ability.
i need autoresize chart if browser was resized.

can you show me example what you mean please?

Thank you
Post #1659
Posted 7/18/2007 12:25:54 AM
FusionCharts Team

FusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts Team

Group: Administrators
Last Login: 7/29/2008 12:15:49 PM
Posts: 2,001, Visits: 474
That's not possible using FusionCharts, as we do not recommend percent based sizing.

Thanks,
Pallav Nadhani
FusionCharts Team
Post #1668
Posted 8/17/2007 1:43:20 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 5/22/2008 6:07:34 PM
Posts: 6, Visits: 11
Pallav (7/16/2007)
Hi,

We recommend using the pixel based resizing instead of percent based resizing. When you set the width/height in percentage, the control for resizing moves out from the chart to browser.


How do you resize a chart already displayed in pixels then? (From a webpage using JS)
Post #2004
Posted 8/22/2007 1:22:14 AM
FusionCharts Team

FusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts Team

Group: Administrators
Last Login: 7/29/2008 12:15:49 PM
Posts: 2,001, Visits: 474
Once the chart is rendered, the only way to resize it again would be re-draw it.

Thanks,
Pallav Nadhani
FusionCharts Team
Post #2036
Posted 8/22/2007 2:09:53 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 5/22/2008 6:07:34 PM
Posts: 6, Visits: 11
Pallav (8/22/2007)
Once the chart is rendered, the only way to resize it again would be re-draw it.


you mean that i should remove the object/embed tag from the html dom and recreate it with different parameters?
Post #2053
Posted 8/23/2007 12:12:04 AM
FusionCharts Team

FusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts Team

Group: Administrators
Last Login: 7/29/2008 12:15:49 PM
Posts: 2,001, Visits: 474
Yes - something like http://www.fusioncharts.com/free/docs/Contents/JS_changeChart.html - here we're changing the entire chart - but you can keep the same chart, but just resize it.

Thanks,
Pallav Nadhani
FusionCharts Team
Post #2066
Posted 8/23/2007 1:26:04 PM