Please note: SciChart team will only answer questions from customers with active support subscriptions. Expired support questions will be ignored. If your support status shows incorrectly, contact us and we will be glad to help.

0

0

Hey guys,

I am setting the GridLinesPanelStyle property of my SciChartSurface to the following Style from the Resources of the parent Border element:

When snooping down into the “PART_GridLinesArea” I see that the Background is set to #FF353535 from the “Parent Template”. It gets interesting; I can Delve into the Style property of the same element and see my setters from the above snippet of code.

This approach was working pre-SciChart 2.0 and it appears to be the approach being used by the Examples suite as well, but I can’t yet get that running with my licence (there is another thread asking for help to fix this too ;)!).

Yes, we have some strange issues going on with the styles. I’ve got it logged as a high priority issue.

During the v1.x -> v2.0 port we pretty much rewrote styles. All of the themes are now dynamic (which is not easy in Silverlight as well as WPF!) and as a result will make it a lot easier to write custom themes (tutorial coming soon :)).

Andy I got your email and I’m aware of the issues. Just bear with us as we handle quite a few upgrade support requests.

Hi again,
Yuriy's already fixed this - there was a bug in the ControlTemplate for GridLinesPanel meaning it was overriding any background set by styles.
Was there anything else related to styling? Now that everyone's finally downloaded v2.0 and used it I think we might be pushing a hotfix out quite soon, because there's been a lot of minor upgrade issues.