F
Famke Bergmans
Guest
Hi Thierry, Thanks for your answer, but I'm afraid it won't solve my problem. I tried the format values; 0 gives me the number of vehicles, but 1 returns nothing. So if I use tooltip format, I'm unable to get the age. Using the tooltip template isn't helping either. Value gives me the number of vehicles, value.x or value.y return nothing, category returns the category (so not the age of that part of the stack), series gives me [Object object] and dataItem - again - gives me the number of vehicles. Maybe I have been unclear in explaining what I want the code to do, so I'll put in an example: The values for each stack tooltip are stored in the name field of each stack, and is an array of values. I've put this array together the same as the stacks themselves, so for each stack, the first series name belongs to the first item in the data array etc. If I can get the data point index, I can solve the problem by creating a tooltip with the following template: series.name.indexOf(datapointindex), but using data point is not supported in the tooltip template, so I'm looking for a workaround.
Continue reading...
Continue reading...