marala81

Members
  • Content count

    18
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by marala81

  1. hi, i am using power charts. chart is displaying black color for labels on the elements. but now i want to change the clor to white. can you please tell me how to change color of labels in chart.
  2. hi, i want to fill different font colors to different dataset. i have 3 datasets. now i need to show nodes in 3 datasets with different font colors like red,green,white. i have used attribute but when i am using this all the dataset nodes are displaying same color. but i need different. can any body help me to solve this problem. Thanks Marala
  3. hi, i want to export chart image to excel or word or powerpoint. i am using updatepanels and displaying chart in the Panel using "InfoSoftGlobal.FusionCharts.RenderChartHTML()" method and "pnlPanel.Controls.Add(new LiteralControl(outPut));". when i use to download chart image using excel it is giving error as "Object deosn't support this method" error. when downloading using link i am getting above error. but when i use to save image by right clicking image it is exporting to excel. i am using following method function SaveFusionChart() { var chartToPrint = getChartFromId("dispChart1"); chartToPrint.saveAsImage(); /// here i am getting error } can you please help is there any other way when used RenderChartHTML() rather than "RenderChart()" Thanks Marala
  4. hi, i am displaying multiple Charts (2 Charts) in a web page using asp.net with c#. now i want to Export them into Excel file. if i am going to one chart to excel it is working fine. but when i am going export morethan one in mycase 2 charts at a time even it only exporting one chart. but i want to export both charts into excel. could you please tell me how could i export both with fusionchartsave.aspx page. my code is as follows for saveAsImage(). function saveChart() { var chartToPrint = getChartFromId("divFirstChart1"); chartToPrint.saveAsImage(); var chartToPrint1 = getChartFromId("divFirstChart2"); chartToPrint1.saveAsImage(); } it is redirecting twice to fusionchartsave.aspx page but chart is exporting only once. Thanks Marala
  5. hi, i am using fusion power charts dragnode. when i am rendering the chart with renderchartHTML() method which is in Updatepanel the chart is getting displayed but when i am saving image using function saveChart(){ //Get chart from its ID var chartToPrint = getChartFromId("divFirstChart1"); chartToPrint.saveAsImage(); } i am getting error as 'Object doesn't support this method'. the code is not displaying in source to check whether i am rendering correct or not. Is the code deosn't displayed when we use'Fusionchart.renderchartHTML()' method.
  6. hi, i am getting error at " ChartToPrint.saveAsImage();". iam able to save the chart when "FusionCharts.RenderChart()" is used in page load event. but when i use 'FusionCharts.RenderChartHTML()" i am not able to download chart (i mean saveAsImage() method). i am using following codes as respect if (IsPostBack) { string output1 = InfoSoftGlobal.FusionCharts.RenderChartHTML("FusionCharts/DragNode.swf", "", prepairedXml.ToString(), "divFirstChart1", "700", "500", false, true); pnlPanel.Controls.Clear(); pnlPanel.Controls.Add(new LiteralControl(output1)); } else { outPut = InfoSoftGlobal.FusionCharts.RenderChart("FusionCharts/DragNode.swf", "", prepairedXml.ToString(), "divFirstChart1", "700", "500", false, true); pnlPanel.Controls.Clear(); pnlPanel.Controls.Add(new LiteralControl(output1)); } in the above code if condition is not getting saved Image but in the Else condition Chart is getting saved. can you please tell me why this is happening. "renderChartHTML" will not have any method like "saveAsImage()". can you please tell me what is the problem.
  7. saveAsImage() error

    hi , i am getting saveAsImage() error when i am saving chart using excel link. i am using asp.net with C#. even i am using Version: 3.0.6 (. my code is as follows DataTable dt = dset.Tables[0]; int[,] arrClient = new int[2, 2]; // To decide wether to display two clients or one client in the chart StringBuilder prepairedXml = null; prepairedXml = prepareXMLFortwoClients(dset); // To display two clients string outPut = ""; outPut = InfoSoftGlobal.FusionCharts.RenderChartHTML("FusionCharts/DragNode.swf", "", prepairedXml.ToString(), "dispChart1", "700", "500", false, true); //Clear panel which will contain the chart pnlPanel.Controls.Clear(); //Add Litaral control to Panel which adds the chart from outPut string pnlPanel.Controls.Add(new LiteralControl(outPut)); if i use following code chart is not displaying it is displaying just "Chart" outPut = InfoSoftGlobal.FusionCharts.RenderChart("FusionCharts/DragNode.swf", "", prepairedXml.ToString(), "dispChart1", "700", "500", false, true); //Clear panel which will contain the chart pnlPanel.Controls.Clear(); //Add Litaral control to Panel which adds the chart from outPut string pnlPanel.Controls.Add(new LiteralControl(outPut)); when i use renderchart method instead renderchartHTML i am getting "Chat". can any body tell me why i am getting such error while saving chart. but one thing when i am trying "saveimage" option with context menu on chart it is getting downloaded. please tell me the reason and suggestion. thanks marala
  8. change node font color

    hi, i want to change node font color from Black to white which is like in attachment. i have to change color of the nodes to white as it is not visible clearly. can you please tell me what should i use to change color. if i use baseFontColor property only tool tip color is getting changed but not color of the node font. Thanks Marala81 Example.bmp
  9. Regarding saving image to excel

    hi, i have downloaded swf files added them into my project is it necessary to add DLL to project. if yes how could i download them and add into my project. can you please rectify my doubt. and i am using following code StringBuilder prepairedXml = null; //prepairedXml = prepareXMLFortwoClients(dset); if (dset.Tables[1].Rows.Count > 1) { prepairedXml = prepareXMLFortwoClients(dset); // To display two clients } string outPut = ""; outPut = InfoSoftGlobal.FusionCharts.RenderChartHTML("FusionCharts/DragNode.swf", "", prepairedXml.ToString(), "dispChart1", "700", "600", false); //Clear panel which will contain the chart pnlPanel.Controls.Clear(); //Add Litaral control to Panel which adds the chart from outPut string pnlPanel.Controls.Add(new LiteralControl(outPut)); // prepairedXml.ToString() Contains xml format Thanks marala
  10. hi, i want to add legend in power charts. to display color with type
  11. hi, i want to generate xml file from sql server database to use for power charts in the data base i will be having Client name and vendor names with Contract value. now i want to generate power charts by including above 3. can any body tell me this how to generate xml file. Thanks Ravi Kumar
  12. generating xml file from sqlserver

    hi, how to generate Structure of Charts XML that i get nodes 2 types (vendors and Clients) from the database. is there any process to prepare x and y positions dynamically. when i am forming xml with x and y positions all the nodes are displaying at one place. instead is there any easy way to calculate to form xml
  13. generating xml file from sqlserver

    hi Arindam, Thanks for your reply. but where could i find or download examples regarding power charts. i got only fusion charts examples when i download using download button in the home page. could you please tell me where are power charts examples. how could i download. i am using Asp.net with C#.
  14. generating xml file from sqlserver

    hi Arindam, i am sql server with asp.net (C#). could you please tell me how to generate xml file from sqlserver.
  15. hi, i am working on Visual Studio Asp.net with C#. now i required to add power charts in my application can you please how to add them in to web page. and also documentation for power charts. where could i found them. Thanks and Regards Ravi Kumar Marala
  16. Regarding Documentation on powercharts

    hi Arindam, Thanks for your reply for my query. but in the link(URL) you mentioned i saw only user manual but not developer manual. could you please tell me how could i get that developer manual like fusion charts. i saw the documentation on fusion charts and done some examples. but i requires power charts like drag-node charts. could you please tell me where i can find documentation or examples for that. Thanks and Regards Ravi Kumar Marala