Make easy way to set Stroke/Fill for all columns in a specific BarSeries. I know about DefaultVisualStyle, but it's too cumbersome to use. For example, Infragistics's chart has this. Just make use of properties like Background and Stroke. REASON FOR DECLINATION: We have decided to decline this feature request because the bar series can be styled via few different approaches, such as a chart palette, default visual style, default visual style selector, point template, point template selector. We consider the DefaultVisualStyle a very framework-friendly approach as it is easy to create and set up a style, in which you can manipulate any of the Border's properties, including adding Bindings to the actual business item.
We do understand that a first-level Background property is very intuitive, but we do not feel there is need to introduce yet another way of manipulating the appearance of the bars. Presently, there are three ways to do this - default visual style, palette and point template. We think that all of the above are very xaml friendly ways to manipulate the bars appearance and if you demand to have a single Background property you can implement a custom attached Background property which in code will create a style and set it to the series. Indeed the line series have a first-level Stroke property, but the line series are not as flexible as the bar series, in terms of rendering. The line series always use Path elements for drawing and you can always set a Stroke. In bar series you can use a custom template and we cannot use the first-level Background property, because we wouldn't know to which element in the template to apply it.
But can't you give an alternative way of setting background (not replacing current way of doing this)? It's strange to write an entire style to just set a background. Besides, standard properties of the BarSeries are currently not working! An example: LineSeries: I can set Stroke through LineSeries.StrokeShapeStyle (like you have suggested), but I also can set it by just setting the Stroke property! BarSeries: I can set Background through BarSeries.DefaultVisualStyle (like you have suggested), but I can't set it by just setting the Background property! This is inconsistent behavior. If it works with LineSeries, why it doesn't work with BarSeries? All that I want is for BarSeries to behave like LineSeries.
We have decided to decline this feature request because the bar series can be styled via a few different approaches, such as a chart palette, default visual style, default visual style selector, point template, point template selector. We consider the DefaultVisualStyle a very framework-friendly approach as it is easy to create and set up a style, in which you can manipulate any of the Border's properties, including adding Bindings to the actual business item.