llwxi 最近的时间轴更新
llwxi

llwxi

V2EX 第 540464 号会员,加入于 2021-03-31 09:36:16 +08:00
llwxi 最近回复了
14 天前
回复了 TravisMtg 创建的主题 ? 前端开发 ? 问问这个网站中的图表怎么做?
[rc-slider]( https://slider-react-component.vercel.app/demo/range)
[chart.js]( https://www.chartjs.org/docs/latest/samples/bar/floating.html)

```js
{
data: {
labels: n,
datasets: [{
label: "Articles",
data: l,
backgroundColor: "rgba(0, 123, 255, 0.2)",
borderColor: "rgba(0, 123, 255, 0.6)",
borderWidth: 1
}, {
label: "Filtered articles",
data: c,
backgroundColor: "rgba(0, 123, 255, 1)",
borderColor: "rgba(0, 123, 255, 1)",
borderWidth: 0
}]
},
options: {
animation: !1,
maintainAspectRatio: !1,
plugins: {
legend: {
onClick: ()=>{}
,
align: "center",
position: "top",
labels: {
boxHeight: 6,
font: {
size: 14
}
}
}
},
scales: {
y: {
title: {
text: "Number of articles",
color: "#64748b",
font: {
size: 14
}
},
border: {},
ticks: {
beginAtZero: !0,
display: !0,
autoSkip: !0,
maxTicksLimit: 10,
color: "#64748b",
stepSize: 1
},
grid: {
drawBorder: !1,
drawOnChartArea: !1
},
max: "small" === a ? 6 : void 0
},
x: {
stacked: !0,
title: {
display: !1,
text: "News significance",
color: "#64748b",
font: {
size: 14
}
},
ticks: {
align: "center",
maxTicksLimit: 11,
color: "#64748b"
},
grid: {
offset: !1,
drawBorder: !1,
drawTicks: !0,
drawOnChartArea: !1
}
}
}
}
}

```
珍的不一样
拖动的时候给 a 标签添加 `pointer-events: none` css 属性,停止拖动的时候去掉。这里应该在 mouesmove 里面加,写一个阈值,鼠标点击之后移动的距离超过这个阈值,就判断为拖动,不然的话就是点击。判断为拖动的时候加上面说的 css 属性
小苹果他爹
190 天前
回复了 kerwenard 创建的主题 ? 硬件 ? 选择困难了, 4060ti 选铭瑄还是耕升
半个小时还是在 64 65 之间反复横跳
190 天前
回复了 kerwenard 创建的主题 ? 硬件 ? 选择困难了, 4060ti 选铭瑄还是耕升
刚刚我用家里的公版 4060ti 跑了十分钟 aida64 ,温度基本上就在 64 65 ,一会半个钟再看看还会不会涨
190 天前
回复了 kerwenard 创建的主题 ? 硬件 ? 选择困难了, 4060ti 选铭瑄还是耕升
4060ti 不是说公版散热都足够了吗
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5633 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 17ms · UTC 09:14 · PVG 17:14 · LAX 02:14 · JFK 05:14
Developed with CodeLauncher
? Do have faith in what you're doing.


http://www.vxiaotou.com