Pre loader

Problem with radius in drawRoundedRects

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

Hello!
When I use renderContext.fillRects(with: brush, points: rectsBuffer.itemsArray) rectangles draws correctly

If I use renderContext.drawRoundedRects(with: pen, brush: brush, topRadius: 0, bottomRadius: 0, points: rectsBuffer.itemsArray), rectangle is drawing, but with a strange border

If I use renderContext.drawRoundedRects(with: pen, brush: brush, topRadius: 2, bottomRadius: 2, points: rectsBuffer.itemsArray) with any non zero radius, rectangle is not drawing at all

Is it bug or I use function in wrong way?

Version
v4.6.1.5957
Images
  • You must to post comments
0
0

Hello,
Could you please clarify why you’re using drawRoundedRects instead of fillRects in this case? Understanding the goal behind using rounded rects might help us better assist you.

I also recommend taking a look at our Rounded Columns Chart example. It demonstrates how to create column charts with rounded edges, which might be useful for your scenario.

  • You must to post comments
0
0

I need fill round rect with gradient, for example:

Images
  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.