I have a data set that contains a frequency per hundred and an absolute count. The data set looks like this:
$scope.data = [
{
key: "Cumulative Return",
values: [
{
"label" : "A" ,
"value" : 15 ,
"data" : 486
} ,
{
"label" : "B" ,
"value" : 11 ,
"data" : 403
} ,
{
"label" : "C" ,
"value" : 10 ,
"data" : 374
} ,
{
"label" : "D" ,
"value" : 9 ,
"data" : 362
} ,
{
"label" : "E" ,
"value" : 8 ,
"data" : 321
} ,
{
"label" : "F" ,
"value" : 6 ,
"data" : 246
} ,
{
"label" : "G" ,
"value" : 4 ,
"data" : 187
} ,
{
"label" : "H" ,
"value" : 1 ,
"data" : 42
}
]
}
]
Included in this plunker, you can see that when mousing over each bar, it reads A 15.0
etc. I would like to be able to have a different value displayed, specifically "count"
, as the mouseover
behavior, but do not see any such option in the documentation. I'd like it to read A 486
, B 403
, etc.
How can I accomplish this?