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

0
0

Hello!

I have data to display XyDataSeries, they have parameters: SeriesName and Tag. I want to bind the text of the tooltip to the Tag parameter, but for some reason an error pops up. Everything works correctly with the SeriesName.
I understand this is due to the data type, Tag-object, SeriesName-string. But how do I properly convert to the desired type, or is this not the problem?

When installing the vertical slice with the Tag parameter instead of SeriesName, errors occur:
The Tag property was not found for an object of the XySeriesInfo type.
Can’t find the control FrameworkElement or FrameworkContentElement for the target element.

Version
6.2.1.13304
Images
  • You must to post comments
0
0

Hello Leonid,

Thanks for your inquiry.
I am sorry for the misunderstanding. SeriesInfo has no Tag property. Please take a look at the corresponding documentation:
https://www.scichart.com/documentation/win/current/webframe.html#SeriesInfo%20%E2%80%93%20the%20ViewModels%20for%20Tooltips%20and%20Legends.html

You should use “RenderableSeries.DataSeries.Tag” as a Binding Path instead.

Hope this helps.

With best regards,
Oleksandr

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.