feat: update line chart

This commit is contained in:
Fine 2023-04-14 16:29:34 +08:00
parent ce585d6e08
commit e62bb49427

View File

@ -73,14 +73,18 @@ limitations under the License. -->
data: props.data[i].map((item: any, itemIndex: number) => [props.intervalTime[itemIndex], item]),
name: i,
type: "line",
symbolSize: 5,
symbol: "circle",
symbolSize: 4,
showSymbol: isDef(props.config.showSymbol) ? props.config.showSymbol : true,
step: props.config.step,
smooth: props.config.smooth,
lineStyle: {
width: 1.5,
width: 2,
type: "solid",
},
emphasis: {
scale: false,
},
};
if (props.config.type === "Area") {
serie.areaStyle = {