Pre loader

Blended or Gradient Brush for High Quality Render Surface


I am currently using the HighQualityRenderSurface (as seen here: to replace some dynamically drawn maps in an application. I’m wondering if there is a way to make a blended/ gradient brush that can be drawn onto this surface. The application currently uses a three color blended brush drawn onto a WPF canvas.

Edit: Added images as an example of what we are trying to achieve.

zoomed out

zoomed in

  • Andrew Burnett-Thompson
    Got an image or screenshot of what you are trying to achieve? It’s hard to visualise from the description
  • Cameron Brown
    Added example images. Thanks!
  • You must to post comments

Thanks Cameron! The image helps, without it I find myself having to imagine from text 🙂

OK so I’ve seen charts like this before, and we created one for an Oil & Gas customer as a piece of consultancy work a few years ago. We don’t have a blending gradient filled line chart in SciChart out of the box. However, you can achieve a similar effect with the PaletteProvider feature.

I would suggest using VisualXccelerator engine, as it’s considerably faster for these types of charts, and switch colour of a thick line series using the PaletteProvider.

When you zoom you will see hard jumps from one colour to the next, as I said it does not gradient fill. Like this:

enter image description here

Some of our customers in racing have build something very similar. Actually I don’t kow how they’ve done this but check it out

enter image description here

This is a screenshot of the Revolve NTNU project, showcased here:

Let me contact them and ask how they did it.

Finally, we could build this as a feature, if you log it, or as part of customisation / consultancy work if you want something specific that SciChart doesn’t do out of the box.

Best regards,

  • Andrew Burnett-Thompson
    Update: I suspect the Race Map in the Revolve NTNU project is a scatter chart with PaletteProvider. Note that the only engine that can render this quickly is VisualXccelerator engine. Don’t use software for changing scatter points! It will be too slow.
  • Cameron Brown
    Thanks! We’ll try that.
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies