gpt4 book ai didi

javascript - 从边缘移除堆叠线

转载 作者:行者123 更新时间:2023-11-30 20:12:25 26 4
gpt4 key购买 nike

那是我的图表:codepen

绿色区域的值应该只有 100。不幸的是,奇怪的事情发生了。为什么我可以在边缘看到绿线?

green lines on edges

最佳答案

在 amcharts 中你有线条颜色和填充颜色,在这个图表中它们都是绿色,但如果你设置填充为绿色和线条为黑色,你将删除线条。

...
{
"lineColor": "#000000",
"type": "step",
"id": "g2",
"fillColors": "#00FF00",
"fillAlphas": 1,
"valueField": "visits2",
"balloonText": "<div style='margin:5px; font-size:19px;'>Visits:<b>[[value]]</b></div>"
}
...

关于javascript - 从边缘移除堆叠线,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52263854/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com