Pre loader

(Android 2D Heatmap Chart) How can I draw a frame to the cell's borders?

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

When I work with the 2D Android Heatmap Chart, I want to draw a frame on the borders of the cells. Is this possible?

Thanks already for your help.

Version
4.1.0
Images
  • You must to post comments
0
0

Thanks for the reply Yura. You are very involved. I will try to solve my problem with box annotation as you suggested.

  • You must to post comments
0
0

Hi Mustafa,

For now FastUniformHeatmapRenderableSeries doesn’t support drawing of cell borders out of the box. To add them you’ll need either to extend series ( override internalDraw() and add code which renders border rects via RenderContext API ) or you can add them as BoxAnnotation. If you need to highlight only few cells then BoxAnnotation would be simpler to add, but if you need to add border for all cells and heatmap has big size, then it would be better to implement custom RenderableSeries, because BoxAnnotation is implemented as Android View and there could be some FPS degradation if you have alot of them on screen

Best regards,
Yura

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.