|
|
|
Forum 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
|
|
|
|
|
Supreme 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
|
|
|
|
|
Forum 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
|
|
|
|
|
Forum 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
|
|
|
|
|
Supreme 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
|
|
|
|