SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and iOS Chart & Android Chart Components

Welcome to the SciChart Community Forums!

Please use the forums below to ask questions about SciChart. Take a moment to read our Question asking guidelines on how to ask a good question and our support policy. We also have a tag=SciChart on Stackoverflow.com where you can earn rep for your questions!

Please note: SciChart team will only answer questions from customers with active support subscriptions. Expired support questions will be ignored. If your support status shows incorrectly, contact us and we will be glad to help.

Answered
1
0

Hello again 🙂

I’m trying to build a DataSeries of type: XyDataSeries ‹ int, Byte ›

But this throws a runtime exception: “The type initializer for ‘Abt.Controls.SciChart.XyDataSeries`2’ threw an exception.”
InnerException: “GenericMath does not support Type System.Byte”
So I understand that this isn’t supported…

My questions are:
1. From the samples that I saw, I could find DataSeries with type long, double, float as second parameter. Which other types are supported? Any “shorter” types?
2. Is there any documentation where I could have found my answer to question 1?
3. I surely will need more flexibility about this. I might need bits, bytes and more (4 bits numbers, etc). I can surely convert them into bigger types, but saving a single bit into a 64 bit type (double or long), is a very big waste of memory, especially because we need charts with huge amounts of data points…

Thanks

Zoe

  • You must to post comments
Best Answer
1
0

Update: SciChart v2.0 and above now support the following datatypes for XyDataSeries:

DateTime, TimeSpan, Double, Float, Long, ULong, Int, Uint, Short, UShort, Byte

Hope this helps,
Andrew

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.