Sign in to follow this  
Guest Madhumita

Custom Color

Recommended Posts

Guest Madhumita

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
Guest Madhumita

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

Hi Bagus,

Please try passing the link as :-

clickURL='URLEncode("realdata.asp?tagname=PI103_KJI.PV")'

Hope this helps. :D

Share this post


Link to post
Share on other sites
Guest Madhumita

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
Basundhara Ghosal (2/2/2010)
Hi Bagus,

 

 

 

Please try passing the link as :-

 

 

 

clickURL='URLEncode("realdata.asp?tagname=PI103_KJI.PV")'

 

 

 

Hope this helps. :D

 

 

 

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 by Guest

Share this post


Link to post
Share on other sites
Guest Basundhara Ghosal

Hi Bagus,

Could you please send us the screen-shot of the error that you are receiving, as an attachment?

Awaiting your reply. :D

Share this post


Link to post
Share on other sites

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

post-5470-128441580645_thumb.jpg

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this