|
|
@ -18,6 +18,7 @@ let srcData = []; |
|
|
|
const iniChart = function (config, srcData, total, that) { |
|
|
|
chart = new F2.Chart({ |
|
|
|
id: "myChart", |
|
|
|
pixelRatio: window.devicePixelRatio, |
|
|
|
...config, |
|
|
|
}); |
|
|
|
|
|
|
@ -91,7 +92,7 @@ const iniChart = function (config, srcData, total, that) { |
|
|
|
attrs: { |
|
|
|
x: point.x, |
|
|
|
y: point.y + offset, |
|
|
|
text: obj.count + '人', |
|
|
|
text: obj.count + "人", |
|
|
|
textAlign: "center", |
|
|
|
textBaseline: "bottom", |
|
|
|
fill: "#808080", |
|
|
|