Pre loader

How to disable anti-aliasing with SpritePointMarkers?

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums

1
0

Hi,

We have some small images (typically 7×7 pixels) we’d like to use with SpritePointMarkers, but when rendered on a series they appear blurred. The same images rendered to the HTMLImageElements above the chart in the sample image look sharp. Is there a way of switching off the anti-aliasing used to render point markers in the chart?

Many thanks!

Version
4.0.848
Images
  • Andrew Burnett-Thompson
    Rather than antialiasing it’s probably a 1px offset somewhere e.g. you’re rendering to 7×7 but scichart is rendering to 8×8 and scaling slightly. Is this a custom pointmarker? Can you share the code for it? Then we can test, reproduce. Thanks!
  • Graham Stoneman
    Hi, did you see my attachment below? Thanks
  • You must to post comments
0
0

Hi Andrew, here’s a simple example that demonstrates problem. A 7×7 triangle marker from a PNG file. If you screenshot it and zoom in, the marker above the chart is sharp, but the series markers are blurred. It does look like it’s anti-aliasing the image, but I suppose it could be rendering it half a pixel to the left or right?

Attachments
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.