Completed
Last Updated: 02 Nov 2020 09:49 by ADMIN
Release LIB 2020.3.1102 (11/02/2020)
ADMIN
Martin Ivanov
Created on: 08 Jun 2016 08:54
Category: Sparkline
Type: Bug Report
1
Sparkline: The indicators are not updated when the data is changed at runtime
The indicators and the markers are not updated when the data is changed at runtime.

Workaround:
Manually invalidate the arrange of the panel that holds the sparkline's markers. You can do that by finding the ScatterPanel control in the visual tree of the sparkline and then calling its InvalidateArrange() method. Call the InvalidateArrange() method at the moment when the data of the sparkline is updated. 

var panel = this.sparkline.FindChildByType<ScatterPanel>();
if (panel != null)
{
    panel.InvalidateArrange();
}
0 comments