Changing the data tool tip - default tool tip plus something
FusionCharts Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



Changing the data tool tip - default tool tip... Expand / Collapse
Author
Message
Posted 12/5/2007 3:33:23 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 12/7/2007 4:10:45 AM
Posts: 4, Visits: 9
Hi,
I would like to customize the too tip in a multi series chart in such a away that I want to have Category, value and some more customized info . When I try to set the toolText='something' in the datset's set tags, how can I refer to the categoryname?

Regards
Sateesh
Post #3266
Posted 12/6/2007 3:07:10 AM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Moderators
Last Login: 10/5/2008 9:41:33 AM
Posts: 809, Visits: 1,285
hi,

you can only set tooltext using hoverText from category element in FREE version.

Regards,

Sudipto Choudhury
FusionCharts Team

Post #3281
Posted 12/6/2007 10:29:56 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 12/7/2007 4:10:45 AM
Posts: 4, Visits: 9
Hi Thanks for the reply.
I understand that by default the tooltip for a data item is "Series Name, Category Name, value". What I would like to have is "Category Name, Value" +"custom messsage".

For doing this I can do something like this in my java/javascript:

for(i=0; i< maxitems; i++){
setBuffer += "" ;
}

Assuming that I store all my category elements in a data structure like array.

However in some cases I don't have direct access to category[] , and in cases where I have a huge number of category elements, it may not be required to store them in array for this reference. so I was just wondering if it is possible to refer to category element something like $categoryLabel as follows.


for(i=0; i< maxitems; i++){
setBuffer += "" ;
}



Regards
Sateesh
Post #3288
Posted 12/6/2007 10:37:33 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 12/7/2007 4:10:45 AM
Posts: 4, Visits: 9
Reposting the query again as the code snippet got dropped because of special characters.

I understand that by default the tooltip for a data item is "Series Name, Category Name, value". What I would like to have is "Category Name, Value" +"custom messsage".

For doing this I can do something like this in my java/javascript:

for(i=0; i< maxitems; i++){
setBuffer += "set value=" + set[i] + " tooltext=" + category[i] + " , " +set[i] + ", " + myCustomMessage + " />" ;
}

Assuming that I store all my category elements in a data structure like array.

However in some cases I don't have direct access to category[] , and in cases where I have a huge number of category elements, it may not be required to store them in array for this reference. so I was just wondering if it is possible to refer to category element something like $categoryLabel as follows.


for(i=0; i< maxitems; i++){
setBuffer += "set value= " + set[i] + " tooltext= $categoryName , " +set[i] + ", " + myCustomMessage + " /> " ;
}



Regards
Sateesh
Post #3289
Posted 12/7/2007 3:53:23 AM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Moderators
Last Login: 10/5/2008 9:41:33 AM
Posts: 809, Visits: 1,285
hi,

i am afraid this feature is not supported in FusionCharts.

Regards,

Sudipto Choudhury
FusionCharts Team

Post #3293
« Prev Topic | Next Topic »


Permissions Expand / Collapse

All times are GMT -7:00, Time now is 5:05pm


Execution: 0.156.