harmandohs Report post Posted June 7, 2013 (edited) God Day. i have this isue, i already have a graphic with 2 bars, i want to add a line, i'am usin the example but its add me other bar i need to show as line, here is the image how its look and the code i'am using i'am using visual basic.net 2003 xmlData = " <chart palette='1' caption='Sales' showLabels='1' showvalues='0' numberPrefix='$' sYAxisValuesDecimals='2' connectNullData='0' PYAxisName='Revenue' SYAxisName='Quantity' numDivLines='4' formatNumberScale='0'> " xmlData = xmlData & " <categories> " xmlData = xmlData & " <category label='Jan' /> " xmlData = xmlData & " <category label='Feb' /> " xmlData = xmlData & " <category label='Mar' /> " xmlData = xmlData & " </categories> " xmlData = xmlData & " <dataset seriesName='Product A' color='AFD8F8' showValues='0'>" xmlData = xmlData & " <set value='25601.34' />" xmlData = xmlData & " <set value='20148.82' /> " xmlData = xmlData & " <set value='17372.76' /> " xmlData = xmlData & " </dataset> " xmlData = xmlData & " <dataset seriesName='Product B' color='F6BD0F' showValues='0' > " xmlData = xmlData & " <set value='57401.85' /> " xmlData = xmlData & " <set value='41941.19' /> " xmlData = xmlData & " <set value='114845.27' dashed='1'/>" xmlData = xmlData & " </dataset> " xmlData = xmlData & " <dataset seriesName='Total Quantity' color='8BBA00' showValues='0' parentYAxis='S' renderAs = 'Line'> " xmlData = xmlData & " <set value='45000' /> " xmlData = xmlData & " <set value='44835' /> " xmlData = xmlData & " <set value='44835' /> " xmlData = xmlData & " </dataset> " xmlData = xmlData & " </chart> " 'Generar Archivo XML Dim strStreamW As Stream Dim strStreamWriter As StreamWriter Dim Archivo As String Archivo = Request.PhysicalApplicationPath & DirRep & pNombreArchivo strStreamW = File.OpenWrite(Archivo) strStreamWriter = New StreamWriter(strStreamW, System.Text.Encoding.UTF8) strStreamWriter.WriteLine(xmlData) strStreamWriter.Close() Edited June 7, 2013 by harmandohs Share this post Link to post Share on other sites
harmandohs Report post Posted June 7, 2013 i found the solution i wasn't renderin the rigth chart (swf) Share this post Link to post Share on other sites
Guest Sumedh Report post Posted June 8, 2013 Hi, It's glad to know that you have manged to resolve your issue. Share this post Link to post Share on other sites