Sign in to follow this  
FusionCharts Support

DragColumn2D ang button values.

Recommended Posts

Hi,

I am using the DragColumn2D.swf and would like to know how I change the text on the button(restore) and button(read data from chart) also my figures in the table display $ and I would like to get rid of this completely.

Thanks

Share this post


Link to post
Share on other sites

Hi,

I hope you are using the Drag Column Data Return sample from CODE >> Drag_Data_Rtn folder of PowerCharts Pack.

To set a different title to Rstore button please use restoreBtnTitle="Your New Title" attribute.

"read data from chart" is not a button included inside the chart. Its an HTML <input> button which you can change in any way (so far HTML css allows) .

Please edit the HTML file and find:

<input type='button' value='Read Data From Chart' onclick='getDataFromChart();'>

Change the value attribute. That would do.

Again, the Table is built by JavaScript in the HTML file.

Find the line:

strHTML = strHTML+ "<td>" +arrData[j][0] + " : $" + arrData[j][1]; + "</td>";

And remove the $ from there.

Share this post


Link to post
Share on other sites

Hi

Could you please use <chart> attribute - restoreBtnTitle='Your New Title'  with in Chart XML?

i.e

<chart ...... restoreBtnTitle='Your New Title' ...... >

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