Jump to content
Software FX Community

linsiyong

Members
  • Posts

    3
  • Joined

  • Last visited

linsiyong's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hello!! when i make a chart which type is svg in the web page,we can see the chart has a shadow, then when i use this svg file to make a pdf file,i can see this shadow in the pdf file,it is no good. so can i delete this shadow? i have try the [chart1.AllSeries.Border.Effect = BorderEffect.Shadow;] but it not effect. it just effect the series`s shadow but in Chart FX 6.2 , Class Chart has the property BorderEffect ,chart1.BorderEffect =BorderEffect.Shadow. in help file ,it tells us these two properties have the same effect.so,in chart7.this property is not exist. how can i delete the shadow of the chart? can anybody help me? thanks
  2. I want to get the svg file From Chart,but i can not want to make a aspx page and access this page and then get the file from the chartFx7/temp documnent.So I make a Consoleapplication and write this source: Chart chart1 = new Chart(); chart1.Gallery = Gallery.Lines; chart1.Height = 600; chart1.Width = 600; chart1.ID = "test"; StringBuilder sb = new StringBuilder(); System.IO.StringWriter oStringWriter = new System.IO.StringWriter(sb); System.Web.UI.HtmlTextWriter oWriter = new System.Web.UI.HtmlTextWriter(oStringWriter); chart1.RenderFormat = "SVG"; SvgWriter svgWriter = new SvgWriter(); svgWriter.PluginPage = "http://www.softwarefx.com/svg/svgviewer/"; chart1.OutputWriter = svgWriter; chart1.RenderControl(oWriter); String a = sb.ToString(); =================== when it runs at "chart1.RenderControl(oWriter);" i get a nullpointexception. what is wrong about this source
×
×
  • Create New...