Pre loader

Using OhlcDataSeries with BigDecimal on Android

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!
I’m trying to migrate OhlcDataSeries from Double to more accurate BigDecimal on Android.
But I faced with an issue that “GenericClass doesn’t support class”

How can I fix it?
I want to use BigDecimal with chart.

Thank you

Version
2.5.0.2547
Images
  • You must to post comments
0
0

Hi Roman,

We don’t plan to support BigDecimal for now, because it isn’t a primitive type ( current architecture of SciChart has only support for primitive types and Date which under the hood stores itself as long). It would require significant rewriting of entire rendering pipeline to implement such support. Also it would lead to bad performance in real-time scenarios.

We use alot of C++ code and our resampling algorithms are also implemented in C++ for the best performance. To add support of BigDecimal would mean that we need to provide some kind of conversion from BigDecimal to some C++ equivalent ( for primitive types there are no need for such conversion ). During resampling of data presented on screen this would lead to huge performance decrease because we would need to do this conversion for each data point on screen.

For now you can create a feature request on our website and if it gets enough votes we’ll try to implement it.

Best regards,
Yura

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies