您突出顯示的行名為stroke,您將在view配置中找到它,因為它是圖表視圖的一部分,并且提供白色或透明的值。 請參閱以下代碼段或編輯器參考: { "$schema": "https://vega.github.io/schema/vega-lite/v5.json", "description": "Google's stock price over time.", "data": {"url": "data/stocks.csv"}, "transform": [{"filter": "datum.symbol==='GOOG'"}], "mark": "line", "config": {"view": {"stroke": "transparent"}}, "encoding": { "x": {"field": "date", "type": "temporal", "axis": {"grid": false}}, "y": {"field": "price", "type": "quantitative", "axis": {"domain": false}} } }
您突出顯示的行名為
stroke
,您將在view
配置中找到它,因為它是圖表視圖的一部分,并且提供白色或透明的值。請參閱以下代碼段或編輯器參考: