[flexcoders] Re: Column chart using webservice result
Hi Matt, Thanks for your help. I'm now able to render the chart successfully. with regards, tony --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: Hard to know what you're running into without seeing your problems. But before you post them I'd just take a look at the existing chart samples like the char explorer to see if you can match up on anything that might already exist. There are plenty of flexcoders posts about charts as well, the archives might have code that you're looking for. Matt From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of tony_lic Sent: Tuesday, July 12, 2005 1:07 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Column chart using webservice result Matt Chotin: Ha. i tried with that it works. I have one more problem. now i'm able to set the horizontal axis from the web service result. but how can i set other details like Column series values of each series. it would be a great help for me if you could help me. with regards, tony --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: Shouldn't you be able to replace the last two lines with colchartKPI.horizontalAxis = series? I haven't played with this much... From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of tony_lic Sent: Monday, July 11, 2005 4:24 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Column chart using webservice result hi, I have to build a column chart, where all the properties like columnseries, categoryaxis the y-axis values all should come from a web service. I dont know where to provide the data provider property. I tried some coding but it does not appear to work. let me provide with you the code snippet. please help me. for(var i=0;i oRequest.AxisData.item[0].Set.item.length; i++) { tempValues.push (oRequest.AxisData.item[0].Set.item[i].Caption.toString()); //Alert.show(oRequest.AxisData.item [0].Set.item[i].Caption.toString()); } colchartKPI.dataProvider = oRequest.AxisData.item[0].Set; var series:CategoryAxis = new CategoryAxis(); series.dataProvider = tempValues; colchartKPI.horizontalAxis.CategoryAxis.dataProvider = tempValues; colchartKPI.horizontalAxis.addItem(series); with regards, tony -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS * Visit your group flexcoders http://groups.yahoo.com/group/flexcoders on the web. * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] subject=Unsubscribe * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/ . -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS * Visit your group flexcoders http://groups.yahoo.com/group/flexcoders on the web. * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] subject=Unsubscribe * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/ . -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Re: Column chart using webservice result
Tony, I would be interested in seeing how you did this, I have a similar situation, but have not been able to get it to do what I want either. thanks, Craig tony_lic [EMAIL PROTECTED] wrote: Hi Matt, Thanks for your help. I'm now able to render the chart successfully.with regards,tony--- In flexcoders@yahoogroups.com, "Matt Chotin" [EMAIL PROTECTED] wrote: Hard to know what you're running into without seeing your problems. But before you post them I'd just take a look at the existing chart samples like the char explorer to see if you can match up on anything that might already exist. There are plenty of flexcoders posts about charts as well, the archives might have code that you're looking for.Matt From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of tony_lic Sent: Tuesday, July 12, 2005 1:07 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Column chart using webservice resultMatt Chotin: Ha. i tried with that it works. I have one more problem. now i'm able to set the horizontal axis from the web service result. but how can i set other details like Column series values of each series. it would be a great help for me if you could help me. with regards, tony --- In flexcoders@yahoogroups.com, "Matt Chotin" [EMAIL PROTECTED] wrote: Shouldn't you be able to replace the last two lines with colchartKPI.horizontalAxis = series?I haven't played with this much...From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of tony_lic Sent: Monday, July 11, 2005 4:24 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Column chart using webservice resulthi, I have to build a column chart, where all the properties like columnseries, categoryaxis the y-axis values all should come from a web service. I dont know where to provide the data provider property. I tried some coding but it does not appear to work. let me provide with you the code snippet. please help me.for(var i=0;i oRequest.AxisData.item[0].Set.item.length; i++) { tempValues.push (oRequest.AxisData.item[0].Set.item[i].Caption.toString()); //Alert.show(oRequest.AxisData.item [0].Set.item[i].Caption.toString()); } colchartKPI.dataProvider = oRequest.AxisData.item[0].Set; var series:CategoryAxis = new CategoryAxis(); series.dataProvider = tempValues;colchartKPI.horizontalAxis.CategoryAxis.dataProvider = tempValues; colchartKPI.horizontalAxis.addItem(series);with regards, tony -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS * Visit your group "flexcoders http://groups.yahoo.com/group/flexcoders " on the web.* To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] subject=Unsubscribe * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/ . -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS * Visit your group "flexcoders http://groups.yahoo.com/group/flexcoders " on the web.* To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]subject=Unsubscribe * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/ . --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Computer software testing Macromedia flex Development Software developer Start your day with Yahoo! - make it your home page -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Re: Column chart using webservice result
Craig, may be this part of the code should be useful to you. var xmlResult = new XML(); var oRequest:Object = new Object(); var tempValues = new Array(); xmlResult = wsQueryView.GetQueryViewData.result[0]; oRequest = XMLhelper.XML2Object(xmlResult); var series:CategoryAxis = new CategoryAxis(); series.dataProvider = tempValues; series.categoryField = xaxisdata; colchartKPI.horizontalAxis = series; colchartKPI.dataProvider = tempValues; all the best, with regards, tony -- In flexcoders@yahoogroups.com, Craig Newroth [EMAIL PROTECTED] wrote: Tony, I would be interested in seeing how you did this, I have a similar situation, but have not been able to get it to do what I want either. thanks, Craig tony_lic [EMAIL PROTECTED] wrote: Hi Matt, Thanks for your help. I'm now able to render the chart successfully. with regards, tony --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: Hard to know what you're running into without seeing your problems. But before you post them I'd just take a look at the existing chart samples like the char explorer to see if you can match up on anything that might already exist. There are plenty of flexcoders posts about charts as well, the archives might have code that you're looking for. Matt From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of tony_lic Sent: Tuesday, July 12, 2005 1:07 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Column chart using webservice result Matt Chotin: Ha. i tried with that it works. I have one more problem. now i'm able to set the horizontal axis from the web service result. but how can i set other details like Column series values of each series. it would be a great help for me if you could help me. with regards, tony --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: Shouldn't you be able to replace the last two lines with colchartKPI.horizontalAxis = series? I haven't played with this much... From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of tony_lic Sent: Monday, July 11, 2005 4:24 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Column chart using webservice result hi, I have to build a column chart, where all the properties like columnseries, categoryaxis the y-axis values all should come from a web service. I dont know where to provide the data provider property. I tried some coding but it does not appear to work. let me provide with you the code snippet. please help me. for(var i=0;i oRequest.AxisData.item[0].Set.item.length; i++) { tempValues.push (oRequest.AxisData.item[0].Set.item[i].Caption.toString()); //Alert.show(oRequest.AxisData.item [0].Set.item[i].Caption.toString()); } colchartKPI.dataProvider = oRequest.AxisData.item[0].Set; var series:CategoryAxis = new CategoryAxis(); series.dataProvider = tempValues; colchartKPI.horizontalAxis.CategoryAxis.dataProvider = tempValues; colchartKPI.horizontalAxis.addItem(series); with regards, tony -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS * Visit your group flexcoders http://groups.yahoo.com/group/flexcoders on the web. * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] subject=Unsubscribe * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/ . -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS * Visit your group flexcoders http://groups.yahoo.com/group/flexcoders on the web. * To unsubscribe from this group, send an email to: [EMAIL
[flexcoders] Re: Column chart using webservice result
Matt Chotin: Ha. i tried with that it works. I have one more problem. now i'm able to set the horizontal axis from the web service result. but how can i set other details like Column series values of each series. it would be a great help for me if you could help me. with regards, tony --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: Shouldn't you be able to replace the last two lines with colchartKPI.horizontalAxis = series? I haven't played with this much... From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of tony_lic Sent: Monday, July 11, 2005 4:24 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Column chart using webservice result hi, I have to build a column chart, where all the properties like columnseries, categoryaxis the y-axis values all should come from a web service. I dont know where to provide the data provider property. I tried some coding but it does not appear to work. let me provide with you the code snippet. please help me. for(var i=0;i oRequest.AxisData.item[0].Set.item.length; i++) { tempValues.push (oRequest.AxisData.item[0].Set.item[i].Caption.toString()); //Alert.show(oRequest.AxisData.item [0].Set.item[i].Caption.toString()); } colchartKPI.dataProvider = oRequest.AxisData.item[0].Set; var series:CategoryAxis = new CategoryAxis(); series.dataProvider = tempValues; colchartKPI.horizontalAxis.CategoryAxis.dataProvider = tempValues; colchartKPI.horizontalAxis.addItem(series); with regards, tony -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS * Visit your group flexcoders http://groups.yahoo.com/group/flexcoders on the web. * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] subject=Unsubscribe * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/ . -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Re: Column chart using webservice result
Hard to know what youre running into without seeing your problems. But before you post them Id just take a look at the existing chart samples like the char explorer to see if you can match up on anything that might already exist. There are plenty of flexcoders posts about charts as well, the archives might have code that youre looking for. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of tony_lic Sent: Tuesday, July 12, 2005 1:07 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Column chart using webservice result Matt Chotin: Ha. i tried with that it works. I have one more problem. now i'm able to set the horizontal axis from the web service result. but how can i set other details like Column series values of each series. it would be a great help for me if you could help me. with regards, tony --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: Shouldn't you be able to replace the last two lines with colchartKPI.horizontalAxis = series? I haven't played with this much... From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of tony_lic Sent: Monday, July 11, 2005 4:24 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Column chart using webservice result hi, I have to build a column chart, where all the properties like columnseries, categoryaxis the y-axis values all should come from a web service. I dont know where to provide the data provider property. I tried some coding but it does not appear to work. let me provide with you the code snippet. please help me. for(var i=0;i oRequest.AxisData.item[0].Set.item.length; i++) { tempValues.push (oRequest.AxisData.item[0].Set.item[i].Caption.toString()); //Alert.show(oRequest.AxisData.item [0].Set.item[i].Caption.toString()); } colchartKPI.dataProvider = oRequest.AxisData.item[0].Set; var series:CategoryAxis = new CategoryAxis(); series.dataProvider = tempValues; colchartKPI.horizontalAxis.CategoryAxis.dataProvider = tempValues; colchartKPI.horizontalAxis.addItem(series); with regards, tony -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS * Visit your group flexcoders http://groups.yahoo.com/group/flexcoders on the web. * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] subject=Unsubscribe * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/ . -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.