Jump to content
Software FX Community

atesfay1

Members
  • Content Count

    6
  • Joined

  • Last visited

Community Reputation

0 Neutral

About atesfay1

  • Rank
    Newbie
  1. Hi, Thanks for the quick response. You can actually recreate this problem by using one of the sample applications provided by ChartFx ( [installation Path]\Chart FX 7\Help and Samples\Sample Applications\Web Forms\VS2005\WorldPopulation ). Set the width and height of Chart1 to 8000 and try to Chart1.Export( FileFormat.Png, @"C:\temp\worldpopulation.png");You should get the following stack trace error: at System.Drawing.Bitmap..ctor(Int32 width, Int32 height, PixelFormat format) at System.Drawing.Bitmap..ctor(Int32 width, Int32 height) at ChartFX.WebForms.Internal.v.a(Graphics A_0, I
  2. Hi, A Map created with the following specification for the US-States SVG crashes. ... map1 .Chart.AllSeries.PointLabels.Font = new Font("Arial", 8, FontStyle.Regular);map1.Chart.Width = 6000; map1.Chart.Height = 6000; map1.Chart.Export( FileFormat.png, sPath); Note: For an SVG file that has longer geography titles, the width and height specification don't have to be this large for it to break. The stack trace of the error is as follows: "System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.ArgumentException: Parameter is not valid
  3. It works! I should not have used the RenderControl method of the Map object. Thanks for all your help!
  4. Frank, Thanks again for the quick reply. Yes, I had skipped the portion that assigns a MapSource and data (two dimensional object array) in the post but it is being done. How should I get the "full project" to you? Thanks.
  5. Hi Frank, Thanks for the quick reply. Unfortunately, I had tried both options. By the way, what do you mean by "Map extension is attached"? Option 1++++ map1 = new Map(); chart1 = new Chart(); map1.Chart = chart1; ... StringBuilder sb = new StringBuilder(); StringWriter oStringWriter = new StringWriter(sb);System.Web.UI.HtmlTextWriter oWriter = new System.Web.UI.HtmlTextWriter(oStringWriter); map1.RenderControl(oWriter);return sb.ToString(); ++++ sb.ToString() was empty. Option 2+++++++ chart1.Export( FileFormat.Png, "C:\temp\map.png") returned a regular Line Chart. usin
  6. Hi, In ChartFX 6.2, I export a Map that contains the underlying data along with the ConditionalAttributes using the GetHtmlTag() method. In ChartFX 7, I wasn't able to find a method that performs this operation. None of the Export methods of the underlying Chart class (it looks likethe Map class now has a Chart object as a member instead of inheriting from the Chart class), were able to export the "processed" SVG file (i.e. the equivalent of the output of the GetHtmlTag() method in ChartFX 6.2). Please help. Thanks
×
×
  • Create New...