Is it possible to grow a UniformHeatmapDataSeries in the x direction? It only has methods to update the Z values. I have a case where X axis represents time and I need to keep adding values in X direction. Is there a way to do it besides recreating UniformHeatmapDataSeries with new values?
- MIha Rozina asked 6 years ago
- You must login to post comments
Hi Miha,
Thanks for your question.
Unfortunately it isn’t possible to resize this type of series because under the hood we use OpenGL texture to render heatmap and in case of resizable heatmap we would need to recreate it every time size of data series changes which would cause significant drop of FPS. That’s why you can only specify width and height of heatmap when you declare data series and after that it can’t be changed.
However you can use FastUniformHeatmapRenderableSeriesis as FIFO like we do in Audio Analyzer example from our Showcase demo where we use heatmap to display audio spectrogram in realtime.
Otherwise you’ll need to implement heatmap as custom renderable series which draws its cells as separate rects instead of single texture.
Best regards,
Yura
- Yura Khariton answered 6 years ago
- You must login to post comments
Please login first to submit.