簡體   English   中英

如何更改散點圖中點的形狀?

[英]How can I change the shape of points in a scatter chart?

我正在使用 LightningChartJS 創建散點圖。 有沒有一種方法可以將自定義形狀或圖像添加為點形狀。比如筆記本電腦和智能手機的小圖像/圖標,而不是正方形或圓形?

const smartPhonesSeries = chart.addPointSeries({ pointShape: PointShape.Circle })
const laptopsSeries = chart.addPointSeries({ pointShape: PointShape.Square })
const laptopsSeries = chart.addPointSeries({ pointShape: PointShape.Square })

PointSeries 僅支持 PointShape 枚舉中列出的形狀。

截至目前,LCJS 加速渲染不支持渲染任何自定義圖像。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM