SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & 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!

Answered
0
0

Hi,
I’m testing the SciChart control and got a problem: in OhlcSeriesInfo property XValue and YValue empty or null.
Please see small example:

Attachments
  • You must to post comments
Best Answer
0
0

Hi Serge,

The XValue and YValue properties are of type IComparable, which doesn’t have the ToString method, so the values can’t be shown by default. You need to apply a ValueConverter or add a format string:

<TextBlock Text="{Binding YValue, StringFormat=\{0:0.00\}}" />

Hope this helps!

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.