jaw36 Posted July 4, 2007 Report Share Posted July 4, 2007 Is there a way to have the report scale properly no matter what page size is chosen by the user? My graph uses the same area on the paper regardless of what paper size is chosen. The border and legend are adjusted properly, but the graph stays the same size. Link to comment Share on other sites More sharing options...
Frank Posted July 4, 2007 Report Share Posted July 4, 2007 I'm not sure I understand what you mean. 1) Are you using the .NET Client control? 2) How are you printing the chart? From the toolbar? If you print the chart from the toolbar it should take the whole page. 3) Please attach an image with the printout to make sure I'm understanding you correctly. 4) make sure you are using the latest service pack available from our support site. I remember a bug long time ago that looked like this. Link to comment Share on other sites More sharing options...
jaw36 Posted July 5, 2007 Author Report Share Posted July 5, 2007 <?xml:namespace prefix = v ns = "urn:schemas-microsoft-com:vml" />1) I am rendering the chart as a .NET object2) I am printing the chart from the toolbar3) How do I upload an image? I don't have a public facing server to link to.4) I just reinstalled the software less than a week ago, and I installed it from a link that was supplied by your support department. <chartfx7:Chart ID="Chart1" runat="server" DataSourceID="dsChartInfo" Height="850px" Width="1100px" RandomData-Series="2" RenderFormat="Auto" ImageSettings-Sizeable="True"> <Series> <chartfx7:SeriesAttributes Text="Downtime" /> <chartfx7:SeriesAttributes Text="Frequency" /> </Series> <AllSeries Gallery="Bar" PointLabels-BackColor="Transparent" PointLabels-BorderColor="Transparent" PointLabels-Visible="True"> </AllSeries> <SpecialObjects><chartfx.webforms.galleries.bar></chartfx.webforms.galleries.bar></SpecialObjects> <ToolBar Visible="True" /> <LegendBox ContentLayout="Near"> <Titles><chartfx7:TitleDockable Font="Arial, 8pt, style=Underline" Text="Legend" /></Titles> </LegendBox> <AxisX LabelAngle="90"></AxisX></chartfx7:Chart> Link to comment Share on other sites More sharing options...
jaw36 Posted July 5, 2007 Author Report Share Posted July 5, 2007 It produces the same results whether I use RenderFormat="Auto" or RenderFormat=".NET" In the code behind, all I am doing is setting the orientation to landscape, setting margins, adding some titles, and removing some items from the toolbar Link to comment Share on other sites More sharing options...
Frank Posted July 5, 2007 Report Share Posted July 5, 2007 To attach an image go to the options tab and add it as an attachment. Link to comment Share on other sites More sharing options...
jaw36 Posted July 6, 2007 Author Report Share Posted July 6, 2007 Letter Link to comment Share on other sites More sharing options...
jaw36 Posted July 6, 2007 Author Report Share Posted July 6, 2007 Legal Link to comment Share on other sites More sharing options...
jaw36 Posted July 6, 2007 Author Report Share Posted July 6, 2007 11 x 17 Link to comment Share on other sites More sharing options...
jaw36 Posted July 6, 2007 Author Report Share Posted July 6, 2007 As you can see, the border and legend are adjusted, but the chart area itself remains the same size. Link to comment Share on other sites More sharing options...
jaw36 Posted July 6, 2007 Author Report Share Posted July 6, 2007 and this is what I get when I don't set the margins... it's chopping the edges of the chart. Link to comment Share on other sites More sharing options...
DanielL_550 Posted July 6, 2007 Report Share Posted July 6, 2007 We had this problem until we upgraded to the latest service pack. The latest service pack seemed to fix it for us. Link to comment Share on other sites More sharing options...
jaw36 Posted July 6, 2007 Author Report Share Posted July 6, 2007 Thanks DanielL_550, my only concern is that last week I installed the service pack and it broke everything (print button didn't work at all)... I contacted support and they had me remove everything and install from an executable they gave me. ??? Link to comment Share on other sites More sharing options...
Frank Posted July 7, 2007 Report Share Posted July 7, 2007 You need to install the latest Service Pack. What's the version of your Chart FX dll? Link to comment Share on other sites More sharing options...
jaw36 Posted July 9, 2007 Author Report Share Posted July 9, 2007 My ChartFX.WebForms.dll version is 7.0.2424.18088 Link to comment Share on other sites More sharing options...
jaw36 Posted July 9, 2007 Author Report Share Posted July 9, 2007 I've now re-installed the service pack and re-referenced the dlls and it works. I did the exact thing last time and it failed. Oh well, its working now. Thanks everyone Link to comment Share on other sites More sharing options...
Frank Posted July 10, 2007 Report Share Posted July 10, 2007 Excellent! 7.0.2424.18088 is indeed an old version. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.