bagus sutan Report post Posted February 1, 2010 Hi, How can I change default color in relatime chart with my define color for multiple line chart? Thx for quick reply. Regards, Bagus Sutan Share this post Link to post Share on other sites
Guest Madhumita Report post Posted February 1, 2010 Hello Bagus, Do you wish to impart color to the dataplot when the chart is rendered? In that case you can set the color attribute in the <dataset> element in the XML. If you wish to impart color for each incremental data you can use a format specified below: &label=11:45&value=23|43|45&color=FF0000|0372AB|FF5904 I hope this helps you. Share this post Link to post Share on other sites
bagus sutan Report post Posted February 1, 2010 Hi, Assume that i have x amount of dataset and i want to set the color with x amount of color which i define the order of the color (may be in an array). Thanks Bagus Sutan Share this post Link to post Share on other sites
bagus sutan Report post Posted February 1, 2010 One more thing, How can I use clickurl properties with parameter like realdata.asp?tagname=PI103_KJI.PV. Thanks Bagus Sutan Share this post Link to post Share on other sites
Guest Madhumita Report post Posted February 2, 2010 Hello Bagus, Assume that i have x amount of dataset and i want to set the color with x amount of color which i define the order of the color (may be in an array). You can do this using JavaScript. Fetch the values using JavaScript and build the XML. While building the XML you can retrieve these colors form the array and set these colors in the datasets. How can I use clickurl properties with parameter like realdata.asp?tagname=PI103_KJI.PV. Could you please elaborate more on this? Share this post Link to post Share on other sites
Guest Basundhara Ghosal Report post Posted February 2, 2010 Hi Bagus, Please try passing the link as :- clickURL='URLEncode("realdata.asp?tagname=PI103_KJI.PV")' Hope this helps. Share this post Link to post Share on other sites
bagus sutan Report post Posted February 4, 2010 thanks for the reply, Can we open new window with clickUrl properties? Thanks, Bagus Sutan Share this post Link to post Share on other sites
Guest Madhumita Report post Posted February 4, 2010 Hello, You can open a new window with clickURL properties. To have a link open in a new window, all you need to do is, add n- before any link. E.g., <set ... value='2235' ... link='n-ShowDetails.asp%3FMonth%3DJan' ...> Same applies for the clickURL attribute. Please refer to the following documentation links for more information on Drill-Down. http://www.fusioncharts.com/docs/Contents/DrillDown/Simple.html http://www.fusioncharts.com/docs/Contents/DrillDown/PopUps.html http://www.fusioncharts.com/docs/Contents/DrillDown/ClickURL.html I hope this helps you. Share this post Link to post Share on other sites
bagus sutan Report post Posted February 9, 2010 (edited) Basundhara Ghosal (2/2/2010)Hi Bagus, Please try passing the link as :- clickURL='URLEncode("realdata.asp?tagname=PI103_KJI.PV")' Hope this helps. Hi Basundhara, I tried to modify the code became like this: clickURL='URLEncode("n-RealTimeDataChartX.asp?point=<%=point%>")' but I got error. How can i fix this? Thanks, Bagus Sutan Edited February 9, 2010 by Guest Share this post Link to post Share on other sites
Guest Basundhara Ghosal Report post Posted February 9, 2010 Hi Bagus, Could you please send us the screen-shot of the error that you are receiving, as an attachment? Awaiting your reply. Share this post Link to post Share on other sites
bagus sutan Report post Posted February 10, 2010 Hi, after adding the clickURL='URLEncode("n-RealTimeDataChartX.asp?point=<%=point%>")' code, my page won't work, none of java script function works. it just freezed. Screen shot and file are attached. Thanks, Bagus Sutan Share this post Link to post Share on other sites