Issue: Styles and formatting data not applied for axis labels and titles. (working fine in visible state)
Applying Styles and formatting data not applied for axis labels and titles in code behind because of runtime creation of different charts and grid view.
This is working only when the control is Visible and visible property is true
please assist, even i used .UpdateLayout() and UpdateTemplate methods.
Thanks
Narayan
Hi,
Could you share a small sample illustrating what you are trying to do?
Thanks,
-Graham
Not work In Invisible state
===========================
xamchrt.Visibility = Visibility.collapse;
xamchrt.Style = (Style)FindResource("ChartLabelTemplate");
xamchrt.Axes[0].Label.Format = ("{0:@}").Replace("@", CustomLocaleSettings.CurrencyFormat);
And work fin in Visible state
===================
Just we are toggling the xamchart view and grid view based on two buttons (btnChartView and btnGridView)
Thanks in advance.
~Narayan