我想在 LightningChartJs 中设置轴的样式,并且无法删除轴重叠和轴末端的小线(请参见下图)。
设置轴的粗细对指标没有影响:
const axisYStyles = axisYColors.map((color) => new SolidFill({ color }));
const axisYStrokeStyles = axisYStyles.map((fillStyle) => new SolidLine({ fillStyle, thickness: 1 }));
const axisX = this.chart.getDefaultAxisX()
.setStrokeStyle(axisYStrokeStyles[0]);
如果有人可以帮助并解释如何删除或设计这些物品,那就太好了。提前谢谢。