Sign in to follow this  
Guest Madhumita

data-set name only on chart (not on axis)

Recommended Posts

Hello guys,

 

I'm working on a line chart and I'd like to show the name of each set element only when the mouse is over the point but not on the x axis.

 

Is this possible?

 

 

 

Right now my code looks like

 

 

 


xml.categories do

   for item in MyDataset

     xml.category(:name => item[:code])

   end

 end



...



 

Thanks.

Edited by Guest

Share this post


Link to post
Share on other sites
Guest Madhumita

Hello,

You can set showLabels='0' in the <chart> element to hide the X axis Labels.

 

When the tooltip is hovered on, it will, by default, show the category name along with the data value. You can also customize your own toolTip by using the toolText attribute in the <set> element.

Share this post


Link to post
Share on other sites

Thanks for your reply.

 

When can I find all the available options for the graph and the dataset? I tried to find it in the documentation but without searching it is very hard.

 

 

 

 

 

Thanks again and have a nice day.

 

 

 

 

 

Sig

Edited by Guest

Share this post


Link to post
Share on other sites
Guest Madhumita

Hello,

Our documentation has all the XML attributes listed for each chart separately.

 

All the XML Specification Sheets are present under

http://www.fusioncharts.com/docs/ >> Chart XML API. (here chart specific attributes have been explained).

You can also go through the description of individual attributes.(http://www.fusioncharts.com/docs/  >>  Quick Guide to Chart XML)

I hope this helps you. In case you have further queries, please revert.

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