Hello!
Is there any method to paint FastBandRenderableSeries using some image like template? (see the picture below)
Thanks in advance
- Egor asked 7 years ago
- last edited 7 years ago
- You must login to post comments
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
- Andrew Burnett-Thompson answered 7 years ago
- You must login to post comments
Please login first to submit.