Pre loader

Efficient Index Retrieval for Unique Identifiers in FastBubbleRenderableSeries Using PointMetaData API

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 SciChart Team,

I am currently working with FastBubbleRenderableSeries using XyzDataSeries, and I’ve encountered an issue where multiple elements in my dataset share the same X, Y, and Z values. To differentiate them, I need to assign a unique unique_id via the PointMetaData API.

Is there an efficient way to retrieve the indices of elements that correspond to a specific unique_id? I have explored the documentation (https://www.scichart.com/documentation/js/current/typedoc/classes/xyzdataseries.html) but couldn’t find relevant information.

Any suggestions or alternative approaches would be greatly appreciated!

Best regards,
Phat

Version
3.4.662
  • You must to post comments
0
0

There is no built in way to search the metaData. If you need to do many such lookups, your best bet would be to build a lookup table from unique_id to index immediately after the data has been appended.

If you can give a bit more information about when and why you need to do this lookup, I might be able to suggest alternative ways to avoid it or speed up your end goal.

Regards
David

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.