The title says it all. I have a dataset that I want to show in a tooltip, but I don't want to show in the actual histogram. I tried to include the data and then used hide: ['dataToHide']and then executed
hide: ['dataToHide']
tooltip: { show: 'dataToHide' }
but I just can't get it to work. I know that I can format the tooltip, but whenever I insert something myself, the formatting of the tooltip seems empty. Also, I'm not sure how to add another parameter to the tooltip itself.
, - , , , name , , , CSS, .
name
, , :
columns: { ['showthis', ...], ['hidethis', ...] }
.c3-target-hidethis { display: none; }
, ( ), .:) , !