mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-05-13 00:08:56 +00:00
feat: update line chart
This commit is contained in:
parent
ce585d6e08
commit
e62bb49427
@ -73,14 +73,18 @@ limitations under the License. -->
|
|||||||
data: props.data[i].map((item: any, itemIndex: number) => [props.intervalTime[itemIndex], item]),
|
data: props.data[i].map((item: any, itemIndex: number) => [props.intervalTime[itemIndex], item]),
|
||||||
name: i,
|
name: i,
|
||||||
type: "line",
|
type: "line",
|
||||||
symbolSize: 5,
|
symbol: "circle",
|
||||||
|
symbolSize: 4,
|
||||||
showSymbol: isDef(props.config.showSymbol) ? props.config.showSymbol : true,
|
showSymbol: isDef(props.config.showSymbol) ? props.config.showSymbol : true,
|
||||||
step: props.config.step,
|
step: props.config.step,
|
||||||
smooth: props.config.smooth,
|
smooth: props.config.smooth,
|
||||||
lineStyle: {
|
lineStyle: {
|
||||||
width: 1.5,
|
width: 2,
|
||||||
type: "solid",
|
type: "solid",
|
||||||
},
|
},
|
||||||
|
emphasis: {
|
||||||
|
scale: false,
|
||||||
|
},
|
||||||
};
|
};
|
||||||
if (props.config.type === "Area") {
|
if (props.config.type === "Area") {
|
||||||
serie.areaStyle = {
|
serie.areaStyle = {
|
||||||
|
Loading…
Reference in New Issue
Block a user