We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac9dbc2 commit f69b995Copy full SHA for f69b995
散点图-高清.html
@@ -113,7 +113,7 @@
113
114
// 绘制图表轴、标签和标记
115
function drawLineLabelMarkers(){
116
- ctx.translate(0.5,0.5); // 当只绘制1像素的线的时候,坐标点需要偏移,这样才能画出1像素实线
+ //ctx.translate(0.5,0.5); // 当只绘制1像素的线的时候,坐标点需要偏移,这样才能画出1像素实线
117
ctx.font = "24px Arial";
118
ctx.lineWidth = 2;
119
ctx.fillStyle = "#000";
@@ -125,7 +125,7 @@
125
126
// 绘制标记
127
drawMarkers();
128
- ctx.translate(-0.5,-0.5); // 还原位置
+ //ctx.translate(-0.5,-0.5); // 还原位置
129
}
130
131
// 画线的方法
0 commit comments