Pre loader

FastBandRenderableSeries painting with template

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

0
0

Hello!

Is there any method to paint FastBandRenderableSeries using some image like template? (see the picture below)

Thanks in advance

Images
  • You must to post comments
1
0

Hi Egor,

I’m afraid not. Band Series only supports Color at this time.

You may be able to achieve this with custom rendering though. Have a look at the following documentation pages:

How does the Mountain Series draw a textured fill? By using RenderContext.FillPolygon:

// Where Fill is VisualBrush
using (var areaBrush = penManager.GetBrush(Fill))
{
      // where Points are IEnumerable<Point>
      renderContext.FillPolygon(areaBrush, points);
}

This code will draw a textured fill but as I said, you will need to create your own custom renderable series to draw the polygons between two lines.

Best regards,
Andrew

  • 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