Forgive me if this has already been covered in a thread. After a search through all the "scale" and "size" results, i didn't see this question come up.
Is there a way to scale the entire output of the chart, such that the resultant img is larger or smaller?
Much of the chart will automatically scale if you simply change the width and height attributes in the server side code. However, the text on the chart does not scale, and thus takes over the whole chart at small values of width and height.
A simple solution would be to throw in some client side code to resize the img tag - and that's probably what i'll end up doing if there's not an existing solution. The only issue with this solution is that the image map for clicking on the chart / tooltips must also be scaled. While i do have some existing code to perform that kind of action, i would rather avoid it if there is a way to achieve this same thing via server code for the chart. Scaling image maps in javascript isn't usually a great idea, because the values can end up being off thanks to the image map only using integers.
A server side solution could include manually scaling all of the font sizes and marker dimensions - but that seems like a lot of work.
So - is there any kind of scale factor that can be applied?
Thanks.
-RP
Is there a way to scale the entire output of the chart, such that the resultant img is larger or smaller?
Much of the chart will automatically scale if you simply change the width and height attributes in the server side code. However, the text on the chart does not scale, and thus takes over the whole chart at small values of width and height.
A simple solution would be to throw in some client side code to resize the img tag - and that's probably what i'll end up doing if there's not an existing solution. The only issue with this solution is that the image map for clicking on the chart / tooltips must also be scaled. While i do have some existing code to perform that kind of action, i would rather avoid it if there is a way to achieve this same thing via server code for the chart. Scaling image maps in javascript isn't usually a great idea, because the values can end up being off thanks to the image map only using integers.
A server side solution could include manually scaling all of the font sizes and marker dimensions - but that seems like a lot of work.
So - is there any kind of scale factor that can be applied?
Thanks.
-RP