wefra-odoo11/custom/scripts/d3js/chart/map_chart.js

12 lines
284 B
JavaScript
Raw Normal View History

2019-10-02 21:28:58 +00:00
MapChart = {
init: function(svg, dataset, path){
return svg.selectAll("path")
.data(dataset)
.enter()
.append("path")
.attr("d", path)
.attr("fill", "#dedede")
.attr("stroke", "steelblue")
.attr("stroke-width", "0.7px");
}
}