glaze24 Report post Posted January 10, 2011 Hi, I have a stacked bar chart and I want to show up tooltip for long x-axis labels. I set toolText attribute to <category> element and also enabled showToolTip in <chart> element. But the chart didn't show tooltip for the labels. I dont why it is happening!!! Please give me your suggestions... Thanks Share this post Link to post Share on other sites
Guest Angie Report post Posted January 10, 2011 Hi, Could you please send us the code to look into the issue? Awaiting for your reply. Share this post Link to post Share on other sites
glaze24 Report post Posted January 10, 2011 Thanks for your response ! I have pasted the code below. <chart showToolTip='1' caption='Values' maxLabelWidthPercent='100' chartLeftMargin='0' canvasRightMargin='0' showValues='0' numDivLines='0' bgColor='FBFAF7' showBorder ='0' showCanvasBg = '0' showCanvasBase = '0' plotGradientColor='4A9B19' showYAxisValues='0' plotSpacePercent = '40' canvasBgColor='FAF9F2' divLineColor='FAF9F2' showAlternateVGridColor='0'> <categories> <category toolText='Technology' label=' Technology' ></category> <category toolText='Internet' label=' Internet' ></category> <category toolText='Student' label=' Student' ></category> <category toolText='Communications or Media' label='Communications or Media' ></category> <category toolText='Advertising' label=' Advertising' ></category> <category toolText='Education' label=' Education' ></category> <category toolText='Science' label=' Science' ></category> <category toolText='Arts' label=' Arts' ></category> <category toolText='Consulting' label=' Consulting' ></category> <category toolText='Telecommunications' label=' Telecommunications' ></category> <category toolText='Law' label=' Law' ></category> <category toolText='Government' label=' Government' ></category> <category toolText='Accounting' label=' Accounting' ></category> <category toolText='Transportation' label=' Transportation' ></category> <category toolText='Law Enforcement or Security' label='Law Enforcement or ...' ></category> </categories> <dataset> <set color ='4A9B19' toolText='21' value='21' ></set> <set color ='4A9B19' toolText='8' value='8' ></set> <set color ='4A9B19' toolText='5' value='5' ></set> <set color ='4A9B19' toolText='5' value='5' ></set> <set color ='4A9B19' toolText='4' value='4' ></set> <set color ='4A9B19' toolText='4' value='4' ></set> <set color ='4A9B19' toolText='3' value='3' ></set> <set color ='4A9B19' toolText='3' value='3' ></set> <set color ='4A9B19' toolText='3' value='3' ></set> <set color ='4A9B19' toolText='3' value='3' ></set> <set color ='4A9B19' toolText='2' value='2' ></set> <set color ='4A9B19' toolText='2' value='2' ></set> <set color ='4A9B19' toolText='2' value='2' ></set> <set color ='4A9B19' toolText='1' value='1' ></set> <set color ='4A9B19' toolText='1' value='1' ></set> </dataset> </chart> Hi, Could you please send us the code to look into the issue? Awaiting for your reply. Share this post Link to post Share on other sites
Guest Angie Report post Posted January 10, 2011 Hi, Please find the modified code below: <chart showToolTip='1' caption='Values' maxLabelWidthPercent='100' chartLeftMargin='0' canvasRightMargin='0' showValues='0' numDivLines='0' bgColor='FBFAF7' showBorder ='0' showCanvasBg = '0' showCanvasBase = '0' plotGradientColor='4A9B19' showYAxisValues='0' plotSpacePercent = '40' canvasBgColor='FAF9F2' divLineColor='FAF9F2' showAlternateVGridColor='0'> <categories> <category toolText='Technology' label='Technology' /> <category toolText='Internet' label='Internet' /> <category toolText='Student' label='Student' /> <category toolText='Communications or Media' label='Communications or Media' /> <category toolText='Advertising' label='Advertising' /> <category toolText='Education' label='Education' /> <category toolText='Science' label='Science' /> <category toolText='Arts' label='Arts' /> <category toolText='Consulting' label='Consulting' /> <category toolText='Telecommunications' label='Telecommunications' /> <category toolText='Law' label=' Law' /> <category toolText='Government' label='Government' /> <category toolText='Accounting' label='Accounting' /> <category toolText='Transportation' label='Transportation' /> <category toolText='Law Enforcement or Security' label='Law Enforcement or ...' /> </categories> <dataset> <set color ='4A9B19' value='21' /> <set color ='4A9B19' value='8' /> <set color ='4A9B19' value='5' /> <set color ='4A9B19' value='5' /> <set color ='4A9B19' value='4' /> <set color ='4A9B19' value='4' /> <set color ='4A9B19' value='3' /> <set color ='4A9B19' value='3' /> <set color ='4A9B19' value='3' /> <set color ='4A9B19' value='3' /> <set color ='4A9B19' value='2' /> <set color ='4A9B19' value='2' /> <set color ='4A9B19' value='2' /> <set color ='4A9B19' value='1' /> <set color ='4A9B19' value='1' /> </dataset> </chart> Hope this helps. Share this post Link to post Share on other sites
glaze24 Report post Posted January 10, 2011 thanks for your idea.. but is there any way to show tooltext only for labels? because <category> element is meant for x-axis labels, so I tried with my code. I dont want to show the labels along with dataset values... Share this post Link to post Share on other sites
Guest Angie Report post Posted January 10, 2011 Hi, Please find below the modified code: <chart showToolTip='1' caption='Values' maxLabelWidthPercent='100' chartLeftMargin='0' canvasRightMargin='0' showValues='0' numDivLines='0' bgColor='FBFAF7' showBorder ='0' showCanvasBg = '0' showCanvasBase = '0' plotGradientColor='4A9B19' showYAxisValues='0' plotSpacePercent = '40' canvasBgColor='FAF9F2' divLineColor='FAF9F2' showAlternateVGridColor='0'> <categories> <category toolText='Technology' label='Technology' /> <category toolText='Internet' label='Internet' /> <category toolText='Student' label='Student' /> <category toolText='Communications or Media' label='Communications or Media' /> <category toolText='Advertising' label='Advertising' /> <category toolText='Education' label='Education' /> <category toolText='Science' label='Science' /> <category toolText='Arts' label='Arts' /> <category toolText='Consulting' label='Consulting' /> <category toolText='Telecommunications' label='Telecommunications' /> <category toolText='Law' label='Law' /> <category toolText='Government' label='Government' /> <category toolText='Accounting' label='Accounting' /> <category toolText='Transportation' label='Transportation' /> <category toolText='Law Enforcement or Security' label='Law Enforcement or ...' /> </categories> <dataset> <set color ='4A9B19' value='21' toolText='Technology' /> <set color ='4A9B19' value='8' toolText='Internet' /> <set color ='4A9B19' value='5' toolText='Student' /> <set color ='4A9B19' value='5' toolText='Communications or Media' /> <set color ='4A9B19' value='4' toolText='Advertising' /> <set color ='4A9B19' value='4' toolText='Education'/> <set color ='4A9B19' value='3' toolText='Science' /> <set color ='4A9B19' value='3' toolText='Arts'/> <set color ='4A9B19' value='3' toolText='Consulting'/> <set color ='4A9B19' value='3' toolText='Telecommunications' /> <set color ='4A9B19' value='2' toolText='Law'/> <set color ='4A9B19' value='2' toolText='Government' /> <set color ='4A9B19' value='2' toolText='Accounting' /> <set color ='4A9B19' value='1' toolText='Transportation' /> <set color ='4A9B19' value='1' toolText='Law Enforcement or Security'/> </dataset> </chart> Hope this helps. Share this post Link to post Share on other sites
glaze24 Report post Posted January 10, 2011 According to your code x-axis labels will be shown as tooltip when i hover over stacked bars, but my scenario is like this: I want to show the tooltip (like technology,law, etc) when i hover over x-axis labels and only numerical values when i hover over stacked bars.. But numerical value and lables should not be combined in the tooltip. any idea? Share this post Link to post Share on other sites
Guest Angie Report post Posted January 10, 2011 (edited) Hi, I am afraid, FusionCharts does not support the feature you are looking for, at this time. A new feature has been added in FusionCharts version 3.2.1 like this: If you add <useEllipsesWhenOverflow> attribute to <chart> element, that controls whether ellipses are to be used in chart labels. For more details, please refer to the link: http://www.fusioncha...WhatsNew32.html Hope this helps. Edited January 10, 2011 by Angie Share this post Link to post Share on other sites
glaze24 Report post Posted January 10, 2011 yeah! I know but, that can be used when you have maxLabelWidthPercent value set to some value. I have tried it with different maxLabelWidthPercent values but, no changes at all to the chart.... Share this post Link to post Share on other sites
Guest Angie Report post Posted January 10, 2011 Hi, Thanks for your valuable feedback. We have taken a note of your suggestions you mentioned and added the same in our wishlist. Hope you have a great day! Share this post Link to post Share on other sites