1 parent aad0007 commit 38bdda7Copy full SHA for 38bdda7
client/packages/lowcoder-comps/src/comps/lineChartComp/lineChartUtils.ts
@@ -205,7 +205,7 @@ export function getEchartsConfig(
205
},
206
visualMap: {
207
type: 'piecewise',
208
- show: false,
+ show: props.areaPieces.length > 0,
209
dimension: 0,
210
seriesIndex: 0,
211
pieces: props.areaPieces?.filter(p => p.getView().from && p.getView().to && p.getView().color)?.map(p => (
0 commit comments