src/charts/tooltip.js
function updateContent(dataPoint){
            var topics = dataPoint[topicLabel];

            // sort order by topicsOrder array if passed
            if (topicsOrder.length) {
                topics = _sortByTopicsOrder(topics);
            } else if (topics.length && topics[0].name) {
                topics = _sortByAlpha(topics);
            }

            cleanContent();
            updateTitle(dataPoint);
            resetSizeAndPositionPointers();
            topics.forEach(updateTopicContent);
        }
function updateContent(dataPoint){
            var topics = dataPoint[topicLabel];

            // sort order by topicsOrder array if passed
            if (topicsOrder.length) {
                topics = _sortByTopicsOrder(topics);
            } else if (topics.length && topics[0].name) {
                topics = _sortByAlpha(topics);
            }

            cleanContent();
            updateTitle(dataPoint);
            resetSizeAndPositionPointers();
            topics.forEach(updateTopicContent);
        }
function updateContent ( dataPoint ) { var topics = dataPoint [ topicLabel ] ; // sort order by topicsOrder array if passed if ( topicsOrder . length ) { topics = _sortByTopicsOrder ( topics ) ; } else if ( topics . length && topics [ 0 ] . name ) { topics = _sortByAlpha ( topics ) ; } cleanContent ( ) ; updateTitle ( dataPoint ) ; resetSizeAndPositionPointers ( ) ; topics . forEach ( updateTopicContent ) ; }
Draws the data entries inside the tooltip
@param  {Object} dataPoint   Data entry from to take the info
@return void
@private
Draws the data entries inside the tooltip