In Development
Last Updated: 20 Oct 2020 08:21 by ADMIN
Created by: Dinko
Comments: 0
Category: Sparkline
Type: Bug Report
2
When for example we added a new business object which has a lower value, the lower value indicator is not updated and two indicators are shown.
In Development
Last Updated: 20 Oct 2020 07:42 by ADMIN
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();
}