This is a migrated thread and some comments may be shown as answers.

Can Tooltip float on the right side of the bar?

0 Answers 38 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Daihua
Top achievements
Rank 1
Daihua asked on 31 Oct 2012, 06:43 PM
The title is misleading. I want the tooltip to float on the left side of the bar. But I don't know how to edit the title.

The default of the tooltip for the bar chart is on the right side. I have checked the api for the tooltip in bar, it only provides the styles of the tooltip, but nothing else. I want to reset the location of tooltip to the left side that close to y-axis. 

Just create a test demo in Fiddle. In the code, I copy one of demo from DataViz. The tooltip is floating on the right side of the bar when you hover on the bar. However, sometime, there is not enough space to display tooltip on the browser even though the users see it in full screen. 

I am looking for modify the default behavior of tooltip in order to float it on the left side of the bar. 
http://jsfiddle.net/davishacker/gapkL/

No answers yet. Maybe you can help?

Tags
Charts
Asked by
Daihua
Top achievements
Rank 1
Share this question
or