Hello,
I’m experiencing a strange phenomenon in which the (in-)visibility of the MajorGridLines of the X-and Y-Axis is only realized in the GUI after the SciChartSurface containing the Axis has been manually resized.
The SciChartSurface is embedded in our GUI like any ordinary WPF-element.
The visibility of the MajorGridLines is controlled via a C#-property:
public virtual bool BackgroundGridVisibility { get { return m_yAxis.DrawMajorGridLines; } set { m_xAxis.DrawMajorGridLines = m_yAxis.DrawMajorGridLines = value; NotifyPropertyChanged(); } }
I tried various application of the UpdateLayout-Funktion after setting the visibility, but did not observe positive change.
Is there some other kind of “repaint”-function that can be used to update the visibility of the GridLines?
Thank you
- Marc Vahldieck asked 11 months ago
- last active 10 months ago