bar chart - Add extra info to tooltip for specific bar in nvd3 multiBarChart -


i use django django-nvd3 generate charts. i'am not in javascript @ all.

i have example (java script created django-nvd3)

http://jsfiddle.net/rkorzen/87wvr/2/

i want add info tooltip (if info exist bar).

data composed of blocks:

{"values": [{"y": 19, "x": "checkpoint 1", "info":"abdg"},     {"y": 17, "x": "checkpoint 2"}],  "key": "very good", "yaxis": "1" }, 

in point want ad info "abdg" tooltip bar x="checkpoint 1" , y=19 don't have idea how :(

i'am not sure if django-nvd3 have options this. decided ask js. maybe can help:)

try using dict :

'chartdata': {                   'x' : 'your_x_axis data',               'name1': 'somename',               'y1': 'y_axis_data' ,               'extra1': {                         "tooltip": {"y_start": "", "y_end": " cal"},                                                         },              } 

Comments

Popular posts from this blog

php - Magento - Deleted Base url key -

javascript - Tooltipster plugin not firing jquery function when button or any click even occur -

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -