">
16 js/HistogramChart.js">
17
18
19
20 <...Konva.Group({
22 x: this.x,
23 y: this.y
24 });
25
26 //放矩形的组...从 1/8 x, 3/4
43 //y: 3/4 高度处
44 points: [x0,y0, x0+this.w, y0], //要求 底线按照画布的左上角顶点进行定位...item.value * 100 + '%',
82 fill: item.color,
83 width: rectWidth,// 配合让文字居中...text: item.name,
95 fill: item.color,
96 // width: rectWidth,// 配合让文字居中