src/charts/tooltip.js
/**
         * Builds the SVG element that will contain the chart
         * @param  {HTMLElement} container DOM element that will work as the container of the graph
         * @private
         */
Builds the SVG element that will contain the chart
@param  {HTMLElement} container DOM element that will work as the container of the graph
@private
Builds the SVG element that will contain the chart @param { HTMLElement } container DOM element that will work as the container of the graph @private
function buildSVG(container) {
            if (!svg) {
                svg = d3Selection.select(container)
                    .append('g')
                    .classed('britechart britechart-tooltip', true);
                buildContainerGroups();
                drawTooltip();
            }
            svg.transition()
                .attr('width', width + margin.left + margin.right)
                .attr('height', height + margin.top + margin.bottom);
            exports.hide();
        }
function buildSVG ( container ) { if ( ! svg ) { svg = d3Selection . select ( container ) . append ( 'g' ) . classed ( 'britechart britechart-tooltip' , true ) ; buildContainerGroups ( ) ; drawTooltip ( ) ; } svg . transition ( ) . attr ( 'width' , width + margin . left + margin . right ) . attr ( 'height' , height + margin . top + margin . bottom ) ; exports . hide ( ) ; }
Builds the SVG element that will contain the chart
 @param  {HTMLElement} container DOM element that will work as the container of the graph
 @private
Builds the SVG element that will contain the chart @param { HTMLElement } container DOM element that will work as the container of the graph @private
// Hidden by default