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!

0
0

Hi,

I have been using below code to add Tooltip for a Scatter series and noticed that TooltipModifier’s StringFormat property does not respect System DateTime format.

<TextBlock FontSize="12" Foreground="WhiteSmoke" Text="{Binding XValue, StringFormat=X: {0:G}}" />

According to my regional settings it should be dd/mm/yyyy but it uses US culture settings (mm/dd/yyyy) somehow. Is there any way to specify the culture?

Thanks & Regards,
Charith

Images
  • You must to post comments
0
0

Hello Charith,

Thanks for the request. It seems to be WPF issue, please, take a look at these articles:
http://http://www.nbdtech.com/Blog/archive/2009/03/18/getting-a-wpf-application-to-pick-up-the-correct-regional.aspx ,

http://stackoverflow.com/questions/12560412/winrt-apps-and-regional-settings-the-correct-way-to-format-dates-and-numbers-ba .

Could you try any of the solutions proposed there? Please, let us know if this helps!

Best regards,
Yuriy

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.