SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components
We also have a tag=SciChart on Stackoverflow.com where you can earn rep for your questions!
I would like to customize the values displayed on the tooltip, when rollover is enabled on my heatmap. After some searching in the examples and in the forum, I realized that there is no answer to my question.
I tried to follow the example in Series With Metadata, but then realized that there is no Append method for heatmap2DArrayDataSeries class. I then, tried to set a new Metadata object to the series, but it is read only.
May I know if there is a way to change/update the metadata in a heatmap?
I’m afraid there is no metadata for the heatmap, only for X,Y data series.
May I suggest you can access from the TooltipTemplate the RenderableSeries.DataSeries.Tag property, and place a two-dimensional array of metadata on there.
The HeatmapSeriesInfo has XIndex, YIndex, as well as RenderableSeries.DataSeries.Tag so it is possible to lookup the metadata value by index.
The DataSeries.Tag property is available in v4.2 of SciChart and up.
Let me know if this helps,
Please login first to submit.