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

198 Views Asked by At

I am using LightningChartJS to create a scatter chart. is there a way in which I can add custom shapes or images as point shape.say maybe small images/icons of laptops and smartphones instead of squares or circles?

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

1

There are 1 best solutions below

0
On BEST ANSWER

PointSeries only supports the shapes listed in PointShape enumeration.

As of now, rendering any custom images is not supported with LCJS accelerated rendering.