             }
 
             result = $("<div>").appendTo $("body")
-            Plotly.newPlot(result[0], data, $.extend(layout, layoutOptions, opts.plotly))
+            Plotly.newPlot(result[0], data, $.extend(layout, layoutOptions, opts.plotly), opts.plotlyConfig)
             return result.detach()
 
     makePlotlyScatterChart = -> (pivotData, opts) ->
         defaults =
             localeStrings: {vs: "vs", by: "by"}
             plotly: {}
+            plotlyConfig: {}
 
         opts = $.extend(true, {}, defaults, opts)
 

        layout = {
            title: pivotData.rowAttrs.join("-") + ' vs ' + pivotData.colAttrs.join("-")
            hovermode: 'closest',
            xaxis: {title: pivotData.colAttrs.join('-'), domain: [0.1, 1.0]},
            yaxis: {title: pivotData.rowAttrs.join('-')},
            width: window.innerWidth / 1.5,
            height: window.innerHeight / 1.4 - 50
        }

        renderArea = $("<div>", style: "display:none;").appendTo $("body")
        result = $("<div>").appendTo renderArea
        Plotly.newPlot(result[0], [data], $.extend(layout, opts.plotly))
        result.detach()
        renderArea.remove()
        return result

            defaults =
                localeStrings: {vs: "vs", by: "by"}
                plotly: {}
                plotlyConfig: {}

            opts = $.extend(true, {}, defaults, opts)

