The note at the bottom of this page says:
“This feature can be used to create a Scatter Series, if strokeStyle contains a transparent Pen.”
https://www.scichart.com/documentation/android/current/articles/chart2d/2dChartTypes/Line%20Series.html?tabs=kotlin
If I set the lines stroke to transparent and set a point marker, nothing is rendered
val rSeriesPL: IRenderableSeries = FastLineRenderableSeries()
rSeriesPL.dataSeries = serPL
rSeriesPL.strokeStyle = SolidPenStyle(0x01000000.toInt(), false, 20f, null) <<<< this works as the line is almost transparent (points show full red), but if I set it to 0x00FF0000, the point markers disappear too
val scatterPointMarkerPL = EllipsePointMarker()
scatterPointMarkerPL.setSize(10, 10)
scatterPointMarkerPL.fillStyle = SolidBrushStyle(Color.Red.toArgb())
scatterPointMarkerPL.strokeStyle = SolidPenStyle(Color.Red.toArgb(), false, 1f, null)
rSeriesPL.pointMarker = scatterPointMarkerPL
This is in the android simulator (Just mentioning it because I’ve noticed other/unrelated oddness in the ios simulator)
- w p asked 3 months ago
-
Ooops, version 4.5.0.4851 Also found this very old, but related, post: https://www.scichart.com/questions/wpf/fastlinerenderableseries-width Setting the width to zero didn’t work either (nothing drawn)
- You must login to post comments
I’m not sure why this is the case, but we probably won’t mess it it for the moment. Instead we’ll take that note off the documentation while we investigate. I don’t think there is any reason not to use a XyScatterRenderableSeries if all you want to show is pointMarkers.
Regards
David
- David Burleigh answered 1 month ago
- You must login to post comments
Please login first to submit.