Merge pull request #12333 from ulleo/dev-v2

pref(图表): 双轴图折线类型的折点描边颜色跟随透明度设置
This commit is contained in:
ulleo
2024-09-20 15:31:32 +08:00
committed by GitHub

View File

@@ -240,7 +240,10 @@ export class ColumnLineMix extends G2PlotChartView<DualAxesOptions, DualAxes> {
const smooth = s.lineSmooth
const point = {
size: s.lineSymbolSize,
shape: s.lineSymbol
shape: s.lineSymbol,
style: {
stroke: hexColorToRGBA('#FFFFFF', s.subAlpha)
}
}
const lineStyle = {
lineWidth: s.lineWidth
@@ -248,7 +251,10 @@ export class ColumnLineMix extends G2PlotChartView<DualAxesOptions, DualAxes> {
const leftSmooth = s.leftLineSmooth
const leftPoint = {
size: s.leftLineSymbolSize,
shape: s.leftLineSymbol
shape: s.leftLineSymbol,
style: {
stroke: hexColorToRGBA('#FFFFFF', s.alpha)
}
}
const leftLineStyle = {
lineWidth: s.leftLineWidth